Anant Infomedia interview question

Write query (group by ). Draw pattern.