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