~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to tests/r/subselect3.result

  • Committer: Brian Aker
  • Date: 2010-06-28 16:17:36 UTC
  • mfrom: (1637.4.1 drizzle)
  • Revision ID: brian@gaz-20100628161736-eormhb2mnd551i2h
Merge unused

Show diffs side-by-side

added added

removed removed

Lines of Context:
247
247
NULL    1       100     0
248
248
NULL    2       100     NULL
249
249
create table t4 (x int);
250
 
insert into t4 select A.a + 10*B.a from t1 A CROSS JOIN t1 B;
 
250
insert into t4 select A.a + 10*B.a from t1 A, t1 B;
251
251
explain extended 
252
252
select a,b, oref, 
253
253
(a,b) in (select a,b from t1,t4 where c=t2.oref) Z 
772
772
DROP TABLE t1, t2;
773
773
create table t1 (a int, b decimal(13, 3));
774
774
insert into t1 values (1, 0.123);
775
 
select a, (select max(b) from t1) into outfile "DRIZZLETEST_VARDIR/subselect.out.file.1" from t1;
 
775
select a, (select max(b) from t1) into outfile "subselect.out.file.1" from t1;
776
776
delete from t1;
777
 
load data infile "DRIZZLETEST_VARDIR/subselect.out.file.1" into table t1;
 
777
load data infile "subselect.out.file.1" into table t1;
778
778
select * from t1;
779
779
a       b
780
780
1       0.123