SQL Window Functions Basics | Partition By, Order By, Frame |

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

КОМЕНТАРІ • 229

  • @DataWithBaraa
    @DataWithBaraa  7 місяців тому +10

    If you want to see more videos like this, Subscribe for more data tutorials like this :) bit.ly/3GiCVUE
    ---------------------------------
    ⏱ TIMESTAMPS ⏱
    ---------------------------------
    00:00 intro
    00:21 Window vs Group By
    12:40 Window Syntax
    17:44 Partition By Clause
    27:55 Order By Clause
    32:13 Frame Clause
    46:39 4 Rules of Window
    54:17 Summary
    Enjoy !

    • @nikhilsharma-jj6vd
      @nikhilsharma-jj6vd 6 місяців тому +1

      Hi, Can you also share the presentation and cheat sheet for this course on your website. That'd be really helpful

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

      Hey Baraa!
      Just wanted to say a huge thank you for your SQL tutorials! They’ve been super helpful for me. If it’s not too much trouble, could you please share the SQL file and the presentation file of Advanced SQL Course | For Data Analytics? I’d really appreciate it!

  • @ricardod671
    @ricardod671 5 днів тому +1

    This video is pure gold! I’ve taken SQL courses before, including "SQL for Data Analysts" from Udacity and "SQL para Analista de Datos" from A2 Capacitación, and I’ve even worked on personal projects using window functions. But this video perfectly captures how I imagined a class on window functions should be taught. The section on frames was a game-changer for me-I finally understand the logic behind how they work.

  • @abdulkayumshaikh5411
    @abdulkayumshaikh5411 5 днів тому +2

    Respect to your hard work even a paid course would not do this much.
    What I am learning are:
    1 ) SQL concepts
    2 ) How To break down every part with examples - Building my problem solving skills
    3 ) Visualizations of everything which is helping me while building logic by visualising the output data.

  • @Stephanie-ng9fw
    @Stephanie-ng9fw 3 дні тому +1

    Thank God I found this video. I had a hard time to understand Window function, your ditactics is superb. Knowing how to teach is a superpower in fact, and you have it, sir.

  • @Ascendify5
    @Ascendify5 7 місяців тому +29

    successfully completed your sql 4 hours course , if i have a teacher like u i can master advance sql in 2months your course is criminally underrated,i have hope your channel will get what it deserves

  • @deepam.g4558
    @deepam.g4558 4 дні тому +1

    You are god of content creators. Thank you so much for putting so much effort in visualizing the course.

  • @harshmalhotra1967
    @harshmalhotra1967 2 місяці тому +6

    This is the best UA-cam channel I have ever seen for SQL The way he is explaining in really awesome

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

    You don't need to go in any other channels to understand the window functions, this video is more than enough.

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

      Thank you! 😊 Really glad to hear the video was helpful

  • @Robot-e4r
    @Robot-e4r Місяць тому +4

    You have an amazing teaching skill, breaking down the concepts into so graphically simple way. It's incredible. I'm learning data analytics to switch from non IT to IT field and this is the first channel which has this easy way of explaining the way sql works. It's just amazing.

  • @MegaJohnwesly
    @MegaJohnwesly 6 місяців тому +3

    Yesterday, I messed up in test with window functions...Came here! This really helped me. Thank alot Baraa!! You are really gifted with teaching!!

  • @RakshitDwivedi-pq8qc
    @RakshitDwivedi-pq8qc Місяць тому +1

    One of those videos which after watching i really felt thankful to whoever brought you on this Earth. You are truly a Godsend. Thank you so much for this wonderful tutorial. You have made me so invested to follow along rest of your Window function videos and other advance SQL topics. Keep up the great work!

  • @igwedavidadimchinobi4739
    @igwedavidadimchinobi4739 Місяць тому +2

    Without mincing words you are the definition of an AMAZING TEACHER. The animations are top-notch, making understanding of abstract concepts pretty simple. Simply put, with every sense of humility, BARAA, you are the best SQL teacher I have ever seen on UA-cam. I love you and your work so much.

  • @TDMac11
    @TDMac11 17 днів тому +1

    You're the most amazing teacher on UA-cam. I've struggled with window functions in live coding interviews but you really made it understandable. Thank You.

    • @DataWithBaraa
      @DataWithBaraa  16 днів тому

      Wow thanks really nice to hear that ✌️

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

    Baraa your tutorials are unlike many others. You break thigns down in a very digestible way, then you give us examples in SQL Server.
    10/10 Tutorial!

  • @DivyYadav-hg2js
    @DivyYadav-hg2js Місяць тому +3

    ur amazinf brother the best channel of data scienece ever made ur teaching styles are just fantastic , PLEASE DONT STOP MAKING VIDEOS UR AMAZING UR PROVIDING THE QUALITY WHICH WE WOULDNT HAVE GOT EVEN IN THE PAID MATERIAL HANDS DOWN TO U

  • @marywangui7117
    @marywangui7117 2 дні тому +1

    am glad to find your channel today . you are a great teacher

  • @pinkythanu8766
    @pinkythanu8766 10 днів тому +1

    Hats off to you for sharing so much valuable contents for free ❤❤ THANK YOU SO MUCH sir... You are my Tableau and Sql guru

  • @mdfaisal9640
    @mdfaisal9640 День тому

    I am really so grateful to you for providing such a high quality content free. May god bless you.....

  • @belqassemmehdielyagoubi5078
    @belqassemmehdielyagoubi5078 8 днів тому +1

    Great video! It's clear and helpful. Thanks for sharing your SQL knowledge!

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

    This fantastic teaching video is the best I've seen; even with my non-coding background, I was able to understand it in one sitting.

  • @poojabihani-m9d
    @poojabihani-m9d 2 місяці тому +1

    Hey Bara , Thank You So Much!! I was delaying or procrastinating alot in learning advance sql because even after taking various tutorials i was not completely getting or understanding these functions. but here after only completing this 1 tutorial of window functions i am so excited and curious to learn remaining advance sql . I would be forever grateful to you for not letting me give up on sql . PLEASE NEVER STOP TEACHING THESE CONCEPTS!! Thank You again soo much!! Love and Respect from India

  • @Stuti12345
    @Stuti12345 7 місяців тому +2

    Thank you so much! You are the best teacher to learn from. I'm an aspiring data analyst from a completely different education background and your courses have helped me so much. I am learning Tableau from you and now advanced SQL. I can't thank you enough.

    • @DataWithBaraa
      @DataWithBaraa  7 місяців тому +1

      Tons of Thanks for your nice words, I'm glad that everyone is enjoy the course :)

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

    I have seen multiple videos related to Tableau and SQL, but no one explains them like you do. You helped me a lot to clear up Tableau and SQL concepts.❤

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

      Thanks for the kind words ❤️

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

    Awesome!! I never seen such tutorial for free of cost !! much appreciated and keep up the good work of spreading knowledge!!

  • @wapikasamanta4780
    @wapikasamanta4780 6 місяців тому +2

    You explain the complex things with simple steps and make it easily understandable, you are irreplaceable. Thank you for your efforts for sharing the knowledge.

  • @sowmya6471
    @sowmya6471 7 місяців тому +4

    This is actually a Granularity Level of explaination.. What a LOD explaination 👏👏👏👏👏

    • @DataWithBaraa
      @DataWithBaraa  7 місяців тому +1

      Very smart! Thanks for the nice words

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

    Your explanations are literally top notch easy to understand and follow, the examples are also right on point. Most importantly the way you explain with your diagrams just makes it super easy for a beginner to grasp such complex and important concepts. You deserve a lot of appreciation and support for the kind of content you are doing. Big support and love, keep doing the excellent work.

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

    That is the best class regarding SQL Window functions I have ever seen. Congratulations on your outstanding work!!

  • @ctvtv-ngogiahuy5807
    @ctvtv-ngogiahuy5807 5 місяців тому +5

    I wish I could subscribe a thousand times!!! one single subscription is not enough to justify this level of quality for your content !!!

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

      Wow thanks so much, your support means a lot for me and motivate me to make more content 🙂

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

    Cant thank you enough for this course, and how it easily and visually explained, perfect timing for my interview, we need you in our lives 🥰

  • @VigneshIyer-z9w
    @VigneshIyer-z9w 25 днів тому +1

    Hi Baraa, Thank you so much for providing a top class content. Trust me, this is the best quality course I have found across all platforms. Even the paid courses aren't this neat. You are amazing. Few things I'd like you to add- 1. Can you provide slides for advanced materials like you did for the beginner course? It helped me a lot. 2. Eagerly waiting for Python classes, right now as I see, Python tops the charts for next content in your polls that you put in the website. When can we expect it come out? I'd like to start the learning process from person like you because you help build the strong fundamentals effectively. Thank you so much for what you are doing. More power to you.

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

    What a simple and easy explanation !! Thank you for the amazing tutorial

  • @padhi100
    @padhi100 14 днів тому +1

    Best UA-cam content and best source of learning.. I have shared your channel link to my Professors so they can pass on to other students in the University.

    • @DataWithBaraa
      @DataWithBaraa  14 днів тому +1

      Oh really !! Thank you, I hope the students will like it 😊

  • @akilagopinathg
    @akilagopinathg 4 дні тому +1

    Great teaching, Thanks a ton!

  • @sritamkumarrout4499
    @sritamkumarrout4499 17 днів тому +1

    Best window function class ever❤

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

    Great content man. This really helped me understand window functions more deeply

  • @muhammadtahirmehmood7869
    @muhammadtahirmehmood7869 9 днів тому +1

    Great work and presentation along with wonderful detail

  • @ShalomMansoor-d8z
    @ShalomMansoor-d8z 2 місяці тому +1

    You are great. A lot of work went into this - GREAT presentation. Thank you !!!

  • @HarshSingh-j8n
    @HarshSingh-j8n 2 місяці тому +1

    Best Vedio and best explanation in my entire Education I have ever seen. Thanks a lot.

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

    Man! you teach the topics so well with visualizing every step! thank you!👏

  • @gopikrishnasistla8896
    @gopikrishnasistla8896 7 місяців тому +2

    Hi sir . As per this video @time 57 minutes and 11 seconds Baraa sir videos for all learners.
    From my side Lot of thanks for your idea , thinking and hard work which will benefit all learners.

    • @DataWithBaraa
      @DataWithBaraa  7 місяців тому

      Thanks and welcome, so nice of you!

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

    What a man you are , your voice is so soothing i heard it on normal speed and understood everything great content man!

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

    Love how you explain it simply, I wish there are more activities or problems for us . Thanks alot dear.

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

    what an amazing teacher 🤩🤩🤩🤩

  • @SuhasGupta-x6n
    @SuhasGupta-x6n 18 днів тому +1

    best ever tutorials for sql ....thank you so much sir...!

  • @XYZandRGB
    @XYZandRGB 5 місяців тому +4

    Excellent presentation. I appreciate your hand-drawn diagrams and breakdowns.

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

      Thank you! I'm glad you enjoyed it!

  • @sapbo2284
    @sapbo2284 6 місяців тому +1

    Hi Baraa, You have such command over the subject and your teaching methodology is excellent.This is the first time I've deeply understood the concepts of window functions.Thank you so much.

    • @DataWithBaraa
      @DataWithBaraa  6 місяців тому

      Thanks for taking time writing this wonderful comment i really appreciate and happy to hear my content is helping. Have a nice day😉

  • @FRANELC-ss8sz
    @FRANELC-ss8sz 7 місяців тому +4

    YOUR EXPLAINATION ARE SOOOOO GOOD I CAME TO WINDOW FUNCTION BY SIMPLE WAY THANK U LOTSSSS ❤❤ BARAA

  • @Parvin-m1s
    @Parvin-m1s 4 місяці тому +1

    Great Tutorial , very good examples with clear explanation, all you need to know about window functions in SQL, you are a legend sir, thank you

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

    Brilliant! 💙 Your talent to simplify such a complex concept is amazing. Thank you for sharing.

  • @poojabihani-m9d
    @poojabihani-m9d 2 місяці тому +1

    Best Tutorial ever !!!!

  • @rezanurkabir70
    @rezanurkabir70 7 місяців тому +1

    Your dedication to providing valuable content is truly commendable. The effort you put into each video is evident and greatly appreciated by your audience. Your channel serves as a reliable source of information and guidance for viewers of all backgrounds. Thank you for consistently delivering high-quality content that enriches the lives of many. Keep up the excellent work!

    • @DataWithBaraa
      @DataWithBaraa  7 місяців тому

      Thanks for taking time writing this amazing feedback, I really appreciate it.

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

    You truly know how to teach well. Thanks for this tutorial!

  • @RohitKumar-kd5fj
    @RohitKumar-kd5fj 3 місяці тому +2

    Correct 70 to 60 at 36.26 .... BTW the best video on SQL so far .Cheers Baraa

    • @DataWithBaraa
      @DataWithBaraa  3 місяці тому

      Thanks for the info!

    • @RohitKumar-kd5fj
      @RohitKumar-kd5fj 3 місяці тому +1

      @@DataWithBaraa Indeed thanks to you Barra. Please make videos on sql order of execution in complete details .

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

    Thanks man this helped me a lot

  • @jaideepthanage4934
    @jaideepthanage4934 7 місяців тому +2

    Bhai....You are amazing teacher! Salute to you from India❤

    • @DataWithBaraa
      @DataWithBaraa  7 місяців тому +1

      You are amazing too for leaving wonderful comment

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

    Awesome content !!! Loved they way you explain everything with great visuals !! 🐐

  • @SC-mx4wp
    @SC-mx4wp 4 місяці тому +3

    Bro, TOP MOST BEST CHANNEL ON UA-cam 🎉🎉🎉. KEEP IT UP. PLEASE HAVE MORE COMPLEX ON SQL + POWER BI BRO 🙏🙏🙏🎉🎉🎉

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

    The hand-drawn diagrams were super helpful in understanding the topic. Great teaching methodology!

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

      Thanks a lot! I'm happy to hear the hand-drawn diagrams made the topic clearer! 😊📝

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

    Finally Finally Finally I understood the concept and reason behind the window function😢❤Big burden is OVER() now.

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

    Your explanation awesome Baraaa😇😇😇😇😇😇😇

  • @nitinrawat-g6t
    @nitinrawat-g6t 4 місяці тому +1

    best resource to learn for sql

  • @SC-mx4wp
    @SC-mx4wp 3 місяці тому +2

    YOUR VIDEOS ARE AWESOME BRO ❤❤🎉🎉 KEEP IT UP!!! 🎉🎉

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

    That's one of the best!
    Can't thank you enough!

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

    Appreciate your hard work. Thank from india

  • @chidimbamalu3490
    @chidimbamalu3490 7 місяців тому +2

    Like before viewing 👍

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

    Thanks! great content

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

    Literally top notch content.....

  • @GowdaKiranGangadhar
    @GowdaKiranGangadhar 7 місяців тому +2

    Hi Bara, I must commend the explanation of window functions provided in the video and it was truly exceptional and thorough. Overall, the explanation was superb!!!!

    • @DataWithBaraa
      @DataWithBaraa  7 місяців тому

      Thank you for the amazing feedback :)

  • @nitinrawat-g6t
    @nitinrawat-g6t 3 місяці тому +1

    best teacher for sql ill learn tabealu from you too

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

    Thank you!! Really liked it, hope you complete this incredible course soon! We all appreciate this material :D

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

    EXCELLENT! you explained it well with amazing animation. You must be more than a teacher! Thanks, learned a lot. New sub here.

  • @adrianoschwenkberg6773
    @adrianoschwenkberg6773 7 місяців тому +2

    Highly educational, thank you

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

    I totally loved your creative content.... so easy to understand lovedddd it

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

    Hey Baraa!
    Just wanted to say a huge thank you for your SQL tutorials! They’ve been super helpful for me. If it’s not too much trouble, could you please share the SQL file and the presentation file of Advanced SQL Course | For Data Analytics? I’d really appreciate it!

  • @farukhahmad1561
    @farukhahmad1561 3 місяці тому

    I see a lot of hard work in your content, I hope you get 1M Soon.

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

    great and clear explanation, thank you!

  • @ashutoshmishra4781
    @ashutoshmishra4781 5 місяців тому +3

    You explain it very nicerly , hatsoff to you bara

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

      hank you so much! I'm really glad you liked it! 🙏😊

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

    Excellent presentation. Thanks for sharing.

  • @DeepakTiwari-et3bd
    @DeepakTiwari-et3bd 5 місяців тому +1

    Thank you so much for such an amazing interactive session

  • @makarsh29
    @makarsh29 6 місяців тому +1

    select Baraa
    sum(very lovely explanation) over(such complicated topic, Lots of Blessing and love ❤❤❤❤ to you)
    from Akarsh;
    ---i know its hard for you to ignore the syntax error (but i think you got it)
    although, at 45:24 the default frame is 'RANGE BETWEEN UNBOUNDED PRECEDING AND CURRENT ROW ' not row (in my knowledge)
    and
    how can i use frame in data analysis ???

  • @CuocSongQuanhTa204
    @CuocSongQuanhTa204 7 місяців тому +1

    Awesome sharing. Thanks Baraa!

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

    Thanks for a wonderful lecture

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

    Hello, your teaching style is simple yet impactful, if you share dataset along with it, we can practice while watching

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

    Just awesome !!!

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

    So easy to follow, thank you

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

    Great lessons Baraa. I am a new subscriber now!!

    • @DataWithBaraa
      @DataWithBaraa  3 місяці тому

      @@rajeshantony74 welcome to the channel and thanks for supporting ❤️

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

    wow! very useful tutorial, with a clear explanation and example. Hoping more content about data analysis you deserve a subscribed thank you!

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

      Much appreciated! I will keep pushing as long you guys are enjoying my content

  • @apamwamba
    @apamwamba 6 місяців тому +1

    Excellent stuff Bara!! I love the illustrations esp on Window Frames. Please confirm on the default window frame. Is it RANGE BETWEEN UNBOUNDED PRECEDING AND CURRENT ROW / ROWS BETWEEN UNBOUNDED PRECEDING AND CURRENT ROW or both. Also what is the default window frame for ()

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

    Great video

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

    fantastic please keep going

  • @quickIslamicLessons-fj6cs
    @quickIslamicLessons-fj6cs Місяць тому +1

    Amazing

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

    THANK YOU SO MUCH FOR THIS CONTANT

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

    Thank you!

  • @JoniPriya
    @JoniPriya 7 місяців тому +2

    hi Baraa thank you so much for your amazing videos please make videos on sql performance tuning and debugging please

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

    So good. Thank you!!

  • @Shokouhikia
    @Shokouhikia 7 місяців тому +1

    thanks for your valuable contents

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

    Thank you so much! I have learned a lot from this vid :)

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

    Thanks 👍

  • @Cuxaven
    @Cuxaven 6 місяців тому +1

    Great video, thank you! A bit curious, what's the software you're using to draw diagrams and stuff ?

    • @DataWithBaraa
      @DataWithBaraa  6 місяців тому

      Thank you, I use drawio and procreate