Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1of 3

Java Institute for Advanced Technology

Database Management 1
H7DX 04
H7DX 04/EX/01

Chandupa Nimsara Nuwan Jayalath


SCN NO
200102003436
Gampaha
Question

1. A restaurant owner has decided to create an inventory control software to facilitate


store management in a leading restaurant. The software was commissioned by “AI Soft”.
You serve as the company's chief database engineer.

 You must be able to store customer information.


Required fields - Name, Contact No.
 You must be able to store supplier information.
Required fields - NIC, Name, Contact No, Address
 Suppliers should be able to view the details of the goods supplied.
Required fields – Ingredient Name, Supplier ID, QTY
 You must be able to store details of the food marketed in the restaurant.
Required fields – Food Name, Unit Price, QTY, Manufacture Date, Expiry Date
 Information about the food produced in the restaurant should be able to be stored in
the database.
Required fields – Food ID, Ingredient ID, Amount
 You should be able to see the details of the bills provided by the suppliers when
purchasing the raw material required for food preparation.
Required fields – Date, Supplier ID, Ingredient ID, Unit Price, QTY, Total
 You must be able to store details of bills issued to customers when purchasing food
Required fields – Date, Food ID, QTY, Total, Customer ID

Create the entity relationship diagram (ER diagram) required to create the database to include
the above requirements. You can add desired fields in addition to the given requirement fields.

You might also like