Skip to content

Instantly share code, notes, and snippets.

@phpdave
Created October 5, 2015 15:11
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save phpdave/efa234a9f4bef331aadb to your computer and use it in GitHub Desktop.
Save phpdave/efa234a9f4bef331aadb to your computer and use it in GitHub Desktop.
//return only 10 records, start on record 11 (OFFSET 10), records 11-20 are returned.
$sql = "SELECT * FROM CUSTOMERS LIMIT 10 OFFSET 10";
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment