Q9 - working

Working query but without sorting.