Commit a3b647af authored by Pierre Guerin's avatar Pierre Guerin
Browse files

Merge branch 'guerinpi-main-patch-71786' into 'main'

Update rendu-5/create3NF.sql

See merge request !14
parents 8dcee7c3 acb84709
......@@ -28,10 +28,10 @@ modele VARCHAR NOT NULL,
marque VARCHAR NOT NULL,
proprietaire INTEGER NOT NULL,
FOREIGN KEY (proprietaire) REFERENCES utilisateur(id),
FOREIGN KEY (modele,marque) REFERENCES typevehicuel(modele,marque)
FOREIGN KEY (modele,marque) REFERENCES tVehicule(modele,marque)
);
CREATE TABLE typeVehicule(
CREATE TABLE tVehicule(
modele VARCHAR NOT NULL,
marque VARCHAR NOT NULL,
type typeVehicule NOT NULL,
......
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