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