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