Inserting partial data, omitted columns should be declared NULL, auto-increment or default value
There is an error in the statement: INSERT INTO Pet (PetID, NAME, TYPE, Breed, Age) SELECT (PetID, NAME, TYPE, Breed, Age) FROM btoh.Pet2 WHERE AGE = 400;
There is no error in the statement: INSERT INTO Pet (PetID, NAME, TYPE, Breed, Age) SELECT PetID, NAME, TYPE, Breed, Age FROM btoh.Pet2 WHERE AGE = 400;
There is no error in the statement: INSERT INTO Pet VALUES(108, 'Digger', 'Dog', 'Beagle', 6);
INSERT INTO table VALUES (v1, v2, ...)
Alternative format to add rows without specifying column names, but values must match all columns in the table