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