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