MySQL Forums
Forum List  »  Newbie

Re: BETWEEN condition is not working...
Posted by: Benoit St-Jean
Date: January 10, 2018 09:50PM

No! No! No! And no! The problem described is a ONE LINER, newbie and basic stuff, nothing else nor complicated! Guys, all you need is to understand how BETWEEN works! This is BASIC stuff.

SELECT 5 BETWEEN 2 AND 10; /* result is 1 */
SELECT 5 BETWEEN 10 AND 2; /* result is 0 */

Options: ReplyQuote




Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.