|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
You eat, breathe and sleep innovation. Build your mobile intelligence with BlackBerry® experts this July. Register Today! |
|
#1
|
|||
|
|||
|
LIMIT
Hello:
In mysql is there away to limit the query so it will show all results but the first 4? Or how would I do that to show all results but the first 4? Thanks |
|
#2
|
|||
|
|||
|
RE: LIMIT
you can say
SELECT * FROM table ORDER BY column LIMIT 4, 1000000 that is if you have less than million rows. if you have more, just change that number... |
|
#3
|
|||
|
|||
|
RE: LIMIT
How about this:
SELECT field from table limit 4, -1; that will bring back rows 5 onwards. |
![]() |
| Viewing: Codewalkers Forums > Other Technologies > Database Help > LIMIT |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|
|
|
|