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