Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Schema: Lives(person_name, street, city) Works(person_name, company_name, salary) Located_in(company_name, city) Manages(person_name, manager_name) (a) Find the name of all employees who work for BofA (b) Find the

Schema:
Lives(person_name, street, city) Works(person_name, company_name, salary) Located_in(company_name, city) Manages(person_name, manager_name)
(a) Find the name of all employees who work for BofA
(b) Find the name and city of all employees who work for BofA
(c) Find the name, street, and city of all employees who work for BofA and earn more than $40,000.
(d) Find all employees who live in the same city as the company they work for.
(e) Find all employees who live in the same city and on the same street as their manager. (f) Find all employees who do not work for BofA
(g) Find all employees who earn more than every employee of Citicorp.
(h) Assume the companies may be located in several cities. Find all companies located in every city in which BofA is located.

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Fundamentals Of Database Systems

Authors: Ramez Elmasri, Shamkant B. Navathe

7th Edition Global Edition

ISBN: 1292097612, 978-1292097619

More Books

Students also viewed these Databases questions

Question

How can the Internet be helpful in a job search? (Objective 2)

Answered: 1 week ago