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='727852889a95989a3377760b1a0b0849'' at line 1