Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

relational algebra questions: Using the supplier-part database provided below, answer each of the following relational algebra questions. (Note: Does not require the use of SQL

relational algebra questions: Using the supplier-part database provided below, answer each of the following relational algebra questions. (Note: Does not require the use of SQL or any database software. The results must be manually generated.)

please show work to help me understand

1. Show the result of a project operation that lists the SNO, SNAME, and STATUS attributes of all suppliers (S table).

2. Show the result of a restrict operation that lists the suppliers (S table) in Paris and Athens.

3. Show the result of project and restriction operations that list the SNO, SNAME, and STATUS attributes of the suppliers (S table) in London and Athens.

4. Show the result of a natural join that combines the suppliers (S table) and supplier-part data (SP table).

5. Show the result of a natural join and restriction operations that combine the suppliers (S table) in Paris and supplier-part data (SP table).

S Table (for Suppliers) ======================= SNO SNAME STATUS CITY ======================= S1 Smith 20 London S2 Jones 10 Paris S3 Blake 30 Paris S4 Clark 20 London S5 Adams 30 Athens ======================= P Table (for Parts) ============================= PNO PNAME COLOR WEIGHT CITY ============================= P1 Nut Red 12 London P2 Bolt Green 17 Paris P3 Screw Blue 17 Rome P4 Screw Red 14 London P5 Cam Blue 12 Paris P6 Cog Red 19 London ============================= SP Table =========== SNO PNO QTY =========== S1 P1 300 S1 P2 200 S1 P3 400 S1 P4 200 S1 P5 100 S1 P6 100 S2 P1 300 S2 P2 400 S3 P2 200 S4 P2 200 S4 P4 300 S4 P5 400 =========== info: (QTY stands for quantity.) SP table shows which supplier (SNO) supplied how many units (QTY) of which part (PNO). 
More similar questions need help: 

https://www.chegg.com/homework-help/questions-and-answers/relational-algebra-questions-using-supplier-part-database-provided-answer-following-relati-q22449509

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

Database Security

Authors: Alfred Basta, Melissa Zgola

1st Edition

1435453905, 978-1435453906

More Books

Students also viewed these Databases questions

Question

1. What is meant by Latitudes? 2. What is cartography ?

Answered: 1 week ago

Question

What is order of reaction? Explain with example?

Answered: 1 week ago

Question

LO2 Discuss important legal areas regarding safety and health.

Answered: 1 week ago