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