0

Can i write aggregate function in select predicate in relational algebra? I am trying to find the maximum salary in the table Employee(name,salary)

I am doing this to get max salary.

σₛₐₗₐᵣᵧ=Gₘₐₓ₍ₛₐₗₐᵣᵧ₎(Employee)

IS this allowed? Can i have aggregate function in selection predicate?

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.