Last active
February 22, 2017 02:04
-
-
Save himinseop/6fa44a9156680fd2596afd43fe7e04cd to your computer and use it in GitHub Desktop.
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 * FROM article limit 10; | |
| SELECT FOUND_ROWS(); |
Author
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
ref : https://blog.asamaru.net/2015/09/11/using-sql-calc-found-rows-and-found-rows-with-mysql/