Filters
Question type

Study Flashcards

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) ;

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

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

Correct Answer

verifed

verified

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

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.​

Correct Answer

verifed

verified

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

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

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

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

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

Correct Answer

verifed

verified

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

Correct Answer

verifed

verified

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

Correct Answer

verifed

verified

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

Correct Answer

verifed

verified

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

Correct Answer

verifed

verified

A table must contain a minimum of two columns._________________________

Correct Answer

verifed

verified

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

Correct Answer

verifed

verified

Showing 121 - 136 of 136

Related Exams

Show Answer