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