Exercices corriges de conception de base de donnees 15.00 / 20

Il est bien de connaitre la définition d'une base de données, la signification d'un attribut, d'une entité, d'un type d'association, etc. mais il est encore mieux de connaitre leur signification. C'est à dire leur sens réel dans la pratique par des exercices pratiques. Voici ce a quoi répond ce mini manuel.
Télécharger Gratuitement
10 755 téléchargements

Contenu de ce document de Informatique > BDD

Plan :

Conception 3
1.1 Interprétation de schémas entité/association . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3
1.1.1 Centre médical . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3
1.1.2 Tournoi de tennis . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4
1.1.3 Un journal . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4
1.2 Modèle réseau . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4
1.3 Modèle relationnel . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5
1.4 Rétro-conception . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6
2 Algèbre Relationelle 7
2.1 Sélection et Projection . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7
2.2 Jointure relationnelle . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8
2.3 Auto-Jointure et Renommage . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8
3 Algèbre : Compagnie d’Assurance 10
3.1 Schéma . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10
3.2 Requêtes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11
4 Algèbre - SQL: Employés - Départements 12
4.1 Schéma . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12
4.1.1 Relation des Employés (EMP) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12
4.1.2 Relation des Départements (DEPT) . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12
4.2 Opérations Algébriques . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12
4.3 Requêtes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14
4.3.1 Interrogation d’une seule Relation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14
4.3.2 Jointures . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15
4.3.3 Valeurs Nulles, Tris, Groupes, Agrégats et Expressions . . . . . . . . . . . . . . . . . . 19
5 Algèbre - SQL : Appartements - Écoles 21
5.1 Schéma . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21
5.2 Requêtes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22
5.3 Mise à jour . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26
5.4 Contraintes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26
6 SQL: Fournisseurs - Produits - Clients 28
6.1 Schéma . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28
6.2 Requêtes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29
7 Calcul - SQL - Algèbre : Cinémas - Films 32
7.1 Schéma . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 32
7.2 Requêtes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 32
7.2.1 Interrogation d’une seule Relation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 32
7.2.2 Jointures . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 33
7.2.3

Télécharger Gratuitement
10 755 téléchargements