Structured query language

can you please solve this question?
here is the link-Structured query language select and group by.