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