MCQ Single Best Answer Easy

QYou are to complete the code needed to update records. Which will best complete this statement?

while select _______  fmVehicle

ID: #9392 Module 14: Database Manipulation 144 views
Question Info
#9392Q ID
EasyDifficulty
Module 14: Database ManipulationTopic

Choose the Best Option

Click any option to instantly check if you're correct.

  • A read
  • B forupdate
  • C lock
  • D firstOnly
Correct Answer: Option B

Explanation

Justification:

  1. Read is not a valid keyword to be used in a select statement or to update records.
  2. The forUpdate keyword is used in a select statement to indicate the table is being selected for the purpose of updating or changing data.
  3. Lock is not a valid keyword to be used in a select statement or to update records.
  4. The firstOnly keyword is used to retrieve only the first record from the table.

Related Lesson: Data Updates

Share This Question

Challenge a friend or share with your study group.