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