6/123
\begin{frame}
  \frametitle{Data Values, Types and Domains}
  
  \begin{block}{}
    All table entries are \textbf{data values} which conform to some
    given selection of \textbf{data types.}    
  \end{block}
  \pause
  
  \begin{itemize}
  \item Examples of data types: 
    \begin{itemize}
      \item strings
      \item numbers (of different lengths and precision)
      \item date and time
      \item binary data
    \end{itemize}
  \pause\medskip
  \item The set of available data types is depends on:
    \begin{itemize}
      \item database management system
      \item supported version of the SQL standard
    \end{itemize} 
  \end{itemize}
  \pause
  \begin{block}{}
    The \emph{domain} $\var{val}(D)$ of a type $D$ is the set of possible values.
  \end{block}

  \begin{exampleblock}{}
    For example:
    \begin{malign}
    \var{val}(\sql{NUMERIC(2)}) = \{ \sql{-99}, \dots, \sql{99} \}
    \end{malign}
  \end{exampleblock}
\end{frame}