Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

You are approached by a mall owner who has outlets selling clothes, sports goods, medications, cosmetics , and stationary. He has branches in various prime

You are approached by a mall owner who has outlets selling clothes, sports goods, medications, cosmetics, and stationary. He has branches in various prime locations in your city. The owner has decided to upgrade his current data base system which stores all the data in a single table. You are responsible for identifying the various tables required by the chain of malls. In this regard, help him to upgrade his database by doing the following tasks.
a.Identify the different tables with their respective attributes and represent it as an E-R diagram. 2 marks
b.Write create statements to create the required tables. 2 marks
c. Write query to get the average number of the product sold from his various branches from the sales data. 2 marks
d.Write the relational algebra expression for the SQL query. 2 marks
e.Draw the Query tree for the relational algebra expression and calculate the cost assuming the number of tuples in each table. 2 marks
PLEASE NO CHAT GPT ANSWERS. Send the answer within 30 mins

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

Data Management Databases And Organizations

Authors: Watson Watson

5th Edition

0471715360, 978-0471715368

More Books

Students also viewed these Databases questions

Question

LO.3 Identify the adjustments made in calculating the AMT.

Answered: 1 week ago

Question

Explain the causes of indiscipline.

Answered: 1 week ago

Question

=+ Does it speak to you in a personal way? Does it solve a problem?

Answered: 1 week ago

Question

=+Part 4 Write one unifying slogan that could work here and abroad.

Answered: 1 week ago