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: