Whenever you're ready, walk me through how you'd approach this.
Explain how you would write an SQL query involving joins, grouping, and sorting, and how you would validate the results.