\begin{frame}
\frametitle{Self Joins}
\begin{goal}{}
In some query scenarios, we might have to consider
\emph{more than one tuple of the same relation}
to generate a result tuple.
\end{goal}
\pause\bigskip
\structureAll
\begin{code}{\textwidth}{Is there a student with 9 points for both, homework 1 \& 2?}
\pause
\small
\BUseVerbatim{query}
\end{code}
\end{frame}