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='0f444ebf0b2ac5f8f143c6ea3341a20a'' at line 1