172/224
\begin{frame}
  \frametitle{Maximizing Aggregations}
  
  \begin{code}{\textwidth}{Who has the best overall homework result?\\ (maximum sum of homework points)}
    \pause
    \small
    \BUseVerbatim{query}
  \end{code}
  \pause\bigskip
  
   Alternatively, we could use a view to solve this (next slide).
\end{frame}