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

  Explaining content of document in natural language

Explain the content of this document in natural language;Design the graph representation of document;

  Various kinds of keys to form or define relationships

Relational database is based on fact that data in one table can be tied, or related to data in another table. To do this, database utilizes various types of keys to form or define these relationships.

  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..

  Write name of employee on every project located in houston

Write the name(s) of employee(s) who works(work) on every project located in Houston. Write the name(s) of employee(s) who only works(work) on every project located in 'Houston.'

  Method to change column name

Hhow can you change column name or what is a different way to write statement in SQL so it displays the amount column as money.

  Database to keeps track of students in university

University XYZ needs a database that keeps track of students, what classes they taken and the grades for each of the classes.

  Perform large number of client-server requests into database

A small business with 100 computer workstations is installing a new local area network. All of the users perform the usual operations of e-mail. State your reasoning. Draw a floor plan for each If possible, show both floor plans on one page.

  Role and tasks performed by database administrator

In 250 - 300 words describe role of a database administrator and the tasks performed by this role. Also, describe why this role is important in Database Management.

  Gathering information using cross indexed

Using data mining, it is possible to gather information which has been buried that can be manipulated and cross indexed which could be a valuable information gathering technique for entities.

  Advantages and inconveniences of new relational scheme

Compare activity (quite theoretical) of the disk (in number of bytes) required for each of both relational. Write down the advantages and inconveniences of new relational scheme.

  Translation from erd to the relational model

Complete (i.e., reverse engineering) ER diagram below such that 4 relation schemas above are exactly result of a translation from the ERD to the relational model.

  Explaining uses for views

Views are integral part of virtual private databases, yet views are utilized for many other reasons. Find out many other uses for views.

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