SQL Aggregate Window Functions | COUNT, AVG, SUM, MAX, MIN |

  Рет қаралды 16,983

Data with Baraa

Data with Baraa

Күн бұрын

Пікірлер: 161
@DataWithBaraa
@DataWithBaraa 7 ай бұрын
If you want to see more videos like this, Subscribe for more data tutorials like this :) bit.ly/3GiCVUE ⏱ TIMESTAMPS ⏱ --------------------------------- 00:00 intro 00:00:28 What are Window Aggregate Functions? 00:02:50 Window Function: COUNT 00:19:33 Window Function: SUM 00:26:58 Window Function: AVG 00:36:02 Window Function: MIN & MAX 00:45:39 Running Total & Rolling Total 00:55:15 Moving Average 01:04:22 Summary Enjoy ☕
@pinakastra
@pinakastra Ай бұрын
I'm not sure whether you would ever come across my comment or not, but just need to say a very big "Thank You". I am one of those thick headed people who cannot understand any concept easily unless it's broken into very basic pieces. Truth be told I have been working with Python from last 5+ years, I have worked on a lot a big projects including Backend, Automation, AI/ML projects, etc. successfully, even led a team of people but I always used to run away from SQL as I felt very bored whenever I started. But you my friend, the way you have taught me SQL is just out of the box. The only person who actually made me interested in learning this is "YOU" and I will always be thankful to you for that, forever.
@DataWithBaraa
@DataWithBaraa Ай бұрын
Wow amazing thank you for taking your time writing your experience, I am really glad to help!
@SAhmBal89
@SAhmBal89 19 күн бұрын
I've consumed many other contents and even taken paid courses, but it felt like something was still missing to help me understand things clearly. However, after watching your content, I feel like I don't need to look elsewhere. The way you explain advanced queries in simple terms is superb. For me, your content is truly invaluable - it's like finding treasure. Thank you.
@MALIK_AR7
@MALIK_AR7 8 ай бұрын
u deserve a Nobel peace price for ur services barra
@DataWithBaraa
@DataWithBaraa 7 ай бұрын
Oh thats a lot but thanks dear
@deepam.g4558
@deepam.g4558 Ай бұрын
I agree
@kevinrambo
@kevinrambo Ай бұрын
Superbly explained and you speak very fluently. No 'ums', 'uhs', 'likes', and 'ya knows' that are so common. Thank you for posting, big fan here!
@jephersonventura7510
@jephersonventura7510 4 ай бұрын
This is my 2nd comment on your videos and I will again say that you are doing wonders in teaching me advanced things. 6 months ago I lost my job and been looking to pivot into Analytics. You've now empowered me with tools and education that I thought was impossible. Thank you again for your hard work. Hope you see this comment and see the impact you're having on thousands of people!
@DataWithBaraa
@DataWithBaraa 4 ай бұрын
Oh wow, ofc i read each comment, first of all i am sorry that you lost your job, but in other hand i am happy to hear that i was able to make a change in your life, this is exactly why i make these courses for free to help people and specially students that can’t afford paying for expensive courses. Your comments has motivates me more than you imagine to keep pushing and generate more content, because it is not easy to do as this is side thing i do beside my job. Thanks again and i hope you find a better job soon, keep me updated please.
@LMessii10
@LMessii10 2 ай бұрын
Criminally underrated, after spending 2 days searching numerous videos about these SQL functions and getting confused everytime, thankfully i found your channel. Crystal clear explanation. Absolutely the best ! I am highly obliged Baara. Thank you
@DataWithBaraa
@DataWithBaraa 2 ай бұрын
Great to hear!
@poojabihani-m9d
@poojabihani-m9d 3 ай бұрын
Thank you Bara, this is my 2nd comment as this is my 2nd tutorial which I watched from your channel. and all i want to say Thank You so Much, You are an answer to my prayers as i remember yesterday i was crying because I Have watched alot of tutorials on youtube for did not satisfied with the content and teaching style and today i found your channel and tears of happiness are flowing through my eyes as till this time i have completed 2 of your tutorial on window function and make notes and i am getting everything you are explaining and understanding each of these topics , PLEASE NEVER STOP PROVIDING THESE TOP NOTCH CONTENT AND waiting for more advanced tutorials ( stored procedures, triggers, indexes and more) . Thank you so much for providing these contents for free as there are students like me who cannot afford expensive courses and there are you an angel to me , really made my day and plays a very important role in my life !!!
@PowerBiWithVivek
@PowerBiWithVivek 20 күн бұрын
I just cant get enough of it, such a well explained tutorial, i have just watched the 2 hours of window functions, and feel i am hungry for more, such a nice tutorial.
@wonderoverload0
@wonderoverload0 11 күн бұрын
So impressive that I just bought your Tableau course on Udemy.
@firstNamLastName-x6n
@firstNamLastName-x6n Ай бұрын
what a teacher you are man..! damn good... thank for this tutorials..
@alexshat4715
@alexshat4715 Ай бұрын
Baraa thank you for the detailed explanation, not every teacher can explain complex things with simple examples. I am very glad that I came across your videos) Thank you for the excellent content and knowledge.
@apostoloskozanitis5688
@apostoloskozanitis5688 27 күн бұрын
A massive thanks to you Bara for offering to us this really precious content ! We really apreciate it
@DataWithBaraa
@DataWithBaraa 27 күн бұрын
@@apostoloskozanitis5688 thanks dear glad you liked it ❤️❤️
@azaansfunworld4300
@azaansfunworld4300 7 ай бұрын
I don't miss any of your videos. I have never seen anyone explaining so clearly, feels like wow!
@DataWithBaraa
@DataWithBaraa 7 ай бұрын
Wow amazing feedback thanks for supporting 😀
@maoquanjiao2857
@maoquanjiao2857 11 күн бұрын
Thanks your great work for The SQL and Tableau. That gave me a lot of helping for Data Analysis project. Your are the best Teacher!!
@samhudaya7549
@samhudaya7549 8 ай бұрын
Your content is exceptional, especially considering it's freely available. I've watched your entire Tableau series, and the concepts are crystal clear. Much appreciated! Can you do looker videos also
@DataWithBaraa
@DataWithBaraa 8 ай бұрын
Thank s I appreciate your words, I will consider it 😊
@umarahmad2817
@umarahmad2817 3 ай бұрын
Dear Bara, I am from Pakistan. I have no words, to describe my love and gratitude for you. Only Allah can give you better Jaza(reward).
@GowdaKiranGangadhar
@GowdaKiranGangadhar 7 ай бұрын
Hey, Bara! Your explanation was clear and easy to follow. I really appreciated how you broke down all the topics step by step. Now, I'm eagerly awaiting for the next video
@DataWithBaraa
@DataWithBaraa 7 ай бұрын
Awesome, thank you!
@sakshideshmukh2130
@sakshideshmukh2130 4 ай бұрын
absolutely the best advance SQL course out there!
@DataWithBaraa
@DataWithBaraa 4 ай бұрын
Glad you think so!
@SahilGupta-s2w
@SahilGupta-s2w Ай бұрын
Best faculty to master Sql for data analysis🎉❤
@ImtiyazMohammed-mp8mp
@ImtiyazMohammed-mp8mp Ай бұрын
The time and effort you've put is evident, love the explanation and the visualization. I know you are at 36k subscribers now but soon it will be millions InshaAllah. Love your work. Thank you.
@DivyYadav-hg2js
@DivyYadav-hg2js 2 ай бұрын
please dont stop braa loved ur channel
@akashyuvaraj7275
@akashyuvaraj7275 Ай бұрын
Love from India Thankyou for wonderful tutorial sir
@arbazblog786
@arbazblog786 7 күн бұрын
bara baro, first time i have seen master of sql in youtube and you have made advance sql in easiest and simple , thank you a lot bro. plz make more video regrading complet python tool
@DivyYadav-hg2js
@DivyYadav-hg2js 2 ай бұрын
ur amaing baraa im a student and in love with ur videos highly recommend this channel for complete information as on all the rest channel no one is providing indepth clarity and lacking the complete information ur amazing my friend
@AchalZensar
@AchalZensar 8 ай бұрын
Awesome tutorials on Window Functions. Very detail-oriented. Keep up the great work Baraa!
@Humanity_matters_1st
@Humanity_matters_1st 4 ай бұрын
Wow, this tutorial was super helpful! You explained everything so clearly and made even the tricky parts easy to understand. Thanks for taking the time to create such high-quality content-can't wait to watch more of your videos!
@DataWithBaraa
@DataWithBaraa 4 ай бұрын
Thanks for your kind support, glad you liked it ❤️
@MuhammadEhtisham-cm5vr
@MuhammadEhtisham-cm5vr 5 ай бұрын
the best content and page i ever found , plz complete the series , you are the best bara !
@DataWithBaraa
@DataWithBaraa 5 ай бұрын
@@MuhammadEhtisham-cm5vr thanks 🙏 I’ll do my best ❤️
@user-wc1wu3ls9d
@user-wc1wu3ls9d 5 ай бұрын
Wacthing from Indonesia, you are the best teacher i found in this platform
@DataWithBaraa
@DataWithBaraa 5 ай бұрын
Love from Germany ! Thanks 🙏
@ayushshukla5255
@ayushshukla5255 7 ай бұрын
Sir, you are amazing whether we talk about skills or presentation visuals or anything , Just a humble request please create a full tutorial for SQL advanced
@DataWithBaraa
@DataWithBaraa 7 ай бұрын
Nice to hear, I am working on it 👍
@klid662
@klid662 9 күн бұрын
Bro, i have learn from you about tableau and then try to learn sql. You are far superior than other youtuber due to give explanation each concept
@rajkumarpandey3788
@rajkumarpandey3788 2 ай бұрын
This was amazing thing which I have seen ever for SQL teaching skills, it will give more values to your teaching if you also provides the ppt which you are presenting for last movement revision.
@vikashsoni9200
@vikashsoni9200 7 ай бұрын
Thank you, sir. You have great knowledge. Your teaching style is very good.
@tomylapoiss452
@tomylapoiss452 2 ай бұрын
Thank you this tutorial. At 26:54 when you are calculating the percentage contribution by product, you actually did the contribution by order… I was expecting you to group sales by product before dividing by the total sales.
@ekambat
@ekambat 2 ай бұрын
undoubtedly the best..Thanks Baraa
@khalidazizi8346
@khalidazizi8346 5 ай бұрын
I don't know how to appreciate you. You are the best among all
@Dennisaj
@Dennisaj 5 ай бұрын
*"This is the most CRIMINALLY UNDERRATED KZbin channel barn NONE!!!" Brah... Can you imagine if you did an entire 20-40 hour course on Java, C#, Python, or C++?*
@DataWithBaraa
@DataWithBaraa 5 ай бұрын
@@Dennisaj thanks! Sadly over 75% of viewer watching continues my content, don’t support the channel by subscribing, liking and commenting. Which leads KZbin algorithm not to suggest my content with others. I hope in future that I can reach more people otherwise I will be forced to stop or make my courses with payment which I really hate to do and try to keep it for free because there are many students that can’t effort to buy courses.
@sreenidhi3342
@sreenidhi3342 4 ай бұрын
Thanks a lot ​@@DataWithBaraa
@rezanurkabir70
@rezanurkabir70 8 ай бұрын
Thank you for another fantastic SQL tutorial! Your explanations are clear and easy to follow. 👌
@dayal4256
@dayal4256 12 күн бұрын
Very Big Thank you for cutting edge clear content with perfect real time examples. Expecting More Valuable Content from your side like this , Once Thank you so much for the Content and your teaching style !!
@shubh_pokharkar8145
@shubh_pokharkar8145 2 күн бұрын
sum(expression ) over( partition by expression order by expression frame(row or range btw lower limit to higher ) in over inside parenthesis we write or define window or partition on which function to be exectuded , use partition by if want to creatre multiple windows in table for calculations and order by to sort the rows inde wondows or entire window and frame clause is used to define we want function to be executed on entire prtition or subset of rows in that partition
@OscarBalwin
@OscarBalwin 6 ай бұрын
Thank you for your dedication in helping us all in expanding our knowledge and understanding! You are really above and beyond instructor -big appreciation Baraa
@DataWithBaraa
@DataWithBaraa 6 ай бұрын
Hi Oscar, thanks for the amazing feedback! I really appreciate it.
@DivyYadav-hg2js
@DivyYadav-hg2js 2 ай бұрын
im glad i found u bara
@FirangizMuslumzada
@FirangizMuslumzada 4 ай бұрын
this course is just superb! you are the teacher of all teachers . cheers, baraa!
@srikarreddy8252
@srikarreddy8252 4 ай бұрын
This is THE BEST video on aggregated window functions!!
@DataWithBaraa
@DataWithBaraa 4 ай бұрын
Nice ❤️
@ashutoshmishra4781
@ashutoshmishra4781 6 ай бұрын
Your technique of explaining by visual are just amazing🔥🔥
@DataWithBaraa
@DataWithBaraa 6 ай бұрын
Thanks a lot! I'm glad you enjoy it! 🎉🔥
@letsdomistakes
@letsdomistakes 4 ай бұрын
Thank you Baraa for these amazing tutorials.
@DataWithBaraa
@DataWithBaraa 4 ай бұрын
@@letsdomistakes you are welcome dear!
@MalayKumar1000
@MalayKumar1000 5 ай бұрын
Hey! Baraa...thank you so much. You have been the guiding light for me. Not sure if there is someone else who can explain these topics with so much alacrity. Will surely recommend you to every other student I meet.
@hussamoulan2260
@hussamoulan2260 Ай бұрын
You are amazing Sir, your slides, your way of explaining things, is just fabulous. My English is not well but you explain things in such a way that even a person like me can understand it very well❤
@simonameshkova7149
@simonameshkova7149 7 ай бұрын
Hello, Baraa :) Already gone through the SQL and Advanced SQL courses and half of Tableau course so far and appreciate your work - it's easily understandable and you make even the difficult parts seem easy. Can you extend a little bit the explanation for the aggregate functions with DISTINCT - count, sum etc. It'll be really helpful.
@DataWithBaraa
@DataWithBaraa 7 ай бұрын
Hi, I really appricate your feedback and happy to hear you are enjoying the content. I will try to add it throughout the course.
@simonameshkova7149
@simonameshkova7149 7 ай бұрын
@@DataWithBaraa Thanks for your answer. Can you share how often will you upload a new video as part of the Advanced SQL Course considering the complexity of the topics of course? Can't wait for the next one. :)
@FRANELC-ss8sz
@FRANELC-ss8sz 8 ай бұрын
Baraa it's just like a wowwwwww Detailed explaination super❤❤❤ from india
@berno10
@berno10 4 ай бұрын
Awesome! Awesome! instructor, so glad I found your page your teaching skills are top-notch. Thank you for sharing with us
@Bhargavi-vz1zt
@Bhargavi-vz1zt 6 ай бұрын
love the way you explain!! Thank you for such informative videos.
@DataWithBaraa
@DataWithBaraa 5 ай бұрын
You are so welcome!
@Sathish-fugo
@Sathish-fugo 3 ай бұрын
Hi , you helped me a lot through your Lecture .Now I got a better knowledge on SQL . Thanks for your Work . Love From INDIA ❤
@muhamedhalil
@muhamedhalil 4 ай бұрын
Amazing content. Keep these videos coming, they are priceless.
@OrtikAbdakimov
@OrtikAbdakimov 4 ай бұрын
the best sql tutorial course !!! Thank you for your effort and contribution! Please continue it as u showed the road map for sql in the first video. Thank you
@DataWithBaraa
@DataWithBaraa 4 ай бұрын
Thanks, will do!
@irfanshaikh-ck5lz
@irfanshaikh-ck5lz 2 ай бұрын
❤ Love from the india baraa keep posting videos regularly
@hemucool5678
@hemucool5678 3 ай бұрын
Very much appreciated. Top-notch classes!
@baobanks1692
@baobanks1692 2 ай бұрын
Best tutorial ever i mean ever!!!!!!!!
@anjalisingh1205
@anjalisingh1205 2 ай бұрын
Hello Baraa! Your SQL tutorials have been incredibly helpful in my learning journey. You're the best tutor I've found on KZbin. I downloaded the database file you provided but unfortunately, I am having trouble unzipping it. I’ve tried several solutions, but it seems the file might be corrupted. Could you please re-upload it? Thank you for your help, and keep up the fantastic work!
@purushottammitra1258
@purushottammitra1258 5 ай бұрын
Awesome Content Baraa!! Love from India!
@DataWithBaraa
@DataWithBaraa 5 ай бұрын
thanks love back from Germany !
@Stranger360yt
@Stranger360yt 2 ай бұрын
Man your videos are awesome. Easy to grasp the concept. And may I know how to get the database which your using in the video?
@daayush6654
@daayush6654 4 ай бұрын
Amazing explanations with the visuals
@DataWithBaraa
@DataWithBaraa 4 ай бұрын
Thanks !
@amarpawar-tl5we
@amarpawar-tl5we 26 күн бұрын
Pls give download option for downloading the material. unable to download queries and material ! Please check at once. Amazing content with great teacher !!! Thank you.
@santoshkiran5858
@santoshkiran5858 8 ай бұрын
❤❤❤ Mind-blowing lecture Awesome
@hariharansrinivasan9493
@hariharansrinivasan9493 Ай бұрын
Hi bara,lessons are really good but not able to download/see the notes that which you have been used in this advance sql chapter.. In noted section download it redirects to Microsoft server sql page not able to refer the notes,pls upload the advance sql topic notes
@DataWithBaraa
@DataWithBaraa Ай бұрын
I'll fix it
@hariharansrinivasan9493
@hariharansrinivasan9493 Ай бұрын
@DataWithBaraa thanks for the reply bara! It would be really helpful for us once the advance SQL notes is available as soon as possible,thanks
@mohammadthousif7439
@mohammadthousif7439 5 ай бұрын
At 54:08 i think the aggregation for the last row should be 115
@sunpreetsingh5143
@sunpreetsingh5143 Ай бұрын
Bara YOU ARE AMAZING :)..u make it extreamly easy to understand..
@DataWithBaraa
@DataWithBaraa Ай бұрын
You are more amazing for leaving this kind comment 😊
@AhmedRehan01
@AhmedRehan01 7 ай бұрын
Thanks Baraa for these amazing lectures. Can you please provide the recommended order for watching these videos?
@DataWithBaraa
@DataWithBaraa 7 ай бұрын
Yes please follow the playlist :) kzbin.info/www/bejne/e33Hq2Oajd-Kfa8
@AhmedRehan01
@AhmedRehan01 7 ай бұрын
@@DataWithBaraa thank you
@ransfordsaddicamoleka2924
@ransfordsaddicamoleka2924 5 ай бұрын
Finally, ....thanks very much Sir
@Toyahan43
@Toyahan43 3 ай бұрын
Another awesome tutorial! Can you please tell me how I can access the presentation notes for this?
@gopikrishnasistla8896
@gopikrishnasistla8896 8 ай бұрын
Hi sir Is Running avg and moving avg Both are same or not . Sir why advance sql classes going on sql server and not used in mysql Thank you sir
@rezanurkabir70
@rezanurkabir70 4 ай бұрын
Best and precise. Make a course about postgreSQL 😍👍
@CuocSongQuanhTa204
@CuocSongQuanhTa204 8 ай бұрын
Hi Baraa. I really your white board presentation. May I ask what that software do you use? Thanks in advance!
@DataWithBaraa
@DataWithBaraa 7 ай бұрын
Procreate
@GuyOrlov
@GuyOrlov 22 күн бұрын
on 46:10 there is an error spell, should be 'historical' no 'hisotrical' paterrns. but great video I needed this.
@donyelldf
@donyelldf 8 ай бұрын
Great video and explanation, thank you
@DataWithBaraa
@DataWithBaraa 7 ай бұрын
Glad it was helpful!
@azaansfunworld4300
@azaansfunworld4300 7 ай бұрын
I am your fan for the way you explain :)
@DataWithBaraa
@DataWithBaraa 7 ай бұрын
Ah you like it? Very happy to hear that
@asrithagudla4865
@asrithagudla4865 3 ай бұрын
hy hi can i know why are we writing t in sudquery at 42:44
@arianeteixeira9144
@arianeteixeira9144 8 ай бұрын
Thank you very much for this amazing class.
@DataWithBaraa
@DataWithBaraa 7 ай бұрын
You are welcome 😊
@nethrakr
@nethrakr 2 ай бұрын
Hi, why do we add 't' while writing a subquery with WHERE clause, what is this 't'?
@yashkamath9969
@yashkamath9969 8 күн бұрын
t is an Alias, since we need to name any derived tables
@nitinrawat-g6t
@nitinrawat-g6t 4 ай бұрын
YOUR CHANNEL IS GEM ! BUT REALLY UNDERRATED
@DataWithBaraa
@DataWithBaraa 4 ай бұрын
Thanks atleast reached you !
@udaymehta8917
@udaymehta8917 24 күн бұрын
Thank you very much sir for your LOVE towards free & open & quality education. Nowadays, I watch & practice your SQL Advanced videos to fulfill my day. Your video made my day. I' very happy today, because of your hard work. Also, I'm going for Interview today and this video is acting like Cnfidence booster for me. Also, kindly share your India Travel experience. If you're still in India, is it possible to meet with you sir?
@DataWithBaraa
@DataWithBaraa 23 күн бұрын
Thank you so much for your kind words! Best of luck with your interview-you’ll do great! 🙌 My India trip was amazing-such a vibrant and inspiring place. I’m not there anymore, but I’d love to visit again!
@lakshmie3203
@lakshmie3203 8 ай бұрын
Hi Baraa... How are you doing???? A very big thanks to you for this SQL class video and other classes... excellent detailed explanation ...thanks alot Baraa..
@DataWithBaraa
@DataWithBaraa 7 ай бұрын
You are welcome!
@micaelzekarias1537
@micaelzekarias1537 7 ай бұрын
So fantastic thanks.
@Ascendify5
@Ascendify5 8 ай бұрын
Thank you for making me data hungry😋 waiting for your next class master let's go🎉
@DataWithBaraa
@DataWithBaraa 7 ай бұрын
Most welcome 😊
@aditipanwar4568
@aditipanwar4568 Ай бұрын
Too good!
@DivyYadav-hg2js
@DivyYadav-hg2js 2 ай бұрын
leave a like for this gem teacher
@rakibulhaque3444
@rakibulhaque3444 3 ай бұрын
Thanks
@asrithagudla4865
@asrithagudla4865 3 ай бұрын
thank you
@tejaskhairnar620
@tejaskhairnar620 2 ай бұрын
Thank you sir for these amazing tutorials. plz share the presentation mention in that tutorials
@tnarijit6062
@tnarijit6062 3 ай бұрын
Where I get the table u used?
@ak3965-l8q
@ak3965-l8q 16 сағат бұрын
is pdf available ??
@SaidurRahman-c8w
@SaidurRahman-c8w 4 ай бұрын
sir, can u please provide these sketch notes, they're not available on the website.
@jezdel6298
@jezdel6298 2 ай бұрын
I tried restoring database for your SalesDB.bak file from your link but it keeps failing.
@DataWithBaraa
@DataWithBaraa 2 ай бұрын
What error are you getting
@jezdel6298
@jezdel6298 2 ай бұрын
@@DataWithBaraa Execution Error : Restore of database 'SalesDB' failed.
@AmitYadav-vb5bs
@AmitYadav-vb5bs 8 ай бұрын
Sir, Could you please make an industry-level project related to SQL
@DataWithBaraa
@DataWithBaraa 7 ай бұрын
Yes it will be last chapter
@tumelomohale9766
@tumelomohale9766 2 ай бұрын
Hi Baraa, is this MySQL or PostgreSQL? If MySQL, how much of this is transferrable (as it is) to PoastgreSQL?
@arnavsharma2485
@arnavsharma2485 4 ай бұрын
please put videos for pyspark as well and if possible for R also
@SaadiaZahoor
@SaadiaZahoor 4 ай бұрын
Thnx brother
@DataWithBaraa
@DataWithBaraa 4 ай бұрын
Welcome
@QPOSTB1
@QPOSTB1 Ай бұрын
hi teacher i have a question can i use max and min with name ?
@DataWithBaraa
@DataWithBaraa Ай бұрын
Yes
@alzhrthy
@alzhrthy Ай бұрын
damn if i could like this more than once
@DivyYadav-hg2js
@DivyYadav-hg2js 2 ай бұрын
bara i urge u to get data science projects tooo plz
SQL Portfolio Project | Data Analytics | Danny's Diner SQL Challenge
1:18:13
The Ultimate SQL Window Functions Course | Complete End-to-End Guide
3:51:23
Learn Database Normalization - 1NF, 2NF, 3NF, 4NF, 5NF
28:34
Decomplexify
Рет қаралды 2,1 МЛН