how to count data in table mysql code example
Example 1: count of tables in database mysql
SELECT count(*)
FROM INFORMATION_SCHEMA.TABLES
WHERE TABLE_SCHEMA = 'database_name'
Example 2: select count from table mysql
SELECT COUNT(*) FROM count_demos;