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