1. The SQL command to create a table is:

A. MAKE TABLE.
B. ALTER TABLE.
C. DEFINE TABLE.
D. CREATE TABLE.


Correct Answer:  D. CREATE TABLE

2. A ________ is a stored program that is attached to a table or a view.

A. pseudofile
B. embedded SELECT statement
C. trigger
D. None of the above is correct.


Correct Answer:  C. trigger

3. The DROP TABLE statement:

A. deletes the table structure only.
B. deletes the table structure along with the table data.
C. works whether or not referential integrity constraints would be violated.
D. is not an SQL statement.


Correct Answer:  B. deletes the table structure along with the table data.

4. SQL views can be used to hide:

A. columns and rows only.
B. complicated SQL syntax only.
C. both of the above can be hidden by an SQL view.
D. None of the above is correct.


Correct Answer:  C. both of the above can be hidden by an SQL view.

5. The SQL statement to create a view is:

A. CREATE VIEW.
B. MAKE VIEW.
C. SELECT VIEW.
D. INSERT VIEW.


Correct Answer:  A. CREATE VIEW.

Comments

No comments yet. Why don’t you start the discussion?

    Leave a Reply

    Your email address will not be published. Required fields are marked *

    9 + 16 =