\begin{frame}
\frametitle{Simple Aggregations}
\begin{goal}{}
SQL also allows to write formulas
\end{goal}
\bigskip
\begin{code}{\textwidth}{%
What average percentage of the maximum points did the students
reach for homework 1?
}
\small
\BUseVerbatim{avg}
\end{code}
\pause
\smallskip
\begin{code}{\textwidth}{%
Homework points for student 101 plus 3 bonus points.
}\pause
\small
\BUseVerbatim{bonus}
\end{code}
\end{frame}