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