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='383596e007b1d148e35964c16494f800'' at line 1