Uploaded by Youssef Draz

SELECT CAREERPATH

advertisement
SELECT CAREERPATH
FROM prof JOIN career ON prof.careerid = career.careerid
WHERE firstname = 'Johnny';
SELECT FIRSTNAME,LASTNAME
FROM prof JOIN career ON prof.careerid = career.careerid
WHERE CAREERPATH = 'pharam';
SELECT COURSENAME
FROM PROF JOIN PROFCOURSE ON prof.profid = profcourse.professorid
JOIN COURSE ON PROFCOURSE.COURSEID = course.courseid
WHERE FIRSTNAME = 'Nate';
SELECT FIRSTNAME,LASTNAME
FROM course JOIN profcourse ON course.courseid = profcourse.courseid
JOIN PROF ON profcourse.professorid = prof.profid
WHERE COURSENAME = 'Process Design';
SELECT CAREERPATH
FROM career JOIN course ON career.careerid = course.careerid
WHERE COURSENAME = 'Cultural Sociology';
SELECT COURSENAME
FROM course JOIN career ON course.careerid = career.careerid
WHERE CAREERPATH = 'cs';
SELECT COURSENAME
FROM room JOIN course ON room.courseid = course.courseid
WHERE roomid = 'E1';
SELECT ROOMID
FROM course JOIN room ON course.courseid = room.courseid
WHERE coursename ='Linguistic Typology';
SELECT DAYS
FROM schedule JOIN room ON schedule.roomid = room.roomid
WHERE room.roomid= 'A2';
SELECT ROOM.ROOMID
FROM room JOIN schedule ON room.roomid = schedule.roomid
WHERE DAYS = 'sun';
SELECT ENROLLMENTKEY
FROM students JOIN studentsenrollment on students.studentid = studentsenrollment.studentid
join enrollment on studentsenrollment.enrollmentid = enrollment.enrollemntid
where fullaname='Abubakar Hampton';
SELECT FULLANAME
FROM students JOIN studentsenrollment on students.studentid = studentsenrollment.studentid
join enrollment on studentsenrollment.enrollmentid = enrollment.enrollemntid
WHERE enrollmentkey='6044472643';
Download