Commit ea1efbe8 authored by Nu Huyen Trang Pham's avatar Nu Huyen Trang Pham
Browse files

Update create_table.sql

parent 81678eda
......@@ -45,8 +45,8 @@ Create table Animal (
Taille FLOAT NOT NULL,
Date_de_naissance date NOT NULL,
ID_Espèce INT foreign key references Espece(ID_espece),
ID_Client INT foreign key references Client(ID_Client)
CHECK (Poids > 0)
ID_Client INT foreign key references Client(ID_Client),
CHECK (Poids > 0),
CHECK (Taille > 0)
);
......
Supports Markdown
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