多做题,通过考试没问题!

IBM认证考试

睦霖题库>其他计算机考试>IBM认证考试

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?()

  • A、CREATE UNIQUE INDEX idx_partno ON parts(part_no)
  • B、CREATE UNIQUE INDEX idx_partno ON parts(part_name ASC)
  • C、CREATE UNIQUE INDEX idx_partno ON parts(part_name, part_no ASC)
  • D、CREATE UNIQUE INDEX idx_partno ON parts(part_no, part_name ASC)
正确答案:A
答案解析:
进入题库查看解析

微信扫一扫手机做题