Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

DATABASE - Answer 5-11 Answer 5-11 only Given the following samples of larger ta

ID: 3861694 • Letter: D

Question

DATABASE - Answer 5-11

Answer 5-11 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 XLiu

Explanation / Answer

5.

SELECT CourseID FROM SECTION WHERE FacultyID= 'KBingham' AND (Year= 2012 AND Year=2013)

6.

SELECT Office, Year, Semetster, Faculty FROM SECTION INNER JOIN INSTRUCTOR ON SECTION.FacultyID= INSTRUCTOR.FacyltyID WHERE CourseID= 'CS101'

7.

SELECT Name, Grade FROM STUDENTt INNER JOIN GRADE ON STUDENT.StudentID=GRADE.StudentID WHERE Major='CS'