Submit Solution

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

More Questions on This Topic :

Question 1. Which of the following is NOT a type of SQL constraint?
  1.    PRIMARY KEY
  2.    FOREIGN KEY
  3.    ALTERNATE KEY
  4.    UNIQUE
Answer: Option C

Question 2. A ________ is a program that performs some common action on database data and that is stored in the database.
  1.    trigger
  2.    stored procedure
  3.    pseudofile
  4.    None of the above is correct.
Answer: Option B

Question 3. For what purposes are views used?
  1.    To hide columns only
  2.    To hide rows only
  3.    To hide complicated SQL statements only
  4.    All of the above are uses for SQL views.
Answer: Option D

Question 4. The SQL statement to create a view is:
  1.    CREATE VIEW
  2.    MAKE VIEW
  3.    SELECT VIEW
  4.    INSERT VIEW
Answer: Option A

Question 5. The DROP TABLE statement:
  1.    deletes the table structure only.
  2.    deletes the table structure along with the table data.
  3.    works whether or not referential integrity constraints would be violated.
  4.    is not an SQL statement.
Answer: Option B

Question 6. SQL views can be used to hide:
  1.    columns and rows only.
  2.    complicated SQL syntax only.
  3.    both of the above can be hidden by an SQL view.
  4.    None of the above is correct.
Answer: Option C