Through ex2
This commit is contained in:
parent
d8c66a41a8
commit
02d0a5b41e
19
ex2.sql
Normal file
19
ex2.sql
Normal 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
|
||||
);
|
Loading…
Reference in New Issue
Block a user