join [message #287607] |
Wed, 12 December 2007 22:12 |
rzkhan
Messages: 370 Registered: March 2005
|
Senior Member |
|
|
I have Instructors table.
instructor_id pk
instructor_name
and offered courses table (focd)
course_seq_no pk
semester
year
inst1_code
inst2_code
inst3_code
The requirement is that one course can be offered by more than one instructor per semester.
How can I get the following output using join of two tables
Course_seq_no instructor1_name instructor2_name instructor3_name
1 Dr Peter Dr. Alex
2 Dr. Sam
3 Dr. Simon Dr. Qez Dr. Rz
|
|
|
|
Re: join [message #287611 is a reply to message #287608] |
Wed, 12 December 2007 22:48 |
rzkhan
Messages: 370 Registered: March 2005
|
Senior Member |
|
|
could you give me please a slight example. I searched for pivot query but could not get required results.
Thank
|
|
|
|
|