Question: Consider the following scenario, You have a large database table called 'Orders' with columns 'OrderId', 'CustomerId', 'ProductId', and 'OrderDate'. What would be an effective approach
Consider the following scenario,
You have a large database table called 'Orders' with columns 'OrderId', 'CustomerId', 'ProductId', and 'OrderDate'.
What would be an effective approach to optimize the query performance?
A
Implement full scan on table
B
Use composite index on 'CustomerId' and 'OrderDate'
C
Create an Index on 'CustomerId'
D
Create an Index on 'OrderId'
E
Create an Index on 'OrderDate'
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
