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='10e4f547f22b1d840bfec0ed02acf579'' at line 1