Quiz 16

Quiz yourself on INSERT query and basic queries regarding date and time functions in MySQL.

We'll cover the following...

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.

Access this course and 1400+ top-rated courses and projects.