SQL Portfolio Project | Data Analytics | Danny's Diner SQL Challenge

Поділитися
Вставка
  • Опубліковано 3 лис 2024

КОМЕНТАРІ • 37

  • @karunakaranr2473
    @karunakaranr2473 5 місяців тому

    Thanks for your time and effort. Awesome explanation.

    • @TurnToData
      @TurnToData  5 місяців тому

      Appreciate your feedback. Glad it was helpful!

  • @Userm2040
    @Userm2040 5 місяців тому +2

    Full Projects are always helpful. Thank you so much for this Full Project.

    • @TurnToData
      @TurnToData  5 місяців тому

      You are most welcome! Stay tuned for more such projects.

  • @nauvalfadillah1646
    @nauvalfadillah1646 15 днів тому

    Only number 10 that gives me hard time to answer. Thanks for the dataset and the question

  • @PriyaSathya-ng3bi
    @PriyaSathya-ng3bi 5 місяців тому +1

    I am thankful for your time and effort ,it was very useful .Looking forward for more such SQL Projects .

    • @TurnToData
      @TurnToData  5 місяців тому

      I'm glad you liked it. Stay tuned for more such projects!

  • @mahmoudalsayyad90
    @mahmoudalsayyad90 21 день тому

    Thanks alot! could you please continue one solving SQL problems?

    • @TurnToData
      @TurnToData  21 день тому

      Yes, I'll be uploading more SQL videos very soon!

  • @slrahman8723
    @slrahman8723 5 місяців тому

    Highly appreciated ..expecting to upload more videos regarding real life projects.

    • @TurnToData
      @TurnToData  5 місяців тому +1

      Thanks, glad you enjoyed the video :)

  • @pradeeppapireddy
    @pradeeppapireddy 5 місяців тому

    Thank you Anna , you are really so kind to share such quality information

    • @TurnToData
      @TurnToData  5 місяців тому

      Thanks. Glad to know you liked it. More videos coming out soon.

  • @PosibabuKakarla
    @PosibabuKakarla 5 місяців тому

    Thanks for the video👏, waiting for next project, Good work

    • @TurnToData
      @TurnToData  5 місяців тому

      You are welcome! Glad you liked the video. More projects coming very shortly. Please subscribe and hit the bell icon to stay updated!

  • @ganakc1837
    @ganakc1837 5 місяців тому

    Great work, keep them coming 👏👏

    • @TurnToData
      @TurnToData  5 місяців тому

      Thanks, Gana! Glad you liked it :)

  • @koa1663
    @koa1663 5 місяців тому +1

    How do you document your findings for the portfolio? What format is the information presented in?

    • @TurnToData
      @TurnToData  5 місяців тому +2

      It's a good question.
      Thoroughly describe the goals of your project (in this case, it is to analyze the data from a fictional diner to help the owner, Danny, understand his customers' behaviors and preferences.), the SQL queries you executed, and the insights you derived (these are the results of each query). This documentation demonstrates your analytical thinking and ability to communicate effectively.
      From next video onwards, I will also showcase how you can document your findings.
      This information can be presented in any form you wish, but a PDF is highly recommended. Just upload your SQL queries onto your github repository as that will be the best source of your portfolio.

  • @BHARATHEEYUDU.
    @BHARATHEEYUDU. 5 місяців тому

    Great job 👍

  • @akashprd
    @akashprd 12 днів тому

    Informative video. But I believe Q10 ans is wrong and correct ans should be A = 1020 and B = 440. Please add points manually considering A&B's join date.

    • @TurnToData
      @TurnToData  12 днів тому

      Glad you enjoyed the video, Akash!
      Regarding Q.10, the actual output comes out to be A=1270 and B=840 (please remove this line from the code: WHEN m.product_name = 'sushi' THEN m.price*10*2). I will update the video with this update. Here is the logic behind question number 10: Unlike question number 9, where only Sushi gets a 2x multiplier, in question number 10, not only Sushi but every other product gets a 2x points multiplier when the difference between join date and order date is equal to or less than 7 days. A good way to visualise this would be to manually try mapping the data in Excel and then calculate the points for each customer. Hope this helps :)

    • @akashprd
      @akashprd 11 днів тому

      @@TurnToData Please don't think this as an argument I just want to clarify let me share all the data here itself
      A's Join Date - 2021-01-07
      B's Join Date - 2021-01-09
      Orders from their join date till join date + 7 days
      customer_id | order_date | product_id | join_date |
      +-------------+------------+------------+------------+
      | A | 2021-01-07 | 2 | 2021-01-07 |
      | A | 2021-01-10 | 3 | 2021-01-07 |
      | A | 2021-01-11 | 3 | 2021-01-07 |
      | A | 2021-01-11 | 3 | 2021-01-07 |
      | B | 2021-01-11 | 1 | 2021-01-09 |
      | B | 2021-01-16 | 3 | 2021-01-09 |
      Cost, points of product id (points for each product is 2*10*price)
      1 - 10 | 200
      2 - 15 | 300
      3 - 12 | 240
      Now add the points based on customer_id
      A - 300 + 240 + 240 + 240 = 1020
      B - 200 + 240 = 440

    • @TurnToData
      @TurnToData  11 днів тому

      Thanks for your inputs, Akash. This is just a healthy discussion :)
      Your approach to the problem is slightly different than mine and it is totally fine to do it the way you did. My logic in solving the problem was as below:
      In question number 9, we have already awarded points to customers irrespective of the join date. I have simply continued question number 10 keeping the context from question number 9 in mind. So basically, any orders before the customer became a member will get the standard (10*price) points. Here is the breakup customer wise:
      A = 100 + 150 + 300 + 240 + 240 + 240 = 1270
      B = 150 + 150 + 100 + 200 + 240 + 0 = 840
      But again, you can choose to take the context into account or ignore it. I believe the question in the case study could have been more elaborate. It's a win-win. Cheers!

  • @VickyShrivastav-oi4pm
    @VickyShrivastav-oi4pm 5 місяців тому

    good explanation

    • @TurnToData
      @TurnToData  5 місяців тому +1

      Thanks. I'm glad you enjoyed the video!

    • @vicky1840
      @vicky1840 5 місяців тому +1

      I hope u can bring more project like this ❤​@@TurnToData

    • @TurnToData
      @TurnToData  5 місяців тому

      Definitely. More SQL Projects will be uploaded in the coming days 👍

  • @srikantha2884
    @srikantha2884 5 місяців тому

    Hi Sir, I need SQL training for Azure Data engineering. Any possibility to provide 1:1 training. I will pay accordingly. Please reply 🙏.

    • @TurnToData
      @TurnToData  5 місяців тому

      Hi, appreciate your request, but I'm presently unavailable for a 1:1 training. I would recommend taking a 1:1 training through an established training center near you (or online) as you are interested in a particular domain.

    • @lenkaladivya5707
      @lenkaladivya5707 5 місяців тому

      Where r u from ,,,

    • @srikantha2884
      @srikantha2884 5 місяців тому

      @@lenkaladivya5707 :: Vijayawada

  • @romikonlinepotapenko3475
    @romikonlinepotapenko3475 2 місяці тому

    I think you made a mistake in the 10th question. You don't need to check if product_name = 'sushi', you just need to check for all products if they were purchased within the first week to get twice as many points, and in all other cases get regular number of points.

    • @TurnToData
      @TurnToData  2 місяці тому

      Thanks for your response. The question says "not just sushi". Hence, while you assign points to products purchased in 1st week, you will need to continue to consider points for sushi products as in the previous questions.

  • @soheilpalermo491
    @soheilpalermo491 5 місяців тому

    thanks