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