COMMENTS

  1. Case Study #1

    Example Datasets. All datasets exist within the dannys_diner database schema - be sure to include this reference within your SQL scripts as you start exploring the data and answering the case study questions.. Table 1: sales. The sales table captures all customer_id level purchases with an corresponding order_date and product_id information for when and what menu items were ordered.

  2. Top 25 SQL Case Expression Interview Questions and Answers

    The solution involved using the Case expression within an SQL query to assign each customer to a category based on their total spend. Here's a simplified version of the code: SELECT CustomerID, CASE. WHEN SUM (PurchaseAmount) > 10000 THEN 'High'. WHEN SUM (PurchaseAmount) BETWEEN 5000 AND 10000 THEN 'Medium'.

  3. Top SQL Case Study Interview Questions in 2024

    Many SQL case study questions will ask you to investigate correlation. In this example SQL case question, we're looking into this issue: Unsubscribe rates have increased after a new notification system has been introduced.. Question: Twitter wants to roll out more push notifications to users because they think users are missing out on good content.

  4. SQL Challenge: Case Study

    The more you practice solving SQL questions, the better you'll get at them. Alright, let's get into it! Reading the Prompt. The question asks us to: ... Tiny Shop Sales(SQL Case Study) This a case study provided by Data in Motion. It is a dataset of a restaurant.

  5. 8 Week SQL Challenge: Case Study #1 Danny's Diner

    However, for sushi, each $1 spent earns 20 points. From Day 1 to Day 7 (the first week of membership), each $1 spent for any item earns 20 points. From Day 8 to the last day of January 2021, each ...

  6. Problem solving with SQL: Case Study #1

    Introduction. Danny seriously loves Japanese food so at the beginning of 2021, he decides to embark upon a risky venture and opens up a cute little restaurant that sells his 3 favourite foods: sushi, curry and ramen. Danny's Diner needs your assistance to help the restaurant stay afloat — the restaurant has captured some very basic data ...

  7. GitHub

    8-Week SQL Challenges. This repository serves as the solution for the 8 case studies from the #8WeekSQLChallenge. It showcases my ability to tackle various SQL challenges and demonstrates my proficiency in SQL query writing and problem-solving skills. A special thanks to Data with Danny for creating these insightful and engaging SQL case ...

  8. tituHere/SQL-Case-Study

    A comprehensive collection of SQL case studies, queries, and solutions for real-world scenarios. This repository provides a hands-on approach to mastering SQL skills through a series of case studies, including table structures, sample data, and SQL queries. - GitHub - tituHere/SQL-Case-Study: A comprehensive collection of SQL case studies, queries, and solutions for real-world scenarios.

  9. GitHub

    This repository contains solutions for #8WeekSQLChallenge, they are interesting real-world case studies that will allow you to apply and enhance your SQL skills in many use cases. I used Microsoft SQL Server in writing SQL queries to solve these case studies.

  10. SQL: 80 Topic wise Practice Queries

    SQL: 80 Topic wise Practice Queries. Practice queries on Aggregates, Group by, Joins, Sub-queries and Case expressions. Solve over 80 SQL exercises using real life case studies. Please login to see the progress.

  11. Instacart SQL Data Analytics Case Study

    Instacart SQL Data Analytics Case Study. Let's apply all we've learned across the 30+ past SQL lessons to a real-world case study where we'll analyze data from Instacart. While there's no one correct solution to this open-ended Data Analytics problem, we've included a few sample SQL queries to help you get started.

  12. Solving Danny Ma's SQL Case Study #5

    Case Study Questions. The following case study questions require some data cleaning steps before we start to unpack Danny's key business questions in more depth. A. Data Cleaning Steps. In a single query, perform the following operations and generate a new table in the data_mart schema named clean_weekly_sales: Convert the week_date to a DATE ...

  13. Inside Case Study #1 in the 8-Week SQL Challenge: Danny's Diner

    Jan 2, 2024. Source: Case Study #1 — Danny's Diner — 8 Week SQL Challenge — Start your SQL learning journey today! Amidst the aroma of freshly brewed coffee and sizzling bacon at Danny's Diner lies a story untold — the tale of how this humble establishment harnessed the power of SQL. Explore with me in the first case study out of ...

  14. Case Studies in SQL: Real-World Data Analysis with SQL Queries

    SQL is a versatile language for data analysis, and these real-world case studies demonstrate its practical application in various domains. By using SQL queries, you can extract valuable insights ...

  15. SQL Challenge

    Introduction. Danny seriously loves Japanese food so at the beginning of 2021, he decides to embark upon a risky venture and opens up a cute little restaurant that sells his 3 favorite foods: sushi, curry, and ramen. Danny's Diner is in need of your assistance to help the restaurant stay afloat — the restaurant has captured some very basic ...

  16. GitHub

    Case study solutions for #8WeekSQLChallenge Using MySQL Workbench 8.0 CE at https://8weeksqlchallenge.com - SriRammSS/8-Week-SQL-Challenge ... Thanks @DataWithDanny for the excellent SQL case studies! 👋🏻 ... Danny wants to use the data to answer a few simple questions about his customers, especially about their visiting patterns, how much ...

  17. Serious SQL

    Learn SQL best practices by solving multiple case studies using data from health, marketing and HR domains. <br><br> All inclusive lifetime access includes growing library of SQL portfolio projects, interview questions, exclusive bonus content.

  18. SQL Case Studies to Practice : r/SQL

    It is engaging enough, and is pretty much the closest thing to a real-world SQL use case as shows up online. It doesn't need a lot of skill to complete, but the more you know, the more cleanly and quickly you can do it. Very satisfying overall. Everything else strays quite quickly into weird, contrived cases where you are often asked to use SQL ...

  19. What is CONTAINS in SQL?

    Introduction. In SQL and database management, efficiently querying and retrieving data is paramount.Among the various tools and functions available, the CONTAINS function stands out for its capability to perform full-text searches within text columns. Unlike basic string functions, CONTAINS enables complex queries and patterns, making it a powerful asset for developers and database administrators.