vault backup: 2026-07-23 10:55:26

This commit is contained in:
Benjamin Neumann
2026-07-23 10:55:26 +02:00
parent 28937cfc8e
commit afa6720447
75 changed files with 59 additions and 45 deletions
@@ -0,0 +1,27 @@
### SELECT
```
SELECT MatrNr, Name, Semester from Student
```
Spalte umbenennen
`SELECT MatrNr AS InsassenNr from Student`
Keine Duplikate
`SELECT DISTINCT Semester AS Jahrgänge from Student`
### WHERE
```
SELECT * from Student WHERE Semester = 2
---
SELECT * from Student s WHERE s.Semester = 2 AND s.Name='Byleth'
```
#### Anatomie einer WHERE Klausel
Vergleichsoperatoren: <,>,=,<=,>=,<>
BETWEEN
LIKE
IS NULL / IS NOT NULL
AND, OR, NOT
+,-,\*,/
IN, NOT IN, $\theta$ ANY, $\theta$ ALL, EXISTS mit $\theta$ = Vergleichsoperator