I'm having trouble writing a procedure that deletes certain entries that don't meet a prerequisite. Say I want to check a table for students who have signed up for a course 112 without having taken the prerequisite course 50. I want to search through the table and delete all the students who have signed up for the course 112 without having taken course 50. I'm having trouble with the cursor nested in the procedure. Any help?