insert DEFAULT values
问题 Is there ANY difference between those two statements?: INSERT INTO distributors (did, dname) VALUES (DEFAULT, 'XYZ Widgets'); and: INSERT INTO distributors (dname) VALUES ('XYZ Widgets'); I mean is there at least one reason to use one or another pattern in some particular situation or is it completely the same? did is a serial column. 回答1: It's exactly the same thing. No need to pick one instead of the other. Usually default keyword is handy when you have computer-generated code. It makes