MySQL Query 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 'LOWER(a.strAuthor) LIKE '%forster%') ) ORDER BY a.strMediaTitle' at line 1
Query: SELECT a.intMediaID FROM MediaLibrary a WHERE a.dtmPubDate <= CURDATE() AND (a.dtmExpDate > CURDATE() OR a.dtmExpDate IS NOT NULL) AND a.bitPublish = 1 AND ((LOWER(a.strAuthor) LIKE '%e%' AND LOWER(a.strAuthor) LIKE '%m%'LOWER(a.strAuthor) LIKE '%forster%') ) ORDER BY a.strMediaTitle