logo

CuriousTab

CuriousTab

Discussion


Home Database SQL for Database Construction Comments

  • Question
  • Which of the following is an SQL trigger supported by Oracle?


  • Options
  • A. BEFORE
  • B. INSTEAD OF
  • C. AFTER
  • D. All of the above.

  • Correct Answer
  • All of the above. 


  • SQL for Database Construction problems


    Search Results


    • 1. To update an SQL view, the DBMS must be able to associate the column(s) to be updated with:

    • Options
    • A. a particular column in a particular underlying table.
    • B. a particular column in a particular row.
    • C. a particular row in a particular underlying table.
    • D. None of the above is correct.
    • Discuss
    • 2. For what purposes are views used?

    • Options
    • A. To hide columns only
    • B. To hide rows only
    • C. To hide complicated SQL statements only
    • D. All of the above are uses for SQL views.
    • Discuss
    • 3. What is an SQL virtual table that is constructed from other tables?

    • Options
    • A. Just another table
    • B. A view
    • C. A relation
    • D. Query results
    • Discuss
    • 4. Which of the following is NOT a type of SQL constraint?

    • Options
    • A. PRIMARY KEY
    • B. FOREIGN KEY
    • C. ALTERNATE KEY
    • D. UNIQUE
    • Discuss
    • 5. A ________ is a program that performs some common action on database data and that is stored in the database.

    • Options
    • A. trigger
    • B. stored procedure
    • C. pseudofile
    • D. None of the above is correct.
    • Discuss
    • 6. Views constructed from SQL SELECT statements that conform to the SQL-92 standard may not contain:

    • Options
    • A. GROUP BY.
    • B. WHERE.
    • C. ORDER BY.
    • D. FROM.
    • Discuss
    • 7. SQL views can be used to hide:

    • Options
    • 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.
    • Discuss
    • 8. A ________ is a stored program that is attached to a table or a view.

    • Options
    • A. pseudofile
    • B. embedded SELECT statement
    • C. trigger
    • D. None of the above is correct.
    • Discuss
    • 9. When using the SQL INSERT statement:

    • Options
    • A. rows can be modified according to criteria only.
    • B. rows cannot be copied in mass from one table to another only.
    • C. rows can be inserted into a table only one at a time only.
    • D. rows can either be inserted into a table one at a time or in groups.
    • Discuss
    • 10. The SQL ALTER statement can be used to:

    • Options
    • A. change the table structure.
    • B. change the table data.
    • C. add rows to the table.
    • D. delete rows from the table.
    • Discuss


    Comments

    There are no comments.

Enter a new Comment