Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Question No: 0 3 This is a subjective question, hence you have to write your answer in the Text - Field given below. Consider the

Question No: 03
This is a subjective question, hence you have to write your answer in the Text-Field given below.
Consider the following relations that have Suppliers information, Product information, and a Catalog that includes products from many suppliers: Supplier (Sid, Sname, Address)
Product (Pid, Pname, Color)
Catalog (Sid, Pid, Price)
Write the following queries in SQL
[1+1+1+2 marks ]
a. List names of products that have price of 100.
b. Find Sids of Suppliers who supply some red or green product.
c. List names of Products along with minimum price at which they can be obtained from the Catalog
d. List names of Suppliers who supply every Product with blue color.
image text in transcribed

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

More Books

Students also viewed these Databases questions

Question

what are the provisions in the absence of Partnership Deed?

Answered: 1 week ago

Question

1. What is called precipitation?

Answered: 1 week ago

Question

1.what is dew ?

Answered: 1 week ago