My Oracle Support Banner

Found_rows() Returns 1 When Using Union And No Rows Found (Doc ID 2214919.1)

Last updated on DECEMBER 28, 2016

Applies to:

MySQL Server - Version 5.7 and later
Information in this document applies to any platform.


FOUND_ROWS() returns 1 when using UNION and no rows were found by previous SELECT statement.


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

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

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