Commit 80316362 authored by Clement Lucas's avatar Clement Lucas
Browse files

Suppression de id_train dans une requête

parent be98f2a8
......@@ -17,8 +17,8 @@ INSERT INTO Gare(id_gare, nom_gare, nom_ville, adresse, zone_horaire) VALUES (3,
INSERT INTO Ligne(id_ligne, nom_ligne, origine, terminus) VALUES(15, 'K15', 1, 3);
---Train (#numero:integer, type: {TGV, TER}, places_max : integer, premiere_class : bool, vitesse_max : integer) ;
INSERT INTO Train(id_train, numero, type_train, places_max, premiere_class, vitesse_max)
VALUES (1, 250, 'TER', 800, 0, 80);
INSERT INTO Train(numero, type_train, places_max, premiere_class, vitesse_max)
VALUES (250, 'TER', 800, 0, 80);
---Arrêt ( #position:integer, #gare=>Gare, #ligne=>Ligne);
INSERT INTO Arret(id_arret, position, gare, ligne) VALUES (0, 1, 1, 15);
......
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