MySQL ERROR:

Error Number: 1064

Description: 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 'keyword_fields=" AND t.entry_id=p.entry_id GROUP ' at line 10

Query: SELECT t.entry_id,t.title,t.url_title, max(p.cat_id) as category_id, status FROM exp_weblog_titles t, exp_keywords k , exp_category_posts p WHERE t.entry_id=k.entry_id AND t.weblog_id=23 AND keyword="" keyword_fields=" AND t.entry_id=p.entry_id GROUP BY t.entry_id