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

Print Prime Numbers Hackerrank Solution - PL/SQL

how to store html form data in mysql database using hibernate