Relational Algebra · Databases
31 questions · asked in 19 of 27 years (2000–2026)
MCQ 27 · MSQ 1 · NAT 31-mark 17 · 2-mark 14
2000Questions per year2026
Questions 31–31 of 31
Given the relations
employee (name, salary, dept-no), and
department (dept-no, dept-name,address),
Which of the following queries cannot be expressed using the basic relational algebra operations ?
employee (name, salary, dept-no), and
department (dept-no, dept-name,address),
Which of the following queries cannot be expressed using the basic relational algebra operations ?
Answer: (C)
Basic relational algebra has select, project, product, join and set operations. It has no aggregation, so it cannot add up salaries. The other queries only need joins and selections.
Answer: The sum of all employees' salaries
Answer: The sum of all employees' salaries
Keep practising
Topics in Databases
ER ModelRelational Schema
Relational AlgebraYou are here
Tuple CalculusSQLIntegrity ConstraintsNormal FormFile SystemTransaction