-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
79db85c
commit 8fc2304
Showing
2 changed files
with
22 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
USE [ITUebung] | ||
GO | ||
|
||
-- Wir wollen wissen, wer bei der WM 1954 dabei war. | ||
-- Für Performance lassen wir nicht die Volltexte der 900+ Spieler auf "1954" untersuchen, | ||
-- sondern reduzieren die Datenmenge zunächst durch einfache Filter. | ||
SELECT Name, Vorname, Geboren, Gestorben, von, bis, Turniere | ||
FROM tb_Spieler | ||
WHERE (Geboren BETWEEN '01.01.1904' AND '01.01.1938' | ||
AND Turniere LIKE '%1954%') | ||
OR Name = 'Herberger'-- Ausnahme. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
USE [ITUebung] | ||
GO | ||
|
||
-- Wir wollen wissen, wer bei der WM 2014 dabei war. | ||
-- Für Performance lassen wir nicht die Volltexte der 900+ Spieler auf "2014" untersuchen, | ||
-- sondern reduzieren die Datenmenge zunächst durch einfache Filter. | ||
SELECT Name, Vorname, Turniere | ||
FROM tb_Spieler | ||
WHERE Gestorben IS NULL | ||
AND bis > 2013 | ||
AND Turniere LIKE '%2014%' |