Sail E0 Webinar

MCQs

Total Questions : 39 | Page 2 of 4 pages
Question 11. What is not an advantage of stored procedures?
  1.    Greater security
  2.    SQL can be optimized
  3.    Code sharing
  4.    Increased network traffic
 Discuss Question
Answer: Option D. -> Increased network traffic
Question 12. The SQL ALTER statement can be used to:
  1.    change the table data.
  2.    add rows to the table.
  3.    delete rows from the table.
  4.    change the table structure.
 Discuss Question
Answer: Option D. -> change the table structure.
Question 13. Which of the following is an SQL trigger supported by Oracle?
  1.    BEFORE
  2.    INSTEAD OF
  3.    All of these
  4.    AFTER
 Discuss Question
Answer: Option C. -> All of these
Question 14. When using the SQL INSERT statement:
  1.    rows can be inserted into a table only one at a time only.
  2.    rows can be modified according to criteria only.
  3.    rows can either be inserted into a table one at a time or in groups.
  4.    rows cannot be copied in mass from one table to another only.
 Discuss Question
Answer: Option C. -> rows can either be inserted into a table one at a time or in groups.
Question 15. A reason for using an SQL view to hide columns is:
  1.    to accomplish both of the above.
  2.    to simplify a result only.
  3.    to prevent the display of sensitive data only.
  4.    None of these
 Discuss Question
Answer: Option A. -> to accomplish both of the above.
Question 16. What SQL structure is used to limit column values of a table?
  1.    The VALUE constraint
  2.    The LIMIT constraint
  3.    None of these
  4.    The CHECK constraint
 Discuss Question
Answer: Option D. -> The CHECK constraint
Question 17. Views constructed from SQL SELECT statements that conform to the SQL-92 standard may not contain:
  1.    ORDER BY
  2.    FROM
  3.    GROUP BY
  4.    WHERE
 Discuss Question
Answer: Option A. -> ORDER BY
Question 18. The SQL statement used to create a view is CREATE VIEW.
  1.    True
  2.    False
 Discuss Question
Answer: Option A. -> True
Question 19. What is an advantage of placing computations in SQL views?
  1.    To save users from having to write an expression.
  2.    None of these
  3.    To accomplish both of the above.
  4.    To ensure that the results are consistent.
 Discuss Question
Answer: Option C. -> To accomplish both of the above.
Question 20. Which is NOT one of the most common types of SQL CHECK constraints?
  1.    Comparing one column value to another within the same table
  2.    Range checks
  3.    Lists of values
  4.    System date
 Discuss Question
Answer: Option D. -> System date

Latest Videos

Latest Test Papers