Report question

Question: Sql Nested group by