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='95fbe98aa1fd08e232a02038fd18afe4'' at line 1