Aggregate Functions, Group by Clause and Having Keyword in SQL ? | SQL Server Interview Questions

แชร์
ฝัง
  • เผยแพร่เมื่อ 2 ก.พ. 2025

ความคิดเห็น • 123

  • @questpondvideos
    @questpondvideos  3 ปีที่แล้ว +3

    20+ SQL Server Interview Questions : th-cam.com/video/SEdAF8mSKS4/w-d-xo.html
    20 MSBI Interview Questions : th-cam.com/video/Nw_sHEKnOUE/w-d-xo.html
    10+ Power BI Interview Questions : th-cam.com/video/Cozc9WNBRt4/w-d-xo.html
    SQL Server Joins : th-cam.com/video/KTvYHEntvn8/w-d-xo.html
    SQL Step by Step - th-cam.com/video/uGlfP9o7kmY/w-d-xo.html
    Software Architecture Interview Questions : th-cam.com/video/AtTgcbLOqMM/w-d-xo.html
    Angular Step by Step Tutorial for Beginners : th-cam.com/video/-9VcW7MBDs8/w-d-xo.html
    25 Angular Interview Questions : th-cam.com/video/-jeoyDJDsSM/w-d-xo.html
    35 Important JavaScript Interview Questions : th-cam.com/video/Zb4dPi7CANU/w-d-xo.html
    30 Important C# Interview Questions : th-cam.com/video/BKynEBPqiIM/w-d-xo.html
    25+ OOPS Interview Questions : th-cam.com/video/u99wAoBjDvQ/w-d-xo.html
    25 Important ASP.NET Interview Questions : th-cam.com/video/pXmMdmJUC0g/w-d-xo.html
    20 PHP Interview Questions : th-cam.com/video/1bpNSynUrl8/w-d-xo.html
    5 MSBI Interview Questions : th-cam.com/video/5E815aXAwYQ/w-d-xo.html
    20 MySQL Interview Questions : th-cam.com/video/9hfjC-BpY20/w-d-xo.html

  • @azanshaikh7825
    @azanshaikh7825 6 ปีที่แล้ว +9

    This helped me a lot. Thank you. I hope you know that after all these years of uploading it's still helping people like me here. Thank you again.

  • @م.هيثم
    @م.هيثم 3 ปีที่แล้ว +3

    Ten years later, it is still useful and clear
    the teacher gave us this video for self-learning

  • @kopilkaiser8991
    @kopilkaiser8991 ปีที่แล้ว +1

    I understood these topics from Aggregrate functions of SQL and only because you had taken the effort to teach us. You are vey talented in teaching. Keep teaching all us new beginners who are seeking to consume this knowledge and have a better future through improving on these skills. I am trying to gain expertise in SQL queries so that I can be an Ace in managing databases. I'm following you actively and have learnt quite a lot on different areas of programming.

  • @Mode2
    @Mode2 9 ปีที่แล้ว +24

    This is seriously the best video I've ever seen on this subject. You helped me pass my databases class with flying colors. Thank you very much for your clear and concise explanation!

  • @lamboarun
    @lamboarun ปีที่แล้ว

    Groupby - Golden Rule you mentioned is just Amazing. This is mind-boggling to watch even after 11 Years. Great Content.

  • @aayushbisht4307
    @aayushbisht4307 2 ปีที่แล้ว

    best single video on this topic ...others are teaching just basic stuff

  • @harmeetkukreja8750
    @harmeetkukreja8750 6 หลายเดือนก่อน

    Sir, the way you explain is very simple and you also show the scenario how an innocent developer not having expert knowledge would think e.g. here some would logically write where sum(population) > 1000 for filtering instead of using having sum(population) > 1000 on aggregate comparison

  • @viswanathvachaspathi7240
    @viswanathvachaspathi7240 10 ปีที่แล้ว +1

    Clear voice with Good demonstration on t
    the topic of aggregate functions...Thanks for the video sir

  • @shivaprasadvantamure1978
    @shivaprasadvantamure1978 ปีที่แล้ว

    Lots of love from karnataka one of the best video I saw today. U cleared many doubts . Thank you thnks a lot

  • @Metal0wnhouse
    @Metal0wnhouse 6 ปีที่แล้ว +1

    I'm officially ready for my midterm now - thanks!

  • @vickirock1044
    @vickirock1044 6 ปีที่แล้ว +1

    Thank you for posting.i was totally confused before watching this video ,
    now i'm totally clear.Once again thanks a lot

  • @fredyuldashev
    @fredyuldashev 5 ปีที่แล้ว

    Dude, your English is so clean and good! Love your channel!

  • @manasakolakaluri9045
    @manasakolakaluri9045 10 ปีที่แล้ว +7

    Firstly Thanks for the clear explanation of groupby and having clause. I want to know that bit more clear which means how the row and colomn restriction access that applys on group by and having.

  • @vaja5357
    @vaja5357 4 ปีที่แล้ว +1

    Thank you sir, clear explanation before my exam, just what was needed! you got a like from me my ninja

  • @BethWhite0417
    @BethWhite0417 4 ปีที่แล้ว

    maraming salamat po sa kaalaman na ibinahagi nyo po sa amin.. keep vlogging God bless

  • @chitrasrinivas7089
    @chitrasrinivas7089 3 ปีที่แล้ว

    Excellent explanation sir👌👌👌👌👌👌👌👌👌👌👌👌👌👌👌👌👌👌👌👌👌👌👌👌....thank you sooooo much for this useful video

  • @MartyrCry
    @MartyrCry 11 ปีที่แล้ว +2

    SQL Server has a tool called SQL Management Studio which you can install as a separate download. You can use this to run queries and see the results. That is what he is using.

  • @vishnuprakash1016
    @vishnuprakash1016 3 ปีที่แล้ว

    I lost three days of sleep confusing on group by and having .. thanq for the explanation very much ..

  • @pallavisharma7300
    @pallavisharma7300 ปีที่แล้ว

    Crisp n short thank you great for quick revision

  • @DollarArchitect
    @DollarArchitect 4 ปีที่แล้ว +1

    Nice video sir....this help me a lot

  • @softmind4863
    @softmind4863 7 ปีที่แล้ว

    Best way of teaching
    Really enjoyed the taste of leaning

  • @satishnagotkar886
    @satishnagotkar886 7 ปีที่แล้ว

    Very Nice sir -Explain aggregate functions,group by clause and having keyword it is too good keep it up

  • @arunreddy6243
    @arunreddy6243 3 ปีที่แล้ว

    The best explanation thank for the video sir.

  • @krishnarawal5870
    @krishnarawal5870 3 ปีที่แล้ว

    Very nicely and quickly explained

  • @aakashiict
    @aakashiict 2 ปีที่แล้ว

    Very well explained 😊❤️💲👍😁

  • @donanguyen1431
    @donanguyen1431 3 ปีที่แล้ว

    I love you so much

  • @anamta76
    @anamta76 6 ปีที่แล้ว +2

    wonderful ,just very clear knowledge, thumbs up

  • @leenamajumder8153
    @leenamajumder8153 4 ปีที่แล้ว

    Very well taught Sir
    Thankyou so much !!

  • @gampashivakumar
    @gampashivakumar 3 ปีที่แล้ว

    Nice explanated
    Respected 😊

  • @sandeepa3636
    @sandeepa3636 8 ปีที่แล้ว

    Very Nice explanation. Understood it very clearly.
    Thank You!

  • @akatukundayvonnie3674
    @akatukundayvonnie3674 2 ปีที่แล้ว +1

    You are really so good

  • @kwibus.
    @kwibus. 2 ปีที่แล้ว

    thank you for the clear and to the point explanation!

  • @saikrishna6344
    @saikrishna6344 4 ปีที่แล้ว

    It's clear evarything ....thank you☺️☺️☺️

  • @jras1996
    @jras1996 5 ปีที่แล้ว

    Thank you for the clear and best video !!!!🙏

  • @emeryebio3964
    @emeryebio3964 2 ปีที่แล้ว

    thanks i learn some syntax in aggregate function with (group by / having)

  • @priyabaskar7698
    @priyabaskar7698 5 ปีที่แล้ว

    very nice to listen and easily to understanding .

  • @pratikkulkarni4929
    @pratikkulkarni4929 3 ปีที่แล้ว

    Superb explanation

  • @minutesofdamish
    @minutesofdamish 4 ปีที่แล้ว

    This saved my life. Thanks

  • @buddhikaperera5716
    @buddhikaperera5716 4 ปีที่แล้ว

    thanks for your lesson sir. it helped me a lot ...

  • @ahsangazi3708
    @ahsangazi3708 3 ปีที่แล้ว

    Nice explanation , thanks a lot

  • @questpondvideos
    @questpondvideos  6 ปีที่แล้ว +7

    👊👊👊👊👊👊Smash Subscribe button if you like it.👊👊👊👊👊👊

  • @kanikaarora1979
    @kanikaarora1979 4 ปีที่แล้ว

    Nice lecture 👌👌👌👌

  • @KadwaSach369
    @KadwaSach369 6 ปีที่แล้ว

    hi, can you make a full detailed video on java programming language?

  • @foffevoltaire8917
    @foffevoltaire8917 8 ปีที่แล้ว

    thanks very much! your explanations are clear and precised

  • @abdeshpanda
    @abdeshpanda 6 ปีที่แล้ว +1

    Thanks for teaching me.Which database your using sir ??

  • @Pareshbpatel
    @Pareshbpatel 7 ปีที่แล้ว

    Excelent SQL Video Tutorials. Thankyou.

  • @ahmedalblooshi4826
    @ahmedalblooshi4826 8 ปีที่แล้ว

    Thank you very much, now I understand these concepts.

  • @athotavenkatarajeshwari9094
    @athotavenkatarajeshwari9094 7 ปีที่แล้ว

    Explanation is very clear.

  • @owolabiaminat3638
    @owolabiaminat3638 2 ปีที่แล้ว

    Good work👍

  • @rakeshthakur-nd5sk
    @rakeshthakur-nd5sk 4 ปีที่แล้ว

    Really Awesome video

  • @mrTreazy3000
    @mrTreazy3000 7 ปีที่แล้ว

    Makes it so simple. Thanks!

  • @ashwathiyer4485
    @ashwathiyer4485 5 ปีที่แล้ว

    Thank you! This was crystal clear!

  • @mariamadel4646
    @mariamadel4646 5 ปีที่แล้ว

    You'r legend 💓💓 fantastic

  • @pawankumar-vm8xj
    @pawankumar-vm8xj 6 ปีที่แล้ว

    Great video please post more SQL interview video

  • @pk_marble_music-t
    @pk_marble_music-t 4 ปีที่แล้ว

    Lot of energy 🔥

  • @sag4398
    @sag4398 3 ปีที่แล้ว

    Simply super

  • @PriyankaSharma-bj3ec
    @PriyankaSharma-bj3ec 6 ปีที่แล้ว

    very well explained . Thanku so much

  • @devanandapp8676
    @devanandapp8676 5 ปีที่แล้ว +1

    Thank you sir

  • @omdhule8121
    @omdhule8121 6 ปีที่แล้ว

    Thank you very much sir. That helped a lot.

  • @hamzanazir4412
    @hamzanazir4412 8 ปีที่แล้ว +1

    very good explanation

  • @ushnishd
    @ushnishd 7 ปีที่แล้ว

    Great !! ... nice explanation..
    Well, Can anyone let me know how to write a query if in the same data i wish to ad 100 to the total number of population only for India and not for the other countries. for example :
    Select population+100 from tblcountry where CountryName = 'India'
    and then display the same query .
    so the output should be (as per 4:49 mins of the video)
    India 4800 ( by adding 100 to all the 3 cells i.e : (1000+100) , (1500+100) , (2000+100) by the order displayed at 0.13.
    Nepal 1200
    Srilanka 500

  • @nitinrao3541
    @nitinrao3541 2 ปีที่แล้ว

    Amazing videos

  • @kylezeller9143
    @kylezeller9143 4 ปีที่แล้ว

    Thank you very much sir!

  • @jonlux
    @jonlux 5 ปีที่แล้ว

    Kick Ass content my, dude keep it up!!!

  • @pirateprogramer564
    @pirateprogramer564 3 ปีที่แล้ว

    Tx for this bro very nice video

  • @mallikarjunsuram4913
    @mallikarjunsuram4913 7 ปีที่แล้ว

    Good work sir..!

  • @devisara2459
    @devisara2459 6 ปีที่แล้ว

    Very useful🙏

  • @radiagulzan
    @radiagulzan 5 ปีที่แล้ว

    this was soo helpful, thank you !

  • @jeathtunes769
    @jeathtunes769 9 ปีที่แล้ว +1

    thank you. great video!

  • @paravej
    @paravej 5 ปีที่แล้ว

    Excellent

  • @genselreyes9888
    @genselreyes9888 6 ปีที่แล้ว

    Awesome video, more content please! :)

  • @davidlewisn1017
    @davidlewisn1017 3 ปีที่แล้ว

    Hello,
    Hello,Great work you are doing in computer training.
    I am generating reports and i have challenges in using using sum and group by in my sql querries.
    Could you kindly offer some help i am stuck on these .
    Your help is much appreciated.
    David

  • @nithyanithya4231
    @nithyanithya4231 4 ปีที่แล้ว +1

    Actually 1 doubt we can able to use where clause in group by , like here we can use where clause after table name , select sum(population) from tablename where population >500 group by year ... it also execute without any error.. kindly clear it

    • @sanakpattanaik8505
      @sanakpattanaik8505 2 ปีที่แล้ว

      Here 'where population' doesn't contain aggregate function.

  • @kasunchandrasekara9910
    @kasunchandrasekara9910 7 ปีที่แล้ว

    Great explanation

  • @seanreagan4110
    @seanreagan4110 4 ปีที่แล้ว

    Thanks so much!

  • @riyakanwar1101
    @riyakanwar1101 3 ปีที่แล้ว +1

    Please upload class 12 th full course of ip

  • @mayurgite4050
    @mayurgite4050 8 ปีที่แล้ว +2

    Awesome explanation...thanks a lot

  • @rajakarri5781
    @rajakarri5781 5 ปีที่แล้ว +1

    where clause is used for filter the rows, Having clause used for filter the groups

  • @kaajalsharma1225
    @kaajalsharma1225 7 ปีที่แล้ว

    nice explanation

  • @pammysingh8799
    @pammysingh8799 2 ปีที่แล้ว

    Thank you

  • @ganapathynaikar1075
    @ganapathynaikar1075 4 ปีที่แล้ว

    Thanks alot sir

  • @nishantve1
    @nishantve1 12 ปีที่แล้ว +1

    which IDE are you using ? thanks for the video

  • @tharunbandaru
    @tharunbandaru 7 ปีที่แล้ว

    very clear

  • @HUYINHVIET
    @HUYINHVIET 8 ปีที่แล้ว +1

    Thank you !

  • @shalinichouhan6737
    @shalinichouhan6737 7 ปีที่แล้ว

    Gud job..

  • @niko9bellic
    @niko9bellic 2 ปีที่แล้ว

    But why should I use SUM at the WHERE statement, when I can just use
    WHERE Population > 1000

  • @aheebwasandra3684
    @aheebwasandra3684 6 ปีที่แล้ว

    Thank you so much

  • @silveryashkul
    @silveryashkul 2 ปีที่แล้ว

    Useful

  • @avrajitdey3856
    @avrajitdey3856 3 ปีที่แล้ว

    What if I want to sort sum(population) in in desc order instead of getting records >1000

  • @harmanpreetkaur5910
    @harmanpreetkaur5910 10 ปีที่แล้ว +1

    good job..

  • @danielgun
    @danielgun 12 ปีที่แล้ว +1

    Thank you! :)

  • @zacharycollins1817
    @zacharycollins1817 8 ปีที่แล้ว

    really appreciated it!

  • @chaurasiajagdish
    @chaurasiajagdish 8 ปีที่แล้ว +1

    very nice

  • @shashikalaraju5769
    @shashikalaraju5769 3 ปีที่แล้ว

    What if we keep a field in group by but don't add it in select clause?

  • @Umer171
    @Umer171 7 ปีที่แล้ว

    Diff Between Aggregate function and scalar function?

  • @anoushka8688
    @anoushka8688 5 ปีที่แล้ว

    tq

  • @abdul_Ghaffar494
    @abdul_Ghaffar494 8 ปีที่แล้ว

    thans for help...

  • @sheikmohideen5669
    @sheikmohideen5669 4 ปีที่แล้ว

    How to find maximum after grouping

  • @maheshgaliboina6721
    @maheshgaliboina6721 7 ปีที่แล้ว

    Thanks bro