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
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nexedi
MariaDB
Commits
4d8211e2
Commit
4d8211e2
authored
May 24, 2002
by
Sinisa@sinisa.nasamreza.org
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Changing tests
parent
692f4af8
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
20 additions
and
20 deletions
+20
-20
mysql-test/r/group_by.result
mysql-test/r/group_by.result
+4
-0
mysql-test/r/sel000004.result
mysql-test/r/sel000004.result
+0
-4
mysql-test/t/group_by.test
mysql-test/t/group_by.test
+16
-0
mysql-test/t/sel000004.test
mysql-test/t/sel000004.test
+0
-16
No files found.
mysql-test/r/group_by.result
View file @
4d8211e2
...
...
@@ -64,3 +64,7 @@ score count(*)
3 3
2 1
1 2
One Two sum(Four)
1 1 16
1 2 16
1 3 16
mysql-test/r/sel000004.result
deleted
100644 → 0
View file @
692f4af8
One Two sum(Four)
1 1 16
1 2 16
1 3 16
mysql-test/t/group_by.test
View file @
4d8211e2
...
...
@@ -243,3 +243,19 @@ select sql_big_result spid,sum(userid) from t1 group by spid desc;
explain
select
sql_big_result
score
,
count
(
*
)
from
t1
group
by
score
desc
;
select
sql_big_result
score
,
count
(
*
)
from
t1
group
by
score
desc
;
drop
table
t1
;
drop
table
if
exists
t1
;
create
table
t1
(
One
int
unsigned
,
Two
int
unsigned
,
Three
int
unsigned
,
Four
int
unsigned
);
insert
into
t1
values
(
1
,
2
,
1
,
4
);
insert
into
t1
values
(
1
,
2
,
2
,
4
);
insert
into
t1
values
(
1
,
2
,
3
,
4
);
insert
into
t1
values
(
1
,
2
,
4
,
4
);
insert
into
t1
values
(
1
,
1
,
1
,
4
);
insert
into
t1
values
(
1
,
1
,
2
,
4
);
insert
into
t1
values
(
1
,
1
,
3
,
4
);
insert
into
t1
values
(
1
,
1
,
4
,
4
);
insert
into
t1
values
(
1
,
3
,
1
,
4
);
insert
into
t1
values
(
1
,
3
,
2
,
4
);
insert
into
t1
values
(
1
,
3
,
3
,
4
);
insert
into
t1
values
(
1
,
3
,
4
,
4
);
select
One
,
Two
,
sum
(
Four
)
from
t1
group
by
One
,
Two
;
drop
table
if
exists
t1
;
mysql-test/t/sel000004.test
deleted
100644 → 0
View file @
692f4af8
drop
table
if
exists
t1
;
create
table
t1
(
One
int
unsigned
,
Two
int
unsigned
,
Three
int
unsigned
,
Four
int
unsigned
);
insert
into
t1
values
(
1
,
2
,
1
,
4
);
insert
into
t1
values
(
1
,
2
,
2
,
4
);
insert
into
t1
values
(
1
,
2
,
3
,
4
);
insert
into
t1
values
(
1
,
2
,
4
,
4
);
insert
into
t1
values
(
1
,
1
,
1
,
4
);
insert
into
t1
values
(
1
,
1
,
2
,
4
);
insert
into
t1
values
(
1
,
1
,
3
,
4
);
insert
into
t1
values
(
1
,
1
,
4
,
4
);
insert
into
t1
values
(
1
,
3
,
1
,
4
);
insert
into
t1
values
(
1
,
3
,
2
,
4
);
insert
into
t1
values
(
1
,
3
,
3
,
4
);
insert
into
t1
values
(
1
,
3
,
4
,
4
);
select
One
,
Two
,
sum
(
Four
)
from
t1
group
by
One
,
Two
;
drop
table
if
exists
t1
;
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