DATABASE - Answer 5-8 Answer 5-8 only Given the following samples of larger tabl
ID: 3863250 • Letter: D
Question
DATABASE - Answer 5-8
Answer 5-8 only
Given the following samples of larger tables, give the queries for the problems below STUDENT Name StudentID Class Major CS Brown Class is 1 for Freshman, 2 for Sophomore, 3 for Junior and 4 for Seniors COURSE Credit hours CourselD Name Department CS101 intro. to Computer Science CS191 Discrete Struct I 3 CS282 Assembly Language 4 OBOE 101 OBOA Freshman Oboe SECTION SectionID Course ID Semester Year Faculty ID 2014 OBOE 101 BBishop 781 CS101 541 2014 KBingham 2014 552 CS101 BHare CS101 2014 BHare 448 662 CS191 FS 2014 XLiuExplanation / Answer
5)
Select Course.Name from Course,Section where Course.CourseID=Section.CourseID
and Section.FacultyID='KBingham' and Section.Year in (2012,2013);
6)
Select Section.Semester,Section.Year,Section.FacultyID,Instructor.Office from Section,Instructor
where Section.FacultyID=Instructor.FacultyID and Section.CourseID='CS101';
7)
Select Student.Name,Grade.Grade from Student,Grade
where Student.StudentID=Grade.StudentID and Student.Major='CS';
8)
Select count(studentID) from student group by major;
Related Questions
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.