Skip to content

Commit fe3dcb9

Browse files
committed
update sql functions slides
1 parent 6f9616e commit fe3dcb9

File tree

1 file changed

+10
-12
lines changed

1 file changed

+10
-12
lines changed

slides/content/slides/Informatik/Database/10_sql-functions.md

Lines changed: 10 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,16 @@ FROM Employee;
5252
| David | 5 |
5353

5454

55+
---
56+
57+
# Rechnen
58+
59+
```sql
60+
SELECT OrderItem, PricePerUnit, Quantity, PricePerUnit * Quantity AS Price
61+
FROM OrderItems;
62+
63+
```
64+
5565
---
5666

5767
# Grundlegende Aggregatfunktionen
@@ -74,18 +84,6 @@ FROM Products;
7484

7585
# Kombinieren von Funktionen
7686

77-
```sql
78-
SELECT OrderItem, PricePerUnit, Quantity, PricePerUnit * Quantity AS Price
79-
FROM OrderItems;
80-
81-
```
82-
83-
<br>
84-
85-
oder
86-
87-
<br>
88-
8987
```sql
9088
SELECT SUM(Column1) + SUM(Column2) AS TotalSum
9189
FROM TableX;

0 commit comments

Comments
 (0)