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