Question: Using Indexes when formulating queries: Consider the following table ( to answer next 2 questions ) STUDENT ( StudentID , LastName, FirstName, Address, Suburb, PostCode,

Using Indexes when formulating queries: Consider the following table (to answer next 2 questions)
STUDENT (StudentID, LastName, FirstName, Address, Suburb, PostCode, State)
Note1: The attributes StudentID and PostCode are indexed.
Note2: The user wants the names of students who live in the suburb of Leeming.
Q13. Let us assume that 6155 is the postcode for Leeming only. Would the query shown below be an efficient way to retrieve the required information? Explain your answer.
SELECT firstname, lastname
FROM student
WHERE suburb = 'Leeming';

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 Databases Questions!