: SELECT * FROM texts LEFT OUTER JOIN artists ON texts.text_artist_id = artists.artist_id WHERE texts.text_artist_id!='33' and texts.text_title LIKE '%feat%' and texts.text_title LIKE '%Psycho MC's%'. You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 's%'' at line 2