
%% Create a PDF document from this file
%% by typing (on one of the Linux computers in the lab):
%%   pdflatex qa230-07nov2019
%% View the PDF document that you create
%% by typing:
%%   evince qa230-07nov2019.pdf &

%% You may rename this file.
%% In that case, use the name that
%% you have chosen in place of ``qa230-07nov2019''
%% in the commands that are shown above.

\documentclass[twoside]{article}

%% Maybe you want a different title?
\title{Turing Award Winners Database}

%% Replace Ted's name with your own.
%% If you want to place the name of each
%% member of your team on a separate line
%% place 2 backslashes ( \\ ) between names.

\author{Ted Codd}
\date{07 November 2019}

\setlength{\parindent}{0pt}
\setlength{\parskip}{6pt}

\usepackage{graphicx}
\usepackage{listings}
\lstset{language=sql}

\begin{document}
\maketitle

\section{Use Cases}

%% Identify actors. Describe interactions.
%% Use words and/or diagrams.

\section{Design}

%% Replace ``uml-diagram'' with the
%% name of an Encapsulated PostScript file
%% that you have created with Dia.

%% Replace ``UML diagram'' with your own
%% caption.

%% Replace ``diagram0'' with your own
%% label.

%% Add a figure for each table in your
%% database.

\begin{figure}
\begin{center}
\includegraphics[width=8cm]{uml-diagram}
  \caption{UML diagram}
  \label{diagram0}
  \end{center}
  \end{figure}

\begin{lstlisting}{}
  %% insert the contents of a SQL script
  %% that will build your database here

  %% in Emacs, c-x i will insert the contents
  %% of a file
  \end{lstlisting}


\section{Queries}

\begin{lstlisting}{}
  %% insert the contents of a SQL script
  %% that will query your database here

  %% in Emacs, c-x i will insert the contents
  %% of a file
  \end{lstlisting}

\end{document}
