tp_bdd2/personnel.sql

11 lines
317 B
MySQL
Raw Normal View History

2022-11-30 16:13:35 +01:00
CREATE TABLE Personnel
2022-11-30 16:22:37 +01:00
();
CREATE TABLE Organise (
idPortesOuverte INT NOT NULL,
idPersonnel INT NOT NULL,
FOREIGN KEY (idPortesOuverte) REFERENCES Journee_Portes_Ouvertes(idPorte_Ouverte),
FOREIGN KEY (idPersonnel) REFERENCES Personnel(idPersonnel),
PRIMARY KEY(idPortesOuverte, idPersonnel)
);