I was running round in circles about the ORDER BY clause.


But (as the ultimate picture of the exercise confirms) the ORDER BY inside the view does not work (anymore). The answer to this post gives some explanation.

Hence, the end of the exercise should be:

SELECT *

FROM EventsByCategory

WHERE What > 50

ORDER BY What