~ubuntu-branches/ubuntu/trusty/drizzle/trusty

« back to all changes in this revision

Viewing changes to tests/r/count_distinct3.result

  • Committer: Bazaar Package Importer
  • Author(s): Monty Taylor
  • Date: 2010-03-18 12:12:31 UTC
  • Revision ID: james.westby@ubuntu.com-20100318121231-k6g1xe6cshbwa0f8
Tags: upstream-2010.03.1347
ImportĀ upstreamĀ versionĀ 2010.03.1347

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
DROP TABLE IF EXISTS t1, t2;
 
2
CREATE TABLE t1 (id INTEGER, grp int, id_rev INTEGER);
 
3
SELECT COUNT(*) FROM t1;
 
4
COUNT(*)
 
5
13000
 
6
SELECT COUNT(DISTINCT id) FROM t1 GROUP BY grp;
 
7
DROP TABLE t1;
 
8
set @@read_buffer_size=default;