% \begin{frame}
% \frametitle{How to Determine Keys}
%
% \begin{quiz}{\textwidth}{Finding all minimal keys}
% Find \emph{all} minimal keys the relation $\sql{R}$
% \begin{center}
% {\ttfamily\centering
% \colorbox{rellight}{%
% \begin{tabular}[t]{|r|r|r|r|r|}
% \multicolumn{5}{c}{R} \\ \hline
% \hd{A} & \hd{B} & \hd{C} & \hd{D} & \hd{E} \\
% \hline
% \end{tabular}%
% }}
% \end{center}
% with the functional dependencies
% \begin{align*}
% \sql{A}, \sql{D} &\to \sql{B},\sql{D} \\
% \sql{B}, \sql{D} &\to \sql{C} \\
% \sql{A} &\to \sql{E} \\
% \sql{C}, \sql{D}, \sql{E} &\to \sql{A}
% \end{align*}
% using the algorithm on the previous slide.
% \end{quiz}
% \end{frame}
% \overview{2}
\theme{Consequence of Bad Design}