Find the names and addresses of employees

Assignment Help Database Management System
Reference no: EM133089340

Question 1: Specify the following queries on the database schema shown in attached Figure using the relational algebra discussed in class. This is not asking you to write SQL queries.

1. Retrieve the names of employees who work on the ‘Newbenefits' project.

2. Find the names of employees that works for ‘Administration' department

3. Retrieve the names of department managers who do not work on any project. (You may assume if Hours in works_on is always positive. An employee does not work on any project if his/her ssn is not in works_on)

4. Find the names and addresses of employees who work on at least one project located in Stafford.

5. List the last names of female employees who have no dependents.

6. Find the average salary of all female employees who works for ‘Administration' department

7. For each department, list the department name and the total number of project controlled by the department.

8. Retrieve the names of employees who work on every project controlled by department 5

9. For each employee, retrieve employee's name, and the total hours working in projects

Attachment:- database schema.rar

Reference no: EM133089340

Questions Cloud

What is the cost of the marginal cash discount : The firm expects that the change in credit terms will result in a minor increase in sales of 10 films per year, What is the cost of the marginal cash discount
Discuss the limitations of management information : Accounting for Management - Discuss the limitations of management information in providing guidance for managerial decision-making
Integrated social media : More and more businesses have integrated social media into every aspect of their communication strategies
Discuss ge management systems and performance : Why was GE considered to be such an exemplary organization? (Discuss GE's management systems and performance.)
Find the names and addresses of employees : Find the names and addresses of employees who work on at least one project located in Stafford and List the last names of female employees who have no dependent
Prepare a material purchases budget in units : Each unit produced requires 1kg of raw material at a cost of $6 per kg. Prepare a Material Purchases Budget in units and dollars
Authentic leadership : Identify elements of authentic leadership. Describe the behavioral elements that one might objectively see in an authentic leader.
Negative organizational performance : How do you think the change process of AMD contributed to negative organizational performance?
Analyze methods to convert resources : Analyze methods to convert resources into goods and services.

Reviews

Write a Review

Database Management System Questions & Answers

  Explain what problems can occur in a distributed database

Explain what problems can occur in a distributed database that is partitioned but not replicated.

  Create a multitier application

Create a multitier application: Use a grid control to display customer information from the Customers table of the Northwind database

  Write the sql statement using the appropriate sql function

Write the SQL statement using the appropriate SQL function, which would return the starting position of the string ‘ere' in the string ‘Are you THERE?'.

  Draw dfd for placing order based on the e-r diagram

Draw a DFD (Context and Level 1) for placing an order based on the E-R diagram shown here.

  Logical entity relationship diagram

How can turn a conceptual entity relationship diagram into a logical entity relationship diagram

  Write a program to sort back into a single file

Write a program to sort these back into a single file. Oh, and we only have a few nanoseconds to do it, so you'd better do it with pthreads!

  Find a spanning tree for the new graph and compute weight

Put a node in the center of the square. Add new arcs from the center to the corners. Find a spanning tree for the new graph, and compute its weight.

  To what extent should you rely on the asn database

The ASN database and Web site were created and are maintained by two individuals. The database might be complete and accurate, or it might not be. To what extent should you rely on these data?

  How organizations can use data warehouses

Discuss how organizations can use data warehouses and data marts to acquire data - discusses the differences between data warehouses and data marts

  The database used for the relational algebra simple one

Relational Algebra- The database used for this question is a very simple one with the following schema: (Primary keys are bold, foreign keys are underlined)

  Describe the different lobs that oracle supports

Describe the different LOBs that Oracle supports. What are they used for? How can they be stored in the database

  Bonds and term structure1 graph the bond yield to maturity

bonds and term structure1. graph the bond yield to maturity ytm on the y-axis of an xy-scatter plot with the bond to

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