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
Francois Mares
NF18 - Projet SCF - Groupe 5
Commits
9a3fb252
Commit
9a3fb252
authored
May 20, 2021
by
Clement Lucas
Browse files
Update TABLE.sql
parent
e09e927e
Changes
1
Hide whitespace changes
Inline
Side-by-side
SQL/TABLE.sql
View file @
9a3fb252
...
...
@@ -104,12 +104,12 @@ CREATE TABLE Billet (
---Trajet (#id_trajet : int, #id_billet=>Billet, numéro_place :integer, durée: heure,
--- horaire_départ=>Horaires, horaire_arrivée=>Horaires);
CREATE
TABLE
Trajet
(
id_trajet
SERIA
L
,
id_trajet
INTEGER
NOT
NUL
L
,
id_billet
INTEGER
REFERENCES
Billet
(
id_billet
)
NOT
NULL
,
numero_place
INTEGER
NOT
NULL
,
duree
TIME
NOT
NULL
,
horaire_depart
INTEGER
REFERENCES
Horaires
(
id_horaires
)
NOT
NULL
,
horaire_arrivee
INTEGER
REFERENCES
Horaires
(
id_horaires
)
NOT
NULL
,
PRIMARY
KEY
(
id_trajet
)
PRIMARY
KEY
(
id_trajet
,
id_billet
)
);
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