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