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