-- Collection of code snippets by Arne Vajhøj 
-- posted to eksperten.dk, usenet and other places (2002-now) 
CREATE TABLE noget (
    id INTEGER NOT NULL,
    felt INTEGER DEFAULT 2,
    PRIMARY KEY (id)
); 

INSERT INTO noget VALUES(1,77);
INSERT INTO noget VALUES(2,NULL);
INSERT INTO noget(id) VALUES(3);

SELECT * FROM noget;

DROP TABLE noget;
