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