Online Food Delivery System Database Project Assignment
VerifiedAdded on 2021/02/19
|22
|1494
|44
Project
AI Summary
This assignment details the design and implementation of a database system for an online food delivery service. The project begins with an introduction to database systems and their functionalities, followed by the creation of an Entity Relationship (ER) Diagram to visually represent the database's structure, including entities like food, restaurants, orders, and customers, along with their attributes and relationships. A comprehensive data dictionary is provided, outlining each entity and its associated attributes. The core of the project involves constructing database tables using MS SQL Server, detailing the structure and data types for each table. SQL statements are then utilized to query and manipulate the data, including examples of DDL and DML commands to retrieve, update, and modify information. Finally, the project concludes with the creation of an Oracle Application Express (APEX) form to handle data entry, ensuring user-friendly interaction with the database. References to relevant literature are also included.

INTERMEDIATE DATABASE
1
1
Paraphrase This Document
Need a fresh take? Get an instant paraphrase of this document with our AI Paraphraser

Contents
INTRODUCTION...........................................................................................................................3
TASKS.............................................................................................................................................3
Entity Relationship Diagram.......................................................................................................3
Data dictionary:...........................................................................................................................4
Construct the database tables.......................................................................................................8
SQL Statement and provide the results based on the records....................................................12
Create one oracle form to handle entry that must display and enter data..................................18
CONCLUSION..............................................................................................................................20
REFERENCES..............................................................................................................................21
2
INTRODUCTION...........................................................................................................................3
TASKS.............................................................................................................................................3
Entity Relationship Diagram.......................................................................................................3
Data dictionary:...........................................................................................................................4
Construct the database tables.......................................................................................................8
SQL Statement and provide the results based on the records....................................................12
Create one oracle form to handle entry that must display and enter data..................................18
CONCLUSION..............................................................................................................................20
REFERENCES..............................................................................................................................21
2

INTRODUCTION
Database system is defined as a collection of information that can store in the form of single
data set. It should be maintained, update, retrieve and modify the data in the database system.
This assignment is based on the online food delivery system that provide the services to the
customer. It useful for consumer to select the different categories of food item by using online
system. This documentation will discuss about the database table that created by MS SQL server
tool to store record in proper manner. It will construct the form by using Oracle Application
Express (APEX).
TASKS
Entity Relationship Diagram
Figure 1 ER Model
Entity relationship diagram is a type of graphical representation that can be shown all entities
and its specific attributes (Abad iand et.al., 2018). Each one has established a relationship
between one and more tables. It should be containing values in each column of database system.
It has some specific primary key and foreign key in the database system. It is an essential part of
DBMS that help to establish a relationship between one or more tables. In this diagram, it shown
3
Database system is defined as a collection of information that can store in the form of single
data set. It should be maintained, update, retrieve and modify the data in the database system.
This assignment is based on the online food delivery system that provide the services to the
customer. It useful for consumer to select the different categories of food item by using online
system. This documentation will discuss about the database table that created by MS SQL server
tool to store record in proper manner. It will construct the form by using Oracle Application
Express (APEX).
TASKS
Entity Relationship Diagram
Figure 1 ER Model
Entity relationship diagram is a type of graphical representation that can be shown all entities
and its specific attributes (Abad iand et.al., 2018). Each one has established a relationship
between one and more tables. It should be containing values in each column of database system.
It has some specific primary key and foreign key in the database system. It is an essential part of
DBMS that help to establish a relationship between one or more tables. In this diagram, it shown
3
⊘ This is a preview!⊘
Do you want full access?
Subscribe today to unlock all pages.

Trusted by 1+ million students worldwide

all the necessary attributes of each table in proper manner.
Data dictionary:
Entities Attributes
Food table Food_no (PK)
Food_name
Food_type
Food_menu
Food_expiry_hour
Food price
Restaurtant_id (FK)
Restaurant table Restaurant_ID (PK)
Restaurant_Name
Restaurant_Address
Restaurant_Phone
Restaurant_Email
Restaurant_PIC
Order table Order_ID (PK)
Order_Date
Order_Qty
Order_Amount
Food_No (FK)
Cust_ID (FK)
Customer table Cust_ID (PK)
4
Data dictionary:
Entities Attributes
Food table Food_no (PK)
Food_name
Food_type
Food_menu
Food_expiry_hour
Food price
Restaurtant_id (FK)
Restaurant table Restaurant_ID (PK)
Restaurant_Name
Restaurant_Address
Restaurant_Phone
Restaurant_Email
Restaurant_PIC
Order table Order_ID (PK)
Order_Date
Order_Qty
Order_Amount
Food_No (FK)
Cust_ID (FK)
Customer table Cust_ID (PK)
4
Paraphrase This Document
Need a fresh take? Get an instant paraphrase of this document with our AI Paraphraser

Cust_Name
Cust_Address
Cust_Phone
Cust_Email
Table:1
Database Name: - FoodDB
5
Cust_Address
Cust_Phone
Cust_Email
Table:1
Database Name: - FoodDB
5

6
⊘ This is a preview!⊘
Do you want full access?
Subscribe today to unlock all pages.

Trusted by 1+ million students worldwide

7
Paraphrase This Document
Need a fresh take? Get an instant paraphrase of this document with our AI Paraphraser

Construct the database tables
Customer table
Figure 2
According to Figure-2, It is based on the customer database table that contain the information
about of each consumers in the form of tables. It is the simplest way to represent the detail of
customer. It should be setting the particular size of index so that it can store or collect values in
it.
8
Customer table
Figure 2
According to Figure-2, It is based on the customer database table that contain the information
about of each consumers in the form of tables. It is the simplest way to represent the detail of
customer. It should be setting the particular size of index so that it can store or collect values in
it.
8

Food table
Figure 3
This figure is representing the Food database table that consits of various type of information
about the food items sucha as Food_no, Food_name, Food_expiry_hour and Food_menu etc.
These are the information contain in the table format where all data should be store in proper
ways (Dennis, Wixom and Roth, 2018). It should be setting the particular size of index so that it
can store or collect values in it.
9
Figure 3
This figure is representing the Food database table that consits of various type of information
about the food items sucha as Food_no, Food_name, Food_expiry_hour and Food_menu etc.
These are the information contain in the table format where all data should be store in proper
ways (Dennis, Wixom and Roth, 2018). It should be setting the particular size of index so that it
can store or collect values in it.
9
⊘ This is a preview!⊘
Do you want full access?
Subscribe today to unlock all pages.

Trusted by 1+ million students worldwide

Order table
Figure 4
According to figure 4, it can be representing the order table where it has to be stored in
the full details about the particular order in it. It useful for customer to check the order status
through database system (Vasarhelyi and Halper, 2018). It can easy to access the information for
finding the particular details about the order. It is stored in the table format where all data should
be store in proper ways. It esnure to fix the size of data type so that it can enter the value at
limited ways
10
Figure 4
According to figure 4, it can be representing the order table where it has to be stored in
the full details about the particular order in it. It useful for customer to check the order status
through database system (Vasarhelyi and Halper, 2018). It can easy to access the information for
finding the particular details about the order. It is stored in the table format where all data should
be store in proper ways. It esnure to fix the size of data type so that it can enter the value at
limited ways
10
Paraphrase This Document
Need a fresh take? Get an instant paraphrase of this document with our AI Paraphraser

Restaurant table
Figure 5
According to figure 5, it can represent the restaurtant table that can store the details about the
particular hotel such as id, address, email, name and pls etc. there are different restaurtants
access the online database system to check the details about order of customers. In this way,
Many restaurants are active memmbers to monitor the entire activities of people those who
wanted to place order by using online medium. It is stored in the table format where all data
should be store in proper ways. It esnure to fix the size of data type so that it can enter the value
in it.
11
Figure 5
According to figure 5, it can represent the restaurtant table that can store the details about the
particular hotel such as id, address, email, name and pls etc. there are different restaurtants
access the online database system to check the details about order of customers. In this way,
Many restaurants are active memmbers to monitor the entire activities of people those who
wanted to place order by using online medium. It is stored in the table format where all data
should be store in proper ways. It esnure to fix the size of data type so that it can enter the value
in it.
11

SQL Statement and provide the results based on the records.
SQL stands for the structure query language that help for designing and developing the
relational database system (MaWei and Jian, 2019). It is the most important programming
language for performing different task such as modify, delete, creation and update etc. It is also
known as domain specific language that easily managing the entire management system and its
processing. A SQL statement can be categorising into different ways: DDL and DML
DML:
It refers to data manipulation language that can use for store, delete, modify and insert
data in the database system (Sayar and Er,2018). For Example- Select, insert and update
commands. This language must be created the data schema and classified in proper manner. It
can perform the operations after creating a DBMS tables that help to fill the records
DDL:
It stands for data definition language that can use to modify and create the overall
structure of database system (Rajaraman, 2018). For Example- it uses the different commands
such as Alter, Drop and create etc. This language always manipulates and populate data in the
database system. Designer is understanding the properties of data as a specific domain and its
attributes. It provides the facility to easily specify the necessary constraints that can control the
data consistency.
12
SQL stands for the structure query language that help for designing and developing the
relational database system (MaWei and Jian, 2019). It is the most important programming
language for performing different task such as modify, delete, creation and update etc. It is also
known as domain specific language that easily managing the entire management system and its
processing. A SQL statement can be categorising into different ways: DDL and DML
DML:
It refers to data manipulation language that can use for store, delete, modify and insert
data in the database system (Sayar and Er,2018). For Example- Select, insert and update
commands. This language must be created the data schema and classified in proper manner. It
can perform the operations after creating a DBMS tables that help to fill the records
DDL:
It stands for data definition language that can use to modify and create the overall
structure of database system (Rajaraman, 2018). For Example- it uses the different commands
such as Alter, Drop and create etc. This language always manipulates and populate data in the
database system. Designer is understanding the properties of data as a specific domain and its
attributes. It provides the facility to easily specify the necessary constraints that can control the
data consistency.
12
⊘ This is a preview!⊘
Do you want full access?
Subscribe today to unlock all pages.

Trusted by 1+ million students worldwide
1 out of 22
Related Documents

Your All-in-One AI-Powered Toolkit for Academic Success.
+13062052269
info@desklib.com
Available 24*7 on WhatsApp / Email
Unlock your academic potential
Copyright © 2020–2025 A2Z Services. All Rights Reserved. Developed and managed by ZUCOL.