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