QuestionQ156

VerifiedManaging Schema Objects

Examine the description of the SALES table:

Question Image

The SALES table contains 55,000 rows.

Examine this statement:

Question Image

Which two statements are true?

Choose two
Explanation

Because 1 = 1 is true for every row, the CREATE TABLE AS SELECT statement creates SALES1 with all 55,000 selected rows. For simple selected column references, Oracle automatically defines eligible explicitly created NOT NULL constraints on the corresponding new columns; primary key and unique constraints are not inherited by CTAS.

Learn more

Community Discussion

No comments yet. Be the first to start the discussion!