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