edited by
1,069 views
0 votes
0 votes

employee(person-name,street,city)

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

company(company-name,city)

manages(person-name,manager-name)

 

Find all employees who earn more than every employee of small bank co-operation

edited by

1 Answer

1 votes
1 votes

i am not sure , i just give a try on this :

{ p | (∃q)(∃r) works(p q r) and ( (∀y) (works(x y z )^( y = small bank co-operation)) -> (∃z) (z<r) )}

Related questions

0 votes
0 votes
1 answer
3
Sourabh Kumar asked May 20, 2016
389 views
can anyone provide me best source from where i can learn tuple calculas from starting.thanx in advance
1 votes
1 votes
2 answers
4
aditi19 asked May 8, 2019
1,254 views
Suppliers(sid, sname, address)Parts(pid, pname, color)Catalog(sid, pid, cost)Find the pids of the most expensive parts supplied by suppliers named Yosemite Sham