SQL Server interview question :- Explain RowNumber,Partition,Rank and DenseRank ?

Поделиться
HTML-код
  • Опубликовано: 8 сен 2024
  • For more such videos visit www.questpond.com
    For more such videos subscribe www.youtube.co...
    See our other Step by Step video series below :-
    Python Tutorial for Beginners:- • Python Tutorial for Be...
    Learn Data Science in 1 hour :- tinyurl.com/y5...
    Learn Power BI Step by Step:- tinyurl.com/y6...
    Learn MSBI Step by Step in 32 hours:- goo.gl/TTpFZN
    Learn Tableau step by step :- tinyurl.com/kh...
    Learn SQL Server Step by Step tinyurl.com/ja4...
    Learn Angular tutorial step by step tinyurl.com/yc...
    Learn MVC Core step by step :- tinyurl.com/y9j...
    Learn C# Step by Step goo.gl/FNlqn3
    Learn Design Pattern Step by Step goo.gl/eJdn0m
    Learn Azure Step by Step :- tinyurl.com/y6...
    Learn SharePoint Step by Step in 8 hours:- goo.gl/XQKHeP
    SQL Server interview question :- Explain RowNumber,Partition,Rank and DenseRank ?
    We are also distributing a 100 page Ebook "Sql Server Interview Questions". If you want this ebook please share this video in your facebook/twitter/linkedin account and email us on questpond@questpond.com with the shared link and we will email you the PDF.

Комментарии • 249

  • @dnfvideo
    @dnfvideo  3 года назад +8

    Do not miss our Interview Question video series
    30 Important C# Interview Questions : ruclips.net/video/BKynEBPqiIM/видео.html
    25 Important ASP.NET Interview Questions : ruclips.net/video/pXmMdmJUC0g/видео.html
    25 Angular Interview Questions : ruclips.net/video/-jeoyDJDsSM/видео.html
    5 MSBI Interview Questions : ruclips.net/video/5E815aXAwYQ/видео.html

  • @ARJUN-op2dh
    @ARJUN-op2dh 4 года назад +136

    Made in 2012, helping in 2021 as well... Thank you !

  • @rohitekka2674
    @rohitekka2674 3 года назад +14

    Old is gold. no matter which site I searched or how many times I read through in understanding these concepts. You managed to explain all of it in matter of 10 minutes. Awesome stuff !!! Hope you keep making videos like this.

    • @SumanDas-df5df
      @SumanDas-df5df Год назад +1

      Tough competition between Venkat (Kudvenkat) and Shiv (Questpond). Both are superb.

  • @lahari_explorer
    @lahari_explorer Год назад +1

    Made in 2012 helping forever 💖
    Watching this video for my upcoming interview 😊🐕😙

  • @itscmg
    @itscmg 5 лет назад +19

    The best and simplest example for all these functions. Been a long time I used rank function, great for brushing up :)
    Thank you!

  • @pranavbhat92
    @pranavbhat92 9 месяцев назад +1

    Helped me in 2023 December! Thank you so much for this amazing teacher. 🙏

  • @CreatingUtopia
    @CreatingUtopia 3 года назад +1

    Knowing something , explaining something both are polar opposite talents, and you sir have mastery on both. Thank you so much for the clear explanation.

  • @ni12907
    @ni12907 3 года назад

    WOWOWOOW This is the best tutorial for Rank Dense rank, row number partition by !!! super helpful, thank you!!! 👌👌👌👌👌👌

  • @ankitasurjushe9150
    @ankitasurjushe9150 2 года назад

    I love how Archies was big thing in 2012 and now it's just something we use to know! 😅🤷🏻‍♀️ In contrast to this video though.. it's still imp 🥺. Thanks for the video !

  • @88spaces
    @88spaces 5 лет назад +10

    Good explanations of these functions. I don't always remember their meanings so it is nice to have a video like yours as a reminder. Thank you.

  • @aakankshasrivastava7996
    @aakankshasrivastava7996 2 года назад

    How beautifully and with an ease he has taught.... Thankyou sir🙏🏻

  • @GabrielPosternak
    @GabrielPosternak 4 года назад

    Excellent, until now I didn't understand what is over() for, but now is very clear.

  • @yuvrajpardeshi1429
    @yuvrajpardeshi1429 2 года назад

    Best and Simplest video ever on rank, partition, row_number and something new i learnt the dense_rank. Keep up the great work ! you are awesome

  • @krithikakumaragurubaran7110
    @krithikakumaragurubaran7110 2 года назад

    Simplest but most effective.. one of the best videos for learning

  • @noronhasanjay
    @noronhasanjay 2 года назад

    A gentleman who is both technical and philosophical. Thank you sir.

  • @Anubis10110
    @Anubis10110 4 года назад +1

    I really appreciate your effort, Thank you so much.
    I was always confused about using Rank and Partition, most of the examples online are complex
    Thanks again

  • @subtlehustle6300
    @subtlehustle6300 2 года назад

    To this content maker, thank you a lot for explaining this in the most simplest way. I had a real hard time to understand the simple concept of Row_number. Thanks again.

    • @SumanDas-df5df
      @SumanDas-df5df Год назад

      Just remember his name : Shivprasad Koirala

  • @renobramantyo5069
    @renobramantyo5069 Год назад

    Not all heroes wear capes, and you are one of them! thank you so much

  • @pankajjasrotia4178
    @pankajjasrotia4178 11 лет назад +1

    A simple and crystal clear explation , very good job done ..thanks a lot..

  • @raveenachakrapani1090
    @raveenachakrapani1090 2 года назад

    Very helpful video. Explained the concepts in 10 mins

  • @ayandey15
    @ayandey15 3 года назад

    U simply taught a complex function. Thank u

  • @benlong1062
    @benlong1062 Год назад

    Very clear and easy to understand, Thanks

  • @krantikumar894
    @krantikumar894 2 года назад

    Really njoyed and easily understand the concept tq sir

  • @shwetabudake6144
    @shwetabudake6144 3 года назад

    Awesome, very clear explanation within 10min.

  • @ananth889
    @ananth889 7 лет назад +2

    Excellent video, it would be great if some more videos on other topics are done

  • @MatteoPratesi
    @MatteoPratesi 9 лет назад +18

    Awesome, it's very clear!! Thank you very much!!

  • @benyams8014
    @benyams8014 7 лет назад

    simple and clear ...................that is all we need thankyou

  • @piyalichatterjee1532
    @piyalichatterjee1532 2 года назад

    Very nice explanation, thank you for this video

  • @akashsharma9210
    @akashsharma9210 Год назад

    Great videooo this used to confuse me alot but now easy pezyyy!!!

  • @take_the_trade
    @take_the_trade 3 года назад

    This is simply great explanation with practical

  • @theunusual4566
    @theunusual4566 Год назад

    2023, but still the best video to understand these topics. Thanks a lot Sir.

  • @ramanujkumar9991
    @ramanujkumar9991 2 года назад

    Great explained sir,i was looking this only

  • @mayurpawar411
    @mayurpawar411 4 года назад +1

    excellent....
    i m reading this in 2020.

  • @ilyasmohamed8231
    @ilyasmohamed8231 10 лет назад +10

    voice is v clr n explained v wel. thnk

  • @nitinyog
    @nitinyog 3 года назад

    Superior Tutorial. Helpful and Understandable .

  • @vamsikonidla6912
    @vamsikonidla6912 4 года назад +1

    Super explanation.

  • @arandomchannel56
    @arandomchannel56 2 года назад

    You are a God for explaining this. Thank you, liked and subscribed!

  • @chaitanya2725
    @chaitanya2725 3 года назад +1

    Great Explanation

  • @gunupatihymavathi6114
    @gunupatihymavathi6114 2 года назад

    hi sir you are explained very well compare with others lectures

  • @mohammadmamun5193
    @mohammadmamun5193 4 года назад

    Very clear and simple explanation.Thank you!

  • @maheshbabunadigoti7050
    @maheshbabunadigoti7050 4 года назад

    Awesome explanation sir....Very useful for us....great sir

  • @iemranee
    @iemranee 4 года назад

    Very well explained. You are an awesome teacher

  • @kedardatar9259
    @kedardatar9259 4 года назад

    Enjoyed explanation.
    I understand concept quickly

  • @mandarTube
    @mandarTube 7 лет назад

    Very useful tips.. good that u combined the demonstration.

  • @satishnagotkar886
    @satishnagotkar886 7 лет назад

    wonderful explanation Sir - Explain RowNumber,Partition,Rank and DenseRank ? keep it up it helps a lot specially for reports

  • @vanajag2576
    @vanajag2576 4 года назад

    Awesome explanation sir thank so much sir

  • @beinghuman77733
    @beinghuman77733 3 года назад

    Very Good Explanation

  • @sapien4
    @sapien4 11 лет назад

    Superb, you can describe hard things simply. Thank you Shiv

  • @Rahulkumar-ni8oh
    @Rahulkumar-ni8oh 3 года назад

    Very good explanation...

  • @parmeshwarlahole1365
    @parmeshwarlahole1365 3 года назад

    Thanks alot your video is really helpful to us short and sweet and clear concept #thanks #keep doing #i liked # i shared & #subscribed also ....

  • @rajdhanibeats4060
    @rajdhanibeats4060 3 года назад

    Great explanation. Thank you

  • @LukeArthurBates
    @LukeArthurBates 5 лет назад

    Great video - explaining a few closely related functions with practical applications and beginner level clarity. Thanks

  • @jk787
    @jk787 4 года назад

    Very good example. My doubt is very clear about rank() dense_rank().

  • @sureshsunkara4396
    @sureshsunkara4396 11 лет назад

    Thank u so much..no one gives this much simple explanation as like u..u rockssss...

  • @schaumaul
    @schaumaul 3 года назад

    this guy is a legend.

  • @lalaniwerake881
    @lalaniwerake881 4 года назад

    Nice video.. very helpful - Thanks

  • @rozario1309
    @rozario1309 2 года назад

    Thanks, Good Video. If we want to explain in one liners - Row_numbers generate IDs; Rank Generates Rank and skips subsequent ranks if the same rank is assigned for multiple rows; a dense_rank make sure ranks are not skipped. is that right?

  • @anawadtom6011
    @anawadtom6011 2 года назад

    Good clear explanation. Thanks!

  • @shafiaaskari5949
    @shafiaaskari5949 3 года назад +2

    Loved it. Thank you for making this 👏🏻

  • @ichak13
    @ichak13 9 лет назад

    You have explained it very lucidly..Thanks!

  • @nabeelusmani5937
    @nabeelusmani5937 Год назад

    Very well explained 🔥

  • @olgab3290
    @olgab3290 9 лет назад

    Very well! Very clear, easy to understand.

  • @namratanikam7566
    @namratanikam7566 4 года назад

    Very well explained😊

  • @shubhambansla3824
    @shubhambansla3824 5 лет назад

    Very well explained... One of the best explanation. Thanks

  • @devashishghosh7497
    @devashishghosh7497 Год назад

    Row number is used to give sequential integral number to every row (starting with 1)

  • @omarsilwadi7194
    @omarsilwadi7194 3 года назад +1

    Outstanding explanation of Row_number(), thank yo so much! Much appreciated!

    • @Android.26
      @Android.26 3 года назад

      I agree.. I also appreciate his detailed explanation and live example for Rank and Dense_Rank. I used to wrestle with skipped rsnking numbers and this answered howcto get consecutive rsnks without skipping numbers.

  • @SanjayKumar-yh8fd
    @SanjayKumar-yh8fd 3 года назад

    very well explanation

  • @mohammedaasem1574
    @mohammedaasem1574 3 года назад

    This is what I was looking for 👍 Very useful

  • @sid-abhay
    @sid-abhay 4 года назад

    Very well explained. Thank you

  • @nasrealam5496
    @nasrealam5496 7 лет назад

    A very comprehensive video.. Kudos !

  • @akgaab
    @akgaab 4 года назад

    It was pretty useful.. thanks

  • @Naru_NNN
    @Naru_NNN 4 года назад

    Simply clear

  • @jinyang4796
    @jinyang4796 2 года назад

    Very neatly explained! Thank you so much! :D

  • @prasunjeetsoni6143
    @prasunjeetsoni6143 5 лет назад

    I learnt new things ... thanks mentor

  • @manjunatht7087
    @manjunatht7087 5 лет назад

    Well explained. Understood clearly.Thank you

  • @vamsikonidla6912
    @vamsikonidla6912 4 года назад

    Super explanation

  • @Balajiji4888
    @Balajiji4888 2 месяца назад +1

    Thanks Sir

  • @babzo1
    @babzo1 11 лет назад

    Shivprasad on the move ..Thanks man for this tutorial.

  • @orshukrun
    @orshukrun 2 года назад

    Well explained. Thank you :)

  • @muraliraj9658
    @muraliraj9658 5 лет назад

    wonderful Explanation sir..simply superb.

  • @RameshKumar-ng3nf
    @RameshKumar-ng3nf 6 лет назад

    Excellent Sir ! What a clear and detailed explanation . The best info in youtube for me. You made it very simple. Rest all youtube tutorials on this same topic were very confusioning and complex. Subscribed your channel. :-)

  • @EconomiKally
    @EconomiKally 5 лет назад

    Awesome explanation. You are a blessed teacher.

  • @dkrishnaja
    @dkrishnaja 2 года назад

    Very useful 👍

  • @sarahrachel143
    @sarahrachel143 4 года назад

    Thank u
    It was very helpful

  • @rahulchugh6694
    @rahulchugh6694 5 лет назад

    very clear and helpfull ..!! great sir please upload more

  • @idontdotravelhoney
    @idontdotravelhoney 3 года назад

    What a neat explanation!!👍👍

  • @dariom5073
    @dariom5073 3 года назад

    Excelent! the best explanation. Thanks!

  • @prithwirajdutta3827
    @prithwirajdutta3827 3 года назад

    Best tutorial

  • @akshayaseetharaman5687
    @akshayaseetharaman5687 2 года назад

    Very clear👍Thankyou!

  • @gokukanishka
    @gokukanishka 5 лет назад

    good explanation

  • @priyasingh9984
    @priyasingh9984 5 лет назад

    very well explained. short and best

  • @amirkazi1350
    @amirkazi1350 2 года назад

    Great video.

  • @sachinraut1766
    @sachinraut1766 5 лет назад

    Very well explained

  • @MaheshBabu1989
    @MaheshBabu1989 3 года назад

    Thanks for detailed explanation..
    Can you clarify below question please..
    My output for row_number function is below
    Select row_number() over(partition by record_no order by record_no) R_num,record_no,record_type
    R_num,record_no,recored_type
    1, 767,105
    1,564,106
    2,564,107
    1,887,108
    2,887,105
    3,887,103
    1,662,104
    1,880,106
    If I want to retrieve only record_num having count >1.Then what should be the query
    My expected output should be like below
    1,564,106
    2,564,107
    1,887,108
    2,887,105
    3,887,103

  • @rishabhsharma329
    @rishabhsharma329 4 года назад +1

    This is phenomenal !

  • @ga7853
    @ga7853 5 лет назад +2

    Thank you so much, that was really useful to know.

  • @61percentodicarica
    @61percentodicarica 3 года назад +1

    6:35 I wasn't expecting to get some philosophy while watching a video to better understand why a collegue wrote a query this way.

  • @primisole123
    @primisole123 3 года назад

    Very good explanation!! Thank you :)

  • @manikyakalyan2228
    @manikyakalyan2228 5 лет назад

    This is very useful information. Thank you

  • @shivgan3g
    @shivgan3g 8 лет назад +1

    Very good