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

  Рет қаралды 528,190

.NET Interview Preparation videos

.NET Interview Preparation videos

Күн бұрын

Пікірлер: 248
@dnfvideo
@dnfvideo 3 жыл бұрын
Do not miss our Interview Question video series 30 Important C# Interview Questions : kzbin.info/www/bejne/eHzcn3h4hdacf68 25 Important ASP.NET Interview Questions : kzbin.info/www/bejne/ponQfpejf7p2Zsk 25 Angular Interview Questions : kzbin.info/www/bejne/Y5vIoKx6f6mmia8 5 MSBI Interview Questions : kzbin.info/www/bejne/a3abYmiXjaaqj7M
@rohitekka2674
@rohitekka2674 3 жыл бұрын
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 2 жыл бұрын
Tough competition between Venkat (Kudvenkat) and Shiv (Questpond). Both are superb.
@ARJUN-op2dh
@ARJUN-op2dh 4 жыл бұрын
Made in 2012, helping in 2021 as well... Thank you !
@RohanRamVaswani
@RohanRamVaswani 3 жыл бұрын
2021
@arkapoddar3727
@arkapoddar3727 3 жыл бұрын
Agreed
@vrindavaneshwari_ju_ki_kripa
@vrindavaneshwari_ju_ki_kripa 3 жыл бұрын
abe ha bhai 2022 me b
@rahulmittal116
@rahulmittal116 2 жыл бұрын
Want to learn SQL from scratch - Subscribe to kzbin.info/door/-yCdYQYwNy7ZVzQ9FfAgqA and start with 1st video. SQL Joins video - kzbin.info/www/bejne/oHrRoWqLrpp3m6c SQL tutorial is here for you
@biplabbaishnab3926
@biplabbaishnab3926 2 жыл бұрын
In 2022 as well
@itscmg
@itscmg 5 жыл бұрын
The best and simplest example for all these functions. Been a long time I used rank function, great for brushing up :) Thank you!
@CreatingUtopia
@CreatingUtopia 3 жыл бұрын
Knowing something , explaining something both are polar opposite talents, and you sir have mastery on both. Thank you so much for the clear explanation.
@lahari_explorer
@lahari_explorer Жыл бұрын
Made in 2012 helping forever 💖 Watching this video for my upcoming interview 😊🐕😙
@pranavbhat92
@pranavbhat92 11 ай бұрын
Helped me in 2023 December! Thank you so much for this amazing teacher. 🙏
@noronhasanjay
@noronhasanjay 2 жыл бұрын
A gentleman who is both technical and philosophical. Thank you sir.
@SumanDas-df5df
@SumanDas-df5df 2 жыл бұрын
He is Shiv Koirala
@ni12907
@ni12907 3 жыл бұрын
WOWOWOOW This is the best tutorial for Rank Dense rank, row number partition by !!! super helpful, thank you!!! 👌👌👌👌👌👌
@krithikakumaragurubaran7110
@krithikakumaragurubaran7110 2 жыл бұрын
Simplest but most effective.. one of the best videos for learning
@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
@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.
@88spaces
@88spaces 5 жыл бұрын
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.
@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 2 жыл бұрын
Just remember his name : Shivprasad Koirala
@raveenachakrapani1090
@raveenachakrapani1090 2 жыл бұрын
Very helpful video. Explained the concepts in 10 mins
@theunusual4566
@theunusual4566 Жыл бұрын
2023, but still the best video to understand these topics. Thanks a lot Sir.
@pankajjasrotia4178
@pankajjasrotia4178 11 жыл бұрын
A simple and crystal clear explation , very good job done ..thanks a lot..
@shwetabudake6144
@shwetabudake6144 3 жыл бұрын
Awesome, very clear explanation within 10min.
@ayandey15
@ayandey15 3 жыл бұрын
U simply taught a complex function. Thank u
@renobramantyo5069
@renobramantyo5069 2 жыл бұрын
Not all heroes wear capes, and you are one of them! thank you so much
@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?
@Anubis10110
@Anubis10110 4 жыл бұрын
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
@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 !
@mayurpawar411
@mayurpawar411 4 жыл бұрын
excellent.... i m reading this in 2020.
@ananth889
@ananth889 7 жыл бұрын
Excellent video, it would be great if some more videos on other topics are done
@nitinyog
@nitinyog 4 жыл бұрын
Superior Tutorial. Helpful and Understandable .
@take_the_trade
@take_the_trade 3 жыл бұрын
This is simply great explanation with practical
@benyams8014
@benyams8014 7 жыл бұрын
simple and clear ...................that is all we need thankyou
@krantikumar894
@krantikumar894 2 жыл бұрын
Really njoyed and easily understand the concept tq sir
@ilyasmohamed8231
@ilyasmohamed8231 11 жыл бұрын
voice is v clr n explained v wel. thnk
@iemranee
@iemranee 4 жыл бұрын
Very well explained. You are an awesome teacher
@sapien4
@sapien4 12 жыл бұрын
Superb, you can describe hard things simply. Thank you Shiv
@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
@maheshbabunadigoti7050
@maheshbabunadigoti7050 4 жыл бұрын
Awesome explanation sir....Very useful for us....great sir
@mandarTube
@mandarTube 7 жыл бұрын
Very useful tips.. good that u combined the demonstration.
@mohammadmamun5193
@mohammadmamun5193 4 жыл бұрын
Very clear and simple explanation.Thank you!
@nssramya8792
@nssramya8792 2 жыл бұрын
superb sir. I have one doubt how to partition the row_number by alphabetical order sir
@gunupatihymavathi6114
@gunupatihymavathi6114 3 жыл бұрын
hi sir you are explained very well compare with others lectures
@piyalichatterjee1532
@piyalichatterjee1532 2 жыл бұрын
Very nice explanation, thank you for this video
@MatteoPratesi
@MatteoPratesi 9 жыл бұрын
Awesome, it's very clear!! Thank you very much!!
@arandomchannel56
@arandomchannel56 2 жыл бұрын
You are a God for explaining this. Thank you, liked and subscribed!
@chaitanya2725
@chaitanya2725 3 жыл бұрын
Great Explanation
@anawadtom6011
@anawadtom6011 3 жыл бұрын
Good clear explanation. Thanks!
@ramanujkumar9991
@ramanujkumar9991 2 жыл бұрын
Great explained sir,i was looking this only
@vamsikonidla6912
@vamsikonidla6912 4 жыл бұрын
Super explanation.
@kedardatar9259
@kedardatar9259 5 жыл бұрын
Enjoyed explanation. I understand concept quickly
@jk787
@jk787 5 жыл бұрын
Very good example. My doubt is very clear about rank() dense_rank().
@LukeArthurBates
@LukeArthurBates 5 жыл бұрын
Great video - explaining a few closely related functions with practical applications and beginner level clarity. Thanks
@beinghuman77733
@beinghuman77733 3 жыл бұрын
Very Good Explanation
@Rahulkumar-ni8oh
@Rahulkumar-ni8oh 4 жыл бұрын
Very good explanation...
@satishnagotkar886
@satishnagotkar886 7 жыл бұрын
wonderful explanation Sir - Explain RowNumber,Partition,Rank and DenseRank ? keep it up it helps a lot specially for reports
@akashsharma9210
@akashsharma9210 2 жыл бұрын
Great videooo this used to confuse me alot but now easy pezyyy!!!
@rajdhanibeats4060
@rajdhanibeats4060 3 жыл бұрын
Great explanation. Thank you
@omarsilwadi7194
@omarsilwadi7194 4 жыл бұрын
Outstanding explanation of Row_number(), thank yo so much! Much appreciated!
@Android.26
@Android.26 4 жыл бұрын
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.
@vanajag2576
@vanajag2576 4 жыл бұрын
Awesome explanation sir thank so much sir
@devashishghosh7497
@devashishghosh7497 Жыл бұрын
Row number is used to give sequential integral number to every row (starting with 1)
@sureshsunkara4396
@sureshsunkara4396 11 жыл бұрын
Thank u so much..no one gives this much simple explanation as like u..u rockssss...
@olgab3290
@olgab3290 9 жыл бұрын
Very well! Very clear, easy to understand.
@nasrealam5496
@nasrealam5496 7 жыл бұрын
A very comprehensive video.. Kudos !
@nabeelusmani5937
@nabeelusmani5937 Жыл бұрын
Very well explained 🔥
@namratanikam7566
@namratanikam7566 4 жыл бұрын
Very well explained😊
@mohammedaasem1574
@mohammedaasem1574 4 жыл бұрын
This is what I was looking for 👍 Very useful
@idontdotravelhoney
@idontdotravelhoney 3 жыл бұрын
What a neat explanation!!👍👍
@jinyang4796
@jinyang4796 2 жыл бұрын
Very neatly explained! Thank you so much! :D
@shubhambansla3824
@shubhambansla3824 5 жыл бұрын
Very well explained... One of the best explanation. Thanks
@prasunjeetsoni6143
@prasunjeetsoni6143 5 жыл бұрын
I learnt new things ... thanks mentor
@shafiaaskari5949
@shafiaaskari5949 4 жыл бұрын
Loved it. Thank you for making this 👏🏻
@lalaniwerake881
@lalaniwerake881 4 жыл бұрын
Nice video.. very helpful - Thanks
@parmeshwarlahole1365
@parmeshwarlahole1365 4 жыл бұрын
Thanks alot your video is really helpful to us short and sweet and clear concept #thanks #keep doing #i liked # i shared & #subscribed also ....
@babzo1
@babzo1 11 жыл бұрын
Shivprasad on the move ..Thanks man for this tutorial.
@EconomiKally
@EconomiKally 5 жыл бұрын
Awesome explanation. You are a blessed teacher.
@muraliraj9658
@muraliraj9658 5 жыл бұрын
wonderful Explanation sir..simply superb.
@Faisal1504
@Faisal1504 2 жыл бұрын
Can you use row number + partition to get the same result as rank and dense rank.
@schaumaul
@schaumaul 4 жыл бұрын
this guy is a legend.
@indranil-singercomposer
@indranil-singercomposer 10 жыл бұрын
You have explained it very lucidly..Thanks!
@sachinraut1766
@sachinraut1766 5 жыл бұрын
Very well explained
@thebluehurricane
@thebluehurricane 9 жыл бұрын
Very clear and easy to follow, thanks.
@kalaivanan.s5042
@kalaivanan.s5042 5 жыл бұрын
Simply awesome bro
@dariom5073
@dariom5073 3 жыл бұрын
Excelent! the best explanation. Thanks!
@primisole123
@primisole123 3 жыл бұрын
Very good explanation!! Thank you :)
@akgaab
@akgaab 4 жыл бұрын
It was pretty useful.. thanks
@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. :-)
@poojanagaramunnolli
@poojanagaramunnolli 5 жыл бұрын
Well explained. Understood clearly.Thank you
@shubhangikumar6265
@shubhangikumar6265 3 жыл бұрын
Great, well explained !! Thanks
@rahulchugh6694
@rahulchugh6694 5 жыл бұрын
very clear and helpfull ..!! great sir please upload more
@vamsikonidla6912
@vamsikonidla6912 4 жыл бұрын
Super explanation
@orshukrun
@orshukrun 3 жыл бұрын
Well explained. Thank you :)
@himanshu7103
@himanshu7103 Жыл бұрын
how dense rank is different from partitioned , i mean if you apply partition on customer name it work as same as dense rank
@priyasingh9984
@priyasingh9984 5 жыл бұрын
very well explained. short and best
@syedmunazzirahmed3191
@syedmunazzirahmed3191 7 жыл бұрын
Is there any difference between partition by and rank function? They both look to do the same. Correct me if I'm wrong.
@ApoorvNaramdeo
@ApoorvNaramdeo 7 жыл бұрын
Syed Munazzir Ahmed , I think, Partition By is used, when we want to number/serialize the records having a common attribute/ group {in the above example, Vendor Name}. Rank and Dense_Rank are used when we want to give an attribute/ group a unique number {in the above case, CustomerName}. Does this help you?
@amitghorpade6128
@amitghorpade6128 5 жыл бұрын
Even I felt the same at beginning but observe carefully they are different.
@gokukanishka
@gokukanishka 5 жыл бұрын
good explanation
@61percentodicarica
@61percentodicarica 4 жыл бұрын
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.
@sarahrachel143
@sarahrachel143 4 жыл бұрын
Thank u It was very helpful
@manikyakalyan2228
@manikyakalyan2228 5 жыл бұрын
This is very useful information. Thank you
@dkrishnaja
@dkrishnaja 2 жыл бұрын
Very useful 👍
@rishabhsharma329
@rishabhsharma329 4 жыл бұрын
This is phenomenal !
@jras1996
@jras1996 4 жыл бұрын
It is very clear!!! Thank you 🙏
@anish_k
@anish_k 3 жыл бұрын
thanks a lot mate, very informative & helpful as well..
@ladhkay
@ladhkay 4 жыл бұрын
nice work mate!
The 25 SQL Questions You MUST Know for Data Analyst Interviews
32:47
KSR Datavizon
Рет қаралды 242 М.
Happy birthday to you by Secret Vlog
00:12
Secret Vlog
Рет қаралды 6 МЛН
БУ, ИСПУГАЛСЯ?? #shorts
00:22
Паша Осадчий
Рет қаралды 2,7 МЛН
1, 2, 3, 4, 5, 6, 7, 8, 9 🙈⚽️
00:46
Celine Dept
Рет қаралды 105 МЛН
Improve SQL Server performance using profiler and tuning advisor
13:12
.NET Interview Preparation videos
Рет қаралды 353 М.
RANK, DENSE_RANK, ROW_NUMBER SQL Analytical Functions Simplified
9:42
Expert Level SQL Tutorial
23:27
James Oliver
Рет қаралды 156 М.
Interface in C#
38:55
.NET Interview Preparation videos
Рет қаралды 163 М.
Columnstore index in sql server (tutorial)
11:25
.NET Interview Preparation videos
Рет қаралды 90 М.