Find maximum salary of employees from database table

Assignment Help Database Management System
Reference no: EM1364466

Q1) person(person name, street, city) // records about all people
works(person name, company name, annual salary) // records about employed people
company(company name, founded) // companies and years when they were founded
company location(company name, city) // companies and cities where they have oces
managed by(person name, manager name) // employed people and their managers

Give an expression in relational algebra for each of the following queries:

(a) Find the maximum salary of all employees who are not managers.

(b) Give all the managers in the database a 10 percent salary raise. Give all the other employees a 5 percent salary raise.

Reference no: EM1364466

Questions Cloud

Analyzing the financial performance : The ratio analysis indicates that ACME has increased their profits and decreased their liabilities from 2003 to 2004. ACME has also increased their ability to cover interest payments and increased their return on assets.
Elucidate the reasoning for your vote based on the four step : Elucidate the reasoning for your vote based on the four steps of risk assessment. Consider any relevant political, social, and economic aspects involved.
Explain how many cars does the united states export : Explain how many cars does the United States export. Suppose a car costs $10,000 on the world market. How much, then, does a barrel of oil cost on the world market.
Access database and queries : What are some of the advantages and the disadvantages of database forms? What is your experience in using Queries? Have you ever read the SQL commands generated by a Query in Access database?
Find maximum salary of employees from database table : Find the maximum salary of all employees who are not managers. Give all the managers in the database a 10 percent salary raise. Give all the other employees a 5 percent salary raise.
Determine the velocity and position of the particle : find the velocity and position of the particle asthe moment it reaches it's maximum x coordinate.
First aid-hypothermia : After several days of bitterly cold weather, you wonder how your elderly neighbor is coping with the cold, so you stop by his house. You have to ring the door several times before he answers, and when you step inside, it feels very cold inside the..
Illustrate what price should it charge : Suppose instead that the station seeks to maximize its profit from sales of the DVDs. Illustrate what price should it charge. How many DVDs should it order from which supplier.
Explain every month sam tabor is assigned : Explain Every month Sam Tabor is assigned a different job at Russo & Daughters Financial Consulting

Reviews

Write a Review

Database Management System Questions & Answers

  Design er schema to keep track of information of votes

Design an er schema for keeping track of information about votes taken in the U.S. House of Representatives during the current two year congressional session.

  Analysis of a simple case study

VSS has an existing software package that controls its high bay systems and wants to rewrite it. The existing system is written in C and uses C-ISAM files to store data.

  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.

  Create a function

Create a function that returns the day of the week for a specified date. Create a trigger that displays the message "Emp table updated" when an update to the employee table increases the employee's basic salary.

  Analyzing hard-to-obtain data from two separate databases

You are interested in analyzing some hard-to-obtain data from two separate databases. Each database contains n numerical values.

  Number of leaf-level blocks needed if blocks are full

What is the order P of the B+-tree if B+-tree access structure on the key is constructed? What is the number of leaf-level blocks needed if blocks are approximately 69% full (round up for convenience)?

  Create an e-r diagram

You have probably seen that already when you tried to create an E-R diagram. Visio uses notation and graphical shapes that are not the same as those in your text. If you look at some of the links to schemas, you will see a similar sort of thing.

  Drawing active directory hierarchy in terms of forests

Draw Active Directory hierarchy in terms of forests, trees, domains, organizational units, and sites which are most suitable for this company and their security concerns.

  Implement a database of courses and students for a school

Implement a database of courses and students for a school.

  Database to keep track of auto sales in car dealership

CAR (Serial-No, ModConsider the given relations for database which keeps track of auto sales in car dealership.

  Patients post cardiac bypass surgery

Monitor Renal Outcomes in patients post cardiac bypass surgery?

  Relational algebra expressions for names of salespeople

Illustrate relational algebra expressions for names of all salespeople, names of all salespeople having ORDER row and names of salespeople not having ORDER row.

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