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