Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

PARTI. Relational Model Consider the following relational schema: Suppliers (sid: integer, sname:string, saddress:string) Parts (pidinteger,pame:string, pcolor:string, pmaterial:string) Catalog (sid:integer, pid:integer, cost:real, instock:real) Using this schema,

image text in transcribed
PARTI. Relational Model Consider the following relational schema: Suppliers (sid: integer, sname:string, saddress:string) Parts (pidinteger,pame:string, pcolor:string, pmaterial:string) Catalog (sid:integer, pid:integer, cost:real, instock:real) Using this schema, write the query for the following questions: a) Find the names of suppliers who supply some red part or some green part. b) Find the id of all the suppliers who supply a part costing over $20.00 and having over 50 items on stock. c) Find the name of suppliers who supply a plastic part. d) Find the names of all suppliers that do not supply a red or blue part

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

Fundamentals Of Database Systems

Authors: Sham Navathe,Ramez Elmasri

5th Edition

B01FGJTE0Q, 978-0805317558

More Books

Students also viewed these Databases questions

Question

Discuss the six most common reasons firms pursue growth.

Answered: 1 week ago