Question: 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,

answer by the keyboard
answer by the keyboard d) Considering the following CREATE TABLE statement, why

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

1 Expert Approved Answer
Step: 1 Unlock 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 Databases Questions!