MySQL BETWEEN Clause Returns Incoherent Results

(Doc ID 2374127.1)

Last updated on JUNE 02, 2018

Applies to:

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

Symptoms

Query including BETWEEN clause is returning unexpected results. As an example, same query written in the equivalent two forms:

 

Changes

 

Cause

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 hundreds of Community platforms