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