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='88861b8dba8068bdcc247d36ed1c786c'' at line 1