1339
1339
update t1 set s1 = s1 + 1 where 1 = (select x.s1 as A from t2 WHERE t2.s1 > t1.s1 order by A);
1340
1340
ERROR 42S22: Unknown column 'x.s1' in 'field list'
1346
ERROR HY000: Illegal mix of collations (latin1_german1_ci,IMPLICIT) and (latin1_swedish_ci,IMPLICIT) for operation '>'
1348
ERROR HY000: Illegal mix of collations (latin1_german1_ci,IMPLICIT) and (latin1_swedish_ci,IMPLICIT) for operation '>'
1350
1342
create table t1(toid int,rd int);
1351
1343
create table t2(userid int,pmnew int,pmtotal int);
1352
1344
insert into t2 values(1,0,0),(2,0,0);