Question: Write the following queries in Relational Algebra. Question 2 (20 points) Consider the following three relational schemas: Supplier (sid, sname, address) Catalog (sid, pid, count)

Write the following queries in Relational Algebra.

Write the following queries in Relational Algebra. Question 2 (20 points) Consider

Question 2 (20 points) Consider the following three relational schemas: Supplier (sid, sname, address) Catalog (sid, pid, count) Product (pid, pname, price) - sid is the key for Supplier " pid is the key for Part sid and pid together form the key for Catalog. Catalog.sid refers to Supplier.sid and Catalog.pid refers to Product.pid Write the following queries in Relational Algebra. 1) Find the names of suppliers who supply a product which price is greater than $100 2) Find the names of products supplied by at least one supplier 3) Find the sids of suppliers who do not supply "laptop" 4) Find the sids of supplier who supply both "laptop" and "desktop". 5) Find the pids of products supplied by all suppliers

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!