Question: Based on the following query: SELECT P_CODE, P_DESCRIPT, P_PRICE, PRODUCT.V_CODE, V_STATE FROM PRODUCT P, VENDOR V WHERE P.V_CODE = V.V_CODE AND V_STATE = NY AND

Based on the following query:

SELECT        P_CODE, P_DESCRIPT, P_PRICE, PRODUCT.V_CODE, V_STATE

FROM          PRODUCT P, VENDOR V

WHERE        P.V_CODE = V.V_CODE

     AND        V_STATE = ‘NY’

     AND        V_AREACODE = ‘212’;

ORDER BY   P_PRICE;


What indexes would you recommend?

Step by Step Solution

3.42 Rating (180 Votes )

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock

This query uses the VSTATE and VAREACODE attrib... View full answer

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 Database Concepts Questions!