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