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