Report question

Question: Refactoring SQL