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