Commit 05b858fc authored by Evenson Jeunesse's avatar Evenson Jeunesse

Update JSON_INSERT.sql

parent 575dd44d
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 ('Baleine', 'Mammiferes');
INSERT INTO Especes VALUES ('Anaconda', 'Reptiles');
INSERT INTO Especes VALUES ('Moineau', 'Oiseaux');
INSERT INTO Animal values(
1,
'Volt',
......@@ -11,7 +25,7 @@ INSERT INTO Animal values(
{"quantité" : 15, "medicament" : {"nomMolecule" : "BHRG", "effet" : "tue les poux"}},
{"quantité" : 2, "medicament" : {"nomMolecule" : "HO76", "effet" : "ne fait rien"}}
],
"veterinaire" : {"nom" : "Richard", "prenom" : "Emmanuel"},
"veterinaire" : {"nom" : "Richard", "prenom" : "Emmanuel"}
},
......@@ -42,7 +56,7 @@ INSERT INTO Animal values(
1,
30,
2008,
'Oiseau',
'Anaconda',
'[
{"nom" : "Traitement contre la liquidité des fientes", "debut" : "20 mai 2019", "duree" : 30,
"prescription" : [
......@@ -55,15 +69,6 @@ INSERT INTO Animal values(
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 ('Baleine', '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');
......
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