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='427db537590f66bc415fb0166755971c'' at line 1