Quiz 16

Question # 1

Q

Consider the following table:

CREATE TABLE Name ( 
             LastName VARCHAR(5) 
);

What will happen when the following statements are executed?

INSERT INTO Name VALUES('Smith');
INSERT IGNORE INTO Name VALUES('Edward');
A)

Both names are inserted successfully.

B)

Error: Data too long for column LastName.

Level up your interview prep. Join Educative to access 80+ hands-on prep courses.