Each exercise asks for a result set and marks your query by the rows it returns, not by how you wrote it — so any correct query passes, in SQL or in Mango.
Ask the same question of a chemical dataset in SQL and in Mango and compare the two answers. The database is a SQLite file your browser downloads once and queries locally, so nothing you write ever leaves your machine — which is also why the tool needs JavaScript.