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