Commit e00db3e7 authored by Osvaldo Valdivia Salas's avatar Osvaldo Valdivia Salas
Browse files

Update Clinique_RO.sql

parent bdd32da4
...@@ -48,12 +48,14 @@ CREATE OR REPLACE TABLE espece( ...@@ -48,12 +48,14 @@ CREATE OR REPLACE TABLE espece(
CREATE OR REPLACE TABLE animal( CREATE OR REPLACE TABLE animal(
id_animal NUMBER NOT NULL, id_animal NUMBER NOT NULL,
id_client NUMBER NOT NULL, id_client NUMBER NOT NULL,
espece VARCHAR(20),
nom VARCHAR(20), nom VARCHAR(20),
poid FLOAT, poid FLOAT,
TAILLE FLOAT, TAILLE FLOAT,
dn DATE, dn DATE,
traitements listTraitement NOT NULL, traitements listTraitement NOT NULL,
PRIMARY KEY (id_animal), PRIMARY KEY (id_animal),
FOREIGN KEY (id_client) REFERENCES client(id_client) FOREIGN KEY (id_client) REFERENCES client(id_client),
FOREIGN KEY (espece) REFERENCES espece(espece)
) NESTED TABLE traitements STORE AS l_traitements; ) NESTED TABLE traitements STORE AS l_traitements;
/ /
\ No newline at end of file
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