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