IS the compare in where clause caused different?
Posted by:
翊玮 赵
Date: December 22, 2024 09:28PM
IN Mysql 8.0.26, the following two select sql result is different, why?
CREATE TABLE testjs(js json);
CREATE TABLE testtext(tx text);
INSERT INTO testjs values('"abc"');
INSERT INTO testext values('abc');
SELECT js = tx FROM testjs, testtext;
-------------------------------------------------
1
SELECT * FROM testjs, testtext WHERE js = tx;
-------------------------------------------------
empty set
IS the compare in where clause caused different?
Subject
Written By
Posted
IS the compare in where clause caused different?
December 22, 2024 09:28PM
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.