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='64440716e445fee0602d69fcb48b1503'' at line 1