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='73a82a2aea7f9fd80a8deca8a0182075'' at line 1