TASK 1: Suppliers Using domain and tuple relational calculus, find: 1. Find the sids of suppliers who supply some red or green part. 2. Find the sids of suppliers who supply some red part or are at „Koprska cesta 25". 3. Find the sids of suppliers who supply every part. 4. Find the sids of suppliers who supply every red part. 5. Find the sids of suppliers who supply every red or green part. 6. Find the pids of parts supplied by at least two different suppliers. Relation Relational schema Suppliers SUPPLIERS(sid, sname, address) Parts PARTS(pid, pname, color) Catalog CATALOG(#sid, #pid, cost)

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
TASK 1: Suppliers
Using domain and tuple relational calculus, find:
1. Find the sids of suppliers who supply some red or green part.
2. Find the sids of suppliers who supply some red part or are at „Koprska cesta 25".
3. Find the sids of suppliers who supply every part.
4. Find the sids of suppliers who supply every red part.
5. Find the sids of suppliers who supply every red or green part.
6. Find the pids of parts supplied by at least two different suppliers.
Relation
Relational schema
Suppliers
SUPPLIERS(sid, sname, address)
Parts
PARTS(pid, pname, color)
Catalog
CATALOG(#sid, #pid, cost)
Transcribed Image Text:TASK 1: Suppliers Using domain and tuple relational calculus, find: 1. Find the sids of suppliers who supply some red or green part. 2. Find the sids of suppliers who supply some red part or are at „Koprska cesta 25". 3. Find the sids of suppliers who supply every part. 4. Find the sids of suppliers who supply every red part. 5. Find the sids of suppliers who supply every red or green part. 6. Find the pids of parts supplied by at least two different suppliers. Relation Relational schema Suppliers SUPPLIERS(sid, sname, address) Parts PARTS(pid, pname, color) Catalog CATALOG(#sid, #pid, cost)
Expert Solution
steps

Step by step

Solved in 2 steps

Blurred answer
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
Np Ms Office 365/Excel 2016 I Ntermed
Np Ms Office 365/Excel 2016 I Ntermed
Computer Science
ISBN:
9781337508841
Author:
Carey
Publisher:
Cengage
A Guide to SQL
A Guide to SQL
Computer Science
ISBN:
9781111527273
Author:
Philip J. Pratt
Publisher:
Course Technology Ptr
Oracle 12c: SQL
Oracle 12c: SQL
Computer Science
ISBN:
9781305251038
Author:
Joan Casteel
Publisher:
Cengage Learning
CMPTR
CMPTR
Computer Science
ISBN:
9781337681872
Author:
PINARD
Publisher:
Cengage