Professional Documents
Culture Documents
S Election:: December 2023
S Election:: December 2023
December 2023
Sélection :
Algèbre relationnelle : σcondition (R)
SQL : SELECT * FROM table WHERE condition;
Projection :
Algèbre relationnelle : πliste attributs (R)
SQL : SELECT attribut1, attribut2 FROM table;
Produit cartésien :
Algèbre relationnelle : R × S
SQL : SELECT * FROM table1, table2;
Jointure :
Algèbre relationnelle : R ▷◁condition S
SQL : SELECT * FROM table1,table2 where table1.col= table.col;
Union :
Algèbre relationnelle : R ∪ S
SQL : SELECT * FROM table1 UNION SELECT * FROM table2;
Intersection :
Algèbre relationnelle : R ∩ S
SQL : SELECT * FROM table1 INTERSECT SELECT * FROM table2;
1
Différence :
Algèbre relationnelle : R − S
SQL : SELECT * FROM table1 EXCEPT SELECT * FROM table2;