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

Consider the following relational schema: Course (courseName unique, department,

ID: 659641 • Letter: C

Question

Consider the following relational schema: Course (courseName unique, department, instrID) Instructor (instrID unique, office) Student (studentID unique, major) Enroll (studentID, courseName, unique (studentID, courseName)) Suppose there are five types of queries commonly asked on this schema: Given a course name, find the department offering that course. List all studentsIDs together with all of the departmentsthey are taking courses in. Given a studentID, find the names of all courses the students is enrolled in. List the offices of instructors teaching at leat one course. Given a major, return the studentIDs of students in that major. Which of the following indexes could NOT be useful in speeding up execution of one or more of the above queries? Index on Enroll.courseName Index on Enroll.studentID Index on Course.instrID Index on Instructor.office

Explanation / Answer

Index OnEnroll.studentID

Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
Chat Now And Get Quote