Relational Algebra & Calculus



Answer & solution
Answer: Literal expression: not well-typed standard relational algebra. Under the separately stated repair: “Ages of the oldest employees.” (no official key was published)
Literal reading first: in standard relational algebra, π takes an attribute list, not a Boolean comparison predicate. The printed subscript E.age<EMP.age therefore does not define an ordinary projection. Simply changing that π into σ is insufficient: it would produce tuples of the two-relation product, which cannot be subtracted from the unary relation π_age(EMP). Set difference requires compatible schemas. Consequently the paper, as read, does not have a defined standard relational-algebra result. No verified original or alternate complete tail is available to establish the missing symbols.
A plausible intended repair is
π_age(EMP) − ρ_age←E.age(π_E.age(σ_E.age<EMP.age(ρ_E(EMP) × EMP))).
Here ρ_E(EMP) is a distinct copy whose attributes are qualified E. The inner selection finds each pair where the copied employee is younger than the other employee. Projecting E.age collects ages that have a strictly greater age somewhere in EMP. The explicit attribute rename makes the right-hand unary age relation union-compatible with the left-hand one. Subtract those nonmaximum ages from all ages and only the maximum age remains.
Under this repair, the requested short English answer is: Ages of the oldest employees. This is five words. For ages {25,40,40}, the Cartesian comparison finds that 25 has an older witness, while 40 does not. Set projection removes duplicate 40s, and the final result is {40}, an age value rather than employee names or employee records. With an empty EMP, the result is empty. Equal ages do not eliminate each other because the comparison is strict.
This maximum-age interpretation is conditional on projecting the younger copy's age. Projecting EMP.age instead would remove ages that have a smaller witness and leave the minimum, a different query. Thus the damaged expression cannot safely be repaired silently. The literal defect and the proposed older-witness interpretation must remain separate until a better source establishes the exact original notation.