diff options
author | bell@sanja.is.com.ua <> | 2004-09-16 16:24:46 +0300 |
---|---|---|
committer | bell@sanja.is.com.ua <> | 2004-09-16 16:24:46 +0300 |
commit | f6dba131eba5cc09f77c073923b728a8a4012579 (patch) | |
tree | 23a14c8221f0e0a31e95198595c363f3d0ec588b /mysql-test/r | |
parent | ac55486644f85b718131e3ec24b09bfa59b4cf16 (diff) | |
parent | 5d42c492d6cd7440bb5d19b76ccb0b25bb73c5b8 (diff) | |
download | mariadb-git-f6dba131eba5cc09f77c073923b728a8a4012579.tar.gz |
Merge sanja.is.com.ua:/home/bell/mysql/bk/mysql-4.1
into sanja.is.com.ua:/home/bell/mysql/bk/work-sum-4.1
Diffstat (limited to 'mysql-test/r')
-rw-r--r-- | mysql-test/r/subselect.result | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/mysql-test/r/subselect.result b/mysql-test/r/subselect.result index ff5c9dfe813..7826f5e452d 100644 --- a/mysql-test/r/subselect.result +++ b/mysql-test/r/subselect.result @@ -1966,5 +1966,13 @@ howmanyvalues mycount 3 3 4 4 SELECT a.howmanyvalues, (SELECT count(*) from t1 b where b.howmanyvalues = a.avalue) as mycount from t1 a group by a.howmanyvalues; -ERROR 42S22: Unknown column 'a.avalue' in 'where clause' +howmanyvalues mycount +1 1 +2 1 +3 1 +4 1 +drop table t1; +create table t1 (x int); +select (select b.x from t1 as b where b.x=a.x) from t1 as a where a.x=2 group by a.x; +(select b.x from t1 as b where b.x=a.x) drop table t1; |