Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Nu Huyen Trang Pham
Projet NF17 td5 grps4
Commits
2572201b
Commit
2572201b
authored
Apr 04, 2019
by
Nu Huyen Trang Pham
Browse files
Update create_table.sql
parent
6cc0ced7
Changes
1
Show whitespace changes
Inline
Side-by-side
create_table.sql
View file @
2572201b
...
...
@@ -68,6 +68,7 @@ Create table Medicament (
Description
varchar
(
100
)
NOT
NULL
);
/*C'est une classe d'association*/
Create
table
Medicament_Effet
(
Medicament
INT
,
foreign
key
(
Medicament
)
references
Medicament
(
ID_Medicament
),
...
...
@@ -75,6 +76,7 @@ Create table Medicament_Effet (
foreign
key
(
Effets_secondaires
)
references
Effets_secondaires
(
ID_effet_secondaire
)
);
/*C'est une classe d'association*/
Create
table
Med_correspond_Ani
(
ID_Medicament
INT
,
foreign
key
(
ID_Medicament
)
references
Medicament
(
ID_Medicament
),
...
...
@@ -94,6 +96,7 @@ Create table Traitement (
CHECK
(
Duree
<>
'00:00:00'
)
);
/*C'est une classe d'association*/
Create
table
Traitement_Medicament
(
Traitement
INT
,
foreign
key
(
Traitement
)
references
Traitement
(
ID_Traitement
),
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment