Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Q1. Using hr schema, write a query to display first name, last name, department name, city of the department and the street address for each

image text in transcribed

Q1. Using hr schema, write a query to display first name, last name, department name, city of the department and the street address for each employee who earns more than 10000$ per month. (1.5) Q2. Write a query to display employee's name, his salary, the difference between his salary and the lowest salary for his job, and the difference between his salary and the highest salary in his job. (1.5) Q3. Write a query to display each street address with and the name of the departments exist in it. Exclude departments 100, 80, 50 and 30 from the summations. (2)

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

Relational Database And SQL

Authors: Lucy Scott

3rd Edition

1087899699, 978-1087899695

More Books

Students also viewed these Databases questions

Question

What is Aufbau's rule explain with example?

Answered: 1 week ago