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