select top 50 records from sql
Posted
by air
on Stack Overflow
See other posts from Stack Overflow
or by air
Published on 2010-03-13T06:43:15Z
Indexed on
2010/03/13
6:55 UTC
Read the original article
Hit count: 199
i have following database table name tbl_rec
recno uid uname points
============================
1 a abc 10
2 b bac 8
3 c cvb 12
4 d aty 13
5 f cyu 9
-------------------------
-------------------------
i have about 5000 records in this table.
i want to select first 50 higher points records.
i can't use limit statement as i am already using limit for paging.
Thanks
© Stack Overflow or respective owner