Ask Question, Ask an Expert


Ask DBMS Expert

Home >> DBMS

Answer all the problems. You might use exs illustrations or diagrams to support the answer. You have to implement database system using any RDBMS.

Departmental store maintains inventory of goods about its sections. Each section could sell a number of items. Item sold by one section might be part of other section also. Departmental store has number of registered buyers. Some of the buyers, though, might not be registered. A buyer purchases one or more items and number of such items. Buyer gets a bill for the purchases s/he made. A buyer could purchase many times in a month. A buyer might buy several times even in a single day. Buyer who had made purchase of more than Rs10,000/- in a month, is given a status of preferred buyer. Preferred buyer is given a discount of 5% on all purchases on all the purchases made in the next month. Store obtains all items from the stockiest. Each item has the item code. All acquisition of items is recorded. Cost price of an item of a different acquisition might be different. Selling price of the item is decided by cost price of that item, handling overheads and profit margin. For all the items the store presently uses them as fixed quantity.
Perform following tasks for the store. Make and state assumptions, if any.

1)   List the entities, their attributes and relationships for the description and make the ER-diagram for the Store. You might use concept of keys, aggregation, generalisation, cardinality etc. in a proper way.                   

2) Design appropriate RDBMS tables for ER-diagram so created in problem 1. Database design must include keys, foreign keys, constraints and referential integrity constraints.   

3) Implement database design which you have created in problem 2 using the RDBMS – our advice is that you select either MySQL or MS ACCESS to do so.       

4) Create following data entry forms with appropriate checks for database so created.

a) Create a form to enter all the information about items being purchased by the buyer on a particular sale.

b) Create the form to register a new buyer.               

5) Enter at least 4 sets of records in each table. Enter marks directly in tables except for the data which could be entered using data entry form created in problem 3.   

6) Create following reports for the database you have created. The reports must have proper headings and page numbers and must include totals, if required.           

a) Create bill of a purchase.

b) Create a price list of items.

c) Create the list of preferred buyers.

d) Create the detailed list of purchases made by a single buyer.       

7) prepare and run the following SQL queries for your database:        

a) Determine the details of the buyers who have made purchases of more than 15,000 in a month..

b) Determine the price of the costliest item and the names of all the buyers who have bought it.

c) Determine the item details of the item that has been sold the most.

d) Determine the difference in number of average buyers on weekends and the number of average buyers on weekdays.

e) Determine the stockiest form whom maximum number of items are acquired.

8) Design two views for database which you have designed and implemented. One view must be for the Manager of the Departmental Store who is interested in knowing about performance (quantity sold) of different items in various sections. The other view is for a buyer who could view his/her purchases made from the stores. Identify on what tables and what fields these two would be allowed to have access. Implement these views or prepare equivalent queries for the view defining expression using SQL.

DBMS, Programming

  • Category:- DBMS
  • Reference No.:- M92324
  • Price:- $70

Priced at Now at $70, Verified Solution

  • AsyU replied

    Honestly good quality of solution, and i would like to thanks for providing me an excellent service.. thank you so much...

Have any Question? 

Related Questions in DBMS

Application creating and populating a databasesuppose you

Application: Creating and Populating a Database Suppose you have a small retail store and decide to create a database to track sales. You have information about recent sales that you want to use for testing the database. ...

In general my report talks about the database management

In general, my report talks about the Database management system. But I want to a specific topics of it in 3 pages. The topics are: 1. Comparison between File approach and Database approach. 2. Advantages and disadvantag ...

Database reflectionuse the attached database and associated

Database Reflection Use the attached database and associated sheets to review and to make sure the forms are working. Review your project; make sure that all the forms are working. Write a one page report on how you coul ...

Part 1identify and explain the default logins or user

Part 1 Identify and explain the default logins or user accounts for one of the database vendors discussed in the chapter. Part 2. Case Project 6-1: Database Password Policies, page 199 Create and document a written passw ...

Coit20247 database design and development assignmentyou

COIT20247 Database Design and Development Assignment You must use that sample solution of assignment only for the following tasks: Assessment task- 1. Normalization a) Map the ERD, from the sample solution, into a set of ...

The following assignment is based on the database

The following assignment is based on the database environment designed in the Week Three Individual Assignment. Your database project must meet the following requirements: • Create a database using professional principle ...

Realtor database data redundancy and anomaliesbullconduct

Realtor Database: Data Redundancy and Anomalies • Conduct an in-depth examination and analysis of the database, Realtor.accdb. Apply the concepts of database systems that you have learned this week. For example, you may ...

Database design and implementationtask 1 - database

Database Design and Implementation Task 1 - Database Design Your first task is to design a database for the scenario detailed on the following pages. Your final database design should comprise of approximately 10 entitie ...

Stored procedures and stored functions - major assessment

Stored Procedures and Stored Functions - Major Assessment Task Background You are to create tables to store product and customer data. You will create a number of stored procedures and functions (SPFs) to insert / update ...

Your assignment should be submitted in a single word doc

Your assignment should be submitted in a single Word doc (.doc or .docx). It should include your scenario diagram for Problem 1, and your Ruby source code for Problems 2 and 3. Contact me or post to our discussion board ...

  • 4,153,160 Questions Asked
  • 13,132 Experts
  • 2,558,936 Questions Answered

Ask Experts for help!!

Looking for Assignment Help?

Start excelling in your Courses, Get help with Assignment

Write us your full requirement for evaluation and you will receive response within 20 minutes turnaround time.

Ask Now Help with Problems, Get a Best Answer

A cola-dispensing machine is set to dispense 9 ounces of

A cola-dispensing machine is set to dispense 9 ounces of cola per cup, with a standard deviation of 1.0 ounce. The manuf

What is marketingbullwhat is marketing think back to your

What is Marketing? • "What is marketing"? Think back to your impressions before you started this class versus how you

Question -your client david smith runs a small it

QUESTION - Your client, David Smith runs a small IT consulting business specialising in computer software and techno

Inspection of a random sample of 22 aircraft showed that 15

Inspection of a random sample of 22 aircraft showed that 15 needed repairs to fix a wiring problem that might compromise

Effective hrmquestionhow can an effective hrm system help

Effective HRM Question How can an effective HRM system help facilitate the achievement of an organization's strate