from github to this gitea
This commit is contained in:
22
algèbre SPJR.md
Normal file
22
algèbre SPJR.md
Normal file
@@ -0,0 +1,22 @@
|
||||
up::[[algèbre relationelle]]
|
||||
#informatique
|
||||
|
||||
---
|
||||
|
||||
| initiale | opération | symbole |
|
||||
| -------- | ------------------ | --------- |
|
||||
| S | sélection | $\sigma$ |
|
||||
| P | projection | $\pi$ |
|
||||
| J | jointure naturelle | $\bowtie$ |
|
||||
| R | renommage | $\rho$ |
|
||||
|
||||
|
||||
# Exemples
|
||||
$\text{réalisateur}[\text{nom}, \text{nationalité}]$
|
||||
$\text{film}[\text{titre}, \text{nom}, \text{année}]$
|
||||
|
||||
lister les films réalisés par des américains
|
||||
- $\pi_{titre} \left( \sigma_{\text{nationalité} = "américaine"} (\text{réalisateurs}) \bowtie \rho_{\text{titre, réalisateur, année} \to \text{titre, nom, année}}(films) \right)$
|
||||
|
||||
# Propriétés
|
||||
|
||||
Reference in New Issue
Block a user