Algebre relationnelle L'algèbre relationnelle Comment on calcule les relation B Shishedjiev - Algèbre relationnelle CDé ?nitions ? Les opérateurs sur relations ? Convention On note A X All l'ensemble de toutes les a ?ectations du schéma de relation X On n
L'algèbre relationnelle Comment on calcule les relation B Shishedjiev - Algèbre relationnelle CDé ?nitions ? Les opérateurs sur relations ? Convention On note A X All l'ensemble de toutes les a ?ectations du schéma de relation X On note L Y la restriction de l'a ?ectation L aux attributs de Y ? Opérateurs ?? projection sélection opérateurs ensemblistes jointures division ? Exemple ?? D écrou boulon vis clou ?? D pierre paul alice ?? D a b c B Shishedjiev - Algèbre relationnelle CL'opérateur de projection ? Soient X un schéma et Y une partie de X La projection sur Y ? X d'une relation R X est la relation ? YR X ?? Z Y ?? ? YR X L ? A Y ? L' ? A X L' Y L ? L' ? R R PIECE écrou écrou boulon FOURNISS paul paul pierre PROJET a b a ? YR X Y PIECE D FOURNISSEUR D PIECE FOURNISS écrou paul boulon pierre B Shishedjiev - Algèbre relationnelle CL'opérateur de sélection restriction ? Une condition de sélection est une formule logique construite sur les attributs d'un schéma X à l'aide des connecteurs suivant ? ?? ? ? ?? La sélection sur une relation R X suivant une condition de sélection E est la relation S Y ?E R X dé ?nie par Y X S Y ?ER X L ? A X L ? R et E L vrai R CLASSE NOM VILLE NAIS SPORT pierre marseille judo pierre marseille escrime jacques aubagne natation paul marseille football luc aubagne football E VILLE 'marseille' ? NAIS ? ' ' ? SPORT 'judo' ?? SPORT 'football' ?ER X CLASSE NOM VILLE paul marseille B Shishedjiev - Algèbre relationnelle NAIS SPORT football CRebaptiser renommer ? Changer le nom d ? attribut sans changer le domaine ou la sémantique S Y ??b aR X Y X o? l ? attribut a est nommé b S Y R X R PIECE écrou écrou boulon FOURNISS pierre paul alice T ??PI PIECER X PI FOURNISS écrou écrou boulon pierre paul alice B Shishedjiev - Algèbre relationnelle COpérateurs sur ensembles ? Union A ?? B ? Intersection A ?? B ? Di ?érence A - B ? Produit cartésien A ? B ? Jointures ? Division A B ou A B B Shishedjiev - Algèbre relationnelle COpérateurs sur ensembles ? Soient R X et S X deux relations dé ?nies sur le même schéma Y X T R ??S L ? A X L ? R ?? L ? S T R ??S R S L ? A X L ? R ? L ? S R-S L ? A X L ? R ? L ? S ? R L ? A X L ? R R ??S PIECE FOURNISS R PIECE FOURNISS écrou pierre écrou pierre écrou paul écrou paul boulon alice boulon boulon alice pierre S PIECE FOURNISS écrou boulon boulon pierre pierre alice R ??S PIECE écrou boulon S ??R PIECE boulon FOURNISS
Documents similaires
![](https://b3c3.c12.e2-4.dev/disserty/uploads/preview/pCrffOioIM6sMKKWCRHCK7GhzasEnf1fXdSqR6lkYuAOQQ8ww1L532xTbxL9wI2btcx8lUPxMPGfRzcdWpdfR7ft.png)
![](https://b3c3.c12.e2-4.dev/disserty/uploads/preview/bF6nh6eiCoQNpY88Tx7BFfT8RWJotRtAN9yU2yC3bo3VBTu2GfgUgS7vjS8IeTADMLxlr6hKf8RQHp4Ggsrh7i6S.png)
![](https://b3c3.c12.e2-4.dev/disserty/uploads/preview/11701802330wiyfbla56pduy0xyoomhrz6byoxt56yrruwqogxhho0e1bp8rqs4kwvqrt2jahfbbc9d8sqhd60azzhywdajt2qornabeqrx7dlv.png)
![](https://b3c3.c12.e2-4.dev/disserty/uploads/preview/0sxLs2O6tOKUe0dVwfOxL8hZwYSz0Rw1hQH2R9OpKOOUEYtYn3cXAQ6VRxSihMlxgtcHANFmBlejjF3aHjL8hnky.png)
![](https://b3c3.c12.e2-4.dev/disserty/uploads/preview/11701924978cjujzcjia7b8gtbnh9tkswturqwsjn3vqdyelrkfb5ijphruwleuwk88ym6egvapwe9jha4lj9ojlc98prqeuvfuoyhdykccivi3.png)
![](https://b3c3.c12.e2-4.dev/disserty/uploads/preview/11701908475io7so02wdz8ztzgspgxfpyksjrykamvfxbpnnsv1m27si2b17qi75p6tos0idoayv1cqgjgfgcouyngyxlbngfsjc203sx8dghpl.png)
![](https://b3c3.c12.e2-4.dev/disserty/uploads/preview/W3eK3WADpYT6xd2gCPMdA0on1vfS9A1uVw3KWA32qHNWfkia1k9cTzoRc0HqgqwhfYHK4L0j9mhZUAEMqd4EFnQh.png)
![](https://b3c3.c12.e2-4.dev/disserty/uploads/preview/11701941837ac9kivuklj0yyilbintmerfui26foeoyirmvxyz8lh4nmnwisc4ufmkzqfmj1qiybq3nauikv9elmyfsn0t0nkgvatnwcjsofqap.png)
![](https://b3c3.c12.e2-4.dev/disserty/uploads/preview/Ov7tltO3NErvblRfgWf1LIlloeZ9d0fBFd5pv82jbJrx0czQQTfeWUNqCNzHlupCkgbF81ATBjY34Mw4PfutUGFe.png)
![](https://b3c3.c12.e2-4.dev/disserty/uploads/preview/rB3LUiEXcTnE3GlIRgdfspoLUM1oLogeKmzNbY2LS1uJicH9tC6tAL7219UJ0L5YFqYe3PSFCQh0esrMIoFyL91G.png)
-
25
-
0
-
0
Licence et utilisation
Gratuit pour un usage personnel Aucune attribution requise- Détails
- Publié le Jul 12, 2021
- Catégorie Geography / Geogra...
- Langue French
- Taille du fichier 96.3kB