Reputation: 127
This is one way as i know . please suggest any other ???
SELECT SQL_CALC_FOUND_ROWS * FROM Table; SELECT FOUND_ROWS();
SELECT SQL_CALC_FOUND_ROWS * FROM Table;
SELECT FOUND_ROWS();
Upvotes: 0
Views: 49
Reputation: 8090
You can use (it will be faster) :
SELECT COUNT(*) FROM Table
Upvotes: 3