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