INSERT: Not all fields need to be specified

From SQLZoo

INSERT: Not all fields need be specified. Default values may be specified in the CREATE TABLE clause - otherwise NULL is used.

schema:scott
DELETE FROM t_peep WHERE id=99
INSERT INTO t_peep (id) VALUES (99);
SELECT * FROM t_peep
DataWars, Data Science Practice Projects - LogoDataWars: Practice Data Science/Analysis with +100 Real Life Projects
  • Your server today is: Dipsy