Advertisement
Guest User

Untitled

a guest
Oct 27th, 2016
59
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.32 KB | None | 0 0
  1. CREATE TABLE CategoriePref (
  2. Utilisateur_ID INTEGER NOT NULL,
  3. Categorie_ID INTEGER NOT NULL,
  4. CONSTRAINT PK_CategoriePref PRIMARY KEY(Utilisateur_ID, Categorie_ID),
  5. CONSTRAINT FK_UtilisateurID FOREIGN KEY (Utilisateur_ID) REFERENCES Utilisateur,
  6. CONSTRAINT FK_CategorieID FOREIGN KEY (Categorie_ID) REFERENCES Categorie
  7. );
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement