Question

In: Computer Science

University ITS maintains a database about the requests for software that staff members make for their...

University ITS maintains a database about the requests for software that staff members make for their units before each teaching period (e.g. Semester 1, Semester 2). A unit may need several items of software, installed in multiple labs. Labs are housed across the various buildings of the university, with each lab having a unique room number (e.g. Lab 245.3.062 is located in building number 245, name Science & Computing). Each piece of software is requested individually for a lab and is given a request ID so that its progress can be tracked, from initial request, install, testing (both functionality and user acceptance) to final deployment in the lab. Basic information about staff members, buildings, labs, and the software is also kept.

The schema for this database is as follows: (note that primary keys are shown underlined, foreign keys in bold).

BUILDING (BuildingNo, BuildingName)

LAB (RoomNo, Capacity, BuildingNo)

STAFF (StaffNo, StaffName, Email, Phone)

SOFTWARE( SoftwareName, Version, MediaLocation)

REQUEST (RequestID, StaffNo, SoftwareID, RoomNo, RequestDate, TeachingPeriod, Progress)

Provide relational algebra queries to find the following information NOTE:  You can use the symbols , , *, etc or the words ‘RESTRICT’, PROJECT’, etc as you prefer.  Use nested brackets or intermediate relations, as you prefer.  You do not need to try to make efficient queries – just correct ones.  Where you use a join, you should always show the join condition.  Use the information provided in the question, not a shortcut – for example, if the question refers to the ‘Law’ building, do not use the Law building number ‘465’ in your criteria.

a. List the name and email of all staff.

b. List the room number and capacity of all labs located in the Science & Computing building with a capacity of over 30.

c. List the names and versions of all the software requested for the labs in Science & Computing in Semester 2.

d. List all the labs (room number) where Microsoft Visio is NOT requested for Semester 2.

e. List the software name, version, room number, building name and staff name of all software requests logged for semester 2.

f. List of emails of all staff who have NOT submitted any software requests for Semester 2.

g. List the names of software requested for labs in the Law building, requested by staff member S2019876, or both.

h. List all the requests (RequestID, StaffNo, RoomNo) for Oracle SQL Developer that have progressed to ‘user acceptance testing’ or ‘deployed’.

i. List the labs whose progress status is listed as ‘deployed’ for ALL software requests to that lab.

j. List all the labs in the Law building, and the names of software requested for each of them (if any).

Solutions

Expert Solution


Related Solutions

You have been given the following specifications for a simple database about the requests for software...
You have been given the following specifications for a simple database about the requests for software that staff members make for their units (note that primary keys are shown underlined, foreign keys in bold). You should run your SQL to demonstrate that it works correctly, and paste in the statements used plus the output from Oracle. LAB (RoomNo, Capacity) SOFTWARE (SoftwareID, SoftwareName, Version) REQUEST (SoftwareID, RoomNo, RequestDate, TeachingPeriod, Progress) Based on the table specifications provided, answer the following questions. Each...
A university department is deciding which of the research proposals to support. Eight members of staff...
A university department is deciding which of the research proposals to support. Eight members of staff were asked to read the proposals and to award each of them a mark out of 100. Following are the marks awarded to the proposals. Staff Proposal 1 Proposal 2 1 53 75 2 46 67 3 60 69 4 53 51 5 66 76 6 59 59 7 52 65 8 67 68 Determine a 95% confidence interval for the difference in the...
A university provides an opportunity for members to take part in training about how to respond...
A university provides an opportunity for members to take part in training about how to respond to students’ questions. University managers believes that less than 60% of the members took part in the training. You are asked to examine whether there is any evidence to support this claim. You have surveyed 25 members and found that 17 of them have been benefited from the training. Write down the null and alternative hypotheses in words. Null hypothesis: Alterative hypothesis: State the...
Recently you have been approached by several staff members who have expressed concerns about one of...
Recently you have been approached by several staff members who have expressed concerns about one of the wound center physicians. The medical assistant mentioned that several patients have complained to her that the physican seems in a hurry and does not listen to their concerns. One of your nurses also stated that several of the patients have complained of increased pain after treatment and that their wounds appear worsened. Your clinical nurse leader has expressed that the physician is not...
what information must the leader declineate or make available to staff about the organization and organizational...
what information must the leader declineate or make available to staff about the organization and organizational decisions as afirst step in engaging with them in both responding to the organization and advancing both personal and organizational agendas?
Software quality is not only about the correctiveness of codes (i.e. to make the program work)....
Software quality is not only about the correctiveness of codes (i.e. to make the program work). Provide at least two different aspects of software quality other than coding. Then tell what you have done to improve software quality in your group project.
1. Walden University claims that its faculty members spend 11.0 hours in the classroom teaching per...
1. Walden University claims that its faculty members spend 11.0 hours in the classroom teaching per week on average. You work for a student newspaper and are asked to test this claim at the 0.10 level of significance. Assume that average classroom teaching time per week has a fairly Normal distribution. A sample of classroom hours for randomly selected faculty members is: 11.8 8.6 12.6 7.9 6.4 10.4 13.6 9.1 a. What are the null and alternative hypotheses? b. Find...
A certain business keeps a database of information about its customers. A. Let C be the...
A certain business keeps a database of information about its customers. A. Let C be the rule which assigns to each customer shown in the table his or her home phone number. Is C a function? Explain your reasoning.
Manufacturing is thinking about expanding its facilities and its finance staff has obtained the following information:...
Manufacturing is thinking about expanding its facilities and its finance staff has obtained the following information: The expansion will require the company to purchase today (t = 0) $5million of equipment.  The equipment will be depreciated over the following four years at the following rates: .33, .45, .15 and .07 in years 1,2,3,4, respectively. The expansion will require the company to increase its net operating working capital by $500,000 today (t=0).  This net operating working capital will be recovered at the end...
Make an essay about corruption and its relation with ethics and value.
Make an essay about corruption and its relation with ethics and value.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT