21/120
\begin{frame}
  \frametitle{Attributes}
  
  An entity set is represented by a set of \emph{attributes},
  that is, descriptive properties possessed by all entities of the entity set.
  \begin{exampleblock}{}
    \sql{CUSTOMER = (ID, NAME, STREET, CITY)}\\
    \sql{LOAN = (LOAN-NUMBER, AMOUNT)}
  \end{exampleblock}
  \pause

  \begin{itemize}
    \item \emph{domain} = set of permitted values for each attribute
  \end{itemize}
  \pause
  
  \begin{goal}{Attribute types}
  \pause
    \begin{itemize}
      \item \emph{simple} and \emph{composite} attributes
        \begin{itemize}
          \item e.g. street is composed of street name and number
        \end{itemize}
  \pause
      \item \emph{single-valued} and \emph{multi-valued} attributes
        \begin{itemize}
          \item e.g. single-valued: age of a person
          \item e.g. multi-valued: person can have multiple phone numbers
        \end{itemize}
  \pause
      \item \emph{derived attributes}
        \begin{itemize}
          \item can be computed from other attributes
          \item e.g. age, given the date of birth
        \end{itemize}
    \end{itemize}
  \end{goal}
\end{frame}