Write sql statements to calculate average salary

Assignment Help Database Management System
Reference no: EM1361278

Write SQL queries using the SQL SELECT statement.

Select all data from both tables before you perform the following:
o Increase all employees' salaries with the selected EEO-1 classification by 10 percent.
o Increase all employees' salaries by 5 percent.
o Choose an employee from the Employee table and delete that employee.

• Print out the SQL statements and data from both tables to show how data was affected. Be prepared to demonstrate your results in class.

Write SQL statements that do the following:

o Calculate the average salary for all employees.
o Calculate the maximum salaries for exempt and non-exempt employees.
o Calculate the maximum salary for all employees.
o Calculate the minimum salaries for exempt and non-exempt employees.
o Calculate the minimum salary for all employees.

Reference no: EM1361278

Questions Cloud

Explain and develop a partial risk and mitigation plan : Explain and Develop a partial risk and mitigation plan for three different risks that could be affiliated with a construction project to add a new facility on a college campus
Design program that asks user to enter amount in python : IN Python Design a program that asks the user to enter the amount that he or she has budget in a month. A loop should then prompt the user to enter his or her expenses for the month.
Calculate total and annual cost : An oil firm arranged a $10,000,000 revolving credit agreement with a group of small banks. The company paid an yearly commitment fee of one-half of one percent of the unused balance of loan commitment.
What is a healthy body weight : What is a healthy body weight? How is fat burned? if I am a 24 year old man 6ft tall,177lb and wonts to weigh 165 in 40 days what is the best way to do that?
Write sql statements to calculate average salary : Write SQL statements that do the following: Calculate the average salary for all employees. Calculate the maximum salaries for exempt and non-exempt employees.
Health problem by general public : Why do you think obesity is such a major problem in the United States? And why do you think it is still viewed more as a cosmetic rather than a health problem by the general public?
Determine the reduction in inventory : A corporation with sales of $500,00 has average inventory of $200,000. The Company average for inventory turnover is four times a year.
Why diet plans fail : Why do you think so many diet plans fail? What type of diet plan would you use, if you were required to lose twenty pounds?
Effective annual rate of stretching accounts payable : C++ Notes is booming, and it requires to raise more capital. The corporation purchases supplies from a single supplier on terms of 1/10, net 20 days, and it currently takes the discount.

Reviews

Write a Review

Database Management System Questions & Answers

  Create a report which identifies five most expensive bicycle

Create a report which identifies five most expensive bicycles. The report must list bicycles in descending order from most expensive to lease expensive, the quantity on hand for each, and the markup percentage for each.

  Write query to perform inner join of grade and student

Write a query that performs an inner join of the grade, student, and grade_type tables using ANSI SQL 99 syntax (JOIN ON).

  Evaluate the success wellco and pharmacare shareholders

Evaluate the success WellCo and PharmaCARE shareholders

  Creating erd containing order and customer entity

Create ERD containing Order and Customer entity types connected by 1-M relationship from Customer to Order. Select suiatble relationship name using your common knowledge of intersection.

  Explain the datawarehouse and data mining concepts

There are six major types of information systems which organisations use in their operations. Discuss how these information systems support managers in their decision making role Explain the datawarehouse and data mining concepts using appropria..

  Knowledge and data warehousing

Knowledge and Data Warehousing

  Write select statement that returns two columns

Write a SELECT statement that returns two columns: VendorName and PaymentSum, where PaymentSum is the sum of the PaymentTotal column.

  Write select statement that returns three columns

Write a SELECT statement that returns three columns: InvoiceTotal From the Invoices table, 10% 10% of the value of InvoiceTotal.

  Produce different final database state than using trigger

Assume that relation Employee has no tuples in it initially. You are to show the simplest example you can think of where using trigger T1 will produce a different final database state than using trigger T2.

  Determine columns that make up the primary key

Carry out the following tasks below by using the correct SQL statements. Create the statements in Oracle by using the following steps (SQL > SQL commands > Enter Command). Determine the columns that make up the primary key of the l_lunch_items tabl..

  Pharmacy designating database

Pharmacy systems today are more efficient and user friendly when compared to the systems 20 years ago.

  Draw an entity relationship diagram for the system

Draw an Entity Relationship diagram for the system and Identify the table design for the database displaying all the fields/attributes. Ensure that all tables are in 3NF. You also need to identify the primary keys and foreign keys, where applicable..

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd