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