64.6k views
5 votes
1)Select a software application and select one module of that application (For example, UniversitySystem -> Courses registration Module) IT IS UP TO YOU (LIBRARY,SUPERMARKET, ETC...)

2)Create the scenarios of using that module and determine the semantics of the information needed to be stored.
3) Create the ER diagram for the module (refine the relations if needed) including any integrity constraints (handwritten or anything else)
4) Write the SQL queries that create the designed module.
THIS IS MY DATABASE COURSE PROJECT EXPLAIN IT DETAILED PLS

1 Answer

2 votes

Final answer:

The given project is about creating an Inventory Management module for a Supermarket System. The module records and tracks items and their transactions. The steps involve creating scenarios, designing an ER diagram, and writing SQL queries to create the module.

Step-by-step explanation:

Software Application: Supermarket System

One of the modules of the Supermarket System could be the Inventory Management module. This module handles the recording, tracking, and monitoring of goods in the supermarket.

Scenarios of Using this Module:

  • A new stock is received: The item's name, quantity received, and delivery date need to be documented.
  • An item is sold: The item's name, amount sold, and sell date are tracked.
  • Inventory checking: The current inventory level are compared with a certain threshold to see if it is low and needs replenishment.

ER Diagram:

Entity: Items (with attributes: itemID, itemName, quantityInStock).

Entity: Transactions (with attributes: transactionID, itemID, quantitySold, transactionDate).

Relationship: Each item can have many transactions (one to many).

SQL Queries:

User Masmic
by
7.9k points

No related questions found