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