Request
SHOW INDEX FROM `table_name` WHERE KEY_NAME = 'index_name' returns the table. Why can't I display the number of rows in this table with the following query?
SELECT COUNT(*) FROM (SHOW INDEX FROM `table_name` WHERE KEY_NAME = 'index_name'); Is this a wrong query, or is it basically impossible to print the number of rows in a table - the result of a SHOW INDEX query?