Question: Create a program by using two CURSORS, one that lists instructors, and under each instructor another cursor makes a list of courses that this instructor
Create a program by using two CURSORS, one that lists instructors, and under each instructor another cursor makes a list of courses that this instructor assigned to teach. First cursor for instructors, second cursor for courses. Please make sure that courses are selected for one instructor at a time, have a "where" condition with instructor_id, and Join three tables INSTRUCTOR, SECTION, and COURSE to make a list of courses for one particular instructor, a record of which is Fetched while using first cursor in a loop.
Step by Step Solution
3.50 Rating (150 Votes )
There are 3 Steps involved in it
Creating a program with two cursors in a specific programming language depends on the language you are using Ill provide you with a general outline of how you can implement this in a pseudocode that c... View full answer
Get step-by-step solutions from verified subject matter experts
