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