Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Emphasis Heading 1 Normal Subtitle Title Na Spacing HE REGIONS REGION ID REGION_NAME DEPARTMENTS DEPARTMENT ID DEPARTMENT NAME MANAGER_ID LOCATION_ID EMPLOYEES COUNTRIES JOBS COUNTRY ID

image text in transcribed
image text in transcribed
Emphasis Heading 1 Normal Subtitle Title Na Spacing HE REGIONS REGION ID REGION_NAME DEPARTMENTS DEPARTMENT ID DEPARTMENT NAME MANAGER_ID LOCATION_ID EMPLOYEES COUNTRIES JOBS COUNTRY ID COUNTRY NAME REGION O JOB_ID JOB_TITLE MIN SALARY MAX_SALARY EMPLOYEE 10 FIRST_NAME LAST NAME EMAIL PHONE NUMBER HIRE DATE JOB_ID SALARY COMMISSION_PCT MANAGER_ID DEPARTMENT_O LOCATIONS JOB HISTORY LOCATION D STREET_ADDRESS POSTAL_CODE CITY STATE_PROVINCE -COUNTRY_ID EMPLOYEE 10 START-DATE END DATE JOB D DEPARTMENT_ID 3.a Write an SQL statement that will display Employee ID, Fullname, Hire date and Salary of all employees working for more than 10 years and cated in United States of America. Display the output in descending order based on salary. (5 Marks) 3.b Write an SQL statement that will display number of employees per department name whose salary is greater than the average salary of employee working in Purchasing Department. (5 Marks) 3. Write an SQL statement that will display Employee id, lastname, current salary and the new salary by adding 10% of the current salary of all employees working in Accounting Department and include to display the amount of increase in salary. (5 Marks) States) Focus

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

Intelligent Databases Technologies And Applications

Authors: Zongmin Ma

1st Edition

1599041219, 978-1599041216

More Books

Students also viewed these Databases questions

Question

How does management accounting differ from financial accounting?

Answered: 1 week ago

Question

1. How did you go about making your selection?

Answered: 1 week ago

Question

Explain the factors influencing wage and salary administration.

Answered: 1 week ago

Question

Examine various types of executive compensation plans.

Answered: 1 week ago

Question

1. What is the meaning and definition of banks ?

Answered: 1 week ago

Question

Recommend the key methods to improve service productivity.

Answered: 1 week ago