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='2b2bb6e7dee0e5a3889b0f588af85ff7'' at line 1