INSERT new records

From SQLZOO
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