{"id":24047694,"url":"https://github.com/shrutiijoshi/restaurant-order-analysis","last_synced_at":"2025-08-26T12:14:04.776Z","repository":{"id":270931651,"uuid":"911888535","full_name":"Shrutiijoshi/Restaurant-Order-Analysis","owner":"Shrutiijoshi","description":"Analyze order data to identify the most and least popular menu items and types of cuisine","archived":false,"fork":false,"pushed_at":"2025-01-07T15:51:46.000Z","size":2168,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-26T09:45:42.306Z","etag":null,"topics":["analytics","data-analysis","mysql","sql"],"latest_commit_sha":null,"homepage":"","language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Shrutiijoshi.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2025-01-04T05:28:48.000Z","updated_at":"2025-01-07T15:51:54.000Z","dependencies_parsed_at":"2025-01-04T19:45:21.280Z","dependency_job_id":null,"html_url":"https://github.com/Shrutiijoshi/Restaurant-Order-Analysis","commit_stats":null,"previous_names":["shrutiijoshi/restaurant-order-analysis"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Shrutiijoshi/Restaurant-Order-Analysis","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Shrutiijoshi%2FRestaurant-Order-Analysis","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Shrutiijoshi%2FRestaurant-Order-Analysis/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Shrutiijoshi%2FRestaurant-Order-Analysis/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Shrutiijoshi%2FRestaurant-Order-Analysis/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Shrutiijoshi","download_url":"https://codeload.github.com/Shrutiijoshi/Restaurant-Order-Analysis/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Shrutiijoshi%2FRestaurant-Order-Analysis/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":272219632,"owners_count":24894471,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-08-26T02:00:07.904Z","response_time":60,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["analytics","data-analysis","mysql","sql"],"created_at":"2025-01-09T00:50:08.305Z","updated_at":"2025-08-26T12:14:04.743Z","avatar_url":"https://github.com/Shrutiijoshi.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# Restaurant-Order-Analysis\nAnalyze order data to identify the most and least popular menu items and types of cuisine\n\n# International Restaurant Orders Data Analysis \n\n## Project Overview :\nA 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.\n\n## Data Content :\n### 1. Order_Details table :\n- order_details_id : Unique ID of an item in an order\n- order_id : ID of an order\n- order_date : Date an order was put in (MM/DD/YY)\n- order_time : Time an order was put in (HH:MM:SS AM/PM)\n- item_id\t: Matches the menu_item_id in the menu_items table\n\n### 2. Menu_items table :\n- menu_item_id\t: Unique ID of a menu item\n- item_name\t: Name of a menu item\n- category\t: Category or type of cuisine of the menu item\n- price\t: Price of the menu item (US Dollars $)\n\n## Project Objectives :\n**Least and most ordered items** :\nIdentify the categories they belonged to and their impact on sales.\n\n**Highest spend orders** :\nAnalyze the items purchased and the total amount spent.\n\n**Specific times with more or fewer orders** :\nIdentify patterns in order frequency based on time.\n\n**Which cuisines should be prioritized for developing more menu items based on customer preferences?**\n\n## Tool \u0026 Library used :\n[\u003cimg src=\"https://github.com/Shrutiijoshi/Restaurant-Order-Analysis/blob/main/CODE/mysql_logo.png\" alt=\"myql-logo\" width=\"150\" height=\"100\"/\u003e](https://github.com/Shrutiijoshi/Restaurant-Order-Analysis/blob/main/CODE/mysql_logo.png) \u0026nbsp;\n\n## Project Result :\n[Click here to get full code](https://github.com/Shrutiijoshi/Restaurant-Order-Analysis/blob/main/SQL_UNGUIDED_PROJECT.sql)\n\n## Query task :\n1. View the menu_items table\n\u003cimg src=\"https://github.com/Shrutiijoshi/Restaurant-Order-Analysis/blob/main/CODE/menu_items.PNG\" alt=\"menu_items\" width=\"600\" height=\"200\"/\u003e\n\n2. write a query to find the number of items on the menu\n\u003cimg src=\"https://github.com/Shrutiijoshi/Restaurant-Order-Analysis/blob/main/CODE/no_of_items.PNG\" alt=\"no_of_items\" width=\"400\" height=\"250\"/\u003e\n\n3. What are the least and most expensive items on the menu?\n\u003cimg src=\"https://github.com/Shrutiijoshi/Restaurant-Order-Analysis/blob/main/CODE/most_expensive_item.PNG\" alt=\"most_expensive_item\" width=\"300\" height=\"200\"/\u003e\n\u003cimg src=\"https://github.com/Shrutiijoshi/Restaurant-Order-Analysis/blob/main/CODE/least_expensive_item.PNG\" alt=\"least_expensive_item\" width=\"300\" height=\"200\"/\u003e\n\n4. How many Italian dishes are on the menu?\n\u003cimg src=\"https://github.com/Shrutiijoshi/Restaurant-Order-Analysis/blob/main/CODE/no_of_italian_dishes.PNG\" alt=\"no_of_italian_dishes\" width=\"300\" height=\"200\"/\u003e\n\n5. What are the least and most expensive Italian dishes on the menu?\n\u003cimg src=\"https://github.com/Shrutiijoshi/Restaurant-Order-Analysis/blob/main/CODE/most_expensive_italian_dish.PNG\" alt=\"most_expensive_italian_dish\" width=\"300\" height=\"200\"/\u003e\n\u003cimg src=\"https://github.com/Shrutiijoshi/Restaurant-Order-Analysis/blob/main/CODE/least_expensive_italian_dish.PNG\" alt=\"least_expensive_italian_dish\" width=\"300\" height=\"200\"/\u003e\n\n6. How many dishes are in each category?\n\u003cimg src=\"https://github.com/Shrutiijoshi/Restaurant-Order-Analysis/blob/main/CODE/no_of_dishes.PNG\" alt=\"no_of_dishes\" width=\"300\" height=\"200\"/\u003e\n\n7. What is the average dish price within each category?\n\u003cimg src=\"https://github.com/Shrutiijoshi/Restaurant-Order-Analysis/blob/main/CODE/avg_dish_price.PNG\" alt=\"avg_dish_price\" width=\"300\" height=\"200\"/\u003e\n\n8. View the order_details table\n\u003cimg src=\"https://github.com/Shrutiijoshi/Restaurant-Order-Analysis/blob/main/CODE/order_details.PNG\" alt=\"order_details\" width=\"300\" height=\"200\"/\u003e\n\n9. What is the date range of the table?\n\u003cimg src=\"https://github.com/Shrutiijoshi/Restaurant-Order-Analysis/blob/main/CODE/date_range.PNG\" alt=\"date_range\" width=\"300\" height=\"200\"/\u003e\n\n10. How many orders were made within this date range?\n\u003cimg src=\"https://github.com/Shrutiijoshi/Restaurant-Order-Analysis/blob/main/CODE/orders_made.PNG\" alt=\"orders_made\" width=\"300\" height=\"200\"/\u003e\n\n11.  How many items were ordered within this date range?\n\u003cimg src=\"https://github.com/Shrutiijoshi/Restaurant-Order-Analysis/blob/main/CODE/items_ordered.PNG\" alt=\"items_ordered\" width=\"300\" height=\"200\"/\u003e\n\n12. Which orders had the most number of items?\n\u003cimg src=\"https://github.com/Shrutiijoshi/Restaurant-Order-Analysis/blob/main/CODE/no_of_items_by_order_id.PNG\" alt=\"no_of_items_by_order_id\" width=\"300\" height=\"200\"/\u003e\n\n13. How many orders had more than 12 items?\n\u003cimg src=\"https://github.com/Shrutiijoshi/Restaurant-Order-Analysis/blob/main/CODE/more_than_12_items.PNG\" alt=\"more_than_12_items\" width=\"300\" height=\"400\"/\u003e\n\n14. Combine the menu_items and order_details tables into a single table\n\u003cimg src=\"https://github.com/Shrutiijoshi/Restaurant-Order-Analysis/blob/main/CODE/combined_data.PNG\" alt=\"combined_data\" width=\"700\" height=\"400\"/\u003e\n\n15. What were the least and most ordered items? What categories were they in?\n\u003cimg src=\"https://github.com/Shrutiijoshi/Restaurant-Order-Analysis/blob/main/CODE/most_combined.PNG\" alt=\"most_combined\" width=\"600\" height=\"100\"/\u003e\n\u003cimg src=\"https://github.com/Shrutiijoshi/Restaurant-Order-Analysis/blob/main/CODE/least_combined.PNG\" alt=\"least_combined\" width=\"600\" height=\"100\"/\u003e\n\n16. What were the top 5 orders that spent the most money?\n\u003cimg src=\"https://github.com/Shrutiijoshi/Restaurant-Order-Analysis/blob/main/CODE/top_5.PNG\" alt=\"top_5\" width=\"300\" height=\"300\"/\u003e\n\n17. View the details of the highest spend order. Which specific items were purchased?\n\u003cimg src=\"https://github.com/Shrutiijoshi/Restaurant-Order-Analysis/blob/main/CODE/highest_spent.PNG\" alt=\"highest_spent\" width=\"500\" height=\"400\"/\u003e\n\n18. View the details of the top 5 highest spend orders\n\u003cimg src=\"https://github.com/Shrutiijoshi/Restaurant-Order-Analysis/blob/main/CODE/top_5_highest_spent.PNG\" alt=\"top_5_highest_spent\" width=\"1000\" height=\"600\"/\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fshrutiijoshi%2Frestaurant-order-analysis","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fshrutiijoshi%2Frestaurant-order-analysis","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fshrutiijoshi%2Frestaurant-order-analysis/lists"}