~ubuntu-branches/ubuntu/precise/drizzle/precise

« back to all changes in this revision

Viewing changes to tests/r/derived.result

  • Committer: Bazaar Package Importer
  • Author(s): Monty Taylor
  • Date: 2011-03-02 10:38:38 UTC
  • mfrom: (1.2.9 upstream)
  • Revision ID: james.westby@ubuntu.com-20110302103838-4ezi8b065c4bv329
Tags: 2011.03.11-0ubuntu1
* New upstream release.
* Sleep no longer an so.
* Re-add get-orig-source, but this time with working.
* New symbol added to libdrizzle.

Show diffs side-by-side

added added

removed removed

Lines of Context:
40
40
select * from t1 as x1, (select * from t1) as x2 where x1.a != 0;
41
41
a       b       a       b
42
42
1       a       1       a
 
43
1       a       2       b
 
44
1       a       3       c
 
45
1       a       3       c
43
46
2       b       1       a
44
 
3       c       1       a
45
 
3       c       1       a
46
 
1       a       2       b
47
47
2       b       2       b
48
 
3       c       2       b
49
 
3       c       2       b
50
 
1       a       3       c
51
 
2       b       3       c
52
 
3       c       3       c
53
 
3       c       3       c
54
 
1       a       3       c
55
 
2       b       3       c
 
48
2       b       3       c
 
49
2       b       3       c
 
50
3       c       1       a
 
51
3       c       1       a
 
52
3       c       2       b
 
53
3       c       2       b
 
54
3       c       3       c
 
55
3       c       3       c
56
56
3       c       3       c
57
57
3       c       3       c
58
58
explain select * from t1 as x1, (select * from t1) as x2 where x1.a != 0;
228
228
select * from ( select * from t1 union select * from t1) a,(select * from t1 union select * from t1) b where a.a != 0;
229
229
a       a
230
230
1       1
 
231
1       2
231
232
2       1
232
 
1       2
233
233
2       2
234
234
explain select * from ( select * from t1 union select * from t1) a,(select * from t1 union select * from t1) b where a.a != 0;
235
235
id      select_type     table   type    possible_keys   key     key_len ref     rows    Extra