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

  Describing the purpose of database an its functionality

Describing the purpose of database an its functionality, plus a detailed E-R diagram.

  An active database in pl-sql

Did the corresponding lines for invoices 1001 and 1008 in table LINE get deleted automatically? Can you explain why?

  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.

  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 queries for the books database

Write SQL queries for the books database that perform each of the following tasks: Select all authors from the Authors table with the columns in the order lastName, firstName and authorID.

  Explain denormalized table in normal form

The DBA denormalized some of the data in the Premiere Products database to improve performance. Which field or fields cause the table to no longer be in third normal form? In which normal form is the denormalized table?

  Determine the names of all tracks from table

All primary keys are underlined. All foreign keys have same name as primary key that they are referencing. Determine the names of all Tracks which are more than 10 minutes (600,000 ms) long.

  Application important part of security model for databases

Using Internet as the research tool for extra information not presented in text, describe why application roles are important part of the security model for databases.

  Create a database from scratch

Create a database from scratch that contains, at a minimum, the elements listed below

  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.

  Description of the relationship represented by scatterplot

Produce a scatterplot of Rent vs. Size (square meters of the apartment) for the rental data in rent.

  Design a set of 3nf tables for database scenario

Draw an ER diagram for your database scenario. Design a set of 3NF tables for your database scenario.

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