Dispaly top n rows in SQL | Display last n rows in SQL | Display nth Row in SQL

 

For Explanation watch video::





* rownum

=======







fetching top 1,2,5 rows



fetching the 2nd row from table






Fetch last two roes





Comments

Popular posts from this blog

Java Stack Hackerrank Solution

Print Prime Numbers Hackerrank Solution - PL/SQL

Java BitSet Hackerrank Solution