Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Requirements: Indexes - Part A: For each of the following scenarios, please display the execution plan and capture the image of the plan. Save each

Requirements:
Indexes - Part A:
For each of the following scenarios, please display the execution plan and capture the image of the plan.
Save each image with a suitable name for submission.
SELECT the CustomerID, ContactName and CompanyName from the Customers table.
SELECT the CustomerID, OrderID, CompanyName and OrderDate from the Customers and
Orders tables.
SELECT the CustomerID, OrderID, CompanyName and OrderDate from the Customers and
Orders tables for all customers in Germany, and sort by the customer's company name.
Indexes - Part B:
Create the following Indexes. Please keep all scripts in one script file for submission.
PRIMARY index for CustomerID in Customers (You can do this by creating a Primary Key for
CustomerID in Customers)
PRIMARY Index for OrderID in Orders
Index for the CustomerID in the Orders table.
Index for Country in the Customers table.
Index for CompanyName in the Customers table.
Indexes - Part C:
Repeat part A: and notice the changes based on the new indexes. Please capture the images of
the plans for each, and save it with a suitable name.
image text in transcribed

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Mastering Real Time Analytics In Big Data A Comprehensive Guide For Everyone

Authors: Lennox Mark

1st Edition

B0CPTC9LY9, 979-8869045706

More Books

Students also viewed these Databases questions

Question

Ensure continued excellence in people management.

Answered: 1 week ago

Question

Enhance the international team by recruiting the best people.

Answered: 1 week ago