Sail E0 Webinar

MCQs

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

Latest Videos

Latest Test Papers