Answered step by step
Verified Expert Solution
Question
1 Approved Answer
write the answer by the keyboard d) Considering the following CREATE TABLE statement, why when the 'region' column is part of the primary key's underlying
write the answer by the keyboard
d) Considering the following CREATE TABLE statement, why when the 'region' column is part of the primary key's underlying clustered index, do the query optimizers resort to a table scan when a WHERE clause contains only conditions on the 'region' column? CREATE TABLE sales year SMALLINT NOT NULL, quarter' TINYINT NOT NULL, region VARCHAR(50) NOT NULL, vehicle VARCHAR(50) NOT NULL, quantity SMALLINT NULL, CONSTRAINT pri_sales PRIMARY KEY (year', quarter, region, vehicle)); [3] ] e) Continuing with the preceding scenario, suggest a new non-clustered index to stop the query optimizers having to resort to a table scan [3] 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