List the name of any part that was not used on a project that commenced in 2020. List the name of any part that has been supplied to all projects that commenced in 2020.

Oracle 12c: SQL
3rd Edition
ISBN:9781305251038
Author:Joan Casteel
Publisher:Joan Casteel
Chapter1: Overview Of Database Concepts
Section: Chapter Questions
Problem 5HOA: Access path A database table is composed of records and fields hold data. Data is stored in records....
icon
Related questions
Question

//Need typed version please

You are working with a database that stores information about suppliers, parts and projects. The Supply relation records instances of a Supplier supplying a Part for a Project.

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

SUPPLIER (SNo, SupplierName, City)

PART (PNo, PartName, Weight)

PROJECT (JobNo, JobName, StartYear, Country)

SUPPLY (SNoPNoJobNo, Quantity)

Provide relational algebra (NOT SQL) queries to find the following information.

NOTE:

  • You can use the symbols s, P, etc or the words ‘PROJECT’, ‘RESTRICT’ etc . 
  • do not need to try to make efficient queries – just correct ones.
  • Where you use a join, always show the join condition.

 

  1. List the name of any part that was not used on a project that commenced in 2020.
  2. List the name of any part that has been supplied to all projects that commenced in 2020.
 
 
Expert Solution
trending now

Trending now

This is a popular solution!

steps

Step by step

Solved in 2 steps with 2 images

Blurred answer
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
Oracle 12c: SQL
Oracle 12c: SQL
Computer Science
ISBN:
9781305251038
Author:
Joan Casteel
Publisher:
Cengage Learning