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