MySQL Forums
Forum List  »  Newbie

WHERE TRUE/FALSE - what's the sense of this statement?
Posted by: Thomas Gilgen
Date: May 10, 2014 01:45PM

I don't understand this code:

SELECT
*
FROM
test
WHERE
TRUE;


SELECT
*
FROM
test
WHERE
FALSE;

what's that? What is the use case? Please explain me. I don't know that from Oracle.

Options: ReplyQuote


Subject
Written By
Posted
WHERE TRUE/FALSE - what's the sense of this statement?
May 10, 2014 01:45PM


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.