Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

A You are approached by a super market owner who sells grocery, counter top medications, cosmetics , and stationary He has outlets in various prime

A You are approached by a super market owner who sells grocery, counter top medications, cosmetics, and stationary He has outlets 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 ans responsible for identifying the various tables required by the super market chain. In this regard, help him to upgrade his databases by doing the following tasks.
a. Identify the entities, attributes, relationship, and give the relational schema required for the database.
. Write create statements to create the required tables. 2 marks
-
Write query to get the details of the product sold for more than Rs.10000 from his various branches from the sales data. 2 marks
Write the relational algebra expression for the SQL query. 2 marks
Draw the Query tree for the relational algebra expression and calculate the cost assuming the number Calculate of tuples in each table. 2 marks
2 marks

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

Beginning ASP.NET 4.5 Databases

Authors: Sandeep Chanda, Damien Foggon

3rd Edition

1430243805, 978-1430243809

More Books

Students also viewed these Databases questions

Question

=+1. How will you measure awareness objectives?

Answered: 1 week ago

Question

=+2. How will you measure acceptance objectives?

Answered: 1 week ago

Question

What distinguishes craft and industrial unions from each other?

Answered: 1 week ago