Help me in solving SQLP50 problem

My issue

what is the correct order for it , because I think, I am doing it in a right way.

Learning course: SQL: Topic-wise practice
Problem Link: Aggregates & Group By Practice Problem in SQL: Topic-wise practice - CodeChef