diff options
author | Sinisa@sinisa.nasamreza.org <> | 2002-11-28 19:19:21 +0200 |
---|---|---|
committer | Sinisa@sinisa.nasamreza.org <> | 2002-11-28 19:19:21 +0200 |
commit | 8a53d1ca6a3e1e3d93953aeb699e964bb9941c65 (patch) | |
tree | ef66c94bfc0bceb424a8ce8e01edf84b701cb6d2 /mysql-test/r/group_by.result | |
parent | c6e6fa8f55d0867dfa4b57e10dae609b578425db (diff) | |
download | mariadb-git-8a53d1ca6a3e1e3d93953aeb699e964bb9941c65.tar.gz |
adding mandatory aliases for derived tables as per SQL-99
doing it in sql_yacc.yy does not work
this commit contains fixes for other tests
there are fixes in subselect test which will have to be changed
once fix_fields is fixed to work with aliased derived tables
Diffstat (limited to 'mysql-test/r/group_by.result')
-rw-r--r-- | mysql-test/r/group_by.result | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mysql-test/r/group_by.result b/mysql-test/r/group_by.result index ead9935f824..b5a35b981db 100644 --- a/mysql-test/r/group_by.result +++ b/mysql-test/r/group_by.result @@ -1,4 +1,4 @@ -SELECT 1 FROM (SELECT 1) GROUP BY SUM(1); +SELECT 1 FROM (SELECT 1) as a GROUP BY SUM(1); Invalid use of group function drop table if exists t1,t2,t3; CREATE TABLE t1 ( |