repo.or.cz
/
tomato.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
mySQL 5.0.11 sources for tomato
[tomato.git]
/
release
/
src
/
router
/
mysql
/
mysql-test
/
r
/
count_distinct3.result
blob
840c26669a12aece11f32a67d5619595b92ce1f1
1
DROP TABLE IF EXISTS t1, t2;
2
CREATE TABLE t1 (id INTEGER, grp TINYINT, id_rev INTEGER);
3
SELECT COUNT(*) FROM t1;
4
COUNT(*)
5
4201000
6
SELECT COUNT(DISTINCT id) FROM t1 GROUP BY grp;
7
# Begin cleanup
8
SET session myisam_sort_buffer_size = @orig_myisam_sort_buffer_size;
9
DROP TABLE t1;