Food Delivery Management System
Food Delivery Management System
DELIVERY
MANAGEMENT
SYSTEM
TEAM Number 9
Team Members--
Roll No Name
149 Shivtej N
150 Narayan K
158 Nihar B
180 Praveen D
PROBLEM STATEMENT
• The project aims to design and Implement the database for Food delivery system to maintain the following.
• Each restaurant has the name and serves certain dishes of different cuisines, every restaurant has a special
dish. Every restaurant is resided in different cities. The restaurant takes orders from the customer and the
food is prepared and given to the delivery employee who will deliver the order. It keeps track of the orders
that it handled.
• The delivery employee will take the food from the restaurant and deliver to the given address. Each delivery
employee has a salary and rating for his skills from the customers to whom he had delivered before. He
handles the orders and where the food is to be delivered.
• The customer will order from any restaurant which he likes provided he should order when the restaurant is
open.
• Every restaurant has some deals to offer on specific days. The customer can avail the offers.
• The information of the types of dishes is to be maintained and which restaurant serves what dishes is also to
be maintained. Even the information should include the dish price, its cuisine. Also certain dish is prepared at
a certain time only.
• The food delivered to the given address, who delivered the order and what was the feedback should be
maintained.
Entity-Relationship Model
Relational-Schema
DESCRIPTION OF TABLES
a)customer b)delivery_employee
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Attribute Type Constraints
Attribute Type Constraints
R_ID NUMBER Primary key
DISH_ID NUMBER Primary key
R_SPECIALTY VARCHAR2(30) NOT NULL
DISH_NAME VARCHAR2(30) NOT NULL
R_MOB_NO VARCHAR2(30) UNIQUE
DISH_CUISINE VARCHAR2(30) NOT NULL
R_START NUMBER NOT NULL
DISH_PRICE FLOAT NOT NULL
R_END NUMBER NOT NULL
DISH_START NUMBER NOT NULL
R_NAME VARCHAR2(30) NOT NULL
DISH_END NUMBER NOT NULL
R_RATINGS NUMBER NOT NULL
R_STREET VARCHAR2(30) NOT NULL
c)menu R_CITY VARCHAR2(30) NOT NULL
R_PIN_CODE NUMBER NOT NULL
d)restaurant
Attribute Type Constraints Attributes Type Constraints
ORDER_ID NUMBER Primary key DEAL_CODE NUMBER Primary Key
DISCOUNT FLOAT NOT NULL
ORDER_QUANTITY NUMBER NOT NULL VALID_DAY VARCHAR2(10) NOT NULL
ORDER_TIME NUMBER NOT NULL VALID_PAY_METHOD VARCHAR2(10) ‘COD’ or ‘ONLINE’ only
ORDER_DATE DATE NOT NULL
F_STATUS VARCHAR2(10) F_STATUS = ‘Good’ or
‘average’ or ‘bad’
F_DATE DATE NOT NULL f)deals
C_ID NUMBER Foreign key references to
Customer
R_ID NUMBER Foreign key references to
Restaurant
D_ID NUMBER Foreign key references to
Delivery_Employee
DISH_ID NUMBER Foreign key references to
Menu
e)orders
h)served_by g)Offers
THANK YOU!