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