2
0

change task from tomorrow

This commit is contained in:
Schuledaniel
2025-12-12 07:53:10 +01:00
parent 3a3c99701f
commit e59c3c4e59
2 changed files with 20 additions and 6 deletions

View File

@@ -1,4 +1,4 @@
SELECT ProductID, SUM(Quantity) AS orderAnzahl
FROM OrderDetails
GROUP BY ProductID
ORDER BY orderAnzahl ASC;
SELECT bibNr, COUNT(*) AS orderAnzahl
FROM Ausleihe
GROUP BY bibNr
HAVING COUNT(*) > 10;