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