Created
September 11, 2012 10:01
-
-
Save delphinus/3697354 to your computer and use it in GitHub Desktop.
get count of rows in MySQL
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| SELECT SQL_CALC_FOUND_ROWS id, name FROM address LIMIT 10, 30; | |
| SELECT FOUND_ROWS(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment