how can we get the number of records or rows in a table using mysql code example
Example: get number of rows in every table mysql
mysql> SELECT table_name, table_rows
->FROM INFORMATION_SCHEMA.TABLES
->WHERE TABLE_SCHEMA = 'business';
mysql> SELECT table_name, table_rows
->FROM INFORMATION_SCHEMA.TABLES
->WHERE TABLE_SCHEMA = 'business';