Typically join from CLASS_TBL. |
A class section has a row of data for each meeting pattern. A few sections have multiple meeting patters and could have a different instructor for each. |
For each meeting pattern a instructor sequence is assigned, that can be used to select one instructor |
Multiple instructors can be attached to a section with INSTR_ROLE values for primary, secondary, supervisory, teaching assistants, administrative aides |
To pull a single primary instructor for a class, use a subquery to pull the minimum CLASS_MTG_NBR with INSTR_ROLE = 'PI'. Another subquery to pull the minimum INSTR_ASSIGN_SEQ for the minimum CLASS_MTG_NBR that has an INSTR_ROLE = 'PI' |