![]() |
mySQL skip n records?
Is it possible to skip a set amount of records? For instance, say I run a query and sort the data but don't want to include the Top 10 posters, but everyone from 11 on -- can this be done in SQL?
If so, would I use the LIMIT and OFFSET commands? If not, what do I use? |
You don't need to use LIMIT, you only need to use the OFFSET clause.
|
Or just: LIMIT 10,x
Where x is the number of rows to retrieve. |
That would work if you knew how many rows there are. :)
|
Quote:
|
All times are GMT. The time now is 04:09 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|