Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Exercise 3 (Relational Algebra) (22 points] Consider the following relations. The primary keys are underlined. All attributes are of type string if not indicated otherwise.

image text in transcribed
Exercise 3 (Relational Algebra) (22 points] Consider the following relations. The primary keys are underlined. All attributes are of type string if not indicated otherwise. Suppliers (SID, sname, address) Parts (pID, pname, color) Catalog (sID, PID, cost: integer) 1. [6 points) Find the names of the most expensive parts supplied by supplier named 'NESCS'. 2. [4 points) Find the names of the parts supplied by at least two different suppliers 3. [4 points) Find the ids of suppliers who supply every red part or supply every green part. 4. [4 points) Find pairs of supplier ids such that the supplier with the first sID charges more for the same part than the supplier with the second sID. 5. [4 points) Find the names of suppliers who supply only red parts

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

Case Studies In Business Data Bases

Authors: James Bradley

1st Edition

0030141346, 978-0030141348

More Books

Students also viewed these Databases questions