Filters
Question type

Study Flashcards

DDL commands are used to create or modify database objects._________________________​

A) True
B) False

Correct Answer

verifed

verified

If you are creating a new table containing four columns from an existing table and want to change the name of one of the columns when it is created in the new table,add a column list containing ____ names in the CREATE TABLE clause.​


A) ​one
B) ​four
C) ​five
D) ​zero

E) A) and B)
F) A) and C)

Correct Answer

verifed

verified

You cannot specify the width for a(n)NUMBER column._________________________​

A) True
B) False

Correct Answer

verifed

verified

If the CREATE TABLE is being used to create a table from existing data,the SUBQUERY keyword must be used.​

A) True
B) False

Correct Answer

verifed

verified

The ____________________ of a NUMBER column indicates the total number of digits that can be stored in the column.​

Correct Answer

verifed

verified

A table must contain a minimum of two columns._________________________

A) True
B) False

Correct Answer

verifed

verified

The MODIFY TABLE command can be used to change the size of a table.

A) True
B) False

Correct Answer

verifed

verified

Using the DESC on a table will display hidden columns.​

A) True
B) False

Correct Answer

verifed

verified

When a column is deleted,the deletion is permanent.​

A) True
B) False

Correct Answer

verifed

verified

Structure of the PROMOTION table​ Structure of the PROMOTION table​    -​Which of the following SQL statements was most likely used to create the PROMOTION table? A)  CREATE TABLE promotion (gift VARCHAR2(15) ,minretail NUMBER(5,2) ,maxretail NUMBER(5,2) ) ;​ B)  ​CREATE TABLE promotion AS (gift VARCHAR2(15) ,minretail NUMBER(5,2) ,maxretail NUMBER(5,2) ) ; C)  ​CREATE TABLE promotion ADD (gift VARCHAR2(15) ,minretail NUMBER(5,2) ,maxretail NUMBER(5,2) ) ; D)  ​CREATE TABLE promotion (gift VARCHAR2(15) ,minretail NUMBER(5,2) ,maxretail NUMBER(5,2) ; -​Which of the following SQL statements was most likely used to create the PROMOTION table?


A) CREATE TABLE promotion
(gift VARCHAR2(15) ,minretail NUMBER(5,2) ,maxretail NUMBER(5,2) ) ;​
B) ​CREATE TABLE promotion
AS (gift VARCHAR2(15) ,minretail NUMBER(5,2) ,maxretail NUMBER(5,2) ) ;
C) ​CREATE TABLE promotion
ADD (gift VARCHAR2(15) ,minretail NUMBER(5,2) ,maxretail NUMBER(5,2) ) ;
D) ​CREATE TABLE promotion
(gift VARCHAR2(15) ,minretail NUMBER(5,2) ,maxretail NUMBER(5,2) ;

E) B) and C)
F) A) and D)

Correct Answer

verifed

verified

Which keywords are used to complete the deletion of a column previously marked with SET UNUSED?​


A) ​DELETE UNUSED COLUMNS
B) ​DROP UNUSED COLUMNS
C) ​UNSET UNUSED COLUMNS
D) ​DROP SET COLUMNS

E) B) and C)
F) C) and D)

Correct Answer

verifed

verified

A _______ column generates values automatically at runtime and may reference values from other columns.​


A) ​Automatic
B) ​Virtual
C) ​Calculated
D) ​Static

E) A) and B)
F) All of the above

Correct Answer

verifed

verified

To retain the structure of a table,while deleting all its data and releasing their storage space,execute the TRUNC command.​

A) True
B) False

Correct Answer

verifed

verified

Which of the following is displayed by the DESCRIBE command?​


A) ​column names
B) ​not null requirements
C) ​datatypes
D) ​all of the above

E) All of the above
F) None of the above

Correct Answer

verifed

verified

Only one column can be added to an existing table at one time.​

A) True
B) False

Correct Answer

verifed

verified

The CHANGE TABLE command can be used to modify an existing table._________________________ ​

A) True
B) False

Correct Answer

verifed

verified

Showing 121 - 136 of 136

Related Exams

Show Answer