added Übungszettel 11

This commit is contained in:
2025-02-13 14:58:45 +01:00
parent 25bf599c6c
commit 66c3899154
16 changed files with 4976 additions and 2 deletions

View File

@@ -173,7 +173,7 @@ BEGIN
-- Query to count the number of sections taught by the instructor
SELECT COUNT(*)
INTO v_section_count
FROM sections
FROM section
WHERE instructor_id = v_instructor_id;
-- Check if the number of sections is greater than 3
@@ -245,7 +245,7 @@ BEGIN
-- Query to count the number of sections taught by the instructor
SELECT COUNT(*)
INTO v_section_count
FROM sections
FROM section
WHERE instructor_id = v_instructor_id;
-- Use a CASE statement to determine the output message