Specify the following views as queries in XQuery on the company XML schema shown in Figure 13.5.
Question:
Specify the following views as queries in XQuery on the company XML schema shown in Figure 13.5.
a. A view that has the department name, manager name, and manager salary for every department
b. A view that has the employee name, supervisor name, and employee salary for each employee who works in the Research department
c. A view that has the project name, controlling department name, number of employees, and total hours worked per week on the project for each project
d. A view that has the project name, controlling department name, number of employees, and total hours worked per week on the project for each project with more than one employee working on it.
Figure 13.5
Step by Step Answer:
Fundamentals Of Database Systems
ISBN: 9780133970777
7th Edition
Authors: Ramez Elmasri, Shamkant Navathe