Through ex2

This commit is contained in:
Dan Buch 2012-02-11 12:49:03 -05:00
parent d8c66a41a8
commit 02d0a5b41e

19
ex2.sql Normal file
View File

@ -0,0 +1,19 @@
CREATE TABLE person (
id INTEGER PRIMARY KEY,
first_name TEXT,
last_name TEXT,
age INTEGER
);
CREATE TABLE pet (
id INTEGER PRIMARY KEY,
name TEXT,
breed TEXT,
age INTEGER,
dead INTEGER
);
CREATE TABLE person_pet (
person_id INTEGER,
pet_id INTEGER
);