https://github.com/inddrsingh/restaurant_orders_mysql
Complex SQL queries on restaurant data for better and precise insights
https://github.com/inddrsingh/restaurant_orders_mysql
data-analysis insights mysql
Last synced: 5 months ago
JSON representation
Complex SQL queries on restaurant data for better and precise insights
- Host: GitHub
- URL: https://github.com/inddrsingh/restaurant_orders_mysql
- Owner: INDDRSINGH
- Created: 2025-05-18T13:55:30.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2025-05-18T16:55:19.000Z (about 1 year ago)
- Last Synced: 2025-06-15T10:42:02.579Z (about 1 year ago)
- Topics: data-analysis, insights, mysql
- Homepage:
- Size: 24.4 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Restaurant Orders Data Analysis

Complex SQL queries on restaurant data for better and precise insights.
## Introduction.
The dataset contains the data of Orders of a Restaurant which started in 2025.
Dataset can be downloaded from [here](https://github.com/INDDRSINGH/restaurant_orders_MySQL/blob/main/restaurant_orders.csv)
You can view the Queries and their results [SQL_Querries.md](https://github.com/INDDRSINGH/restaurant_orders_MySQL/blob/main/SQL_Querries.md)
## Database
* MySQL
## Queries
* Top 1 outlet by each cuisine type
* Number of customers joining each day.
* Number of repeat orders each month
* All users those were acquired in Jan and only placed orders in jan and not after that.
* List all customers with no orders in the last 7 days but were acquired one month ago with first order on promo code.
* show the customer id of the customers after every second transaction, which team can use to send personalized email.
* List of customer who has placed more than 1 order and all of them were with a promo code
* list of customers which were acquired organically in Jan 2025, without any promo code.
* percentage of customers which were acquired organically in Jan 2025, without any promo code.