SQL WITH Clause | Clearly Explained | CTEs vs Subqueries vs Temp Tables | Recursive CTEs

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

КОМЕНТАРІ • 46

  • @brentvanscoy
    @brentvanscoy 22 дні тому +3

    Best SQL tutorial I have ever seen; Brilliant!

  • @torpedoe1936
    @torpedoe1936 3 місяці тому +3

    This is so clearly explained and concise. Thanx a bunch ma'am!

  • @longinos10
    @longinos10 2 місяці тому +1

    I was watching other videos before this one, and I just couldn't wrap my head around it, and this video was clear as crystal

  • @Qubom
    @Qubom 28 днів тому +1

    This is maybe the best SQL guide on youtube, thank you, Alice!

  • @ovoparadise
    @ovoparadise Місяць тому +1

    I quickly subscribed and liked, she killed the CTE lesson. Hats off!!

  • @gustavojuantorena
    @gustavojuantorena 19 днів тому

    So much better explanation that my professor. Thank you!

  • @walidherz7132
    @walidherz7132 29 днів тому +1

    Thank you for your well presented videos. I hope to see more videos from you regarding SQL server

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

    This is an awesome video. the material she covers clearly in 30 minutes will take one hours to study on their own

  • @rodrigochavez7
    @rodrigochavez7 4 місяці тому +2

    Amazing explanation as always! The most complete and clear video about this topic. Thank you Alice!

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

    Hi, this video was really helpful, despite is not i'm My mother language, the logic that You provide is clearly than in spanish

  • @momohtimothy6898
    @momohtimothy6898 4 місяці тому +1

    Finally, I can now see and understand subqueries. Thank you.

    • @Alice-at-Maven
      @Alice-at-Maven 4 місяці тому

      Glad to hear that!

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

      @@Alice-at-Maven mam how can I get a course from you?

    • @Alice-at-Maven
      @Alice-at-Maven Місяць тому

      @@sravyath You can find my Data Science in Python courses at Maven Analytics or Udemy. I have an Advanced SQL course coming out next month on the same two platforms, so stay tuned!

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

    Awesome tutorial, crystal clear a d concise. Well done.
    1. CTE is elegant. I would go for CTE when the first query returns a table, and go for subquery when the result set of the first query goes into select or where clauses as sclares or list/tuple.
    2. Can get access to the dataset used here.
    3. I quickly took a glance. At your SQL trainning program and it seems you dive deep and cover quite a lot than most SQL trainning programs in the market. Please advise the rate.
    Thank u

    • @MavenAnalytics
      @MavenAnalytics  4 місяці тому

      Glad you enjoyed the video!
      1. That's a great workflow
      2. You can download the Restaurant Orders data set (and many more!) for free on our data playground: mavenanalytics.io/data-playground
      3. Our SQL courses are available on the Maven Analytics platform for a monthly fee (mavenanalytics.io/signup/pricing) or on Udemy for a per course fee (www.udemy.com/user/maven-analytics/)

  • @Valeria-vf9bx
    @Valeria-vf9bx 2 місяці тому

    Wow! Thank you so much for the explanation, definitely helped me understand everything much better

  • @Dadzie.emmanuel
    @Dadzie.emmanuel 2 місяці тому

    At long last, I have met a good teacher 😂. Thank you so much ma'am 🎉

  • @JhulanDey
    @JhulanDey 14 днів тому

    as usual super fantastic.. what about a total series for beginners? u r definitely one of the best in explaining!

    • @MavenAnalytics
      @MavenAnalytics  13 днів тому

      Here's our SQL for Beginners video: ua-cam.com/video/_vxobA36UN4/v-deo.html Enjoy!

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

    It was so clear and easy to understand, thank you so much Alice! Hope to have your SQL course one day :)

    • @Alice-at-Maven
      @Alice-at-Maven Місяць тому

      Glad to hear that! My advanced SQL querying course comes out next month on the Maven Analytics platform. Stay tuned!

  • @utkarshkunwar4319
    @utkarshkunwar4319 14 днів тому

    Thank you so much for explaining this, Alice! Would it be possible to get hold of the table you are using in this video? I guess having access to same would make it easy to follow along.

    • @MavenAnalytics
      @MavenAnalytics  13 днів тому

      Of course! You can find the menu items table details on the Maven Analytics data playground: www.mavenanalytics.io/data-playground?order=date_added%2Cdesc&search=restaurant%20orders

  • @sindhuvignesh1012
    @sindhuvignesh1012 4 місяці тому

    Super Informative. Thank you

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

    WOW!!!! that was amazing, I learned a lot. Thank so much. Got a new sub here.

    • @Alice-at-Maven
      @Alice-at-Maven 2 місяці тому

      Thank you! Glad you found it helpful 🙌

  • @veguitascript3322
    @veguitascript3322 14 днів тому

    Thank you Alice for your marvellous work!!
    I have a query, what is the database that you use in the point number 4, that has a table named stock_prices and the others one.
    if it would not be too much trouble, could you tell us where we can find it, thank you very much in advance

    • @MavenAnalytics
      @MavenAnalytics  13 днів тому

      Here you go!
      CREATE TABLE stock_prices (
      date DATE PRIMARY KEY,
      price DECIMAL(10, 2)
      );
      INSERT INTO stock_prices (date, price) VALUES
      ('2024-06-01', 668.27),
      ('2024-06-03', 678.83),
      ('2024-06-04', 635.40),
      ('2024-06-06', 591.01);

    • @veguitascript3322
      @veguitascript3322 13 днів тому

      ​@@MavenAnalyticscould you give the script of the table my_dates. Please :3

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

    How do you manage to explain it so well. I watched another video too and the explanation was nonsensical, tho the author seemed to know what they are talking about. So.. how do you explain, is there a method to it? I am very interested to be able to explain so clearly to other people

    • @Alice-at-Maven
      @Alice-at-Maven 13 днів тому +1

      My advice would be to break things down step by step and make things as practical as possible. Also, put yourself in the viewer's shoes - what would they know coming in, what questions would they have throughout, etc. - and do your best to address those things every step of the way. Good luck!

    • @h0ph1p13
      @h0ph1p13 13 днів тому

      @@Alice-at-Maven Thanks a lot, Alice!

  • @SM-vz1ek
    @SM-vz1ek 2 місяці тому

    Hello, very clear explantion !! what software do you use ?

    • @Alice-at-Maven
      @Alice-at-Maven 2 місяці тому +1

      For the demo, I'm using MySQL Workbench. Glad you enjoyed the video!

  • @Suma7777-qh4nn
    @Suma7777-qh4nn 2 місяці тому +1

    If someone hates to see 10 hour courses vedios and getting tied ignore watch this kind of vedios

  • @m-43-prateekkumar27
    @m-43-prateekkumar27 3 місяці тому +1

    Amazing

  • @Bhaskar_Joshi_there
    @Bhaskar_Joshi_there 4 місяці тому

    Where can I find your SQL courses? Where you're teaching as a instructor.

    • @MavenAnalytics
      @MavenAnalytics  4 місяці тому

      You can find all our courses at: mavenanalytics.io/online-data-analysis-courses 🙌

  • @omilkhouseo
    @omilkhouseo 3 місяці тому +1

  • @diamondsandlipgloss
    @diamondsandlipgloss 4 місяці тому +1

    a CTE must be advanced because I'm confused.... I'll have to re-watch a bunch of times until I understand

    • @MavenAnalytics
      @MavenAnalytics  4 місяці тому +1

      Yes, CTEs are an advanced topic! To understand them, we recommend first getting a solid grasp of the Big 6 and then getting some more exposure to subqueries.
      1. Our Big 6 video: ua-cam.com/video/yg4ZhrjqYf8/v-deo.html
      2. Our SQL guided project video (subquery example starts at 17:52): ua-cam.com/video/JaUKDbCXMX4/v-deo.html

    • @diamondsandlipgloss
      @diamondsandlipgloss 4 місяці тому +1

      @@MavenAnalytics thanks for the links!