Provide an expression in relational algebra

Assignment Help Database Management System
Reference no: EM1367127

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: EM1367127

Questions Cloud

Write set of relational schemas-identify primary-foreign key : Sketch an E-R diagram which reflects the above reuirements. Write a set of relational schemas and identify primary and foreign keys. Try not to include redundant schemas.
Buying imports versus buying domestic products : Determine the advantages or disadvantages of buying imports versus buying domestic products in relation to fashion industry.
Jcaho requirements for documenting : You frequently hear references to JCAHO requirements for documenting a patient's pain assessment and treatment, documenting medication administration, or documenting verbal telephone orders.
Calculate the forward discount : Calculate the forward discount or Premium for the Mexican peso whose 90-day forward rate is $.102 and spot rate is $.10. State whether your answer is a discount or premium.
Provide an expression in relational algebra : Provide expression in relational algebra for each of the following queries: Give all the managers in database a 10 percent salary raise. Give all the other employees a 5 percent salary raise.
Decision to investigate a variance : The decision to investigate a variance requires a comparison of expected benefits with expected costs. Suppose an unfavorable variance of $1,000 is observed.
Supply-demand-equilibrium quantity and price : Find out the quantity demanded, the quantity supplied, and the magnitude of the shortage if a price ceiling of $30 is imposed in this market. Also determine the full economic price paid by consumers.
Explain ping sweeps and port scans : Your boss has just heard about some nefarious computer activities known as ping sweeps and port scans. He wishesto know more about them and what the impact of these activities might be on company.
Estimating consumer surplus : The demand curve for the product X is given by Qdx = 460 - 4Px. How much consumer surplus do consumers receive when Px = $35?

Reviews

Write a Review

Database Management System Questions & Answers

  Knowledge and data warehousing

Design a dimensional model for analysing Purchases for Adventure Works Cycles and implement it as cubes using SQL Server Analysis Services. The AdventureWorks OLTP sample database is the data source for you BI analysis.

  Design a database schema

Design a Database schema

  Entity-relationship diagram

Create an entity-relationship diagram and design accompanying table layout using sound relational modeling practices and concepts.

  Implement a database of courses and students for a school

Implement a database of courses and students for a school.

  Prepare the e-r diagram for the movie database

Energy in the home, personal energy use and home energy efficiency and Efficient use of ‘waste' heat and renewable heat sources

  Design relation schemas for the entire database

Design relation schemas for the entire database.

  Prepare the relational schema for database

Prepare the relational schema for database

  Data modeling and normalization

Data Modeling and Normalization

  Use cases perform a requirements analysis for the case study

Use Cases Perform a requirements analysis for the Case Study

  Knowledge and data warehousing

Knowledge and Data Warehousing

  Stack and queue data structure

Identify and explain the differences between a stack and a queue data structure

  Practice on topic of normalization

Practice on topic of Normalization

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