Consider the following schema: Suppliers (sid, sname, city) Parts (pid, pname, color) Catalog (sid, pid, price) Write relational algebra expressions for the following queries: a. Find the sids of suppliers and names who are located in Riyadh. b. Find the name of suppliers who are located in Riyadh and Jeddah. c. Find the names of supplier who supply part name “fog light”. d. Find the sids of suppliers who supply every part.

Database Systems: Design, Implementation, & Management
12th Edition
ISBN:9781305627482
Author:Carlos Coronel, Steven Morris
Publisher:Carlos Coronel, Steven Morris
Chapter8: Advanced Sql
Section: Chapter Questions
Problem 18RQ
icon
Related questions
Question
Consider the following schema: Suppliers (sid, sname, city) Parts (pid, pname, color) Catalog (sid, pid, price) Write relational algebra expressions for the following queries: a. Find the sids of suppliers and names who are located in Riyadh. b. Find the name of suppliers who are located in Riyadh and Jeddah. c. Find the names of supplier who supply part name “fog light”. d. Find the sids of suppliers who supply every part.
Expert Solution
steps

Step by step

Solved in 2 steps with 4 images

Blurred answer
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
Database Systems: Design, Implementation, & Manag…
Database Systems: Design, Implementation, & Manag…
Computer Science
ISBN:
9781305627482
Author:
Carlos Coronel, Steven Morris
Publisher:
Cengage Learning
Database Systems: Design, Implementation, & Manag…
Database Systems: Design, Implementation, & Manag…
Computer Science
ISBN:
9781285196145
Author:
Steven, Steven Morris, Carlos Coronel, Carlos, Coronel, Carlos; Morris, Carlos Coronel and Steven Morris, Carlos Coronel; Steven Morris, Steven Morris; Carlos Coronel
Publisher:
Cengage Learning