Answered step by step
Verified Expert Solution
Question
1 Approved Answer
You have created the Sales.Customers table with a PK of custid and the Sales.Orders table with a PK of orderid and a FK of custid
You have created the Sales.Customers table with a PK of custid and the Sales.Orders table with a PK of orderid and a FK of custid referencing Customers(custid). Your applications run many queries that join these two tables and search for orders placed on a certain date or in a date range. What index or indexes would you create to support these queries, and why? Clarify any assumptions you make about the queries.
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started