Please consider offering answers and suggestions to help other students!
And if you fix a problem by following a suggestion here,
it would be great if other interested students could see a short
"Great, fixed it!" followup message.
I just had a student come to the support session showing that there was still issues with the way the question was checked, and if your instance of the quiz is for some reason using an older version of the question, and does not have the same error message as above (Trigger failed as expected due to related po_items: Cannot delete pos record with associated po_items), but rather has line numbers referenced, but that is the only issue, then i can suggest that you try to adjust the number of lines the trigger takes up, e.g. is the error message displayed compared to the expected is 4 lines off, then shorten the size of the query you submit by 4.
you can safely do this by having lines of code that you would normally separate for better visibility all on one line e.g.
SELECT * FROM STUDENTS;
instead of
SELECT *
FROM
STUDENTS;
SQL will ignore the majority of whitespace anyway, and it is primarily for readability and separating the commands.