CTAS

📝 CTAS

Total Questions: 3
Click an answer to select it, then click "Check Answers" to see your results.
Question 1

What does **CTAS** primarily accomplish in SQL?

A.

A) Creates a virtual table that updates automatically

B.

B) Adds constraints like primary keys to an existing table

C.

C) Creates a physical table from a SELECT query result

D.

D) Deletes rows from a table based on conditions

Question 2

How does a table created by **CTAS** differ from a regular view?

A.

A) It updates automatically with source data changes

B.

B) It is static and requires manual recreation for updates

C.

C) It includes primary keys and indexes by default

D.

D) It cannot be queried like other tables

Question 3

Which elements are **excluded** when using **CTAS** to create a table?

A.

A) Primary keys, foreign keys, and indexes

B.

B) Data and data types

C.

C) Column names from the SELECT

D.

D) Rows matching the WHERE clause

Quiz Complete!

Score: 0 / 3