adplus-dvertising
frame-decoration

Question

Will the following SQL command produce any error ?
INSERT INTO person
(person_id, fname,lname)
VALUES (1,’S’,’U’),
VALUES (2,’T’,’U’);
/* where person_id is a primary key */

a.

Error

b.

No Error

c.

Depends

d.

None of the mentioned

Posted under MySQL Database

Answer: (b).No Error

Engage with the Community - Add Your Comment

Confused About the Answer? Ask for Details Here.

Know the Explanation? Add it Here.

Q. Will the following SQL command produce any error ?