How can I get row count values in MySQL as @@ROWCOUNT does in mssql?
@@ROWCOUNT
mysql> SELECT SQL_CALC_FOUND_ROWS * FROM tbl_name -> WHERE id > 100 LIMIT 10; mysql> SELECT FOUND_ROWS();
Read more about this here