Click here to Skip to main content
15,893,564 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
i chose select top (50) percent * from t1

in that above Query,

Result : first half table of records displayed.


MY Question is, how to retrieve second half records in a table


please sent me the answer,

Regards Mohan
Posted

hi,

You can use

select Top(50) * from Table Orderby(PrimayKeyColumn) desc 

//another way

select Top (50)* from Table where Id Not in (Select  Top(50) Id from Table )
 
Share this answer
 
Comments
Mohankumar.Engain 9-Apr-11 5:52am    
thanks for ur valuable time spend with me...

contact shortly...
bye from mohan
Funny that this was just asked under different user name: What is the query to get last 50 percent of datas from a table?[^]
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900