SQL error

Can't query session information — /var/www/html/baboon.fr/includes/objects/films_acteurs.php, line 187
Error n° 1064: 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 1
 
Query: SELECT id FROM films_acteurs WHERE nom LIKE '%DIAM'S%'