box-o-sand/oldstuff/lsqlthw-remnants/ex7.sql

10 lines
171 B
MySQL
Raw Normal View History

2014-03-09 19:31:02 +00:00
SELECT name, age FROM pet WHERE dead = 1;
DELETE FROM pet WHERE dead = 1;
SELECT * FROM pet;
INSERT INTO pet VALUES (1, "Gigantor", "Robot", 1, 0);
SELECT * FROM pet;