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