Question: Part 2 Problem 4 ( 2 0 Points ) : Consider the database ( key attributes are underlined ) Student ( Sid , Sname, Major,
Part Problem Points:
Consider the database key attributes are underlined
StudentSid Sname, Major, Gpa
Department Dcode Dname, School, Address, Tel
SchoolScode Sname, Dean, Address, Mission
Use heuristics to optimize the following query. Show your answers in two possible optimized queries:
Student Department Scode School :
Problem Points:
Consider the database key attributes are underlined
StudentSid: Sname: Major: Gpa:
Department Dcode: Dname: School: Address: Tel:
SchoolScode: Sname: Dean: Address: Mission:
Assume also these two foreign key constraints:
Student.Major Department.Dcode
Department.School School.Scode
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
