Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
M
mariadb
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
mariadb
Commits
78590ad5
Commit
78590ad5
authored
Sep 09, 2005
by
serg@serg.mylan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
aftermerge
parent
3d7844ca
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
9 deletions
+9
-9
mysql-test/r/group_by.result
mysql-test/r/group_by.result
+9
-9
No files found.
mysql-test/r/group_by.result
View file @
78590ad5
...
@@ -751,15 +751,6 @@ COUNT(DISTINCT(t1.id)) comment
...
@@ -751,15 +751,6 @@ COUNT(DISTINCT(t1.id)) comment
1 NULL
1 NULL
1 a problem
1 a problem
DROP TABLE t1, t2;
DROP TABLE t1, t2;
create table t1(f1 varchar(5) key);
insert into t1 values (1),(2);
select sql_buffer_result max(f1) is null from t1;
max(f1) is null
0
select sql_buffer_result max(f1)+1 from t1;
max(f1)+1
3
drop table t1;
create table t1 (f1 date);
create table t1 (f1 date);
insert into t1 values('2005-06-06');
insert into t1 values('2005-06-06');
insert into t1 values('2005-06-06');
insert into t1 values('2005-06-06');
...
@@ -775,6 +766,15 @@ n
...
@@ -775,6 +766,15 @@ n
Warnings:
Warnings:
Warning 1052 Column 'n' in group statement is ambiguous
Warning 1052 Column 'n' in group statement is ambiguous
DROP TABLE t1;
DROP TABLE t1;
create table t1(f1 varchar(5) key);
insert into t1 values (1),(2);
select sql_buffer_result max(f1) is null from t1;
max(f1) is null
0
select sql_buffer_result max(f1)+1 from t1;
max(f1)+1
3
drop table t1;
create table t1 (c1 char(3), c2 char(3));
create table t1 (c1 char(3), c2 char(3));
create table t2 (c3 char(3), c4 char(3));
create table t2 (c3 char(3), c4 char(3));
insert into t1 values ('aaa', 'bb1'), ('aaa', 'bb2');
insert into t1 values ('aaa', 'bb1'), ('aaa', 'bb2');
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment