Renaming attribute

$$ \rho_{Y \leftarrow X}R $$

Example 1:

Collect all the IDs in university

$\rho_{student \leftarrow SIds} \cup \rho_{Professor \leftarrow ProfIds}$

Example 2:

Untitled

Projection, Selection

Selection

Filter some tuples on the base of Property $F$

$\sigma_F(R)$ \\sigma_F(R)where

Projection

Produce results over a subset of the attributes of the operand, with values from all its tuples

$\pi_Y(R)$ \\pi_Y(R) where

Example:

SID Name Surname Country
VR1 ANNA B IT
VR2 LUCA R IT
VR3 JOHN S US
VR4 GIULIA J RU
VR5 ANTONIA K BE

$\sigma_{\texttt{Country="IT"}}(Student)$

SID Name Surname Country
VR1 ANNA B IT
VR2 LUCA R IT