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