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