Query MSQL for winners, starting at xth place using SELECT
Posted
by incrediman
on Stack Overflow
See other posts from Stack Overflow
or by incrediman
Published on 2010-03-19T16:18:32Z
Indexed on
2010/03/19
16:21 UTC
Read the original article
Hit count: 318
In my MySQL table Winners
, I have a list of people who have won.
What I'd like to do is select a list of the names of 10 winners. So what I have right now is this:
SELECT name FROM Winners ORDER BY points DESC LIMIT 10
This returns the first 10 winners which is great.
But how can I make it (for example) return 10 winners, but starting at 20th place?
© Stack Overflow or respective owner