My Oracle Support Banner

When Using a Multiple-column Primary Key (PK) With Always True Condition, MySQL Returns Only the First Row (Doc ID 2268046.1)

Last updated on MAY 29, 2017

Applies to:

MySQL Server - Version 5.5 to 5.5 [Release 5.5]
Information in this document applies to any platform.


When using a multiple-column primary key and an always true condition (y<=3 OR y>3), MySQL only returns the first row match.


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
 Permanent solution

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