Question: Given two relations: STUDENT ( Student# , D# , Age, Address ) , DEPT ( D# , Name, Chair, Building ) , Consider the following

Given two relations:
STUDENT(Student#, D#, Age, Address),
DEPT(D#, Name, Chair, Building),
Consider the following query optimization issue. Assume that 25% of students are over 30 years old and that there is one department with name CIS. For the following two equivalent queries:
FinalExamQ14.jpg
which one is usually more efficient? Why?

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!