Filters
Question type

Study Flashcards

The maximum width of a(n) CHAR‾\underline { \mathrm{CHAR} } column is 4000 characters. _________________________

Correct Answer

verifed

verified

The DROP TABLE command can be used to remove a table and all its data from a database.

Correct Answer

verifed

verified

The ____________________ TABLE command can be used to delete a table from a database.

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

DML commands are used to create or modify database tables.

Correct Answer

verifed

verified

Which of the following keywords uses a subquery to create a new table using existing database tables?


A) ALTER TABLE
B) GENERATE TABLE
C) CREATE TABLE...AS
D) CREATE TABLE...FROM

Correct Answer

verifed

verified

Structure of the PROMOTION table Structure of the PROMOTION table    -If a new column is added to the PROMOTION table, where will the new column be listed? A)  before the GIFT column B)  after the GIFT column C)  after the MINRETAIL column D)  after the MAXRETAIL column -If a new column is added to the PROMOTION table, where will the new column be listed?


A) before the GIFT column
B) after the GIFT column
C) after the MINRETAIL column
D) after the MAXRETAIL column

Correct Answer

verifed

verified

Which of the following keywords is used to mark a column for deletion at a later time?


A) ALTER TABLE...MARK UNUSED
B) ALTER TABLE...SET UNUSED
C) ALTER TABLE...DROP UNUSED
D) ALTER TABLE...SET COLUMN

Correct Answer

verifed

verified

More than one column can be changed at a time with the  ALTER TABLE ...MODIFY ‾\underline { \text { ALTER TABLE ...MODIFY } } command. _________________________

Correct Answer

verifed

verified

A table name can contain the number sign and ____________________ symbols.

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  MODIFY ‾\underline { \text { MODIFY } } clause can be included in the ALTER TABLE command to add a default value to an existing column. _________________________

Correct Answer

verifed

verified

The RENAME command can be used to assign a table to a new schema.

Correct Answer

verifed

verified

You cannot delete the last column in a table.

Correct Answer

verifed

verified

The  CHANGE ‾\underline { \text { CHANGE } } TABLE command can be used to modify an existing table. _________________________

Correct Answer

verifed

verified

When a column is deleted, the deletion is permanent.

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

Correct Answer

verifed

verified

Which of the following keywords cannot be used to modify an existing table?


A) ALTER TABLE...ADD
B) ALTER TABLE...DROP COLUMN
C) ALTER TABLE...MODIFY
D) ALTER TABLE...AS

Correct Answer

verifed

verified

Structure of the PROMOTION table Structure of the PROMOTION table    -If the MAXRETAIL column of the PROMOTION table has been set as unused, which of the following commands is valid? A)  ALTER TABLE promotion RESET maxretail USED; B)  ALTER TABLE promotion DROP COLUMN maxretail; C)  ALTER TABLE promotion DROP UNUSED COLUMNS; D)  both b and c -If the MAXRETAIL column of the PROMOTION table has been set as unused, which of the following commands is valid?


A) ALTER TABLE promotion RESET maxretail USED;
B) ALTER TABLE promotion DROP COLUMN maxretail;
C) ALTER TABLE promotion DROP UNUSED COLUMNS;
D) both b and c

Correct Answer

verifed

verified

The  scale ‾\underline { \text { scale } } of a NUMBER column indicates the total number of digits that can be stored in the column. _________________________

Correct Answer

verifed

verified

Showing 61 - 80 of 132

Related Exams

Show Answer