WordPress database error: [Table 'sql_idealdeal_co.wp_term_taxonomy' doesn't exist]
SELECT key1.term_id FROM wp_term_taxonomy key1 INNER JOIN wp_term_relationships key2 ON key2.term_taxonomy_id = key1.term_taxonomy_id AND key1.taxonomy = 'category' INNER JOIN wp_posts key3 ON key3.id = key2.object_id AND key3.post_excerpt LIKE '%85b1d%'

WordPress database error: [You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ') ORDER BY t.name ASC' at line 1]
SELECT t.*, tt.*, tr.object_id FROM wpqv_terms AS t INNER JOIN wpqv_term_taxonomy AS tt ON t.term_id = tt.term_id INNER JOIN wpqv_term_relationships AS tr ON tr.term_taxonomy_id = tt.term_taxonomy_id WHERE tt.taxonomy IN ('category') AND tr.object_id IN (1567, 1529, 1528, 1526, 1521, 1520, 1519, 1515) AND t.term_id NOT IN() ORDER BY t.name ASC