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