Exercise 1: Creating a view based on an aggregation query