MySQL Explain rows limit
问题 Below is my query to get 20 rows with genre_id 1. EXPLAIN SELECT * FROM (`content`) WHERE `genre_id` = '1' AND `category` = 1 LIMIT 20 I have total 654 rows in content table with genre_id 1, I have index on genre_id and in above query I am limiting result to display only 20 records which is working fine but explain is showing 654 records under rows, I tried to add index on category but still same result and then also I removed AND category = 1 but same rows count: id select_type table type