ex3!
This commit is contained in:
parent
02d0a5b41e
commit
d7b4f60519
14
ex3-myself.sql
Normal file
14
ex3-myself.sql
Normal file
@ -0,0 +1,14 @@
|
|||||||
|
INSERT INTO person (id, first_name, last_name, age)
|
||||||
|
VALUES (1, "Dan", "Buch", 31);
|
||||||
|
|
||||||
|
INSERT INTO pet (id, name, breed, age, dead)
|
||||||
|
VALUES (2, "Franny", "Dog", 14, 0);
|
||||||
|
|
||||||
|
INSERT INTO pet (id, name, breed, age, dead)
|
||||||
|
VALUES (3, "Zooey", "Cat", 7, 0);
|
||||||
|
|
||||||
|
INSERT INTO person_pet (person_id, pet_id)
|
||||||
|
VALUES (1, 2);
|
||||||
|
|
||||||
|
INSERT INTO person_pet (person_id, pet_id)
|
||||||
|
VALUES (1, 3);
|
Loading…
Reference in New Issue
Block a user