• Wrong document? Swap it for free
  • Written by students who passed
  • Immediately available after payment
  • Read online or as PDF
Sell
Where do you study
Your language
Document preview thumbnail
Preview 1 out of 2 pages
Summary

Résumé Passage du Modèle Entité-Association au Relationnel (MCD à SQL)

Document preview thumbnail
Preview 1 out of 2 pages

Fiche de synthèse technique pour traduire un Modèle Conceptuel de Données (MCD) en script SQL fonctionnel. Ce document condense les règles de transformation essentielles pour passer du schéma à la création des tables sans erreur de syntaxe. Contenu du PDF: - Entités simples - Associations (n,m) - Entité faibles - Règles de cardinalités - Syntaxe Niveau: BTS SIO, BUT Info, License, Ecole d'ingénieur

Content preview

Cheat Sheet - Du Conceptuel au
SQL
Traduisez vos schémas en code sans erreur.


Les Fondamentaux
L’Entité

- Définition: Un objet central (ex: Etudiant) décrit par des attributs (Nom, Prénom).
- Règle SQL: Une Entité devient une TABLE.

Exemple (Elève):

L'identifiant unique (Clé) devient la PRIMARY KEY.

CREATE TABLE Etudiant (
id_etudiant INT PRIMARY KEY, -- La Clé unique
nom VARCHAR(50), -- Attribut simple
prenom VARCHAR(50) -- Attribut simple
);


L'Association "Plusieurs-à-Plusieurs" (n,m)
Cas d’exemple: Un élève est inscrit à plusieurs cours, un cours a plusieurs élèves (Cardinalités
0,m ou 1,m).

Règle SQL: On ne peut pas mettre de clé étrangère dans Etudiant ni dans Cours. Il faut
obligatoirement CRÉER UNE NOUVELLE TABLE (Table d’association).

Document information

Study
Uploaded on
February 6, 2026
Number of pages
2
Written in
2025/2026
Type
Summary
$9.07

Wrong document? Swap it for free Within 14 days of purchase and before downloading, you can choose a different document. You can simply spend the amount again.
Written by students who passed
Immediately available after payment
Read online or as PDF

Sold
0
Followers
0
Items
3
Last sold
-



Why students choose Stuvia

Created by fellow students, verified by reviews

Quality you can trust: written by students who passed their tests and reviewed by others who've used these notes.

Didn't get what you expected? Choose another document

No worries! You can instantly pick a different document that better fits what you're looking for.

Pay as you like, start learning right away

No subscription, no commitments. Pay the way you're used to via credit card and download your PDF document instantly.

Student with book image

“Bought, downloaded, and aced it. It really can be that simple.”

Alisha Student

Working on your references?

Create accurate citations in APA, MLA and Harvard with our free citation generator.

Working on your references?

Frequently asked questions