σ(Condition)(R)
|
|
Answer:
| σ (dno = 4) (employee) |
|---|
|
Answer:
| σ (salary > 30000) (employee) |
|---|
Answer:
| σ (dno = 4 and salary > 30000) (employee) |
|---|
OR:
| σ (salary > 30000) ( σ (dno = 4) (employee) ) |
|---|
π (attribute-list) (R) |
Effect:
|
| π ssn (employee) |
|---|
|
| π sex (employee) |
|---|
The following diagram shows the result graphically (hopefully, it will illustrates the concept of projection unambiguously):
|
Notes:
|
|
|
Examples:
|
|