393 views
0 votes
0 votes
give domain relation calculus expression

works(person-name, company-name, salary)

find the names of all employees who earn more than every employee of Small Bank Corporation

1 Answer

0 votes
0 votes
r1 <-----person-name (works) -

r2 <---- (Πworks.person-name (works) Narural Join
(works.salary ≤works2.salary ∧ works2.company-name = “Small Bank Corporation”)
ρworks2(works)))

r1-r2

Related questions

0 votes
0 votes
0 answers
1
0 votes
0 votes
1 answer
2
0 votes
0 votes
0 answers
3