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