Error in Query : SELECT id,100_a,245_a,260_b,260_a,cover,book FROM tva_periodicals WHERE id!='1154' AND (100_a LIKE 'a:1:{i:0;s:0:"";}' OR 245_a LIKE 'a:2:{i:0;s:50:"The Journal of the Tanjore Sarasvati Mahal Library";i:1;s:69:"The Journal of the Tanjore Maharaja Serfoji's Sarasvati Mahal Library";}' OR 260_b LIKE 'Tanjore Sarasvati Mahal Library' OR 260_a LIKE 'a' ) GROUP BY 245_a

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 's Sarasvati Mahal Library";}' OR 260_b LIKE 'Tanjore Sarasvati Mahal Library' OR' at line 1