lsqlthw ex11

This commit is contained in:
Dan Buch 2014-03-09 19:25:58 -04:00
parent 513afbebdb
commit de078e330c

12
lsqlthw-remnants/ex11.sql Normal file
View File

@ -0,0 +1,12 @@
INSERT INTO person (id, first_name, last_name, age)
VALUES (0, 'Frank', 'Smith', 100);
INSERT OR REPLACE INTO person (id, first_name, last_name, age)
VALUES (0, 'Frank', 'Smith', 100);
SELECT * FROM person;
REPLACE INTO person (id, first_name, last_name, age)
VALUES (0, 'Zed', 'Shaw', 37);
SELECT * FROM person;