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