• From the employee database below give the answers for all following questions: Employee(person_name, street, city) Works(person_name, company_name, salary) Company(company_name, city) Employ database 1. Find the ID and name of each employee who does not work for "BigBank". 2. Find the ID, name, and city of residence of each employee who works for "BigBank". 3. Find the ID, name, street address, and city of residence of each employee who works for "BigBank" and earns more than $10000.

Oracle 12c: SQL
3rd Edition
ISBN:9781305251038
Author:Joan Casteel
Publisher:Joan Casteel
Chapter9: Joining Data From Multiple Tables
Section: Chapter Questions
Problem 10HOA: An EMPLOYEES table was added to the JustLee Books database to track employee information. Display a...
icon
Related questions
Question
• From the employee database below give the answers for all following questions:
Employee(person_name, street, city)
Works(person_name, company_name, salary)
Company(company_name, city)
Employ database
1. Find the ID and name of each employee who does not work for "BigBank".
2. Find the ID, name, and city of residence of each employee who works for "BigBank".
3. Find the ID, name, street address, and city of residence of each employee who works for
"BigBank" and earns more than $10000.
4. Find the ID and name of each employee in this database who lives in the same city as the
company for which she or he works.
5. Find the ID and name of each employee who earns at least as much as every employee in the
database.
Transcribed Image Text:• From the employee database below give the answers for all following questions: Employee(person_name, street, city) Works(person_name, company_name, salary) Company(company_name, city) Employ database 1. Find the ID and name of each employee who does not work for "BigBank". 2. Find the ID, name, and city of residence of each employee who works for "BigBank". 3. Find the ID, name, street address, and city of residence of each employee who works for "BigBank" and earns more than $10000. 4. Find the ID and name of each employee in this database who lives in the same city as the company for which she or he works. 5. Find the ID and name of each employee who earns at least as much as every employee in the database.
Expert Solution
trending now

Trending now

This is a popular solution!

steps

Step by step

Solved in 2 steps

Blurred answer
Knowledge Booster
Database Development
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Recommended textbooks for you
Oracle 12c: SQL
Oracle 12c: SQL
Computer Science
ISBN:
9781305251038
Author:
Joan Casteel
Publisher:
Cengage Learning
Database Systems: Design, Implementation, & Manag…
Database Systems: Design, Implementation, & Manag…
Computer Science
ISBN:
9781285196145
Author:
Steven, Steven Morris, Carlos Coronel, Carlos, Coronel, Carlos; Morris, Carlos Coronel and Steven Morris, Carlos Coronel; Steven Morris, Steven Morris; Carlos Coronel
Publisher:
Cengage Learning
Database Systems: Design, Implementation, & Manag…
Database Systems: Design, Implementation, & Manag…
Computer Science
ISBN:
9781305627482
Author:
Carlos Coronel, Steven Morris
Publisher:
Cengage Learning
Np Ms Office 365/Excel 2016 I Ntermed
Np Ms Office 365/Excel 2016 I Ntermed
Computer Science
ISBN:
9781337508841
Author:
Carey
Publisher:
Cengage
A Guide to SQL
A Guide to SQL
Computer Science
ISBN:
9781111527273
Author:
Philip J. Pratt
Publisher:
Course Technology Ptr