paulomartinhago
4/10/2014 - 9:33 PM

Lista o total de registros, ignorando o LIMIT.

Lista o total de registros, ignorando o LIMIT.

SELECT SQL_CALC_FOUND_ROWS name, email FROM users LIMIT 10;
SELECT FOUND_ROWS();