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