mirror of
https://github.com/MariaDB/server.git
synced 2025-11-02 02:53:04 +03:00
merge
This commit is contained in:
@@ -1238,3 +1238,11 @@ CREATE TABLE t1
|
||||
s2 CHAR(5) COLLATE latin1_swedish_ci);
|
||||
SELECT * FROM t1 WHERE s1 = (SELECT s2 FROM t1);
|
||||
ERROR HY000: Illegal mix of collations (latin1_german1_ci,IMPLICIT) and (latin1_swedish_ci,IMPLICIT) for operation '='
|
||||
drop table t1;
|
||||
create table t1 (s1 int);
|
||||
create table t2 (s1 int);
|
||||
insert into t1 values (1);
|
||||
insert into t2 values (1);
|
||||
select * from t1 where exists (select s1 from t2 having max(t2.s1)=t1.s1);
|
||||
s1
|
||||
drop table t1,t2;
|
||||
|
||||
Reference in New Issue
Block a user