INSERT new records

From SQLZOO
Revision as of 10:16, 17 July 2012 by Marek (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

INSERT is used to add records.

schema:scott
DROP TABLE t_peep;
CREATE TABLE t_peep
 (id INTEGER PRIMARY KEY
 ,name VARCHAR(50))
INSERT INTO t_peep VALUES (1, 'andrew');
INSERT INTO t_peep VALUES (2, 'gordon');
SELECT * FROM t_peep
Personal tools
Namespaces

Variants
Actions
Reference
Toolbox
Google AdSense