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