Commit 9fc467ee authored by Gaetan Carabetta's avatar Gaetan Carabetta

Update inserts_RO.sql

parent 00cfa936
INSERT INTO espece (classeEspece,espece)
VALUES ('mammifer',"hamster");
VALUES ('mammifer','hamster');
/
INSERT INTO espece (classeEspece,espece)
VALUES ('mammifer',"chien");
VALUES ('mammifer','chien');
/
INSERT INTO espece (classeEspece,espece)
VALUES ('mammifer',"chat");
VALUES ('mammifer','chat');
/
INSERT INTO client (id_client,nom,prenom,dn,adresse,numeros)
VALUES (1,"VALDIVIA","Osvaldo","27-12-1998","6 bis rue Winston Churchill",listNumeros("1029384756","5534034564"));
VALUES (1,'VALDIVIA','Osvaldo',to_date('27-12-1998','DD-MM-YYYY'),'6 bis rue Winston Churchill',listNumeros('1029384756','5534034564'));
/
INSERT INTO client (id_client,nom,prenom,dn,adresse,numeros)
VALUES (2,"CARABETTA","Gaetan","10-06-1996","16 rue Gambeta",listNumeros("5647384950","1738493728","5748394782"));
VALUES (2,'CARABETTA','Gaetan',to_date('10-06-1996','DD-MM-YYYY'),'16 rue Gambeta',listNumeros('5647384950','1738493728','5748394782'));
/
INSERT INTO client (id_client,nom,prenom,dn,adresse,numeros)
VALUES (3,"ALANIS","Oswaldo","05-14-1998","52 av. Compiegne ",listNumeros("5647384950"));
VALUES (3,'ALANIS','Oswaldo',to_date('14-05-1998','DD-MM-YYYY'),'52 av. Compiegne ',listNumeros('5647384950'));
/
INSERT INTO animal(id_animal,id_client,espece,nom,poid,TAILLE,dn,listTraitements)
VALUES (1,1,"chien","Diego",4050,300,"15-04-2005",listTraitements(traitement(1,"09-10-2018",5,2,"Pierre","Hueys"),traitement(2,"11-12-2018",5,2,"Pierre","Orphex")));
INSERT INTO animal(id_animal,id_client,espece,nom,poid,TAILLE,dn,traitements)
VALUES (1,1,'chien','Diego',4050,300,to_date('15-04-2005','DD-MM-YYYY'),listTraitements(traitement(1,to_date('09-10-2018','DD-MM-YYYY'),5,2,'Pierre','Hueys'),traitement(2,to_date('11-12-2018','DD-MM-YYYY'),5,2,'Pierre','Orphex')));
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