1. You can add a row using SQL in a database with which of the following?

A. ADD
B. CREATE
C. INSERT
D. MAKE


Correct Answer:  C. INSERT

2. The command to remove rows from a table ‘CUSTOMER’ is:

A. REMOVE FROM CUSTOMER …
B. DROP FROM CUSTOMER …
C. DELETE FROM CUSTOMER WHERE …
D. UPDATE FROM CUSTOMER …


Correct Answer:  C. DELETE FROM CUSTOMER WHERE …

3. The SQL WHERE clause:

A. limits the column data that are returned.
B. limits the row data are returned.
C. Both A and B are correct.
D. Neither A nor B are correct.


Correct Answer:  B. limits the row data are returned.

4. Which of the following is the original purpose of SQL?

A. To specify the syntax and semantics of SQL data definition language
B. To specify the syntax and semantics of SQL manipulation language
C. To define the data structures
D. All of the above.


Correct Answer:  D. All of the above.

5. The wildcard in a WHERE clause is useful when?

A. An exact match is necessary in a SELECT statement.
B. An exact match is not possible in a SELECT statement.
C. An exact match is necessary in a CREATE statement.
D. An exact match is not possible in a CREATE statement.


Correct Answer:  B. An exact match is not possible in a SELECT statement.

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 *

    ten + 9 =