mirror of
https://github.com/MartinThoma/LaTeX-examples.git
synced 2025-04-26 06:48:04 +02:00
Merge pull request #13 from niklasb/patch-1
Update musterloesung-db-2012-09-24.tex
This commit is contained in:
commit
c5127f1507
1 changed files with 2 additions and 12 deletions
|
@ -80,7 +80,7 @@ F^{(3)} = \{ & A \rightarrow B,\\
|
||||||
&AI \rightarrow \delta,\\
|
&AI \rightarrow \delta,\\
|
||||||
& B \rightarrow C, B \rightarrow D,\\
|
& B \rightarrow C, B \rightarrow D,\\
|
||||||
& C \rightarrow A,\\
|
& C \rightarrow A,\\
|
||||||
& D \rightarrow E,D \rightarrow F,D \rightarrow G,D \rightarrow H,\\
|
& D \rightarrow E,D \rightarrow F,D \rightarrow H,\\
|
||||||
& F \rightarrow G,\\
|
& F \rightarrow G,\\
|
||||||
& I \rightarrow H
|
& I \rightarrow H
|
||||||
\}
|
\}
|
||||||
|
@ -100,10 +100,8 @@ ergibt die Zerlegung
|
||||||
|
|
||||||
\begin{align*}
|
\begin{align*}
|
||||||
R = \{\\
|
R = \{\\
|
||||||
& (\Set{A, B}, \Set{\Set{A}}),\\
|
& (\Set{A, B, C, D}, \Set{\Set{A}, \Set{B}, \Set{C}}),\\
|
||||||
&(\Set{A, I}, \Set{\Set{A, I}}),\\
|
&(\Set{A, I}, \Set{\Set{A, I}}),\\
|
||||||
& (\Set{B, C, D}, \Set{\Set{B}}),\\
|
|
||||||
& (\Set{C, A}, \Set{\Set{C}}),\\
|
|
||||||
& (\Set{D, E, F, H},\Set{\Set{D}}),\\
|
& (\Set{D, E, F, H},\Set{\Set{D}}),\\
|
||||||
& (\Set{F, G}, \Set{\Set{F}}),\\
|
& (\Set{F, G}, \Set{\Set{F}}),\\
|
||||||
& (\Set{I, H}, \Set{\Set{I}})\\
|
& (\Set{I, H}, \Set{\Set{I}})\\
|
||||||
|
@ -162,14 +160,6 @@ Beispielhaftes Ergebnis für gegebene Situation und id=4:
|
||||||
\subsubsection{Version B}
|
\subsubsection{Version B}
|
||||||
\inputminted[linenos, numbersep=5pt, tabsize=4]{sql}{d2c2.sql}
|
\inputminted[linenos, numbersep=5pt, tabsize=4]{sql}{d2c2.sql}
|
||||||
|
|
||||||
Ohne EXCEPT (da ich mir nicht sicher bin, ob es nun SQL-Standard
|
|
||||||
ist oder nicht, z.B. SQLite kenn kein EXCEPT, auf einer Übersicht
|
|
||||||
stand es aber bei SQL89 angehakt dabei).
|
|
||||||
Hinweis: NOT EXISTS ist True, gdw die Unterabfrage genau 0
|
|
||||||
Zeilen enthält.
|
|
||||||
|
|
||||||
\inputminted[linenos, numbersep=5pt, tabsize=4]{sql}{d2c2.1.sql}
|
|
||||||
|
|
||||||
\section{Aufgabe 3 - Histories}
|
\section{Aufgabe 3 - Histories}
|
||||||
\subsubsection{Teilaufgabe a)}
|
\subsubsection{Teilaufgabe a)}
|
||||||
\begin{itemize}
|
\begin{itemize}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue