1,332 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)

 a. Find the names of all employees who work for First Bank Corporation.

 b. Find the names and cities of residence of all employees who work for First Bank Corporation.

 c. Find the names, street address, and cities of residence of all employees who work for First Bank Corporation and earn more than $10,000 per annum.

 d. Find the names of all employees in this database who live in the same city as the company for which they work.

 e. Find the names of all employees who live in the same city and on the same street as do their managers.

f. Find the names of all employees in this database who do not work for First Bank Corporation. g. Find the names of all employees who earn more than every employee of Small Bank Corporation.

Please log in or register to answer this question.

Related questions

0 votes
0 votes
1 answer
3
radha gogia asked Mar 7, 2016
713 views
How many key comparisons are there , what is the lower bound and upper bound ? For calculating the lower bound , should we consider the case when the keys are all in non-...