Guest User

Untitled

a guest
Dec 12th, 2017
69
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.40 KB | None | 0 0
  1. SELECT cRefNum, cName, cProgram || '-' || cCode || '-' || cSection as CourseDesc, cTimeStart, cTimeEnd, cDay, ct.cCampus, cBuildingSection || cRoom AS Room, cSchedType
  2. from coursedetails cd inner join coursetimes ct
  3. using (cRefNum)
  4. where cRefNum = 3816;
  5.  
  6. select cRefNum, LISTAGG(fname|| ' ' || lname, ', ') within group (order by cRefNum) as Teachers
  7. from teachers
  8. where cRefNum = 3816
  9. group by cRefNum;
Add Comment
Please, Sign In to add comment