2/70
\RequirePackage{colortbl}
\newcolumntype{H}{>{\columncolor{reldark}}c}
\newcommand{\hd}[1]{\multicolumn{1}{H}{\text{\bfseries #1}}}
\setlength{\fboxsep}{0mm}

\input{../opening}

\colorlet{reldark}{mblue!40}
\colorlet{rellight}{mblue!20}
\newcommand{\reldark}{\color{reldark}}
\newcommand{\rellight}{\color{rellight}}

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\maketitleslide{--- Miscellaneous ---}
               {October 29, 2014}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

\tikzset{default/.style={thick,->,n/.style={circle,fill=black,inner sep=0,minimum size=1mm,outer sep=1mm},outer sep=0mm,inner sep=.5mm}}
\tikzset{b/.style={anchor=north,at=(#1.south)}}
\tikzset{bw/.style={anchor=north west,at=(#1.south west)}}
\tikzset{a/.style={anchor=south,at=(#1.north)}}
\tikzset{r/.style={anchor=west,at=(#1.east)}}

\newcommand{\tablepersons}{
  {\ttfamily\footnotesize
    \colorbox{rellight}{%
      \begin{tabular}[t]{|r|r|r|}
        \multicolumn{3}{c}{PERSONS}        \\ \hline
        \hd{\underline{PID}} & \hd{Name} & \hd{City}\\ \hline
        101 & Ann & Amsterdam \\
        102 & Joe & Utrecht \\
        103 & Rick & Leipzig \\
        104 & Mia & Amsterdam \\
        \hline
      \end{tabular}%
    }      
  }
}

\newcommand{\tablechats}{
  {\ttfamily\footnotesize
    \colorbox{rellight}{%
      \begin{tabular}[t]{|r|r|r|r|}
        \multicolumn{4}{c}{CHATS}        \\ \hline
        \hd{\underline{CID}} & \hd{P1} & \hd{P2} & \hd{Date}\\ \hline
        1 & 102 & 101 & 01.04.14 \\
        2 & 103 & 102 & 05.04.14 \\
        3 & 104 & 101 & 09.05.14 \\
        4 & 102 & 104 & 29.11.14 \\
        \hline
      \end{tabular}%
    }
  }
}

\theme{Databases, Queries and Predicate Logic}