Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/shrutiijoshi/restaurant-order-analysis

Analyze order data to identify the most and least popular menu items and types of cuisine
https://github.com/shrutiijoshi/restaurant-order-analysis

analytics data-analysis mysql sql

Last synced: 21 days ago
JSON representation

Analyze order data to identify the most and least popular menu items and types of cuisine

Awesome Lists containing this project

README

        

# Restaurant-Order-Analysis
Analyze order data to identify the most and least popular menu items and types of cuisine

# International Restaurant Orders Data Analysis

## Project Overview :
A quarter's worth of orders from a fictitious restaurant serving international cuisine, including the date and time of each order, the items ordered, and additional details on the type, name and price of the items.The Restaurant Orders Dataset provides detailed insights into customer ordering behavior, sales trends, and restaurant performance. By analyzing this dataset, valuable information can be derived to support decision-making in restaurant management, marketing strategies, and menu optimization.

## Data Content :
### 1. Order_Details table :
- order_details_id : Unique ID of an item in an order
- order_id : ID of an order
- order_date : Date an order was put in (MM/DD/YY)
- order_time : Time an order was put in (HH:MM:SS AM/PM)
- item_id : Matches the menu_item_id in the menu_items table

### 2. Menu_items table :
- menu_item_id : Unique ID of a menu item
- item_name : Name of a menu item
- category : Category or type of cuisine of the menu item
- price : Price of the menu item (US Dollars $)

## Project Objectives :
**Least and most ordered items** :
Identify the categories they belonged to and their impact on sales.

**Highest spend orders** :
Analyze the items purchased and the total amount spent.

**Specific times with more or fewer orders** :
Identify patterns in order frequency based on time.

**Which cuisines should be prioritized for developing more menu items based on customer preferences?**

## Tool & Library used :
[myql-logo](https://github.com/Shrutiijoshi/Restaurant-Order-Analysis/blob/main/CODE/mysql_logo.png)  

## Project Result :
[Click here to get full code](https://github.com/Shrutiijoshi/Restaurant-Order-Analysis/blob/main/SQL_UNGUIDED_PROJECT.sql)

## Query task :
1. View the menu_items table
menu_items

2. write a query to find the number of items on the menu
no_of_items

3. What are the least and most expensive items on the menu?
most_expensive_item
least_expensive_item

4. How many Italian dishes are on the menu?
no_of_italian_dishes

5. What are the least and most expensive Italian dishes on the menu?
most_expensive_italian_dish
least_expensive_italian_dish

6. How many dishes are in each category?
no_of_dishes

7. What is the average dish price within each category?
avg_dish_price

8. View the order_details table
order_details

9. What is the date range of the table?
date_range

10. How many orders were made within this date range?
orders_made

11. How many items were ordered within this date range?
items_ordered

12. Which orders had the most number of items?
no_of_items_by_order_id

13. How many orders had more than 12 items?
more_than_12_items

14. Combine the menu_items and order_details tables into a single table
combined_data

15. What were the least and most ordered items? What categories were they in?
most_combined
least_combined

16. What were the top 5 orders that spent the most money?
top_5

17. View the details of the highest spend order. Which specific items were purchased?
highest_spent

18. View the details of the top 5 highest spend orders
top_5_highest_spent