Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Database Application Development And Design

Authors: Michael V. Mannino

1st Edition

0072463678, 978-0072463675

Students also viewed these Databases questions

Question

Give me an example of business idea with it\'s feasibility study.

Answered: 1 week ago