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