No video

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

  Рет қаралды 10,713

Data with Baraa

Data with Baraa

Күн бұрын

Пікірлер: 159
@DataWithBaraa
@DataWithBaraa 4 ай бұрын
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 3 ай бұрын
Hi, Can you also share the presentation and cheat sheet for this course on your website. That'd be really helpful
@jephersonventura7510
@jephersonventura7510 6 күн бұрын
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!
@rajdhaubanjar
@rajdhaubanjar 23 күн бұрын
You don't need to go in any other channels to understand the window functions, this video is more than enough.
@DataWithBaraa
@DataWithBaraa 23 күн бұрын
Thank you! 😊 Really glad to hear the video was helpful
@Ascendify5
@Ascendify5 4 ай бұрын
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
@jephersonventura7510
@jephersonventura7510 5 күн бұрын
@@Ascendify5 this tutorial is the best out there!
@minjon56
@minjon56 21 сағат бұрын
Brilliant! 💙 Your talent to simplify such a complex concept is amazing. Thank you for sharing.
@DataWithBaraa
@DataWithBaraa 17 сағат бұрын
Thanks for the feedback ❤️
@krizzylovesnature
@krizzylovesnature 6 күн бұрын
Love how you explain it simply, I wish there are more activities or problems for us . Thanks alot dear.
@DataWithBaraa
@DataWithBaraa 4 күн бұрын
My pleasure
@sowmya6471
@sowmya6471 4 ай бұрын
This is actually a Granularity Level of explaination.. What a LOD explaination 👏👏👏👏👏
@DataWithBaraa
@DataWithBaraa 4 ай бұрын
Very smart! Thanks for the nice words
@ctvtv-ngogiahuy5807
@ctvtv-ngogiahuy5807 2 ай бұрын
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 2 ай бұрын
Wow thanks so much, your support means a lot for me and motivate me to make more content 🙂
@daayush6654
@daayush6654 Ай бұрын
Awesome content !!! Loved they way you explain everything with great visuals !! 🐐
@MegaJohnwesly
@MegaJohnwesly 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!!
@user-hr5bm4oe8f
@user-hr5bm4oe8f Ай бұрын
best resource to learn for sql
@XYZandRGB
@XYZandRGB 2 ай бұрын
Excellent presentation. I appreciate your hand-drawn diagrams and breakdowns.
@DataWithBaraa
@DataWithBaraa 2 ай бұрын
Thank you! I'm glad you enjoyed it!
@SC-mx4wp
@SC-mx4wp 27 күн бұрын
YOUR VIDEOS ARE AWESOME BRO ❤❤🎉🎉 KEEP IT UP!!! 🎉🎉
@godbhaigod
@godbhaigod 17 күн бұрын
Finally Finally Finally I understood the concept and reason behind the window function😢❤Big burden is OVER() now.
@DataWithBaraa
@DataWithBaraa 16 күн бұрын
I am happy it is OVER() :)
@wapikasamanta4780
@wapikasamanta4780 3 ай бұрын
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.
@sagarprajapati6026
@sagarprajapati6026 4 күн бұрын
Literally top notch content.....
@DataWithBaraa
@DataWithBaraa 4 күн бұрын
Thanks !
@Stuti12345
@Stuti12345 4 ай бұрын
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 4 ай бұрын
Tons of Thanks for your nice words, I'm glad that everyone is enjoy the course :)
@srikarreddy8252
@srikarreddy8252 21 күн бұрын
Man! you teach the topics so well with visualizing every step! thank you!👏
@DataWithBaraa
@DataWithBaraa 19 күн бұрын
Glad you think so!
@FRANELC-ss8sz
@FRANELC-ss8sz 4 ай бұрын
YOUR EXPLAINATION ARE SOOOOO GOOD I CAME TO WINDOW FUNCTION BY SIMPLE WAY THANK U LOTSSSS ❤❤ BARAA
@DataWithBaraa
@DataWithBaraa 4 ай бұрын
Thanks for the nice feedback !
@khawla092
@khawla092 Ай бұрын
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 🥰
@TheJADHAVRAM
@TheJADHAVRAM 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 2 ай бұрын
Thanks for the kind words ❤️
@DaddyYow20
@DaddyYow20 2 ай бұрын
wow! very useful tutorial, with a clear explanation and example. Hoping more content about data analysis you deserve a subscribed thank you!
@DataWithBaraa
@DataWithBaraa 2 ай бұрын
Much appreciated! I will keep pushing as long you guys are enjoying my content
@Theunemployedmen
@Theunemployedmen 25 күн бұрын
What a man you are , your voice is so soothing i heard it on normal speed and understood everything great content man!
@DataWithBaraa
@DataWithBaraa 25 күн бұрын
Wow, thanks dear ❤️
@mohammadthousif7439
@mohammadthousif7439 Ай бұрын
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.
@adrianoschwenkberg6773
@adrianoschwenkberg6773 4 ай бұрын
Highly educational, thank you
@mochamadsyahrizal
@mochamadsyahrizal 22 күн бұрын
You truly know how to teach well. Thanks for this tutorial!
@DataWithBaraa
@DataWithBaraa 19 күн бұрын
You're very welcome!
@farukhahmad1561
@farukhahmad1561 4 күн бұрын
I see a lot of hard work in your content, I hope you get 1M Soon.
@rezanurkabir70
@rezanurkabir70 4 ай бұрын
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 4 ай бұрын
Thanks for taking time writing this amazing feedback, I really appreciate it.
@shreyashmhatre9606
@shreyashmhatre9606 Ай бұрын
Hello, your teaching style is simple yet impactful, if you share dataset along with it, we can practice while watching
@hafedhabdulhafeedh3195
@hafedhabdulhafeedh3195 Ай бұрын
That's one of the best! Can't thank you enough!
@SC-mx4wp
@SC-mx4wp Ай бұрын
Bro, TOP MOST BEST CHANNEL ON KZfaq 🎉🎉🎉. KEEP IT UP. PLEASE HAVE MORE COMPLEX ON SQL + POWER BI BRO 🙏🙏🙏🎉🎉🎉
@sam_nyoike
@sam_nyoike 2 ай бұрын
The hand-drawn diagrams were super helpful in understanding the topic. Great teaching methodology!
@DataWithBaraa
@DataWithBaraa 2 ай бұрын
Thanks a lot! I'm happy to hear the hand-drawn diagrams made the topic clearer! 😊📝
@GowdaKiranGangadhar
@GowdaKiranGangadhar 4 ай бұрын
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 4 ай бұрын
Thank you for the amazing feedback :)
@jaideepthanage4934
@jaideepthanage4934 4 ай бұрын
Bhai....You are amazing teacher! Salute to you from India❤
@DataWithBaraa
@DataWithBaraa 3 ай бұрын
You are amazing too for leaving wonderful comment
@tarusheebhalla1196
@tarusheebhalla1196 18 күн бұрын
I totally loved your creative content.... so easy to understand lovedddd it
@DataWithBaraa
@DataWithBaraa 16 күн бұрын
Thank you so much 😀
@sapbo2284
@sapbo2284 3 ай бұрын
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 3 ай бұрын
Thanks for taking time writing this wonderful comment i really appreciate and happy to hear my content is helping. Have a nice day😉
@DeepakTiwari-et3bd
@DeepakTiwari-et3bd Ай бұрын
Thank you so much for such an amazing interactive session
@DataWithBaraa
@DataWithBaraa Ай бұрын
You are welcome :)
@shakir3373
@shakir3373 2 ай бұрын
That was super helpful, thank you!
@DataWithBaraa
@DataWithBaraa 2 ай бұрын
glad it helped, thanks for the nice comment
@deeoneill4159
@deeoneill4159 23 күн бұрын
So easy to follow, thank you
@DataWithBaraa
@DataWithBaraa 19 күн бұрын
Glad to hear than ❤️
@juancruz7836
@juancruz7836 2 ай бұрын
Thank you!! Really liked it, hope you complete this incredible course soon! We all appreciate this material :D
@DataWithBaraa
@DataWithBaraa 2 ай бұрын
Thanks dear :)
@ashutoshmishra4781
@ashutoshmishra4781 2 ай бұрын
You explain it very nicerly , hatsoff to you bara
@DataWithBaraa
@DataWithBaraa 2 ай бұрын
hank you so much! I'm really glad you liked it! 🙏😊
@Parvin-m1s
@Parvin-m1s Ай бұрын
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
@ferripradana4265
@ferripradana4265 4 ай бұрын
hi Bara, I'm a programmer, not a data scientist, but thanks a lot. Ten years ago, Windows functions didn't exist; I just found out in 2022, but I didn't know how they worked. And you explained clearly to us. Thanks
@rajeshantony74
@rajeshantony74 9 күн бұрын
Great lessons Baraa. I am a new subscriber now!!
@DataWithBaraa
@DataWithBaraa 9 күн бұрын
@@rajeshantony74 welcome to the channel and thanks for supporting ❤️
@Shokouhikia
@Shokouhikia 4 ай бұрын
thanks for your valuable contents
@DataWithBaraa
@DataWithBaraa 4 ай бұрын
So nice of you
@arnavsharma2485
@arnavsharma2485 14 күн бұрын
Great video
@gopikrishnasistla8896
@gopikrishnasistla8896 4 ай бұрын
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 4 ай бұрын
Thanks and welcome, so nice of you!
@kn5372
@kn5372 22 күн бұрын
So good. Thank you!!
@DataWithBaraa
@DataWithBaraa 19 күн бұрын
Glad you liked it!
@chidimbamalu3490
@chidimbamalu3490 4 ай бұрын
Like before viewing 👍
@DataWithBaraa
@DataWithBaraa 4 ай бұрын
:)
@user-og7vi4ot1i
@user-og7vi4ot1i 4 ай бұрын
hi Baraa thank you so much for your amazing videos please make videos on sql performance tuning and debugging please
@joyotiegbe1549
@joyotiegbe1549 2 ай бұрын
Excellent presentation. Thanks for sharing.
@DataWithBaraa
@DataWithBaraa 2 ай бұрын
You are welcome thanks !
@RohitKumar-kd5fj
@RohitKumar-kd5fj 20 күн бұрын
Correct 70 to 60 at 36.26 .... BTW the best video on SQL so far .Cheers Baraa
@DataWithBaraa
@DataWithBaraa 19 күн бұрын
Thanks for the info!
@RohitKumar-kd5fj
@RohitKumar-kd5fj 19 күн бұрын
@@DataWithBaraa Indeed thanks to you Barra. Please make videos on sql order of execution in complete details .
@SaadiaZahoor
@SaadiaZahoor 24 күн бұрын
Thanks for a wonderful lecture
@DataWithBaraa
@DataWithBaraa 24 күн бұрын
Most welcome!
@c0f2a
@c0f2a 2 ай бұрын
Thank you so much! I have learned a lot from this vid :)
@DataWithBaraa
@DataWithBaraa 2 ай бұрын
I'm so glad!
@reemkhaled1334
@reemkhaled1334 Ай бұрын
THANK YOU SO MUCH FOR THIS CONTANT
@DataWithBaraa
@DataWithBaraa Ай бұрын
WELCOME
@user-hr5bm4oe8f
@user-hr5bm4oe8f 27 күн бұрын
best teacher for sql ill learn tabealu from you too
@user-ez7jl6ts8x
@user-ez7jl6ts8x 12 күн бұрын
Getting such an amazing content for free feels like cheating.
@emilianolopezfilippini8220
@emilianolopezfilippini8220 Ай бұрын
Cant thank enough❤
@DataWithBaraa
@DataWithBaraa Ай бұрын
You are so welcome
@apamwamba
@apamwamba 3 ай бұрын
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 ()
@CuocSongQuanhTa204
@CuocSongQuanhTa204 4 ай бұрын
Awesome sharing. Thanks Baraa!
@DataWithBaraa
@DataWithBaraa 4 ай бұрын
your welcome
@SaadiaZahoor
@SaadiaZahoor 25 күн бұрын
Thanks 👍
@DataWithBaraa
@DataWithBaraa 16 күн бұрын
Welcome 👍
@alieut.k.wolobah2515
@alieut.k.wolobah2515 4 ай бұрын
Thank you so much Sir ❤❤
@DataWithBaraa
@DataWithBaraa 4 ай бұрын
you are very welcome!
@makarsh29
@makarsh29 3 ай бұрын
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 ???
@sureshsp2933
@sureshsp2933 3 ай бұрын
Wonderful bro
@cretive549
@cretive549 2 ай бұрын
Sir please make a video on multiple tables joins in detail and also tell how the on condition works in joins.
@DataWithBaraa
@DataWithBaraa 2 ай бұрын
Hi, i explained Joins in details in the Basic SQL Course, please check that out kzfaq.info/get/bejne/hLqXmM19zcurlYk.html
@cretive549
@cretive549 2 ай бұрын
@@DataWithBaraa But sir, in that tutorial you explained the concept of join using only 2 tables, but I am confused about more than 2 tables join.
@DataWithBaraa
@DataWithBaraa 2 ай бұрын
@@cretive549 noted I will do SQL project at the end of the course and tackle this topic
@cretive549
@cretive549 2 ай бұрын
@@DataWithBaraa please sir make seperate video on that. I want to learn multiple tables join in detail
@OmKale007
@OmKale007 5 күн бұрын
Your videos are very addictive. KZfaq please take strict actions
@DataWithBaraa
@DataWithBaraa 4 күн бұрын
Oh no !
@vikashsoni9200
@vikashsoni9200 3 ай бұрын
Thank you ❤
@DataWithBaraa
@DataWithBaraa 3 ай бұрын
Welcome 😍
@fatihhattatoglu6872
@fatihhattatoglu6872 4 ай бұрын
excellent explanation as always..
@DataWithBaraa
@DataWithBaraa 4 ай бұрын
Glad you liked it!
@lakshmie3203
@lakshmie3203 4 ай бұрын
Excellent Master🎉🎉❤
@DataWithBaraa
@DataWithBaraa 4 ай бұрын
Thank you! 😃
@ankitkeshari9362
@ankitkeshari9362 Ай бұрын
Baraaa, you are the best guru for me, but could you please change your microphone or speak louder so that we can clearly hear your voice without subtitles?
@DataWithBaraa
@DataWithBaraa Ай бұрын
@@ankitkeshari9362 thanks for the kind words ❤️. Oh I didn’t notice that my sound is not clear, are the others having same issue? I will try to be loader in the next videos!
@kom_senapati
@kom_senapati 4 ай бұрын
Fantastic content Baraa, I love ur videos keep up good work
@DataWithBaraa
@DataWithBaraa 4 ай бұрын
Thanks, i will try my best :)
@Cuxaven
@Cuxaven 3 ай бұрын
Great video, thank you! A bit curious, what's the software you're using to draw diagrams and stuff ?
@DataWithBaraa
@DataWithBaraa 3 ай бұрын
Thank you, I use drawio and procreate
@norianekrouf7279
@norianekrouf7279 Ай бұрын
Excellent video bro ! Can u make a total project in SQL
@ychen202
@ychen202 4 ай бұрын
So damn good...
@micaelzekarias1537
@micaelzekarias1537 4 ай бұрын
Thanks as always.
@DataWithBaraa
@DataWithBaraa 4 ай бұрын
You are always welcome
@kameshkannan6443
@kameshkannan6443 4 ай бұрын
How you create animation videos what kind of tool you using?
@DataWithBaraa
@DataWithBaraa 4 ай бұрын
I used ProCreate :)
@guiltycrown6024
@guiltycrown6024 28 күн бұрын
the last problem can also be solved using the table as an alias select customerid,totalsales,rank() over(order by totalsales desc) as ranked from (select customerid, sum(sales) as totalsales from sales.orders group by customerid) as a
@leonardoruiz1623
@leonardoruiz1623 4 ай бұрын
Thank you master!
@DataWithBaraa
@DataWithBaraa 4 ай бұрын
You are welcome 😎
@yashshah8688
@yashshah8688 4 ай бұрын
Hi Baraa, Can you please add interview questions as well?
@gurusasidharpattem4553
@gurusasidharpattem4553 4 ай бұрын
@baara can you post the full video for members only access ?
@calebfavour3380
@calebfavour3380 Ай бұрын
Please can you do python course? You teach differently.
@rezanurkabir70
@rezanurkabir70 26 күн бұрын
Can u tell me ,which website did you use to create all diagrams for better understanding?
@DataWithBaraa
@DataWithBaraa 26 күн бұрын
@@rezanurkabir70 I use drawio and procreate
@OmKale007
@OmKale007 5 күн бұрын
I wanna ask u Is there really coffee in that cup or is it just for fun
@DataWithBaraa
@DataWithBaraa 4 күн бұрын
Ofc !! Without coffee I can’t do anything !!
@kumezh
@kumezh Күн бұрын
hey, i wasn't able to download free data materials of this course.. can u please provide the link.
@qasimjan5258
@qasimjan5258 10 күн бұрын
Hi Baraa, we can use WHERE clause in WINDOW function inside FILTER function incase we are doing "Conditional Aggregation. Am I right?
@DataWithBaraa
@DataWithBaraa 10 күн бұрын
@@qasimjan5258 yes you can do that using Case when statement
@qasimjan5258
@qasimjan5258 9 күн бұрын
@@DataWithBaraa MAX(created_at) FILTER (WHERE type = 'Refinance') OVER (PARTITION BY user_id) AS most_recent_refinance
@Karansamal11
@Karansamal11 3 ай бұрын
SELECT Valuable_day FROM Days WHERE Valuable_day = You;
@norianekrouf7279
@norianekrouf7279 Ай бұрын
In real situation when we used frame what is the goal?!
@nikhilsharma-jj6vd
@nikhilsharma-jj6vd 3 ай бұрын
How can I find the dataset . please help
@DataWithBaraa
@DataWithBaraa 3 ай бұрын
Hi it is in the download link in video description 🙂
@nikhilsharma-jj6vd
@nikhilsharma-jj6vd 3 ай бұрын
@@DataWithBaraa I got the data set thank you so much. When can we expect the sketchnotes.. For SQL window functions.. Are you planning to release them just like Tableau?
@DataWithBaraa
@DataWithBaraa 3 ай бұрын
@@nikhilsharma-jj6vd yes but at the end of the course :)
@nikhilsharma-jj6vd
@nikhilsharma-jj6vd 3 ай бұрын
@@DataWithBaraa I'm waiting eagerly.. I've watched two videos and can surely say. No one has expanded and explained the window functions like you've done. A big huge thank you. ❤️
@DataWithBaraa
@DataWithBaraa 3 ай бұрын
@@nikhilsharma-jj6vd really glad you liked it, and your support to the channel will help reach others ! Thanks for the kind words
@drorbenami
@drorbenami 2 ай бұрын
Clearer at .75 speed….
@DataWithBaraa
@DataWithBaraa Ай бұрын
I will slow down 😉
@drorbenami
@drorbenami Ай бұрын
@@DataWithBaraa no problem….very good lessons….I shared your videos with all the students in my school…..
@mkkhan8695
@mkkhan8695 26 күн бұрын
Watching in 1.5x 🙌
@drorbenami
@drorbenami 24 күн бұрын
@@mkkhan8695 watching yes…..understanding…..how much ?
SQL Aggregate Window Functions | COUNT, AVG, SUM, MAX, MIN | #SQL Course #4
1:07:34
Zombie Boy Saved My Life 💚
00:29
Alan Chikin Chow
Рет қаралды 27 МЛН
女孩妒忌小丑女? #小丑#shorts
00:34
好人小丑
Рет қаралды 84 МЛН
If Barbie came to life! 💝
00:37
Meow-some! Reacts
Рет қаралды 77 МЛН
SQL Window Functions in 10 Minutes
10:13
Colt Steele
Рет қаралды 72 М.
How I'd Learn Data Analytics in 2024 (If I Had to Start Over)
14:08
CareerFoundry
Рет қаралды 799 М.
The Birth of SQL & the Relational Database
20:08
Asianometry
Рет қаралды 198 М.
Why do databases store data in B+ trees?
29:43
Arpit Bhayani
Рет қаралды 36 М.
Learn GROUP BY vs PARTITION BY in SQL
14:03
Anthony Smoak
Рет қаралды 35 М.
Zombie Boy Saved My Life 💚
00:29
Alan Chikin Chow
Рет қаралды 27 МЛН