Given the following DDL for the

题目

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
如果没有搜索结果或未解决您的问题,请直接 联系老师 获取答案。
相似问题和答案

第1题:

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

第2题:

Which of the following statements is true regarding the VERSIONS BETWEEN clause?()  

  • A、 The VERSIONS BETWEEN clause may be used in DML statements.
  • B、 The VERSIONS BETWEEN clause may be used in DDL statements.
  • C、 The VERSIONS BETWEEN clause may not be used to query past DDL changes to tables.
  • D、 The VERSIONS BETWEEN clause may not be used to query past DML statements to tables.

正确答案:C

第3题:

Examine the following command;ALTER SYSTEM SET enable_ddl_logging = TRUE;Which statement is true?()

A. Only the data definition language (DDL) commands that resulted in errors are logged in the alert log file.

B. All DDL commands are logged in the alert log file.

C. All DDL commands are logged in a different log file that contains DDL statements and their execution dates.

D. Only DDL commands that resulted in the creation of new segments are logged.

E. All DDL commands are logged in XML format in the alert directory under the Automatic Diagnostic Repository (ADR) home.


参考答案:B

第4题:

Which of the following is the FIRST thing to consider when designing an email retention policy?()

  • A、 Local laws and industry regulations
  • B、 Company policies and guidelines
  • C、 Project guidelines given by stakeholders
  • D、 Mail server and backup capacity

正确答案:A

第5题:

Given the address 192.168.20.19/28, which of the following are valid host addresses on this subnet?()

  • A、192.168.20.29
  • B、192.168.20.16
  • C、192.168.20.17
  • D、192.168.20.31
  • E、192.168.20.0

正确答案:A,C

第6题:

Given a subnet mask of 255.255.255.224, which of the following addresses can be assigned to network hosts?()

  • A、15.234.118.63
  • B、92.11.178.93
  • C、134.178.18.56
  • D、192.168.16.87
  • E、201.45.116.159
  • F、217.63.12.192

正确答案:B,C,D

第7题:

DDL


正确答案: 数据定义语言,用于定义数据库的三级结构,包括外模式、概念模式、内模式及其相互之间的映象,定义数据的完整性、安全控制等约束。

第8题:

Given the following DDL and INSERT statements:CREATE VIEW v1 AS SELECT col1 FROM t1 WHERE col1 > 10; CREATE VIEW v2 AS SELECT col1 FROM v1 WITH CASCADED CHECK OPTION; CREATE VIEW v3 AS SELECT col1 FROM v2 WHERE col1 < 100; INSERT INTO v1 VALUES(5); INSERT INTO v2 VALUES(5); INSERT INTO v3 VALUES(20); INSERT INTO v3 VALUES(100);How many of these INSERT statements will be successful?()

A.0

B.1

C.2

D.3


参考答案:C

第9题:

Which of the following RAID levels would be appropriate given two drives and a need for fault tolerance?()

  • A、RAID 0
  • B、RAID 1
  • C、RAID 5
  • D、RAID 10

正确答案:B

第10题:

Given the following output:  prompt> myapp   [1]+ Stopped myapp  prompt>   Which of the following commands will resume executing the stopped process while allowing the user to continue to type commands at the command prompt?()

  • A、 bg myapp
  • B、 continue myapp
  • C、 exec myapp
  • D、 fg myapp
  • E、 myapp &

正确答案:A

更多相关问题