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 'AND basketSession='adf1f57def8c081b47147a36883abfcf'' at line 1