Which of the following algebric operations is used to extract a specific column from a relation?
Which of the following algebric operations is used to extract a specific column from a relation?
Solution
✅ Correct Option: 2
Projection () picks out specific columns (attributes) from a relation and discards the rest, removing duplicate rows from the result. For example, returns only the Name column.
Selection: it picks rows (tuples) that satisfy a condition, not columns.
Memory trick: Selection = Slice rows, Projection = Pick columns.
Related questions:
2026: 24 May Shift 1
Calculate the degree and cardinality of the given relation below:
| ID | Name | Address | Phone No. | |
|---|---|---|---|---|
| 001 | Ajay | [email protected] | A1-Shakti Nagar, Bangalore | 55218936 |
| 002 | Amit | [email protected] | C32- Indira Nagar, Lucknow | 45321789 |
| 003 | Ashu | [email protected] | 117/82 Patel Nagar, Delhi | 98567894 |
| 004 | Ashok | [email protected] | 249-250, Motinagar, Gujrat | 97698541 |
2025: 20 May Shift 1
2025: 3 June Shift 2
2025: 15 May Shift 2