~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to tests/t/subselect3.test

pandora-build v0.71. Added check for avahi.

Show diffs side-by-side

added added

removed removed

Lines of Context:
300
300
 
301
301
select oref, a, a in (select ie from t1 where oref=t2.oref) Z from t2;
302
302
 
 
303
--sorted_result
303
304
select oref, a from t2 where a in (select ie from t1 where oref=t2.oref); 
304
305
 
305
306
select oref, a from t2 where a not in (select ie from t1 where oref=t2.oref);
342
343
 
343
344
select oref, a, a in (select ie from t1 where oref=t2.oref) Z from t2;
344
345
 
 
346
--sorted_result
345
347
select oref, a from t2 where a in (select ie from t1 where oref=t2.oref); 
346
348
 
347
349
select oref, a from t2 where a not in (select ie from t1 where oref=t2.oref);
354
356
 
355
357
select oref, a, a in (select ie from t1 where oref=t2.oref) Z from t2;
356
358
 
 
359
--sorted_result
357
360
select oref, a from t2 where a in (select ie from t1 where oref=t2.oref); 
358
361
 
359
362
select oref, a from t2 where a not in (select ie from t1 where oref=t2.oref);
461
464
 
462
465
select oref, a, a in (select ie from t1 where oref=t2.oref) Z from t2;
463
466
 
 
467
--sorted_result
464
468
select oref, a from t2 where a in (select ie from t1 where oref=t2.oref);
465
469
 
466
470
select oref, a from t2 where a not in (select ie from t1 where oref=t2.oref);
579
583
CREATE TABLE t1 (a INT NOT NULL);
580
584
INSERT INTO t1 VALUES (1),(-1), (65),(66);
581
585
 
582
 
CREATE TABLE t2 (a INT UNSIGNED NOT NULL PRIMARY KEY);
 
586
CREATE TABLE t2 (a INT NOT NULL PRIMARY KEY);
583
587
INSERT INTO t2 VALUES (65),(66);
584
588
 
585
589
SELECT a FROM t1 WHERE a NOT IN (65,66);