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