Machine-translated by Google. Questions are authored in English.
Top

Discussion

Which of the syntax is correct for insert statement? 
i) insert into values 
ii) insert into (column list) values
 

  • A.i-only
  • B.ii-only
  • C.Both of them
  • D.None of them

Answer: C

Correct answer: Both of them

Both forms are valid. Naming the columns explicitly is safer, because the statement then does not depend on the order in which the columns were defined; omitting the list requires a value for every column in table order.

No comment is present. Be the first to comment.
Loading…

Post your comment

Please log in or register to post a comment.