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='84708ebf8b253c68cf83b6220159af97'' at line 1