Question: Given the following two tables where primary keys are underlined and foreign keys are marked with #: Employee (employeeNo, empName, job Title) Project (projectID, projectName,

 Given the following two tables where primary keys are underlined and

Given the following two tables where primary keys are underlined and foreign keys are marked with #: Employee (employeeNo, empName, job Title) Project (projectID, projectName, sponsor, start Year, endYear) WorkedOn (#employeeNo, #projectID, year, month, noHours) a) Express the following queries in Relational Algebra: (1) List names and numbers of employees whose job is entitled "System Analyst". [1 mark] (ii) List all ids of projects that are started in 2015 and sponsored by "Orpic". [1 mark] b) Write the following SQL query in relational algebra:[1 mark] SELECT e.empName, p. projectName FROM Employee e, WorkedOn wo, Project p WHERE e. employeeNo = wo. employeeNo AND P. projectID = wo. projectID

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!