Update Clinique_RO.sql

parent bdd32da4
......@@ -48,12 +48,14 @@ CREATE OR REPLACE TABLE espece(
CREATE OR REPLACE TABLE animal(
id_animal NUMBER NOT NULL,
id_client NUMBER NOT NULL,
espece VARCHAR(20),
nom VARCHAR(20),
poid FLOAT,
TAILLE FLOAT,
dn DATE,
traitements listTraitement NOT NULL,
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;
/
\ 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