Question
Given the following schema where primary keys are underlined and foreign keys are marked with #, express in Relational Algebra the queries below: Employee (employeeNo,
Given the following schema where primary keys are underlined and foreign keys are marked with #, express in Relational Algebra the queries below: Employee (employeeNo, empName, jobTitle) Project (projectID, projectName, sponsor, startYear, endYear) WorkedOn (#employeeNo, #projectID, year, month, noHours) a) List the Ids and names of projects, which are sponsored by "Petrofac" and finished before 2021. [1 mark] b) List the numbers of employees (employeeNo) who worked on projects in 2020. [1 mark] c) List the name of the projects on which employees spent more than 500 hours. [1 mark]
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started