Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

RELATIONAL ALGEBRA Consider the following relational schema: Supplier(supplierID, sname, address) Part(partID, pname, colour) Catalog(supplierID, partID, cost) The relation Supplier stores suppliers and the key

 

RELATIONAL ALGEBRA Consider the following relational schema: Supplier(supplierID, sname, address) Part(partID, pname, colour) Catalog(supplierID, partID, cost) The relation Supplier stores suppliers and the key of that relation is supplier ID. The relation Part stores parts, and partID is the key of that relation. Finally, Catalog stores which supplier supplies which part at which cost. The key is the combination of the two attributes supplierID and partID. Required For each of the following relational algebra queries, say in English what they mean (2+2+2 marks) i) snam(supplierID(ocolour='red' (Part) > ocost Supplier) ) snam (supplierID, sname (ocolour='red' (Part) > ocost cost < 100 (Catalog) Supplier)) iii) supplierID(Supplier) \supplierID (Catalog > colour!='red' (Part)). 7 A B I

Step by Step Solution

There are 3 Steps involved in it

Step: 1

i The query nsnamesupplierID ocolourred Part cost 100 Catalog Supplier can be interpreted as follows Retrieve the supplierID and sname supplier name f... 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

Data Modeling and Database Design

Authors: Narayan S. Umanath, Richard W. Scammel

2nd edition

1285085256, 978-1285085258

More Books

Students also viewed these Databases questions