Jump to content

SQL Limit


karldesign

Recommended Posts

It doesn't make a great sense... LIMIT has the target to limit ( ;D) the number of rows you get out of a query. What you are asking is not limiting that, actually. You just want to skip 5 rows.

I can't figure out something else than fetching all rows and skipping first 5 in your php code (or what else)

Link to comment
Share on other sites

I am used to using LIMIT 5,5 to select 5 records from after the first 5 records.

 

What I would like to know is how do i select the remaining records from after the 5th record. would that be LIMIT 5,*?

 

cheers

You can't use negative values anymore, so try LIMIT 5, 999999999999.

 

Or whatever the max number is.

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.