PrepAway - Latest Free Exam Questions & Answers

Which of the following create index statements will meet this criteria and require the least amount of storage

Given the following DDL for the PARTS table:
CREATE TABLE parts
(part_no INT(9) NOT NULL,
part_name VARCHAR(24),
part_remain INT(9));
All part numbers entered will be different and all rows should be displayed in order of increasing
part numbers whenever the table is queried. Which of the following create index statements will
meet this criteria and require the least amount of storage for the index object?

PrepAway - Latest Free Exam Questions & Answers

A.
CREATE UNIQUE INDEXidx_partno ON parts(part_no)

B.
CREATE UNIQUE INDEXidx_partno ON parts(part_name ASC)

C.
CREATE UNIQUE INDEXidx_partno ON parts(part_name, part_no ASC)

D.
CREATE UNIQUE INDEXidx_partno ON parts(part_no, part_name ASC)

One Comment on “Which of the following create index statements will meet this criteria and require the least amount of storage


Leave a Reply