Sail E0 Webinar

MCQs

Total Questions : 63 | Page 6 of 7 pages
Question 51. . 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 52. . 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 53. . 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 54. . 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 55. . 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 56. . 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 57. . 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 58. . 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 59. . 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 60. . 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

Latest Videos

Latest Test Papers