Home Forums SQL Server 2008 SQL Server 2008 - General Sql server sorting issues RE: Sql server sorting issues
Andreas P. Williams
SSCrazy
Points: 2487
More actions
September 20, 2013 at 6:09 am
#1651875
Hi, mickyT!
Your method only works if the number of rows is a multiple of 5. Try and remove the ('J',1) and your bottom 20 per cent has only one record.