Subqueries, HAVING, CASE... more advanced SQL concepts (tutorial for beginners in data science EP#5)

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

КОМЕНТАРІ • 27

  • @osoriomatucurane9511
    @osoriomatucurane9511 9 місяців тому +1

    Awesome tutorial. The concept is intuitivo, running a query usong previous result, as chaining. In the example given, it is clear how you get the aggregate min and max of all data set by collapsing the table. Well done

  • @pr-rb6jl
    @pr-rb6jl 2 місяці тому

    Very well Explained ....Thanks you

  • @umairmir8456
    @umairmir8456 3 роки тому +1

    Waiting for your next two videos! Really helpful!

  • @ameneh212
    @ameneh212 Рік тому

    Very well explained... Thanks again!

  • @srsr6099
    @srsr6099 3 роки тому +2

    Much needed concepts. Super.

  • @pveeranjireddy8959
    @pveeranjireddy8959 3 роки тому

    Great content Explained very wel........Thank you.........

  • @altareq24953
    @altareq24953 Рік тому

    You explain complex things in very easy way. I appriciate your effort. You were setting self assessment questions, but unfortunately I did not find any link downloading the Dataset and without that it was impossible practicing on your self test questions rather than just watching the video.

  • @naveenkalyan4700
    @naveenkalyan4700 Рік тому

    Tons of thanks brother! Can I get flights table dataset?

  • @shovonchowdhury834
    @shovonchowdhury834 3 роки тому

    Great video. Would be great if you had a diagram of the database schema with all the tables with their rows and columns.

    • @datatomi
      @datatomi  3 роки тому

      Thanks! ✌️
      Not a schema per se, but many database info is available in SQL Workbench under the *Database Explorer* menu. Sample data, table structure, CREATE TABLE command, etc, etc. everything you need

  • @akansha_bhatt28
    @akansha_bhatt28 3 роки тому

    Hi Tomi,
    I loved your SQL playlist. Can you make a playlist too on Python for Data Science?

    • @datatomi
      @datatomi  3 роки тому +1

      Thanks -- yes, I've already started to draft it. I'm not sure when I'll record it but hopefully in the near future.

  • @thecodenerd4959
    @thecodenerd4959 3 роки тому +2

    Did anyone tell you that look very similar to Paul Rudd? Btw great video and explanation of concepts

    • @datatomi
      @datatomi  3 роки тому +1

      Yes, I'm Ant-man (as a side gig).
      Thanks, btw!

  • @elfridhasman4181
    @elfridhasman4181 2 роки тому

    Thank You Very Much :)

  • @lindseyhristov7770
    @lindseyhristov7770 Рік тому

    Where can the dataset be accessed to enable me to practice your question

  • @majdzatar1967
    @majdzatar1967 2 роки тому

    i am using google cloud how can i get the table you are working with so i can practice

  • @davidbarnwellutech4663
    @davidbarnwellutech4663 2 роки тому

    Do you have anything on Machine Learning in say, MATLAB?

  • @camo1711
    @camo1711 Рік тому

    Hello, is it possible to group many rows into one output row? example, print 'early', 'late' and 'ontime' on one output row.

    • @osoriomatucurane9511
      @osoriomatucurane9511 Місяць тому

      Good question, from that result, you compute the percentage.
      The answer to your question is pivoting ( columns to rows) . Reshaping, long to wide. It is a good use case of cte
      With cte_reshaping as (
      The result of this query
      Select count(*) as count, is_it_late)
      Select sum(case when is_it_late = 'late' then count end ) as late,
      Repeat for other two categories (Early and ontime)
      From cte_reshaping
      Hoping this helps

  • @chimaokoro4726
    @chimaokoro4726 Рік тому

    Where can I get the data for This tutorial?

  • @subhanbasha8813
    @subhanbasha8813 3 роки тому +1

    Hello Tomi,
    Is it recommend to code all the machine learning algorithms from scratch so that I can learn math behind it or just understand and start to code?

    • @datatomi
      @datatomi  3 роки тому

      Yeah, it makes sense... I mean definitely not all of them, but you can go ahead and try the simpler ones (and validation methods, too). That will give a solid understanding of the basics.
      Then later on, when you get more advanced, you can just dig deeper into the specific model that you'll use for your given project. Then most probably it won't be necessary to code it from scratch to understand it well enough to apply it correctly.
      Smart question, btw.

  • @oscarmartuasinaga5208
    @oscarmartuasinaga5208 Рік тому

    i think problem number 1 can be solved easily by just write *Limit 1* at the bottom of your query.

  • @pr-rb6jl
    @pr-rb6jl 2 місяці тому

    Very well Explained ....Thanks you