My Oracle Support Banner

SELECT Statement Does Not Return the Number of Rows Told By EXPLAIN (Doc ID 2271036.1)

Last updated on MAY 28, 2017

Applies to:

MySQL Cluster - Version 7.2 and later
MySQL Server - Version 5.5 and later
Information in this document applies to any platform.


The actual number of rows returned by a SELECT query and the number of rows indicated by the EXPLAIN output are different.

For example consider the following table and query:




To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!

In this Document

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.