0% found this document useful (0 votes)
80 views7 pages

Food Delivery Management System

The document describes a food delivery management system that maintains information about customers, restaurants, delivery employees, menus, orders, deals and more. It includes entity relationship and relational schemas showing the tables, attributes, primary keys and foreign key relationships between tables for customers, delivery employees, restaurants, menus, orders, deals and more. The problem statement explains tracking orders from customers to restaurants to delivery employees and keeping information like restaurant menus, employee ratings, customer orders and feedback.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
80 views7 pages

Food Delivery Management System

The document describes a food delivery management system that maintains information about customers, restaurants, delivery employees, menus, orders, deals and more. It includes entity relationship and relational schemas showing the tables, attributes, primary keys and foreign key relationships between tables for customers, delivery employees, restaurants, menus, orders, deals and more. The problem statement explains tracking orders from customers to restaurants to delivery employees and keeping information like restaurant menus, employee ratings, customer orders and feedback.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
You are on page 1/ 7

FOOD

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

Attribute Type Constraints Attribute Type Constraints


C_ID NUMBER Primary key D_ID NUMBER Primary key
C_HNO NUMBER NOT NULL D_MOB_NO VARCHAR2(20) UNIQUE
C_STREET VARCHAR2(20) NOT NULL D_START NUMBER NOT NULL
C_CITY VARCHAR2(20) NOT NULL D_END NUMBER NOT NULL
C_PIN_CODE NUMBER NOT NULL D_SALARY FLOAT NOT NULL
C_FNAME VARCHAR2(20) NOT NULL D_RATINGS NUMBER NOT NULL
C_MNAME VARCHAR2(20) NOT NULL D_FNAME VARCHAR2(20) NOT NULL
C_LNAME VARCHAR2(20) NOT NULL D_MNAME VARCHAR2(20) NOT NULL
C_MOB_NO VARCHAR2(20) UNIQUE D_LNAME VARCHAR2(20) NOT NULL

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

Attribute Type Constraints Attribute Type Constraints


R_ID NUMBER Foreign key references to R__ID NUMBER Foreign key references to
Restaurant Restaurant
D_ID NUMBER Foreign key references to menu D_CODE NUMBER Foreign key references to Deals

h)served_by g)Offers
THANK YOU!

You might also like