Commit 0b66ac23 authored by Robin Bouvier's avatar Robin Bouvier
Browse files

Update JSON_INSERT.sql

parent 7d6cfc75
......@@ -4,6 +4,7 @@ INSERT INTO Animal (
15,
200,
2008,
'Chien'
'[
{"nom" : "Traitement contre les poux", "debut" : "20 janvier 2019", "duree" : 130,
"prescription" : [
......@@ -26,3 +27,26 @@ INSERT INTO Animal (
},
]'
);
INSERT INTO Classes VALUES('Mammiferes');
INSERT INTO Classes VALUES('Poissons');
INSERT INTO Classes VALUES('Oiseaux');
INSERT INTO Classes VALUES('Reptiles');
INSERT INTO Especes VALUES ('Chien', 'Mammiferes');
INSERT INTO Especes VALUES ('Anaconda', 'Reptiles');
INSERT INTO Especes VALUES ('Moineau', 'Oiseaux');
INSERT INTO Clients VALUES(1, '0610203050', 'Dupond', 'Anne', TO_DATE('1995-07-14', 'YYYY-MM-DD'), '50 rue de Nantes 75015 Paris');
INSERT INTO Clients VALUES(2, '0610203050', 'Dupond', 'Anne', TO_DATE('1995-07-14', 'YYYY-MM-DD'), '50 rue de Nantes 75015 Paris');
INSERT INTO Clients VALUES(3, '0614814050', 'Smith', 'Louis', TO_DATE('1980-10-28', 'YYYY-MM-DD'), '25 rue Saint Anne 75009 Paris');
INSERT INTO Proprietaires VALUES (2, 2);
INSERT INTO Proprietaires VALUES (1, 3);
INSERT INTO Proprietaires VALUES (2, 1);
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment