sqllogictest
Artifact Content
Not logged in

Artifact b6629458e904e7e258a423faa745400781653b75:


statement ok
CREATE TABLE t1(
  a1 INTEGER,
  b1 INTEGER,
  c1 INTEGER,
  d1 INTEGER,
  e1 INTEGER,
  x1 VARCHAR(30)
)

statement ok
CREATE TABLE t2(
  a2 INTEGER,
  b2 INTEGER,
  c2 INTEGER,
  d2 INTEGER,
  e2 INTEGER,
  x2 VARCHAR(30)
)

statement ok
CREATE TABLE t3(
  a3 INTEGER,
  b3 INTEGER,
  c3 INTEGER,
  d3 INTEGER,
  e3 INTEGER,
  x3 VARCHAR(30)
)

statement ok
CREATE TABLE t4(
  a4 INTEGER,
  b4 INTEGER,
  c4 INTEGER,
  d4 INTEGER,
  e4 INTEGER,
  x4 VARCHAR(30)
)

statement ok
CREATE TABLE t5(
  a5 INTEGER,
  b5 INTEGER,
  c5 INTEGER,
  d5 INTEGER,
  e5 INTEGER,
  x5 VARCHAR(30)
)

statement ok
CREATE TABLE t6(
  a6 INTEGER,
  b6 INTEGER,
  c6 INTEGER,
  d6 INTEGER,
  e6 INTEGER,
  x6 VARCHAR(30)
)

statement ok
CREATE TABLE t7(
  a7 INTEGER,
  b7 INTEGER,
  c7 INTEGER,
  d7 INTEGER,
  e7 INTEGER,
  x7 VARCHAR(30)
)

statement ok
CREATE TABLE t8(
  a8 INTEGER,
  b8 INTEGER,
  c8 INTEGER,
  d8 INTEGER,
  e8 INTEGER,
  x8 VARCHAR(30)
)

statement ok
CREATE TABLE t9(
  a9 INTEGER,
  b9 INTEGER,
  c9 INTEGER,
  d9 INTEGER,
  e9 INTEGER,
  x9 VARCHAR(30)
)

statement ok
INSERT INTO t1 VALUES(382,414,67,992,483,'table tn1 row 1')

statement ok
INSERT INTO t7 VALUES(31,30,931,886,590,'table tn7 row 1')

statement ok
INSERT INTO t5 VALUES(832,186,734,114,697,'table tn5 row 1')

statement ok
INSERT INTO t4 VALUES(637,907,293,264,377,'table tn4 row 1')

statement ok
INSERT INTO t5 VALUES(9,998,12,841,851,'table tn5 row 2')

statement ok
INSERT INTO t5 VALUES(53,975,196,856,144,'table tn5 row 3')

statement ok
INSERT INTO t8 VALUES(728,984,183,499,469,'table tn8 row 1')

statement ok
INSERT INTO t9 VALUES(450,95,973,389,679,'table tn9 row 1')

statement ok
INSERT INTO t1 VALUES(231,468,97,414,795,'table tn1 row 2')

statement ok
INSERT INTO t3 VALUES(777,827,486,368,602,'table tn3 row 1')

statement ok
INSERT INTO t1 VALUES(810,355,805,274,858,'table tn1 row 3')

statement ok
INSERT INTO t9 VALUES(776,680,834,960,704,'table tn9 row 2')

statement ok
INSERT INTO t1 VALUES(536,956,417,418,381,'table tn1 row 4')

statement ok
INSERT INTO t8 VALUES(239,725,431,116,223,'table tn8 row 2')

statement ok
INSERT INTO t3 VALUES(244,376,806,314,774,'table tn3 row 2')

statement ok
INSERT INTO t3 VALUES(995,632,600,508,833,'table tn3 row 3')

statement ok
INSERT INTO t2 VALUES(35,729,197,292,769,'table tn2 row 1')

statement ok
INSERT INTO t2 VALUES(308,60,557,416,115,'table tn2 row 2')

statement ok
INSERT INTO t7 VALUES(958,892,135,996,27,'table tn7 row 2')

statement ok
INSERT INTO t2 VALUES(522,640,988,577,679,'table tn2 row 3')

statement ok
INSERT INTO t7 VALUES(361,913,529,916,282,'table tn7 row 3')

statement ok
INSERT INTO t2 VALUES(471,805,161,513,812,'table tn2 row 4')

statement ok
INSERT INTO t1 VALUES(479,43,902,294,685,'table tn1 row 5')

statement ok
INSERT INTO t1 VALUES(820,242,309,492,355,'table tn1 row 6')

statement ok
INSERT INTO t3 VALUES(396,70,885,683,527,'table tn3 row 4')

statement ok
INSERT INTO t9 VALUES(685,63,151,23,418,'table tn9 row 3')

statement ok
INSERT INTO t2 VALUES(751,489,746,328,117,'table tn2 row 5')

statement ok
INSERT INTO t2 VALUES(374,376,728,14,381,'table tn2 row 6')

statement ok
INSERT INTO t5 VALUES(826,79,923,117,937,'table tn5 row 4')

statement ok
INSERT INTO t2 VALUES(725,857,103,838,564,'table tn2 row 7')

statement ok
INSERT INTO t8 VALUES(406,934,160,815,431,'table tn8 row 3')

statement ok
INSERT INTO t3 VALUES(829,595,645,607,494,'table tn3 row 5')

statement ok
INSERT INTO t3 VALUES(754,827,455,437,896,'table tn3 row 6')

statement ok
INSERT INTO t2 VALUES(98,779,996,539,698,'table tn2 row 8')

statement ok
INSERT INTO t6 VALUES(384,92,928,192,840,'table tn6 row 1')

statement ok
INSERT INTO t9 VALUES(318,127,288,909,278,'table tn9 row 4')

statement ok
INSERT INTO t1 VALUES(754,808,865,972,313,'table tn1 row 7')

statement ok
INSERT INTO t5 VALUES(242,822,599,742,327,'table tn5 row 5')

statement ok
INSERT INTO t1 VALUES(950,822,526,310,646,'table tn1 row 8')

statement ok
INSERT INTO t5 VALUES(785,951,514,818,206,'table tn5 row 6')

statement ok
INSERT INTO t4 VALUES(756,749,840,249,217,'table tn4 row 2')

statement ok
INSERT INTO t1 VALUES(607,711,870,223,14,'table tn1 row 9')

statement ok
INSERT INTO t7 VALUES(452,175,288,131,272,'table tn7 row 4')

statement ok
INSERT INTO t6 VALUES(718,989,534,147,469,'table tn6 row 2')

statement ok
INSERT INTO t8 VALUES(312,397,5,738,579,'table tn8 row 4')

statement ok
INSERT INTO t8 VALUES(347,665,354,439,14,'table tn8 row 5')

statement ok
INSERT INTO t7 VALUES(706,634,146,956,183,'table tn7 row 5')

statement ok
INSERT INTO t7 VALUES(48,867,729,687,372,'table tn7 row 6')

statement ok
INSERT INTO t4 VALUES(662,884,586,364,405,'table tn4 row 3')

statement ok
INSERT INTO t1 VALUES(75,387,530,529,228,'table tn1 row 10')

statement ok
INSERT INTO t1 VALUES(438,726,208,748,166,'table tn1 row 11')

statement ok
INSERT INTO t6 VALUES(211,463,768,500,67,'table tn6 row 3')

statement ok
INSERT INTO t3 VALUES(429,617,83,503,993,'table tn3 row 7')

statement ok
INSERT INTO t7 VALUES(62,660,709,781,561,'table tn7 row 7')

statement ok
INSERT INTO t6 VALUES(851,875,416,993,750,'table tn6 row 4')

statement ok
INSERT INTO t1 VALUES(622,853,762,172,113,'table tn1 row 12')

statement ok
INSERT INTO t9 VALUES(413,379,62,450,788,'table tn9 row 5')

statement ok
INSERT INTO t3 VALUES(696,386,247,231,848,'table tn3 row 8')

statement ok
INSERT INTO t9 VALUES(803,612,662,737,452,'table tn9 row 6')

statement ok
INSERT INTO t9 VALUES(435,171,272,464,954,'table tn9 row 7')

statement ok
INSERT INTO t4 VALUES(606,532,998,574,554,'table tn4 row 4')

statement ok
INSERT INTO t5 VALUES(540,380,723,729,104,'table tn5 row 7')

statement ok
INSERT INTO t8 VALUES(638,287,332,833,859,'table tn8 row 6')

statement ok
INSERT INTO t8 VALUES(256,870,117,192,305,'table tn8 row 7')

statement ok
INSERT INTO t8 VALUES(795,673,899,112,221,'table tn8 row 8')

statement ok
INSERT INTO t9 VALUES(879,285,257,770,860,'table tn9 row 8')

statement ok
INSERT INTO t6 VALUES(683,882,369,66,417,'table tn6 row 5')

statement ok
INSERT INTO t3 VALUES(979,701,7,782,702,'table tn3 row 9')

statement ok
INSERT INTO t7 VALUES(869,868,523,177,979,'table tn7 row 8')

statement ok
INSERT INTO t6 VALUES(392,217,446,867,31,'table tn6 row 6')

statement ok
INSERT INTO t7 VALUES(9,42,744,278,522,'table tn7 row 9')

statement ok
INSERT INTO t9 VALUES(102,818,469,926,854,'table tn9 row 9')

statement ok
INSERT INTO t4 VALUES(933,387,631,905,147,'table tn4 row 5')

statement ok
INSERT INTO t5 VALUES(342,858,37,811,271,'table tn5 row 8')

statement ok
INSERT INTO t8 VALUES(869,540,534,523,422,'table tn8 row 9')

statement ok
INSERT INTO t1 VALUES(553,762,498,467,616,'table tn1 row 13')

statement ok
INSERT INTO t1 VALUES(32,486,570,394,522,'table tn1 row 14')

statement ok
INSERT INTO t7 VALUES(452,808,94,52,826,'table tn7 row 10')

statement ok
INSERT INTO t3 VALUES(42,505,285,109,981,'table tn3 row 10')

statement ok
INSERT INTO t1 VALUES(173,523,675,86,872,'table tn1 row 15')

statement ok
INSERT INTO t5 VALUES(478,506,299,412,343,'table tn5 row 9')

statement ok
INSERT INTO t8 VALUES(838,102,196,554,423,'table tn8 row 10')

statement ok
INSERT INTO t7 VALUES(233,726,302,507,92,'table tn7 row 11')

statement ok
INSERT INTO t3 VALUES(997,998,711,399,914,'table tn3 row 11')

statement ok
INSERT INTO t1 VALUES(702,645,966,820,497,'table tn1 row 16')

statement ok
INSERT INTO t7 VALUES(952,362,467,199,319,'table tn7 row 12')

statement ok
INSERT INTO t6 VALUES(293,876,522,367,237,'table tn6 row 7')

statement ok
INSERT INTO t7 VALUES(998,202,441,722,79,'table tn7 row 13')

statement ok
INSERT INTO t2 VALUES(538,714,251,749,673,'table tn2 row 9')

statement ok
INSERT INTO t6 VALUES(116,230,506,355,731,'table tn6 row 8')

statement ok
INSERT INTO t1 VALUES(967,128,585,581,921,'table tn1 row 17')

statement ok
INSERT INTO t2 VALUES(863,311,810,743,428,'table tn2 row 10')

statement ok
INSERT INTO t2 VALUES(916,585,274,86,521,'table tn2 row 11')

statement ok
INSERT INTO t4 VALUES(825,921,660,777,376,'table tn4 row 6')

statement ok
INSERT INTO t2 VALUES(993,903,625,198,812,'table tn2 row 12')

statement ok
INSERT INTO t4 VALUES(327,323,366,511,619,'table tn4 row 7')

statement ok
INSERT INTO t8 VALUES(341,878,250,715,533,'table tn8 row 11')

statement ok
INSERT INTO t7 VALUES(386,820,853,795,844,'table tn7 row 14')

statement ok
INSERT INTO t1 VALUES(382,270,882,619,963,'table tn1 row 18')

statement ok
INSERT INTO t4 VALUES(901,389,74,429,223,'table tn4 row 8')

statement ok
INSERT INTO t3 VALUES(551,813,516,641,821,'table tn3 row 12')

statement ok
INSERT INTO t4 VALUES(708,167,806,277,358,'table tn4 row 9')

statement ok
INSERT INTO t5 VALUES(988,554,733,649,661,'table tn5 row 10')

statement ok
INSERT INTO t8 VALUES(72,359,668,805,106,'table tn8 row 12')

statement ok
INSERT INTO t3 VALUES(513,914,801,495,724,'table tn3 row 13')

statement ok
INSERT INTO t6 VALUES(238,923,4,807,353,'table tn6 row 9')

statement ok
INSERT INTO t8 VALUES(838,454,374,108,592,'table tn8 row 13')

statement ok
INSERT INTO t3 VALUES(879,355,326,184,854,'table tn3 row 14')

statement ok
INSERT INTO t5 VALUES(153,306,672,858,25,'table tn5 row 11')

statement ok
INSERT INTO t4 VALUES(997,286,403,223,575,'table tn4 row 10')

statement ok
INSERT INTO t8 VALUES(127,975,225,737,646,'table tn8 row 14')

statement ok
INSERT INTO t8 VALUES(561,1,111,2,893,'table tn8 row 15')

statement ok
INSERT INTO t3 VALUES(349,542,542,658,304,'table tn3 row 15')

statement ok
INSERT INTO t7 VALUES(433,323,589,134,462,'table tn7 row 15')

statement ok
INSERT INTO t1 VALUES(629,584,253,504,695,'table tn1 row 19')

statement ok
INSERT INTO t1 VALUES(52,132,315,25,210,'table tn1 row 20')

statement ok
INSERT INTO t7 VALUES(574,670,607,212,31,'table tn7 row 16')

statement ok
INSERT INTO t8 VALUES(578,891,521,711,41,'table tn8 row 16')

statement ok
INSERT INTO t6 VALUES(751,549,35,446,958,'table tn6 row 10')

statement ok
INSERT INTO t5 VALUES(357,548,922,470,730,'table tn5 row 12')

statement ok
INSERT INTO t4 VALUES(16,721,674,628,237,'table tn4 row 11')

statement ok
INSERT INTO t6 VALUES(829,606,620,974,972,'table tn6 row 11')

statement ok
INSERT INTO t6 VALUES(132,905,615,467,14,'table tn6 row 12')

statement ok
INSERT INTO t3 VALUES(245,816,607,538,424,'table tn3 row 16')

statement ok
INSERT INTO t7 VALUES(430,627,344,892,456,'table tn7 row 17')

statement ok
INSERT INTO t2 VALUES(809,811,333,833,548,'table tn2 row 13')

statement ok
INSERT INTO t1 VALUES(352,523,458,87,816,'table tn1 row 21')

statement ok
INSERT INTO t5 VALUES(519,703,443,69,587,'table tn5 row 13')

statement ok
INSERT INTO t1 VALUES(936,857,379,942,52,'table tn1 row 22')

statement ok
INSERT INTO t9 VALUES(468,342,188,399,335,'table tn9 row 10')

statement ok
INSERT INTO t5 VALUES(536,26,579,570,104,'table tn5 row 14')

statement ok
INSERT INTO t1 VALUES(779,446,814,323,732,'table tn1 row 23')

statement ok
INSERT INTO t4 VALUES(234,68,47,877,858,'table tn4 row 12')

statement ok
INSERT INTO t3 VALUES(186,927,688,599,266,'table tn3 row 17')

statement ok
INSERT INTO t4 VALUES(841,76,732,917,184,'table tn4 row 13')

statement ok
INSERT INTO t2 VALUES(455,681,107,225,556,'table tn2 row 14')

statement ok
INSERT INTO t9 VALUES(458,804,419,606,197,'table tn9 row 11')

statement ok
INSERT INTO t4 VALUES(952,966,214,728,531,'table tn4 row 14')

statement ok
INSERT INTO t7 VALUES(97,579,262,527,31,'table tn7 row 18')

statement ok
INSERT INTO t4 VALUES(596,175,82,85,252,'table tn4 row 15')

statement ok
INSERT INTO t8 VALUES(957,459,965,608,678,'table tn8 row 17')

statement ok
INSERT INTO t7 VALUES(466,750,22,787,624,'table tn7 row 19')

statement ok
INSERT INTO t6 VALUES(128,461,480,186,588,'table tn6 row 13')

statement ok
INSERT INTO t1 VALUES(330,556,623,828,904,'table tn1 row 24')

statement ok
INSERT INTO t7 VALUES(89,422,243,805,816,'table tn7 row 20')

statement ok
INSERT INTO t3 VALUES(347,17,127,307,959,'table tn3 row 18')

statement ok
INSERT INTO t6 VALUES(531,290,25,729,503,'table tn6 row 14')

statement ok
INSERT INTO t6 VALUES(537,984,729,489,283,'table tn6 row 15')

statement ok
INSERT INTO t5 VALUES(196,91,697,401,807,'table tn5 row 15')

statement ok
INSERT INTO t7 VALUES(982,510,432,828,48,'table tn7 row 21')

statement ok
INSERT INTO t2 VALUES(80,820,756,8,706,'table tn2 row 15')

statement ok
INSERT INTO t2 VALUES(680,674,127,914,463,'table tn2 row 16')

statement ok
INSERT INTO t5 VALUES(320,759,293,738,311,'table tn5 row 16')

statement ok
INSERT INTO t7 VALUES(165,426,397,91,290,'table tn7 row 22')

statement ok
INSERT INTO t4 VALUES(81,924,720,212,185,'table tn4 row 16')

statement ok
INSERT INTO t8 VALUES(504,205,979,124,776,'table tn8 row 18')

statement ok
INSERT INTO t9 VALUES(17,239,332,744,267,'table tn9 row 12')

statement ok
INSERT INTO t9 VALUES(18,496,905,166,230,'table tn9 row 13')

statement ok
INSERT INTO t4 VALUES(778,587,393,317,290,'table tn4 row 17')

statement ok
INSERT INTO t5 VALUES(362,193,44,805,812,'table tn5 row 17')

statement ok
INSERT INTO t8 VALUES(563,259,762,761,44,'table tn8 row 19')

statement ok
INSERT INTO t9 VALUES(389,819,764,759,965,'table tn9 row 14')

statement ok
INSERT INTO t3 VALUES(70,685,963,1,145,'table tn3 row 19')

statement ok
INSERT INTO t1 VALUES(147,253,523,432,161,'table tn1 row 25')

statement ok
INSERT INTO t8 VALUES(913,182,908,474,46,'table tn8 row 20')

statement ok
INSERT INTO t9 VALUES(511,423,349,549,477,'table tn9 row 15')

statement ok
INSERT INTO t3 VALUES(822,665,77,483,526,'table tn3 row 20')

statement ok
INSERT INTO t5 VALUES(413,499,18,24,287,'table tn5 row 18')

statement ok
INSERT INTO t3 VALUES(30,382,750,737,951,'table tn3 row 21')

statement ok
INSERT INTO t8 VALUES(200,640,541,682,942,'table tn8 row 21')

statement ok
INSERT INTO t1 VALUES(283,981,172,899,299,'table tn1 row 26')

statement ok
INSERT INTO t3 VALUES(697,835,338,647,193,'table tn3 row 22')

statement ok
INSERT INTO t8 VALUES(637,228,149,269,947,'table tn8 row 22')

statement ok
INSERT INTO t6 VALUES(40,63,769,790,808,'table tn6 row 16')

statement ok
INSERT INTO t5 VALUES(445,934,809,752,386,'table tn5 row 19')

statement ok
INSERT INTO t3 VALUES(892,616,601,554,552,'table tn3 row 23')

statement ok
INSERT INTO t2 VALUES(785,90,141,886,788,'table tn2 row 17')

statement ok
INSERT INTO t1 VALUES(674,346,774,297,89,'table tn1 row 27')

statement ok
INSERT INTO t1 VALUES(363,280,805,141,737,'table tn1 row 28')

statement ok
INSERT INTO t6 VALUES(540,601,28,269,431,'table tn6 row 17')

statement ok
INSERT INTO t2 VALUES(709,605,878,448,781,'table tn2 row 18')

statement ok
INSERT INTO t8 VALUES(259,705,851,326,561,'table tn8 row 23')

statement ok
INSERT INTO t7 VALUES(195,221,305,296,301,'table tn7 row 23')

statement ok
INSERT INTO t1 VALUES(109,295,136,678,312,'table tn1 row 29')

statement ok
INSERT INTO t7 VALUES(876,655,249,590,976,'table tn7 row 24')

statement ok
INSERT INTO t5 VALUES(429,530,471,132,41,'table tn5 row 20')

statement ok
INSERT INTO t2 VALUES(279,846,779,351,223,'table tn2 row 19')

statement ok
INSERT INTO t3 VALUES(499,665,459,429,651,'table tn3 row 24')

statement ok
INSERT INTO t6 VALUES(973,421,270,151,809,'table tn6 row 18')

statement ok
INSERT INTO t4 VALUES(857,260,658,657,390,'table tn4 row 18')

statement ok
INSERT INTO t9 VALUES(964,783,64,855,653,'table tn9 row 16')

statement ok
INSERT INTO t2 VALUES(637,519,65,373,205,'table tn2 row 20')

statement ok
INSERT INTO t5 VALUES(917,424,152,437,585,'table tn5 row 21')

statement ok
INSERT INTO t9 VALUES(297,848,146,467,942,'table tn9 row 17')

statement ok
INSERT INTO t9 VALUES(747,789,252,226,426,'table tn9 row 18')

statement ok
INSERT INTO t4 VALUES(894,551,178,910,1,'table tn4 row 19')

statement ok
INSERT INTO t4 VALUES(723,660,238,349,767,'table tn4 row 20')

statement ok
INSERT INTO t2 VALUES(910,418,830,547,671,'table tn2 row 21')

statement ok
INSERT INTO t1 VALUES(853,993,775,213,779,'table tn1 row 30')

statement ok
INSERT INTO t5 VALUES(586,930,855,238,130,'table tn5 row 22')

statement ok
INSERT INTO t8 VALUES(254,964,692,48,149,'table tn8 row 24')

statement ok
INSERT INTO t3 VALUES(457,876,467,355,854,'table tn3 row 25')

statement ok
INSERT INTO t8 VALUES(250,761,775,339,179,'table tn8 row 25')

statement ok
INSERT INTO t9 VALUES(982,703,801,938,15,'table tn9 row 19')

statement ok
INSERT INTO t2 VALUES(544,113,688,351,983,'table tn2 row 22')

statement ok
INSERT INTO t7 VALUES(921,424,954,974,862,'table tn7 row 25')

statement ok
INSERT INTO t8 VALUES(443,642,599,781,440,'table tn8 row 26')

statement ok
INSERT INTO t6 VALUES(839,774,54,393,230,'table tn6 row 19')

statement ok
INSERT INTO t3 VALUES(996,713,887,520,25,'table tn3 row 26')

statement ok
INSERT INTO t1 VALUES(643,435,654,586,546,'table tn1 row 31')

statement ok
INSERT INTO t7 VALUES(35,764,174,594,288,'table tn7 row 26')

statement ok
INSERT INTO t4 VALUES(502,563,536,626,188,'table tn4 row 21')

statement ok
INSERT INTO t8 VALUES(864,624,821,667,956,'table tn8 row 27')

statement ok
INSERT INTO t8 VALUES(855,852,291,446,63,'table tn8 row 28')

statement ok
INSERT INTO t1 VALUES(380,255,36,990,667,'table tn1 row 32')

statement ok
INSERT INTO t7 VALUES(324,583,488,666,67,'table tn7 row 27')

statement ok
INSERT INTO t5 VALUES(335,897,222,343,589,'table tn5 row 23')

statement ok
INSERT INTO t4 VALUES(752,271,0,665,85,'table tn4 row 22')

statement ok
INSERT INTO t5 VALUES(330,860,437,555,899,'table tn5 row 24')

statement ok
INSERT INTO t2 VALUES(796,819,220,306,411,'table tn2 row 23')

statement ok
INSERT INTO t8 VALUES(5,405,461,330,384,'table tn8 row 29')

statement ok
INSERT INTO t6 VALUES(653,954,749,956,646,'table tn6 row 20')

statement ok
INSERT INTO t9 VALUES(263,210,171,922,61,'table tn9 row 20')

statement ok
INSERT INTO t5 VALUES(270,113,825,780,696,'table tn5 row 25')

statement ok
INSERT INTO t2 VALUES(590,270,123,389,647,'table tn2 row 24')

statement ok
INSERT INTO t7 VALUES(27,495,364,709,887,'table tn7 row 28')

statement ok
INSERT INTO t1 VALUES(732,42,905,175,625,'table tn1 row 33')

statement ok
INSERT INTO t6 VALUES(811,629,297,689,893,'table tn6 row 21')

statement ok
INSERT INTO t5 VALUES(190,69,185,910,727,'table tn5 row 26')

statement ok
INSERT INTO t5 VALUES(114,260,681,835,22,'table tn5 row 27')

statement ok
INSERT INTO t2 VALUES(508,170,444,723,965,'table tn2 row 25')

statement ok
INSERT INTO t5 VALUES(421,731,915,152,758,'table tn5 row 28')

statement ok
INSERT INTO t9 VALUES(463,26,87,602,263,'table tn9 row 21')

statement ok
INSERT INTO t3 VALUES(490,73,133,423,586,'table tn3 row 27')

statement ok
INSERT INTO t3 VALUES(899,240,863,825,319,'table tn3 row 28')

statement ok
INSERT INTO t1 VALUES(988,639,88,130,962,'table tn1 row 34')

statement ok
INSERT INTO t3 VALUES(637,549,476,645,401,'table tn3 row 29')

statement ok
INSERT INTO t2 VALUES(254,754,823,334,604,'table tn2 row 26')

statement ok
INSERT INTO t3 VALUES(935,58,701,2,892,'table tn3 row 30')

statement ok
INSERT INTO t5 VALUES(556,159,756,269,436,'table tn5 row 29')

statement ok
INSERT INTO t3 VALUES(341,677,555,363,975,'table tn3 row 31')

statement ok
INSERT INTO t3 VALUES(836,454,339,737,837,'table tn3 row 32')

statement ok
INSERT INTO t1 VALUES(862,682,272,949,772,'table tn1 row 35')

statement ok
INSERT INTO t2 VALUES(651,725,272,365,654,'table tn2 row 27')

statement ok
INSERT INTO t4 VALUES(243,402,723,680,123,'table tn4 row 23')

statement ok
INSERT INTO t3 VALUES(803,360,296,501,271,'table tn3 row 33')

statement ok
INSERT INTO t5 VALUES(319,685,101,1,758,'table tn5 row 30')

statement ok
INSERT INTO t8 VALUES(306,162,266,769,487,'table tn8 row 30')

statement ok
INSERT INTO t9 VALUES(685,446,992,790,542,'table tn9 row 22')

statement ok
INSERT INTO t4 VALUES(337,917,220,658,837,'table tn4 row 24')

statement ok
INSERT INTO t1 VALUES(451,525,690,346,880,'table tn1 row 36')

statement ok
INSERT INTO t2 VALUES(175,897,202,516,433,'table tn2 row 28')

statement ok
INSERT INTO t3 VALUES(380,932,890,364,260,'table tn3 row 34')

statement ok
INSERT INTO t2 VALUES(652,414,551,60,151,'table tn2 row 29')

statement ok
INSERT INTO t5 VALUES(447,629,149,360,155,'table tn5 row 31')

statement ok
INSERT INTO t5 VALUES(69,623,734,806,480,'table tn5 row 32')

statement ok
INSERT INTO t5 VALUES(730,989,351,667,522,'table tn5 row 33')

statement ok
INSERT INTO t8 VALUES(946,951,691,811,510,'table tn8 row 31')

statement ok
INSERT INTO t3 VALUES(965,977,823,168,932,'table tn3 row 35')

statement ok
INSERT INTO t4 VALUES(51,765,794,498,350,'table tn4 row 25')

statement ok
INSERT INTO t9 VALUES(41,262,39,495,657,'table tn9 row 23')

statement ok
INSERT INTO t5 VALUES(757,412,598,521,72,'table tn5 row 34')

statement ok
INSERT INTO t9 VALUES(830,524,687,665,804,'table tn9 row 24')

statement ok
INSERT INTO t4 VALUES(260,707,301,653,737,'table tn4 row 26')

statement ok
INSERT INTO t8 VALUES(952,269,448,14,272,'table tn8 row 32')

statement ok
INSERT INTO t1 VALUES(918,681,152,416,268,'table tn1 row 37')

statement ok
INSERT INTO t3 VALUES(218,701,885,17,281,'table tn3 row 36')

statement ok
INSERT INTO t9 VALUES(694,893,351,224,30,'table tn9 row 25')

statement ok
INSERT INTO t4 VALUES(509,434,725,31,698,'table tn4 row 27')

statement ok
INSERT INTO t8 VALUES(90,656,284,494,221,'table tn8 row 33')

statement ok
INSERT INTO t7 VALUES(884,129,780,108,254,'table tn7 row 29')

statement ok
INSERT INTO t4 VALUES(540,608,749,706,349,'table tn4 row 28')

statement ok
INSERT INTO t6 VALUES(222,834,434,172,345,'table tn6 row 22')

statement ok
INSERT INTO t7 VALUES(649,813,944,765,903,'table tn7 row 30')

statement ok
INSERT INTO t5 VALUES(18,782,824,938,902,'table tn5 row 35')

statement ok
INSERT INTO t7 VALUES(691,409,498,114,122,'table tn7 row 31')

statement ok
INSERT INTO t3 VALUES(145,482,299,743,829,'table tn3 row 37')

statement ok
INSERT INTO t1 VALUES(337,462,3,407,72,'table tn1 row 38')

statement ok
INSERT INTO t3 VALUES(34,166,134,541,145,'table tn3 row 38')

statement ok
INSERT INTO t1 VALUES(268,594,419,265,815,'table tn1 row 39')

statement ok
INSERT INTO t9 VALUES(326,880,253,808,647,'table tn9 row 26')

statement ok
INSERT INTO t4 VALUES(160,220,127,246,885,'table tn4 row 29')

statement ok
INSERT INTO t4 VALUES(621,538,344,661,739,'table tn4 row 30')

statement ok
INSERT INTO t6 VALUES(966,276,807,911,847,'table tn6 row 23')

statement ok
INSERT INTO t2 VALUES(545,35,268,621,579,'table tn2 row 30')

statement ok
INSERT INTO t2 VALUES(315,532,992,265,564,'table tn2 row 31')

statement ok
INSERT INTO t2 VALUES(159,414,967,19,118,'table tn2 row 32')

statement ok
INSERT INTO t2 VALUES(445,279,511,404,721,'table tn2 row 33')

statement ok
INSERT INTO t2 VALUES(245,329,247,860,73,'table tn2 row 34')

statement ok
INSERT INTO t6 VALUES(653,290,504,129,915,'table tn6 row 24')

statement ok
INSERT INTO t4 VALUES(469,829,513,568,9,'table tn4 row 31')

statement ok
INSERT INTO t6 VALUES(861,906,328,197,274,'table tn6 row 25')

statement ok
INSERT INTO t6 VALUES(821,507,751,35,257,'table tn6 row 26')

statement ok
INSERT INTO t9 VALUES(177,926,531,682,486,'table tn9 row 27')

statement ok
INSERT INTO t2 VALUES(718,357,657,241,510,'table tn2 row 35')

statement ok
INSERT INTO t7 VALUES(167,340,389,436,168,'table tn7 row 32')

statement ok
INSERT INTO t1 VALUES(864,75,771,47,255,'table tn1 row 40')

statement ok
INSERT INTO t8 VALUES(314,8,720,883,175,'table tn8 row 34')

statement ok
INSERT INTO t6 VALUES(971,710,561,463,241,'table tn6 row 27')

statement ok
INSERT INTO t2 VALUES(91,73,894,682,147,'table tn2 row 36')

statement ok
INSERT INTO t2 VALUES(574,776,148,931,621,'table tn2 row 37')

statement ok
INSERT INTO t8 VALUES(15,313,260,179,64,'table tn8 row 35')

statement ok
INSERT INTO t4 VALUES(605,826,44,442,38,'table tn4 row 32')

statement ok
INSERT INTO t8 VALUES(701,253,683,456,866,'table tn8 row 36')

statement ok
INSERT INTO t7 VALUES(854,924,78,939,234,'table tn7 row 33')

statement ok
INSERT INTO t3 VALUES(337,407,860,115,467,'table tn3 row 39')

statement ok
INSERT INTO t7 VALUES(134,804,435,442,988,'table tn7 row 34')

statement ok
INSERT INTO t8 VALUES(920,803,79,511,203,'table tn8 row 37')

statement ok
INSERT INTO t3 VALUES(727,57,220,711,108,'table tn3 row 40')

statement ok
INSERT INTO t1 VALUES(492,26,534,712,855,'table tn1 row 41')

statement ok
INSERT INTO t9 VALUES(660,228,224,554,35,'table tn9 row 28')

statement ok
INSERT INTO t2 VALUES(9,501,372,153,16,'table tn2 row 38')

statement ok
INSERT INTO t3 VALUES(720,295,84,635,135,'table tn3 row 41')

statement ok
INSERT INTO t4 VALUES(982,627,581,988,381,'table tn4 row 33')

statement ok
INSERT INTO t4 VALUES(625,35,752,376,29,'table tn4 row 34')

statement ok
INSERT INTO t9 VALUES(924,50,853,145,699,'table tn9 row 29')

statement ok
INSERT INTO t8 VALUES(591,992,705,542,548,'table tn8 row 38')

statement ok
INSERT INTO t5 VALUES(34,82,721,309,729,'table tn5 row 36')

statement ok
INSERT INTO t4 VALUES(152,40,208,950,557,'table tn4 row 35')

statement ok
INSERT INTO t1 VALUES(460,633,390,679,523,'table tn1 row 42')

statement ok
INSERT INTO t3 VALUES(751,350,477,238,592,'table tn3 row 42')

statement ok
INSERT INTO t8 VALUES(564,244,275,631,204,'table tn8 row 39')

statement ok
INSERT INTO t4 VALUES(423,635,767,409,835,'table tn4 row 36')

statement ok
INSERT INTO t9 VALUES(474,868,767,268,799,'table tn9 row 30')

statement ok
INSERT INTO t4 VALUES(235,982,153,583,273,'table tn4 row 37')

statement ok
INSERT INTO t5 VALUES(392,234,544,883,737,'table tn5 row 37')

statement ok
INSERT INTO t1 VALUES(604,788,681,121,443,'table tn1 row 43')

statement ok
INSERT INTO t9 VALUES(356,15,37,142,694,'table tn9 row 31')

statement ok
INSERT INTO t2 VALUES(93,177,933,209,682,'table tn2 row 39')

statement ok
INSERT INTO t8 VALUES(328,963,61,845,846,'table tn8 row 40')

statement ok
INSERT INTO t1 VALUES(668,303,388,412,51,'table tn1 row 44')

statement ok
INSERT INTO t1 VALUES(517,670,204,654,463,'table tn1 row 45')

statement ok
INSERT INTO t6 VALUES(405,350,864,931,90,'table tn6 row 28')

statement ok
INSERT INTO t6 VALUES(452,226,122,924,585,'table tn6 row 29')

statement ok
INSERT INTO t4 VALUES(72,603,783,309,163,'table tn4 row 38')

statement ok
INSERT INTO t5 VALUES(297,390,668,782,522,'table tn5 row 38')

statement ok
INSERT INTO t5 VALUES(335,143,747,769,143,'table tn5 row 39')

statement ok
INSERT INTO t8 VALUES(153,696,299,494,295,'table tn8 row 41')

statement ok
INSERT INTO t8 VALUES(359,145,961,96,233,'table tn8 row 42')

statement ok
INSERT INTO t6 VALUES(66,449,123,734,554,'table tn6 row 30')

statement ok
INSERT INTO t9 VALUES(815,122,935,601,858,'table tn9 row 32')

statement ok
INSERT INTO t5 VALUES(667,320,797,495,232,'table tn5 row 40')

statement ok
INSERT INTO t4 VALUES(451,735,832,25,141,'table tn4 row 39')

statement ok
INSERT INTO t9 VALUES(378,13,751,25,744,'table tn9 row 33')

statement ok
INSERT INTO t3 VALUES(197,273,692,102,239,'table tn3 row 43')

statement ok
INSERT INTO t8 VALUES(882,219,866,651,333,'table tn8 row 43')

statement ok
INSERT INTO t5 VALUES(878,774,158,282,437,'table tn5 row 41')

statement ok
INSERT INTO t9 VALUES(535,864,955,568,264,'table tn9 row 34')

statement ok
INSERT INTO t2 VALUES(588,90,137,723,923,'table tn2 row 40')

statement ok
INSERT INTO t7 VALUES(795,878,661,457,98,'table tn7 row 35')

statement ok
INSERT INTO t4 VALUES(386,903,964,736,103,'table tn4 row 40')

statement ok
INSERT INTO t5 VALUES(163,292,348,321,270,'table tn5 row 42')

statement ok
INSERT INTO t1 VALUES(371,49,871,275,146,'table tn1 row 46')

statement ok
INSERT INTO t9 VALUES(488,595,101,161,819,'table tn9 row 35')

statement ok
INSERT INTO t5 VALUES(837,433,729,787,558,'table tn5 row 43')

statement ok
INSERT INTO t3 VALUES(591,41,452,403,807,'table tn3 row 44')

statement ok
INSERT INTO t1 VALUES(358,278,343,655,766,'table tn1 row 47')

statement ok
INSERT INTO t5 VALUES(710,393,868,792,610,'table tn5 row 44')

statement ok
INSERT INTO t4 VALUES(107,708,773,820,592,'table tn4 row 41')

statement ok
INSERT INTO t8 VALUES(388,175,943,862,904,'table tn8 row 44')

statement ok
INSERT INTO t4 VALUES(558,442,712,136,465,'table tn4 row 42')

statement ok
INSERT INTO t2 VALUES(371,635,22,669,428,'table tn2 row 41')

statement ok
INSERT INTO t6 VALUES(787,967,216,581,883,'table tn6 row 31')

statement ok
INSERT INTO t7 VALUES(500,220,341,671,4,'table tn7 row 36')

statement ok
INSERT INTO t2 VALUES(324,585,344,260,228,'table tn2 row 42')

statement ok
INSERT INTO t1 VALUES(268,563,387,571,733,'table tn1 row 48')

statement ok
INSERT INTO t3 VALUES(105,122,641,133,365,'table tn3 row 45')

statement ok
INSERT INTO t1 VALUES(406,266,787,955,695,'table tn1 row 49')

statement ok
INSERT INTO t8 VALUES(848,386,187,683,761,'table tn8 row 45')

statement ok
INSERT INTO t2 VALUES(1,968,61,10,696,'table tn2 row 43')

statement ok
INSERT INTO t2 VALUES(769,168,150,806,777,'table tn2 row 44')

statement ok
INSERT INTO t8 VALUES(241,773,647,767,455,'table tn8 row 46')

statement ok
INSERT INTO t8 VALUES(327,308,419,482,635,'table tn8 row 47')

statement ok
INSERT INTO t3 VALUES(282,411,792,428,119,'table tn3 row 46')

statement ok
INSERT INTO t3 VALUES(548,874,372,988,231,'table tn3 row 47')

statement ok
INSERT INTO t4 VALUES(579,961,345,794,300,'table tn4 row 43')

statement ok
INSERT INTO t8 VALUES(672,211,789,580,736,'table tn8 row 48')

statement ok
INSERT INTO t3 VALUES(162,266,809,944,547,'table tn3 row 48')

statement ok
INSERT INTO t8 VALUES(514,603,229,512,811,'table tn8 row 49')

statement ok
INSERT INTO t5 VALUES(544,878,31,779,885,'table tn5 row 45')

statement ok
INSERT INTO t2 VALUES(779,938,449,836,427,'table tn2 row 45')

statement ok
INSERT INTO t1 VALUES(866,48,608,922,531,'table tn1 row 50')

statement ok
INSERT INTO t2 VALUES(773,275,806,977,852,'table tn2 row 46')

statement ok
INSERT INTO t5 VALUES(921,657,894,557,772,'table tn5 row 46')

statement ok
INSERT INTO t5 VALUES(174,526,56,479,725,'table tn5 row 47')

statement ok
INSERT INTO t9 VALUES(841,913,569,965,947,'table tn9 row 36')

statement ok
INSERT INTO t8 VALUES(99,647,790,463,608,'table tn8 row 50')

statement ok
INSERT INTO t8 VALUES(402,542,168,735,620,'table tn8 row 51')

statement ok
INSERT INTO t1 VALUES(738,569,885,105,89,'table tn1 row 51')

statement ok
INSERT INTO t1 VALUES(544,233,617,55,12,'table tn1 row 52')

statement ok
INSERT INTO t6 VALUES(870,575,12,974,495,'table tn6 row 32')

statement ok
INSERT INTO t6 VALUES(740,0,11,271,574,'table tn6 row 33')

statement ok
INSERT INTO t6 VALUES(240,158,282,256,523,'table tn6 row 34')

statement ok
INSERT INTO t1 VALUES(591,94,259,349,402,'table tn1 row 53')

statement ok
INSERT INTO t2 VALUES(669,796,292,790,445,'table tn2 row 47')

statement ok
INSERT INTO t6 VALUES(45,390,992,667,707,'table tn6 row 35')

statement ok
INSERT INTO t1 VALUES(461,652,864,750,430,'table tn1 row 54')

statement ok
INSERT INTO t5 VALUES(602,391,489,271,104,'table tn5 row 48')

statement ok
INSERT INTO t7 VALUES(744,938,260,572,663,'table tn7 row 37')

statement ok
INSERT INTO t1 VALUES(953,254,765,902,96,'table tn1 row 55')

statement ok
INSERT INTO t2 VALUES(139,799,575,263,322,'table tn2 row 48')

statement ok
INSERT INTO t5 VALUES(522,971,797,263,640,'table tn5 row 49')

statement ok
INSERT INTO t2 VALUES(253,676,560,233,938,'table tn2 row 49')

statement ok
INSERT INTO t9 VALUES(429,667,601,95,383,'table tn9 row 37')

statement ok
INSERT INTO t3 VALUES(566,146,272,582,690,'table tn3 row 49')

statement ok
INSERT INTO t5 VALUES(180,26,485,33,708,'table tn5 row 50')

statement ok
INSERT INTO t6 VALUES(129,350,832,929,77,'table tn6 row 36')

statement ok
INSERT INTO t6 VALUES(359,0,942,376,798,'table tn6 row 37')

statement ok
INSERT INTO t5 VALUES(599,661,147,4,18,'table tn5 row 51')

statement ok
INSERT INTO t5 VALUES(683,98,678,965,621,'table tn5 row 52')

statement ok
INSERT INTO t4 VALUES(605,184,2,507,760,'table tn4 row 44')

statement ok
INSERT INTO t4 VALUES(170,58,188,449,480,'table tn4 row 45')

statement ok
INSERT INTO t9 VALUES(764,549,515,161,368,'table tn9 row 38')

statement ok
INSERT INTO t7 VALUES(707,503,38,177,955,'table tn7 row 38')

statement ok
INSERT INTO t3 VALUES(262,810,549,950,249,'table tn3 row 50')

statement ok
INSERT INTO t3 VALUES(376,860,826,273,425,'table tn3 row 51')

statement ok
INSERT INTO t6 VALUES(414,993,415,846,601,'table tn6 row 38')

statement ok
INSERT INTO t9 VALUES(251,456,836,919,978,'table tn9 row 39')

statement ok
INSERT INTO t7 VALUES(267,837,648,397,39,'table tn7 row 39')

statement ok
INSERT INTO t6 VALUES(366,583,718,869,255,'table tn6 row 39')

statement ok
INSERT INTO t7 VALUES(699,813,482,902,587,'table tn7 row 40')

statement ok
INSERT INTO t9 VALUES(553,211,793,878,255,'table tn9 row 40')

statement ok
INSERT INTO t9 VALUES(5,142,222,818,873,'table tn9 row 41')

statement ok
INSERT INTO t1 VALUES(161,754,15,947,671,'table tn1 row 56')

statement ok
INSERT INTO t2 VALUES(802,812,27,541,434,'table tn2 row 50')

statement ok
INSERT INTO t4 VALUES(271,810,483,491,12,'table tn4 row 46')

statement ok
INSERT INTO t6 VALUES(300,267,34,277,95,'table tn6 row 40')

statement ok
INSERT INTO t9 VALUES(559,66,811,235,383,'table tn9 row 42')

statement ok
INSERT INTO t1 VALUES(880,593,626,900,171,'table tn1 row 57')

statement ok
INSERT INTO t7 VALUES(916,460,180,702,552,'table tn7 row 41')

statement ok
INSERT INTO t7 VALUES(231,66,981,620,503,'table tn7 row 42')

statement ok
INSERT INTO t6 VALUES(436,880,513,613,24,'table tn6 row 41')

statement ok
INSERT INTO t1 VALUES(145,579,230,818,328,'table tn1 row 58')

statement ok
INSERT INTO t7 VALUES(995,541,855,276,302,'table tn7 row 43')

statement ok
INSERT INTO t3 VALUES(608,211,439,46,765,'table tn3 row 52')

statement ok
INSERT INTO t2 VALUES(123,592,854,598,499,'table tn2 row 51')

statement ok
INSERT INTO t9 VALUES(683,16,863,591,133,'table tn9 row 43')

statement ok
INSERT INTO t3 VALUES(515,566,898,515,848,'table tn3 row 53')

statement ok
INSERT INTO t4 VALUES(355,267,609,306,931,'table tn4 row 47')

statement ok
INSERT INTO t5 VALUES(615,326,941,155,150,'table tn5 row 53')

statement ok
INSERT INTO t1 VALUES(963,879,69,457,558,'table tn1 row 59')

statement ok
INSERT INTO t1 VALUES(895,803,607,643,838,'table tn1 row 60')

statement ok
INSERT INTO t1 VALUES(338,115,531,427,539,'table tn1 row 61')

statement ok
INSERT INTO t7 VALUES(773,798,906,772,462,'table tn7 row 44')

statement ok
INSERT INTO t6 VALUES(564,974,242,2,100,'table tn6 row 42')

statement ok
INSERT INTO t8 VALUES(579,352,150,756,933,'table tn8 row 52')

statement ok
INSERT INTO t5 VALUES(958,205,960,919,888,'table tn5 row 54')

statement ok
INSERT INTO t5 VALUES(319,544,3,745,702,'table tn5 row 55')

statement ok
INSERT INTO t9 VALUES(28,348,254,959,195,'table tn9 row 44')

statement ok
INSERT INTO t4 VALUES(948,888,482,60,38,'table tn4 row 48')

statement ok
INSERT INTO t7 VALUES(277,896,781,192,975,'table tn7 row 45')

statement ok
INSERT INTO t8 VALUES(47,366,249,93,488,'table tn8 row 53')

statement ok
INSERT INTO t5 VALUES(867,861,856,565,34,'table tn5 row 56')

statement ok
INSERT INTO t7 VALUES(158,949,92,265,782,'table tn7 row 46')

statement ok
INSERT INTO t7 VALUES(863,276,931,28,154,'table tn7 row 47')

statement ok
INSERT INTO t7 VALUES(97,396,813,399,408,'table tn7 row 48')

statement ok
INSERT INTO t4 VALUES(151,860,948,356,217,'table tn4 row 49')

statement ok
INSERT INTO t5 VALUES(696,336,649,369,511,'table tn5 row 57')

statement ok
INSERT INTO t2 VALUES(751,317,692,398,307,'table tn2 row 52')

statement ok
INSERT INTO t5 VALUES(821,771,625,810,184,'table tn5 row 58')

statement ok
INSERT INTO t5 VALUES(334,772,819,806,749,'table tn5 row 59')

statement ok
INSERT INTO t3 VALUES(784,246,966,336,814,'table tn3 row 54')

statement ok
INSERT INTO t4 VALUES(589,979,201,781,296,'table tn4 row 50')

statement ok
INSERT INTO t1 VALUES(20,696,639,717,117,'table tn1 row 62')

statement ok
INSERT INTO t5 VALUES(800,502,989,855,364,'table tn5 row 60')

statement ok
INSERT INTO t2 VALUES(869,966,902,377,114,'table tn2 row 53')

statement ok
INSERT INTO t1 VALUES(637,404,548,376,125,'table tn1 row 63')

statement ok
INSERT INTO t7 VALUES(180,52,725,831,488,'table tn7 row 49')

statement ok
INSERT INTO t5 VALUES(513,716,602,520,995,'table tn5 row 61')

statement ok
INSERT INTO t7 VALUES(720,781,887,673,827,'table tn7 row 50')

statement ok
INSERT INTO t5 VALUES(54,717,805,772,716,'table tn5 row 62')

statement ok
INSERT INTO t5 VALUES(675,705,818,276,923,'table tn5 row 63')

statement ok
INSERT INTO t9 VALUES(14,361,526,86,934,'table tn9 row 45')

statement ok
INSERT INTO t6 VALUES(104,905,187,974,634,'table tn6 row 43')

statement ok
INSERT INTO t6 VALUES(386,243,430,196,74,'table tn6 row 44')

statement ok
INSERT INTO t3 VALUES(549,381,929,149,550,'table tn3 row 55')

statement ok
INSERT INTO t7 VALUES(736,717,14,885,506,'table tn7 row 51')

statement ok
INSERT INTO t4 VALUES(474,678,948,968,63,'table tn4 row 51')

statement ok
INSERT INTO t7 VALUES(90,306,238,139,499,'table tn7 row 52')

statement ok
INSERT INTO t4 VALUES(447,653,703,983,151,'table tn4 row 52')

statement ok
INSERT INTO t5 VALUES(476,531,86,514,154,'table tn5 row 64')

statement ok
INSERT INTO t2 VALUES(775,545,46,750,899,'table tn2 row 54')

statement ok
INSERT INTO t9 VALUES(149,410,843,388,723,'table tn9 row 46')

statement ok
INSERT INTO t9 VALUES(258,326,487,305,854,'table tn9 row 47')

statement ok
INSERT INTO t3 VALUES(594,814,146,650,578,'table tn3 row 56')

statement ok
INSERT INTO t2 VALUES(10,278,193,317,282,'table tn2 row 55')

statement ok
INSERT INTO t3 VALUES(895,456,149,895,596,'table tn3 row 57')

statement ok
INSERT INTO t7 VALUES(350,923,764,524,793,'table tn7 row 53')

statement ok
INSERT INTO t9 VALUES(567,236,800,264,968,'table tn9 row 48')

statement ok
INSERT INTO t4 VALUES(367,498,667,236,312,'table tn4 row 53')

statement ok
INSERT INTO t1 VALUES(981,440,416,187,135,'table tn1 row 64')

statement ok
INSERT INTO t5 VALUES(960,846,927,542,499,'table tn5 row 65')

statement ok
INSERT INTO t4 VALUES(159,94,873,881,179,'table tn4 row 54')

statement ok
INSERT INTO t3 VALUES(12,203,10,720,393,'table tn3 row 58')

statement ok
INSERT INTO t2 VALUES(760,820,360,86,953,'table tn2 row 56')

statement ok
INSERT INTO t3 VALUES(651,710,490,841,254,'table tn3 row 59')

statement ok
INSERT INTO t6 VALUES(672,604,411,2,631,'table tn6 row 45')

statement ok
INSERT INTO t3 VALUES(143,145,656,826,977,'table tn3 row 60')

statement ok
INSERT INTO t3 VALUES(129,340,317,74,794,'table tn3 row 61')

statement ok
INSERT INTO t5 VALUES(81,855,130,369,440,'table tn5 row 66')

statement ok
INSERT INTO t3 VALUES(364,159,777,850,466,'table tn3 row 62')

statement ok
INSERT INTO t9 VALUES(218,136,451,745,837,'table tn9 row 49')

statement ok
INSERT INTO t3 VALUES(181,577,492,708,876,'table tn3 row 63')

statement ok
INSERT INTO t8 VALUES(822,677,297,422,186,'table tn8 row 54')

statement ok
INSERT INTO t7 VALUES(158,506,102,506,851,'table tn7 row 54')

statement ok
INSERT INTO t7 VALUES(748,263,795,226,508,'table tn7 row 55')

statement ok
INSERT INTO t6 VALUES(62,223,146,457,747,'table tn6 row 46')

statement ok
INSERT INTO t3 VALUES(135,437,368,118,218,'table tn3 row 64')

statement ok
INSERT INTO t4 VALUES(919,700,433,524,631,'table tn4 row 55')

statement ok
INSERT INTO t4 VALUES(31,938,299,943,763,'table tn4 row 56')

statement ok
INSERT INTO t9 VALUES(56,171,643,660,107,'table tn9 row 50')

statement ok
INSERT INTO t8 VALUES(883,52,381,391,416,'table tn8 row 55')

statement ok
INSERT INTO t3 VALUES(776,534,360,560,459,'table tn3 row 65')

statement ok
INSERT INTO t7 VALUES(925,720,857,526,455,'table tn7 row 56')

statement ok
INSERT INTO t8 VALUES(359,487,427,610,242,'table tn8 row 56')

statement ok
INSERT INTO t4 VALUES(448,295,860,522,35,'table tn4 row 57')

statement ok
INSERT INTO t4 VALUES(422,593,297,197,511,'table tn4 row 58')

statement ok
INSERT INTO t8 VALUES(184,906,648,370,476,'table tn8 row 57')

statement ok
INSERT INTO t2 VALUES(805,818,87,315,783,'table tn2 row 57')

statement ok
INSERT INTO t8 VALUES(807,806,154,161,617,'table tn8 row 58')

statement ok
INSERT INTO t8 VALUES(183,563,321,690,972,'table tn8 row 59')

statement ok
INSERT INTO t8 VALUES(628,493,513,541,578,'table tn8 row 60')

statement ok
INSERT INTO t6 VALUES(1,351,424,729,633,'table tn6 row 47')

statement ok
INSERT INTO t8 VALUES(954,741,935,814,632,'table tn8 row 61')

statement ok
INSERT INTO t1 VALUES(551,662,976,381,558,'table tn1 row 65')

statement ok
INSERT INTO t4 VALUES(580,243,619,146,719,'table tn4 row 59')

statement ok
INSERT INTO t7 VALUES(593,407,553,485,282,'table tn7 row 57')

statement ok
INSERT INTO t5 VALUES(369,403,155,789,944,'table tn5 row 67')

statement ok
INSERT INTO t9 VALUES(240,688,232,283,418,'table tn9 row 51')

statement ok
INSERT INTO t9 VALUES(611,912,323,912,737,'table tn9 row 52')

statement ok
INSERT INTO t7 VALUES(130,120,98,395,689,'table tn7 row 58')

statement ok
INSERT INTO t3 VALUES(265,302,73,913,187,'table tn3 row 66')

statement ok
INSERT INTO t5 VALUES(267,665,628,419,894,'table tn5 row 68')

statement ok
INSERT INTO t6 VALUES(255,541,975,674,154,'table tn6 row 48')

statement ok
INSERT INTO t9 VALUES(78,827,526,360,801,'table tn9 row 53')

statement ok
INSERT INTO t2 VALUES(2,326,283,23,366,'table tn2 row 58')

statement ok
INSERT INTO t3 VALUES(98,317,117,247,318,'table tn3 row 67')

statement ok
INSERT INTO t7 VALUES(592,280,688,539,436,'table tn7 row 59')

statement ok
INSERT INTO t7 VALUES(114,191,419,777,344,'table tn7 row 60')

statement ok
INSERT INTO t5 VALUES(332,161,756,492,554,'table tn5 row 69')

statement ok
INSERT INTO t1 VALUES(637,282,805,874,158,'table tn1 row 66')

statement ok
INSERT INTO t8 VALUES(474,958,136,936,199,'table tn8 row 62')

statement ok
INSERT INTO t9 VALUES(824,214,98,688,944,'table tn9 row 54')

statement ok
INSERT INTO t2 VALUES(297,226,582,404,815,'table tn2 row 59')

statement ok
INSERT INTO t7 VALUES(439,360,948,801,462,'table tn7 row 61')

statement ok
INSERT INTO t9 VALUES(847,525,884,553,149,'table tn9 row 55')

statement ok
INSERT INTO t7 VALUES(416,308,376,183,432,'table tn7 row 62')

statement ok
INSERT INTO t6 VALUES(706,739,938,797,175,'table tn6 row 49')

statement ok
INSERT INTO t8 VALUES(841,702,563,344,700,'table tn8 row 63')

statement ok
INSERT INTO t9 VALUES(72,77,370,899,117,'table tn9 row 56')

statement ok
INSERT INTO t3 VALUES(971,236,641,967,265,'table tn3 row 68')

statement ok
INSERT INTO t6 VALUES(818,490,441,405,654,'table tn6 row 50')

statement ok
INSERT INTO t8 VALUES(650,34,501,630,980,'table tn8 row 64')

statement ok
INSERT INTO t9 VALUES(115,64,95,439,621,'table tn9 row 57')

statement ok
INSERT INTO t4 VALUES(139,294,993,44,312,'table tn4 row 60')

statement ok
INSERT INTO t2 VALUES(660,353,728,215,162,'table tn2 row 60')

statement ok
INSERT INTO t3 VALUES(559,649,584,283,83,'table tn3 row 69')

statement ok
INSERT INTO t4 VALUES(747,849,728,328,778,'table tn4 row 61')

statement ok
INSERT INTO t7 VALUES(715,612,41,325,816,'table tn7 row 63')

statement ok
INSERT INTO t4 VALUES(105,319,984,482,792,'table tn4 row 62')

statement ok
INSERT INTO t4 VALUES(408,982,157,546,617,'table tn4 row 63')

statement ok
INSERT INTO t4 VALUES(981,607,904,55,482,'table tn4 row 64')

statement ok
INSERT INTO t7 VALUES(75,517,142,118,184,'table tn7 row 64')

statement ok
INSERT INTO t6 VALUES(85,214,637,560,511,'table tn6 row 51')

statement ok
INSERT INTO t4 VALUES(373,276,273,997,122,'table tn4 row 65')

statement ok
INSERT INTO t6 VALUES(233,229,500,855,673,'table tn6 row 52')

statement ok
INSERT INTO t9 VALUES(953,312,278,628,486,'table tn9 row 58')

statement ok
INSERT INTO t1 VALUES(4,738,685,618,956,'table tn1 row 67')

statement ok
INSERT INTO t2 VALUES(874,504,337,158,125,'table tn2 row 61')

statement ok
INSERT INTO t1 VALUES(498,944,393,17,997,'table tn1 row 68')

statement ok
INSERT INTO t5 VALUES(685,609,250,855,258,'table tn5 row 70')

statement ok
INSERT INTO t7 VALUES(22,979,557,296,827,'table tn7 row 65')

statement ok
INSERT INTO t2 VALUES(283,784,900,790,707,'table tn2 row 62')

statement ok
INSERT INTO t3 VALUES(614,113,455,270,192,'table tn3 row 70')

statement ok
INSERT INTO t5 VALUES(89,230,820,413,689,'table tn5 row 71')

statement ok
INSERT INTO t1 VALUES(879,37,553,519,254,'table tn1 row 69')

statement ok
INSERT INTO t2 VALUES(944,93,725,488,688,'table tn2 row 63')

statement ok
INSERT INTO t2 VALUES(735,161,140,873,659,'table tn2 row 64')

statement ok
INSERT INTO t5 VALUES(853,26,261,98,561,'table tn5 row 72')

statement ok
INSERT INTO t3 VALUES(101,983,954,809,211,'table tn3 row 71')

statement ok
INSERT INTO t4 VALUES(281,288,752,549,600,'table tn4 row 66')

statement ok
INSERT INTO t8 VALUES(472,397,375,835,349,'table tn8 row 65')

statement ok
INSERT INTO t4 VALUES(29,480,971,366,48,'table tn4 row 67')

statement ok
INSERT INTO t1 VALUES(767,447,246,798,546,'table tn1 row 70')

statement ok
INSERT INTO t1 VALUES(584,828,788,726,763,'table tn1 row 71')

statement ok
INSERT INTO t6 VALUES(522,511,177,822,5,'table tn6 row 53')

statement ok
INSERT INTO t6 VALUES(33,262,961,458,67,'table tn6 row 54')

statement ok
INSERT INTO t2 VALUES(691,543,83,854,505,'table tn2 row 65')

statement ok
INSERT INTO t9 VALUES(821,122,857,694,445,'table tn9 row 59')

statement ok
INSERT INTO t5 VALUES(342,744,50,937,187,'table tn5 row 73')

statement ok
INSERT INTO t7 VALUES(865,159,807,988,127,'table tn7 row 66')

statement ok
INSERT INTO t3 VALUES(992,202,75,164,178,'table tn3 row 72')

statement ok
INSERT INTO t9 VALUES(215,125,894,316,477,'table tn9 row 60')

statement ok
INSERT INTO t8 VALUES(171,155,656,761,310,'table tn8 row 66')

statement ok
INSERT INTO t8 VALUES(794,98,563,916,485,'table tn8 row 67')

statement ok
INSERT INTO t3 VALUES(576,434,353,135,4,'table tn3 row 73')

statement ok
INSERT INTO t1 VALUES(324,447,703,232,943,'table tn1 row 72')

statement ok
INSERT INTO t3 VALUES(478,716,947,764,3,'table tn3 row 74')

statement ok
INSERT INTO t4 VALUES(509,139,768,481,71,'table tn4 row 68')

statement ok
INSERT INTO t7 VALUES(879,305,635,328,356,'table tn7 row 67')

statement ok
INSERT INTO t4 VALUES(933,261,0,231,954,'table tn4 row 69')

statement ok
INSERT INTO t4 VALUES(450,23,436,973,596,'table tn4 row 70')

statement ok
INSERT INTO t2 VALUES(268,292,275,704,820,'table tn2 row 66')

statement ok
INSERT INTO t5 VALUES(296,789,198,255,906,'table tn5 row 74')

statement ok
INSERT INTO t9 VALUES(905,19,613,489,845,'table tn9 row 61')

statement ok
INSERT INTO t2 VALUES(222,380,4,235,997,'table tn2 row 67')

statement ok
INSERT INTO t4 VALUES(598,901,585,260,879,'table tn4 row 71')

statement ok
INSERT INTO t2 VALUES(733,549,711,803,939,'table tn2 row 68')

statement ok
INSERT INTO t3 VALUES(525,566,244,889,120,'table tn3 row 75')

statement ok
INSERT INTO t5 VALUES(818,495,774,960,971,'table tn5 row 75')

statement ok
INSERT INTO t6 VALUES(474,281,45,73,617,'table tn6 row 55')

statement ok
INSERT INTO t2 VALUES(186,173,24,345,37,'table tn2 row 69')

statement ok
INSERT INTO t8 VALUES(386,300,901,210,463,'table tn8 row 68')

statement ok
INSERT INTO t1 VALUES(249,259,979,661,688,'table tn1 row 73')

statement ok
INSERT INTO t7 VALUES(500,832,705,367,197,'table tn7 row 68')

statement ok
INSERT INTO t6 VALUES(811,963,295,60,595,'table tn6 row 56')

statement ok
INSERT INTO t2 VALUES(505,888,509,546,981,'table tn2 row 70')

statement ok
INSERT INTO t8 VALUES(474,9,501,291,392,'table tn8 row 69')

statement ok
INSERT INTO t2 VALUES(262,823,722,843,213,'table tn2 row 71')

statement ok
INSERT INTO t2 VALUES(415,546,819,332,148,'table tn2 row 72')

statement ok
INSERT INTO t4 VALUES(378,589,162,509,397,'table tn4 row 72')

statement ok
INSERT INTO t9 VALUES(847,19,75,129,549,'table tn9 row 62')

statement ok
INSERT INTO t2 VALUES(898,501,411,216,963,'table tn2 row 73')

statement ok
INSERT INTO t3 VALUES(383,837,792,38,972,'table tn3 row 76')

statement ok
INSERT INTO t6 VALUES(129,696,528,991,286,'table tn6 row 57')

statement ok
INSERT INTO t4 VALUES(74,2,936,229,951,'table tn4 row 73')

statement ok
INSERT INTO t5 VALUES(339,234,585,361,180,'table tn5 row 76')

statement ok
INSERT INTO t8 VALUES(467,807,154,627,579,'table tn8 row 70')

statement ok
INSERT INTO t2 VALUES(853,864,182,654,548,'table tn2 row 74')

statement ok
INSERT INTO t7 VALUES(87,735,333,225,248,'table tn7 row 69')

statement ok
INSERT INTO t1 VALUES(776,149,898,217,181,'table tn1 row 74')

statement ok
INSERT INTO t2 VALUES(217,217,807,897,512,'table tn2 row 75')

statement ok
INSERT INTO t5 VALUES(349,84,187,480,894,'table tn5 row 77')

statement ok
INSERT INTO t2 VALUES(664,72,966,256,123,'table tn2 row 76')

statement ok
INSERT INTO t1 VALUES(213,619,680,837,645,'table tn1 row 75')

statement ok
INSERT INTO t7 VALUES(684,166,843,842,945,'table tn7 row 70')

statement ok
INSERT INTO t8 VALUES(248,369,693,989,809,'table tn8 row 71')

statement ok
INSERT INTO t6 VALUES(825,392,648,424,225,'table tn6 row 58')

statement ok
INSERT INTO t6 VALUES(64,296,752,786,550,'table tn6 row 59')

statement ok
INSERT INTO t9 VALUES(218,746,347,679,388,'table tn9 row 63')

statement ok
INSERT INTO t8 VALUES(994,370,298,384,495,'table tn8 row 72')

statement ok
INSERT INTO t2 VALUES(954,527,450,249,386,'table tn2 row 77')

statement ok
INSERT INTO t2 VALUES(936,985,512,838,629,'table tn2 row 78')

statement ok
INSERT INTO t8 VALUES(127,564,461,486,881,'table tn8 row 73')

statement ok
INSERT INTO t8 VALUES(961,511,283,81,981,'table tn8 row 74')

statement ok
INSERT INTO t1 VALUES(746,942,57,38,298,'table tn1 row 76')

statement ok
INSERT INTO t8 VALUES(651,461,279,743,38,'table tn8 row 75')

statement ok
INSERT INTO t3 VALUES(379,103,697,624,536,'table tn3 row 77')

statement ok
INSERT INTO t1 VALUES(477,896,481,75,221,'table tn1 row 77')

statement ok
INSERT INTO t1 VALUES(898,556,482,319,813,'table tn1 row 78')

statement ok
INSERT INTO t4 VALUES(792,107,996,100,738,'table tn4 row 74')

statement ok
INSERT INTO t3 VALUES(964,888,970,444,131,'table tn3 row 78')

statement ok
INSERT INTO t7 VALUES(848,859,816,391,460,'table tn7 row 71')

statement ok
INSERT INTO t9 VALUES(610,122,187,646,251,'table tn9 row 64')

statement ok
INSERT INTO t7 VALUES(452,24,934,599,89,'table tn7 row 72')

statement ok
INSERT INTO t8 VALUES(331,503,394,101,273,'table tn8 row 76')

statement ok
INSERT INTO t7 VALUES(147,506,341,724,929,'table tn7 row 73')

statement ok
INSERT INTO t3 VALUES(386,788,265,548,136,'table tn3 row 79')

statement ok
INSERT INTO t6 VALUES(963,537,963,72,850,'table tn6 row 60')

statement ok
INSERT INTO t9 VALUES(905,128,327,51,647,'table tn9 row 65')

statement ok
INSERT INTO t5 VALUES(301,640,422,685,592,'table tn5 row 78')

statement ok
INSERT INTO t3 VALUES(364,318,592,173,321,'table tn3 row 80')

statement ok
INSERT INTO t7 VALUES(285,250,564,500,841,'table tn7 row 74')

statement ok
INSERT INTO t8 VALUES(653,364,965,731,22,'table tn8 row 77')

statement ok
INSERT INTO t5 VALUES(153,587,443,691,98,'table tn5 row 79')

statement ok
INSERT INTO t5 VALUES(235,874,855,856,764,'table tn5 row 80')

statement ok
INSERT INTO t6 VALUES(396,461,159,711,531,'table tn6 row 61')

statement ok
INSERT INTO t4 VALUES(629,331,6,907,854,'table tn4 row 75')

statement ok
INSERT INTO t9 VALUES(972,549,252,795,844,'table tn9 row 66')

statement ok
INSERT INTO t3 VALUES(644,740,395,482,406,'table tn3 row 81')

statement ok
INSERT INTO t9 VALUES(160,269,923,274,943,'table tn9 row 67')

statement ok
INSERT INTO t6 VALUES(355,997,452,647,754,'table tn6 row 62')

statement ok
INSERT INTO t3 VALUES(198,124,29,726,871,'table tn3 row 82')

statement ok
INSERT INTO t8 VALUES(671,105,74,636,944,'table tn8 row 78')

statement ok
INSERT INTO t6 VALUES(657,512,442,366,95,'table tn6 row 63')

statement ok
INSERT INTO t8 VALUES(586,769,907,141,874,'table tn8 row 79')

statement ok
INSERT INTO t6 VALUES(121,662,491,750,139,'table tn6 row 64')

statement ok
INSERT INTO t6 VALUES(692,300,677,561,360,'table tn6 row 65')

statement ok
INSERT INTO t4 VALUES(876,606,927,150,324,'table tn4 row 76')

statement ok
INSERT INTO t8 VALUES(328,922,799,899,377,'table tn8 row 80')

statement ok
INSERT INTO t8 VALUES(963,365,730,525,296,'table tn8 row 81')

statement ok
INSERT INTO t6 VALUES(251,565,673,578,91,'table tn6 row 66')

statement ok
INSERT INTO t7 VALUES(651,392,691,34,595,'table tn7 row 75')

statement ok
INSERT INTO t1 VALUES(678,620,62,18,747,'table tn1 row 79')

statement ok
INSERT INTO t2 VALUES(123,706,793,2,56,'table tn2 row 79')

statement ok
INSERT INTO t3 VALUES(296,445,565,66,913,'table tn3 row 83')

statement ok
INSERT INTO t8 VALUES(445,325,418,327,792,'table tn8 row 82')

statement ok
INSERT INTO t1 VALUES(525,422,670,315,288,'table tn1 row 80')

statement ok
INSERT INTO t9 VALUES(739,900,118,720,736,'table tn9 row 68')

statement ok
INSERT INTO t5 VALUES(311,820,766,602,68,'table tn5 row 81')

statement ok
INSERT INTO t9 VALUES(919,751,391,347,19,'table tn9 row 69')

statement ok
INSERT INTO t8 VALUES(957,469,844,880,833,'table tn8 row 83')

statement ok
INSERT INTO t2 VALUES(817,276,496,177,753,'table tn2 row 80')

statement ok
INSERT INTO t1 VALUES(195,384,788,161,717,'table tn1 row 81')

statement ok
INSERT INTO t1 VALUES(609,55,846,459,693,'table tn1 row 82')

statement ok
INSERT INTO t3 VALUES(234,234,305,896,235,'table tn3 row 84')

statement ok
INSERT INTO t8 VALUES(553,609,273,472,411,'table tn8 row 84')

statement ok
INSERT INTO t4 VALUES(845,964,804,86,81,'table tn4 row 77')

statement ok
INSERT INTO t3 VALUES(820,368,844,683,275,'table tn3 row 85')

statement ok
INSERT INTO t9 VALUES(269,5,688,967,687,'table tn9 row 70')

statement ok
INSERT INTO t6 VALUES(877,601,65,590,329,'table tn6 row 67')

statement ok
INSERT INTO t1 VALUES(931,961,876,973,56,'table tn1 row 83')

statement ok
INSERT INTO t4 VALUES(510,816,319,953,415,'table tn4 row 78')

statement ok
INSERT INTO t1 VALUES(433,807,230,803,683,'table tn1 row 84')

statement ok
INSERT INTO t5 VALUES(148,179,634,963,13,'table tn5 row 82')

statement ok
INSERT INTO t6 VALUES(46,699,377,286,738,'table tn6 row 68')

statement ok
INSERT INTO t2 VALUES(64,859,758,126,524,'table tn2 row 81')

statement ok
INSERT INTO t1 VALUES(314,572,12,335,122,'table tn1 row 85')

statement ok
INSERT INTO t5 VALUES(514,736,163,32,887,'table tn5 row 83')

statement ok
INSERT INTO t6 VALUES(182,232,265,473,737,'table tn6 row 69')

statement ok
INSERT INTO t3 VALUES(16,28,40,487,984,'table tn3 row 86')

statement ok
INSERT INTO t6 VALUES(615,202,135,493,395,'table tn6 row 70')

statement ok
INSERT INTO t7 VALUES(325,266,478,684,688,'table tn7 row 76')

statement ok
INSERT INTO t2 VALUES(901,264,312,405,463,'table tn2 row 82')

statement ok
INSERT INTO t1 VALUES(281,420,758,900,811,'table tn1 row 86')

statement ok
INSERT INTO t2 VALUES(691,643,837,351,140,'table tn2 row 83')

statement ok
INSERT INTO t8 VALUES(70,523,979,20,463,'table tn8 row 85')

statement ok
INSERT INTO t2 VALUES(304,765,290,537,638,'table tn2 row 84')

statement ok
INSERT INTO t8 VALUES(46,792,119,675,497,'table tn8 row 86')

statement ok
INSERT INTO t7 VALUES(299,881,317,675,156,'table tn7 row 77')

statement ok
INSERT INTO t5 VALUES(485,729,936,964,943,'table tn5 row 84')

statement ok
INSERT INTO t8 VALUES(702,184,690,534,329,'table tn8 row 87')

statement ok
INSERT INTO t5 VALUES(904,336,147,616,188,'table tn5 row 85')

statement ok
INSERT INTO t1 VALUES(189,91,683,96,363,'table tn1 row 87')

statement ok
INSERT INTO t7 VALUES(665,921,249,785,6,'table tn7 row 78')

statement ok
INSERT INTO t1 VALUES(821,227,465,212,247,'table tn1 row 88')

statement ok
INSERT INTO t2 VALUES(235,632,360,284,671,'table tn2 row 85')

statement ok
INSERT INTO t6 VALUES(148,650,399,321,24,'table tn6 row 71')

statement ok
INSERT INTO t2 VALUES(495,297,374,476,131,'table tn2 row 86')

statement ok
INSERT INTO t3 VALUES(353,480,845,375,853,'table tn3 row 87')

statement ok
INSERT INTO t7 VALUES(589,670,280,891,983,'table tn7 row 79')

statement ok
INSERT INTO t2 VALUES(966,649,233,525,294,'table tn2 row 87')

statement ok
INSERT INTO t5 VALUES(817,56,601,274,352,'table tn5 row 86')

statement ok
INSERT INTO t4 VALUES(60,802,471,901,725,'table tn4 row 79')

statement ok
INSERT INTO t1 VALUES(276,862,207,936,110,'table tn1 row 89')

statement ok
INSERT INTO t4 VALUES(82,644,417,617,692,'table tn4 row 80')

statement ok
INSERT INTO t7 VALUES(11,679,257,418,904,'table tn7 row 80')

statement ok
INSERT INTO t8 VALUES(400,6,486,197,381,'table tn8 row 88')

statement ok
INSERT INTO t1 VALUES(215,269,252,716,615,'table tn1 row 90')

statement ok
INSERT INTO t6 VALUES(764,44,413,36,668,'table tn6 row 72')

statement ok
INSERT INTO t4 VALUES(105,784,484,844,206,'table tn4 row 81')

statement ok
INSERT INTO t7 VALUES(240,488,970,164,884,'table tn7 row 81')

statement ok
INSERT INTO t4 VALUES(439,535,451,979,37,'table tn4 row 82')

statement ok
INSERT INTO t6 VALUES(643,126,292,600,711,'table tn6 row 73')

statement ok
INSERT INTO t1 VALUES(23,426,441,88,696,'table tn1 row 91')

statement ok
INSERT INTO t7 VALUES(622,178,659,94,183,'table tn7 row 82')

statement ok
INSERT INTO t9 VALUES(349,301,936,104,19,'table tn9 row 71')

statement ok
INSERT INTO t1 VALUES(61,362,776,0,95,'table tn1 row 92')

statement ok
INSERT INTO t5 VALUES(99,321,799,814,9,'table tn5 row 87')

statement ok
INSERT INTO t5 VALUES(132,942,384,118,874,'table tn5 row 88')

statement ok
INSERT INTO t5 VALUES(929,193,441,991,686,'table tn5 row 89')

statement ok
INSERT INTO t9 VALUES(335,170,534,345,82,'table tn9 row 72')

statement ok
INSERT INTO t8 VALUES(661,7,998,876,955,'table tn8 row 89')

statement ok
INSERT INTO t9 VALUES(148,891,975,686,127,'table tn9 row 73')

statement ok
INSERT INTO t1 VALUES(222,440,955,602,87,'table tn1 row 93')

statement ok
INSERT INTO t4 VALUES(223,986,936,144,438,'table tn4 row 83')

statement ok
INSERT INTO t1 VALUES(299,307,5,691,717,'table tn1 row 94')

statement ok
INSERT INTO t3 VALUES(699,27,763,354,221,'table tn3 row 88')

statement ok
INSERT INTO t1 VALUES(868,570,772,939,210,'table tn1 row 95')

statement ok
INSERT INTO t4 VALUES(513,634,319,929,677,'table tn4 row 84')

statement ok
INSERT INTO t1 VALUES(231,850,200,234,55,'table tn1 row 96')

statement ok
INSERT INTO t6 VALUES(35,348,66,488,678,'table tn6 row 74')

statement ok
INSERT INTO t3 VALUES(75,272,375,984,119,'table tn3 row 89')

statement ok
INSERT INTO t8 VALUES(923,351,188,623,966,'table tn8 row 90')

statement ok
INSERT INTO t3 VALUES(727,595,102,642,169,'table tn3 row 90')

statement ok
INSERT INTO t3 VALUES(710,790,81,923,147,'table tn3 row 91')

statement ok
INSERT INTO t1 VALUES(395,674,915,277,442,'table tn1 row 97')

statement ok
INSERT INTO t5 VALUES(5,674,570,537,975,'table tn5 row 90')

statement ok
INSERT INTO t1 VALUES(524,345,48,186,484,'table tn1 row 98')

statement ok
INSERT INTO t6 VALUES(696,144,543,970,1,'table tn6 row 75')

statement ok
INSERT INTO t7 VALUES(896,59,12,492,7,'table tn7 row 83')

statement ok
INSERT INTO t7 VALUES(832,105,206,547,455,'table tn7 row 84')

statement ok
INSERT INTO t9 VALUES(11,803,587,763,841,'table tn9 row 74')

statement ok
INSERT INTO t7 VALUES(806,693,596,324,976,'table tn7 row 85')

statement ok
INSERT INTO t4 VALUES(950,86,508,985,543,'table tn4 row 85')

statement ok
INSERT INTO t2 VALUES(56,285,282,195,339,'table tn2 row 88')

statement ok
INSERT INTO t4 VALUES(847,579,271,889,916,'table tn4 row 86')

statement ok
INSERT INTO t2 VALUES(185,220,421,753,936,'table tn2 row 89')

statement ok
INSERT INTO t7 VALUES(6,973,103,549,971,'table tn7 row 86')

statement ok
INSERT INTO t7 VALUES(490,321,284,982,428,'table tn7 row 87')

statement ok
INSERT INTO t9 VALUES(549,936,240,258,944,'table tn9 row 75')

statement ok
INSERT INTO t5 VALUES(270,606,689,59,141,'table tn5 row 91')

statement ok
INSERT INTO t9 VALUES(959,578,739,646,868,'table tn9 row 76')

statement ok
INSERT INTO t3 VALUES(164,783,472,886,341,'table tn3 row 92')

statement ok
INSERT INTO t9 VALUES(662,759,807,332,672,'table tn9 row 77')

statement ok
INSERT INTO t6 VALUES(2,452,12,469,211,'table tn6 row 76')

statement ok
INSERT INTO t4 VALUES(185,877,455,441,372,'table tn4 row 87')

statement ok
INSERT INTO t7 VALUES(542,374,626,148,291,'table tn7 row 88')

statement ok
INSERT INTO t3 VALUES(935,127,86,361,232,'table tn3 row 93')

statement ok
INSERT INTO t9 VALUES(706,12,696,383,301,'table tn9 row 78')

statement ok
INSERT INTO t3 VALUES(560,882,986,134,929,'table tn3 row 94')

statement ok
INSERT INTO t4 VALUES(261,892,422,639,820,'table tn4 row 88')

statement ok
INSERT INTO t2 VALUES(594,592,228,651,242,'table tn2 row 90')

statement ok
INSERT INTO t7 VALUES(950,970,301,837,605,'table tn7 row 89')

statement ok
INSERT INTO t7 VALUES(709,396,672,341,103,'table tn7 row 90')

statement ok
INSERT INTO t8 VALUES(289,997,508,615,260,'table tn8 row 91')

statement ok
INSERT INTO t6 VALUES(585,378,308,901,946,'table tn6 row 77')

statement ok
INSERT INTO t6 VALUES(572,781,528,197,766,'table tn6 row 78')

statement ok
INSERT INTO t2 VALUES(980,433,773,310,547,'table tn2 row 91')

statement ok
INSERT INTO t6 VALUES(173,250,717,161,816,'table tn6 row 79')

statement ok
INSERT INTO t4 VALUES(990,372,690,593,212,'table tn4 row 89')

statement ok
INSERT INTO t2 VALUES(442,367,793,892,40,'table tn2 row 92')

statement ok
INSERT INTO t4 VALUES(248,577,489,141,850,'table tn4 row 90')

statement ok
INSERT INTO t5 VALUES(597,389,978,280,655,'table tn5 row 92')

statement ok
INSERT INTO t4 VALUES(442,408,758,105,486,'table tn4 row 91')

statement ok
INSERT INTO t3 VALUES(743,178,900,719,846,'table tn3 row 95')

statement ok
INSERT INTO t3 VALUES(788,334,243,662,823,'table tn3 row 96')

statement ok
INSERT INTO t5 VALUES(341,273,613,219,594,'table tn5 row 93')

statement ok
INSERT INTO t2 VALUES(135,170,160,555,441,'table tn2 row 93')

statement ok
INSERT INTO t3 VALUES(255,152,555,729,449,'table tn3 row 97')

statement ok
INSERT INTO t3 VALUES(872,321,594,958,464,'table tn3 row 98')

statement ok
INSERT INTO t2 VALUES(209,599,466,80,925,'table tn2 row 94')

statement ok
INSERT INTO t8 VALUES(597,889,32,706,579,'table tn8 row 92')

statement ok
INSERT INTO t6 VALUES(568,629,84,34,489,'table tn6 row 80')

statement ok
INSERT INTO t9 VALUES(304,426,579,270,995,'table tn9 row 79')

statement ok
INSERT INTO t3 VALUES(41,464,403,386,818,'table tn3 row 99')

statement ok
INSERT INTO t9 VALUES(172,568,547,821,788,'table tn9 row 80')

statement ok
INSERT INTO t8 VALUES(66,725,151,849,512,'table tn8 row 93')

statement ok
INSERT INTO t3 VALUES(863,592,467,624,665,'table tn3 row 100')

statement ok
INSERT INTO t9 VALUES(69,118,180,662,291,'table tn9 row 81')

statement ok
INSERT INTO t4 VALUES(921,765,357,821,6,'table tn4 row 92')

statement ok
INSERT INTO t1 VALUES(241,729,168,574,313,'table tn1 row 99')

statement ok
INSERT INTO t1 VALUES(294,766,296,807,731,'table tn1 row 100')

statement ok
INSERT INTO t8 VALUES(150,770,404,108,806,'table tn8 row 94')

statement ok
INSERT INTO t5 VALUES(626,183,545,553,342,'table tn5 row 94')

statement ok
INSERT INTO t1 VALUES(742,836,506,770,152,'table tn1 row 101')

statement ok
INSERT INTO t4 VALUES(651,919,675,989,257,'table tn4 row 93')

statement ok
INSERT INTO t6 VALUES(725,6,910,942,439,'table tn6 row 81')

statement ok
INSERT INTO t1 VALUES(513,211,736,885,284,'table tn1 row 102')

statement ok
INSERT INTO t7 VALUES(430,273,344,292,900,'table tn7 row 91')

statement ok
INSERT INTO t1 VALUES(829,589,980,163,139,'table tn1 row 103')

statement ok
INSERT INTO t3 VALUES(611,130,677,981,913,'table tn3 row 101')

statement ok
INSERT INTO t3 VALUES(190,57,668,913,375,'table tn3 row 102')

statement ok
INSERT INTO t1 VALUES(330,88,402,761,90,'table tn1 row 104')

statement ok
INSERT INTO t7 VALUES(982,861,508,306,860,'table tn7 row 92')

statement ok
INSERT INTO t8 VALUES(502,981,166,894,918,'table tn8 row 95')

statement ok
INSERT INTO t8 VALUES(129,466,88,466,320,'table tn8 row 96')

statement ok
INSERT INTO t1 VALUES(88,179,4,799,558,'table tn1 row 105')

statement ok
INSERT INTO t8 VALUES(417,755,113,58,600,'table tn8 row 97')

statement ok
INSERT INTO t1 VALUES(785,894,620,585,748,'table tn1 row 106')

statement ok
INSERT INTO t3 VALUES(5,224,733,701,813,'table tn3 row 103')

statement ok
INSERT INTO t2 VALUES(814,145,907,414,808,'table tn2 row 95')

statement ok
INSERT INTO t1 VALUES(499,60,284,913,78,'table tn1 row 107')

statement ok
INSERT INTO t6 VALUES(825,716,609,337,682,'table tn6 row 82')

statement ok
INSERT INTO t3 VALUES(344,558,317,553,712,'table tn3 row 104')

statement ok
INSERT INTO t1 VALUES(972,5,537,662,222,'table tn1 row 108')

statement ok
INSERT INTO t1 VALUES(194,766,39,951,568,'table tn1 row 109')

statement ok
INSERT INTO t8 VALUES(54,324,231,889,586,'table tn8 row 98')

statement ok
INSERT INTO t3 VALUES(818,156,324,866,593,'table tn3 row 105')

statement ok
INSERT INTO t6 VALUES(799,933,490,778,794,'table tn6 row 83')

statement ok
INSERT INTO t3 VALUES(763,474,145,415,163,'table tn3 row 106')

statement ok
INSERT INTO t3 VALUES(184,76,80,890,600,'table tn3 row 107')

statement ok
INSERT INTO t8 VALUES(210,615,421,190,105,'table tn8 row 99')

statement ok
INSERT INTO t9 VALUES(712,74,402,495,619,'table tn9 row 82')

statement ok
INSERT INTO t1 VALUES(179,226,246,154,148,'table tn1 row 110')

statement ok
INSERT INTO t5 VALUES(50,33,72,171,470,'table tn5 row 95')

statement ok
INSERT INTO t6 VALUES(683,850,572,453,622,'table tn6 row 84')

statement ok
INSERT INTO t6 VALUES(731,54,146,664,261,'table tn6 row 85')

statement ok
INSERT INTO t7 VALUES(136,841,966,549,970,'table tn7 row 93')

statement ok
INSERT INTO t3 VALUES(368,457,175,220,728,'table tn3 row 108')

statement ok
INSERT INTO t7 VALUES(85,67,518,205,562,'table tn7 row 94')

statement ok
INSERT INTO t4 VALUES(602,882,521,184,476,'table tn4 row 94')

statement ok
INSERT INTO t4 VALUES(473,624,424,323,661,'table tn4 row 95')

statement ok
INSERT INTO t2 VALUES(543,8,179,367,535,'table tn2 row 96')

statement ok
INSERT INTO t3 VALUES(476,339,435,358,425,'table tn3 row 109')

statement ok
INSERT INTO t5 VALUES(642,484,844,916,929,'table tn5 row 96')

statement ok
INSERT INTO t1 VALUES(505,736,636,550,949,'table tn1 row 111')

statement ok
INSERT INTO t1 VALUES(267,283,716,666,367,'table tn1 row 112')

statement ok
INSERT INTO t1 VALUES(847,572,637,4,534,'table tn1 row 113')

statement ok
INSERT INTO t3 VALUES(378,214,651,982,836,'table tn3 row 110')

statement ok
INSERT INTO t3 VALUES(393,720,524,524,192,'table tn3 row 111')

statement ok
INSERT INTO t3 VALUES(499,551,211,95,731,'table tn3 row 112')

statement ok
INSERT INTO t3 VALUES(959,847,178,434,177,'table tn3 row 113')

statement ok
INSERT INTO t5 VALUES(331,661,657,462,586,'table tn5 row 97')

statement ok
INSERT INTO t2 VALUES(223,211,964,844,138,'table tn2 row 97')

statement ok
INSERT INTO t3 VALUES(913,73,986,139,457,'table tn3 row 114')

statement ok
INSERT INTO t2 VALUES(266,148,729,137,572,'table tn2 row 98')

statement ok
INSERT INTO t1 VALUES(538,213,289,806,48,'table tn1 row 114')

statement ok
INSERT INTO t9 VALUES(962,855,639,967,607,'table tn9 row 83')

statement ok
INSERT INTO t9 VALUES(416,227,273,681,987,'table tn9 row 84')

statement ok
INSERT INTO t2 VALUES(891,634,653,813,945,'table tn2 row 99')

statement ok
INSERT INTO t5 VALUES(851,338,924,111,732,'table tn5 row 98')

statement ok
INSERT INTO t8 VALUES(113,394,377,223,729,'table tn8 row 100')

statement ok
INSERT INTO t5 VALUES(743,511,934,682,446,'table tn5 row 99')

statement ok
INSERT INTO t7 VALUES(565,271,232,925,439,'table tn7 row 95')

statement ok
INSERT INTO t5 VALUES(373,231,18,940,549,'table tn5 row 100')

statement ok
INSERT INTO t3 VALUES(581,832,869,60,155,'table tn3 row 115')

statement ok
INSERT INTO t6 VALUES(604,962,287,185,6,'table tn6 row 86')

statement ok
INSERT INTO t2 VALUES(987,818,676,362,720,'table tn2 row 100')

statement ok
INSERT INTO t7 VALUES(120,455,565,712,120,'table tn7 row 96')

statement ok
INSERT INTO t4 VALUES(804,357,177,987,491,'table tn4 row 96')

statement ok
INSERT INTO t6 VALUES(610,825,320,21,761,'table tn6 row 87')

statement ok
INSERT INTO t4 VALUES(136,379,584,681,543,'table tn4 row 97')

statement ok
INSERT INTO t6 VALUES(469,915,161,885,668,'table tn6 row 88')

statement ok
INSERT INTO t6 VALUES(518,427,454,852,40,'table tn6 row 89')

statement ok
INSERT INTO t9 VALUES(875,858,126,597,161,'table tn9 row 85')

statement ok
INSERT INTO t4 VALUES(773,137,358,185,552,'table tn4 row 98')

statement ok
INSERT INTO t3 VALUES(500,296,580,797,862,'table tn3 row 116')

statement ok
INSERT INTO t2 VALUES(564,139,925,152,554,'table tn2 row 101')

statement ok
INSERT INTO t2 VALUES(922,554,318,772,302,'table tn2 row 102')

statement ok
INSERT INTO t8 VALUES(774,365,230,366,442,'table tn8 row 101')

statement ok
INSERT INTO t7 VALUES(936,827,585,196,929,'table tn7 row 97')

statement ok
INSERT INTO t8 VALUES(826,186,100,624,7,'table tn8 row 102')

statement ok
INSERT INTO t9 VALUES(757,447,809,618,307,'table tn9 row 86')

statement ok
INSERT INTO t4 VALUES(318,925,215,247,236,'table tn4 row 99')

statement ok
INSERT INTO t4 VALUES(922,941,84,18,977,'table tn4 row 100')

statement ok
INSERT INTO t2 VALUES(327,442,177,79,428,'table tn2 row 103')

statement ok
INSERT INTO t2 VALUES(336,509,202,813,692,'table tn2 row 104')

statement ok
INSERT INTO t1 VALUES(992,1,346,215,763,'table tn1 row 115')

statement ok
INSERT INTO t5 VALUES(637,784,551,847,441,'table tn5 row 101')

statement ok
INSERT INTO t9 VALUES(811,178,732,55,936,'table tn9 row 87')

statement ok
INSERT INTO t4 VALUES(412,476,39,303,352,'table tn4 row 101')

statement ok
INSERT INTO t4 VALUES(228,713,398,199,512,'table tn4 row 102')

statement ok
INSERT INTO t7 VALUES(642,480,860,817,782,'table tn7 row 98')

statement ok
INSERT INTO t5 VALUES(882,620,249,731,225,'table tn5 row 102')

statement ok
INSERT INTO t2 VALUES(189,181,788,847,955,'table tn2 row 105')

statement ok
INSERT INTO t5 VALUES(976,569,313,757,209,'table tn5 row 103')

statement ok
INSERT INTO t9 VALUES(584,2,110,678,353,'table tn9 row 88')

statement ok
INSERT INTO t1 VALUES(707,113,880,130,117,'table tn1 row 116')

statement ok
INSERT INTO t4 VALUES(489,748,88,819,307,'table tn4 row 103')

statement ok
INSERT INTO t3 VALUES(952,392,122,665,138,'table tn3 row 117')

statement ok
INSERT INTO t8 VALUES(242,796,442,637,180,'table tn8 row 103')

statement ok
INSERT INTO t3 VALUES(729,651,669,729,131,'table tn3 row 118')

statement ok
INSERT INTO t4 VALUES(92,469,671,597,816,'table tn4 row 104')

statement ok
INSERT INTO t2 VALUES(789,228,981,498,220,'table tn2 row 106')

statement ok
INSERT INTO t9 VALUES(295,103,739,525,575,'table tn9 row 89')

statement ok
INSERT INTO t5 VALUES(24,723,941,313,470,'table tn5 row 104')

statement ok
INSERT INTO t1 VALUES(170,914,683,863,11,'table tn1 row 117')

statement ok
INSERT INTO t2 VALUES(76,351,887,46,699,'table tn2 row 107')

statement ok
INSERT INTO t3 VALUES(335,686,400,522,470,'table tn3 row 119')

statement ok
INSERT INTO t3 VALUES(697,124,688,217,7,'table tn3 row 120')

statement ok
INSERT INTO t4 VALUES(574,33,221,268,311,'table tn4 row 105')

statement ok
INSERT INTO t7 VALUES(945,192,377,364,156,'table tn7 row 99')

statement ok
INSERT INTO t9 VALUES(485,821,87,732,239,'table tn9 row 90')

statement ok
INSERT INTO t7 VALUES(208,636,692,782,201,'table tn7 row 100')

statement ok
INSERT INTO t3 VALUES(615,198,961,615,87,'table tn3 row 121')

statement ok
INSERT INTO t3 VALUES(532,811,53,603,989,'table tn3 row 122')

statement ok
INSERT INTO t1 VALUES(521,281,375,221,628,'table tn1 row 118')

statement ok
INSERT INTO t1 VALUES(579,781,299,626,300,'table tn1 row 119')

statement ok
INSERT INTO t3 VALUES(947,405,494,480,605,'table tn3 row 123')

statement ok
INSERT INTO t8 VALUES(900,690,233,950,919,'table tn8 row 104')

statement ok
INSERT INTO t8 VALUES(453,155,77,953,421,'table tn8 row 105')

statement ok
INSERT INTO t6 VALUES(801,782,258,767,969,'table tn6 row 90')

statement ok
INSERT INTO t1 VALUES(825,247,486,565,582,'table tn1 row 120')

statement ok
INSERT INTO t9 VALUES(365,245,734,608,567,'table tn9 row 91')

statement ok
INSERT INTO t2 VALUES(927,38,136,760,483,'table tn2 row 108')

statement ok
INSERT INTO t6 VALUES(680,210,677,428,466,'table tn6 row 91')

statement ok
INSERT INTO t5 VALUES(721,695,27,957,157,'table tn5 row 105')

statement ok
INSERT INTO t7 VALUES(442,855,80,603,144,'table tn7 row 101')

statement ok
INSERT INTO t4 VALUES(505,847,799,797,546,'table tn4 row 106')

statement ok
INSERT INTO t8 VALUES(12,790,544,50,383,'table tn8 row 106')

statement ok
INSERT INTO t2 VALUES(131,21,141,953,841,'table tn2 row 109')

statement ok
INSERT INTO t3 VALUES(306,761,777,871,844,'table tn3 row 124')

statement ok
INSERT INTO t9 VALUES(273,214,457,463,146,'table tn9 row 92')

statement ok
INSERT INTO t5 VALUES(242,559,442,634,68,'table tn5 row 106')

statement ok
INSERT INTO t1 VALUES(445,995,765,508,209,'table tn1 row 121')

statement ok
INSERT INTO t5 VALUES(55,716,140,977,656,'table tn5 row 107')

statement ok
INSERT INTO t7 VALUES(758,519,103,172,826,'table tn7 row 102')

statement ok
INSERT INTO t1 VALUES(736,350,175,701,897,'table tn1 row 122')

statement ok
INSERT INTO t7 VALUES(894,996,606,105,280,'table tn7 row 103')

statement ok
INSERT INTO t3 VALUES(929,269,986,983,844,'table tn3 row 125')

statement ok
INSERT INTO t6 VALUES(270,681,267,223,324,'table tn6 row 92')

statement ok
INSERT INTO t1 VALUES(237,432,368,298,468,'table tn1 row 123')

statement ok
INSERT INTO t7 VALUES(703,83,548,680,303,'table tn7 row 104')

statement ok
INSERT INTO t4 VALUES(968,721,854,373,958,'table tn4 row 107')

statement ok
INSERT INTO t2 VALUES(851,755,244,887,940,'table tn2 row 110')

statement ok
INSERT INTO t8 VALUES(894,952,93,484,682,'table tn8 row 107')

statement ok
INSERT INTO t2 VALUES(457,932,346,663,560,'table tn2 row 111')

statement ok
INSERT INTO t4 VALUES(210,407,694,60,565,'table tn4 row 108')

statement ok
INSERT INTO t7 VALUES(912,234,682,79,215,'table tn7 row 105')

statement ok
INSERT INTO t9 VALUES(891,421,90,147,150,'table tn9 row 93')

statement ok
INSERT INTO t1 VALUES(280,32,366,793,436,'table tn1 row 124')

statement ok
INSERT INTO t7 VALUES(288,222,770,142,815,'table tn7 row 106')

statement ok
INSERT INTO t1 VALUES(76,802,420,35,504,'table tn1 row 125')

statement ok
INSERT INTO t3 VALUES(197,70,800,170,303,'table tn3 row 126')

statement ok
INSERT INTO t4 VALUES(746,733,791,770,805,'table tn4 row 109')

statement ok
INSERT INTO t4 VALUES(793,289,274,166,790,'table tn4 row 110')

statement ok
INSERT INTO t3 VALUES(865,584,887,425,333,'table tn3 row 127')

statement ok
INSERT INTO t9 VALUES(104,289,575,111,218,'table tn9 row 94')

statement ok
INSERT INTO t7 VALUES(757,514,575,924,553,'table tn7 row 107')

statement ok
INSERT INTO t3 VALUES(275,226,991,260,310,'table tn3 row 128')

statement ok
INSERT INTO t4 VALUES(661,114,119,713,132,'table tn4 row 111')

statement ok
INSERT INTO t1 VALUES(640,779,852,481,896,'table tn1 row 126')

statement ok
INSERT INTO t2 VALUES(382,313,869,454,217,'table tn2 row 112')

statement ok
INSERT INTO t5 VALUES(749,847,210,42,718,'table tn5 row 108')

statement ok
INSERT INTO t7 VALUES(722,562,145,346,638,'table tn7 row 108')

statement ok
INSERT INTO t8 VALUES(620,704,973,60,864,'table tn8 row 108')

statement ok
INSERT INTO t3 VALUES(303,779,647,81,272,'table tn3 row 129')

statement ok
INSERT INTO t8 VALUES(312,862,321,945,56,'table tn8 row 109')

statement ok
INSERT INTO t5 VALUES(796,159,527,344,802,'table tn5 row 109')

statement ok
INSERT INTO t9 VALUES(457,152,547,668,750,'table tn9 row 95')

statement ok
INSERT INTO t7 VALUES(290,257,375,315,422,'table tn7 row 109')

statement ok
INSERT INTO t7 VALUES(356,660,954,575,918,'table tn7 row 110')

statement ok
INSERT INTO t9 VALUES(548,832,711,420,792,'table tn9 row 96')

statement ok
INSERT INTO t2 VALUES(262,628,45,643,655,'table tn2 row 113')

statement ok
INSERT INTO t5 VALUES(740,605,696,443,390,'table tn5 row 110')

statement ok
INSERT INTO t1 VALUES(552,310,629,254,931,'table tn1 row 127')

statement ok
INSERT INTO t9 VALUES(240,149,476,987,713,'table tn9 row 97')

statement ok
INSERT INTO t9 VALUES(907,251,60,164,245,'table tn9 row 98')

statement ok
INSERT INTO t1 VALUES(996,297,177,577,602,'table tn1 row 128')

query IIIIIT rowsort all1
SELECT * FROM t1

query IIIIIT rowsort all2
SELECT * FROM t2

query IIIIIT rowsort all3
SELECT * FROM t3

query IIIIIT rowsort all4
SELECT * FROM t4

query IIIIIT rowsort all5
SELECT * FROM t5

query IIIIIT rowsort all6
SELECT * FROM t6

query IIIIIT rowsort all7
SELECT * FROM t7

query IIIIIT rowsort all8
SELECT * FROM t8

query IIIIIT rowsort all9
SELECT * FROM t9

statement ok
CREATE INDEX t1i0 ON t1(a1,b1,c1,d1,e1,x1)

statement ok
CREATE INDEX t1i1 ON t1(b1,c1,d1,e1,x1)

statement ok
CREATE INDEX t1i2 ON t1(c1,d1,e1,x1)

statement ok
CREATE INDEX t1i3 ON t1(d1,e1,x1)

statement ok
CREATE INDEX t1i4 ON t1(e1,x1)

statement ok
CREATE INDEX t2a2 ON t2(a2)

statement ok
CREATE INDEX t2b2 ON t2(b2)

statement ok
CREATE INDEX t2c2 ON t2(c2)

statement ok
CREATE INDEX t2d2 ON t2(d2)

statement ok
CREATE INDEX t2e2 ON t2(e2)

statement ok
CREATE INDEX t3a3 ON t3(a3)

statement ok
CREATE INDEX t4b4 ON t4(b4)

statement ok
CREATE INDEX t5c5 ON t5(c5)

statement ok
CREATE INDEX t6d6 ON t6(d6)

statement ok
CREATE INDEX t7e7 ON t7(e7)

statement ok
CREATE INDEX t8all ON t8(e8 DESC, d8 ASC, c8 DESC, b8 ASC, a8 DESC)

query IIIIIT rowsort all1
SELECT * FROM t1

query IIIIIT rowsort all2
SELECT * FROM t2

query IIIIIT rowsort all3
SELECT * FROM t3

query IIIIIT rowsort all4
SELECT * FROM t4

query IIIIIT rowsort all5
SELECT * FROM t5

query IIIIIT rowsort all6
SELECT * FROM t6

query IIIIIT rowsort all7
SELECT * FROM t7

query IIIIIT rowsort all8
SELECT * FROM t8

query IIIIIT rowsort all9
SELECT * FROM t9

query T valuesort
  SELECT e1 FROM t1
   WHERE a1 in (767,433,637,363,776,109,451)
      OR c1 in (683,531,654,246,3,876,309,284)
      OR (b1=738)
EXCEPT
  SELECT b8 FROM t8
   WHERE NOT ((761=d8 AND b8=259 AND e8=44 AND 762=c8 AND 563=a8)
           OR e8 in (866,579,106,933))
EXCEPT
  SELECT e6 FROM t6
   WHERE NOT ((825=b6 OR d6=500)
           OR (230=b6 AND e6=731 AND d6=355 AND 116=a6))
UNION
  SELECT b2 FROM t2
   WHERE (d2=416)
UNION
  SELECT a4 FROM t4
   WHERE c4 in (806,119,489,658,366,424,2,471)
      OR (215=c4 OR c4=424 OR e4=405)
UNION ALL
  SELECT a9 FROM t9
   WHERE (e9=195)
      OR (c9=98 OR d9=145)
UNION ALL
  SELECT e5 FROM t5
   WHERE (44=c5 AND a5=362 AND 193=b5)
      OR (858=b5)
UNION
  SELECT d3 FROM t3
   WHERE (b3=152)
      OR (726=d3)
UNION
  SELECT e7 FROM t7
   WHERE d7 in (687,507,603,52,118)
      OR (d7=399 AND e7=408 AND 396=b7 AND a7=97 AND c7=813)
      OR (e7=605 OR 837=b7 OR e7=918)

query T valuesort
  SELECT c8 FROM t8
   WHERE d8 in (883,523,81,667,20,690,124,2)
      OR e8 in (608,874,592,632)
      OR c8 in (461,461,501,979,111)
INTERSECT
  SELECT d3 FROM t3
   WHERE NOT ((a3=162)
           OR d3 in (314,896,501,118,508,134,548,825,923,423,17))
UNION
  SELECT a6 FROM t6
   WHERE (490=c6 AND 778=d6 AND 933=b6 AND 794=e6 AND 799=a6)
      OR b6 in (267,512,537,158,92,421,230,232,229)
UNION ALL
  SELECT a7 FROM t7
   WHERE c7 in (744,305,931,853)
EXCEPT
  SELECT c5 FROM t5
   WHERE NOT ((104=e5 AND d5=729 AND 380=b5 AND c5=723)
           OR (826=a5 AND e5=937 AND 923=c5 AND b5=79)
           OR a5 in (597,297,429,331,99,544,373))
EXCEPT
  SELECT d9 FROM t9
   WHERE NOT ((c9=955 AND 864=b9 AND 264=e9 AND a9=535)
           OR d9 in (770,25,681,23,660,270,618,608,967)
           OR e9 in (197,264,947,19,737))
EXCEPT
  SELECT c2 FROM t2
   WHERE NOT (c2 in (819,894,551,449,127))
EXCEPT
  SELECT a1 FROM t1
   WHERE NOT ((731=e1 OR d1=972 OR e1=89)
           OR b1 in (828,779,233,729,128,75,766,91,822,995))

query T valuesort
  SELECT c4 FROM t4
   WHERE d4 in (481,449,617,989,356,681,136,86,821,968,249,628,889,794)
      OR a4 in (952,337,373,74,248)
UNION
  SELECT c1 FROM t1
   WHERE (b1=670)
      OR (a1=544 OR d1=217 OR d1=807)
      OR c1 in (230,62,67)
EXCEPT
  SELECT e5 FROM t5
   WHERE NOT ((a5=476))
EXCEPT
  SELECT e9 FROM t9
   WHERE NOT ((854=e9 OR 746=b9)
           OR d9 in (383,258,878,166,678,790,145,679,164,808,759,283,818)
           OR c9 in (349,402,37,95,487,569,347,232,613,973))
EXCEPT
  SELECT d8 FROM t8
   WHERE NOT ((e8=586 AND b8=324 AND 231=c8 AND a8=54 AND d8=889))

query T valuesort
  SELECT e9 FROM t9
   WHERE (264=e9)
      OR (608=d9 AND 245=b9 AND 365=a9)
      OR d9 in (821,360,686,601,720,744,606,450,818,270,732,111,737)
INTERSECT
  SELECT c1 FROM t1
   WHERE NOT ((b1=255)
           OR (544=a1 OR 775=c1 OR 60=b1)
           OR (523=c1))
UNION
  SELECT e8 FROM t8
   WHERE (269=b8 AND e8=272)
      OR (e8=579 OR 729=e8)
      OR (761=b8 AND e8=179 AND c8=775)
EXCEPT
  SELECT c3 FROM t3
   WHERE NOT (a3 in (820,101,383,822,594,457,971,818,380,12)
           OR (964=a3 AND d3=444))

query T valuesort
  SELECT e6 FROM t6
   WHERE (c6=528 AND d6=991)
      OR d6 in (196,453,931,337,60,667,73,493,66)
INTERSECT
  SELECT d1 FROM t1
   WHERE NOT ((149=b1 AND a1=776))

query T valuesort
  SELECT b1 FROM t1
   WHERE (d1=806 AND 289=c1)
      OR c1 in (788,481,771,805,534)
UNION
  SELECT b9 FROM t9
   WHERE d9 in (602,166,686,878,679,95,554,164)
      OR (c9=118 AND 739=a9 AND b9=900 AND 720=d9 AND 736=e9)
EXCEPT
  SELECT e2 FROM t2
   WHERE NOT ((377=d2 OR d2=198))
EXCEPT
  SELECT c3 FROM t3
   WHERE NOT ((a3=303 OR b3=457 OR a3=729)
           OR (a3=727 AND c3=220 AND d3=711 AND b3=57 AND e3=108)
           OR b3 in (368,17,464,813,146,558,932,382,405))
EXCEPT
  SELECT b5 FROM t5
   WHERE NOT ((b5=606 OR c5=960 OR 53=a5)
           OR (e5=232)
           OR b5 in (79,260,161,703,559))
UNION
  SELECT d6 FROM t6
   WHERE a6 in (121,128,801,564,104,818,1,233,672,129)
      OR (601=b6 AND a6=877 AND 329=e6 AND d6=590 AND c6=65)
      OR (270=a6 OR 424=c6)
UNION ALL
  SELECT a4 FROM t4
   WHERE c4 in (47,984,433)
      OR c4 in (47,658,752,74,44,671)
UNION ALL
  SELECT a8 FROM t8
   WHERE a8 in (47,957,822,848,838,54,467,620,869)
      OR (184=a8 OR a8=400)
      OR b8 in (211,454,615,182,705,397,52,690,878,6,300)

query T valuesort
  SELECT b7 FROM t7
   WHERE c7 in (375,672,280,853,145,729,518,206,301,238,257)
      OR c7 in (467,80,364)
      OR (939=d7 OR e7=27 OR c7=970)
EXCEPT
  SELECT c2 FROM t2
   WHERE NOT (d2 in (682,158,317))
EXCEPT
  SELECT c4 FROM t4
   WHERE NOT ((132=e4 AND c4=119)
           OR (c4=984 OR 748=b4 OR 252=e4)
           OR c4 in (398,214,178))
UNION
  SELECT d3 FROM t3
   WHERE (134=d3 OR 600=c3)
EXCEPT
  SELECT c8 FROM t8
   WHERE NOT ((333=e8 OR d8=112 OR 984=b8))
UNION ALL
  SELECT d6 FROM t6
   WHERE (44=b6)
      OR (d6=664 AND a6=731 AND b6=54)
      OR (901=d6 AND 378=b6 AND 946=e6 AND 308=c6)
EXCEPT
  SELECT c1 FROM t1
   WHERE NOT (d1 in (712,298,550,837,412,274,818,807,187,900,654)
           OR (626=d1 AND 579=a1 AND 299=c1 AND 300=e1))
UNION ALL
  SELECT c9 FROM t9
   WHERE (274=d9 OR a9=964 OR 712=a9)
      OR (e9=750 AND d9=668 AND 547=c9 AND 457=a9)
      OR (a9=747 AND 226=d9 AND 426=e9 AND c9=252)
UNION
  SELECT c5 FROM t5
   WHERE (12=c5 OR 971=b5 OR e5=470)

query T valuesort
  SELECT a5 FROM t5
   WHERE b5 in (878,391,640,320,609,998,858,495,306)
UNION
  SELECT b2 FROM t2
   WHERE (823=b2 OR 213=e2 OR 374=a2)
      OR a2 in (725,327,669,185)
EXCEPT
  SELECT a9 FROM t9
   WHERE NOT ((b9=667 OR 621=e9)
           OR (962=a9 OR 253=c9))
UNION ALL
  SELECT d4 FROM t4
   WHERE a4 in (105,228,210)
UNION
  SELECT e8 FROM t8
   WHERE (384=e8 AND 461=c8 AND a8=5 AND b8=405 AND d8=330)
      OR (d8=384 AND a8=994 AND 370=b8 AND e8=495)
UNION ALL
  SELECT c3 FROM t3
   WHERE (913=e3)
EXCEPT
  SELECT e1 FROM t1
   WHERE NOT (c1 in (762,765,379,246,617,531,299,846,787,979,62,776)
           OR (a1=109 AND d1=678 AND 295=b1 AND 312=e1))
EXCEPT
  SELECT a7 FROM t7
   WHERE NOT (a7 in (884,998,356,854,848,592,982,622,565,879))

query T valuesort
  SELECT a1 FROM t1
   WHERE (a1=996 AND 177=c1 AND e1=602 AND 577=d1 AND 297=b1)
      OR (a1=536)
EXCEPT
  SELECT c8 FROM t8
   WHERE NOT ((46=e8 OR 864=a8)
           OR (d8=366 OR d8=814 OR c8=375)
           OR (512=d8 OR 881=e8 OR b8=677))
UNION
  SELECT b4 FROM t4
   WHERE (484=c4 OR e4=163)
      OR c4 in (471,208,927,0,660,484)
      OR (a4=933)
UNION
  SELECT d9 FROM t9
   WHERE a9 in (747,924,830,511,962,304,263,102,739,685,553)
      OR c9 in (801,992,87)

query T valuesort
  SELECT c9 FROM t9
   WHERE c9 in (351,126,800,955,180)
UNION ALL
  SELECT b7 FROM t7
   WHERE (d7=891 AND e7=983 AND a7=589)
      OR (409=b7)
UNION ALL
  SELECT e4 FROM t4
   WHERE c4 in (88,357,720,471,153,436,767,758,220,0,127,536,694,521)
UNION ALL
  SELECT a1 FROM t1
   WHERE d1 in (529,130,217,86)
      OR d1 in (803,432,414,798,418,565,571,323,806,141,130,35,874,310)
UNION
  SELECT c2 FROM t2
   WHERE (328=d2 AND 751=a2 AND 489=b2 AND 746=c2)
      OR (d2=704 OR a2=691)
      OR (e2=433 AND a2=175)
UNION
  SELECT b6 FROM t6
   WHERE c6 in (442,122,561,377,123,424,480,534,609,718,648,135)
      OR (970=d6)
      OR d6 in (664,734,778)
UNION ALL
  SELECT e8 FROM t8
   WHERE (b8=878 AND 533=e8 AND a8=341 AND 715=d8)
      OR (882=a8 AND d8=651 AND 219=b8 AND 866=c8 AND e8=333)
      OR (e8=874 OR 8=b8)
UNION ALL
  SELECT a3 FROM t3
   WHERE (720=b3 OR 197=a3)
UNION ALL
  SELECT b5 FROM t5
   WHERE (c5=313 OR 174=a5 OR e5=655)

query T valuesort
  SELECT c1 FROM t1
   WHERE e1 in (268,312,896,95,504,763,795,110,558,125,813,523)
      OR (483=e1 OR c1=607)
UNION ALL
  SELECT e9 FROM t9
   WHERE d9 in (332,681,389)
      OR (262=b9)
      OR (a9=553 OR e9=868 OR a9=485)
UNION
  SELECT a4 FROM t4
   WHERE (276=b4 OR b4=982 OR b4=260)
EXCEPT
  SELECT b6 FROM t6
   WHERE NOT ((d6=366 OR 405=d6 OR b6=232)
           OR b6 in (716,0,92,144,350))
EXCEPT
  SELECT c8 FROM t8
   WHERE NOT ((e8=487))
UNION ALL
  SELECT d5 FROM t5
   WHERE (d5=991 OR e5=25)
      OR (d5=792 AND 868=c5 AND 710=a5 AND e5=610)
      OR e5 in (621,716,480,436)

query T valuesort
  SELECT c3 FROM t3
   WHERE (272=e3 AND 303=a3 AND 779=b3)
      OR b3 in (321,616,914)
UNION ALL
  SELECT b4 FROM t4
   WHERE d4 in (60,150,968)
      OR (e4=557 AND 152=a4)
      OR b4 in (40,784,286,884,563,919,608,660,860,802,86,408,220)
EXCEPT
  SELECT e6 FROM t6
   WHERE NOT (d6 in (337,66,405))
UNION
  SELECT a7 FROM t7
   WHERE e7 in (92,815,67,120,215,290,439,887,851,408,988,7)
      OR (408=e7 AND b7=396)
      OR (b7=266 AND 478=c7 AND 684=d7 AND e7=688 AND a7=325)
UNION ALL
  SELECT a1 FROM t1
   WHERE (c1=346 OR 55=b1)
      OR d1 in (618,75,213,346,18,161,973,990,716)
UNION
  SELECT a5 FROM t5
   WHERE e5 in (522,937,561,25,944,206,352,758)

query T valuesort
  SELECT e8 FROM t8
   WHERE c8 in (501,74,979,692,907)
      OR (325=b8 AND 792=e8 AND c8=418)
UNION
  SELECT e5 FROM t5
   WHERE (a5=242 OR d5=309 OR 362=a5)
EXCEPT
  SELECT a1 FROM t1
   WHERE NOT (d1 in (294,221,678,717)
           OR (865=c1 AND 808=b1 AND e1=313 AND a1=754 AND d1=972)
           OR (187=d1 AND 416=c1 AND 981=a1 AND 440=b1))
EXCEPT
  SELECT e4 FROM t4
   WHERE NOT ((b4=372 AND e4=212)
           OR (b4=784 OR b4=86 OR 38=e4))
UNION ALL
  SELECT d2 FROM t2
   WHERE (282=e2 OR 476=d2)
EXCEPT
  SELECT c7 FROM t7
   WHERE NOT ((135=c7 AND e7=27 AND d7=996 AND 958=a7))

query T valuesort
  SELECT e4 FROM t4
   WHERE a4 in (373,990,234,228)
      OR (a4=447 AND e4=151 AND c4=703 AND 983=d4 AND 653=b4)
UNION ALL
  SELECT c9 FROM t9
   WHERE (c9=60 AND 164=d9 AND 245=e9 AND b9=251)
      OR (e9=873)
EXCEPT
  SELECT b6 FROM t6
   WHERE NOT ((b6=392)
           OR (197=d6))
EXCEPT
  SELECT a2 FROM t2
   WHERE NOT ((b2=938 AND 836=d2 AND c2=449)
           OR e2 in (138,302,16,151,659)
           OR b2 in (546,173,968))
EXCEPT
  SELECT d8 FROM t8
   WHERE NOT ((e8=310 AND b8=155 AND 171=a8))
EXCEPT
  SELECT c1 FROM t1
   WHERE NOT ((921=e1))
UNION ALL
  SELECT b7 FROM t7
   WHERE (921=a7)
      OR c7 in (435,142,135,853,548,375,419,575,146,482,770,855)
UNION
  SELECT a5 FROM t5
   WHERE d5 in (940,369,369,492,780,171,557)
      OR c5 in (485,924,668,443,130,649,44)

query T valuesort
  SELECT e5 FROM t5
   WHERE (c5=471 OR 642=a5 OR e5=888)
      OR (818=c5)
      OR a5 in (683,602,392,297,740,522,362,421)
UNION
  SELECT a3 FROM t3
   WHERE (632=b3 OR a3=198)
      OR (a3=591 OR d3=354 OR e3=932)
      OR d3 in (217,66,809,890,607,428)
EXCEPT
  SELECT a1 FROM t1
   WHERE NOT ((d1=18 AND 747=e1 AND a1=678 AND 62=c1)
           OR b1 in (345,404,726,556,788,762,115)
           OR d1 in (939,818,949,972,35,418))
EXCEPT
  SELECT c6 FROM t6
   WHERE NOT ((348=b6 AND 35=a6)
           OR (822=d6 OR d6=355))

query T valuesort
  SELECT e3 FROM t3
   WHERE (b3=740 AND 406=e3 AND 644=a3 AND 482=d3)
      OR (958=d3 OR 423=d3 OR 614=a3)
      OR (b3=983 OR a3=190 OR 226=b3)
UNION ALL
  SELECT d8 FROM t8
   WHERE (b8=705 OR 811=e8)
      OR c8 in (151,907,5,88,291,273,196,100,691,111,656,250,332)
EXCEPT
  SELECT a7 FROM t7
   WHERE NOT (e7 in (663,462,903,455,6,816,499,460)
           OR (435=c7 AND 442=d7 AND e7=988 AND 134=a7 AND 804=b7))

query T valuesort
  SELECT b6 FROM t6
   WHERE (243=b6)
      OR (673=e6 OR e6=286 OR 839=a6)
      OR a6 in (518,238,725,706,657,811,104,572,861,384)
UNION
  SELECT b5 FROM t5
   WHERE (5=a5)
UNION
  SELECT b9 FROM t9
   WHERE d9 in (383,909,878,732,919)
      OR (934=e9 AND a9=14 AND 526=c9)
      OR d9 in (681,145,553,51,899,495,467,463,770,166,912,960)
EXCEPT
  SELECT b1 FROM t1
   WHERE NOT ((620=b1 OR a1=853 OR e1=313)
           OR d1 in (186,459,323,571)
           OR (523=b1 OR d1=990 OR 914=b1))
EXCEPT
  SELECT c7 FROM t7
   WHERE NOT ((a7=921 OR 522=e7 OR 435=c7)
           OR (e7=301)
           OR (c7=607))
UNION
  SELECT b8 FROM t8
   WHERE (833=e8 AND 957=a8 AND b8=469 AND c8=844)
      OR (105=e8 OR 706=d8)
      OR b8 in (656,1,992,615,523)
UNION ALL
  SELECT e3 FROM t3
   WHERE (118=d3)
      OR (103=b3 AND c3=697 AND a3=379 AND d3=624 AND 536=e3)
      OR d3 in (434,548,358)
EXCEPT
  SELECT a4 FROM t4
   WHERE NOT (b4 in (748,114,357)
           OR (d4=781 OR 60=d4 OR 728=c4)
           OR (119=c4 OR 132=e4 OR d4=819))
UNION
  SELECT c2 FROM t2
   WHERE b2 in (211,285,897,264,317,754)
      OR (a2=664 OR 546=b2 OR 783=e2)
      OR (897=b2)

query T valuesort
  SELECT e6 FROM t6
   WHERE c6 in (609,673,161,295,534,146,751,292,415)
UNION
  SELECT a8 FROM t8
   WHERE (e8=46 OR d8=651 OR e8=933)
      OR (799=c8 OR a8=113 OR b8=807)
      OR (a8=113 AND 394=b8)
UNION
  SELECT d5 FROM t5
   WHERE (a5=730 AND c5=351 AND 667=d5)
      OR (c5=489 OR a5=445)
      OR e5 in (440,549,561,655,470,929,130,812)
UNION
  SELECT b9 FROM t9
   WHERE (d9=270 AND b9=426 AND 579=c9 AND a9=304)
      OR (227=b9 AND c9=273 AND 416=a9 AND 681=d9 AND e9=987)
      OR (853=c9 OR d9=662)
UNION
  SELECT d4 FROM t4
   WHERE b4 in (708,608,114,480)
      OR (c4=783 AND a4=72 AND d4=309 AND b4=603 AND 163=e4)
      OR (e4=376)

query T valuesort
  SELECT e9 FROM t9
   WHERE b9 in (228,16,66,819,239,262,680,751,2,64,568,348,12)
      OR (953=a9)
      OR (a9=757)
INTERSECT
  SELECT b5 FROM t5
   WHERE NOT ((a5=81 AND e5=440 AND 369=d5 AND b5=855)
           OR (b5=98 OR 13=e5 OR 242=a5)
           OR (413=a5))

query T valuesort
  SELECT d8 FROM t8
   WHERE b8 in (52,366,673,397)
      OR (561=e8)
EXCEPT
  SELECT b7 FROM t7
   WHERE NOT ((a7=120 OR 562=e7)
           OR c7 in (441,508,553,709,682,635,729,705,764,488,860,688,691))
UNION
  SELECT e5 FROM t5
   WHERE (d5=940)
EXCEPT
  SELECT a3 FROM t3
   WHERE NOT (b3 in (70,113,392,234,321,124,360,152,847,685)
           OR (845=c3))
EXCEPT
  SELECT b6 FROM t6
   WHERE NOT ((a6=452 AND 924=d6)
           OR (847=e6 OR c6=522 OR 161=c6))
EXCEPT
  SELECT a9 FROM t9
   WHERE NOT (e9 in (426,844,860,486,934,713,197,149,944,267,146,445)
           OR (548=a9 AND e9=792 AND d9=420))
UNION
  SELECT c2 FROM t2
   WHERE (e2=720 AND 676=c2 AND 987=a2 AND b2=818)

query T valuesort
  SELECT a2 FROM t2
   WHERE b2 in (329,674,509)
      OR (a2=916 AND d2=86)
UNION ALL
  SELECT b7 FROM t7
   WHERE (860=e7 AND 306=d7 AND c7=508)
      OR a7 in (22,158,950,267,699,9,208)
UNION
  SELECT c5 FROM t5
   WHERE (921=a5 OR 104=e5 OR a5=958)
      OR c5 in (978,855,130,348,729,923,599,934,689,210,544,196,551,668)
UNION
  SELECT a6 FROM t6
   WHERE (d6=729 OR a6=568)
      OR b6 in (716,230,629,583,905,232,781,92,392,993,601,54,662,882)
      OR (929=d6 AND 77=e6 AND a6=129 AND b6=350)
EXCEPT
  SELECT a1 FROM t1
   WHERE NOT ((b1=346 AND 89=e1 AND a1=674)
           OR d1 in (655,619,798,232,298,492,418,519))
UNION ALL
  SELECT c8 FROM t8
   WHERE (a8=586 AND 141=d8 AND e8=874 AND 769=b8 AND 907=c8)

query T valuesort
  SELECT a5 FROM t5
   WHERE (e5=154 OR 771=b5 OR 971=b5)
      OR (c5=147)
      OR e5 in (729,470,686,34,592,390,154,441,22)
UNION ALL
  SELECT a6 FROM t6
   WHERE (e6=274 OR d6=734)
UNION ALL
  SELECT a1 FROM t1
   WHERE (b1=226 AND a1=179 AND 154=d1 AND 246=c1 AND 148=e1)
      OR (154=d1)
      OR (569=b1 OR e1=110 OR b1=303)
UNION
  SELECT e9 FROM t9
   WHERE b9 in (868,289,66,122,2,410,891,245,348,227,142,214,703,819)
EXCEPT
  SELECT a3 FROM t3
   WHERE NOT ((b3=927 OR d3=522)
           OR (d3=913 AND 190=a3 AND 375=e3))
EXCEPT
  SELECT d7 FROM t7
   WHERE NOT (c7 in (981,206,419,813,376,807))
UNION ALL
  SELECT a4 FROM t4
   WHERE d4 in (877,268,317,409)
      OR (237=e4 AND 16=a4 AND 628=d4)
EXCEPT
  SELECT d2 FROM t2
   WHERE NOT ((73=e2 OR 414=d2))
EXCEPT
  SELECT e8 FROM t8
   WHERE NOT (a8 in (72,795,210)
           OR (375=c8 AND 472=a8 AND e8=349))

query T valuesort
  SELECT d9 FROM t9
   WHERE (c9=110 OR 646=d9)
UNION ALL
  SELECT a4 FROM t4
   WHERE (491=d4 AND e4=12)
      OR a4 in (952,469,509,845,159,723,621,990)
EXCEPT
  SELECT d6 FROM t6
   WHERE NOT ((d6=613 OR b6=880)
           OR a6 in (829,672,825,811,683,474,355)
           OR (731=a6 OR b6=850))

query T valuesort
  SELECT d1 FROM t1
   WHERE (731=e1)
INTERSECT
  SELECT b4 FROM t4
   WHERE NOT ((e4=29 AND 35=b4))
EXCEPT
  SELECT c5 FROM t5
   WHERE NOT (a5 in (447,637,297,878,341,311,960,362,921,740,867,429,800)
           OR a5 in (270,976,904,878,330,476,335,757,821,447,50,180,818,153)
           OR c5 in (140,155,149,3,545,579,657,978,86,855,485))
UNION
  SELECT a9 FROM t9
   WHERE b9 in (152,74,136,891,19,149,759,15)

query T valuesort
  SELECT d7 FROM t7
   WHERE c7 in (174,931,575,441,843,249,857,305,770,260)
UNION
  SELECT b3 FROM t3
   WHERE (e3=814 AND 336=d3 AND 966=c3)
EXCEPT
  SELECT c9 FROM t9
   WHERE NOT (a9 in (841,847,218,875,240,14,662,215)
           OR e9 in (672,621,486,799))
EXCEPT
  SELECT b6 FROM t6
   WHERE NOT ((a6=128 AND 588=e6 AND c6=480 AND 186=d6 AND 461=b6)
           OR c6 in (648,942,45,84))
EXCEPT
  SELECT c8 FROM t8
   WHERE NOT (b8 in (992,184,182,906,702,523,155,975,155,228)
           OR c8 in (354,266,77)
           OR (a8=347))
UNION
  SELECT e2 FROM t2
   WHERE a2 in (505,588,123,785,725,779)
EXCEPT
  SELECT a4 FROM t4
   WHERE NOT (c4 in (357,513,271,238))

query T valuesort
  SELECT b5 FROM t5
   WHERE (c5=978 AND d5=280 AND e5=655 AND 597=a5 AND 389=b5)
UNION
  SELECT b8 FROM t8
   WHERE d8 in (466,711,48,623,945,883,141,523,706)
      OR d8 in (950,610,876,192,511,883,849,711,675)
      OR (484=d8 AND e8=682 AND a8=894 AND 93=c8 AND b8=952)
UNION ALL
  SELECT e1 FROM t1
   WHERE (380=a1 AND b1=255 AND d1=990 AND 667=e1 AND 36=c1)
EXCEPT
  SELECT a4 FROM t4
   WHERE NOT (e4 in (48,854,349,151,223,390,350)
           OR (228=a4 OR 627=b4 OR 860=c4))
UNION ALL
  SELECT c9 FROM t9
   WHERE (335=e9)
      OR (c9=457 AND d9=463 AND a9=273 AND e9=146)
      OR d9 in (86,818,383,525,759,305,602)
EXCEPT
  SELECT d7 FROM t7
   WHERE NOT ((524=d7)
           OR (d7=296 OR 715=a7 OR 702=d7)
           OR (d7=886 AND a7=31 AND 590=e7))
EXCEPT
  SELECT d3 FROM t3
   WHERE NOT ((a3=353 AND 853=e3 AND 845=c3))
UNION
  SELECT c2 FROM t2
   WHERE d2 in (404,654,887,897,351,643,682,198,398,158,498,225,753)
      OR (838=d2 OR 729=b2 OR 725=b2)
      OR (90=b2)

query T valuesort
  SELECT d6 FROM t6
   WHERE (b6=507 AND 821=a6 AND 751=c6 AND d6=35 AND 257=e6)
      OR e6 in (634,241,847,431,972)
EXCEPT
  SELECT b5 FROM t5
   WHERE NOT ((640=e5 AND b5=971 AND d5=263 AND 522=a5)
           OR a5 in (544,342,615,522,311,626,319,99,235,335)
           OR d5 in (343,24,495,132,779,919,792,269,616,811))
UNION
  SELECT a7 FROM t7
   WHERE (131=d7 OR b7=105 OR d7=673)
      OR (c7=344 AND 456=e7)
UNION ALL
  SELECT a8 FROM t8
   WHERE (a8=841 OR a8=129)
      OR (254=a8 AND 48=d8)
      OR (900=a8 AND b8=690)
UNION
  SELECT c2 FROM t2
   WHERE e2 in (940,339,433,463,572,411,213,56,131,698,965)
      OR b2 in (504,681,714,966,292,90,38,285,8,509,297,414,414,676)
EXCEPT
  SELECT e1 FROM t1
   WHERE NOT ((b1=179))
UNION
  SELECT c9 FROM t9
   WHERE (938=d9 OR d9=145 OR b9=827)
      OR (b9=326)
UNION ALL
  SELECT c4 FROM t4
   WHERE e4 in (879,438,37,760,217,217,835,307,38,132,63)
      OR (c4=521)

query T valuesort
  SELECT e7 FROM t7
   WHERE a7 in (134,795,806)
      OR e7 in (122,89,27,319,988,782,506,553,860,827,793,67,689)
UNION ALL
  SELECT d6 FROM t6
   WHERE (513=c6 AND 613=d6 AND 880=b6 AND a6=436 AND 24=e6)
      OR (e6=646 OR c6=963)
EXCEPT
  SELECT c8 FROM t8
   WHERE NOT ((442=e8)
           OR e8 in (440,186,329,105,41,180)
           OR (608=d8 AND 678=e8 AND 965=c8))
UNION ALL
  SELECT c1 FROM t1
   WHERE a1 in (821,382,438,779,810,963,241,607)
      OR d1 in (863,297,581,323,310,679,335,799,86)
UNION ALL
  SELECT e2 FROM t2
   WHERE (887=c2 OR 268=a2)
      OR (857=b2 AND e2=564 AND 103=c2 AND 838=d2 AND 725=a2)
EXCEPT
  SELECT c4 FROM t4
   WHERE NOT ((532=b4 AND 606=a4))
EXCEPT
  SELECT c3 FROM t3
   WHERE NOT ((e3=466 OR 271=e3 OR 170=d3)
           OR (d3=220 OR 220=c3 OR 492=c3))
EXCEPT
  SELECT a9 FROM t9
   WHERE NOT ((111=d9 AND 575=c9))

query T valuesort
  SELECT e9 FROM t9
   WHERE (a9=824)
      OR c9 in (834,332,579,857,809)
EXCEPT
  SELECT c6 FROM t6
   WHERE NOT (a6 in (643,85,787,104,971,540,45,672,811,222))
EXCEPT
  SELECT a5 FROM t5
   WHERE NOT (d5 in (782,570,910,171,369,313)
           OR (667=a5 OR 733=c5))
UNION ALL
  SELECT d2 FROM t2
   WHERE (e2=463 AND b2=264 AND d2=405 AND c2=312 AND a2=901)
      OR (455=a2 AND 556=e2)
UNION ALL
  SELECT b1 FROM t1
   WHERE (a1=742 AND b1=836 AND 506=c1)
UNION
  SELECT d7 FROM t7
   WHERE (e7=156)
      OR (b7=827 AND a7=936 AND 196=d7)
      OR (758=a7 AND d7=172)
EXCEPT
  SELECT e4 FROM t4
   WHERE NOT ((a4=281 AND 549=d4 AND c4=752))
EXCEPT
  SELECT d3 FROM t3
   WHERE NOT ((c3=127))

query T valuesort
  SELECT b7 FROM t7
   WHERE b7 in (896,30,396,921,426,266,973,867,670,804,220,832)
UNION
  SELECT c9 FROM t9
   WHERE (e9=477 AND 125=b9 AND d9=316 AND c9=894)
      OR (a9=318)
EXCEPT
  SELECT d2 FROM t2
   WHERE NOT ((605=b2 AND 781=e2 AND c2=878))
EXCEPT
  SELECT a5 FROM t5
   WHERE NOT (c5 in (441,149,155,140,934,249,544,250,351,443,545,856,599,56)
           OR (b5=657))
EXCEPT
  SELECT d1 FROM t1
   WHERE NOT ((a1=967)
           OR (828=d1))
EXCEPT
  SELECT a3 FROM t3
   WHERE NOT (c3 in (7,317,885,733,102,641,524,701,645,647,83,339)
           OR (e3=981 OR a3=559 OR a3=696)
           OR (641=d3))

query T valuesort
  SELECT c9 FROM t9
   WHERE (e9=657 OR 834=c9 OR 19=e9)
      OR (764=c9 AND a9=389)
UNION
  SELECT e2 FROM t2
   WHERE (b2=217 AND a2=217)
EXCEPT
  SELECT a6 FROM t6
   WHERE NOT (d6 in (35,807,729,901,473))
UNION
  SELECT e5 FROM t5
   WHERE (689=c5 AND e5=141 AND 606=b5 AND d5=59 AND a5=270)

query T valuesort
  SELECT b9 FROM t9
   WHERE b9 in (171,893,13,578)
UNION
  SELECT b3 FROM t3
   WHERE d3 in (375,896,650,647,641,809,115,81,425)
EXCEPT
  SELECT a1 FROM t1
   WHERE NOT ((375=c1 OR b1=620)
           OR (e1=221 AND c1=481 AND d1=75 AND 477=a1 AND b1=896))
EXCEPT
  SELECT c8 FROM t8
   WHERE NOT ((a8=561)
           OR b8 in (300,673,7))
EXCEPT
  SELECT b6 FROM t6
   WHERE NOT (b6 in (63,210,350)
           OR (b6=461 OR d6=469))
EXCEPT
  SELECT b5 FROM t5
   WHERE NOT ((e5=343 OR 585=c5)
           OR b5 in (874,26,526))
EXCEPT
  SELECT d4 FROM t4
   WHERE NOT ((e4=543))
EXCEPT
  SELECT b2 FROM t2
   WHERE NOT ((b2=90 OR d2=772)
           OR a2 in (254,266,651,733,508))

query T valuesort
  SELECT a5 FROM t5
   WHERE (a5=667 AND e5=232 AND c5=797 AND 495=d5)
      OR (e5=764 OR c5=634 OR 522=a5)
UNION
  SELECT a8 FROM t8
   WHERE c8 in (230,647,250,907,298)
      OR (d8=769)
      OR a8 in (650,728,210,328,794)
UNION ALL
  SELECT c9 FROM t9
   WHERE (982=a9 OR e9=575)
      OR (c9=253 OR 803=a9 OR 804=b9)
UNION
  SELECT e3 FROM t3
   WHERE (38=d3)
      OR (724=e3 AND 495=d3 AND 513=a3)
EXCEPT
  SELECT a6 FROM t6
   WHERE NOT (e6 in (439,329,707,969,74))
UNION ALL
  SELECT e4 FROM t4
   WHERE (e4=760 OR 996=c4 OR 948=c4)

query T valuesort
  SELECT d3 FROM t3
   WHERE a3 in (265,499,777)
      OR (c3=887 AND 333=e3 AND 584=b3)
INTERSECT
  SELECT b6 FROM t6
   WHERE NOT ((d6=337)
           OR (511=e6 AND 560=d6 AND 637=c6))
UNION
  SELECT a2 FROM t2
   WHERE (902=c2 OR 476=d2)
      OR (455=a2 AND b2=681)
      OR (543=b2 OR a2=35 OR a2=916)

query T valuesort
  SELECT d7 FROM t7
   WHERE b7 in (670,480,396,234,562,495,855,693,166,979,409,804)
      OR (d7=105)
      OR (549=d7 AND c7=103 AND 973=b7 AND a7=6 AND 971=e7)
UNION ALL
  SELECT c4 FROM t4
   WHERE (223=e4 AND a4=901 AND c4=74)
      OR a4 in (473,793,74,629,261,625,605,234,596,29,845,651,997)
      OR (e4=739)
EXCEPT
  SELECT a6 FROM t6
   WHERE NOT ((710=b6))

query T valuesort
  SELECT b2 FROM t2
   WHERE (e2=783)
      OR b2 in (640,228,811)
UNION
  SELECT d5 FROM t5
   WHERE (520=d5 OR 206=e5)
EXCEPT
  SELECT b1 FROM t1
   WHERE NOT (e1 in (430,558,795,815,616,125,497,158)
           OR d1 in (297,492,828,25,807,221,175,581,349,806,4,154)
           OR (863=d1 AND b1=914))
EXCEPT
  SELECT a3 FROM t3
   WHERE NOT ((d3=615 AND 198=b3 AND 615=a3)
           OR (b3=224 AND e3=813))
EXCEPT
  SELECT d7 FROM t7
   WHERE NOT ((a7=130 OR e7=663)
           OR (d7=996 AND 27=e7)
           OR c7 in (857,948,498,682,648,102))
UNION ALL
  SELECT e6 FROM t6
   WHERE (e6=523)
      OR (b6=905 OR 707=e6)

query T valuesort
  SELECT e5 FROM t5
   WHERE c5 in (747,44,820,72,934,734,299,733,601,723,625,210,384,855)
EXCEPT
  SELECT d8 FROM t8
   WHERE NOT ((275=c8)
           OR (472=a8 OR 474=d8))
UNION ALL
  SELECT e2 FROM t2
   WHERE a2 in (691,1,222,35,805,10)
UNION
  SELECT e4 FROM t4
   WHERE c4 in (971,703,366,273,0,794,586,660,238)
      OR b4 in (627,860,139,635,901)
      OR (c4=424 OR 954=e4 OR 442=a4)
UNION
  SELECT a9 FROM t9
   WHERE b9 in (426,50,122,128,423,803,236,15,19,142,251,211,821,759)
      OR d9 in (235,744,602,305,525,55,662,332,790)
UNION
  SELECT d1 FROM t1
   WHERE (17=d1 AND 393=c1 AND 944=b1 AND 997=e1 AND a1=498)
      OR e1 in (667,255,87)

query T valuesort
  SELECT c4 FROM t4
   WHERE (b4=888 OR 844=d4 OR 422=c4)
      OR (e4=565 OR d4=889)
      OR e4 in (307,185,290,405)
EXCEPT
  SELECT b1 FROM t1
   WHERE NOT ((b1=523 AND 458=c1 AND 816=e1 AND 352=a1)
           OR (748=e1))
EXCEPT
  SELECT c5 FROM t5
   WHERE NOT ((991=d5 OR 526=b5)
           OR (390=e5 OR 716=b5 OR 118=d5)
           OR c5 in (681,668,657,721,989,934,894,628,86,797,941))
UNION
  SELECT c2 FROM t2
   WHERE (a2=508 AND d2=723 AND 444=c2 AND b2=170 AND e2=965)
      OR (476=d2 OR 275=c2)
      OR (d2=19)
UNION ALL
  SELECT a6 FROM t6
   WHERE a6 in (861,129,718,585,811,818,839)
      OR c6 in (992,65,454,416,11,413,637,480,45,528,528,411,749)
UNION
  SELECT c7 FROM t7
   WHERE e7 in (499,827,887,638,302,782,816,929,408,356,595,904)
      OR c7 in (482,795,302,934)
      OR (841=b7 AND 970=e7)
EXCEPT
  SELECT b9 FROM t9
   WHERE NOT ((a9=240 AND 232=c9 AND b9=688 AND 418=e9)
           OR (c9=253 AND e9=647 AND 808=d9)
           OR d9 in (720,95,345,258,808,235,164,270,628,283,597,23,463,601))
UNION
  SELECT c8 FROM t8
   WHERE (186=b8 AND 826=a8)
      OR (513=c8 AND 628=a8)
      OR (106=e8 AND a8=72 AND d8=805 AND c8=668 AND b8=359)

query T valuesort
  SELECT d8 FROM t8
   WHERE (841=a8 OR 696=b8)
EXCEPT
  SELECT e9 FROM t9
   WHERE NOT ((391=c9 AND e9=19 AND 751=b9 AND 347=d9 AND a9=919)
           OR (463=d9)
           OR e9 in (737,82,251))
EXCEPT
  SELECT c2 FROM t2
   WHERE NOT ((e2=945 OR e2=16)
           OR e2 in (428,162,242,707,147,720,37,564,322,307,923,118,123)
           OR (b2=275 AND 773=a2 AND 806=c2 AND d2=977 AND e2=852))

query T valuesort
  SELECT b6 FROM t6
   WHERE (337=d6)
      OR c6 in (572,620,832,673,287,430,292,543)
INTERSECT
  SELECT b3 FROM t3
   WHERE NOT (c3 in (84,555,77,651,317)
           OR c3 in (542,688,53,247,887))
UNION
  SELECT a8 FROM t8
   WHERE (474=a8 AND e8=392 AND 9=b8 AND d8=291 AND c8=501)
      OR (b8=725)
EXCEPT
  SELECT a7 FROM t7
   WHERE NOT ((d7=391 OR e7=503 OR a7=684))
UNION
  SELECT d1 FROM t1
   WHERE e1 in (87,880,695,558,11)
      OR (b1=639 AND d1=130 AND e1=962 AND 988=a1)
      OR e1 in (997,355,522,904,56,748,117,539,463,171,139,731,667)
EXCEPT
  SELECT b4 FROM t4
   WHERE NOT ((b4=941 AND e4=977 AND 922=a4 AND 18=d4 AND 84=c4)
           OR d4 in (60,574,303,568,25,583)
           OR (b4=372 OR 358=e4 OR b4=498))
UNION ALL
  SELECT d2 FROM t2
   WHERE (c2=676 AND 720=e2)
      OR d2 in (209,177,334,743,8,365,398,643,60,931,404,284,153)

query T valuesort
  SELECT b8 FROM t8
   WHERE (e8=423)
UNION ALL
  SELECT e6 FROM t6
   WHERE (417=e6)
      OR (214=b6 OR b6=905)

query T valuesort
  SELECT e5 FROM t5
   WHERE c5 in (824,147,923)
      OR (749=e5 OR d5=810)
      OR a5 in (721,445,544,960,513,921)
UNION ALL
  SELECT e8 FROM t8
   WHERE e8 in (617,260,776,442,620,44,981,204,512,635,947,678,846)
      OR (b8=366 OR 205=b8 OR 769=b8)
EXCEPT
  SELECT b4 FROM t4
   WHERE NOT ((606=b4 OR 674=c4 OR 996=c4)
           OR (c4=119))
EXCEPT
  SELECT d1 FROM t1
   WHERE NOT (d1 in (990,939,820,577,837,716,913))
EXCEPT
  SELECT a2 FROM t2
   WHERE NOT (a2 in (471,442,445,574,652,93))
UNION ALL
  SELECT d3 FROM t3
   WHERE b3 in (686,392,595,811,542)
UNION
  SELECT d7 FROM t7
   WHERE (22=a7 OR c7=764)
EXCEPT
  SELECT b9 FROM t9
   WHERE NOT ((b9=348 OR c9=224)
           OR (b9=746 OR b9=171 OR b9=122))

query T valuesort
  SELECT d2 FROM t2
   WHERE e2 in (812,981,659,654,125,621,463,815,629,841)
      OR a2 in (718,898,680)
      OR a2 in (853,916,76)
EXCEPT
  SELECT e5 FROM t5
   WHERE NOT ((c5=856))
UNION
  SELECT d6 FROM t6
   WHERE (495=e6)
UNION
  SELECT e1 FROM t1
   WHERE (12=c1 OR e1=646 OR d1=770)
EXCEPT
  SELECT d8 FROM t8
   WHERE NOT (c8 in (720,599,693,377,275,321,541,354,899))
UNION
  SELECT a3 FROM t3
   WHERE d3 in (164,17,354,444,102,363,368,480,645,607,437,850,650,231)
      OR a3 in (265,952,244,576,386,275,763,720,899,379,995,710)
      OR a3 in (184,566,559,353,34,376,478,710,899,743,965,818,644,763)

query T valuesort
  SELECT d4 FROM t4
   WHERE (d4=597)
      OR (e4=372)
UNION
  SELECT c7 FROM t7
   WHERE (c7=564 OR 154=e7)
      OR e7 in (816,428,103,31,254,280,503,552,408,976,183,826)
UNION ALL
  SELECT b9 FROM t9
   WHERE (750=e9 AND 152=b9 AND 457=a9)
      OR (127=e9 AND a9=148 AND 891=b9 AND c9=975)
UNION ALL
  SELECT d6 FROM t6
   WHERE (d6=161 OR a6=540)
      OR (211=e6 AND a6=2 AND c6=12)
      OR (b6=604 OR 493=d6 OR a6=2)

query T valuesort
  SELECT b6 FROM t6
   WHERE (c6=673 AND 91=e6)
      OR a6 in (469,731,811,33,392,255,384,966,64,474)
      OR d6 in (424,277,36,376,197,956,974,366,2,66,778,711,488,223)
EXCEPT
  SELECT a4 FROM t4
   WHERE NOT (a4 in (598,422,248,558,447,223,16,337,950,234))
UNION ALL
  SELECT c1 FROM t1
   WHERE (695=e1 AND 955=d1 AND b1=266)
      OR e1 in (247,254,558,228,51,463,436,615,646,402)
      OR (b1=355 AND d1=274 AND a1=810 AND c1=805)
EXCEPT
  SELECT a2 FROM t2
   WHERE NOT ((e2=820 OR 873=d2)
           OR (c2=360 OR 790=d2 OR 820=b2))
EXCEPT
  SELECT b5 FROM t5
   WHERE NOT ((c5=86 OR 98=e5 OR b5=511)
           OR (878=a5 AND e5=437 AND 774=b5)
           OR (c5=756 AND 269=d5))
EXCEPT
  SELECT b3 FROM t3
   WHERE NOT ((944=d3))
UNION ALL
  SELECT c7 FROM t7
   WHERE (c7=41 OR 257=c7 OR 981=c7)

query T valuesort
  SELECT d6 FROM t6
   WHERE b6 in (490,351,512,390,348,267,583,350,281,882)
UNION
  SELECT c7 FROM t7
   WHERE (a7=439 AND 360=b7 AND c7=948 AND 801=d7 AND 462=e7)
      OR (435=c7 AND e7=988 AND 442=d7)
UNION ALL
  SELECT e3 FROM t3
   WHERE (890=c3)
      OR c3 in (565,244,326,549,777,272,823,459,898,265,368)
UNION
  SELECT c4 FROM t4
   WHERE (d4=968 AND 678=b4 AND e4=63 AND 948=c4)
EXCEPT
  SELECT a1 FROM t1
   WHERE NOT (a1 in (433,222,981,498,702,499,195,382,213,52))
EXCEPT
  SELECT c9 FROM t9
   WHERE NOT (a9 in (474,535,879,215,17,891,297,712))
EXCEPT
  SELECT b2 FROM t2
   WHERE NOT ((c2=244)
           OR c2 in (61,758,900,869,202,290,87,688,793,372,127,148,275))
UNION ALL
  SELECT b8 FROM t8
   WHERE (486=c8 AND 381=e8)
      OR (287=b8 AND 638=a8)
      OR (b8=487 AND 610=d8 AND a8=359 AND e8=242)

query T valuesort
  SELECT e6 FROM t6
   WHERE b6 in (507,229,967,421,716,989,92,974,512,834,511)
      OR (6=b6 OR 296=b6)
UNION ALL
  SELECT a1 FROM t1
   WHERE (787=c1 AND 406=a1 AND 955=d1 AND b1=266 AND e1=695)
      OR b1 in (896,75,346,570,48,26,462,414,447,5,620,211,132,523)
      OR (62=c1 AND 747=e1)
EXCEPT
  SELECT c8 FROM t8
   WHERE NOT ((c8=154 OR 352=b8 OR c8=375)
           OR (693=c8))
UNION
  SELECT d7 FROM t7
   WHERE (e7=462 OR 979=b7)
      OR (583=b7 AND a7=324)
      OR c7 in (691,257,853,12,672,523,142,397,341,857,954,280,103)
EXCEPT
  SELECT b3 FROM t3
   WHERE NOT ((913=d3 AND 57=b3 AND 375=e3))
EXCEPT
  SELECT e4 FROM t4
   WHERE NOT (e4 in (37,438,1,296,163,372,554,141)
           OR (469=b4 OR b4=551))
EXCEPT
  SELECT c5 FROM t5
   WHERE NOT ((b5=33)
           OR (d5=965 AND 678=c5))

query T valuesort
  SELECT d8 FROM t8
   WHERE (d8=630 OR b8=665)
      OR b8 in (690,461,806,487,386,9,889,466,352,796,563,704,313,98)
      OR e8 in (495,149,578,421,204,646,203,488,947,233)
UNION
  SELECT d3 FROM t3
   WHERE (d3=683)
      OR (220=d3 AND 368=a3)
      OR (e3=310 AND 226=b3)
EXCEPT
  SELECT c7 FROM t7
   WHERE NOT (b7 in (973,655,679,660,257,841)
           OR (c7=341 OR 750=b7 OR c7=729)
           OR (635=c7 AND 879=a7))
UNION ALL
  SELECT a6 FROM t6
   WHERE d6 in (822,2,869,147)
      OR b6 in (967,601,882,696,650,230)
      OR d6 in (446,35,457)
EXCEPT
  SELECT a4 FROM t4
   WHERE NOT ((763=e4 AND a4=31 AND 938=b4 AND 943=d4 AND 299=c4)
           OR (e4=35 OR e4=179 OR 948=c4)
           OR (237=e4))

query T valuesort
  SELECT c5 FROM t5
   WHERE (12=c5 OR 708=e5)
UNION
  SELECT e2 FROM t2
   WHERE b2 in (706,938,903,489,818,351,170,592,220,966,329)
      OR (e2=572 AND 266=a2)
      OR (282=c2 OR d2=241)
EXCEPT
  SELECT a1 FROM t1
   WHERE NOT (c1 in (523,57,776,736,3,915,88))

query T valuesort
  SELECT d9 FROM t9
   WHERE e9 in (704,965,251,672,477,477,161,788,301,968,936)
      OR (c9=751 AND a9=378)
UNION
  SELECT e1 FROM t1
   WHERE (654=d1)
UNION ALL
  SELECT b5 FROM t5
   WHERE (362=a5)
EXCEPT
  SELECT c2 FROM t2
   WHERE NOT (c2 in (967,24,933,233,244,653,46,996))

query T valuesort
  SELECT b7 FROM t7
   WHERE (b7=360 AND 439=a7 AND c7=948)
      OR b7 in (495,514,221,321,861,506,360,280,488,660,83)
EXCEPT
  SELECT c1 FROM t1
   WHERE NOT ((e1=683))
EXCEPT
  SELECT a2 FROM t2
   WHERE NOT ((a2=898 AND 501=b2))
EXCEPT
  SELECT b9 FROM t9
   WHERE NOT (a9 in (685,69,215,251,269)
           OR a9 in (959,830,56,964,295,776,335,297,458,413,847))
EXCEPT
  SELECT d4 FROM t4
   WHERE NOT ((919=a4)
           OR b4 in (331,137,469,94,294,892))

query T valuesort
  SELECT a2 FROM t2
   WHERE (c2=161 OR e2=302 OR 223=e2)
      OR b2 in (292,357,170,966,279,21,509,433)
      OR (925=c2 OR d2=86)
UNION
  SELECT c7 FROM t7
   WHERE (144=e7 OR c7=548 OR c7=38)
      OR (e7=122 AND c7=498 AND a7=691 AND 409=b7 AND d7=114)
      OR (e7=561 AND 660=b7 AND c7=709 AND 781=d7 AND 62=a7)

query T valuesort
  SELECT c2 FROM t2
   WHERE a2 in (966,779,279,10,718,691)
      OR (c2=87)
      OR (e2=720 AND d2=362)
UNION ALL
  SELECT d1 FROM t1
   WHERE (e1=696 AND 23=a1 AND d1=88 AND 426=b1)
EXCEPT
  SELECT d6 FROM t6
   WHERE NOT ((411=c6 OR 811=a6)
           OR a6 in (604,696,829,414,653,251,173,585)
           OR d6 in (822,807,924,393,34))
UNION
  SELECT e3 FROM t3
   WHERE (615=a3 AND 198=b3 AND c3=961 AND 87=e3)
      OR d3 in (423,364,270,764,81,984,554,95)
EXCEPT
  SELECT b8 FROM t8
   WHERE NOT ((961=c8 AND b8=145 AND a8=359 AND e8=233)
           OR (510=e8 OR a8=200 OR c8=648)
           OR a8 in (651,400,504,822,638,453,597,341,312,841,807,200))
EXCEPT
  SELECT e4 FROM t4
   WHERE NOT ((a4=558 OR 450=a4)
           OR (879=e4 AND 901=b4 AND d4=260 AND 585=c4)
           OR a4 in (921,948,271,662))

query T valuesort
  SELECT b7 FROM t7
   WHERE (b7=129)
UNION ALL
  SELECT e1 FROM t1
   WHERE d1 in (662,529,75,349,571,947,427,717,381,618)
      OR (c1=570 OR e1=731)
      OR (161=a1 OR a1=521 OR c1=537)
UNION ALL
  SELECT b2 FROM t2
   WHERE d2 in (873,334,833,416,158,892)
EXCEPT
  SELECT c3 FROM t3
   WHERE NOT ((360=c3 AND 534=b3)
           OR (720=b3)
           OR a3 in (145,383,186))

query T valuesort
  SELECT d1 FROM t1
   WHERE (e1=288 OR 733=e1)
UNION
  SELECT d3 FROM t3
   WHERE (a3=644 AND d3=482 AND b3=740 AND 395=c3)
UNION
  SELECT d8 FROM t8
   WHERE b8 in (487,609,300,792,366,677)
      OR b8 in (52,370,870,958,259,665,182,696)
EXCEPT
  SELECT e2 FROM t2
   WHERE NOT (e2 in (781,815,386,217,753,512,706,381))
UNION ALL
  SELECT b5 FROM t5
   WHERE a5 in (89,675,369,301,319,586,335,270,826,976,5,55,544)
      OR a5 in (929,832,9,341,960,785,757,667,362,50,445,342)
EXCEPT
  SELECT a4 FROM t4
   WHERE NOT (e4 in (415,596,376,184,661,237,217,290,631,350,600,163))
UNION
  SELECT b9 FROM t9
   WHERE (a9=891 AND 90=c9 AND e9=150)
UNION
  SELECT b7 FROM t7
   WHERE d7 in (292,139,364,831,974,296,902,324)
      OR (344=e7 AND c7=419 AND 777=d7 AND a7=114)

query T valuesort
  SELECT c8 FROM t8
   WHERE d8 in (989,889,14,624,845,636,96,899,743,192)
      OR (624=b8 AND d8=667 AND 864=a8 AND 956=e8 AND c8=821)
      OR (160=c8 OR 965=c8 OR 70=a8)
UNION ALL
  SELECT d3 FROM t3
   WHERE (a3=699 AND 763=c3 AND d3=354 AND 27=b3)
UNION ALL
  SELECT a5 FROM t5
   WHERE e5 in (661,13,104,18,558,708,851,311,232,150)
      OR c5 in (140,734,844,668,147,12,924,756,130,299,348,422)
      OR e5 in (696,554,499)
EXCEPT
  SELECT e7 FROM t7
   WHERE NOT ((a7=806 AND d7=324 AND 596=c7 AND 693=b7))
EXCEPT
  SELECT b9 FROM t9
   WHERE NOT (a9 in (269,982,847,160,584))
UNION ALL
  SELECT c2 FROM t2
   WHERE (899=e2 OR 297=b2)
      OR (b2=784)
      OR (910=a2 AND 830=c2 AND e2=671 AND d2=547)
UNION ALL
  SELECT d4 FROM t4
   WHERE (b4=748 OR 929=d4)

query T valuesort
  SELECT b7 FROM t7
   WHERE e7 in (988,122,970,48,793,280,156,462,436,851,605,144,31,827)
EXCEPT
  SELECT e2 FROM t2
   WHERE NOT ((b2=932 AND 663=d2 AND c2=346))
UNION
  SELECT b3 FROM t3
   WHERE (236=b3)
EXCEPT
  SELECT d6 FROM t6
   WHERE NOT ((457=d6 AND c6=146 AND a6=62 AND 747=e6 AND 223=b6)
           OR (c6=513 AND d6=613 AND a6=436)
           OR (e6=24 OR c6=242 OR e6=67))
UNION
  SELECT a9 FROM t9
   WHERE (486=e9 AND 177=a9 AND 926=b9 AND d9=682 AND c9=531)
      OR e9 in (801,672,117,149,837,713,854,477,657,873,965,858,542)
UNION
  SELECT c8 FROM t8
   WHERE (341=a8 AND 878=b8 AND 533=e8 AND d8=715)
      OR (e8=608 OR 705=b8)
      OR a8 in (200,239,242)
EXCEPT
  SELECT d5 FROM t5
   WHERE NOT ((d5=255 OR 944=e5)
           OR (606=b5 OR d5=977))

query T valuesort
  SELECT a3 FROM t3
   WHERE (b3=340 OR 913=e3 OR c3=601)
      OR a3 in (818,959,75,729,376,743,135,788,615,499,836)
      OR (c3=777 OR 594=a3)
UNION
  SELECT e9 FROM t9
   WHERE (824=a9 OR a9=318)
      OR c9 in (327,171,739,587,547,526)
      OR d9 in (226,679,967,745,55,268,926,790,360,283,759,987,25,909)
UNION ALL
  SELECT c6 FROM t6
   WHERE (a6=182 AND 737=e6 AND 232=b6 AND c6=265 AND 473=d6)

query T valuesort
  SELECT b2 FROM t2
   WHERE (b2=897 OR e2=223 OR b2=820)
      OR (813=d2)
UNION ALL
  SELECT c9 FROM t9
   WHERE (b9=228 OR b9=858)
      OR d9 in (763,959,23,388,965,86,744,161,602,164)
      OR b9 in (5,789,595,26,348,496,285)
UNION
  SELECT e4 FROM t4
   WHERE (286=b4 AND 575=e4)
      OR (d4=498 AND 765=b4 AND a4=51 AND e4=350)
      OR (c4=860)
EXCEPT
  SELECT e3 FROM t3
   WHERE NOT (c3 in (792,265,516,490,122,600,845,299,220,127,83,452,986)
           OR (b3=113)
           OR (457=b3 AND a3=368 AND c3=175 AND e3=728 AND 220=d3))
UNION
  SELECT d7 FROM t7
   WHERE (e7=971 AND 973=b7)
      OR (b7=634 OR a7=442 OR a7=490)
EXCEPT
  SELECT e1 FROM t1
   WHERE NOT ((b1=432)
           OR e1 in (89,56,696))
EXCEPT
  SELECT b8 FROM t8
   WHERE NOT ((592=e8 AND 454=b8)
           OR (d8=610 AND 242=e8 AND 487=b8)
           OR (a8=150))

query T valuesort
  SELECT a8 FROM t8
   WHERE c8 in (231,250,693,501,117,394,225,935,691)
      OR c8 in (374,799,899,321,136,851,119)
UNION ALL
  SELECT c2 FROM t2
   WHERE (723=d2)
EXCEPT
  SELECT c1 FROM t1
   WHERE NOT ((b1=253 AND 523=c1 AND a1=147)
           OR (355=e1 AND 492=d1 AND 309=c1 AND a1=820 AND b1=242))
UNION ALL
  SELECT e6 FROM t6
   WHERE (a6=66 AND 123=c6 AND 734=d6 AND b6=449)
      OR b6 in (223,696,825,876,250,226)

query T valuesort
  SELECT a1 FROM t1
   WHERE c1 in (871,393,346,136,966,230)
UNION ALL
  SELECT d2 FROM t2
   WHERE (b2=968 AND d2=10 AND 61=c2 AND e2=696)

query T valuesort
  SELECT a6 FROM t6
   WHERE (696=a6)
UNION
  SELECT a8 FROM t8
   WHERE (c8=513 AND b8=493)
EXCEPT
  SELECT c9 FROM t9
   WHERE NOT (a9 in (463,326,72,553,747,378,416,349,149,104,56,875)
           OR (e9=954))

query T valuesort
  SELECT b4 FROM t4
   WHERE (29=e4 OR 719=e4)
      OR (220=b4 OR b4=357)
      OR (894=a4 OR 486=e4 OR 708=a4)
UNION
  SELECT c6 FROM t6
   WHERE (b6=565 AND e6=91)
      OR (a6=293 AND 237=e6 AND 367=d6)
      OR (963=a6 OR a6=85 OR 269=d6)
EXCEPT
  SELECT c2 FROM t2
   WHERE NOT ((b2=897))
UNION
  SELECT d1 FROM t1
   WHERE (67=c1 AND 483=e1 AND 414=b1 AND d1=992 AND a1=382)
      OR c1 in (870,57,537,683,3,787,774)

query T valuesort
  SELECT c8 FROM t8
   WHERE a8 in (359,72,920,250,653,129,563,795,597,637,47,838,822)
      OR b8 in (487,34,459,704)
      OR (736=e8 AND a8=672 AND d8=580)
EXCEPT
  SELECT b9 FROM t9
   WHERE NOT ((146=c9 OR d9=332 OR 227=b9)
           OR a9 in (739,318,69,905,706,78,56,964,149,776,263,824,662,326)
           OR (c9=351 OR a9=172))
UNION
  SELECT c7 FROM t7
   WHERE (a7=89)
      OR (285=a7 OR 979=e7)
EXCEPT
  SELECT c2 FROM t2
   WHERE NOT ((574=a2 OR b2=181))

query T valuesort
  SELECT e9 FROM t9
   WHERE e9 in (936,477,486,368,704,575,264,251,619)
      OR d9 in (147,554,686,332)
INTERSECT
  SELECT e7 FROM t7
   WHERE NOT ((594=d7 AND 174=c7 AND 764=b7 AND 288=e7 AND 35=a7))
UNION ALL
  SELECT b5 FROM t5
   WHERE a5 in (976,597,342)
      OR (b5=98)
      OR c5 in (140,924,86,941,634,756,422,601,527,809,351)
UNION
  SELECT d1 FROM t1
   WHERE (e1=534 AND 4=d1 AND 637=c1 AND 847=a1 AND b1=572)
      OR d1 in (0,492,654,349,88,335,942,4,820,213)
      OR (c1=880 OR 277=d1 OR b1=60)
EXCEPT
  SELECT d6 FROM t6
   WHERE NOT (a6 in (251,811,222,672,46,696,40))
EXCEPT
  SELECT a4 FROM t4
   WHERE NOT ((a4=778 AND d4=317 AND b4=587 AND c4=393 AND e4=290)
           OR (763=e4 AND b4=938 AND a4=31)
           OR (d4=328 AND 747=a4 AND b4=849 AND e4=778 AND c4=728))
EXCEPT
  SELECT a3 FROM t3
   WHERE NOT ((713=b3 OR e3=192 OR 890=c3)
           OR c3 in (178,580,80,986,455,272,492,947,244,844,651,317,961)
           OR b3 in (761,214,57,914,932,651,577))

query T valuesort
  SELECT b1 FROM t1
   WHERE (d1=662 OR 876=c1)
      OR (746=a1)
INTERSECT
  SELECT c3 FROM t3
   WHERE NOT (c3 in (986,467,40,265,800,733,607,701,697,86)
           OR (344=a3 OR e3=774 OR 149=d3))
EXCEPT
  SELECT b6 FROM t6
   WHERE NOT ((d6=453 AND b6=850 AND 683=a6)
           OR (c6=416 AND 993=d6 AND 875=b6))
UNION ALL
  SELECT c5 FROM t5
   WHERE (180=e5 AND b5=234 AND d5=361)
      OR (c5=625 OR d5=479)
      OR d5 in (132,401,855,437,521,729,321,769,360,361,738,274,856,492)
UNION
  SELECT e8 FROM t8
   WHERE (c8=979 OR c8=377 OR c8=61)
      OR a8 in (72,504,453,952,99)
      OR b8 in (324,603,755,397,958,155,741,922,952)
UNION ALL
  SELECT c2 FROM t2
   WHERE b2 in (313,509,903,60,279,35,145,932,527)
      OR (c2=819 AND 415=a2)

query T valuesort
  SELECT e7 FROM t7
   WHERE (c7=729 OR e7=302)
      OR (c7=376 OR b7=832)
      OR (c7=691 AND 34=d7)
UNION ALL
  SELECT e1 FROM t1
   WHERE c1 in (379,246,284)
      OR b1 in (572,420,32,211,853)
      OR (b1=88 AND e1=90 AND 761=d1)
UNION ALL
  SELECT d4 FROM t4
   WHERE (319=b4 AND 984=c4 AND e4=792 AND d4=482)
      OR a4 in (629,919,474,223,107)
      OR (c4=936 OR a4=234)
UNION
  SELECT d5 FROM t5
   WHERE b5 in (159,998,230,782,559,306,82,771,321,847,703)
      OR d5 in (916,132,806)
EXCEPT
  SELECT d6 FROM t6
   WHERE NOT (d6 in (729,790,489,2)
           OR d6 in (192,993,366,172,578,73,929,974,852,2,473,778,846,467))
EXCEPT
  SELECT b2 FROM t2
   WHERE NOT ((a2=775 OR a2=1))

query T valuesort
  SELECT c3 FROM t3
   WHERE (837=e3 AND 737=d3)
UNION ALL
  SELECT c2 FROM t2
   WHERE (c2=967 AND d2=19 AND e2=118)
EXCEPT
  SELECT b5 FROM t5
   WHERE NOT ((c5=922 OR 479=d5 OR 446=e5)
           OR (d5=557 AND a5=921 AND 772=e5 AND 657=b5))
EXCEPT
  SELECT a9 FROM t9
   WHERE NOT ((a9=821 OR d9=790 OR d9=790)
           OR (665=d9 AND 687=c9 AND e9=804 AND a9=830)
           OR (e9=704 OR a9=841 OR 149=e9))
UNION
  SELECT b1 FROM t1
   WHERE (a1=382 OR e1=95)
      OR d1 in (459,973,212,254,691,294,376,412,232,798,163,492,748)
      OR (c1=690)
UNION ALL
  SELECT d6 FROM t6
   WHERE (549=b6 AND 446=d6 AND c6=35 AND e6=958 AND a6=751)

query T valuesort
  SELECT d7 FROM t7
   WHERE (323=b7 AND c7=589)
      OR e7 in (462,6,79,887,89,201,816,439)
UNION
  SELECT c4 FROM t4
   WHERE (749=c4 AND 608=b4 AND d4=706 AND 540=a4 AND 349=e4)
UNION ALL
  SELECT a2 FROM t2
   WHERE (c2=283 OR a2=297)
      OR b2 in (864,857,519,73,812,113)
EXCEPT
  SELECT e6 FROM t6
   WHERE NOT ((811=a6 AND 295=c6 AND 595=e6 AND b6=963 AND 60=d6))
UNION
  SELECT d3 FROM t3
   WHERE (a3=380 AND 890=c3)
      OR (122=b3)
UNION ALL
  SELECT e9 FROM t9
   WHERE e9 in (383,117,426,82,368,445)
      OR (943=e9 AND 269=b9 AND d9=274 AND c9=923)
      OR e9 in (383,788,149,542,567,61)

query T valuesort
  SELECT c6 FROM t6
   WHERE (c6=480 AND 186=d6 AND 128=a6 AND 588=e6)
      OR (768=c6 OR 85=a6 OR d6=561)
UNION ALL
  SELECT b7 FROM t7
   WHERE (827=e7 AND b7=979 AND 296=d7)
EXCEPT
  SELECT d3 FROM t3
   WHERE NOT (b3 in (790,534,701)
           OR (b3=685 AND 145=e3 AND 70=a3 AND c3=963 AND 1=d3)
           OR b3 in (811,710,790,73,505,178,665,566,882,382,860))
EXCEPT
  SELECT d5 FROM t5
   WHERE NOT ((565=d5))
UNION ALL
  SELECT c4 FROM t4
   WHERE (a4=74)
      OR (288=b4 OR 210=a4)
      OR (941=b4)

query T valuesort
  SELECT c4 FROM t4
   WHERE e4 in (236,184,543,835)
UNION ALL
  SELECT a8 FROM t8
   WHERE (c8=431)
      OR (312=a8 AND d8=738)
      OR (c8=117 OR 93=c8 OR d8=610)
EXCEPT
  SELECT a9 FROM t9
   WHERE NOT ((254=c9 AND 28=a9 AND b9=348 AND 195=e9 AND d9=959))
EXCEPT
  SELECT c6 FROM t6
   WHERE NOT ((376=d6 OR 271=d6))
EXCEPT
  SELECT e2 FROM t2
   WHERE NOT ((878=c2 AND 709=a2 AND e2=781)
           OR a2 in (186,691,987,327,445,588,80,769,980))
UNION ALL
  SELECT a1 FROM t1
   WHERE (418=d1 OR 130=d1)
      OR d1 in (215,519,154,349,172)
UNION ALL
  SELECT c7 FROM t7
   WHERE (781=c7 OR d7=575)
      OR (921=b7)
EXCEPT
  SELECT e3 FROM t3
   WHERE NOT ((b3=214 OR e3=914 OR a3=720))

query T valuesort
  SELECT c1 FROM t1
   WHERE (525=a1 AND c1=670)
      OR (574=d1 OR 255=b1)
INTERSECT
  SELECT c7 FROM t7
   WHERE NOT (e7 in (156,522,503,215,39,234,782))
UNION ALL
  SELECT c9 FROM t9
   WHERE (25=d9 OR 759=d9 OR c9=254)
      OR (245=b9 OR 226=d9 OR 297=a9)
UNION
  SELECT a2 FROM t2
   WHERE (d2=886 AND a2=785)
      OR (189=a2 OR 90=b2)
      OR (223=e2 OR 1=a2)
EXCEPT
  SELECT e4 FROM t4
   WHERE NOT ((554=e4 AND d4=574)
           OR (c4=585)
           OR (847=b4 AND 797=d4 AND 546=e4))

query T valuesort
  SELECT d8 FROM t8
   WHERE (283=c8 OR b8=253)
      OR (e8=272 OR 741=b8)
UNION
  SELECT e3 FROM t3
   WHERE (457=a3 AND b3=876)
EXCEPT
  SELECT e9 FROM t9
   WHERE NOT ((584=a9 OR 759=b9 OR 688=b9)
           OR (720=d9 AND 900=b9 AND e9=736))

query T valuesort
  SELECT d4 FROM t4
   WHERE (e4=480)
      OR e4 in (296,554,381,835,719,273,38)
UNION
  SELECT a1 FROM t1
   WHERE e1 in (56,855,468,96,72,683,158,763,298)
      OR b1 in (570,879,781,584,447,914,726)

query T valuesort
  SELECT b6 FROM t6
   WHERE (e6=175 OR 668=e6)
      OR (595=e6)
      OR (956=d6 AND e6=646)
UNION ALL
  SELECT a4 FROM t4
   WHERE e4 in (349,677,565)

query T valuesort
  SELECT c2 FROM t2
   WHERE e2 in (114,936,696)
      OR e2 in (524,682,945,788,294,445,548,411,955)
      OR a2 in (304,1,80,691,123,735,802,159,495,927)
UNION ALL
  SELECT c8 FROM t8
   WHERE (881=e8 AND b8=564 AND a8=127 AND d8=486)
EXCEPT
  SELECT e5 FROM t5
   WHERE NOT ((a5=960 OR 730=e5)
           OR (311=e5 AND b5=759 AND d5=738 AND 293=c5)
           OR d5 in (537,369,779,916,437,521,856,114,117))
UNION
  SELECT b6 FROM t6
   WHERE a6 in (255,971,870,1,706,801,825,518,240,396)
      OR (c6=25)
      OR (147=d6 OR c6=84 OR 91=e6)

query T valuesort
  SELECT e7 FROM t7
   WHERE d7 in (539,939,367,795)
      OR (e7=422 OR c7=855)
UNION ALL
  SELECT a8 FROM t8
   WHERE (b8=665 OR 866=e8)

query T valuesort
  SELECT b2 FROM t2
   WHERE d2 in (398,328,80,256,315,669,682,367,332)
      OR (851=a2)
      OR (45=c2)
UNION ALL
  SELECT a8 FROM t8
   WHERE (14=e8)
      OR (369=b8)
      OR d8 in (862,767,456,366,711,945,511,876,627)
EXCEPT
  SELECT b6 FROM t6
   WHERE NOT ((b6=876 AND e6=237 AND 293=a6)
           OR (256=d6 AND 523=e6))
EXCEPT
  SELECT c3 FROM t3
   WHERE NOT (a3 in (186,265,836,393,551,16,696,651)
           OR (e3=846 OR 25=e3 OR 133=d3)
           OR (d3=650 AND 146=c3 AND 814=b3 AND 594=a3 AND e3=578))
EXCEPT
  SELECT a7 FROM t7
   WHERE NOT ((925=d7))

query T valuesort
  SELECT e6 FROM t6
   WHERE (378=b6 AND 946=e6 AND d6=901 AND 585=a6)
UNION ALL
  SELECT b8 FROM t8
   WHERE (291=c8 AND 852=b8 AND 446=d8 AND e8=63 AND 855=a8)
      OR (b8=790 AND a8=12 AND 50=d8)
      OR c8 in (291,88,77,196,230,5,973,273,442,284,844,965)
EXCEPT
  SELECT d5 FROM t5
   WHERE NOT (e5 in (327,906,592,697,225,549,943,640,68,522,188,661)
           OR (68=e5 AND c5=766 AND 311=a5 AND b5=820 AND d5=602))
EXCEPT
  SELECT a9 FROM t9
   WHERE NOT (a9 in (349,273,815,72,458,263,177,148,841,149,17,964,764,875)
           OR (264=e9))
UNION ALL
  SELECT b1 FROM t1
   WHERE e1 in (921,582,55,96,717)
      OR (e1=747 AND d1=18 AND 620=b1)
UNION ALL
  SELECT d3 FROM t3
   WHERE (b3=198 AND d3=615 AND 961=c3 AND a3=615 AND e3=87)
      OR (d3=782)
      OR (e3=702 AND a3=979 AND 7=c3 AND b3=701)
EXCEPT
  SELECT a7 FROM t7
   WHERE NOT ((d7=671 AND b7=220 AND 4=e7 AND 341=c7)
           OR (e7=508 OR 31=e7))

query T valuesort
  SELECT d5 FROM t5
   WHERE b5 in (606,605,424,544,846,82,113,98,403,69,326,723,84,336)
      OR a5 in (800,851,81,330,335,392,958,785,904,339,429,369)
      OR (24=a5 OR 772=e5)
UNION ALL
  SELECT e2 FROM t2
   WHERE (c2=83 OR 725=b2 OR e2=579)
EXCEPT
  SELECT b7 FROM t7
   WHERE NOT ((147=a7 AND 341=c7))
UNION
  SELECT e6 FROM t6
   WHERE (924=d6 AND e6=585)
      OR c6 in (66,528,146,416,534,4,369,430,751,411,513,752,242)
      OR (d6=161)
UNION ALL
  SELECT d4 FROM t4
   WHERE (d4=364 AND e4=405 AND 586=c4 AND b4=884 AND 662=a4)
EXCEPT
  SELECT e3 FROM t3
   WHERE NOT ((c3=395 AND e3=406 AND 482=d3 AND 644=a3)
           OR c3 in (809,656,149,134,860,372,375,592)
           OR (876=e3 AND a3=181 AND c3=492 AND d3=708))
EXCEPT
  SELECT e8 FROM t8
   WHERE NOT ((761=b8)
           OR a8 in (795,312,923,327,153,826,359,586,70,210)
           OR (101=d8))
UNION
  SELECT d1 FROM t1
   WHERE (717=d1 OR c1=402)
      OR (288=e1)
      OR e1 in (209,628,122)
UNION ALL
  SELECT d9 FROM t9
   WHERE (487=c9 AND e9=854 AND 258=a9 AND b9=326)
      OR (125=b9 AND 316=d9 AND c9=894 AND 477=e9 AND 215=a9)

query T valuesort
  SELECT c6 FROM t6
   WHERE (270=c6 AND d6=151)
      OR (84=c6)
      OR e6 in (737,847,353,91,329)
UNION
  SELECT c1 FROM t1
   WHERE (828=b1 AND 788=c1 AND e1=763 AND 584=a1)
UNION ALL
  SELECT c9 FROM t9
   WHERE (d9=759 OR e9=860 OR 647=e9)
UNION
  SELECT a3 FROM t3
   WHERE (947=a3 AND c3=494)
      OR a3 in (784,872,992,611,892,75,500,763,788,396)
      OR c3 in (459,73,549,986,592,565)
EXCEPT
  SELECT d5 FROM t5
   WHERE NOT (a5 in (757,319,297,740,9,335,637,853,602)
           OR (e5=943 OR 309=d5)
           OR d5 in (811,1,542,667,991,171,280,413))
EXCEPT
  SELECT b8 FROM t8
   WHERE NOT ((c8=775 AND d8=339 AND 761=b8)
           OR e8 in (578,422,186,349,333,106,310,296,533)
           OR c8 in (74,979,196,374,77,151,998,187,100,907))

query T valuesort
  SELECT c2 FROM t2
   WHERE a2 in (123,283,471,159,442,664,93,922,574,254,139,735,588,175)
UNION ALL
  SELECT c5 FROM t5
   WHERE (661=e5 OR c5=855 OR 943=e5)
      OR (c5=198 AND a5=296 AND e5=906 AND 255=d5)
EXCEPT
  SELECT e8 FROM t8
   WHERE NOT ((702=a8)
           OR (d8=422 AND b8=677)
           OR (a8=72 AND 359=b8 AND 668=c8 AND e8=106))

query T valuesort
  SELECT d9 FROM t9
   WHERE c9 in (253,476,800,180)
      OR c9 in (834,534,853,575,95,222,662,39,975,531)
      OR b9 in (818,77,751,64,326,819,170)
UNION ALL
  SELECT d1 FROM t1
   WHERE (b1=995 AND 209=e1 AND 765=c1 AND 445=a1 AND 508=d1)
EXCEPT
  SELECT e3 FROM t3
   WHERE NOT ((490=a3 AND 586=e3 AND 73=b3)
           OR (b3=888 OR c3=645))
UNION
  SELECT a7 FROM t7
   WHERE (478=c7)
UNION
  SELECT b5 FROM t5
   WHERE (222=c5)
      OR (a5=148 OR 989=c5)
      OR (413=a5 OR b5=846)
UNION
  SELECT a4 FROM t4
   WHERE (94=b4 AND 159=a4 AND 873=c4 AND 881=d4 AND 179=e4)
      OR (e4=543)
      OR c4 in (690,162,936,728,712,482,752,0,88,720,74)

query T valuesort
  SELECT d9 FROM t9
   WHERE (844=e9 AND c9=252 AND 549=b9 AND 972=a9)
      OR c9 in (419,547,451,252,639,39,732,687,476)
UNION
  SELECT d5 FROM t5
   WHERE e5 in (585,689,610,885,18,150,802,258,923,894)
      OR (b5=989 AND e5=522 AND 351=c5 AND d5=667 AND 730=a5)
      OR b5 in (559,855,33,703)

query T valuesort
  SELECT c8 FROM t8
   WHERE (c8=160 OR e8=38)
      OR (579=e8)
      OR (d8=637 AND 442=c8 AND e8=180)
UNION ALL
  SELECT a6 FROM t6
   WHERE (e6=711 OR c6=177 OR 158=b6)
      OR e6 in (550,972,617,794,711,808,847,654,67)

query T valuesort
  SELECT a7 FROM t7
   WHERE (285=a7 AND c7=564 AND 250=b7 AND 841=e7 AND 500=d7)
      OR (397=c7 OR a7=722)
UNION ALL
  SELECT d1 FROM t1
   WHERE (a1=195)
UNION
  SELECT d5 FROM t5
   WHERE e5 in (188,437,34,68)
      OR c5 in (599,299,130,18,734,634,222,249,72,3,941)
UNION ALL
  SELECT b2 FROM t2
   WHERE (e2=783)
      OR (d2=448 AND c2=878)
UNION ALL
  SELECT c9 FROM t9
   WHERE (e9=987 AND 681=d9)
      OR (d9=694 OR 245=e9)
      OR (b9=19 AND c9=75 AND 129=d9 AND a9=847 AND e9=549)
UNION ALL
  SELECT b6 FROM t6
   WHERE (223=b6 OR 146=c6)
      OR b6 in (452,427,229,463)
EXCEPT
  SELECT b4 FROM t4
   WHERE NOT ((a4=489 OR 82=c4))
UNION ALL
  SELECT c8 FROM t8
   WHERE (298=c8)
      OR (642=b8 OR 431=e8 OR 841=a8)
      OR (979=c8 OR 554=d8)
UNION ALL
  SELECT b3 FROM t3
   WHERE (616=b3 AND c3=601 AND 552=e3 AND a3=892 AND d3=554)
      OR (826=c3)

query T valuesort
  SELECT e1 FROM t1
   WHERE a1 in (23,524,668)
      OR a1 in (629,553,853,88,931,895,972,189,767,267,591)
EXCEPT
  SELECT b4 FROM t4
   WHERE NOT ((358=c4)
           OR a4 in (81,596,804,558,845,355,513,950)
           OR (948=c4))
EXCEPT
  SELECT a7 FROM t7
   WHERE NOT ((970=e7)
           OR (648=c7))
EXCEPT
  SELECT e5 FROM t5
   WHERE NOT ((d5=360)
           OR b5 in (26,703,723,26,822,183,759,685))
UNION ALL
  SELECT c3 FROM t3
   WHERE (a3=865 AND c3=887 AND 584=b3 AND 425=d3)
      OR (814=b3 AND 146=c3)

query T valuesort
  SELECT b4 FROM t4
   WHERE (319=b4 AND 482=d4 AND 984=c4 AND a4=105 AND e4=792)
      OR (b4=849 OR 936=c4)
      OR a4 in (919,260,845,596,367,235,185,558)
UNION
  SELECT c8 FROM t8
   WHERE (a8=54 OR 186=b8)
      OR d8 in (50,391,20,463,124,876,862,484,523,141)
      OR e8 in (792,106,38,46)
UNION ALL
  SELECT b2 FROM t2
   WHERE d2 in (749,351,80,833,555,643,813,772,351,10,577)

query T valuesort
  SELECT e3 FROM t3
   WHERE (737=d3 AND 454=b3 AND e3=837 AND 836=a3 AND 339=c3)
      OR (516=c3 AND d3=641 AND 551=a3)
EXCEPT
  SELECT c9 FROM t9
   WHERE NOT (d9 in (960,264,597,763,383,602,347,389,606,679,628,274)
           OR (312=b9 OR 218=a9 OR a9=215)
           OR (a9=567 OR 171=b9 OR b9=447))
UNION
  SELECT e1 FROM t1
   WHERE (283=b1 OR b1=211)
      OR a1 in (179,231,406,785,988,732,637,607,868,498,538,283,853)
      OR (c1=870 OR 872=e1)
EXCEPT
  SELECT b7 FROM t7
   WHERE NOT (c7 in (435,344,780,389,564,931,589)
           OR (d7=805 AND c7=243 AND 422=b7))
UNION
  SELECT d5 FROM t5
   WHERE b5 in (230,84,784,782,731,789,205,530,665,774,736,897)
      OR (731=b5)
      OR d5 in (667,514,413,960,33,738,937,856)
EXCEPT
  SELECT c4 FROM t4
   WHERE NOT ((661=d4))
UNION ALL
  SELECT e6 FROM t6
   WHERE (647=d6 AND c6=452 AND a6=355 AND 997=b6 AND e6=754)
      OR (511=b6)
      OR d6 in (192,269,72,790)
EXCEPT
  SELECT d2 FROM t2
   WHERE NOT ((d2=833)
           OR (282=c2)
           OR (733=a2))
UNION
  SELECT d8 FROM t8
   WHERE (578=a8 AND e8=41 AND c8=521)
      OR a8 in (894,153,952,961,171,359,210,359,127,259,591,502)
      OR (244=b8 AND 564=a8)

query T valuesort
  SELECT e8 FROM t8
   WHERE (427=c8 AND 487=b8)
UNION ALL
  SELECT c3 FROM t3
   WHERE (a3=198)
      OR (526=e3)
UNION
  SELECT d5 FROM t5
   WHERE (183=b5 AND c5=545)
      OR (69=a5)
UNION
  SELECT e9 FROM t9
   WHERE (a9=69 OR d9=104 OR d9=808)
UNION
  SELECT d6 FROM t6
   WHERE (d6=35 OR d6=172)
      OR (197=d6)
      OR (b6=565)
UNION
  SELECT e1 FROM t1
   WHERE d1 in (936,275,863,96)
      OR (e1=125 AND 548=c1 AND a1=637 AND 404=b1)
EXCEPT
  SELECT c7 FROM t7
   WHERE NOT (d7 in (924,702,709,278,324,539,712,306,801)
           OR (d7=278)
           OR d7 in (916,831,199,418,892,108,603))
EXCEPT
  SELECT a2 FROM t2
   WHERE NOT (d2 in (153,263,398,844,60,546)
           OR a2 in (922,651,680,159,495,2,217,131,987,814,652,691,254))
UNION ALL
  SELECT c4 FROM t4
   WHERE (904=c4)
      OR (51=a4 AND b4=765 AND 794=c4 AND d4=498)

query T valuesort
  SELECT e6 FROM t6
   WHERE (415=c6 OR 258=c6 OR b6=281)
UNION ALL
  SELECT b2 FROM t2
   WHERE (564=e2 OR 179=c2)
EXCEPT
  SELECT a5 FROM t5
   WHERE NOT ((878=a5 OR b5=716)
           OR c5 in (196,351,734,625,299,147,443,733,689,696,155,820,628,130))
EXCEPT
  SELECT d4 FROM t4
   WHERE NOT ((b4=877 OR 114=b4)
           OR a4 in (378,152,105,223,281,442,602))
UNION ALL
  SELECT b8 FROM t8
   WHERE (d8=60 OR 922=b8)
      OR (c8=513 AND a8=628 AND b8=493 AND e8=578 AND 541=d8)
EXCEPT
  SELECT a3 FROM t3
   WHERE NOT ((198=b3 OR 333=e3)
           OR (e3=464 OR 892=e3 OR b3=454))

query T valuesort
  SELECT e4 FROM t4
   WHERE a4 in (580,105,51,841,933,29,847,223,968,606,605)
      OR (a4=990)
      OR c4 in (88,178,712,791,238,299,39,422,984,521)
UNION ALL
  SELECT c8 FROM t8
   WHERE b8 in (761,922,975,624,205,102,807,984,244)
      OR e8 in (600,512,881,864,203,272,846)
UNION
  SELECT e9 FROM t9
   WHERE e9 in (486,978,35,117,844,995,837,699,788)
UNION ALL
  SELECT c7 FROM t7
   WHERE (d7=724 OR 306=b7)
      OR c7 in (857,692,375,705,931)

query T valuesort
  SELECT e3 FROM t3
   WHERE a3 in (965,184,594,548,282,560,429,637,181,135,145,379)
      OR (b3=827)
UNION
  SELECT b8 FROM t8
   WHERE (260=c8 AND 64=e8 AND 15=a8)
      OR (d8=512 OR 77=c8 OR 841=a8)
      OR (254=a8 AND b8=964 AND d8=48 AND e8=149 AND 692=c8)
EXCEPT
  SELECT b1 FROM t1
   WHERE NOT ((d1=661 OR 872=e1 OR a1=498)
           OR (b1=278 AND a1=358 AND c1=343))
EXCEPT
  SELECT d5 FROM t5
   WHERE NOT (c5 in (101,599,855)
           OR (514=a5)
           OR (b5=629 OR d5=269 OR a5=69))
EXCEPT
  SELECT e9 FROM t9
   WHERE NOT (e9 in (723,477,657)
           OR (a9=511 AND e9=477 AND c9=349 AND 549=d9 AND b9=423)
           OR (a9=660 OR d9=25))
EXCEPT
  SELECT a6 FROM t6
   WHERE NOT ((12=c6 AND 469=d6 AND 452=b6)
           OR (a6=585 OR 750=d6 OR 840=e6))
UNION ALL
  SELECT e4 FROM t4
   WHERE a4 in (605,318,74,473,261)
      OR (327=a4 OR 840=c4)
UNION ALL
  SELECT b2 FROM t2
   WHERE (a2=680)
      OR (a2=442)

query T valuesort
  SELECT d9 FROM t9
   WHERE b9 in (447,136,688,127,95,210,913,236,15,64,2,171,77)
      OR a9 in (919,776,584,297,662,567,964,5,458,830,685)
UNION
  SELECT c1 FROM t1
   WHERE (298=e1 AND c1=57 AND 942=b1 AND 38=d1)
      OR a1 in (551,988,862,492,445,868,524)

query T valuesort
  SELECT e8 FROM t8
   WHERE e8 in (806,179,864,463,223,981)
UNION
  SELECT c9 FROM t9
   WHERE b9 in (832,421,848,122,170,301,936,210,789,818,262,525,456)
      OR a9 in (378,435,685,14,567,739,548,389,662,215,962,416,824)
EXCEPT
  SELECT c4 FROM t4
   WHERE NOT (b4 in (372,289,608,593,357,538,888,402,849,802)
           OR (408=a4 OR b4=603)
           OR (b4=678))
EXCEPT
  SELECT c7 FROM t7
   WHERE NOT ((d7=500 AND a7=285 AND b7=250 AND 564=c7))
EXCEPT
  SELECT e1 FROM t1
   WHERE NOT ((128=b1 AND 581=d1 AND 967=a1 AND 921=e1 AND c1=585)
           OR (b1=303))

query T valuesort
  SELECT a9 FROM t9
   WHERE (575=c9 OR d9=270 OR b9=118)
      OR (56=a9 AND d9=660 AND c9=643 AND b9=171)
UNION ALL
  SELECT d5 FROM t5
   WHERE b5 in (336,629,716,861,623,705,391)
      OR b5 in (665,186,606,403,193,389,336,336)
UNION
  SELECT a2 FROM t2
   WHERE (714=b2 AND 749=d2 AND e2=673 AND c2=251)
UNION ALL
  SELECT c6 FROM t6
   WHERE (292=c6 OR 801=a6)
      OR (504=c6)
      OR (240=a6 AND 256=d6)
EXCEPT
  SELECT d8 FROM t8
   WHERE NOT (a8 in (46,579,651,628,445,90,47,15,254,855,472,502,894))
UNION ALL
  SELECT b7 FROM t7
   WHERE d7 in (199,114,724,524,526,988,325,196,324,395,939,500,892,673)
      OR e7 in (552,144,827,156,844,122,302)
UNION ALL
  SELECT a1 FROM t1
   WHERE (b1=253)
      OR (667=e1 AND 380=a1 AND 255=b1)
EXCEPT
  SELECT d3 FROM t3
   WHERE NOT ((269=b3 OR c3=777 OR e3=794)
           OR b3 in (788,381,73,27,236,685,368,405,977,720)
           OR (e3=169 OR 260=e3 OR 696=a3))

query T valuesort
  SELECT c5 FROM t5
   WHERE (e5=72 AND b5=412 AND c5=598)
      OR b5 in (609,186,321,393,424,951)
UNION ALL
  SELECT d4 FROM t4
   WHERE (e4=790 OR 376=d4)
      OR (748=b4 AND 88=c4)
UNION ALL
  SELECT b2 FROM t2
   WHERE b2 in (285,859,220,211,173,148,501,519)
      OR (543=b2)
      OR (339=e2 AND a2=56 AND 195=d2 AND 282=c2 AND b2=285)
UNION
  SELECT e3 FROM t3
   WHERE (986=c3 OR 272=c3)
      OR (b3=339 AND 435=c3 AND d3=358)
EXCEPT
  SELECT e1 FROM t1
   WHERE NOT ((268=a1 OR 247=b1 OR e1=442)
           OR b1 in (213,426,149,729,346,788,307,556,569,556,282,766)
           OR e1 in (221,534,12,747,731,463,616))
UNION
  SELECT b6 FROM t6
   WHERE b6 in (583,774,0,427,537,351,601,565,350,923,507,575,629,390)
      OR (121=a6 AND e6=139 AND b6=662 AND c6=491 AND 750=d6)
      OR (411=c6 AND d6=2 AND a6=672 AND 604=b6)

query T valuesort
  SELECT e2 FROM t2
   WHERE c2 in (996,967,964,509,220,107,83,557,807,625,22,411,692)
      OR (812=e2 OR d2=241)
UNION
  SELECT a9 FROM t9
   WHERE b9 in (525,2,342,680,746,326,819,214)
      OR (c9=801)
      OR c9 in (87,180,370,240,764,347,800,973,451,793,579)
UNION
  SELECT e4 FROM t4
   WHERE (465=e4)
      OR a4 in (921,804,74,625,857,234,919,439,952,574,469,773,447,778)
EXCEPT
  SELECT a6 FROM t6
   WHERE NOT ((129=a6 OR c6=938 OR 754=e6)
           OR (d6=929)
           OR a6 in (801,522,366,474,568,129))

query T valuesort
  SELECT a6 FROM t6
   WHERE c6 in (187,615,648,411,45,454,122,572,534,123,415,161,65)
      OR (489=d6 OR d6=493 OR d6=929)
      OR (c6=25 AND 290=b6)
UNION
  SELECT e9 FROM t9
   WHERE (445=e9 OR 41=a9)
EXCEPT
  SELECT b1 FROM t1
   WHERE NOT ((39=c1))

query T valuesort
  SELECT e8 FROM t8
   WHERE (a8=127 OR 844=c8 OR 683=c8)
      OR e8 in (485,199,411,260,592,221,440)
      OR (253=b8)
EXCEPT
  SELECT d1 FROM t1
   WHERE NOT ((993=b1))
UNION ALL
  SELECT d6 FROM t6
   WHERE (a6=825)
      OR d6 in (991,711,376,458,196,729,581,35,664,337,72,797)
UNION
  SELECT c4 FROM t4
   WHERE (312=e4 OR 223=e4 OR a4=136)
EXCEPT
  SELECT c2 FROM t2
   WHERE NOT (b2 in (846,765,38,784,546,812,857,818,297,966,161))
EXCEPT
  SELECT a5 FROM t5
   WHERE NOT ((734=c5 AND b5=623)
           OR (964=d5))
UNION ALL
  SELECT b9 FROM t9
   WHERE (a9=365)
      OR (819=e9 AND 595=b9 AND 161=d9 AND 488=a9 AND 101=c9)
      OR (947=e9)
EXCEPT
  SELECT d7 FROM t7
   WHERE NOT ((455=e7 AND c7=206)
           OR (562=b7))
UNION ALL
  SELECT e3 FROM t3
   WHERE (615=a3)
      OR c3 in (845,601,146,647,296,80)

query T valuesort
  SELECT d6 FROM t6
   WHERE (449=b6 OR d6=647 OR b6=512)
UNION
  SELECT d9 FROM t9
   WHERE (26=b9)
EXCEPT
  SELECT b5 FROM t5
   WHERE NOT ((403=b5 OR b5=665 OR 447=a5)
           OR (796=a5 OR 807=e5)
           OR a5 in (476,867,319,357,69,34,235,917,615,301,296,958,522))
EXCEPT
  SELECT b3 FROM t3
   WHERE NOT (c3 in (375,353,688,86,800))
EXCEPT
  SELECT b8 FROM t8
   WHERE NOT ((511=d8 OR 665=b8)
           OR c8 in (183,394,404,998)
           OR (b8=615))
UNION ALL
  SELECT d7 FROM t7
   WHERE (c7=906 OR 6=a7 OR c7=589)
      OR e7 in (587,439,79,508,456)
EXCEPT
  SELECT e4 FROM t4
   WHERE NOT ((389=b4 AND 901=a4 AND 74=c4)
           OR (e4=565))
UNION ALL
  SELECT b2 FROM t2
   WHERE (450=c2 AND a2=954 AND 386=e2)
      OR (b2=278 OR 844=d2)
      OR a2 in (327,901,916,10,944,691,505,993,222,336,652)
UNION
  SELECT b1 FROM t1
   WHERE (d1=412)
      OR (a1=637 AND 125=e1)
      OR c1 in (441,208,379,608)

query T valuesort
  SELECT c2 FROM t2
   WHERE (a2=185)
      OR (a2=279 OR 629=e2)
      OR a2 in (279,594,131,775)
UNION ALL
  SELECT b7 FROM t7
   WHERE (d7=507)
      OR (e7=89)

query T valuesort
  SELECT a7 FROM t7
   WHERE (290=e7)
EXCEPT
  SELECT d5 FROM t5
   WHERE NOT (e5 in (150,13,888,621,141,287,343,807,558,180,764,656)
           OR (811=d5 OR 56=c5)
           OR (c5=613))
UNION ALL
  SELECT c8 FROM t8
   WHERE (894=d8 AND 981=b8)
      OR c8 in (404,418,88,299,266,113,899,117,541)
UNION
  SELECT d9 FROM t9
   WHERE (837=e9 AND c9=451)
EXCEPT
  SELECT a1 FROM t1
   WHERE NOT ((97=c1 AND 414=d1))
EXCEPT
  SELECT e2 FROM t2
   WHERE NOT ((193=c2 AND b2=278 AND e2=282 AND 317=d2 AND a2=10)
           OR b2 in (549,729,276,220,317,585,776,228,857,313,714,543,90)
           OR (b2=799))
UNION ALL
  SELECT e6 FROM t6
   WHERE (a6=522 OR 653=a6 OR 211=e6)
UNION ALL
  SELECT c3 FROM t3
   WHERE (e3=193)
      OR (46=d3 OR c3=869)
EXCEPT
  SELECT a4 FROM t4
   WHERE NOT ((439=a4 AND 979=d4 AND 535=b4 AND 37=e4 AND 451=c4)
           OR (936=c4 AND b4=986 AND a4=223 AND 144=d4 AND 438=e4))

query T valuesort
  SELECT b3 FROM t3
   WHERE (355=d3 AND e3=854)
      OR (281=e3)
      OR c3 in (885,127,492,211,692,516,247,641,476,220)
UNION
  SELECT c6 FROM t6
   WHERE (550=e6 OR b6=461 OR e6=237)
UNION ALL
  SELECT b1 FROM t1
   WHERE (346=c1 AND d1=215 AND 1=b1 AND e1=763 AND a1=992)
      OR (e1=95 OR 387=c1)
EXCEPT
  SELECT d4 FROM t4
   WHERE NOT ((94=b4 AND e4=179 AND 873=c4 AND a4=159)
           OR (c4=47 AND 68=b4 AND d4=877 AND e4=858 AND 234=a4)
           OR (a4=408 OR a4=260))
EXCEPT
  SELECT e9 FROM t9
   WHERE NOT ((a9=821 AND b9=122 AND 694=d9 AND 857=c9))
EXCEPT
  SELECT a5 FROM t5
   WHERE NOT ((271=d5 AND 602=a5 AND c5=489 AND e5=104)
           OR (d5=437 OR b5=183))
UNION
  SELECT b7 FROM t7
   WHERE (377=c7 OR 706=a7)
UNION ALL
  SELECT a8 FROM t8
   WHERE c8 in (273,821,691)
      OR b8 in (563,459,615,665,906,702,102,269,540,997,755,386,259)

query T valuesort
  SELECT b3 FROM t3
   WHERE (a3=499 AND 651=e3 AND b3=665)
INTERSECT
  SELECT e6 FROM t6
   WHERE NOT ((d6=355 OR a6=251)
           OR b6 in (54,989,915,954,390,267,230,296,511))
EXCEPT
  SELECT d4 FROM t4
   WHERE NOT ((e4=300)
           OR d4 in (950,681,498,736,777,522,349,366,409,150,507,511,229,509))
EXCEPT
  SELECT e7 FROM t7
   WHERE NOT ((787=d7 OR d7=939 OR b7=202)
           OR d7 in (539,590,212))
UNION ALL
  SELECT a8 FROM t8
   WHERE c8 in (486,196,111,233,943)
UNION ALL
  SELECT e2 FROM t2
   WHERE (c2=61)
      OR (d2=743 OR b2=326)
UNION
  SELECT b5 FROM t5
   WHERE (549=e5 OR 261=c5 OR 613=c5)
      OR (a5=514 OR e5=440 OR 551=c5)

query T valuesort
  SELECT e9 FROM t9
   WHERE (c9=75 AND a9=847 AND 129=d9 AND 19=b9 AND e9=549)
EXCEPT
  SELECT d3 FROM t3
   WHERE NOT ((386=b3 AND 696=a3))
EXCEPT
  SELECT e6 FROM t6
   WHERE NOT ((95=e6 AND b6=512 AND 366=d6 AND 442=c6))
UNION
  SELECT b4 FROM t4
   WHERE (660=c4)
      OR (739=e4 OR 948=a4)
UNION
  SELECT d8 FROM t8
   WHERE d8 in (14,108,108,192,384)

query T valuesort
  SELECT d8 FROM t8
   WHERE (769=d8 AND c8=266 AND 306=a8)
      OR (474=d8 AND 182=b8 AND e8=46 AND c8=908 AND a8=913)
      OR (735=d8 AND 168=c8 AND b8=542 AND 620=e8 AND a8=402)
EXCEPT
  SELECT d3 FROM t3
   WHERE NOT ((848=e3 AND d3=515 AND 566=b3 AND a3=515 AND 898=c3)
           OR (743=a3 OR e3=145))
UNION ALL
  SELECT a1 FROM t1
   WHERE (330=a1)
      OR b1 in (75,55,132)
UNION
  SELECT e9 FROM t9
   WHERE d9 in (347,660,316,646,554,224,878,383,899,25,926,682,147)
      OR (41=a9 AND d9=495 AND e9=657 AND b9=262 AND 39=c9)
      OR d9 in (909,145,919,164,926,525,959,554,790,495,399)
UNION
  SELECT e5 FROM t5
   WHERE (c5=805)
      OR d5 in (309,132,602,69,780,492)
UNION ALL
  SELECT e4 FROM t4
   WHERE b4 in (243,733,294,816,961,678,387,35,888,271,442,538)
EXCEPT
  SELECT b6 FROM t6
   WHERE NOT (b6 in (699,350,230,681,296,461)
           OR (300=a6 OR 738=e6)
           OR (963=a6))
EXCEPT
  SELECT c2 FROM t2
   WHERE NOT ((65=c2 OR a2=898 OR 796=a2)
           OR (b2=820 AND 953=e2 AND 760=a2))

query T valuesort
  SELECT a9 FROM t9
   WHERE (d9=960 AND 834=c9 AND e9=704 AND a9=776 AND b9=680)
UNION ALL
  SELECT b7 FROM t7
   WHERE (655=b7)
EXCEPT
  SELECT c2 FROM t2
   WHERE NOT ((a2=544)
           OR a2 in (691,222,495)
           OR d2 in (860,454,249,516,498))
EXCEPT
  SELECT d1 FROM t1
   WHERE NOT ((736=c1 AND 885=d1)
           OR (280=a1 OR c1=637 OR 414=d1))
EXCEPT
  SELECT e4 FROM t4
   WHERE NOT ((300=e4 OR b4=707 OR c4=433)
           OR d4 in (55,260,983,60,568,797,223)
           OR d4 in (247,328,653,522,901,985,184,306,231,524,889,86))
UNION ALL
  SELECT c8 FROM t8
   WHERE (e8=63 OR c8=775 OR e8=981)
      OR (e8=233 OR d8=554 OR d8=108)
EXCEPT
  SELECT c5 FROM t5
   WHERE NOT ((c5=198 OR e5=716 OR 313=c5)
           OR (d5=537 OR b5=82 OR 569=b5)
           OR (111=d5))
EXCEPT
  SELECT a6 FROM t6
   WHERE NOT ((a6=33)
           OR (c6=66 AND 35=a6 AND b6=348 AND e6=678 AND 488=d6)
           OR d6 in (192,393,911,797,560,21,2,674,366,469))
EXCEPT
  SELECT c3 FROM t3
   WHERE NOT ((658=d3 AND e3=304 AND 349=a3 AND c3=542 AND b3=542)
           OR (b3=827 AND c3=486)
           OR a3 in (135,513,380,754,265,393,614,803,532,190,75))

query T valuesort
  SELECT a4 FROM t4
   WHERE e4 in (958,415,63,1,372,296,575,290)
      OR a4 in (170,234,450,210,473)
UNION
  SELECT c6 FROM t6
   WHERE d6 in (367,488,66,689)
      OR e6 in (511,958,489,915,595,40,439)
EXCEPT
  SELECT d1 FROM t1
   WHERE NOT (b1 in (525,440,670,1,414,879,853,60,850,828))
EXCEPT
  SELECT d3 FROM t3
   WHERE NOT (e3 in (138,304,951,318,848,844,239,254,728,813,854,848,578,147)
           OR c3 in (305,80,792)
           OR c3 in (102,439,149,476,486,584))
UNION
  SELECT c5 FROM t5
   WHERE (d5=856)
      OR d5 in (841,883,738,313,343,757)
EXCEPT
  SELECT a8 FROM t8
   WHERE NOT ((d8=636 OR 728=a8 OR 162=b8)
           OR (741=b8)
           OR (186=e8))
EXCEPT
  SELECT d9 FROM t9
   WHERE NOT (a9 in (875,429,660,104,553,318,747,905,149,160,14,11,972))

query T valuesort
  SELECT c2 FROM t2
   WHERE (c2=182)
EXCEPT
  SELECT e9 FROM t9
   WHERE NOT ((a9=457)
           OR d9 in (646,770,601,142,855,938,383)
           OR (151=c9))
EXCEPT
  SELECT e3 FROM t3
   WHERE NOT ((b3=376 OR 779=b3)
           OR (c3=77 AND 483=d3 AND 665=b3 AND 822=a3 AND e3=526))
EXCEPT
  SELECT d8 FROM t8
   WHERE NOT ((984=b8 OR a8=443)
           OR b8 in (934,690,105,269)
           OR a8 in (900,826,883,184,597,894,210,807))

query T valuesort
  SELECT a7 FROM t7
   WHERE (127=e7 AND 159=b7)
EXCEPT
  SELECT c6 FROM t6
   WHERE NOT ((834=b6 OR 64=a6 OR d6=489))
UNION ALL
  SELECT d4 FROM t4
   WHERE (678=b4)
      OR (281=a4)
EXCEPT
  SELECT a5 FROM t5
   WHERE NOT ((a5=392 AND b5=234 AND c5=544 AND e5=737 AND d5=883))
EXCEPT
  SELECT a2 FROM t2
   WHERE NOT (b2 in (725,275,820,418,811,414,357,433,181,549,546,932)
           OR c2 in (45,575,177,197,202,333,136,988,902,582,268,756,773))
EXCEPT
  SELECT a3 FROM t3
   WHERE NOT ((720=a3))
EXCEPT
  SELECT a8 FROM t8
   WHERE NOT ((d8=223 AND 729=e8)
           OR c8 in (908,762,844,321,648)
           OR (997=b8))
UNION ALL
  SELECT d9 FROM t9
   WHERE a9 in (567,318,548,511,549,172,240,553,535,177,830)
UNION ALL
  SELECT e1 FROM t1
   WHERE (951=d1)
      OR (52=a1 AND c1=315 AND 25=d1 AND e1=210 AND b1=132)
      OR c1 in (343,375,416,393,69,88,417,976,272,980)

query T valuesort
  SELECT e2 FROM t2
   WHERE b2 in (592,985,635)
      OR e2 in (564,521,307,322,118,386,217,572)
      OR e2 in (777,220,521,579,434,463,698,655,638,812,706,707)
EXCEPT
  SELECT b7 FROM t7
   WHERE NOT (d7 in (547,680,782)
           OR (183=e7 AND d7=956 AND a7=706))
EXCEPT
  SELECT b6 FROM t6
   WHERE NOT ((d6=453 OR 161=d6 OR e6=283)
           OR (b6=300 AND d6=561 AND 677=c6 AND 360=e6 AND 692=a6)
           OR (d6=271 AND 11=c6 AND a6=740))
UNION
  SELECT b8 FROM t8
   WHERE (150=c8 AND 933=e8)
      OR d8 in (472,484,482,326,190,541,523,14,96,366,899,715,690)
      OR (705=b8 AND 561=e8 AND d8=326 AND 259=a8)
EXCEPT
  SELECT e3 FROM t3
   WHERE NOT (b3 in (103,211,159,779,224,57,302,888,790,710)
           OR (360=b3 OR 690=e3)
           OR d3 in (988,238,135,399,683,368,386))
EXCEPT
  SELECT e5 FROM t5
   WHERE NOT (b5 in (306,729,433,159,530,186,951,975)
           OR (b5=858 OR a5=342)
           OR (a5=153 AND c5=443 AND b5=587 AND e5=98 AND d5=691))

query T valuesort
  SELECT b3 FROM t3
   WHERE (e3=818 AND a3=41)
EXCEPT
  SELECT a5 FROM t5
   WHERE NOT ((c5=602 OR 696=e5 OR 685=d5)
           OR e5 in (937,271,144)
           OR (e5=610 OR e5=587 OR 180=e5))
EXCEPT
  SELECT e6 FROM t6
   WHERE NOT (a6 in (222,653,128,861,821,725,731,129,85,45,64,787,692)
           OR (e6=678 AND 66=c6 AND d6=488 AND 35=a6 AND 348=b6))
UNION ALL
  SELECT b8 FROM t8
   WHERE (a8=701 AND 866=e8 AND 456=d8)
      OR (989=d8)
EXCEPT
  SELECT c4 FROM t4
   WHERE NOT ((e4=554 AND 606=a4 AND b4=532 AND 574=d4 AND c4=998)
           OR a4 in (752,876,825,933,509,997,422,450,605,60,580,950))
EXCEPT
  SELECT e9 FROM t9
   WHERE NOT (c9 in (351,253,180,87,811,110,836,711,332,476,696,232)
           OR (a9=953 OR 60=c9)
           OR (b9=214 OR 228=b9))
UNION
  SELECT c1 FROM t1
   WHERE (738=b1)
      OR (c1=531 AND b1=115 AND 338=a1 AND d1=427)
      OR a1 in (461,736,222,445,604,524,637,330)
EXCEPT
  SELECT b7 FROM t7
   WHERE NOT ((a7=758 AND 826=e7 AND 103=c7 AND 172=d7 AND b7=519))

query T valuesort
  SELECT c8 FROM t8
   WHERE (7=b8 AND e8=955 AND c8=998 AND 876=d8)
      OR (862=b8 AND a8=312)
      OR c8 in (730,907,648,230,418,647,508,943,229,168,799,5)
INTERSECT
  SELECT b3 FROM t3
   WHERE NOT ((728=e3 OR 272=e3 OR b3=474))
UNION
  SELECT b5 FROM t5
   WHERE (d5=492 OR e5=894)
      OR (436=e5)
EXCEPT
  SELECT b2 FROM t2
   WHERE NOT ((d2=750 AND 775=a2 AND c2=46 AND b2=545))
EXCEPT
  SELECT b7 FROM t7
   WHERE NOT ((514=b7))

query T valuesort
  SELECT e1 FROM t1
   WHERE (955=c1 AND 222=a1 AND e1=87 AND b1=440)
INTERSECT
  SELECT c9 FROM t9
   WHERE NOT ((b9=667 OR d9=967)
           OR (e9=965 AND d9=759 AND 819=b9 AND 764=c9))
EXCEPT
  SELECT e2 FROM t2
   WHERE NOT (c2 in (509,140,807,374,729,337,773,981,360,967,676,274)
           OR e2 in (781,366,629,445))
EXCEPT
  SELECT a8 FROM t8
   WHERE NOT ((485=e8 OR e8=632 OR e8=63)
           OR c8 in (656,404,486,448))
UNION
  SELECT a4 FROM t4
   WHERE d4 in (268,549,31,844,349,728,309,197,409,449,522,247,249,306)
      OR (a4=574 AND 33=b4 AND 311=e4 AND 268=d4 AND 221=c4)
UNION ALL
  SELECT b5 FROM t5
   WHERE a5 in (851,235,34,369,18)
      OR (41=e5 AND 530=b5)
      OR (e5=157 AND 695=b5 AND 957=d5 AND a5=721 AND 27=c5)

query T valuesort
  SELECT e7 FROM t7
   WHERE d7 in (787,828,599,974)
      OR a7 in (950,665,744,288,452,642,869,982,87,114,982,995,452,865)
UNION
  SELECT a6 FROM t6
   WHERE c6 in (942,620,963,992,480,54,938,561,441,287)
EXCEPT
  SELECT d1 FROM t1
   WHERE NOT ((e1=695 OR 12=e1 OR 667=e1)
           OR (468=b1 OR b1=345))
EXCEPT
  SELECT d3 FROM t3
   WHERE NOT ((b3=17 AND d3=307 AND a3=347))

query T valuesort
  SELECT e9 FROM t9
   WHERE d9 in (678,55,145,987,790,383,360,389,224,682,258)
      OR (a9=240 OR b9=595 OR e9=723)
      OR (458=a9)
UNION
  SELECT b5 FROM t5
   WHERE (185=c5 OR 718=e5)
      OR (787=d5)
EXCEPT
  SELECT d8 FROM t8
   WHERE NOT (e8 in (14,411,947,980,678,63,579,918,488,296,635)
           OR a8 in (47,586,327,671,306,838,347,359,954,514)
           OR (c8=866))
UNION
  SELECT c3 FROM t3
   WHERE (480=b3 OR a3=135)
      OR (b3=720)

query T valuesort
  SELECT a2 FROM t2
   WHERE b2 in (357,8,414,549,888,857,820,285,846,784,93,938,649)
      OR (d2=351 AND e2=223 AND c2=779)
INTERSECT
  SELECT c1 FROM t1
   WHERE NOT ((463=e1)
           OR e1 in (402,763,772)
           OR (616=e1))
INTERSECT
  SELECT b7 FROM t7
   WHERE NOT ((702=d7 AND 916=a7 AND c7=180)
           OR d7 in (192,956,172,485,996,974,315,91,886))
EXCEPT
  SELECT a6 FROM t6
   WHERE NOT (d6 in (974,822,931,2)
           OR b6 in (449,217,144,696,232,267,290,427,290,512)
           OR a6 in (173,683,522,851,366,825,469,355,392,452,121))
EXCEPT
  SELECT a4 FROM t4
   WHERE NOT (a4 in (235,968,513,793,72,990,31,51,107,605,327,625)
           OR b4 in (713,563,802,961))
UNION
  SELECT d5 FROM t5
   WHERE a5 in (153,556,519,180,685,730,320,341,330,69,89,832,976,826)
      OR (c5=922 OR 915=c5 OR d5=321)
      OR (c5=941 AND 723=b5 AND d5=313 AND e5=470)

query T valuesort
  SELECT b1 FROM t1
   WHERE (956=b1)
      OR (956=b1 AND 381=e1 AND c1=417)
      OR (35=d1 AND 420=c1 AND 504=e1)
UNION ALL
  SELECT a7 FROM t7
   WHERE b7 in (820,59,374,813,612,938,837,660,105,506,827,129,636,949)
      OR (d7=148 OR d7=418 OR 781=c7)
      OR (b7=510)

query T valuesort
  SELECT b7 FROM t7
   WHERE (b7=306 AND 238=c7 AND 139=d7 AND a7=90)
EXCEPT
  SELECT d5 FROM t5
   WHERE NOT ((c5=443 AND d5=691 AND b5=587 AND e5=98))

query T valuesort
  SELECT c5 FROM t5
   WHERE (159=b5 AND 556=a5 AND 756=c5 AND d5=269 AND e5=436)
UNION
  SELECT c2 FROM t2
   WHERE (e2=114)
      OR b2 in (170,489,35,351,532)
      OR (488=d2)
EXCEPT
  SELECT e8 FROM t8
   WHERE NOT (c8 in (136,394,691,899,77))
EXCEPT
  SELECT a1 FROM t1
   WHERE NOT ((652=b1 OR 829=a1 OR d1=35)
           OR b1 in (226,556,432,802,894,652,736,572,525,422,115)
           OR (a1=551 AND 976=c1 AND b1=662 AND 558=e1))
EXCEPT
  SELECT c9 FROM t9
   WHERE NOT ((694=d9 OR a9=962)
           OR (a9=468 OR c9=534))
EXCEPT
  SELECT a4 FROM t4
   WHERE NOT ((247=d4 AND c4=215)
           OR (752=a4 AND 0=c4)
           OR (a4=574))
UNION ALL
  SELECT e7 FROM t7
   WHERE a7 in (386,208,97,651,490,757)
      OR (c7=705 AND 197=e7 AND b7=832)
UNION
  SELECT d6 FROM t6
   WHERE e6 in (24,211,469,523,958,766,90,969,595,40,654,503,668,883)
EXCEPT
  SELECT b3 FROM t3
   WHERE NOT ((809=c3 OR 683=d3))

query T valuesort
  SELECT b1 FROM t1
   WHERE (e1=89 OR c1=39 OR 525=b1)
      OR (a1=668)
EXCEPT
  SELECT c8 FROM t8
   WHERE NOT ((431=e8 AND 160=c8 AND a8=406 AND 815=d8 AND 934=b8)
           OR d8 in (651,141,456,690,210,610,767,743,108,738,512,466,731)
           OR (b8=145 AND d8=96 AND a8=359 AND c8=961 AND e8=233))
UNION
  SELECT a4 FROM t4
   WHERE (a4=513)
      OR (276=b4)

query T valuesort
  SELECT d8 FROM t8
   WHERE (166=c8 AND 981=b8 AND a8=502 AND 918=e8)
      OR a8 in (822,591,127,848,256,445)
      OR (81=d8 OR 256=a8 OR 647=c8)
EXCEPT
  SELECT c1 FROM t1
   WHERE NOT ((171=e1 AND 593=b1 AND 900=d1 AND c1=626 AND a1=880)
           OR (776=a1 AND 181=e1 AND b1=149 AND c1=898)
           OR (569=b1 AND c1=885 AND e1=89 AND 105=d1 AND a1=738))
UNION ALL
  SELECT d5 FROM t5
   WHERE (53=a5 OR a5=447)
      OR (b5=855 AND 369=d5 AND e5=440 AND 130=c5 AND a5=81)

query T valuesort
  SELECT d4 FROM t4
   WHERE (c4=455)
      OR (e4=600 OR 35=e4)
UNION
  SELECT b1 FROM t1
   WHERE (b1=711)
      OR (a1=281 AND c1=758 AND 811=e1 AND b1=420 AND d1=900)
      OR (553=a1)
UNION ALL
  SELECT e6 FROM t6
   WHERE (565=b6 AND e6=91 AND c6=673 AND 578=d6 AND a6=251)
      OR (761=e6 OR e6=633 OR b6=537)
      OR (72=d6)
EXCEPT
  SELECT d2 FROM t2
   WHERE NOT (b2 in (812,819,725,649,72,278,820)
           OR (838=d2 OR 126=d2 OR e2=125))

query T valuesort
  SELECT a8 FROM t8
   WHERE b8 in (609,52,244,656,351,773,325,870,105,365)
      OR (a8=900)
      OR c8 in (419,154,461,297,188,961,74,79,730,799)
EXCEPT
  SELECT e4 FROM t4
   WHERE NOT ((e4=885 AND 220=b4)
           OR a4 in (981,793,139,422,625,107,450,580)
           OR e4 in (977,552,38,324,476,311,858,223,767,554,151,592,252))
EXCEPT
  SELECT a7 FROM t7
   WHERE NOT (c7 in (397,98,341,966,478,557,341,606,887,744,260,238,142)
           OR (280=b7))
UNION ALL
  SELECT a1 FROM t1
   WHERE b1 in (828,645,42,570,247,738,346,894,462,226,435,43,593)

query T valuesort
  SELECT b4 FROM t4
   WHERE a4 in (756,968,637,919,596)
UNION
  SELECT e6 FROM t6
   WHERE (353=e6 OR e6=969 OR 766=e6)

query T valuesort
  SELECT b2 FROM t2
   WHERE a2 in (304,123,135,691,262,954,495,863,336,93,442,922)
      OR b2 in (527,264,805,228,519,297,226,311,776)
      OR c2 in (869,65,318,148,653,746,582,4,902,854)
EXCEPT
  SELECT b9 FROM t9
   WHERE NOT ((935=c9 OR b9=122))
UNION
  SELECT b8 FROM t8
   WHERE (394=c8 OR 456=d8)
      OR b8 in (862,806,155,405,98,870)
EXCEPT
  SELECT e6 FROM t6
   WHERE NOT ((b6=63 AND a6=40 AND 808=e6)
           OR (e6=646 OR 376=d6 OR 286=e6)
           OR (a6=85 OR 832=c6 OR e6=682))
EXCEPT
  SELECT a4 FROM t4
   WHERE NOT (c4 in (508,424,783,927,271,214,301,489,749,948))
UNION
  SELECT e5 FROM t5
   WHERE (e5=352)
      OR d5 in (343,111,24,553,117)
UNION ALL
  SELECT a1 FROM t1
   WHERE e1 in (312,117,645,921,858,737,997,484,855,813,546,181,539)
      OR (209=e1 AND 508=d1 AND 445=a1 AND 765=c1)
      OR b1 in (55,639,894,681)
UNION ALL
  SELECT a3 FROM t3
   WHERE (102=d3 AND 239=e3 AND 273=b3)
      OR (c3=243 AND b3=334 AND 662=d3)
      OR (647=c3 AND 81=d3 AND 779=b3)
UNION ALL
  SELECT b7 FROM t7
   WHERE c7 in (41,243,887,843,467)
      OR (c7=729 AND a7=48)
      OR (166=b7 AND 945=e7 AND c7=843)

query T valuesort
  SELECT c2 FROM t2
   WHERE (818=b2 OR e2=339)
UNION
  SELECT c3 FROM t3
   WHERE (a3=515 AND 848=e3)
      OR a3 in (105,895,947,699,899,98,591,364,337)
      OR e3 in (271,846,281,984,596,765,449,913,178,136,192)
EXCEPT
  SELECT d6 FROM t6
   WHERE NOT (c6 in (12,34,938,308,543,146,297,910,500,45,648,832,446,267))
UNION ALL
  SELECT e7 FROM t7
   WHERE (e7=6 OR 282=e7)
      OR (675=d7 AND a7=299 AND e7=156)
UNION ALL
  SELECT e9 FROM t9
   WHERE (239=b9 AND 267=e9 AND c9=332)
UNION
  SELECT a4 FROM t4
   WHERE (d4=973 OR 114=b4)
      OR (a4=136 OR d4=797)
UNION
  SELECT e5 FROM t5
   WHERE e5 in (696,187,558,944)
UNION
  SELECT a8 FROM t8
   WHERE b8 in (325,182,615,665,370,647,958,792,105,313,175,642,806,369)
      OR (b8=647 AND d8=463 AND e8=608)
      OR c8 in (935,381,789,74,790,61,563,973,683,501,119,513,275,374)
UNION ALL
  SELECT d1 FROM t1
   WHERE a1 in (918,189,299,52,963,461,195,553,382,584)
      OR (640=a1)
      OR (483=e1)

query T valuesort
  SELECT e4 FROM t4
   WHERE e4 in (677,38,9,592,482,312,252,350,958)
EXCEPT
  SELECT c7 FROM t7
   WHERE NOT ((e7=455))
EXCEPT
  SELECT c3 FROM t3
   WHERE NOT (c3 in (651,455,555,372,459,133,656,494,368,77,711,435,961))
UNION ALL
  SELECT d8 FROM t8
   WHERE (a8=848)
      OR (d8=190 OR 233=c8 OR 876=d8)
      OR d8 in (889,210,14,486,327,781)
UNION ALL
  SELECT c9 FROM t9
   WHERE a9 in (177,263,28,553,685,215,18,458,584)
UNION ALL
  SELECT b1 FROM t1
   WHERE (38=d1 AND 57=c1 AND 298=e1)
EXCEPT
  SELECT e2 FROM t2
   WHERE NOT ((c2=878 AND b2=605 AND e2=781 AND d2=448)
           OR c2 in (27,854,729,136)
           OR (c2=282 AND 339=e2 AND 195=d2))

query T valuesort
  SELECT d2 FROM t2
   WHERE e2 in (720,499,899,428,981,692,151,647,945,147,535,547,433)
      OR b2 in (60,784,725,818,634,681,592,380,799,546,754,264)
UNION ALL
  SELECT c4 FROM t4
   WHERE a4 in (606,51,661,373,651,337)
EXCEPT
  SELECT a6 FROM t6
   WHERE NOT ((286=e6 OR 175=e6)
           OR b6 in (963,351,905,290,511,126,223,6,989,0,350,984,565))

query T valuesort
  SELECT c4 FROM t4
   WHERE a4 in (469,502,847,621)
UNION
  SELECT c9 FROM t9
   WHERE (426=e9)
EXCEPT
  SELECT a1 FROM t1
   WHERE NOT (e1 in (943,896,683,531,222,122,616,171,56,298,11,872)
           OR (226=b1)
           OR a1 in (294,395,145,32,276,505))
UNION
  SELECT e2 FROM t2
   WHERE c2 in (902,964,830,22,87,823,283,966,758,560)
UNION
  SELECT c7 FROM t7
   WHERE d7 in (675,891,192,772,328,148)
EXCEPT
  SELECT d5 FROM t5
   WHERE NOT ((24=a5 AND b5=723 AND 470=e5)
           OR a5 in (24,445,749,867,675,180,319,730,757,642,826,519,921)
           OR (b5=326))

query T valuesort
  SELECT d3 FROM t3
   WHERE (b3=665 OR 710=b3 OR 988=d3)
      OR (b3=617 OR 701=b3)
      OR b3 in (166,632,811,454,405,203)
UNION
  SELECT c2 FROM t2
   WHERE (711=c2 AND 939=e2 AND a2=733 AND b2=549)
      OR (360=c2 OR 185=a2)
      OR c2 in (793,150,372,837)
UNION
  SELECT d1 FROM t1
   WHERE a1 in (513,406,702,363,862,668,460,215,553,461,992,280)
EXCEPT
  SELECT b4 FROM t4
   WHERE NOT ((229=d4))
EXCEPT
  SELECT d6 FROM t6
   WHERE NOT ((e6=154)
           OR (a6=839 OR b6=490))
UNION
  SELECT c7 FROM t7
   WHERE (92=c7 AND d7=265 AND 158=a7 AND e7=782 AND b7=949)
      OR (506=b7 AND 506=d7 AND a7=158)
      OR e7 in (976,303,561,282,215,595,234)
EXCEPT
  SELECT d9 FROM t9
   WHERE NOT ((240=a9 AND 713=e9)
           OR (821=a9))
EXCEPT
  SELECT a5 FROM t5
   WHERE NOT (a5 in (696,519,800,958,749,174,867,740,904,929,796)
           OR (267=a5 OR e5=441 OR 335=a5))
EXCEPT
  SELECT a8 FROM t8
   WHERE NOT (e8 in (41,179,455,859,463,310))

query T valuesort
  SELECT e4 FROM t4
   WHERE (b4=653 OR c4=758)
      OR d4 in (481,546,973,197,146,356,713,185,905,212,901,617)
INTERSECT
  SELECT a1 FROM t1
   WHERE NOT ((172=c1 OR c1=62))
INTERSECT
  SELECT b8 FROM t8
   WHERE NOT ((947=e8 AND 269=d8 AND 637=a8 AND 149=c8 AND b8=228))
UNION
  SELECT a3 FROM t3
   WHERE (e3=254 OR b3=27 OR 347=a3)
      OR e3 in (231,593,932,959,131,83,7,596,271,192,550,239,836)
      OR (317=c3 OR c3=792)
EXCEPT
  SELECT b7 FROM t7
   WHERE NOT ((c7=853 AND e7=844 AND 386=a7))
UNION ALL
  SELECT d5 FROM t5
   WHERE (351=c5)
      OR c5 in (185,678,927,625)
UNION ALL
  SELECT c6 FROM t6
   WHERE (664=d6)

query T valuesort
  SELECT a7 FROM t7
   WHERE b7 in (59,460,105,827,764,973,362,166,921,220,407,159,422,202)
UNION ALL
  SELECT e9 FROM t9
   WHERE b9 in (26,19,211)
      OR d9 in (161,305,142,646,679,745,264,591,967,95)
      OR a9 in (269,115,549,69,263,611,14,694)
UNION ALL
  SELECT d2 FROM t2
   WHERE (c2=711 OR d2=334 OR 806=d2)
UNION
  SELECT b3 FROM t3
   WHERE d3 in (729,624,683,368,102,850,109,134,17,641)
      OR d3 in (982,825,662,737,983,641,364,984,607,270)
UNION
  SELECT c5 FROM t5
   WHERE (758=e5)
      OR (180=a5)
      OR a5 in (99,675,334,9,332)
UNION ALL
  SELECT b1 FROM t1
   WHERE (a1=371 AND b1=49 AND e1=146)
      OR (c1=379 OR d1=902 OR d1=212)

query T valuesort
  SELECT b3 FROM t3
   WHERE (262=a3)
      OR (25=e3 OR 984=d3)
      OR (338=c3 AND d3=647 AND e3=193 AND 835=b3)
EXCEPT
  SELECT a8 FROM t8
   WHERE NOT ((244=b8 OR d8=737)
           OR (c8=647 AND 767=d8 AND 773=b8 AND a8=241 AND e8=455)
           OR (a8=855 OR 761=b8))
UNION ALL
  SELECT e5 FROM t5
   WHERE (5=a5)
      OR (d5=792 OR a5=9 OR b5=731)
      OR (841=d5)
EXCEPT
  SELECT b2 FROM t2
   WHERE NOT (c2 in (228,449,272,758,24,725,900,653)
           OR (a2=123 AND c2=854 AND 592=b2))
UNION
  SELECT b4 FROM t4
   WHERE c4 in (703,0,586,6,162,127,584)
      OR (132=e4 AND 119=c4)
      OR (35=e4 OR 837=e4)

query T valuesort
  SELECT b8 FROM t8
   WHERE (e8=918 OR 7=b8)
      OR a8 in (504,127,359)
      OR (352=b8 OR 186=b8 OR 15=a8)
EXCEPT
  SELECT c1 FROM t1
   WHERE NOT ((b1=594)
           OR (a1=189)
           OR (838=e1 AND d1=643))
EXCEPT
  SELECT d9 FROM t9
   WHERE NOT (a9 in (972,413,69,115,251,511,269,56,821,102)
           OR d9 in (720,111,808))
UNION
  SELECT a6 FROM t6
   WHERE e6 in (139,747,274,511,707,595)

query T valuesort
  SELECT d4 FROM t4
   WHERE (661=d4)
      OR (799=c4 AND 546=e4)
      OR (b4=901 OR 768=c4)
UNION
  SELECT b2 FROM t2
   WHERE d2 in (216,836,546,838)
      OR (b2=90)
      OR (415=a2 AND 819=c2 AND e2=148 AND b2=546 AND d2=332)
EXCEPT
  SELECT c9 FROM t9
   WHERE NOT ((a9=757))
UNION
  SELECT c6 FROM t6
   WHERE a6 in (64,825,683,121,540,706,740,233,643,392,731,657)
UNION
  SELECT c7 FROM t7
   WHERE (b7=362)
      OR d7 in (134,226,442,296,164,801,837,526,325,671,364,886,108,177)
      OR b7 in (392,562,340,868,808,426,867,859,514)
UNION ALL
  SELECT d5 FROM t5
   WHERE (79=b5 AND 923=c5 AND 826=a5)
EXCEPT
  SELECT c1 FROM t1
   WHERE NOT (a1 in (283,746,988,179,477,607,866,524,395))

query T valuesort
  SELECT d1 FROM t1
   WHERE (853=b1 OR a1=61 OR 269=b1)
      OR (585=d1 AND 894=b1 AND 620=c1)
      OR e1 in (949,152,51)
UNION
  SELECT a5 FROM t5
   WHERE (c5=437 AND d5=555 AND b5=860 AND a5=330)
      OR (c5=250 AND a5=685)
      OR (171=d5 OR 484=b5 OR 53=a5)

query T valuesort
  SELECT d2 FROM t2
   WHERE a2 in (574,785,93,538,131,669,324,10,185,564)
      OR (e2=535)
UNION
  SELECT d6 FROM t6
   WHERE a6 in (683,653,870,821,537,396,452,270,787)
EXCEPT
  SELECT c3 FROM t3
   WHERE NOT ((e3=823 OR d3=809)
           OR (a3=12))
UNION
  SELECT c9 FROM t9
   WHERE (905=c9)
UNION ALL
  SELECT c4 FROM t4
   WHERE (a4=625)
UNION
  SELECT a5 FROM t5
   WHERE (637=a5 AND 441=e5)
UNION ALL
  SELECT e1 FROM t1
   WHERE d1 in (761,666,96,807,4)
      OR e1 in (483,921,110,534,904,523)
UNION
  SELECT b7 FROM t7
   WHERE b7 in (66,735,720,503,514,923,679,192,655,175,426,257,896)
      OR a7 in (165,707,62,500,416)

query T valuesort
  SELECT d6 FROM t6
   WHERE (c6=807 OR 595=e6)
UNION ALL
  SELECT b1 FROM t1
   WHERE (166=e1 AND 748=d1 AND c1=208 AND 726=b1 AND 438=a1)
UNION
  SELECT b3 FROM t3
   WHERE (b3=595 AND 169=e3 AND 642=d3)
      OR (c3=317 AND e3=712 AND 344=a3 AND b3=558)
      OR a3 in (143,135,697,344,335,190)
EXCEPT
  SELECT d2 FROM t2
   WHERE NOT ((548=e2)
           OR b2 in (932,278,73,820,161,729,779,784,317,864,714,897,635,376)
           OR (b2=632))
UNION ALL
  SELECT d8 FROM t8
   WHERE (c8=965)
      OR (c8=225)
      OR e8 in (617,548,678,620,440)
EXCEPT
  SELECT b4 FROM t4
   WHERE NOT ((e4=931 AND 609=c4 AND 306=d4 AND b4=267 AND a4=355)
           OR (617=e4 OR e4=257)
           OR (b4=810 AND d4=491))
UNION
  SELECT b9 FROM t9
   WHERE (763=d9 AND 841=e9 AND 11=a9 AND 803=b9 AND 587=c9)
UNION
  SELECT c5 FROM t5
   WHERE (d5=537)
      OR (851=a5)
      OR c5 in (934,147,27,689,441,797,147,601,672,101,471,185)

query T valuesort
  SELECT e7 FROM t7
   WHERE (288=a7 AND 142=d7 AND e7=815)
UNION ALL
  SELECT e3 FROM t3
   WHERE (844=e3 AND 871=d3)
      OR (d3=645)
      OR d3 in (170,944,520,386,115,336,95,522,599,826)
EXCEPT
  SELECT c9 FROM t9
   WHERE NOT ((d9=360 OR 660=a9))
UNION
  SELECT a1 FROM t1
   WHERE e1 in (166,997,181,298,113,779,117,858,56,158,616,693,468)
UNION ALL
  SELECT d2 FROM t2
   WHERE (b2=634 AND c2=653)
UNION ALL
  SELECT c4 FROM t4
   WHERE (d4=639 AND a4=261 AND c4=422 AND 892=b4 AND 820=e4)

query T valuesort
  SELECT c7 FROM t7
   WHERE e7 in (303,955,154,663,688,587,215,929,31)
EXCEPT
  SELECT b6 FROM t6
   WHERE NOT ((c6=506 AND 731=e6 AND 230=b6 AND d6=355))
UNION ALL
  SELECT b5 FROM t5
   WHERE (271=d5)
      OR (609=b5)
UNION
  SELECT b4 FROM t4
   WHERE e4 in (103,415,790,237,725,816,147,546,37,977,476,854,692,858)
      OR (b4=748 AND c4=88 AND 307=e4)
UNION
  SELECT c3 FROM t3
   WHERE b3 in (779,814,146,827,584,649,837,914,321,713,17)
      OR e3 in (896,231,108,774,724,470,119,120,846,249,131)
      OR b3 in (236,577,827,827,445,595,266)
UNION
  SELECT d9 FROM t9
   WHERE (273=c9 AND e9=987 AND 227=b9 AND d9=681 AND 416=a9)
      OR (e9=418)
EXCEPT
  SELECT d2 FROM t2
   WHERE NOT ((283=a2 AND b2=784 AND 790=d2)
           OR (d2=621 AND 35=b2 AND 579=e2 AND 268=c2 AND 545=a2))
EXCEPT
  SELECT e1 FROM t1
   WHERE NOT (d1 in (492,803,457,427,418,163,130,4,319,217,900,770,678,105)
           OR (d1=381 OR d1=161 OR 586=d1)
           OR (d1=407 OR 574=d1 OR a1=829))
EXCEPT
  SELECT e8 FROM t8
   WHERE NOT ((a8=328)
           OR (405=b8 AND 461=c8))

query T valuesort
  SELECT d1 FROM t1
   WHERE (b1=674 AND 395=a1 AND e1=442 AND 277=d1 AND 915=c1)
UNION
  SELECT a2 FROM t2
   WHERE (e2=812 OR d2=367 OR 351=d2)
EXCEPT
  SELECT c6 FROM t6
   WHERE NOT ((223=d6 AND a6=270 AND e6=324)
           OR (d6=269 AND c6=28 AND 540=a6 AND b6=601))
UNION
  SELECT d5 FROM t5
   WHERE (897=b5 AND e5=589 AND a5=335 AND 222=c5 AND d5=343)
      OR e5 in (342,585,522,206,885,22,772,154,554,971)
      OR a5 in (757,730,148,319,341,637,696)
EXCEPT
  SELECT b3 FROM t3
   WHERE NOT ((16=a3 OR e3=136 OR e3=187))
UNION ALL
  SELECT a4 FROM t4
   WHERE (170=a4 OR 794=c4 OR 150=d4)
      OR (a4=513)
UNION ALL
  SELECT d7 FROM t7
   WHERE a7 in (982,27,936,430,757,722,854,9,22)
EXCEPT
  SELECT a9 FROM t9
   WHERE NOT (a9 in (776,764,685,295,953,712,269,683,273,747,102)
           OR (272=c9 AND b9=171)
           OR (959=a9 AND 646=d9 AND b9=578))

query T valuesort
  SELECT d1 FROM t1
   WHERE (e1=146 AND d1=275 AND a1=371 AND 871=c1)
      OR (e1=222 AND b1=5 AND a1=972 AND d1=662)
      OR d1 in (936,585,661,294,828,467,990,678,655,902,35,947,105)
UNION ALL
  SELECT d3 FROM t3
   WHERE (c3=555)
      OR b3 in (814,832,677,616,58,788)
UNION ALL
  SELECT e4 FROM t4
   WHERE b4 in (721,387,919,653,137,261,68,607,986,331,826,538,901)
      OR (661=e4 OR c4=47 OR d4=524)
EXCEPT
  SELECT e9 FROM t9
   WHERE NOT ((d9=51 AND 128=b9 AND 327=c9 AND 647=e9 AND 905=a9))
EXCEPT
  SELECT d2 FROM t2
   WHERE NOT (b2 in (897,297,264,60,527,706,765,442,519,501,279))
EXCEPT
  SELECT c7 FROM t7
   WHERE NOT ((995=a7 AND c7=855)
           OR (b7=827))
UNION
  SELECT e5 FROM t5
   WHERE (d5=32 OR 725=e5 OR b5=716)
      OR b5 in (306,380,559,784)

query T valuesort
  SELECT b8 FROM t8
   WHERE b8 in (773,366,313,975,640,493,300,259,219,677,155,205,725)
      OR (e8=186)
      OR b8 in (351,603,370,981)
UNION ALL
  SELECT c9 FROM t9
   WHERE (a9=215)
      OR b9 in (410,19,128,178,152,680,819,19,66,210,446,496)
      OR (e9=657 OR 711=c9)
EXCEPT
  SELECT d2 FROM t2
   WHERE NOT ((151=e2 OR a2=189)
           OR e2 in (654,123,923,37,638,679,938,777,118,510,647,621,812)
           OR (c2=247 AND a2=245 AND b2=329 AND 73=e2 AND d2=860))
EXCEPT
  SELECT c6 FROM t6
   WHERE NOT ((851=a6 AND 750=e6 AND c6=416 AND 993=d6))
UNION
  SELECT c5 FROM t5
   WHERE (d5=856)
      OR (225=e5 AND c5=249 AND 731=d5)
      OR (506=b5)
UNION
  SELECT c3 FROM t3
   WHERE (b3=882 AND 929=e3 AND 986=c3 AND d3=134 AND a3=560)
UNION
  SELECT b4 FROM t4
   WHERE d4 in (797,356,223,953,907)
      OR (d4=223 AND e4=575)
      OR e4 in (103,37,631,835,237,163,9,486,81,141,737)
EXCEPT
  SELECT c1 FROM t1
   WHERE NOT ((362=b1 AND a1=61 AND 95=e1 AND 776=c1)
           OR (523=b1 OR a1=821))

query T valuesort
  SELECT e2 FROM t2
   WHERE (e2=671 OR d2=749 OR a2=217)
      OR (b2=729 AND 35=a2 AND d2=292)
      OR (812=b2 OR e2=483)
EXCEPT
  SELECT b1 FROM t1
   WHERE NOT (a1 in (173,380,678))
EXCEPT
  SELECT d3 FROM t3
   WHERE NOT ((a3=548))
UNION ALL
  SELECT b5 FROM t5
   WHERE (c5=678 OR c5=12)

query T valuesort
  SELECT b9 FROM t9
   WHERE (e9=621)
INTERSECT
  SELECT c7 FROM t7
   WHERE NOT ((948=c7 OR c7=548 OR b7=813))
UNION
  SELECT a5 FROM t5
   WHERE (642=a5 OR 594=e5)
EXCEPT
  SELECT d8 FROM t8
   WHERE NOT ((466=b8)
           OR d8 in (463,683,482)
           OR (642=b8 OR 715=d8))
EXCEPT
  SELECT e4 FROM t4
   WHERE NOT ((e4=415 OR e4=312 OR 469=a4)
           OR (968=a4)
           OR b4 in (288,816,982,941,76,917,606,847,849,276,982,826))
UNION
  SELECT a3 FROM t3
   WHERE (a3=368)
      OR (690=e3 OR d3=102)
      OR (823=e3 AND 662=d3 AND a3=788 AND 243=c3 AND 334=b3)
UNION
  SELECT b2 FROM t2
   WHERE (a2=775 AND d2=750 AND b2=545 AND c2=46)
UNION
  SELECT d1 FROM t1
   WHERE (e1=558)
      OR (440=b1 AND c1=955 AND e1=87 AND a1=222 AND d1=602)

query T valuesort
  SELECT e3 FROM t3
   WHERE (774=e3 AND 806=c3 AND a3=244 AND d3=314)
      OR (c3=800 AND b3=70 AND d3=170 AND e3=303 AND 197=a3)
      OR b3 in (178,386,549,156,480,318,214)
UNION ALL
  SELECT a7 FROM t7
   WHERE (a7=500 AND e7=4)
      OR a7 in (114,27,916,715,848,982,325,950,982,158)
EXCEPT
  SELECT a9 FROM t9
   WHERE NOT (c9 in (451,923,751,90,476,278,836,126,739,575,739,347,857,975)
           OR (938=d9 AND 703=b9 AND a9=982 AND c9=801 AND 15=e9))

query T valuesort
  SELECT c5 FROM t5
   WHERE (319=a5 AND 544=b5)
      OR d5 in (255,919,479,271,521,369,731)
      OR (d5=811)
INTERSECT
  SELECT a4 FROM t4
   WHERE NOT ((917=d4 OR 806=c4)
           OR (b4=877 AND 185=a4 AND e4=372)
           OR (c4=301))
UNION ALL
  SELECT a1 FROM t1
   WHERE (d1=4 OR b1=956)
UNION ALL
  SELECT d7 FROM t7
   WHERE (e7=39)
      OR (b7=583)
      OR (506=d7)
UNION ALL
  SELECT d9 FROM t9
   WHERE d9 in (608,145,553,606,95,660,745)
      OR e9 in (968,575,844,368,934)
UNION ALL
  SELECT d3 FROM t3
   WHERE c3 in (711,986,490,117,102)
      OR e3 in (87,527,192,83,876,235,848,836,981,972)
UNION ALL
  SELECT e8 FROM t8
   WHERE (12=a8 AND d8=50 AND e8=383)

query T valuesort
  SELECT d4 FROM t4
   WHERE (81=a4 OR 31=a4 OR a4=451)
      OR d4 in (988,794,364,844,910,713,199,777,821,60,481,877,549,31)
UNION ALL
  SELECT d2 FROM t2
   WHERE (b2=846 AND 279=a2)
EXCEPT
  SELECT c3 FROM t3
   WHERE NOT ((708=d3 AND 181=a3 AND 876=e3))
UNION ALL
  SELECT e6 FROM t6
   WHERE (d6=453 OR b6=243)
UNION ALL
  SELECT b1 FROM t1
   WHERE (b1=128 AND 585=c1 AND 581=d1 AND 967=a1)

query T valuesort
  SELECT d4 FROM t4
   WHERE (d4=498)
      OR (c4=904)
INTERSECT
  SELECT b7 FROM t7
   WHERE NOT (b7 in (273,804,178,426,392,896,495,460,202,374)
           OR (b7=517))
UNION
  SELECT b8 FROM t8
   WHERE (391=d8 AND 883=a8 AND e8=416)
      OR b8 in (186,244,975,773,386,287,7,269,397,564,454,542,469)
      OR e8 in (881,105,463,586,956,392)
UNION ALL
  SELECT c2 FROM t2
   WHERE (23=d2 OR e2=148 OR 537=d2)

query T valuesort
  SELECT a6 FROM t6
   WHERE (452=a6)
      OR (d6=901 OR 565=b6 OR c6=25)
      OR (250=b6 OR a6=653)
EXCEPT
  SELECT c1 FROM t1
   WHERE NOT ((d1=799 AND b1=179 AND 88=a1)
           OR (866=a1 OR a1=544))
EXCEPT
  SELECT d7 FROM t7
   WHERE NOT (d7 in (666,91,988,892,296,226,996,777)
           OR (452=a7))
UNION
  SELECT a4 FROM t4
   WHERE e4 in (531,405,738,296,6,763,381,37,778,29,377,179,184)

query T valuesort
  SELECT a2 FROM t2
   WHERE b2 in (628,170,357,527,784,279,932,811,820)
      OR (e2=554 AND 925=c2 AND a2=564 AND d2=152 AND 139=b2)
INTERSECT
  SELECT b8 FROM t8
   WHERE NOT ((327=a8 OR d8=608))
UNION ALL
  SELECT b4 FROM t4
   WHERE (d4=983 AND 447=a4)
UNION ALL
  SELECT a9 FROM t9
   WHERE b9 in (912,832,855,251,103,900)
EXCEPT
  SELECT e3 FROM t3
   WHERE NOT (e3 in (254,833,550,876,975,155,235,108,272,602,83,821,651,466)
           OR (b3=434 OR c3=792 OR 899=a3))
EXCEPT
  SELECT d7 FROM t7
   WHERE NOT (c7 in (145,672,12,954,375))
UNION
  SELECT c6 FROM t6
   WHERE c6 in (122,146,452,677)
EXCEPT
  SELECT b5 FROM t5
   WHERE NOT ((343=d5 AND 897=b5 AND 589=e5)
           OR (e5=150 AND c5=941 AND 326=b5 AND a5=615))
UNION
  SELECT e1 FROM t1
   WHERE d1 in (643,294,432,35,38,799,701,416,666,990)
      OR (c1=979 OR 943=e1 OR 328=e1)

query T valuesort
  SELECT c1 FROM t1
   WHERE (d1=274)
      OR e1 in (158,779,181,146,522,166,95)
UNION
  SELECT b8 FROM t8
   WHERE d8 in (108,833,330)
      OR (894=a8)
UNION ALL
  SELECT a2 FROM t2
   WHERE (117=e2 OR 225=d2 OR 574=a2)
UNION
  SELECT d9 FROM t9
   WHERE (122=b9)
      OR d9 in (495,553,821,660,922,646,166,226)
      OR e9 in (854,954,383,30)
UNION
  SELECT b4 FROM t4
   WHERE (e4=512 AND 713=b4 AND c4=398)
      OR (40=b4 OR e4=273 OR e4=438)
EXCEPT
  SELECT a3 FROM t3
   WHERE NOT ((c3=81)
           OR (181=a3 AND 708=d3 AND 577=b3))
UNION
  SELECT a7 FROM t7
   WHERE (e7=979 AND 177=d7 AND 869=a7 AND c7=523 AND 868=b7)
      OR (158=a7 OR 750=b7)
EXCEPT
  SELECT a6 FROM t6
   WHERE NOT (e6 in (5,654,67,816,6,511,241,24,417,139)
           OR a6 in (392,818,811,787,518,355)
           OR b6 in (875,650,507,834,662))

query T valuesort
  SELECT c3 FROM t3
   WHERE (a3=899 OR c3=472)
      OR (550=e3)
EXCEPT
  SELECT e7 FROM t7
   WHERE NOT ((948=c7 AND 462=e7 AND 360=b7 AND d7=801 AND 439=a7))
UNION
  SELECT c4 FROM t4
   WHERE b4 in (919,289,532,784,434,938,480,986,114,2,137,924,331)
EXCEPT
  SELECT d1 FROM t1
   WHERE NOT (e1 in (152,298,78,731,210))
UNION ALL
  SELECT e6 FROM t6
   WHERE (a6=414 AND 993=b6 AND e6=601)

query T valuesort
  SELECT c3 FROM t3
   WHERE (c3=244)
      OR b3 in (617,202,411,480,226,434,317)
      OR (d3=729)
INTERSECT
  SELECT b4 FROM t4
   WHERE NOT ((579=b4 AND 916=e4 AND c4=271 AND d4=889 AND 847=a4)
           OR (82=a4 AND 644=b4)
           OR (247=d4))
EXCEPT
  SELECT e7 FROM t7
   WHERE NOT (e7 in (455,827,929,462,590,503))

query T valuesort
  SELECT a6 FROM t6
   WHERE d6 in (196,405,942,66,223)
      OR c6 in (807,413,187,637,963,677,717,752)
      OR (b6=126 AND a6=643 AND e6=711)
UNION ALL
  SELECT a9 FROM t9
   WHERE (907=a9 OR 307=e9)
UNION ALL
  SELECT c8 FROM t8
   WHERE a8 in (402,12,638,200,514,841,289,702,153,331)
      OR b8 in (906,761,540,34,702,102,155,9,981,359,741,287,615)
      OR (d8=615 AND 289=a8 AND 997=b8)
EXCEPT
  SELECT c1 FROM t1
   WHERE NOT ((e1=880 AND 346=d1 AND a1=451 AND b1=525))
EXCEPT
  SELECT d3 FROM t3
   WHERE NOT ((e3=163 AND b3=474 AND 145=c3)
           OR (825=d3))
EXCEPT
  SELECT e4 FROM t4
   WHERE NOT ((373=d4 OR d4=376 OR 107=a4))

query T valuesort
  SELECT c9 FROM t9
   WHERE (955=c9 AND 535=a9)
UNION ALL
  SELECT e8 FROM t8
   WHERE (702=b8 AND e8=700 AND 841=a8 AND 563=c8)
EXCEPT
  SELECT e6 FROM t6
   WHERE NOT ((963=b6 AND 595=e6))
UNION ALL
  SELECT a2 FROM t2
   WHERE d2 in (23,806,404,19,377,750)
      OR (c2=819 AND 148=e2 AND b2=546)
      OR (c2=746)
UNION ALL
  SELECT d3 FROM t3
   WHERE (d3=217)
      OR (c3=178)
EXCEPT
  SELECT c7 FROM t7
   WHERE NOT (e7 in (462,624,595,462,456))

query T valuesort
  SELECT e8 FROM t8
   WHERE (98=b8 OR e8=881)
      OR d8 in (474,192,899,849,627,953)
UNION
  SELECT e2 FROM t2
   WHERE (b2=148 AND e2=572 AND 137=d2 AND c2=729 AND 266=a2)
EXCEPT
  SELECT b9 FROM t9
   WHERE NOT ((679=d9 OR 834=c9 OR d9=790))
EXCEPT
  SELECT e5 FROM t5
   WHERE NOT (c5 in (443,668,868,602,756,601,86,598,250,941,634,158,351)
           OR (335=a5)
           OR (d5=667))

query T valuesort
  SELECT c8 FROM t8
   WHERE (e8=381 OR 422=d8 OR 954=a8)
      OR (b8=790 OR e8=204)
      OR c8 in (381,901,790,799)
EXCEPT
  SELECT a9 FROM t9
   WHERE NOT ((959=a9 AND e9=868 AND 578=b9 AND d9=646 AND c9=739)
           OR (809=c9 AND 447=b9)
           OR (d9=495 OR b9=2 OR 445=e9))
EXCEPT
  SELECT e7 FROM t7
   WHERE NOT ((527=d7))
UNION ALL
  SELECT b4 FROM t4
   WHERE (c4=703 OR 933=a4 OR c4=127)

query T valuesort
  SELECT b6 FROM t6
   WHERE (e6=139 AND b6=662 AND 750=d6 AND 491=c6)
      OR a6 in (45,653,604,129,366,392,66)
UNION
  SELECT c5 FROM t5
   WHERE d5 in (280,682,841,780,835,806,855,557,789,4,806,731,883,33)
      OR a5 in (721,818,270,50)
      OR (361=d5 OR d5=957)
UNION ALL
  SELECT a3 FROM t3
   WHERE (b3=549 AND 476=c3 AND 401=e3)
      OR (124=b3 OR e3=578)
      OR c3 in (516,490,600,81,244,890,647,986,134,986)
UNION
  SELECT a8 FROM t8
   WHERE (a8=728)
      OR (d8=512)
UNION
  SELECT c1 FROM t1
   WHERE (d1=951)
UNION ALL
  SELECT d7 FROM t7
   WHERE e7 in (301,92,168,422,903,827,462,288,976,183,841,89,970)
      OR (c7=14 AND a7=736)
UNION ALL
  SELECT c9 FROM t9
   WHERE d9 in (554,965,922,660)

query T valuesort
  SELECT b4 FROM t4
   WHERE (e4=476)
UNION ALL
  SELECT d2 FROM t2
   WHERE (c2=450)
EXCEPT
  SELECT c1 FROM t1
   WHERE NOT (a1 in (451,544,847,161,371))
UNION
  SELECT b6 FROM t6
   WHERE (a6=355)
EXCEPT
  SELECT d7 FROM t7
   WHERE NOT (e7 in (462,552,31,89,303,918)
           OR (a7=736 AND 506=e7 AND c7=14))

query T valuesort
  SELECT c3 FROM t3
   WHERE (499=a3)
EXCEPT
  SELECT e7 FROM t7
   WHERE NOT ((b7=257 AND c7=375 AND e7=422 AND 315=d7)
           OR (d7=620 AND a7=231 AND 981=c7 AND e7=503))
EXCEPT
  SELECT a2 FROM t2
   WHERE NOT ((d2=886))

query T valuesort
  SELECT b7 FROM t7
   WHERE (e7=234)
      OR (e7=248 AND b7=735)
      OR (982=a7 AND b7=861 AND 306=d7 AND 508=c7 AND e7=860)
INTERSECT
  SELECT b3 FROM t3
   WHERE NOT ((135=a3 OR e3=466)
           OR (b3=888 OR c3=133)
           OR b3 in (146,592,665,269,558))
INTERSECT
  SELECT a8 FROM t8
   WHERE NOT (a8 in (256,259,923,946,774,961,855,637)
           OR (b8=640)
           OR (339=d8 AND 179=e8 AND b8=761 AND c8=775))
UNION ALL
  SELECT d1 FROM t1
   WHERE (643=a1)
      OR (69=c1 OR a1=931 OR a1=785)
      OR (d1=626 AND 300=e1 AND 781=b1)
UNION ALL
  SELECT e6 FROM t6
   WHERE (e6=1 AND 144=b6 AND c6=543 AND 696=a6 AND d6=970)
EXCEPT
  SELECT c2 FROM t2
   WHERE NOT ((414=d2 AND a2=814 AND e2=808 AND b2=145 AND 907=c2)
           OR (e2=307 AND 317=b2 AND a2=751)
           OR (955=e2 OR b2=113 OR 428=e2))
EXCEPT
  SELECT d4 FROM t4
   WHERE NOT (a4 in (580,442,92,502,841,373,662,845,950)
           OR (e4=185 AND d4=212)
           OR (220=b4))
UNION ALL
  SELECT c5 FROM t5
   WHERE (610=e5)
      OR (964=d5 OR 492=d5 OR c5=799)
UNION
  SELECT e9 FROM t9
   WHERE (a9=102 AND 926=d9 AND c9=469 AND 818=b9 AND e9=854)
      OR (857=c9 OR b9=746 OR 253=c9)

query T valuesort
  SELECT b3 FROM t3
   WHERE (c3=317 OR b3=350 OR c3=641)
INTERSECT
  SELECT b8 FROM t8
   WHERE NOT ((e8=421 AND 77=c8)
           OR (d8=269 AND e8=947 AND 637=a8 AND c8=149 AND b8=228)
           OR (e8=204))
INTERSECT
  SELECT d7 FROM t7
   WHERE NOT ((594=d7))
EXCEPT
  SELECT c6 FROM t6
   WHERE NOT ((a6=764)
           OR (45=a6 AND d6=667 AND b6=390 AND e6=707))
EXCEPT
  SELECT e9 FROM t9
   WHERE NOT ((737=e9)
           OR (365=a9 OR d9=720 OR 804=b9))

query T valuesort
  SELECT b6 FROM t6
   WHERE e6 in (353,237,154,754,668,230,211,809,225,622,283)
UNION
  SELECT b9 FROM t9
   WHERE (240=a9 AND 987=d9 AND c9=476 AND 149=b9)
      OR b9 in (136,783,868,74,301,228)
EXCEPT
  SELECT d4 FROM t4
   WHERE NOT ((c4=631 AND 905=d4 AND 387=b4 AND e4=147))

query T valuesort
  SELECT c9 FROM t9
   WHERE (142=d9 AND 694=e9 AND 15=b9 AND a9=356)
      OR c9 in (992,751,853,224,711,767,257)
UNION
  SELECT b8 FROM t8
   WHERE a8 in (5,900,702,347,963,70,651,957,200,472,312)
      OR e8 in (463,729,14,497,678,859,533,63)
      OR (a8=47 OR 88=c8)
UNION ALL
  SELECT b7 FROM t7
   WHERE d7 in (590,292,118,575,801,105,79,902,805,594,34,148,956,777)
EXCEPT
  SELECT b6 FROM t6
   WHERE NOT (e6 in (95,707,67,738,794,798,554,255)
           OR (282=c6 OR 590=d6))
EXCEPT
  SELECT b2 FROM t2
   WHERE NOT ((c2=728 OR 585=b2 OR 411=e2)
           OR (b2=632 AND 235=a2))
UNION ALL
  SELECT a3 FROM t3
   WHERE d3 in (729,607,895,896,314,650,364,983,923)
UNION ALL
  SELECT d4 FROM t4
   WHERE (e4=206 OR 608=b4)
      OR (884=b4 AND a4=662)

query T valuesort
  SELECT e1 FROM t1
   WHERE (a1=604 AND c1=681 AND e1=443 AND d1=121 AND b1=788)
      OR (c1=537 OR 716=c1)
      OR (695=e1 AND d1=955 AND 266=b1 AND c1=787)
EXCEPT
  SELECT c4 FROM t4
   WHERE NOT ((412=a4 OR d4=706))
UNION ALL
  SELECT e8 FROM t8
   WHERE (249=c8 OR e8=431 OR e8=463)
      OR b8 in (741,461,493)
EXCEPT
  SELECT b7 FROM t7
   WHERE NOT (e7 in (624,432,979,156,590,303,290,39,975,816,439,929,462)
           OR (389=c7 AND 340=b7 AND d7=436 AND e7=168 AND 167=a7))
UNION ALL
  SELECT b9 FROM t9
   WHERE (c9=146 AND 942=e9 AND 297=a9)
      OR d9 in (922,987,464,388,601,763,679,389,646,224,86,606)
      OR (c9=613 AND d9=489 AND a9=905 AND b9=19 AND 845=e9)
UNION
  SELECT c2 FROM t2
   WHERE d2 in (772,362,365,977,351,537,760,886,892,177)
      OR a2 in (853,2,262,898,718,371,327,64,733,9,751)
      OR (987=a2)
EXCEPT
  SELECT e3 FROM t3
   WHERE NOT ((555=c3 AND 729=d3 AND 255=a3)
           OR a3 in (347,995,651,895,500,129,971,899))
EXCEPT
  SELECT e6 FROM t6
   WHERE NOT (b6 in (427,421,696,601,993,650,0))

query T valuesort
  SELECT e1 FROM t1
   WHERE (d1=900 OR 146=e1)
      OR d1 in (17,96,803)
INTERSECT
  SELECT c2 FROM t2
   WHERE NOT (d2 in (416,760,847,377,137,914,310)
           OR e2 in (820,556,117,815,981)
           OR d2 in (306,345,351,126,513,448,328,516,265,931,284))
UNION ALL
  SELECT d9 FROM t9
   WHERE a9 in (251,149,318,356,218,511,815,905,660,685,102)
EXCEPT
  SELECT a6 FROM t6
   WHERE NOT ((696=a6 AND 1=e6 AND b6=144 AND 970=d6 AND c6=543))
UNION ALL
  SELECT e8 FROM t8
   WHERE a8 in (952,72,200,838,5,651,702,795,183,90)
      OR (a8=256)

query T valuesort
  SELECT b5 FROM t5
   WHERE c5 in (797,672,442,734,941,844,856,868,147,598,185,756,681)
      OR (336=b5 AND 147=c5)
      OR d5 in (263,806,309,98,963,32,858)
INTERSECT
  SELECT c2 FROM t2
   WHERE NOT ((e2=953))
UNION
  SELECT a7 FROM t7
   WHERE (85=a7 OR 808=b7 OR 885=d7)
      OR (457=d7)
      OR d7 in (341,549,325,549,225)
UNION
  SELECT b8 FROM t8
   WHERE (a8=620 AND 60=d8 AND b8=704 AND e8=864 AND 973=c8)
      OR (e8=761)

query T valuesort
  SELECT b7 FROM t7
   WHERE (e7=553)
EXCEPT
  SELECT c1 FROM t1
   WHERE NOT ((c1=172 AND 899=d1)
           OR (870=c1 AND b1=711 AND 14=e1))

query T valuesort
  SELECT d9 FROM t9
   WHERE (146=c9 AND 942=e9 AND d9=467 AND 297=a9 AND b9=848)
      OR (d9=274 AND a9=160 AND 269=b9 AND e9=943 AND 923=c9)
INTERSECT
  SELECT a4 FROM t4
   WHERE NOT ((b4=721 AND c4=674 AND 628=d4 AND a4=16)
           OR (e4=661 OR d4=185 OR 261=a4)
           OR c4 in (47,344,417,675,301,127,936,273,971,728,221,703,783))
UNION
  SELECT a7 FROM t7
   WHERE a7 in (430,642,863,649,691,832,715,240,684,736)
      OR (e7=860)

query T valuesort
  SELECT e1 FROM t1
   WHERE (776=a1 OR 139=e1 OR 382=a1)
      OR (b1=283)
      OR (885=d1 OR 636=c1)
UNION ALL
  SELECT c8 FROM t8
   WHERE (c8=965 OR 297=c8)
      OR (b8=725 OR b8=145)
EXCEPT
  SELECT e3 FROM t3
   WHERE NOT ((d3=683 AND a3=396)
           OR (317=b3))

query T valuesort
  SELECT a8 FROM t8
   WHERE (c8=74 OR a8=15)
      OR (794=a8)
EXCEPT
  SELECT b3 FROM t3
   WHERE NOT ((a3=143)
           OR (317=c3 AND 712=e3 AND b3=558 AND 344=a3 AND d3=553)
           OR (e3=365 AND b3=122 AND a3=105 AND d3=133))
EXCEPT
  SELECT a5 FROM t5
   WHERE NOT ((b5=784 AND 847=d5 AND 551=c5 AND e5=441 AND a5=637))
UNION
  SELECT e4 FROM t4
   WHERE c4 in (581,794,88)
      OR c4 in (993,424,153,0,403)
EXCEPT
  SELECT c7 FROM t7
   WHERE NOT (a7 in (31,130,386,684,290,894,48,158,699,35,565,416)
           OR (276=d7)
           OR (c7=180 OR c7=232))
EXCEPT
  SELECT a9 FROM t9
   WHERE NOT ((801=c9 OR a9=450 OR c9=587)
           OR (736=e9)
           OR e9 in (841,804,737,657,868,486,854,567,477,619,792))
EXCEPT
  SELECT e6 FROM t6
   WHERE NOT ((e6=95 OR 54=b6)
           OR c6 in (416,620,267,320,12,146,159,752,717)
           OR (a6=129))
EXCEPT
  SELECT e1 FROM t1
   WHERE NOT ((e1=696 AND b1=426))
EXCEPT
  SELECT b2 FROM t2
   WHERE NOT ((c2=557 AND a2=308))

query T valuesort
  SELECT c4 FROM t4
   WHERE (d4=236)
INTERSECT
  SELECT b6 FROM t6
   WHERE NOT (a6 in (384,801,173,821,615,40,182,811,251,818)
           OR a6 in (104,537,45,683,522,366,222,861))
UNION ALL
  SELECT d9 FROM t9
   WHERE (845=e9 AND 613=c9 AND 19=b9 AND 905=a9 AND d9=489)
      OR (987=d9)
EXCEPT
  SELECT a5 FROM t5
   WHERE NOT ((334=a5 OR 667=d5))
EXCEPT
  SELECT b7 FROM t7
   WHERE NOT ((d7=885 OR 929=e7 OR d7=974)
           OR b7 in (360,660,506,923,804))
EXCEPT
  SELECT e2 FROM t2
   WHERE NOT ((e2=524))
EXCEPT
  SELECT e1 FROM t1
   WHERE NOT ((807=d1 AND 296=c1 AND 731=e1 AND a1=294)
           OR (c1=534 OR d1=394 OR e1=442)
           OR (130=d1 AND 113=b1 AND 117=e1 AND 707=a1))

query T valuesort
  SELECT e8 FROM t8
   WHERE (c8=486 OR e8=579)
      OR (979=c8 AND e8=776 AND d8=124 AND a8=504)
      OR (d8=953 AND a8=453 AND c8=77)
UNION
  SELECT c9 FROM t9
   WHERE (102=a9)
      OR (688=c9 AND e9=687)

query T valuesort
  SELECT d6 FROM t6
   WHERE (d6=424)
      OR (2=a6 AND e6=211 AND 469=d6)
      OR e6 in (969,95,711,237,225)
UNION ALL
  SELECT a3 FROM t3
   WHERE c3 in (898,800,395,594,845,607,986,763,885,400)
      OR (593=e3)
      OR (d3=635 AND c3=84)

query T valuesort
  SELECT e9 FROM t9
   WHERE (c9=240 AND e9=944)
      OR (a9=847 OR 14=a9)
      OR (388=e9 OR d9=618 OR 361=b9)
EXCEPT
  SELECT d7 FROM t7
   WHERE NOT ((b7=360 OR 807=c7 OR 936=a7)
           OR (c7=692)
           OR (a7=884))
UNION ALL
  SELECT a8 FROM t8
   WHERE (b8=803 AND 511=d8 AND c8=79 AND e8=203 AND a8=920)
UNION
  SELECT c4 FROM t4
   WHERE a4 in (502,489,447,982,105,606,505,136,981,637,327,952,451)
      OR (408=b4 OR d4=373 OR 144=d4)
      OR (713=b4 AND 228=a4 AND c4=398)
EXCEPT
  SELECT b2 FROM t2
   WHERE NOT (e2 in (125,427,123,564,671,428,548,699,223,955,441)
           OR (b2=897 OR c2=688 OR 548=e2))

query T valuesort
  SELECT c3 FROM t3
   WHERE (d3=425 AND 584=b3 AND c3=887 AND e3=333 AND a3=865)
      OR (763=c3 AND 354=d3 AND 27=b3)
UNION ALL
  SELECT e8 FROM t8
   WHERE (b8=609 AND 273=c8 AND e8=411)
      OR (894=a8 OR d8=14 OR 690=d8)

query T valuesort
  SELECT d2 FROM t2
   WHERE b2 in (674,161,846,292,376,729,681,501,168)
UNION ALL
  SELECT d4 FROM t4
   WHERE (b4=137)
      OR (136=a4 OR c4=508 OR c4=749)
EXCEPT
  SELECT e8 FROM t8
   WHERE NOT ((111=c8 AND 1=b8 AND e8=893)
           OR e8 in (416,893,776,561,761))
EXCEPT
  SELECT d3 FROM t3
   WHERE NOT ((552=e3 AND 892=a3 AND b3=616 AND c3=601))
EXCEPT
  SELECT b6 FROM t6
   WHERE NOT ((d6=901 OR d6=2 OR e6=840))
UNION ALL
  SELECT c9 FROM t9
   WHERE e9 in (687,291,944,679,799)
      OR a9 in (177,273,104,389,295,891,468,488,879,972)
      OR (e9=230 OR 148=a9)

query T valuesort
  SELECT d8 FROM t8
   WHERE c8 in (668,249,965,648,354,77,821)
UNION
  SELECT b9 FROM t9
   WHERE e9 in (694,619,687)

query T valuesort
  SELECT d4 FROM t4
   WHERE (c4=513 AND 568=d4)
      OR (c4=768 OR b4=901)
EXCEPT
  SELECT c9 FROM t9
   WHERE NOT ((a9=776 OR 807=c9)
           OR a9 in (435,924,891,148,172,297,429,830,747,841,14,78))
EXCEPT
  SELECT a2 FROM t2
   WHERE NOT (d2 in (332,772,897,488,79,80,235,14)
           OR (a2=175 OR 56=e2 OR b2=297))
UNION
  SELECT b3 FROM t3
   WHERE (a3=349 OR e3=131 OR 522=d3)
      OR (b3=811 AND e3=989 AND a3=532 AND c3=53)
UNION
  SELECT e7 FROM t7
   WHERE (861=b7 OR 442=a7)
      OR (120=b7 AND a7=130)

query T valuesort
  SELECT b1 FROM t1
   WHERE (761=d1 AND 330=a1)
      OR (988=a1 AND 130=d1 AND e1=962 AND 88=c1)
      OR (226=b1 OR 32=b1)
INTERSECT
  SELECT b2 FROM t2
   WHERE NOT (b2 in (545,796,985,173,818,351,546,211))
UNION ALL
  SELECT e6 FROM t6
   WHERE d6 in (500,822,151,446,473)
      OR a6 in (610,392,116,861,818,35,683,615,811,643,128,452)
      OR (629=b6 OR 689=d6)
EXCEPT
  SELECT d4 FROM t4
   WHERE NOT (c4 in (584,84,768,674,791,993,422)
           OR d4 in (665,583,247,657))
UNION ALL
  SELECT a8 FROM t8
   WHERE e8 in (833,944,881,729,487,384,533)
      OR a8 in (127,672,855,129,957,620,171,946,963,578,248,826)
UNION ALL
  SELECT e9 FROM t9
   WHERE (b9=348 AND d9=959)
      OR e9 in (737,161,30,117,15,301)
UNION
  SELECT d7 FROM t7
   WHERE c7 in (333,585,238,944,853,781,508,672,488,934,887,575)
      OR (a7=936 AND 827=b7)

query T valuesort
  SELECT e6 FROM t6
   WHERE c6 in (65,242,146)
EXCEPT
  SELECT d4 FROM t4
   WHERE NOT ((d4=821 AND c4=357 AND 765=b4 AND e4=6))
UNION ALL
  SELECT e7 FROM t7
   WHERE (b7=996 OR e7=92)
      OR d7 in (988,442,500,324,506,831,680,183,805,418,134,265,902)
UNION ALL
  SELECT b1 FROM t1
   WHERE (c1=366 OR 822=b1)

query T valuesort
  SELECT d4 FROM t4
   WHERE d4 in (728,86,317,491,661,907,105,950,658,901,166,136)
INTERSECT
  SELECT a2 FROM t2
   WHERE NOT ((b2=90 OR c2=337 OR 803=d2)
           OR (933=c2))
UNION ALL
  SELECT a3 FROM t3
   WHERE (615=a3 OR 162=a3)
UNION ALL
  SELECT d8 FROM t8
   WHERE (421=c8 AND b8=615 AND 105=e8 AND d8=190 AND 210=a8)
      OR (933=e8 OR 349=e8 OR e8=179)
      OR b8 in (313,673,564)
EXCEPT
  SELECT e9 FROM t9
   WHERE NOT ((360=d9 AND 827=b9)
           OR (a9=611)
           OR b9 in (211,171,285,680))
EXCEPT
  SELECT c5 FROM t5
   WHERE NOT (b5 in (424,389,860,193,26,640,433,716,79,930,858))
EXCEPT
  SELECT c6 FROM t6
   WHERE NOT ((b6=681 OR a6=251 OR b6=210)
           OR b6 in (923,421,296,490,243,202,575,267,739))

query T valuesort
  SELECT d5 FROM t5
   WHERE (a5=599)
UNION ALL
  SELECT b2 FROM t2
   WHERE (317=d2 OR d2=46)
EXCEPT
  SELECT c4 FROM t4
   WHERE NOT ((252=e4 AND 596=a4 AND d4=85 AND c4=82)
           OR d4 in (511,236,777,821,349,212,706,639,246,979,185,997))
EXCEPT
  SELECT c6 FROM t6
   WHERE NOT ((811=a6 OR c6=749 OR 718=c6)
           OR (699=b6 AND e6=738 AND 46=a6))
UNION
  SELECT b8 FROM t8
   WHERE (a8=289 OR 79=c8)
UNION
  SELECT c1 FROM t1
   WHERE (b1=808)
      OR e1 in (14,117,671)

query T valuesort
  SELECT b5 FROM t5
   WHERE (e5=727)
INTERSECT
  SELECT e6 FROM t6
   WHERE NOT (e6 in (230,915,622,395,175))
INTERSECT
  SELECT a9 FROM t9
   WHERE NOT ((d9=463 OR b9=818 OR 841=e9))
UNION
  SELECT d4 FROM t4
   WHERE (376=d4 AND c4=752 AND b4=35)
EXCEPT
  SELECT e7 FROM t7
   WHERE NOT (c7 in (589,855,103,970,705,853,377,103,78,948,364)
           OR (134=a7 AND 435=c7 AND e7=988 AND 804=b7))

query T valuesort
  SELECT a7 FROM t7
   WHERE (d7=457 OR 183=e7)
      OR (156=e7 OR 851=e7)
EXCEPT
  SELECT c3 FROM t3
   WHERE NOT (b3 in (474,701,224,811,577,710)
           OR (515=d3 AND c3=898))
EXCEPT
  SELECT b8 FROM t8
   WHERE NOT ((668=c8 OR 617=e8)
           OR (166=c8 AND 918=e8 AND 981=b8 AND d8=894 AND 502=a8)
           OR (a8=66 OR 391=d8 OR 50=d8))
UNION ALL
  SELECT e6 FROM t6
   WHERE (718=a6 AND d6=147 AND e6=469 AND b6=989 AND c6=534)
      OR (187=c6 OR 946=e6 OR a6=45)
EXCEPT
  SELECT e5 FROM t5
   WHERE NOT ((e5=311 AND 320=a5 AND c5=293 AND 759=b5 AND 738=d5)
           OR c5 in (657,747,313,384,471,86,733,855,681,196,797,149)
           OR (55=a5 AND 656=e5 AND 140=c5 AND 977=d5 AND 716=b5))
EXCEPT
  SELECT b4 FROM t4
   WHERE NOT (b4 in (408,267,551,713,802,708,587,295,982,892,498)
           OR (c4=6)
           OR (c4=840 AND 756=a4 AND b4=749 AND 217=e4 AND d4=249))
UNION
  SELECT e1 FROM t1
   WHERE (779=b1 OR 442=e1)
      OR b1 in (346,674,255,132,362,414)
      OR (c1=788 OR e1=363)
EXCEPT
  SELECT a9 FROM t9
   WHERE NOT ((d9=23 AND 418=e9 AND b9=63)
           OR (495=d9))

query T valuesort
  SELECT c4 FROM t4
   WHERE b4 in (966,961,260,286,319,802,294,389,563,635,721)
INTERSECT
  SELECT a5 FROM t5
   WHERE NOT ((c5=766 OR d5=117 OR c5=250)
           OR (e5=851 AND a5=9 AND 998=b5 AND 841=d5 AND c5=12)
           OR (661=b5 AND 586=e5))
INTERSECT
  SELECT a6 FROM t6
   WHERE NOT ((329=e6)
           OR e6 in (230,816,154,850,766)
           OR (d6=885 OR b6=232 OR c6=749))

query T valuesort
  SELECT a2 FROM t2
   WHERE (213=e2 AND 722=c2 AND 262=a2 AND d2=843 AND b2=823)
      OR (e2=131 AND c2=374)
UNION ALL
  SELECT a9 FROM t9
   WHERE c9 in (973,547,767,547,696,936,288,151,751,739,992)
EXCEPT
  SELECT e6 FROM t6
   WHERE NOT ((e6=469 OR 95=e6 OR 522=c6))
EXCEPT
  SELECT c8 FROM t8
   WHERE NOT ((74=c8))
UNION ALL
  SELECT d5 FROM t5
   WHERE (b5=183 AND 342=e5 AND a5=626 AND c5=545 AND d5=553)
      OR (b5=820 AND e5=68)
      OR (b5=326)
EXCEPT
  SELECT d1 FROM t1
   WHERE NOT ((620=b1 AND 62=c1 AND 678=a1)
           OR (76=a1 AND 420=c1))
UNION
  SELECT c7 FROM t7
   WHERE (e7=971 AND 549=d7)
      OR (a7=452 OR 436=e7)
      OR (b7=455 OR 971=e7 OR d7=139)
UNION ALL
  SELECT e3 FROM t3
   WHERE (743=a3 OR e3=829)

query T valuesort
  SELECT b9 FROM t9
   WHERE (d9=878)
      OR c9 in (534,146,923,62,323,332)
      OR d9 in (770,618,439)
EXCEPT
  SELECT c1 FROM t1
   WHERE NOT ((c1=654 OR e1=483)
           OR (738=b1 OR 980=c1 OR 837=d1))
EXCEPT
  SELECT b5 FROM t5
   WHERE NOT (d5 in (118,916,919,4,553,309,238,32,413,810,521,171,649,616))
EXCEPT
  SELECT d3 FROM t3
   WHERE NOT (e3 in (266,586,807,145,821,665,526))
UNION ALL
  SELECT a6 FROM t6
   WHERE (905=b6 AND 104=a6 AND e6=634)
      OR (e6=816 OR 104=a6)

query T valuesort
  SELECT e5 FROM t5
   WHERE (846=b5 AND e5=499 AND 960=a5 AND 542=d5 AND 927=c5)
      OR a5 in (114,342,685,796,50,163,24,319,301,362)
UNION ALL
  SELECT b1 FROM t1
   WHERE (d1=662)
      OR (b1=255 AND d1=990 AND 36=c1 AND 667=e1)
EXCEPT
  SELECT c9 FROM t9
   WHERE NOT (d9 in (763,987,226,646,161,737,553)
           OR a9 in (258,215,962,263,485,841,458,378,776,511,905,549))
UNION
  SELECT a2 FROM t2
   WHERE (e2=138 OR 579=e2)
      OR (a2=789 AND 228=b2)
EXCEPT
  SELECT c3 FROM t3
   WHERE NOT ((428=d3 OR 727=a3 OR 887=c3)
           OR b3 in (407,577,701,240,236,382,761,710,159,411,505,595,716)
           OR (965=a3 AND c3=823))
UNION ALL
  SELECT a6 FROM t6
   WHERE (c6=572 AND 850=b6 AND 453=d6 AND 683=a6 AND 622=e6)
      OR (a6=971 OR d6=66 OR a6=692)
      OR e6 in (622,969,523,261,67,91,816,175,595,77,237,682)
UNION ALL
  SELECT d8 FROM t8
   WHERE (a8=774 OR 184=a8)
      OR (523=d8 OR d8=731 OR 690=c8)
      OR (a8=289 AND b8=997 AND c8=508)
EXCEPT
  SELECT b7 FROM t7
   WHERE NOT (b7 in (424,881,159,970)
           OR c7 in (341,565,931,682,41,397,249,78,435)
           OR (b7=426 OR a7=277 OR 301=e7))

query T valuesort
  SELECT b2 FROM t2
   WHERE (249=d2 AND a2=954 AND 386=e2 AND c2=450 AND 527=b2)
UNION
  SELECT d7 FROM t7
   WHERE (952=a7 OR c7=344 OR c7=855)
      OR (a7=27)
      OR a7 in (285,982,439,863,945,62,589,416,565,593,27,848,998)

query T valuesort
  SELECT a4 FROM t4
   WHERE (c4=215 AND a4=318)
INTERSECT
  SELECT d9 FROM t9
   WHERE NOT (b9 in (13,832,26,688,214,125,12,783,926,171,868,170,821)
           OR e9 in (15,291,704,788,477)
           OR (151=c9 AND 63=b9))
UNION ALL
  SELECT c1 FROM t1
   WHERE c1 in (683,703,765,366,230,3,608,379,284,204,15,481)
      OR a1 in (179,380,189,445,866,52,20,738,988,438)
      OR (91=b1 AND d1=96 AND 189=a1 AND e1=363)
EXCEPT
  SELECT a2 FROM t2
   WHERE NOT ((a2=336 OR 688=c2 OR d2=892)
           OR (546=d2 AND 509=c2 AND 505=a2 AND 981=e2 AND b2=888))
EXCEPT
  SELECT d8 FROM t8
   WHERE NOT ((864=a8))
UNION
  SELECT d7 FROM t7
   WHERE (a7=452)

query T valuesort
  SELECT a1 FROM t1
   WHERE (172=d1)
INTERSECT
  SELECT c9 FROM t9
   WHERE NOT ((e9=542 AND 790=d9))
UNION
  SELECT b2 FROM t2
   WHERE (a2=863 OR 334=d2)
      OR d2 in (86,838,398,292,873,854,306,476,723,310,263,753,265,598)
      OR (d2=249 AND b2=527 AND c2=450 AND e2=386)
UNION
  SELECT a7 FROM t7
   WHERE (d7=785 OR 758=a7)
      OR (970=c7 OR b7=996 OR b7=323)
UNION ALL
  SELECT c6 FROM t6
   WHERE a6 in (182,46,861,33,696,829,64,128)
      OR (d6=185)
      OR (417=e6)

query T valuesort
  SELECT c5 FROM t5
   WHERE b5 in (26,874,390,855,230,774,234,161,569,661)
      OR (c5=261 OR d5=810 OR a5=602)
EXCEPT
  SELECT b1 FROM t1
   WHERE NOT ((581=d1 AND b1=128)
           OR a1 in (821,981,785,950,215,382,330,52)
           OR (d1=951 OR e1=949 OR 682=b1))

query T valuesort
  SELECT e9 FROM t9
   WHERE (142=d9)
      OR c9 in (347,811,662,90,232,801)
      OR (907=a9)
UNION
  SELECT e6 FROM t6
   WHERE c6 in (84,146,454,673,620,975,267,25,572,749,452,768,320)
      OR (265=c6 OR 739=b6 OR 942=d6)
UNION
  SELECT e5 FROM t5
   WHERE (c5=613 AND e5=594 AND b5=273)

query T valuesort
  SELECT d2 FROM t2
   WHERE (c2=87 OR d2=547 OR 594=a2)
UNION
  SELECT e5 FROM t5
   WHERE (c5=545 OR b5=183 OR a5=599)
      OR c5 in (187,545,442,44,351,348,544,250,844,819,37)
      OR (84=b5 OR b5=640 OR e5=696)
UNION ALL
  SELECT e8 FROM t8
   WHERE b8 in (656,981,52,369,542,244,313,405,677,640)
EXCEPT
  SELECT e6 FROM t6
   WHERE NOT ((c6=411 AND d6=2)
           OR (192=d6 OR 617=e6 OR 67=e6)
           OR (d6=393 OR 620=c6 OR c6=265))

query T valuesort
  SELECT d2 FROM t2
   WHERE a2 in (966,936,637,522,869)
      OR (654=d2 AND 182=c2 AND 853=a2 AND b2=864 AND 548=e2)
UNION ALL
  SELECT c1 FROM t1
   WHERE (195=a1 AND 717=e1 AND c1=788 AND 384=b1 AND d1=161)
      OR (d1=187)
EXCEPT
  SELECT d5 FROM t5
   WHERE NOT ((b5=569 AND 313=c5 AND e5=209 AND d5=757)
           OR a5 in (740,476,683,785,369,196,349,685,297)
           OR (b5=548))

query T valuesort
  SELECT b2 FROM t2
   WHERE e2 in (40,812,294,205,428,427,564,123,217,572,441,117,131,37)
      OR e2 in (294,579,148)
      OR (a2=916 AND e2=521)
EXCEPT
  SELECT b9 FROM t9
   WHERE NOT (a9 in (907,450,269,712,875,611,584)
           OR (d9=720 AND a9=739 AND 736=e9 AND 900=b9 AND c9=118))
UNION ALL
  SELECT b4 FROM t4
   WHERE (281=a4 AND 600=e4 AND d4=549 AND 752=c4 AND b4=288)
      OR d4 in (509,901,736,574,881,968,247,593)
      OR e4 in (552,792,300,358,85,725,37,147,543,438)
EXCEPT
  SELECT d3 FROM t3
   WHERE NOT ((a3=98 OR d3=944))
UNION
  SELECT b5 FROM t5
   WHERE (555=d5 OR c5=196)
      OR (d5=361 OR 855=c5)
EXCEPT
  SELECT c1 FROM t1
   WHERE NOT (d1 in (990,275,602,87,748,213,913,265,874,323,277,750,163,121))
UNION
  SELECT d6 FROM t6
   WHERE c6 in (161,677,446,84,54,415,65,992,399,242)

query T valuesort
  SELECT a8 FROM t8
   WHERE (b8=365 AND a8=774 AND 442=e8 AND c8=230)
      OR (638=a8)
INTERSECT
  SELECT c9 FROM t9
   WHERE NOT (c9 in (836,992,126,687,351,811)
           OR e9 in (944,788,383,737,944,239)
           OR c9 in (863,894,751,973,807,451,224,764,118,834,87,767,95,809))
EXCEPT
  SELECT b1 FROM t1
   WHERE NOT (a1 in (438,215,299,732,32,195,674,505,363,544,640,953)
           OR (c1=343)
           OR (956=e1 AND 685=c1 AND b1=738))
UNION ALL
  SELECT a5 FROM t5
   WHERE (598=c5)
      OR c5 in (187,155,551,681,147,261,384,514,613)
      OR b5 in (975,860,143,736,234,526,729,159,774)
EXCEPT
  SELECT a3 FROM t3
   WHERE NOT ((425=d3 OR 582=d3))

query T valuesort
  SELECT e4 FROM t4
   WHERE b4 in (627,919,288,982,888,387,243,884,802,938,721,653,847,892)
      OR e4 in (977,719,1,778,476,185,486,837,546,390,511)
INTERSECT
  SELECT a7 FROM t7
   WHERE NOT ((b7=178)
           OR (d7=805))
INTERSECT
  SELECT e5 FROM t5
   WHERE NOT ((b5=717 OR a5=929)
           OR (a5=447 AND e5=155))
EXCEPT
  SELECT b2 FROM t2
   WHERE NOT ((e2=997 AND 380=b2 AND a2=222))
EXCEPT
  SELECT e8 FROM t8
   WHERE NOT (c8 in (250,965,789)
           OR (499=d8 OR 50=d8 OR d8=743))
UNION ALL
  SELECT d3 FROM t3
   WHERE (464=e3)
UNION ALL
  SELECT c9 FROM t9
   WHERE (b9=228 AND c9=224 AND d9=554)
EXCEPT
  SELECT e6 FROM t6
   WHERE NOT ((a6=414 AND 415=c6))
UNION
  SELECT b1 FROM t1
   WHERE e1 in (671,158,696,534,628,717)
      OR (a1=918 OR b1=75)

query T valuesort
  SELECT c1 FROM t1
   WHERE c1 in (548,788,685,272,681,48,636,62,284)
      OR (b1=766 AND e1=731 AND d1=807 AND 294=a1)
      OR d1 in (716,626,761,863,717,951)
INTERSECT
  SELECT e6 FROM t6
   WHERE NOT (d6 in (613,2,34))
INTERSECT
  SELECT e8 FROM t8
   WHERE NOT ((b8=466 AND a8=129))
EXCEPT
  SELECT a2 FROM t2
   WHERE NOT (b2 in (714,264,380,796,8,985,73,489,818,353,351,376,509)
           OR (505=a2 OR 315=a2)
           OR (404=d2 AND 582=c2))
UNION
  SELECT a3 FROM t3
   WHERE (964=a3 OR 765=e3 OR 456=b3)
      OR (720=d3)
UNION ALL
  SELECT e5 FROM t5
   WHERE (e5=902 AND 18=a5 AND c5=824 AND b5=782 AND 938=d5)
      OR (d5=555)
UNION ALL
  SELECT a9 FROM t9
   WHERE c9 in (613,240,526,923,332,126,807)
      OR (318=a9 OR 681=d9)
      OR (d9=568)
EXCEPT
  SELECT d7 FROM t7
   WHERE NOT (d7 in (199,105,680,148,500,276,139,142,436,891,787))
UNION ALL
  SELECT b4 FROM t4
   WHERE a4 in (271,337,451,708,778,136,606)

query T valuesort
  SELECT c9 FROM t9
   WHERE (d9=763 AND 587=c9)
      OR (e9=353 OR a9=959 OR d9=347)
      OR (853=c9 AND e9=699 AND a9=924 AND d9=145 AND b9=50)
EXCEPT
  SELECT e3 FROM t3
   WHERE NOT ((b3=70 AND 683=d3)
           OR e3 in (145,424,984,724,829,467,7,3,836))

query T valuesort
  SELECT b1 FROM t1
   WHERE c1 in (608,379,458,315,417,637,481,175,902,683,230,486,12)
UNION
  SELECT c5 FROM t5
   WHERE (d5=745 OR e5=436)

query T valuesort
  SELECT a2 FROM t2
   WHERE (b2=326 OR 253=a2)
      OR (c2=722 OR 228=c2 OR 806=d2)
      OR (162=e2 OR a2=209 OR a2=980)
INTERSECT
  SELECT c1 FROM t1
   WHERE NOT (b1 in (486,862,662,711))
UNION
  SELECT d4 FROM t4
   WHERE a4 in (558,948,337,373,968,708)
      OR (a4=598 AND c4=585 AND 901=b4 AND e4=879)

query T valuesort
  SELECT c9 FROM t9
   WHERE (239=e9 OR c9=767)
      OR (41=a9 AND b9=262 AND 495=d9)
      OR (a9=811)
INTERSECT
  SELECT d8 FROM t8
   WHERE NOT ((952=a8)
           OR (e8=423 AND 196=c8)
           OR (a8=869 OR 544=c8))
UNION
  SELECT b6 FROM t6
   WHERE (550=e6 OR 441=c6 OR 847=e6)
UNION
  SELECT c1 FROM t1
   WHERE (736=a1 OR 266=b1)
UNION
  SELECT b2 FROM t2
   WHERE (b2=605)
      OR (860=d2 OR c2=346)

query T valuesort
  SELECT a4 FROM t4
   WHERE e4 in (237,600,217,820,767,405,122,132,596)
      OR (a4=952)
      OR (860=c4 AND e4=35)
UNION ALL
  SELECT b6 FROM t6
   WHERE b6 in (214,963,290,223,549,782,296)
      OR (286=e6 AND 696=b6)
UNION
  SELECT e3 FROM t3
   WHERE (879=a3 OR 651=c3)
UNION
  SELECT e9 FROM t9
   WHERE (553=a9 AND 211=b9 AND 793=c9)
      OR (a9=982 OR b9=667 OR a9=739)
UNION
  SELECT d5 FROM t5
   WHERE (a5=976)
      OR (287=e5)
      OR (c5=734 OR 749=a5)
EXCEPT
  SELECT c7 FROM t7
   WHERE NOT ((720=a7 AND e7=827 AND d7=673 AND c7=887))
EXCEPT
  SELECT b1 FROM t1
   WHERE NOT (c1 in (299,765,200,685,814,309,387,805,675,366,152))
UNION ALL
  SELECT e8 FROM t8
   WHERE c8 in (844,166,117,907,321)
      OR (821=c8)
      OR (b8=105)

query T valuesort
  SELECT d8 FROM t8
   WHERE a8 in (794,239,920,241,47)
      OR d8 in (101,93,889,814)
INTERSECT
  SELECT a2 FROM t2
   WHERE NOT ((56=a2 AND e2=339 AND c2=282 AND 195=d2 AND 285=b2))
UNION
  SELECT b5 FROM t5
   WHERE (675=a5 AND e5=923 AND d5=276 AND 705=b5)
      OR (649=c5 AND 369=d5 AND 336=b5 AND 696=a5 AND 511=e5)
      OR (b5=855)

query T valuesort
  SELECT c5 FROM t5
   WHERE b5 in (759,179,26,230,424)
UNION ALL
  SELECT e1 FROM t1
   WHERE (e1=815 OR d1=234 OR 349=d1)
UNION
  SELECT a8 FROM t8
   WHERE c8 in (77,521,683,32,648)
      OR (b8=98 AND 563=c8 AND e8=485)
      OR (e8=149 AND 254=a8)
EXCEPT
  SELECT a4 FROM t4
   WHERE NOT ((a4=243 AND e4=123 AND 402=b4 AND 723=c4 AND 680=d4)
           OR (c4=215 AND 236=e4 AND 925=b4))
EXCEPT
  SELECT d7 FROM t7
   WHERE NOT ((134=a7 AND d7=442))
UNION ALL
  SELECT b6 FROM t6
   WHERE (25=c6 AND e6=503 AND d6=729 AND a6=531)
      OR (62=a6)
      OR b6 in (601,0,44,144,300)
UNION ALL
  SELECT a9 FROM t9
   WHERE (936=b9 OR 819=b9 OR b9=251)
      OR b9 in (751,804,549,128,855,612,524,214)
      OR (326=b9 OR d9=258)
EXCEPT
  SELECT b3 FROM t3
   WHERE NOT ((169=e3 AND 727=a3 AND 102=c3 AND 595=b3 AND d3=642)
           OR b3 in (368,874,434,914,122,321,932,273,592))
EXCEPT
  SELECT d2 FROM t2
   WHERE NOT ((e2=781 OR 220=e2 OR e2=441))

query T valuesort
  SELECT d6 FROM t6
   WHERE (811=a6 AND 689=d6 AND e6=893 AND b6=629 AND c6=297)
      OR (a6=366 AND 255=e6)
      OR (674=d6 AND e6=154)
UNION
  SELECT d8 FROM t8
   WHERE c8 in (442,418,113,501,229,299,381,284,374)
      OR (b8=9 AND 392=e8 AND 474=a8 AND c8=501 AND d8=291)
      OR d8 in (541,690,48,630,269,608,370,631,197)

query T valuesort
  SELECT d1 FROM t1
   WHERE a1 in (268,241,477,32,879,738,746,517)
EXCEPT
  SELECT b2 FROM t2
   WHERE NOT (d2 in (749,669,750,317,838,137,953,516,351)
           OR b2 in (765,545,820,819,820,504,864,754,599,414,217))
EXCEPT
  SELECT d4 FROM t4
   WHERE NOT ((318=a4 OR d4=524 OR c4=936))
UNION
  SELECT c8 FROM t8
   WHERE a8 in (653,920,564,46,402)

query T valuesort
  SELECT e7 FROM t7
   WHERE (b7=867 OR e7=900 OR 508=c7)
      OR (31=a7 AND 931=c7 AND 590=e7 AND 30=b7 AND 886=d7)
      OR (356=a7 OR e7=67 OR 408=e7)
UNION ALL
  SELECT b3 FROM t3
   WHERE (224=b3)
      OR (641=c3 OR 964=a3)
UNION ALL
  SELECT d6 FROM t6
   WHERE b6 in (126,905,984,54,351,276,6,876,974,243)
      OR d6 in (458,911,689,778,186,974,405,172,807,869,674)
      OR e6 in (139,489,707,100,588,754,40,67,601,24,747,750,633,523)
EXCEPT
  SELECT c2 FROM t2
   WHERE NOT ((d2=215)
           OR (241=d2 OR c2=711))
UNION ALL
  SELECT a8 FROM t8
   WHERE c8 in (225,196,160,563,154,961,762)
      OR (c8=563 AND 700=e8)
      OR (d8=210 AND c8=901)
EXCEPT
  SELECT d4 FROM t4
   WHERE NOT (b4 in (498,260,476,765,407,964,175,627,261,700,538,829,982)
           OR e4 in (9,390,835,290,820,858,916,237)
           OR (220=c4 AND b4=917 AND a4=337 AND 658=d4 AND e4=837))
UNION ALL
  SELECT b9 FROM t9
   WHERE (841=e9)
      OR (662=c9 OR d9=270 OR a9=964)
UNION
  SELECT b5 FROM t5
   WHERE d5 in (960,419,841,271)
      OR (b5=820 OR c5=628 OR 269=d5)
      OR (e5=271 OR d5=731)
UNION
  SELECT a1 FROM t1
   WHERE (a1=173 AND d1=86 AND c1=675 AND e1=872)
      OR b1 in (295,113,259,670,91,432,681,762,857,426,584,345,525)

query T valuesort
  SELECT e4 FROM t4
   WHERE a4 in (841,448,29,502,451,661,160,997,919,31)
      OR c4 in (690,840,39,752)
      OR d4 in (821,661,549,777,681,197,617,60,481,628,507,819)
UNION ALL
  SELECT a1 FROM t1
   WHERE (b1=254)
      OR (c1=97 AND a1=231 AND d1=414 AND 795=e1)
UNION
  SELECT d5 FROM t5
   WHERE (a5=743 OR 55=a5)
      OR (c5=809)
EXCEPT
  SELECT e8 FROM t8
   WHERE NOT ((306=a8)
           OR b8 in (992,386,773,647,891,6,313,741,352,461))
UNION
  SELECT c9 FROM t9
   WHERE (c9=62 OR 214=b9)
      OR (c9=711 AND d9=420 AND 792=e9 AND 832=b9)
      OR (d9=95 OR d9=668 OR 737=e9)
UNION ALL
  SELECT a7 FROM t7
   WHERE (902=d7 AND b7=813)
      OR (a7=709 AND d7=341 AND 672=c7)
UNION
  SELECT a3 FROM t3
   WHERE (363=d3 AND 555=c3 AND e3=975 AND 677=b3 AND a3=341)
      OR (375=e3 AND 190=a3 AND 57=b3 AND 668=c3)
      OR (d3=665 OR 382=b3 OR b3=214)
EXCEPT
  SELECT b6 FROM t6
   WHERE NOT ((839=a6)
           OR e6 in (766,91,257,241,808,754,469,816,14,550,489,255,634))

query T valuesort
  SELECT b6 FROM t6
   WHERE a6 in (604,255,692,696,452,801)
      OR (6=b6 AND 942=d6 AND 725=a6 AND 439=e6)
UNION ALL
  SELECT a5 FROM t5
   WHERE (132=a5)
      OR d5 in (344,787,4,419,462,42,309,33,855,413,910)
      OR (a5=917 OR 858=d5 OR e5=708)
UNION ALL
  SELECT c4 FROM t4
   WHERE (e4=132 OR c4=88)
      OR (c4=971 AND e4=48 AND 480=b4 AND 29=a4 AND d4=366)
      OR (331=b4)
EXCEPT
  SELECT a8 FROM t8
   WHERE NOT (e8 in (46,203,736,149,392,729,384,186,497,678,41,592,561)
           OR e8 in (561,761,487,44,422,180,495,579,223,476,600,792,635,811)
           OR (161=d8 OR a8=472 OR 792=e8))
EXCEPT
  SELECT a2 FROM t2
   WHERE NOT ((83=c2 OR c2=202 OR e2=673))
UNION ALL
  SELECT b9 FROM t9
   WHERE (912=d9)

query T valuesort
  SELECT e3 FROM t3
   WHERE (979=a3 OR 890=d3)
      OR e3 in (120,818,365,724,896)
      OR (134=d3)
UNION
  SELECT d4 FROM t4
   WHERE (c4=732 OR b4=847)
UNION
  SELECT b7 FROM t7
   WHERE (b7=717 AND 885=d7 AND e7=506)
      OR d7 in (325,885,265,225,709)
      OR e7 in (456,887,590,793,27,280)
EXCEPT
  SELECT a6 FROM t6
   WHERE NOT (a6 in (2,821,132,604,643,35)
           OR c6 in (242,187,522,718,673,491,454,66,961,528)
           OR (271=d6 OR b6=541))

query T valuesort
  SELECT d5 FROM t5
   WHERE e5 in (364,716,902,655,689,697,802,764,554,585,180)
      OR (390=b5 AND 782=d5 AND e5=522)
UNION
  SELECT b4 FROM t4
   WHERE a4 in (746,919,510,621,378,589,474,412,451,901,509,170)
EXCEPT
  SELECT a2 FROM t2
   WHERE NOT ((e2=572 OR 869=c2)
           OR c2 in (46,729,625,374,964))

query T valuesort
  SELECT a2 FROM t2
   WHERE (853=a2 OR 544=a2)
UNION ALL
  SELECT a5 FROM t5
   WHERE a5 in (721,319,132,917,341,536,878,270,696,342)
      OR c5 in (152,809,649,579,766,844,489,922,756,551,774,437,978)
      OR (104=e5 AND 391=b5 AND a5=602 AND 271=d5)
UNION ALL
  SELECT d3 FROM t3
   WHERE e3 in (254,975,303,981,239,593)
      OR (184=a3)
EXCEPT
  SELECT b8 FROM t8
   WHERE NOT ((d8=541 AND a8=628 AND 493=b8 AND 578=e8)
           OR c8 in (730,720,648,187))
EXCEPT
  SELECT b7 FROM t7
   WHERE NOT (d7 in (500,492,891,684,114,666,325,902,395,549,296,28,939))

query T valuesort
  SELECT e9 FROM t9
   WHERE (d9=601 AND 122=b9 AND a9=815 AND 935=c9 AND 858=e9)
UNION ALL
  SELECT e1 FROM t1
   WHERE (a1=280)
EXCEPT
  SELECT c3 FROM t3
   WHERE NOT ((c3=516))
EXCEPT
  SELECT b2 FROM t2
   WHERE NOT (c2 in (137,247,758,268,894,878,337,725,150,107,837,964,466)
           OR (411=c2 OR b2=811))

query T valuesort
  SELECT d1 FROM t1
   WHERE d1 in (432,837,662,96,47,902,900,939,175,761,942,223,726,571)
      OR b1 in (570,993,226,49,91,432,468,674,310,350,589,862,620)
      OR (e1=539 AND 531=c1 AND 115=b1)
EXCEPT
  SELECT e4 FROM t4
   WHERE NOT ((474=a4)
           OR (9=e4 AND b4=829 AND d4=568 AND c4=513)
           OR (a4=474 AND b4=678 AND 968=d4 AND 948=c4))
EXCEPT
  SELECT e2 FROM t2
   WHERE NOT ((e2=73)
           OR (d2=723)
           OR (820=e2 AND 704=d2 AND 268=a2))
EXCEPT
  SELECT b7 FROM t7
   WHERE NOT (b7 in (396,222,827,841,321,750,973,220,42,808,579,426)
           OR b7 in (396,514,837,24,362,541,979,627,360)
           OR (c7=102 OR d7=296 OR 816=e7))
UNION
  SELECT b3 FROM t3
   WHERE d3 in (115,711,231,708,797,719,495,701)
EXCEPT
  SELECT c5 FROM t5
   WHERE NOT ((b5=789 OR 260=b5 OR 53=a5)
           OR (369=d5 OR b5=736))
UNION ALL
  SELECT c8 FROM t8
   WHERE c8 in (965,775,233)
      OR b8 in (219,725,523,269,696,287,992,228,642,640,889,351,469)

query T valuesort
  SELECT a9 FROM t9
   WHERE (295=a9 AND 525=d9)
      OR (a9=349 OR 685=a9)
      OR e9 in (35,418,19)
EXCEPT
  SELECT a7 FROM t7
   WHERE NOT ((a7=350 AND 923=b7 AND 524=d7)
           OR (c7=341))
EXCEPT
  SELECT a6 FROM t6
   WHERE NOT ((e6=24 OR b6=974 OR b6=989))

query T valuesort
  SELECT b2 FROM t2
   WHERE e2 in (556,434,140)
      OR (131=e2)
EXCEPT
  SELECT e3 FROM t3
   WHERE NOT (d3 in (895,541,647)
           OR c3 in (777,792,887,607,305))
UNION ALL
  SELECT e4 FROM t4
   WHERE (768=c4 OR c4=482)

query T valuesort
  SELECT b3 FROM t3
   WHERE (a3=992 OR 710=a3)
      OR (305=c3)
      OR (e3=814 AND 246=b3)
EXCEPT
  SELECT c8 FROM t8
   WHERE NOT ((272=e8))
UNION ALL
  SELECT d6 FROM t6
   WHERE e6 in (345,761,631,847,634,241,893,633,237,489,798,682,654)

query T valuesort
  SELECT a9 FROM t9
   WHERE (c9=402 OR 151=c9 OR b9=26)
      OR b9 in (759,152,421,50)
      OR c9 in (662,253,60,62,180,853,734,863,935,187,923,739)
EXCEPT
  SELECT e7 FROM t7
   WHERE NOT ((376=c7 AND 183=d7)
           OR a7 in (736,233,720,691,863,442))
UNION
  SELECT b2 FROM t2
   WHERE (276=b2)
UNION
  SELECT d6 FROM t6
   WHERE (d6=286)
      OR (d6=846 OR 62=a6)
      OR (54=c6 AND 774=b6 AND e6=230 AND d6=393)
UNION
  SELECT a8 FROM t8
   WHERE (469=b8 OR b8=369 OR d8=466)
      OR (e8=476 OR e8=579 OR 150=c8)
UNION ALL
  SELECT e3 FROM t3
   WHERE e3 in (221,138,3,187,536,108,807,457,913)
EXCEPT
  SELECT d1 FROM t1
   WHERE NOT (d1 in (55,35,574,459,972,716)
           OR b1 in (486,281,779,278,781,645))

query T valuesort
  SELECT a7 FROM t7
   WHERE b7 in (59,517,234,52,396,627)
      OR (d7=315 OR 12=c7)
      OR (a7=593 AND 485=d7 AND c7=553 AND 282=e7 AND 407=b7)
UNION
  SELECT e3 FROM t3
   WHERE (c3=970 AND 444=d3 AND e3=131 AND b3=888 AND 964=a3)
EXCEPT
  SELECT c2 FROM t2
   WHERE NOT ((353=b2 OR 405=d2 OR e2=841)
           OR e2 in (753,428,981,788,411,692)
           OR (35=b2))
EXCEPT
  SELECT c1 FROM t1
   WHERE NOT ((115=b1 OR b1=594)
           OR (944=b1 OR e1=997))
EXCEPT
  SELECT e5 FROM t5
   WHERE NOT ((570=c5 AND b5=674 AND 975=e5 AND 5=a5))
EXCEPT
  SELECT b6 FROM t6
   WHERE NOT ((b6=696 OR b6=507)
           OR a6 in (240,366,604,870,740,731,861,64,173,129,66,128))
UNION ALL
  SELECT a8 FROM t8
   WHERE (e8=463 OR 332=c8)
EXCEPT
  SELECT e9 FROM t9
   WHERE NOT (e9 in (694,567,477,255,30,19,954,264,127,267,873)
           OR (b9=447 OR 37=c9 OR 739=c9))
EXCEPT
  SELECT a4 FROM t4
   WHERE NOT ((605=a4)
           OR (a4=933))

query T valuesort
  SELECT e6 FROM t6
   WHERE (d6=797 OR 993=b6 OR 173=a6)
      OR (a6=436 OR 270=c6 OR 128=a6)
      OR c6 in (411,452,454,561,961,807,146,297)
UNION
  SELECT c7 FROM t7
   WHERE (e7=844)
EXCEPT
  SELECT e1 FROM t1
   WHERE NOT ((b1=362 AND a1=61 AND d1=0 AND e1=95)
           OR (736=b1 AND 636=c1 AND d1=550 AND 949=e1 AND a1=505))
UNION ALL
  SELECT a9 FROM t9
   WHERE (868=e9 OR 19=b9 OR d9=360)
      OR (801=e9 OR a9=435 OR d9=420)
      OR c9 in (278,110,579)
UNION ALL
  SELECT a2 FROM t2
   WHERE b2 in (60,779,605,640,799,554,784)
UNION ALL
  SELECT d8 FROM t8
   WHERE (375=c8 OR d8=446 OR e8=859)
EXCEPT
  SELECT a5 FROM t5
   WHERE NOT ((856=d5 OR d5=263 OR a5=301)
           OR (27=c5 OR c5=820)
           OR (d5=360 AND 447=a5 AND 629=b5 AND 149=c5))
EXCEPT
  SELECT e4 FROM t4
   WHERE NOT (c4 in (581,221,297,358,178,513,273,424))
EXCEPT
  SELECT d3 FROM t3
   WHERE NOT ((b3=790 AND c3=81))

query T valuesort
  SELECT b5 FROM t5
   WHERE d5 in (858,360,787,772,940,964,114,413,782,841,738,479)
      OR (a5=413 AND 18=c5 AND d5=24 AND e5=287 AND 499=b5)
UNION
  SELECT d4 FROM t4
   WHERE (583=d4 AND e4=273 AND b4=982 AND 235=a4)
      OR a4 in (841,579,922,82,234,792,159)
UNION
  SELECT c9 FROM t9
   WHERE c9 in (370,992,402,253)
      OR (907=a9 AND e9=245 AND d9=164 AND 60=c9)
      OR (b9=667 OR 19=b9 OR d9=662)
EXCEPT
  SELECT d7 FROM t7
   WHERE NOT ((a7=356 AND 954=c7 AND b7=660 AND d7=575 AND 918=e7)
           OR a7 in (452,233,386,87,691,48,703,27,622,158,773))
UNION
  SELECT d6 FROM t6
   WHERE (767=d6 OR b6=681)
UNION ALL
  SELECT b1 FROM t1
   WHERE (c1=670 OR 36=c1 OR c1=885)
      OR (e1=685 AND 902=c1)
UNION ALL
  SELECT b8 FROM t8
   WHERE (330=d8)
      OR (d8=636)
UNION
  SELECT a3 FROM t3
   WHERE (e3=260 AND d3=364 AND c3=890 AND b3=932 AND 380=a3)
UNION
  SELECT c2 FROM t2
   WHERE (c2=902 AND e2=114)
      OR a2 in (853,691,457,336,297,898,564,283,415,308,775,235,773,936)

query T valuesort
  SELECT d6 FROM t6
   WHERE (e6=798 AND d6=376)
      OR a6 in (211,293,696,537,818,474,452)
      OR (351=b6 AND d6=729 AND a6=1 AND c6=424 AND e6=633)
INTERSECT
  SELECT e1 FROM t1
   WHERE NOT ((696=b1 AND c1=639 AND 717=d1 AND a1=20 AND 117=e1)
           OR a1 in (579,75,544)
           OR (c1=208 OR 645=e1))
UNION ALL
  SELECT c5 FROM t5
   WHERE (c5=797 OR e5=702 OR b5=531)
      OR (c5=313)
EXCEPT
  SELECT d7 FROM t7
   WHERE NOT ((341=d7 AND e7=103)
           OR (b7=460 AND 180=c7 AND 916=a7))
UNION ALL
  SELECT e8 FROM t8
   WHERE (e8=233 OR b8=184)
      OR (761=e8 AND 386=b8)
UNION ALL
  SELECT d4 FROM t4
   WHERE c4 in (238,749,586,220)
      OR (151=e4 AND 703=c4 AND 653=b4 AND 983=d4)
UNION
  SELECT c3 FROM t3
   WHERE (b3=295 AND a3=720 AND 84=c3 AND 135=e3)
EXCEPT
  SELECT a9 FROM t9
   WHERE NOT ((936=e9)
           OR (e9=218))
UNION ALL
  SELECT c2 FROM t2
   WHERE d2 in (351,263,216,404,760,723,79,260,332,847)
      OR (823=b2 OR 725=c2 OR d2=79)
      OR (b2=177)

query T valuesort
  SELECT d7 FROM t7
   WHERE (130=a7)
      OR c7 in (249,682,397,482,672,781,725,770,317,692,661,635,206)
      OR (495=b7)
EXCEPT
  SELECT b8 FROM t8
   WHERE NOT (c8 in (775,901,149,935,230,298,117,332,93,273))
EXCEPT
  SELECT a9 FROM t9
   WHERE NOT ((122=b9 OR e9=873)
           OR (a9=240 AND 713=e9 AND 476=c9 AND b9=149 AND 987=d9)
           OR (a9=365))
UNION
  SELECT b5 FROM t5
   WHERE (140=c5 OR d5=480)
      OR (960=c5 OR e5=586)
EXCEPT
  SELECT e6 FROM t6
   WHERE NOT ((560=d6 OR c6=11 OR 4=c6)
           OR (c6=399 AND 321=d6 AND 650=b6 AND 148=a6 AND e6=24)
           OR a6 in (839,740,787,537))
UNION
  SELECT d2 FROM t2
   WHERE (b2=173)
      OR (819=b2 OR 161=b2)
      OR (d2=750 OR d2=833)
UNION ALL
  SELECT e3 FROM t3
   WHERE (b3=113 AND e3=192)
UNION
  SELECT b1 FROM t1
   WHERE (c1=805 AND 141=d1 AND 280=b1 AND 737=e1)

query T valuesort
  SELECT e1 FROM t1
   WHERE e1 in (221,683,904,858,139,763,688,921,602,367)
      OR (979=c1 OR d1=504)
      OR e1 in (671,838,328,313,747,125,717,628,896,949,483)
INTERSECT
  SELECT e8 FROM t8
   WHERE NOT ((762=c8 OR 54=a8 OR 111=c8))
INTERSECT
  SELECT e5 FROM t5
   WHERE NOT (c5 in (3,598,747,825,681,824,18,163,155,628))
INTERSECT
  SELECT a2 FROM t2
   WHERE NOT (d2 in (953,153,539,843)
           OR (499=e2 AND 598=d2)
           OR e2 in (114,505,783,692,521,433,441,147,428))
INTERSECT
  SELECT d3 FROM t3
   WHERE NOT ((c3=549)
           OR b3 in (70,340,202,17,405,813,407))
INTERSECT
  SELECT e9 FROM t9
   WHERE NOT ((c9=834))
UNION
  SELECT c4 FROM t4
   WHERE b4 in (288,35,884,607,286,271,94,379,634,476,888,407,372)
      OR c4 in (39,293,758)
      OR (d4=653 OR b4=882)
UNION ALL
  SELECT d6 FROM t6
   WHERE (647=d6)

query T valuesort
  SELECT e4 FROM t4
   WHERE c4 in (201,489,860,297,660,840,609,319,993,671)
EXCEPT
  SELECT d1 FROM t1
   WHERE NOT ((254=d1 OR 200=c1 OR 51=e1)
           OR (805=c1 OR b1=88 OR 864=c1))
UNION ALL
  SELECT a3 FROM t3
   WHERE (244=c3 AND 566=b3 AND 525=a3 AND d3=889 AND 120=e3)
      OR (e3=844 AND 761=b3 AND 777=c3)
      OR (d3=729 AND c3=669 AND e3=131 AND a3=729 AND 651=b3)
EXCEPT
  SELECT a2 FROM t2
   WHERE NOT ((914=d2 AND 680=a2 AND 463=e2 AND 674=b2))
UNION ALL
  SELECT a6 FROM t6
   WHERE c6 in (297,411,677,308,963,287,864,528,928,242)
EXCEPT
  SELECT c8 FROM t8
   WHERE NOT (e8 in (455,866,487,305,223,533,548,377,579,632,620,561,874,678)
           OR (c8=374 OR 349=e8)
           OR b8 in (952,364,870,511,796,369,397,162,540,351,324,761,300))

query T valuesort
  SELECT d1 FROM t1
   WHERE e1 in (51,695,221,255,904,558,110,997,646,534,363,949,531)
      OR c1 in (289,876,309,36,69,531,865,379,246,585,388,758)
      OR (748=d1 AND a1=438)
UNION
  SELECT d9 FROM t9
   WHERE (e9=19 AND c9=391 AND 347=d9 AND 751=b9)
      OR (900=b9)
      OR (e9=195)
EXCEPT
  SELECT c8 FROM t8
   WHERE NOT ((907=c8)
           OR (427=c8 AND e8=242 AND a8=359 AND b8=487 AND d8=610))
EXCEPT
  SELECT d4 FROM t4
   WHERE NOT ((d4=491 AND 271=a4)
           OR (c4=201 OR 199=d4 OR 982=a4)
           OR b4 in (634,220,33,708,372,721))
EXCEPT
  SELECT a7 FROM t7
   WHERE NOT (c7 in (38,92,341,135,103,931,705,284,419,931,934,145,523,853))
UNION
  SELECT a3 FROM t3
   WHERE (c3=860 OR d3=658 OR 232=e3)
      OR (b3=266 OR b3=152)
      OR (c3=244)
UNION
  SELECT c5 FROM t5
   WHERE b5 in (989,640,934,847,98,703,717,729)
      OR c5 in (941,657,299,825,734)
      OR (155=d5 OR 819=c5 OR a5=5)
UNION ALL
  SELECT b2 FROM t2
   WHERE (a2=455 AND d2=225 AND 681=b2)
      OR (a2=874 AND 504=b2 AND 158=d2 AND c2=337)
UNION ALL
  SELECT d6 FROM t6
   WHERE (d6=393 OR 737=e6)
      OR d6 in (36,767,931,647,991,911)
      OR a6 in (861,66,672,839)

query T valuesort
  SELECT a7 FROM t7
   WHERE (e7=436)
      OR (606=c7 AND 996=b7 AND 894=a7)
      OR (d7=572 AND 938=b7 AND 744=a7 AND 260=c7)
EXCEPT
  SELECT b5 FROM t5
   WHERE NOT ((98=e5 AND 691=d5 AND 153=a5 AND 443=c5))
EXCEPT
  SELECT b2 FROM t2
   WHERE NOT ((e2=463 AND 914=d2 AND 680=a2 AND b2=674 AND c2=127)
           OR (c2=807)
           OR (d2=351 AND c2=688 AND 544=a2 AND b2=113 AND 983=e2))
EXCEPT
  SELECT d3 FROM t3
   WHERE NOT ((b3=783 OR 701=b3)
           OR (986=c3 AND d3=983 AND 844=e3 AND a3=929 AND b3=269))
EXCEPT
  SELECT a1 FROM t1
   WHERE NOT ((168=c1 AND b1=729 AND 241=a1 AND d1=574)
           OR (255=b1))

query T valuesort
  SELECT c4 FROM t4
   WHERE d4 in (25,988,349,146,797,907,236,86,328,917,150,55)
      OR (442=d4 AND e4=38)
      OR (d4=144 AND e4=438 AND 936=c4)
UNION
  SELECT d2 FROM t2
   WHERE c2 in (197,981,318)
UNION ALL
  SELECT d3 FROM t3
   WHERE (651=e3 OR 127=c3 OR d3=38)
UNION ALL
  SELECT b8 FROM t8
   WHERE c8 in (249,668,374,541,229,448,979,789,275,965,762,260)
EXCEPT
  SELECT c9 FROM t9
   WHERE NOT (c9 in (732,224,171,767,391,834,87,863,351,836,257,288)
           OR b9 in (456,239,893,936,864,26,15,848,818,227))

query T valuesort
  SELECT c1 FROM t1
   WHERE (608=c1 OR 52=a1)
      OR (a1=847 AND e1=534 AND c1=637)
      OR b1 in (525,696,736)
INTERSECT
  SELECT e8 FROM t8
   WHERE NOT (c8 in (196,5,599,354,321,151,508)
           OR d8 in (210,422,482,327,439,580,116,466,179)
           OR e8 in (761,859,223,833,485,272,548,221,947,106,383,919,38,203))
INTERSECT
  SELECT e6 FROM t6
   WHERE NOT ((870=a6 AND 12=c6)
           OR (a6=64 AND 550=e6))
UNION ALL
  SELECT a7 FROM t7
   WHERE c7 in (682,981,364,585,857)
      OR (455=b7 OR 924=d7 OR 280=b7)
      OR e7 in (976,422,215,971,688)

query T valuesort
  SELECT b2 FROM t2
   WHERE (988=c2 AND 577=d2 AND 679=e2 AND b2=640)
      OR e2 in (37,125,965,220,788,815)
      OR (268=a2)
UNION ALL
  SELECT d3 FROM t3
   WHERE (d3=38)
EXCEPT
  SELECT a6 FROM t6
   WHERE NOT ((c6=54 AND d6=393 AND b6=774)
           OR e6 in (798,511,840,883,631,682,237,707,668,946,574,225,766))
UNION
  SELECT d7 FROM t7
   WHERE c7 in (488,341,364,529,344,508,301,22,333,770,682,344,659,467)
UNION
  SELECT e8 FROM t8
   WHERE e8 in (495,579,199)
      OR (347=a8 AND 439=d8 AND 354=c8 AND b8=665 AND 14=e8)
EXCEPT
  SELECT e5 FROM t5
   WHERE NOT ((732=e5 OR d5=514 OR a5=9))
UNION
  SELECT d9 FROM t9
   WHERE a9 in (919,18,297,712)
      OR (d9=467 AND 297=a9 AND b9=848)
      OR e9 in (934,713,788)
UNION
  SELECT b1 FROM t1
   WHERE (e1=78 OR a1=215 OR 419=c1)

query T valuesort
  SELECT b7 FROM t7
   WHERE b7 in (750,804,506,655,305,24,407,234,979,820,129,841)
EXCEPT
  SELECT d5 FROM t5
   WHERE NOT ((744=b5 AND e5=187 AND d5=937 AND 50=c5)
           OR (c5=72 OR e5=655))

query T valuesort
  SELECT d8 FROM t8
   WHERE (d8=116 AND 239=a8)
      OR b8 in (963,6,466,807,677,397,469,454,656,862)
UNION ALL
  SELECT b4 FROM t4
   WHERE (653=b4 AND d4=983)
      OR (366=c4 OR e4=6)
      OR (d4=728 OR 85=d4)
EXCEPT
  SELECT d2 FROM t2
   WHERE NOT ((843=d2)
           OR (179=c2 AND e2=535))
EXCEPT
  SELECT e9 FROM t9
   WHERE NOT ((a9=463 OR b9=926 OR b9=103)
           OR (c9=973 OR 252=c9 OR 686=d9))
UNION ALL
  SELECT d3 FROM t3
   WHERE b3 in (76,198,617,411,701,27,595,445)
      OR (552=e3 AND 616=b3 AND d3=554)
EXCEPT
  SELECT c1 FROM t1
   WHERE NOT ((e1=779 AND 775=c1 AND 993=b1 AND a1=853))
UNION ALL
  SELECT b7 FROM t7
   WHERE (a7=865 AND 988=d7 AND e7=127)
      OR d7 in (118,28,777,306,399,94,79,278,684)
UNION
  SELECT e6 FROM t6
   WHERE (a6=474 OR 45=a6 OR a6=811)
      OR (717=c6 AND 173=a6 AND d6=161 AND e6=816)
      OR e6 in (654,431,345,274,360,511,794,850,469,972,711)
EXCEPT
  SELECT a5 FROM t5
   WHERE NOT ((d5=4)
           OR (b5=874 OR 858=d5))

query T valuesort
  SELECT b4 FROM t4
   WHERE d4 in (979,794,929,626,409,770,364,574,593,777,349,736)
      OR (e4=677 AND 513=a4 AND b4=634 AND c4=319 AND d4=929)
      OR (889=d4 AND 916=e4)
INTERSECT
  SELECT d1 FROM t1
   WHERE NOT (a1 in (61,552,76,825,109,276,785,732,579,147,479)
           OR (c1=4 OR 852=c1 OR d1=105)
           OR (d1=154))

query T valuesort
  SELECT a6 FROM t6
   WHERE (c6=938 OR b6=267)
      OR d6 in (269,277,711,647,34,942,778,924)
INTERSECT
  SELECT d4 FROM t4
   WHERE NOT ((e4=48 AND b4=480 AND d4=366)
           OR (e4=350 AND b4=765 AND 498=d4)
           OR b4 in (319,966,551,137,653,982,749))
UNION ALL
  SELECT c9 FROM t9
   WHERE (356=a9 OR a9=747 OR d9=399)
      OR (b9=342 AND 399=d9)
UNION
  SELECT d2 FROM t2
   WHERE (332=d2 AND 148=e2 AND a2=415 AND 819=c2 AND b2=546)
      OR (307=e2 OR 450=c2)
      OR c2 in (127,344,575,625,692,992,150,779,228)
EXCEPT
  SELECT d8 FROM t8
   WHERE NOT (b8 in (175,862,609,253,958,603,145,366))
UNION ALL
  SELECT b1 FROM t1
   WHERE e1 in (546,558,683,816,815,646,880,328,695,48,523,582,539,463)
      OR b1 in (674,652,94)
EXCEPT
  SELECT b3 FROM t3
   WHERE NOT (b3 in (73,740,551,27,813,317,874,827,686,761,710,318,226,127)
           OR (a3=525 OR d3=665 OR a3=234))
UNION
  SELECT a5 FROM t5
   WHERE (c5=489 AND a5=602 AND d5=271 AND b5=391 AND e5=104)
      OR (196=c5)
EXCEPT
  SELECT e7 FROM t7
   WHERE NOT ((397=c7)
           OR e7 in (455,282,439,860,862,462,929,971,689,503,422,782,587,638)
           OR (b7=306 AND 139=d7 AND 238=c7))

query T valuesort
  SELECT d1 FROM t1
   WHERE (492=d1 OR 295=b1 OR 508=d1)
      OR (737=e1 OR d1=298 OR 571=d1)
      OR (602=d1 OR a1=553)
UNION ALL
  SELECT c7 FROM t7
   WHERE (b7=881 AND 156=e7)
      OR d7 in (526,988,684,485,673,205,172,492,524,142,687,315,442,131)
EXCEPT
  SELECT c2 FROM t2
   WHERE NOT ((91=a2 OR e2=923))
EXCEPT
  SELECT d4 FROM t4
   WHERE NOT ((593=b4 OR b4=86 OR e4=575))
EXCEPT
  SELECT d6 FROM t6
   WHERE NOT ((251=a6)
           OR (457=d6 AND e6=747 AND b6=223 AND 146=c6 AND a6=62))
UNION
  SELECT b9 FROM t9
   WHERE (e9=549 AND 129=d9 AND b9=19)

query T valuesort
  SELECT c8 FROM t8
   WHERE a8 in (328,822,961,774,54,579,129)
      OR (a8=327 AND c8=419)
UNION ALL
  SELECT d4 FROM t4
   WHERE (366=c4 AND e4=619 AND a4=327 AND 511=d4 AND 323=b4)
UNION
  SELECT a7 FROM t7
   WHERE (220=b7)
EXCEPT
  SELECT a2 FROM t2
   WHERE NOT (c2 in (202,887,933,807,729,793,22,161,45))
UNION
  SELECT e1 FROM t1
   WHERE (b1=807)

query T valuesort
  SELECT e9 FROM t9
   WHERE a9 in (457,11,559)
UNION
  SELECT c5 FROM t5
   WHERE (b5=674 OR 853=a5 OR 883=d5)

query T valuesort
  SELECT c3 FROM t3
   WHERE d3 in (826,582,115,524)
      OR (478=a3 OR 577=b3)
EXCEPT
  SELECT d7 FROM t7
   WHERE NOT ((c7=257 AND 679=b7 AND a7=11 AND e7=904 AND 418=d7))
UNION
  SELECT e8 FROM t8
   WHERE c8 in (501,965,899,442,762,250,5,544)
      OR e8 in (512,487,384,295)
      OR (359=a8 OR 495=e8)
EXCEPT
  SELECT a1 FROM t1
   WHERE NOT (a1 in (380,20,866,517,352,4,678,732,249,189,461,75)
           OR d1 in (105,234,973,939,716,837,88,951))

query T valuesort
  SELECT c4 FROM t4
   WHERE (a4=752)
      OR (c4=178 AND a4=894 AND 551=b4 AND 1=e4)
UNION
  SELECT a5 FROM t5
   WHERE (998=b5)
EXCEPT
  SELECT d2 FROM t2
   WHERE NOT ((b2=181 AND d2=847))
EXCEPT
  SELECT b7 FROM t7
   WHERE NOT (a7 in (442,97,325,896,6,290,85,691,757,876)
           OR d7 in (722,278,781,777,539,675,114,492,892,364))
UNION
  SELECT e6 FROM t6
   WHERE (e6=237 OR b6=6 OR e6=14)
EXCEPT
  SELECT b1 FROM t1
   WHERE NOT ((234=d1 AND 850=b1)
           OR (328=e1 OR a1=668)
           OR (c1=390))
UNION
  SELECT b9 FROM t9
   WHERE (575=e9 OR d9=795)

query T valuesort
  SELECT d6 FROM t6
   WHERE (648=c6 AND 825=a6 AND 392=b6 AND 225=e6 AND d6=424)
INTERSECT
  SELECT c3 FROM t3
   WHERE NOT ((c3=806 OR 835=b3 OR 217=d3))
UNION
  SELECT d5 FROM t5
   WHERE (419=d5 OR a5=514)
      OR (c5=672 OR 601=c5 OR 921=a5)
      OR (874=b5 OR 357=a5 OR e5=511)

query T valuesort
  SELECT a3 FROM t3
   WHERE (e3=87)
      OR (b3=616)
      OR (806=c3 AND a3=244 AND e3=774 AND b3=376)
UNION
  SELECT b6 FROM t6
   WHERE a6 in (64,518,238,173,963,270,128,672,132,129,829,870)
      OR (147=d6 OR e6=808)
      OR e6 in (761,738,31,100,531)
EXCEPT
  SELECT b9 FROM t9
   WHERE NOT ((b9=16 AND 591=d9 AND 133=e9 AND 863=c9 AND a9=683))
EXCEPT
  SELECT b1 FROM t1
   WHERE NOT (d1 in (432,571,662,678,75,298,217,294,922,121)
           OR (b1=556 OR a1=299)
           OR b1 in (253,836,60,956,113,440,446,579,270,226,115,569,1,440))

query T valuesort
  SELECT c1 FROM t1
   WHERE d1 in (662,335,432,798,936,217,492,679,717,949)
UNION ALL
  SELECT c2 FROM t2
   WHERE (a2=471)
      OR e2 in (647,411,783,923,673,322,433,547)
EXCEPT
  SELECT a3 FROM t3
   WHERE NOT (c3 in (669,178,494,145,711,860,459,549,395,472,467)
           OR (a3=353 OR 577=b3)
           OR (892=e3))
EXCEPT
  SELECT c9 FROM t9
   WHERE NOT ((180=c9 OR d9=420)
           OR d9 in (399,628,86,360,912,549,821,25)
           OR (587=c9 OR c9=327))
EXCEPT
  SELECT b7 FROM t7
   WHERE NOT ((a7=925 OR b7=973 OR d7=777)
           OR d7 in (397,296,902,325,924,524,225,590,795,142,575,418)
           OR (a7=684 AND 842=d7 AND 166=b7 AND 843=c7 AND 945=e7))
EXCEPT
  SELECT d5 FROM t5
   WHERE NOT ((b5=855 AND 81=a5)
           OR (810=d5 OR d5=111)
           OR b5 in (412,716,606,143,161,273,98,193,855,113))
EXCEPT
  SELECT d4 FROM t4
   WHERE NOT ((480=b4 OR d4=593)
           OR e4 in (763,805,596,438,512,372,377,820,236,212,790,358,767,141))
UNION
  SELECT b8 FROM t8
   WHERE (d8=756 OR 796=b8 OR 188=c8)
UNION
  SELECT e6 FROM t6
   WHERE b6 in (290,880,281,126,739,825,243,217,662)
      OR (c6=961 AND 33=a6 AND 262=b6)
      OR (a6=45)

query T valuesort
  SELECT e4 FROM t4
   WHERE c4 in (758,220,119,675,214,732,162,806)
INTERSECT
  SELECT e7 FROM t7
   WHERE NOT ((e7=826))
UNION
  SELECT d1 FROM t1
   WHERE (c1=272 OR d1=172)
      OR (b1=32 AND 366=c1)
UNION
  SELECT d6 FROM t6
   WHERE (c6=434 OR d6=34 OR 807=d6)
      OR b6 in (350,276,984,217,54,300,699,662,601,463,281,650)
UNION ALL
  SELECT a2 FROM t2
   WHERE (186=a2 AND e2=37 AND 345=d2)
UNION ALL
  SELECT b8 FROM t8
   WHERE c8 in (381,789,196,100,61,32,668,187)
      OR (a8=913 OR 244=b8 OR 541=d8)
      OR e8 in (440,272,736,919,893,392,221,579,944,305,64,149,56)

query T valuesort
  SELECT b8 FROM t8
   WHERE (769=b8 AND c8=907 AND a8=586 AND e8=874 AND d8=141)
EXCEPT
  SELECT a7 FROM t7
   WHERE NOT (a7 in (433,945,865,912,936,998,9,452,6)
           OR (c7=659 AND 183=e7))

query T valuesort
  SELECT b6 FROM t6
   WHERE (e6=91)
      OR (b6=967 OR 657=a6)
UNION
  SELECT c8 FROM t8
   WHERE (a8=210 OR 374=c8 OR e8=955)
      OR b8 in (540,397,219)
EXCEPT
  SELECT c4 FROM t4
   WHERE NOT ((299=c4 AND b4=938 AND 763=e4 AND d4=943 AND 31=a4)
           OR (a4=16)
           OR a4 in (952,337,605,621,901,60))
EXCEPT
  SELECT b9 FROM t9
   WHERE NOT ((2=b9 AND 584=a9))
UNION
  SELECT d1 FROM t1
   WHERE (a1=194)
      OR (993=b1 OR 367=e1)
      OR d1 in (319,265,798,381,414,585)
UNION ALL
  SELECT b5 FROM t5
   WHERE a5 in (757,242,513,270,242,556,696,721,50)
UNION ALL
  SELECT a3 FROM t3
   WHERE d3 in (283,553,560)
      OR d3 in (399,164,524,487,522)
      OR (c3=668 OR 981=e3)

query T valuesort
  SELECT b5 FROM t5
   WHERE (736=b5 OR 626=a5)
UNION
  SELECT e9 FROM t9
   WHERE (240=a9)
UNION ALL
  SELECT d1 FROM t1
   WHERE (c1=175 OR c1=771)
EXCEPT
  SELECT b3 FROM t3
   WHERE NOT ((b3=874 AND e3=231 AND 372=c3))
UNION
  SELECT e6 FROM t6
   WHERE d6 in (367,489,196,36,600,991,446,855)
EXCEPT
  SELECT e7 FROM t7
   WHERE NOT ((439=a7 AND c7=948))

query T valuesort
  SELECT e1 FROM t1
   WHERE (a1=742 AND b1=836)
      OR (b1=619)
      OR (267=a1)
EXCEPT
  SELECT d2 FROM t2
   WHERE NOT ((c2=823 AND e2=604))
EXCEPT
  SELECT c4 FROM t4
   WHERE NOT ((185=a4 OR a4=921 OR 74=c4)
           OR (e4=151 AND 653=b4 AND d4=983 AND c4=703 AND a4=447)
           OR (372=b4 AND 212=e4 AND a4=990))
UNION ALL
  SELECT b8 FROM t8
   WHERE a8 in (250,445,254,113)
      OR (878=b8 OR 349=e8)
EXCEPT
  SELECT c9 FROM t9
   WHERE NOT (e9 in (943,954,245,819))
EXCEPT
  SELECT a5 FROM t5
   WHERE NOT ((e5=522)
           OR (642=a5 OR c5=934 OR 443=c5)
           OR e5 in (104,232,661,143,592,511,104,708,13))
EXCEPT
  SELECT c7 FROM t7
   WHERE NOT ((134=d7 OR c7=305)
           OR c7 in (288,103,744,607,14,659,376,305,661,377,672,145))

query T valuesort
  SELECT c1 FROM t1
   WHERE (234=d1 OR a1=76)
EXCEPT
  SELECT a6 FROM t6
   WHERE NOT ((232=b6 OR b6=290 OR d6=2)
           OR d6 in (647,337,161,73,974,2,277,852,424,192,869,734,35,428)
           OR (668=e6 OR c6=768))
UNION ALL
  SELECT a3 FROM t3
   WHERE (d3=109)
EXCEPT
  SELECT d8 FROM t8
   WHERE NOT ((c8=762 AND 259=b8)
           OR (116=d8 AND 725=b8)
           OR b8 in (725,878,461,673,351,503,205))
EXCEPT
  SELECT d5 FROM t5
   WHERE NOT (b5 in (723,205,98,759,161,193,789,661,320,705,506))
EXCEPT
  SELECT a9 FROM t9
   WHERE NOT (c9 in (751,457,807,575,639,711,935,836,332,370))

query T valuesort
  SELECT d6 FROM t6
   WHERE (942=c6 OR a6=128 OR a6=825)
      OR a6 in (692,2,132,396,839)
      OR (a6=129 OR e6=808)
EXCEPT
  SELECT a4 FROM t4
   WHERE NOT ((300=e4 OR d4=549)
           OR (993=c4 OR 434=b4 OR e4=596)
           OR (b4=402))
EXCEPT
  SELECT c2 FROM t2
   WHERE NOT ((d2=541 OR e2=679 OR b2=38))
EXCEPT
  SELECT b8 FROM t8
   WHERE NOT ((186=e8 OR 90=a8)
           OR (46=a8 OR 945=d8 OR 324=b8)
           OR (a8=728))

query T valuesort
  SELECT b5 FROM t5
   WHERE d5 in (772,313,858,344,343)
      OR c5 in (443,44,599,625,809,747,696)
      OR (545=c5 AND 342=e5 AND 626=a5 AND b5=183 AND 553=d5)
INTERSECT
  SELECT b9 FROM t9
   WHERE NOT ((418=e9 AND 232=c9 AND 688=b9))
EXCEPT
  SELECT c6 FROM t6
   WHERE NOT ((b6=963 OR 601=b6)
           OR (d6=578 OR 233=a6 OR d6=286)
           OR d6 in (846,911,185,750,197,147,60,2))
EXCEPT
  SELECT b4 FROM t4
   WHERE NOT ((778=a4 AND 290=e4))
UNION
  SELECT a7 FROM t7
   WHERE (729=c7)
      OR d7 in (831,276,781,296,795,225)
UNION ALL
  SELECT c1 FROM t1
   WHERE (314=a1 AND 335=d1 AND e1=122 AND b1=572)
EXCEPT
  SELECT b8 FROM t8
   WHERE NOT ((377=e8 AND 922=b8 AND c8=799 AND a8=328 AND 899=d8)
           OR e8 in (22,377,463,175,422,223,149,296,305,561,579,833)
           OR (a8=502))

query T valuesort
  SELECT b9 FROM t9
   WHERE (420=d9 OR b9=342 OR 739=a9)
UNION ALL
  SELECT a3 FROM t3
   WHERE (692=c3)
      OR a3 in (255,70,863,379,265,743,349,720,822,777,306,105,551,608)
      OR (a3=145)
EXCEPT
  SELECT a6 FROM t6
   WHERE NOT ((511=e6)
           OR (d6=489 AND a6=537 AND 283=e6))

query T valuesort
  SELECT a8 FROM t8
   WHERE (e8=221 OR 386=a8)
      OR d8 in (511,48,761,439,190)
UNION ALL
  SELECT a2 FROM t2
   WHERE (371=a2 OR 318=c2 OR 91=a2)
      OR e2 in (945,572,433,125,688,981,721,366,205)
      OR (d2=351)
EXCEPT
  SELECT e3 FROM t3
   WHERE NOT ((983=d3 OR a3=929)
           OR e3 in (823,281,108,7,304,592,87,813))
EXCEPT
  SELECT b5 FROM t5
   WHERE NOT ((929=e5 OR 250=c5))
UNION ALL
  SELECT d7 FROM t7
   WHERE (506=d7 AND 102=c7 AND e7=851)
      OR b7 in (720,735,781)

query T valuesort
  SELECT c4 FROM t4
   WHERE a4 in (74,894,502,558,605,509,651,997,990,804)
      OR (619=c4)
UNION
  SELECT e1 FROM t1
   WHERE (c1=681 AND b1=788 AND 604=a1 AND 443=e1)
EXCEPT
  SELECT e8 FROM t8
   WHERE NOT ((466=d8 OR 347=a8)
           OR (a8=12))
UNION ALL
  SELECT a6 FROM t6
   WHERE a6 in (861,128,452,355,643,683,680,518,64,818,121,386,811,222)
UNION
  SELECT e5 FROM t5
   WHERE (e5=522 AND a5=730 AND 989=b5 AND c5=351)
      OR d5 in (991,553,792)
      OR (c5=941 AND a5=24 AND e5=470 AND 313=d5 AND b5=723)
EXCEPT
  SELECT e7 FROM t7
   WHERE NOT (e7 in (782,815,301,248,31,988,6))
UNION
  SELECT a9 FROM t9
   WHERE (d9=909)
      OR (e9=542 AND 685=a9 AND 790=d9 AND 446=b9)
EXCEPT
  SELECT b2 FROM t2
   WHERE NOT ((d2=86 AND 360=c2 AND 953=e2 AND 820=b2 AND 760=a2)
           OR c2 in (728,182,141))
UNION ALL
  SELECT e3 FROM t3
   WHERE (135=a3)

query T valuesort
  SELECT b7 FROM t7
   WHERE (11=a7 OR d7=712 OR 816=e7)
      OR (612=b7 OR 430=a7 OR 356=a7)
INTERSECT
  SELECT d4 FROM t4
   WHERE NOT ((a4=921 OR 84=c4 OR 552=e4))
UNION
  SELECT e6 FROM t6
   WHERE (d6=458 OR 91=e6 OR 377=c6)
      OR c6 in (615,768,752,11,513,45,992,12,751,369,832,135,146,415)
EXCEPT
  SELECT b1 FROM t1
   WHERE NOT ((696=e1 AND b1=426)
           OR (563=b1 AND c1=387 AND 268=a1))
EXCEPT
  SELECT e5 FROM t5
   WHERE NOT (b5 in (942,771,723,26,548,998,971,657)
           OR (c5=922)
           OR (185=c5 AND d5=910 AND a5=190 AND 69=b5 AND e5=727))

query T valuesort
  SELECT b1 FROM t1
   WHERE (a1=109 OR 951=d1)
      OR (d1=618 OR 346=d1)
EXCEPT
  SELECT c5 FROM t5
   WHERE NOT ((478=a5)
           OR (a5=544 AND c5=31 AND d5=779))
UNION
  SELECT a3 FROM t3
   WHERE (d3=501 OR a3=476)
      OR (836=a3)
      OR (697=a3)
UNION
  SELECT d4 FROM t4
   WHERE (197=d4)
      OR (a4=579 OR 768=c4 OR 989=d4)
EXCEPT
  SELECT b8 FROM t8
   WHERE NOT ((a8=848 OR e8=440)
           OR (400=a8 OR 397=b8))
UNION
  SELECT d9 FROM t9
   WHERE c9 in (188,569,857,487,905,811,75,257,955,370,151,688,515)

query T valuesort
  SELECT b2 FROM t2
   WHERE (c2=22 OR 509=c2)
EXCEPT
  SELECT a5 FROM t5
   WHERE NOT ((e5=758 OR 759=b5)
           OR (d5=940)
           OR (c5=894 AND 921=a5 AND d5=557 AND 772=e5 AND b5=657))
EXCEPT
  SELECT d4 FROM t4
   WHERE NOT ((d4=260 AND 879=e4)
           OR (665=d4 OR a4=378)
           OR e4 in (381,954,123,767))
EXCEPT
  SELECT a1 FROM t1
   WHERE NOT ((c1=846)
           OR (531=e1 OR b1=384))
EXCEPT
  SELECT e9 FROM t9
   WHERE NOT ((d9=51 OR c9=332)
           OR (711=c9 AND a9=548 AND d9=420)
           OR (224=d9 OR 452=e9))

query T valuesort
  SELECT a6 FROM t6
   WHERE d6 in (393,929,223,271,269,458,664,489,2,778,797,36,172,35)
      OR (572=a6 OR 428=d6)
      OR (954=b6 OR e6=574)
UNION ALL
  SELECT b3 FROM t3
   WHERE (178=b3 AND c3=900 AND 846=e3)
EXCEPT
  SELECT c9 FROM t9
   WHERE NOT (d9 in (226,818,646,274,608))
EXCEPT
  SELECT e5 FROM t5
   WHERE NOT ((960=c5 OR 171=d5)
           OR b5 in (620,820,971,731,82,234,729))
EXCEPT
  SELECT a1 FROM t1
   WHERE NOT (c1 in (379,882,876,902,530,620)
           OR b1 in (282,253,233,736,115))
UNION
  SELECT c4 FROM t4
   WHERE (c4=752 AND e4=600 AND a4=281)
      OR (e4=397)

query T valuesort
  SELECT c1 FROM t1
   WHERE (d1=602)
      OR (462=b1 AND d1=407 AND e1=72)
      OR (c1=915 OR 139=e1)
UNION ALL
  SELECT c4 FROM t4
   WHERE b4 in (40,765,802,76,407,644,372,938)
      OR (d4=197 AND 511=e4)
EXCEPT
  SELECT c3 FROM t3
   WHERE NOT ((c3=178 OR e3=536)
           OR (d3=307 OR a3=913 OR 74=d3)
           OR b3 in (58,686,876,70,783,542,214,202,474))
UNION
  SELECT d5 FROM t5
   WHERE e5 in (561,390,894)
      OR (696=c5 AND d5=443 AND 740=a5)
UNION
  SELECT d2 FROM t2
   WHERE (e2=629)
      OR (150=c2)
      OR d2 in (476,977,513,86,953,651)
UNION ALL
  SELECT a8 FROM t8
   WHERE (332=c8)
EXCEPT
  SELECT e7 FROM t7
   WHERE NOT ((277=a7 AND 781=c7 AND 975=e7)
           OR e7 in (841,971,499,156,587,851,460,27,156,280))

query T valuesort
  SELECT a7 FROM t7
   WHERE (b7=735)
UNION
  SELECT e5 FROM t5
   WHERE (733=c5 AND 554=b5 AND 661=e5 AND d5=649)
      OR b5 in (273,874,338,975,113,623,559,771,292,569)
      OR e5 in (655,446,209,155,364,232)
EXCEPT
  SELECT e6 FROM t6
   WHERE NOT ((396=a6 OR b6=781 OR 276=b6))
UNION
  SELECT d9 FROM t9
   WHERE (646=d9 OR 447=b9 OR 864=b9)
UNION ALL
  SELECT e8 FROM t8
   WHERE c8 in (61,111,979,166,431,563,100,998,404,230,375,136)
UNION
  SELECT d4 FROM t4
   WHERE (997=d4)
UNION
  SELECT b3 FROM t3
   WHERE (314=d3)
      OR a3 in (576,499,349,820,265,697,788,393)
      OR e3 in (425,821,837,977,266)
UNION
  SELECT e2 FROM t2
   WHERE (c2=137)
      OR e2 in (647,366,37,483,294,213,499,40,923,812,138,548)
EXCEPT
  SELECT e1 FROM t1
   WHERE NOT ((130=d1 OR a1=173))

query T valuesort
  SELECT b4 FROM t4
   WHERE (919=a4 AND 631=e4 AND 433=c4 AND 524=d4)
UNION
  SELECT a3 FROM t3
   WHERE (a3=576 OR 977=b3 OR 993=e3)
UNION
  SELECT a5 FROM t5
   WHERE a5 in (18,180,556,349)
      OR (a5=180)
      OR d5 in (691,667,841,634,729,98,462)
EXCEPT
  SELECT b9 FROM t9
   WHERE NOT (b9 in (827,348,936,289,912,783,568,759,13,595,66,214,667)
           OR e9 in (968,965,549,19,987))
UNION
  SELECT b8 FROM t8
   WHERE (229=c8 AND 514=a8 AND d8=512 AND 811=e8)
EXCEPT
  SELECT b1 FROM t1
   WHERE NOT ((e1=139)
           OR (e1=558))
UNION ALL
  SELECT e6 FROM t6
   WHERE (430=c6 AND 243=b6 AND 196=d6)
      OR (537=a6 OR 77=e6 OR 832=c6)
      OR (257=e6)
EXCEPT
  SELECT b2 FROM t2
   WHERE NOT ((e2=73)
           OR (433=b2 AND 773=c2)
           OR a2 in (922,891,279,851,564,966,1))

query T valuesort
  SELECT c9 FROM t9
   WHERE e9 in (845,239,978,486,647,127,383,255,418)
      OR (d9=553 OR c9=843)
UNION
  SELECT b5 FROM t5
   WHERE (a5=536 OR 544=a5)
EXCEPT
  SELECT e8 FROM t8
   WHERE NOT ((e8=579 AND 889=b8 AND d8=706 AND a8=597 AND 32=c8)
           OR b8 in (219,287,259,852,773,704,102,369,540)
           OR (d8=889 OR d8=326 OR 421=c8))
EXCEPT
  SELECT a3 FROM t3
   WHERE NOT (a3 in (181,727,697,820,218,198,75,368,105,892,829)
           OR a3 in (699,548,376,296,181,935))
UNION
  SELECT e1 FROM t1
   WHERE (213=d1 AND c1=775 AND 779=e1 AND 993=b1)
      OR c1 in (296,246,97,299,88,636,388,771,177,765)
      OR (766=e1 OR b1=179)
UNION
  SELECT c7 FROM t7
   WHERE (b7=921 AND 249=c7 AND 665=a7)
      OR (876=a7 OR 929=e7 OR b7=808)
      OR e7 in (945,826,303,793,499,462,4,955,488)

query T valuesort
  SELECT d3 FROM t3
   WHERE (b3=203 OR 333=e3 OR 437=b3)
      OR (986=c3 AND e3=929 AND 882=b3 AND a3=560)
EXCEPT
  SELECT a1 FROM t1
   WHERE NOT ((584=b1 OR c1=168))

query T valuesort
  SELECT d7 FROM t7
   WHERE (a7=896 AND e7=7)
      OR (b7=579)
      OR (360=b7)
EXCEPT
  SELECT c8 FROM t8
   WHERE NOT ((c8=648 AND a8=184 AND 476=e8))
UNION ALL
  SELECT d4 FROM t4
   WHERE b4 in (389,535,593,653,707,260,532,33,579,407,587,917,35)
      OR e4 in (491,163,37,543,837,122,35,397,557,600,958,71,324)
      OR (d4=364)
EXCEPT
  SELECT b3 FROM t3
   WHERE NOT (a3 in (499,743,186,720,513,971,959,197,549,729,754,566)
           OR (c3=80 AND 890=d3 AND b3=76))

query T valuesort
  SELECT d9 FROM t9
   WHERE d9 in (129,489,919,744,591,912,965,987,668)
EXCEPT
  SELECT c8 FROM t8
   WHERE NOT (d8 in (116,989,344,48,894,58,682))
EXCEPT
  SELECT e5 FROM t5
   WHERE NOT (b5 in (629,789,186,784,665,759,820,623,499,98,661))
EXCEPT
  SELECT a3 FROM t3
   WHERE NOT ((525=a3)
           OR d3 in (428,635,720,503,809)
           OR d3 in (74,890,231,399,358,895,866,701))
UNION
  SELECT e4 FROM t4
   WHERE (857=a4 OR c4=658)
EXCEPT
  SELECT a1 FROM t1
   WHERE NOT ((e1=855 AND 26=b1 AND 492=a1)
           OR a1 in (283,280,23,864,215,52,358,382,879,352,866,268)
           OR (e1=546 AND b1=435 AND 586=d1 AND a1=643 AND c1=654))
UNION
  SELECT c6 FROM t6
   WHERE d6 in (729,750,767,991,424,734,256,578,488,489)
      OR (b6=650)
EXCEPT
  SELECT d7 FROM t7
   WHERE NOT ((579=b7)
           OR (d7=139 AND 306=b7 AND e7=499))

query T valuesort
  SELECT d3 FROM t3
   WHERE (656=c3 OR c3=265)
UNION
  SELECT d2 FROM t2
   WHERE a2 in (382,297,10,471,853,80,891,308,543,508,175,505,680,898)
      OR (869=c2 OR d2=892 OR d2=10)
      OR (548=e2)
UNION ALL
  SELECT b8 FROM t8
   WHERE (b8=609 OR 608=d8 OR d8=761)
EXCEPT
  SELECT c4 FROM t4
   WHERE NOT ((584=c4 AND 379=b4))
EXCEPT
  SELECT e6 FROM t6
   WHERE NOT ((606=b6 OR 752=c6)
           OR c6 in (135,961,832,28,328,609,54,938,452,216,399,490,35,187))
UNION ALL
  SELECT c7 FROM t7
   WHERE (603=d7 AND 442=a7)
      OR (462=e7 AND 439=a7 AND 801=d7)
      OR (271=b7)
UNION
  SELECT e1 FROM t1
   WHERE (681=b1 AND 416=d1 AND c1=152 AND 918=a1)
      OR (d1=298 AND e1=468)
      OR (738=b1 AND 685=c1)
EXCEPT
  SELECT a9 FROM t9
   WHERE NOT (d9 in (960,554,608,899,166,549,164,602,597,668,878,258)
           OR (a9=611 AND b9=912 AND 912=d9 AND 323=c9 AND 737=e9)
           OR (d9=166 AND b9=496))

query T valuesort
  SELECT d6 FROM t6
   WHERE (963=b6 AND a6=811)
      OR (d6=2)
UNION
  SELECT c2 FROM t2
   WHERE a2 in (415,544,725)
      OR (c2=141 OR a2=76)
EXCEPT
  SELECT d7 FROM t7
   WHERE NOT (c7 in (931,22,770,954,729,857,626,305,691,288,249)
           OR d7 in (982,996,722))

query T valuesort
  SELECT d8 FROM t8
   WHERE c8 in (32,501,427,233,683,117,461,166)
      OR (a8=15 OR c8=775 OR 870=b8)
UNION
  SELECT a2 FROM t2
   WHERE (125=e2)
UNION ALL
  SELECT a3 FROM t3
   WHERE (456=b3 AND a3=895)
      OR a3 in (499,525,913,105,184,341,376,548,965,935,754,396,822)
UNION ALL
  SELECT b5 FROM t5
   WHERE e5 in (661,150,144,929,271,232,206)

query T valuesort
  SELECT b7 FROM t7
   WHERE (d7=924 OR e7=48)
      OR (b7=306 OR 105=b7)
EXCEPT
  SELECT b2 FROM t2
   WHERE NOT (b2 in (173,966,228,779,353,634,818,857,297)
           OR (b2=60 AND 416=d2 AND e2=115 AND 308=a2))
UNION
  SELECT c4 FROM t4
   WHERE d4 in (794,905,988)
UNION ALL
  SELECT e5 FROM t5
   WHERE a5 in (740,544,721,921,330,976,685,478,335,34,597)
EXCEPT
  SELECT b8 FROM t8
   WHERE NOT (c8 in (299,683,513,979,775,111,965,297,283)
           OR (e8=442))
UNION ALL
  SELECT c9 FROM t9
   WHERE (e9=161 OR c9=188 OR d9=463)
      OR (b9=410 AND a9=149 AND 388=d9)
UNION
  SELECT b3 FROM t3
   WHERE (281=e3)
      OR (459=e3 AND d3=560)
      OR (a3=376)

query T valuesort
  SELECT d8 FROM t8
   WHERE e8 in (635,305,469,981)
UNION ALL
  SELECT e5 FROM t5
   WHERE e5 in (995,661,22,899,716,758,34,311)
UNION ALL
  SELECT d3 FROM t3
   WHERE (a3=396 OR e3=665 OR a3=836)
      OR (984=e3)

query T valuesort
  SELECT a6 FROM t6
   WHERE (413=c6)
UNION
  SELECT e7 FROM t7
   WHERE a7 in (950,916,863,386,589,452,195)
UNION
  SELECT c9 FROM t9
   WHERE (982=a9 AND 15=e9)
EXCEPT
  SELECT d2 FROM t2
   WHERE NOT ((d2=195 AND a2=56 AND 285=b2 AND e2=339))

query T valuesort
  SELECT e2 FROM t2
   WHERE c2 in (551,24,557,933)
      OR (434=e2 OR 336=a2 OR 751=a2)
      OR (103=c2 AND d2=838)
UNION
  SELECT c3 FROM t3
   WHERE (662=d3)
UNION ALL
  SELECT e7 FROM t7
   WHERE (280=b7)
EXCEPT
  SELECT a1 FROM t1
   WHERE NOT (a1 in (145,241,358,330,109,637,231,853,173,847,553,746,640)
           OR (758=c1 AND a1=281))

query T valuesort
  SELECT b5 FROM t5
   WHERE b5 in (695,526,878,159,391,759,183,26,587,860,782,822)
      OR (c5=989 OR a5=301)
      OR (c5=27 AND a5=721)
EXCEPT
  SELECT b8 FROM t8
   WHERE NOT (a8 in (954,661,113)
           OR (c8=394 AND 503=b8 AND 331=a8 AND d8=101))
UNION ALL
  SELECT b1 FROM t1
   WHERE d1 in (818,701,863,459)

query T valuesort
  SELECT e8 FROM t8
   WHERE c8 in (32,321,866,979,61,961,136,693,448,790)
UNION
  SELECT d1 FROM t1
   WHERE e1 in (228,897,11)
      OR (445=a1 AND 765=c1 AND d1=508 AND 995=b1)
UNION
  SELECT a4 FROM t4
   WHERE (929=d4 AND 319=c4 AND a4=513)
      OR (c4=455 AND e4=372 AND 185=a4)
EXCEPT
  SELECT b3 FROM t3
   WHERE NOT ((792=c3 AND e3=119)
           OR (b3=130))

query T valuesort
  SELECT a4 FROM t4
   WHERE (948=a4)
UNION
  SELECT e7 FROM t7
   WHERE (c7=585 AND 936=a7 AND 827=b7 AND 196=d7 AND 929=e7)
EXCEPT
  SELECT e3 FROM t3
   WHERE NOT (e3 in (929,823,272,814,892,83,833))
UNION
  SELECT d6 FROM t6
   WHERE (a6=255 OR 1=e6 OR 664=d6)
      OR (938=c6 AND 797=d6 AND a6=706)
      OR b6 in (490,629,739,230,923,158,974,583)
UNION ALL
  SELECT a2 FROM t2
   WHERE (e2=721 AND 404=d2)
UNION ALL
  SELECT b9 FROM t9
   WHERE d9 in (283,420,553,821,763,439,601,345,720,268,922)

query T valuesort
  SELECT c7 FROM t7
   WHERE (c7=565)
      OR e7 in (851,983,27,590,248,31,689,900,31,302,422)
      OR (b7=129 AND 884=a7 AND 254=e7 AND 108=d7 AND 780=c7)
UNION ALL
  SELECT d6 FROM t6
   WHERE e6 in (673,738,617,798,847,915,840,750,74,531,237,595,417)
      OR (b6=511 OR d6=161)
EXCEPT
  SELECT e4 FROM t4
   WHERE NOT ((b4=660 OR e4=531 OR 916=e4)
           OR (d4=100 AND 107=b4 AND 996=c4)
           OR c4 in (936,996,768,723,675,712,82,927,749,948,783))

query T valuesort
  SELECT d9 FROM t9
   WHERE (104=d9)
      OR (18=a9 AND d9=166 AND b9=496)
INTERSECT
  SELECT a2 FROM t2
   WHERE NOT ((d2=806 OR d2=2 OR c2=65)
           OR (796=a2 AND e2=411))
EXCEPT
  SELECT c5 FROM t5
   WHERE NOT (e5 in (655,554,470,661)
           OR (e5=271 AND 342=a5)
           OR (99=a5))
EXCEPT
  SELECT e8 FROM t8
   WHERE NOT ((c8=513))
UNION
  SELECT e4 FROM t4
   WHERE (653=b4 AND 447=a4 AND 151=e4 AND c4=703 AND d4=983)

query T valuesort
  SELECT c8 FROM t8
   WHERE b8 in (105,469,34,454,704,461,503,792,365,308,324,394,992)
      OR (d8=534 OR c8=973)
EXCEPT
  SELECT b1 FROM t1
   WHERE NOT ((c1=523 OR 268=e1))

query T valuesort
  SELECT c8 FROM t8
   WHERE (421=c8 AND b8=615 AND a8=210 AND 190=d8 AND e8=105)
      OR (a8=289)
      OR c8 in (844,442,117,377,298,113,448,291,160,79,998,979)
UNION
  SELECT d7 FROM t7
   WHERE b7 in (949,660,396,717,340,579,422,913,679,426,250,979,221)
      OR (a7=325 AND 478=c7)

query T valuesort
  SELECT c5 FROM t5
   WHERE e5 in (9,971,440,68,287,446,655,441)
      OR (d5=738 OR a5=730)
      OR b5 in (640,193,998,230,674,326,412)
EXCEPT
  SELECT d1 FROM t1
   WHERE NOT ((52=e1 AND c1=379)
           OR (a1=222))
UNION ALL
  SELECT b9 FROM t9
   WHERE (74=b9 AND 712=a9)
      OR a9 in (349,811,847)
      OR (b9=13 AND d9=25 AND 378=a9 AND e9=744)
EXCEPT
  SELECT e2 FROM t2
   WHERE NOT ((450=c2 AND 249=d2 AND a2=954 AND b2=527 AND e2=386)
           OR (c2=136 OR c2=346 OR 115=e2))
EXCEPT
  SELECT b8 FROM t8
   WHERE NOT ((50=d8 AND 790=b8 AND 12=a8)
           OR b8 in (922,454,540,523,803,205,870))

query T valuesort
  SELECT b7 FROM t7
   WHERE a7 in (361,90,386,707,651,542,757,97,233,452,865,442,748,62)
      OR (c7=376)
EXCEPT
  SELECT c8 FROM t8
   WHERE NOT ((b8=351 AND c8=188 AND 623=d8 AND 966=e8))
UNION
  SELECT a2 FROM t2
   WHERE (673=e2)
      OR (223=e2 AND 779=c2)
UNION
  SELECT d5 FROM t5
   WHERE a5 in (685,597,917,18,55,297,626,513,514,319,837)
      OR (e5=287 AND 413=a5 AND b5=499 AND c5=18 AND 24=d5)
      OR c5 in (196,37,936,579,855,570,31,625,668,443,697)
UNION
  SELECT e4 FROM t4
   WHERE b4 in (749,563,847,849,331,634,243,982,35,721,627,784)
      OR (837=e4 AND a4=337 AND 658=d4 AND b4=917 AND 220=c4)

query T valuesort
  SELECT b4 FROM t4
   WHERE (b4=58 AND 449=d4 AND 480=e4 AND 170=a4 AND c4=188)
EXCEPT
  SELECT a6 FROM t6
   WHERE NOT (e6 in (91,67,673,711,175,574,678,1,631,794,329)
           OR (528=c6 OR d6=446)
           OR b6 in (606,850,351,662,463,267))
UNION ALL
  SELECT e5 FROM t5
   WHERE (437=c5)
UNION ALL
  SELECT d2 FROM t2
   WHERE b2 in (820,864,903,628,414,228,21,779,170,585,93,217,543,170)
      OR (a2=851)
      OR (a2=789 AND c2=981 AND e2=220 AND d2=498)
UNION
  SELECT b8 FROM t8
   WHERE c8 in (965,321,851,381,321,789)
      OR c8 in (563,283,866)
      OR (a8=129 OR a8=210)

query T valuesort
  SELECT e7 FROM t7
   WHERE (c7=553 OR c7=843)
      OR d7 in (108,276,974,549)
      OR e7 in (793,983,587)
UNION
  SELECT e2 FROM t2
   WHERE (d2=241 AND 718=a2 AND 657=c2 AND b2=357 AND e2=510)
      OR a2 in (185,445,680,751,853,538,98,495)
UNION
  SELECT e4 FROM t4
   WHERE a4 in (139,451,997,408,422,574,92,579,558,72,510,473,261,756)
      OR (b4=139 AND d4=481 AND e4=71 AND a4=509 AND c4=768)
      OR (919=b4 AND 651=a4 AND e4=257 AND 989=d4)
EXCEPT
  SELECT b6 FROM t6
   WHERE NOT (c6 in (12,677,177,430)
           OR c6 in (242,832,620,287,506,749,295,123,961,942))
EXCEPT
  SELECT c5 FROM t5
   WHERE NOT (a5 in (867,319,921,174,342,586,369,445,242,540,341,832,730)
           OR d5 in (602,520,806,114,495,309,682,542,977)
           OR (c5=625))

query T valuesort
  SELECT e2 FROM t2
   WHERE (510=e2 OR 87=c2 OR c2=148)
UNION ALL
  SELECT b4 FROM t4
   WHERE (d4=409 OR 350=e4 OR 631=c4)
      OR (667=c4 OR 629=a4)
EXCEPT
  SELECT c5 FROM t5
   WHERE NOT ((e5=696 AND b5=113)
           OR d5 in (274,343,883,977,480,634,479,42,271,520,910))

query T valuesort
  SELECT e8 FROM t8
   WHERE (c8=283 AND 981=e8 AND a8=961 AND 81=d8 AND b8=511)
INTERSECT
  SELECT c7 FROM t7
   WHERE NOT ((c7=981 OR c7=142)
           OR (4=e7 OR d7=885 OR d7=142)
           OR c7 in (305,478,688,705,180,249,816,887))
EXCEPT
  SELECT c4 FROM t4
   WHERE NOT ((188=c4 OR 114=b4)
           OR (984=c4 AND 482=d4)
           OR a4 in (228,271,29,185,136,997,847))
UNION
  SELECT a2 FROM t2
   WHERE (733=a2 AND e2=939 AND 711=c2 AND d2=803)
      OR (b2=635 AND 22=c2 AND 669=d2 AND a2=371)
      OR d2 in (525,914,953,351,843,498,416,260,284)

query T valuesort
  SELECT b2 FROM t2
   WHERE (e2=560 AND 346=c2)
      OR (283=a2 OR b2=90 OR c2=274)
UNION ALL
  SELECT d1 FROM t1
   WHERE c1 in (172,177,980,417,136,15,852,272)
      OR (b1=569)
      OR (130=d1)

query T valuesort
  SELECT c7 FROM t7
   WHERE (e7=904 OR 508=e7)
      OR (d7=79 OR 280=b7)
EXCEPT
  SELECT d8 FROM t8
   WHERE NOT (d8 in (683,384,101,735,889)
           OR (486=c8 OR a8=46)
           OR a8 in (359,127,848,46,838,248,638))

query T valuesort
  SELECT d3 FROM t3
   WHERE (138=e3)
      OR (b3=127)
INTERSECT
  SELECT d5 FROM t5
   WHERE NOT ((104=e5 AND d5=729 AND 723=c5 AND 380=b5 AND 540=a5)
           OR (b5=502 OR 9=a5)
           OR c5 in (158,198,18,155,820,422,696,733,668,163,544,598,657,649))
UNION ALL
  SELECT b6 FROM t6
   WHERE (187=c6)
UNION
  SELECT c7 FROM t7
   WHERE (89=e7)
UNION
  SELECT d1 FROM t1
   WHERE b1 in (254,828,60,42,896,766)
      OR d1 in (96,913,346,310,662,793,571,770,585,626,643,973,936)
      OR a1 in (525,524,864,950,281,732,461,629)
UNION ALL
  SELECT d8 FROM t8
   WHERE (729=e8 OR 961=a8 OR 15=a8)
      OR d8 in (330,715,472,815,781,525,945)
UNION ALL
  SELECT d4 FROM t4
   WHERE (55=d4 AND c4=904 AND 482=e4)
EXCEPT
  SELECT a2 FROM t2
   WHERE NOT ((b2=966)
           OR (807=c2 AND a2=217 AND b2=217 AND e2=512)
           OR (a2=262 AND c2=722 AND e2=213))
EXCEPT
  SELECT d9 FROM t9
   WHERE NOT ((b9=227 AND c9=273 AND e9=987)
           OR a9 in (273,875,450,435,457,485,830,953,841)
           OR e9 in (694,679,947,35,819,301))

query T valuesort
  SELECT e3 FROM t3
   WHERE (b3=720 AND 524=d3 AND a3=393 AND 192=e3)
      OR (a3=784 AND 336=d3)
INTERSECT
  SELECT d1 FROM t1
   WHERE NOT ((62=c1)
           OR (c1=548 AND 637=a1 AND e1=125 AND d1=376 AND 404=b1)
           OR (c1=870 AND b1=711 AND e1=14))
UNION
  SELECT e4 FROM t4
   WHERE c4 in (904,749,873,927)
      OR c4 in (513,609,157,366,998,319,398,271,631,214,768,703)
UNION ALL
  SELECT a8 FROM t8
   WHERE (20=d8)
      OR (b8=454 OR a8=312)
      OR (c8=998)
EXCEPT
  SELECT a9 FROM t9
   WHERE NOT (b9 in (262,893,178,827,269,891,578,2,858,342)
           OR (420=d9 AND 548=a9 AND 832=b9)
           OR (e9=819 AND 488=a9))
UNION ALL
  SELECT e2 FROM t2
   WHERE (987=a2 AND b2=818)
      OR b2 in (161,754,211,72,676,818,311,818,148,546,545,278)
      OR (2=d2 OR 671=e2 OR 556=e2)

query T valuesort
  SELECT d9 FROM t9
   WHERE (854=e9 AND 305=d9)
      OR a9 in (104,959,177,685,468,41,553)
      OR b9 in (251,751,103,19,301,289,848,74,122)
EXCEPT
  SELECT e3 FROM t3
   WHERE NOT ((c3=792 AND d3=38 AND 383=a3 AND 972=e3))
EXCEPT
  SELECT a2 FROM t2
   WHERE NOT ((386=e2)
           OR e2 in (366,114,512,554,483,899,808)
           OR d2 in (669,198,663))
UNION
  SELECT a5 FROM t5
   WHERE d5 in (977,412,940,649,443)
EXCEPT
  SELECT d8 FROM t8
   WHERE NOT (b8 in (975,540,806,98,770,673))
UNION
  SELECT b4 FROM t4
   WHERE b4 in (331,408,964,23,94,137,892)
UNION
  SELECT d1 FROM t1
   WHERE (12=e1 AND c1=617 AND a1=544)
EXCEPT
  SELECT d6 FROM t6
   WHERE NOT (c6 in (292,749,938,500,609,328,135,45,506,452)
           OR (729=d6 OR d6=790 OR 954=b6))
EXCEPT
  SELECT e7 FROM t7
   WHERE NOT ((689=e7)
           OR a7 in (466,876,114,995,982,832)
           OR (912=a7 AND 234=b7 AND 215=e7 AND 682=c7 AND 79=d7))

query T valuesort
  SELECT d6 FROM t6
   WHERE (e6=738)
      OR b6 in (449,158,54,583,601,392,662,427,223)
      OR a6 in (66,35,706,366,85,764,718,414,293)
UNION
  SELECT b9 FROM t9
   WHERE e9 in (845,542,942,230,657,245,934,251,239,801,737,486)
      OR (c9=734 AND 245=b9 AND a9=365 AND d9=608)
      OR (e9=653 OR b9=880 OR a9=535)
UNION ALL
  SELECT d5 FROM t5
   WHERE (a5=54 OR 360=d5 OR 174=a5)
      OR (34=a5)
      OR (e5=436 OR 495=d5 OR c5=989)
UNION ALL
  SELECT d2 FROM t2
   WHERE (e2=548 OR 153=d2)
      OR b2 in (857,968,725,755,418,805,181,811,554,546)
EXCEPT
  SELECT d1 FROM t1
   WHERE NOT (e1 in (732,484,997,497,268,313,402,747,504,87,695,737,816,523))
EXCEPT
  SELECT b7 FROM t7
   WHERE NOT ((d7=575)
           OR b7 in (510,970,323,892,120,280,271,306,257,541,506,374,266)
           OR (d7=777 AND 419=c7 AND 191=b7 AND a7=114 AND e7=344))
EXCEPT
  SELECT d3 FROM t3
   WHERE NOT (b3 in (788,224,437,28,713,58,677,236,368))

query T valuesort
  SELECT d8 FROM t8
   WHERE a8 in (15,920,453,250,855,347)
      OR (77=c8 OR 102=b8 OR 889=d8)
UNION ALL
  SELECT a6 FROM t6
   WHERE e6 in (958,211,6,747,95,634,439,237)

query T valuesort
  SELECT a7 FROM t7
   WHERE (c7=98 AND 395=d7 AND a7=130 AND b7=120)
      OR e7 in (499,782,215,827,319,98,970,816)
UNION
  SELECT e8 FROM t8
   WHERE (312=a8 AND e8=579 AND 397=b8 AND 5=c8)

query T valuesort
  SELECT b3 FROM t3
   WHERE (e3=993 OR c3=647 OR 246=b3)
      OR (260=d3 OR 147=e3)
INTERSECT
  SELECT b9 FROM t9
   WHERE NOT ((487=c9 OR e9=647 OR 273=c9)
           OR (e9=854 OR e9=799 OR d9=95))
EXCEPT
  SELECT e4 FROM t4
   WHERE NOT ((349=d4 OR 451=a4 OR 901=a4))
UNION ALL
  SELECT a6 FROM t6
   WHERE (b6=915 AND d6=885 AND 469=a6)
      OR (e6=360 OR 829=a6 OR 72=d6)
      OR b6 in (507,905,850,662,906,565,962,541,0,549)
EXCEPT
  SELECT c5 FROM t5
   WHERE NOT ((e5=885 AND 31=c5 AND d5=779 AND 544=a5 AND 878=b5)
           OR (743=a5 AND e5=446 AND b5=511))
EXCEPT
  SELECT c7 FROM t7
   WHERE NOT (e7 in (290,344,127,793,900,319,455,356,827,27,48)
           OR c7 in (659,94,280,376,564))

query T valuesort
  SELECT e6 FROM t6
   WHERE (d6=321 OR 135=c6)
UNION
  SELECT b4 FROM t4
   WHERE a4 in (243,107,248,82,778,981,473,170,502,408,367,558,439)
EXCEPT
  SELECT a7 FROM t7
   WHERE NOT ((d7=306 OR a7=912 OR b7=720))
UNION
  SELECT e1 FROM t1
   WHERE (711=b1 AND e1=14)
      OR (168=c1 AND e1=313)
UNION ALL
  SELECT e3 FROM t3
   WHERE (b3=166 OR 464=e3 OR 690=e3)
      OR (837=b3 OR e3=83 OR a3=591)
      OR (e3=304)
UNION ALL
  SELECT d9 FROM t9
   WHERE (142=d9 AND c9=37 AND 356=a9)

query T valuesort
  SELECT a1 FROM t1
   WHERE (c1=12 OR 189=a1)
      OR (d1=748 AND 166=e1)
      OR (5=c1 AND 299=a1)
UNION
  SELECT a9 FROM t9
   WHERE (12=b9 OR 25=d9 OR 172=a9)
UNION
  SELECT d3 FROM t3
   WHERE (e3=984 OR d3=866 OR 350=b3)
UNION
  SELECT d2 FROM t2
   WHERE (a2=594 OR 197=c2 OR c2=127)
      OR (751=a2 AND 328=d2 AND 489=b2)
      OR (805=b2 AND 471=a2)

query T valuesort
  SELECT b4 FROM t4
   WHERE (713=d4 OR 482=d4 OR 81=a4)
      OR a4 in (990,72,422,746,756,16)
      OR (b4=660 OR 783=c4)
UNION
  SELECT d5 FROM t5
   WHERE (743=a5 AND 934=c5 AND b5=511 AND d5=682)
EXCEPT
  SELECT a6 FROM t6
   WHERE NOT ((c6=267 AND d6=223)
           OR (797=d6 AND 175=e6 AND a6=706 AND c6=938 AND b6=739)
           OR (683=a6))
UNION
  SELECT d7 FROM t7
   WHERE d7 in (265,199,418,306,507,974,785,594,442,278,139,524,772)
EXCEPT
  SELECT a3 FROM t3
   WHERE NOT ((701=b3 AND d3=17 AND 281=e3)
           OR b3 in (382,240,103,816,234)
           OR (a3=145))

query T valuesort
  SELECT d5 FROM t5
   WHERE d5 in (369,616,280,789,276,59,309,521,805)
UNION ALL
  SELECT e7 FROM t7
   WHERE d7 in (620,324,52,436,886,599,891)
      OR (861=b7)
UNION ALL
  SELECT e2 FROM t2
   WHERE b2 in (168,643,73,285,966,367,811,504,938,297,859,170,714,649)
      OR c2 in (907,360,107,992,449,292,268,509,894,967,779,22)
      OR (283=c2 AND 366=e2 AND b2=326 AND 23=d2 AND 2=a2)
UNION
  SELECT e1 FROM t1
   WHERE d1 in (679,75,806,121,654,47)
      OR (113=b1)
UNION ALL
  SELECT c8 FROM t8
   WHERE (b8=102 AND 554=d8 AND 838=a8 AND 196=c8)
      OR (934=b8 OR 650=a8 OR 578=a8)
EXCEPT
  SELECT c3 FROM t3
   WHERE NOT ((29=c3 OR b3=464 OR 155=e3)
           OR b3 in (783,454,130,152,882,788,677)
           OR d3 in (133,726,683,650,958))
EXCEPT
  SELECT e6 FROM t6
   WHERE NOT ((a6=537 OR 631=e6 OR e6=283))
EXCEPT
  SELECT b9 FROM t9
   WHERE NOT (a9 in (875,69,218,548)
           OR b9 in (783,77,64,326,74,13,262,122,751,746,912,301,227)
           OR (c9=547))
EXCEPT
  SELECT e4 FROM t4
   WHERE NOT (e4 in (531,48,600)
           OR (d4=249)
           OR (150=d4))

query T valuesort
  SELECT a3 FROM t3
   WHERE (134=c3 OR 727=a3 OR a3=929)
      OR (a3=754)
UNION
  SELECT d1 FROM t1
   WHERE (d1=163)
EXCEPT
  SELECT b7 FROM t7
   WHERE NOT (a7 in (894,75,757,806,158,324,439,299,195)
           OR e7 in (356,120,971)
           OR (114=a7 AND b7=191 AND 419=c7 AND d7=777))

query T valuesort
  SELECT c6 FROM t6
   WHERE e6 in (972,617,585,750,511,766,40,794,67,634,6,747)
      OR (34=d6 OR 351=b6)
INTERSECT
  SELECT b3 FROM t3
   WHERE NOT ((a3=478 OR e3=449)
           OR (d3=60 OR a3=70))
UNION
  SELECT d5 FROM t5
   WHERE (163=a5 OR 141=e5 OR b5=855)
      OR (68=e5)
      OR b5 in (716,665,736,336,531,544)
EXCEPT
  SELECT a9 FROM t9
   WHERE NOT (c9 in (601,95,349,575,936)
           OR c9 in (936,764,711,687,923,253,187,278,843,349,547,87,222,240)
           OR (c9=419 OR a9=17))
UNION ALL
  SELECT e8 FROM t8
   WHERE d8 in (456,20,675,711,463,950)
      OR (297=c8)
      OR (d8=624)

query T valuesort
  SELECT e6 FROM t6
   WHERE (531=a6 AND d6=729)
EXCEPT
  SELECT b3 FROM t3
   WHERE NOT ((d3=444)
           OR (133=c3 AND 490=a3 AND d3=423))
EXCEPT
  SELECT b7 FROM t7
   WHERE NOT ((d7=292))
UNION ALL
  SELECT b2 FROM t2
   WHERE c2 in (228,290,61,692,560,728,360,179,202,496,161,193,964,466)
UNION ALL
  SELECT b8 FROM t8
   WHERE (279=c8 AND 461=b8 AND 651=a8 AND e8=38)

query T valuesort
  SELECT e1 FROM t1
   WHERE a1 in (524,981,732,23,276)
      OR (556=b1 OR 976=c1 OR 355=b1)
      OR (696=e1 AND c1=441)
EXCEPT
  SELECT c7 FROM t7
   WHERE NOT (b7 in (726,634,495,868,222,30)
           OR (b7=878 AND 795=a7 AND 661=c7)
           OR (d7=324 OR 441=c7))
UNION ALL
  SELECT a3 FROM t3
   WHERE (809=d3)
EXCEPT
  SELECT e4 FROM t4
   WHERE NOT ((423=a4))
EXCEPT
  SELECT b2 FROM t2
   WHERE NOT ((d2=265 OR 153=d2))
UNION
  SELECT c6 FROM t6
   WHERE (a6=436 AND b6=880)
      OR c6 in (28,506,146,452)
      OR (151=d6 AND 270=c6 AND a6=973)
UNION
  SELECT c9 FROM t9
   WHERE a9 in (41,18,28,251,474,830,841,962,803,610,416)
UNION
  SELECT a5 FROM t5
   WHERE (894=c5 AND a5=921 AND 557=d5 AND b5=657 AND e5=772)
EXCEPT
  SELECT e8 FROM t8
   WHERE NOT (c8 in (541,404,394,790,297,775,979,501,961))

query T valuesort
  SELECT b9 FROM t9
   WHERE (d9=679)
      OR (e9=133 OR 764=a9 OR d9=987)
INTERSECT
  SELECT d7 FROM t7
   WHERE NOT (d7 in (105,939,148,590,94))
INTERSECT
  SELECT e1 FROM t1
   WHERE NOT ((563=b1 AND 733=e1))
INTERSECT
  SELECT b2 FROM t2
   WHERE NOT (a2 in (442,76,910,544,223,733,718)
           OR (a2=817 AND e2=753 AND 177=d2 AND 276=b2)
           OR e2 in (564,753,963,655,698,721,953,899,955,115,939))
INTERSECT
  SELECT e8 FROM t8
   WHERE NOT (e8 in (942,919,874,296,586,377,272,204,463,440,44,423)
           OR d8 in (269,675,339,197,743,179,291,811))
UNION ALL
  SELECT c5 FROM t5
   WHERE (342=a5)
      OR (b5=499 AND 18=c5)
      OR (e5=737 AND d5=883 AND a5=392)
UNION ALL
  SELECT e3 FROM t3
   WHERE (c3=220 AND 727=a3 AND 711=d3 AND 108=e3)
      OR (240=b3 AND d3=825 AND a3=899 AND 319=e3 AND c3=863)

query T valuesort
  SELECT a7 FROM t7
   WHERE b7 in (820,129,392,510,813)
INTERSECT
  SELECT a1 FROM t1
   WHERE NOT ((862=b1 AND c1=207 AND 276=a1 AND 110=e1 AND 936=d1)
           OR (a1=629 AND d1=504 AND 584=b1 AND 253=c1))
UNION ALL
  SELECT d4 FROM t4
   WHERE (894=a4 AND 1=e4 AND b4=551 AND c4=178)
EXCEPT
  SELECT e6 FROM t6
   WHERE NOT ((225=e6 OR a6=148)
           OR b6 in (834,583,511,662,392,230,974,710,214,880,601,650,348,449)
           OR a6 in (680,384,132,657,35,522,870,829,811,540))
EXCEPT
  SELECT d2 FROM t2
   WHERE NOT ((27=c2 AND e2=434 AND b2=812)
           OR (b2=755))
UNION
  SELECT e3 FROM t3
   WHERE (e3=145 AND c3=963 AND d3=1)
      OR (b3=246 OR 378=a3)
      OR (d3=2 AND a3=935 AND 58=b3 AND e3=892 AND 701=c3)
UNION
  SELECT e5 FROM t5
   WHERE (499=e5)
UNION
  SELECT e9 FROM t9
   WHERE (332=d9 AND 807=c9 AND 672=e9 AND b9=759 AND a9=662)
      OR (399=d9)
UNION ALL
  SELECT c8 FROM t8
   WHERE (b8=603 OR c8=154 OR b8=325)
      OR a8 in (46,894,838,650,171,359,328,467)

query T valuesort
  SELECT a2 FROM t2
   WHERE (c2=981)
      OR e2 in (788,706,428,123,936,37)
EXCEPT
  SELECT c5 FROM t5
   WHERE NOT (d5 in (769,309,369,542,98,117,132,772,745,282)
           OR (965=d5 OR e5=885 OR 72=e5))
EXCEPT
  SELECT b9 FROM t9
   WHERE NOT ((413=a9 AND e9=788 AND d9=450 AND 379=b9 AND c9=62)
           OR (913=b9 AND 947=e9))
UNION
  SELECT b3 FROM t3
   WHERE c3 in (600,961,656,220,763,711,102,40,127,580,887)
      OR (792=c3)
      OR c3 in (845,285,339,494,697,338,970,651,844,84,826,777,455)
EXCEPT
  SELECT c6 FROM t6
   WHERE NOT ((c6=11 AND d6=271 AND a6=740 AND e6=574 AND b6=0)
           OR (d6=271 OR 21=d6 OR 35=a6))
EXCEPT
  SELECT e7 FROM t7
   WHERE NOT ((575=d7 OR e7=970 OR 916=d7))
EXCEPT
  SELECT e1 FROM t1
   WHERE NOT (d1 in (457,55,416,130,25,508,319,4))
EXCEPT
  SELECT c4 FROM t4
   WHERE NOT (d4 in (706,277,917,728,568,549)
           OR (661=d4 AND e4=739))

query T valuesort
  SELECT b9 FROM t9
   WHERE (c9=60 OR 240=a9)
EXCEPT
  SELECT e3 FROM t3
   WHERE NOT (a3 in (429,935,594,282,30,615,559,576)
           OR a3 in (164,513,751,763,364,995,353,5,490,637))
EXCEPT
  SELECT d7 FROM t7
   WHERE NOT ((87=a7)
           OR (290=e7 OR b7=949))
EXCEPT
  SELECT e1 FROM t1
   WHERE NOT ((e1=732 OR 211=b1)
           OR (113=e1 AND 172=d1 AND 622=a1 AND b1=853 AND c1=762)
           OR a1 in (445,742,358,918,492,996))
UNION
  SELECT a5 FROM t5
   WHERE (54=a5)
      OR c5 in (147,678,819,978,598,485,293,915,941,855,809,634)
UNION ALL
  SELECT b4 FROM t4
   WHERE (357=b4)
      OR (619=c4 OR 261=b4)
      OR (993=c4)
UNION
  SELECT a6 FROM t6
   WHERE a6 in (474,1,683,66,718,680)
      OR (230=e6 AND 393=d6 AND c6=54 AND 774=b6 AND a6=839)
EXCEPT
  SELECT d8 FROM t8
   WHERE NOT ((899=d8 OR b8=102))
EXCEPT
  SELECT a2 FROM t2
   WHERE NOT ((262=a2 OR 373=d2)
           OR (d2=448)
           OR (e2=781 AND c2=878 AND a2=709 AND d2=448 AND b2=605))

query T valuesort
  SELECT a7 FROM t7
   WHERE d7 in (79,391,265,666,781,603,325,399,902,183)
      OR (e7=302 OR b7=250 OR 341=d7)
      OR c7 in (232,488,934,301,705,857,843)
UNION
  SELECT d9 FROM t9
   WHERE (597=d9 OR 258=a9)
UNION
  SELECT c3 FROM t3
   WHERE (474=b3)
      OR (818=a3)
      OR (b3=456 OR 863=c3)
EXCEPT
  SELECT b5 FROM t5
   WHERE NOT (c5 in (261,681,527,941,923,774,734,855,934,27,941,313,442))

query T valuesort
  SELECT d5 FROM t5
   WHERE (822=b5 OR 9=a5 OR 758=e5)
EXCEPT
  SELECT a3 FROM t3
   WHERE NOT ((a3=532 OR 617=b3 OR e3=765)
           OR (874=b3))
EXCEPT
  SELECT c9 FROM t9
   WHERE NOT ((468=a9)
           OR (142=d9 OR 18=a9 OR 711=c9)
           OR d9 in (665,909,737,681,345,678,922,720,549,489))

query T valuesort
  SELECT d2 FROM t2
   WHERE b2 in (311,38,161,351,897,226,599,985,170,859,634,674)
      OR (805=b2 OR 555=d2 OR 140=c2)
UNION ALL
  SELECT a9 FROM t9
   WHERE e9 in (418,426,15,291,942,687,936,819,486,486,107,854)
      OR b9 in (688,864,19,152,64,50,379,142,210,13)
      OR c9 in (975,64,273,739)
UNION
  SELECT e5 FROM t5
   WHERE (e5=558 AND b5=433 AND c5=729 AND 837=a5 AND d5=787)
UNION
  SELECT b8 FROM t8
   WHERE (e8=487 OR c8=196 OR e8=620)
      OR (956=e8 AND 667=d8)
UNION ALL
  SELECT a1 FROM t1
   WHERE (b1=696)

query T valuesort
  SELECT b2 FROM t2
   WHERE (e2=852)
      OR b2 in (676,279,634,414,532,585,729,888,414,805,554,285,543)
EXCEPT
  SELECT a9 FROM t9
   WHERE NOT ((e9=792 OR c9=118))
UNION
  SELECT d4 FROM t4
   WHERE (d4=524)
      OR (c4=794 OR 16=a4 OR e4=951)
      OR (451=c4)

query T valuesort
  SELECT c9 FROM t9
   WHERE (639=c9 OR 335=a9)
UNION ALL
  SELECT b1 FROM t1
   WHERE d1 in (820,874,277,837)
EXCEPT
  SELECT d3 FROM t3
   WHERE NOT ((e3=169 OR 162=a3)
           OR (476=c3 OR d3=168 OR 688=c3))
EXCEPT
  SELECT d8 FROM t8
   WHERE NOT ((497=e8 OR c8=354 OR 64=e8)
           OR (225=c8 OR 388=a8)
           OR e8 in (233,469,349,578,223,919,476))
EXCEPT
  SELECT b2 FROM t2
   WHERE NOT ((434=e2 AND d2=541 AND c2=27 AND 802=a2 AND 812=b2)
           OR (818=b2)
           OR e2 in (983,205,147,131,698))
UNION ALL
  SELECT e7 FROM t7
   WHERE (976=e7 OR 148=d7)
      OR (a7=62 OR 499=e7)
UNION
  SELECT a4 FROM t4
   WHERE (b4=810 AND e4=12 AND c4=483 AND 271=a4)
      OR d4 in (681,277,574,929,989,55,593,987,409,661,246,60)
      OR e4 in (480,438,223,6,372,397,778,377,858,381)
EXCEPT
  SELECT b5 FROM t5
   WHERE NOT ((b5=424 OR 140=c5 OR 989=b5)
           OR (c5=936 AND 729=b5 AND e5=943 AND a5=485 AND 964=d5))
UNION
  SELECT b6 FROM t6
   WHERE c6 in (500,561,961,12,864,832)
      OR (d6=2 AND 974=b6 AND 564=a6 AND c6=242 AND 100=e6)
      OR a6 in (787,222,672,821,572,799,300,66,751,1,829,683)

query T valuesort
  SELECT b2 FROM t2
   WHERE b2 in (442,181,640,226,592,113,501,674,148,546,714,796,211,632)
UNION
  SELECT d1 FROM t1
   WHERE (96=d1 AND a1=189 AND 363=e1 AND 683=c1)
      OR (e1=693 OR c1=207 OR c1=765)
EXCEPT
  SELECT d4 FROM t4
   WHERE NOT (c4 in (948,927,671)
           OR (a4=243))
EXCEPT
  SELECT b6 FROM t6
   WHERE NOT ((a6=740 AND c6=11 AND 574=e6 AND d6=271 AND 0=b6)
           OR (128=a6)
           OR (35=a6 AND 348=b6 AND c6=66 AND 678=e6))
UNION
  SELECT d8 FROM t8
   WHERE e8 in (592,273,384,809,942,223,919,488,199,105)
      OR d8 in (534,682,627,637,675,456,845,743,384)
      OR (667=d8)
UNION ALL
  SELECT d5 FROM t5
   WHERE (d5=856 OR 721=a5)
EXCEPT
  SELECT d3 FROM t3
   WHERE NOT (d3 in (81,74,260,118,737,429,553,850,247,913,95,1))
EXCEPT
  SELECT d9 FROM t9
   WHERE NOT ((a9=905 OR c9=110)
           OR c9 in (118,894,834,240,975,547,151,252,90)
           OR a9 in (511,660,488,919,378,982,803,847))

query T valuesort
  SELECT e5 FROM t5
   WHERE (b5=391 OR 758=e5 OR a5=556)
      OR e5 in (894,902,887,758,232,589,716)
      OR e5 in (522,225,180,104,929,851,441,885,697,888,772,764)
EXCEPT
  SELECT d1 FROM t1
   WHERE NOT ((e1=717 AND 384=b1 AND 195=a1 AND 161=d1)
           OR (a1=536))
UNION ALL
  SELECT d4 FROM t4
   WHERE b4 in (982,220,713,357,469,877,442,476,634,294)
      OR b4 in (577,721,40,765,261,860,921,587,802,660,389)
EXCEPT
  SELECT e6 FROM t6
   WHERE NOT ((662=b6 AND d6=750 AND 491=c6))

query T valuesort
  SELECT b4 FROM t4
   WHERE (273=e4 OR a4=469)
INTERSECT
  SELECT b9 FROM t9
   WHERE NOT (c9 in (457,278,188,809,936,272,327,569,39,118,180,836,843)
           OR (c9=863 AND 16=b9 AND 683=a9 AND 591=d9)
           OR (389=a9))
EXCEPT
  SELECT c1 FROM t1
   WHERE NOT ((315=c1 OR a1=147 OR 158=e1))
UNION ALL
  SELECT c6 FROM t6
   WHERE d6 in (463,161,974,446,186,35,869,72,488,600,66,147)

query T valuesort
  SELECT a3 FROM t3
   WHERE d3 in (889,797,386,444,314,896)
      OR (c3=145)
      OR b3 in (827,355,649)
UNION
  SELECT d1 FROM t1
   WHERE (338=a1 OR 300=e1 OR e1=89)
      OR (e1=48)
      OR (168=c1 AND 241=a1)
EXCEPT
  SELECT d9 FROM t9
   WHERE NOT ((413=a9))
EXCEPT
  SELECT e8 FROM t8
   WHERE NOT ((a8=54 AND b8=324 AND 231=c8)
           OR d8 in (330,624,179,466,761,472,534,735,366,192,108,269,767))

query T valuesort
  SELECT d6 FROM t6
   WHERE c6 in (320,28,718,328)
UNION ALL
  SELECT a5 FROM t5
   WHERE c5 in (766,894,384,152,747,443,222)
UNION
  SELECT c4 FROM t4
   WHERE (d4=31)
      OR d4 in (546,736,55,309,661,260)
EXCEPT
  SELECT d2 FROM t2
   WHERE NOT ((b2=812 OR c2=810))
EXCEPT
  SELECT a7 FROM t7
   WHERE NOT ((e7=595)
           OR (592=a7 AND 436=e7 AND c7=688 AND d7=539)
           OR (488=c7 OR 92=c7 OR d7=709))
EXCEPT
  SELECT d8 FROM t8
   WHERE NOT (d8 in (610,845,715)
           OR (c8=332 OR 541=c8 OR a8=328)
           OR c8 in (117,961,668,691,789))
UNION ALL
  SELECT a1 FROM t1
   WHERE (c1=393)
      OR e1 in (558,355,443,87,11,855,582,763,313,117,695,181,795,209)
EXCEPT
  SELECT e3 FROM t3
   WHERE NOT ((580=c3 OR 888=b3 OR 560=a3)
           OR (c3=467)
           OR (a3=576))

query T valuesort
  SELECT c6 FROM t6
   WHERE (45=a6 OR e6=6)
      OR (d6=60 AND b6=963 AND 595=e6 AND 295=c6)
INTERSECT
  SELECT a8 FROM t8
   WHERE NOT ((a8=327 OR c8=230)
           OR (427=c8 AND 610=d8 AND 359=a8))

query T valuesort
  SELECT c9 FROM t9
   WHERE (b9=361 OR 435=a9 OR 227=b9)
      OR (c9=639 OR d9=224)
UNION ALL
  SELECT e3 FROM t3
   WHERE c3 in (244,887,898)
      OR d3 in (889,599,645,662,624,139)
      OR a3 in (282,929,913,255,997,947,197,754,30,865,720)

query T valuesort
  SELECT b1 FROM t1
   WHERE (b1=55 AND 693=e1 AND d1=459)
      OR a1 in (785,678,499,498,20,936,637,371,451,591)
      OR (c1=846)
UNION ALL
  SELECT c3 FROM t3
   WHERE c3 in (549,692,826,800,555,860,75)
      OR (353=c3)
UNION
  SELECT e2 FROM t2
   WHERE (244=c2 OR 137=d2)
      OR (501=b2)
EXCEPT
  SELECT a5 FROM t5
   WHERE NOT ((443=c5 AND 691=d5 AND 98=e5 AND 587=b5 AND 153=a5)
           OR b5 in (975,321,424,729,326,205,858,861,736,260,143,771,998,530)
           OR e5 in (937,18,437,708))
EXCEPT
  SELECT a6 FROM t6
   WHERE NOT ((929=d6 AND e6=77 AND b6=350)
           OR (e6=574 OR b6=604 OR 677=c6))

query T valuesort
  SELECT d6 FROM t6
   WHERE c6 in (677,620,528)
      OR c6 in (910,729,864,123)
      OR (d6=974)
EXCEPT
  SELECT a9 FROM t9
   WHERE NOT (c9 in (884,39,936,534,64,975,793,98)
           OR b9 in (818,118,63,289,228,142,122,703,214,751,456,680,524,789)
           OR (495=d9 AND 619=e9 AND 402=c9))
EXCEPT
  SELECT b7 FROM t7
   WHERE NOT ((712=d7 AND a7=120 AND c7=565 AND e7=120 AND b7=455))
UNION ALL
  SELECT d8 FROM t8
   WHERE (474=a8 OR d8=439 OR 563=c8)
      OR (394=b8 AND 113=a8 AND e8=729)
      OR (579=e8)
EXCEPT
  SELECT e3 FROM t3
   WHERE NOT ((647=c3 AND 779=b3 AND d3=81)
           OR c3 in (601,455,317)
           OR (890=c3 OR e3=896))

query T valuesort
  SELECT d9 FROM t9
   WHERE e9 in (954,943,995,264,978,868,647,19,445,621,736,418)
      OR (150=e9)
      OR (c9=800)
INTERSECT
  SELECT b3 FROM t3
   WHERE NOT ((231=d3 OR b3=41 OR e3=333))
INTERSECT
  SELECT d5 FROM t5
   WHERE NOT ((d5=479 AND b5=526 AND c5=56 AND e5=725))
UNION
  SELECT c2 FROM t2
   WHERE (333=c2 OR a2=56 OR 179=c2)
      OR e2 in (706,40,815,148,579,564)
      OR (c2=560 OR d2=216 OR 843=d2)

query T valuesort
  SELECT b4 FROM t4
   WHERE (b4=644 AND 82=a4 AND 617=d4)
      OR (c4=319)
      OR a4 in (29,746,847,845,997,422,502,271,447,474)
EXCEPT
  SELECT b7 FROM t7
   WHERE NOT ((506=b7)
           OR (523=c7)
           OR (226=d7))
UNION
  SELECT e5 FROM t5
   WHERE (c5=721 OR a5=602 OR 234=b5)
EXCEPT
  SELECT b1 FROM t1
   WHERE NOT (e1 in (288,254,747,695,717,795,158)
           OR (a1=173 AND 872=e1 AND d1=86)
           OR e1 in (221,813,628,558))
EXCEPT
  SELECT e9 FROM t9
   WHERE NOT ((50=b9 AND 924=a9)
           OR a9 in (847,964,28,389,41,263,56,610,549,559,251,972,548,919)
           OR (542=e9 AND b9=446 AND d9=790 AND a9=685 AND c9=992))
EXCEPT
  SELECT d8 FROM t8
   WHERE NOT (a8 in (331,661,359,46,15,586,54,242,328,400,883))
EXCEPT
  SELECT d3 FROM t3
   WHERE NOT (b3 in (376,156,720,983,198,273))
EXCEPT
  SELECT e6 FROM t6
   WHERE NOT ((c6=500 OR c6=441)
           OR (e6=601))

query T valuesort
  SELECT c1 FROM t1
   WHERE (594=b1)
      OR e1 in (87,113,858,646,158,546,299,166)
      OR e1 in (117,717,795,695)
INTERSECT
  SELECT b9 FROM t9
   WHERE NOT (e9 in (486,987,687,788,575,944,704)
           OR (662=c9 AND 612=b9 AND a9=803 AND e9=452)
           OR (56=a9 AND e9=107 AND b9=171))
EXCEPT
  SELECT b6 FROM t6
   WHERE NOT ((345=e6)
           OR e6 in (523,850,711,211,90,237,175))
EXCEPT
  SELECT c7 FROM t7
   WHERE NOT ((b7=660 AND 918=e7 AND 954=c7 AND a7=356)
           OR (356=e7 AND b7=305 AND 879=a7)
           OR (364=c7 AND 709=d7 AND 27=a7))
UNION
  SELECT d5 FROM t5
   WHERE (958=a5)
UNION ALL
  SELECT b4 FROM t4
   WHERE (184=e4 AND 841=a4 AND b4=76 AND 917=d4 AND c4=732)
      OR (e4=692 AND 82=a4 AND c4=417 AND 644=b4 AND 617=d4)
UNION ALL
  SELECT c8 FROM t8
   WHERE e8 in (421,495,972,533,416,329,981,260,476,242,874,41,175)

query T valuesort
  SELECT d7 FROM t7
   WHERE (374=b7 OR 688=c7)
      OR (c7=729 OR d7=328 OR 717=b7)
      OR (e7=356 OR e7=884)
EXCEPT
  SELECT e6 FROM t6
   WHERE NOT (c6 in (35,216,572,961,441,135,4,752,807,446,609,992)
           OR a6 in (474,355,680,116,531,683,643,469,104,653))
EXCEPT
  SELECT e9 FROM t9
   WHERE NOT ((821=a9)
           OR e9 in (230,150,263,197,127,418,388,15,679,307,477,161))
EXCEPT
  SELECT a3 FROM t3
   WHERE NOT (b3 in (847,595,914,651,505,318,405,127,876,226,234,566,145,713)
           OR c3 in (929,360,524,220,117,477,792,455,80,472)
           OR (844=e3 AND c3=986 AND a3=929 AND 269=b3))
UNION
  SELECT d4 FROM t4
   WHERE (b4=700 AND 631=e4)
      OR (b4=387 OR 768=c4 OR d4=713)
      OR b4 in (563,713,2,901,243,139,748,882)

query T valuesort
  SELECT d6 FROM t6
   WHERE (d6=613 OR e6=24)
      OR (b6=906 OR 604=a6)
INTERSECT
  SELECT b9 FROM t9
   WHERE NOT ((b9=819 AND a9=389))
UNION
  SELECT c4 FROM t4
   WHERE (a4=31)
      OR (e4=698)
      OR c4 in (422,581,403,273,674,971)
UNION ALL
  SELECT b8 FROM t8
   WHERE (792=e8 AND a8=445 AND c8=418 AND d8=327 AND b8=325)
      OR (675=d8 AND c8=119 AND e8=497 AND b8=792 AND a8=46)
UNION
  SELECT a2 FROM t2
   WHERE (b2=985 OR 2=d2 OR e2=125)
UNION
  SELECT e5 FROM t5
   WHERE (a5=667 AND b5=320)
EXCEPT
  SELECT c7 FROM t7
   WHERE NOT (e7 in (970,356,624,860,851,462,976,561,971,436,827)
           OR (795=c7))
UNION ALL
  SELECT a3 FROM t3
   WHERE (363=d3 AND 677=b3 AND 975=e3 AND a3=341 AND c3=555)
      OR (b3=790 OR 477=c3 OR 584=b3)
      OR (193=e3)

query T valuesort
  SELECT d5 FROM t5
   WHERE e5 in (34,894,209,154)
UNION ALL
  SELECT a4 FROM t4
   WHERE (847=b4)
      OR c4 in (712,84,609,804,403)
      OR (b4=58 AND 188=c4 AND 170=a4 AND e4=480 AND 449=d4)

query T valuesort
  SELECT c8 FROM t8
   WHERE (370=d8 AND e8=476 AND 648=c8 AND 184=a8 AND 906=b8)
      OR (e8=497 AND 792=b8 AND 119=c8 AND 675=d8)
      OR (b8=186)
UNION ALL
  SELECT a6 FROM t6
   WHERE (992=c6 AND 390=b6 AND e6=707 AND 45=a6)
      OR c6 in (910,717,992,216,159,413,295,369,297,506,561)

query T valuesort
  SELECT b1 FROM t1
   WHERE e1 in (125,146,89,615,504,546)
INTERSECT
  SELECT b7 FROM t7
   WHERE NOT ((d7=988 AND 807=c7)
           OR a7 in (936,722,565,684,795)
           OR d7 in (765,675,328,226,724,397,105,485,549,787))
UNION ALL
  SELECT c9 FROM t9
   WHERE (a9=468 AND 399=d9 AND 335=e9 AND c9=188)
      OR (115=a9 AND 621=e9 AND b9=64 AND 95=c9 AND d9=439)
      OR (239=b9 OR 944=e9)
UNION
  SELECT a6 FROM t6
   WHERE (d6=901 OR 893=e6 OR 528=c6)
      OR a6 in (740,233,414)
EXCEPT
  SELECT e3 FROM t3
   WHERE NOT (a3 in (190,996,245,490,865,353)
           OR b3 in (914,28,295,296,445,392,566,888,811,480,145,685,27,146))
UNION ALL
  SELECT b4 FROM t4
   WHERE c4 in (832,357,220)
      OR (b4=175 AND 252=e4)
UNION ALL
  SELECT a2 FROM t2
   WHERE (b2=857)
EXCEPT
  SELECT b5 FROM t5
   WHERE NOT (a5 in (339,513,685,335,9,878,757,675,821,5,342,319,24,929)
           OR (69=a5 AND e5=480)
           OR (b5=69))
UNION
  SELECT b8 FROM t8
   WHERE d8 in (534,554,811,456,474,108,192,2)
      OR (d8=326 OR 377=e8)
      OR (d8=60)

query T valuesort
  SELECT c1 FROM t1
   WHERE (788=c1 OR 346=c1 OR 899=d1)
      OR (148=e1 OR a1=249 OR d1=376)
      OR (233=b1 AND 55=d1 AND 12=e1 AND c1=617 AND a1=544)
UNION ALL
  SELECT a4 FROM t4
   WHERE (877=d4 AND b4=68 AND c4=47 AND e4=858)
UNION ALL
  SELECT e5 FROM t5
   WHERE (e5=812 AND 805=d5 AND 362=a5 AND b5=193 AND c5=44)
EXCEPT
  SELECT c8 FROM t8
   WHERE NOT (d8 in (523,936,269,715,534)
           OR d8 in (811,761,580,96,880)
           OR b8 in (219,366,487,503,228,934,975,705))
EXCEPT
  SELECT c7 FROM t7
   WHERE NOT ((709=a7 AND d7=341)
           OR (854=a7 AND 234=e7 AND 939=d7))
EXCEPT
  SELECT d9 FROM t9
   WHERE NOT ((c9=273 OR d9=679 OR 148=a9)
           OR (987=d9)
           OR (347=d9 AND 19=e9))
EXCEPT
  SELECT c2 FROM t2
   WHERE NOT ((498=d2 OR 878=c2 OR d2=621)
           OR (223=a2)
           OR (b2=351 AND 76=a2 AND c2=887))
EXCEPT
  SELECT a3 FROM t3
   WHERE NOT ((d3=850 AND 159=b3))
UNION
  SELECT d6 FROM t6
   WHERE (a6=251 AND d6=578 AND b6=565 AND c6=673)
      OR (e6=766)

query T valuesort
  SELECT a2 FROM t2
   WHERE (e2=228 OR b2=211 OR d2=546)
EXCEPT
  SELECT d9 FROM t9
   WHERE NOT (c9 in (955,171,126,98,332,146,90,469)
           OR (a9=611))
UNION ALL
  SELECT e1 FROM t1
   WHERE e1 in (125,497,463,313,14,645,779,148,483,568,166,402)
      OR (523=c1 AND e1=161 AND 147=a1 AND b1=253 AND 432=d1)
EXCEPT
  SELECT a5 FROM t5
   WHERE NOT ((34=e5)
           OR b5 in (159,179,731,186,723,91,380,606,69,860))
UNION
  SELECT d8 FROM t8
   WHERE (d8=499)
      OR (e8=700 AND a8=841 AND c8=563 AND d8=344 AND 702=b8)
      OR e8 in (56,272,63,635,106)
UNION
  SELECT e4 FROM t4
   WHERE d4 in (449,373,617,277,657,349,905,260,943,247)
      OR (d4=713 AND b4=114 AND 132=e4)
EXCEPT
  SELECT d6 FROM t6
   WHERE NOT ((d6=822 AND b6=511)
           OR (752=c6)
           OR (c6=717 OR 495=e6))

query T valuesort
  SELECT c2 FROM t2
   WHERE (692=e2)
      OR (e2=777 OR 177=c2)
UNION ALL
  SELECT c1 FROM t1
   WHERE a1 in (231,76,280,967,536,754,406,918,936)
      OR (572=b1 AND 122=e1 AND 314=a1 AND 12=c1 AND 335=d1)
EXCEPT
  SELECT a6 FROM t6
   WHERE NOT ((971=a6 AND b6=710 AND 241=e6 AND 561=c6 AND 463=d6))
EXCEPT
  SELECT c9 FROM t9
   WHERE NOT (a9 in (559,215,11,14,548,378,218,683,416,905,104,919))
EXCEPT
  SELECT a5 FROM t5
   WHERE NOT ((602=c5 OR 53=a5 OR b5=665)
           OR (e5=437 AND d5=282 AND a5=878 AND b5=774))

query T valuesort
  SELECT d9 FROM t9
   WHERE (843=c9 OR 251=e9 OR 653=e9)
      OR c9 in (257,643,457,601,639,587,732,391)
      OR (d9=463 AND 457=c9 AND 146=e9 AND b9=214 AND a9=273)
UNION
  SELECT b5 FROM t5
   WHERE d5 in (542,479,742,114,806,667)
      OR (69=d5 AND 443=c5 AND a5=519)
      OR e5 in (661,732,702,716,188,270)
EXCEPT
  SELECT e2 FROM t2
   WHERE NOT ((d2=315 OR 72=b2)
           OR (2=a2 OR 73=b2))
UNION ALL
  SELECT e7 FROM t7
   WHERE (a7=642)
      OR (452=a7 AND 175=b7 AND 288=c7 AND 272=e7 AND d7=131)
      OR d7 in (296,988,500,666,801,549,199,364,196)

query T valuesort
  SELECT c9 FROM t9
   WHERE (a9=69 OR d9=763)
      OR (995=e9 AND d9=270 AND c9=579 AND 426=b9)
INTERSECT
  SELECT e2 FROM t2
   WHERE NOT ((318=c2))
INTERSECT
  SELECT b3 FROM t3
   WHERE NOT ((d3=115 OR 665=e3)
           OR a3 in (996,784,282,865,386,12,560,899,41,162,383,995))

query T valuesort
  SELECT c2 FROM t2
   WHERE (72=b2 AND 966=c2 AND d2=256)
      OR (a2=980)
UNION ALL
  SELECT d5 FROM t5
   WHERE b5 in (640,897,661,531,759,605,661)
      OR (471=c5 AND 132=d5 AND 41=e5)
      OR (923=c5 AND 79=b5 AND 937=e5 AND 117=d5)
UNION ALL
  SELECT d4 FROM t4
   WHERE (82=c4 AND 175=b4 AND 596=a4)

query T valuesort
  SELECT e5 FROM t5
   WHERE e5 in (894,470,25,311)
INTERSECT
  SELECT a6 FROM t6
   WHERE NOT (d6 in (467,578,196,129,500,197,73,822,2,256,613))
UNION
  SELECT e1 FROM t1
   WHERE b1 in (619,259,896,255,1,995,440,278,43,594,350,779,94)
UNION
  SELECT d7 FROM t7
   WHERE d7 in (52,328,837,265,547,782)
      OR (e7=439 AND 925=d7)
      OR (782=d7 OR a7=97)
UNION
  SELECT b2 FROM t2
   WHERE c2 in (411,282,444,449,141,247,966,496,290,22,900)
      OR c2 in (496,421,925,466,374,290,24,907,512,136,372,900,283,688)
UNION
  SELECT d9 FROM t9
   WHERE (30=e9 OR 439=d9 OR c9=973)
      OR (c9=151 AND a9=685 AND b9=63)
      OR (619=e9)
UNION ALL
  SELECT b3 FROM t3
   WHERE (a3=335 OR 319=e3)
      OR (782=d3 AND 7=c3 AND b3=701 AND 702=e3 AND 979=a3)
      OR (249=e3)
EXCEPT
  SELECT a8 FROM t8
   WHERE NOT (c8 in (563,32,448,799,998,93,907,599,486,381,279,297,275)
           OR a8 in (90,306,388,579,184,848,12,923,406,841))

query T valuesort
  SELECT e3 FROM t3
   WHERE (c3=134 OR 986=c3)
      OR (865=a3)
      OR d3 in (495,487,480)
EXCEPT
  SELECT c4 FROM t4
   WHERE NOT (c4 in (536,667,214,791,675,2,177,344,482,804,725,783)
           OR (6=e4 OR d4=356)
           OR (c4=345))
UNION ALL
  SELECT e5 FROM t5
   WHERE (242=a5 AND 822=b5 AND 599=c5 AND e5=327)
UNION
  SELECT e1 FROM t1
   WHERE (179=b1)
UNION ALL
  SELECT a8 FROM t8
   WHERE (93=d8 AND 249=c8 AND 47=a8 AND e8=488 AND 366=b8)
EXCEPT
  SELECT b2 FROM t2
   WHERE NOT (d2 in (10,488,23)
           OR c2 in (450,992,103,247,374,496,758,193,560,182,728,233,45,220)
           OR e2 in (955,148,463,815,411,899,428,621,629,696,923,138))

query T valuesort
  SELECT d2 FROM t2
   WHERE (b2=846)
INTERSECT
  SELECT e7 FROM t7
   WHERE NOT ((c7=659 AND e7=183 AND 622=a7 AND 178=b7 AND 94=d7)
           OR (663=e7 OR 948=c7 OR 114=a7)
           OR e7 in (27,79,900,562))
INTERSECT
  SELECT d9 FROM t9
   WHERE NOT ((827=b9 OR e9=255))
INTERSECT
  SELECT b5 FROM t5
   WHERE NOT ((d5=779 OR e5=561))
UNION ALL
  SELECT c4 FROM t4
   WHERE (b4=323 OR 356=d4)
      OR d4 in (100,364,973,31,943,44,309,777)
EXCEPT
  SELECT c6 FROM t6
   WHERE NOT ((942=c6))
UNION ALL
  SELECT a8 FROM t8
   WHERE (b8=984)
      OR b8 in (503,466,656,351,725,469,352,162,564,405)

query T valuesort
  SELECT e7 FROM t7
   WHERE (a7=130 OR 691=a7)
      OR (22=a7)
UNION ALL
  SELECT e6 FROM t6
   WHERE (c6=961 OR a6=731 OR a6=474)
      OR b6 in (512,427,696,575,223,421,541,781,126,782,350,63,452,0)
      OR (b6=348 AND d6=488 AND 678=e6 AND a6=35)
EXCEPT
  SELECT d4 FROM t4
   WHERE NOT ((150=d4)
           OR (e4=617 AND 546=d4 AND 157=c4)
           OR (139=a4 OR 491=e4))
EXCEPT
  SELECT d9 FROM t9
   WHERE NOT ((227=b9 OR e9=858)
           OR (788=e9 AND d9=450 AND 379=b9)
           OR d9 in (23,732,332,597,161,660,450,360,601,606,602))
UNION
  SELECT c8 FROM t8
   WHERE (b8=6 OR d8=756)
UNION ALL
  SELECT a2 FROM t2
   WHERE (b2=501 AND 9=a2)
      OR d2 in (256,813,241,790,663)
      OR (a2=785 AND e2=788 AND d2=886 AND 141=c2 AND b2=90)

query T valuesort
  SELECT a6 FROM t6
   WHERE d6 in (366,911,21,667,852,807,424,885,767,405)
UNION
  SELECT e9 FROM t9
   WHERE (b9=751 AND e9=19 AND a9=919)
      OR d9 in (463,618,591)
EXCEPT
  SELECT c3 FROM t3
   WHERE NOT ((651=e3)
           OR (524=d3 AND 524=c3 AND 393=a3 AND e3=192 AND b3=720))
UNION
  SELECT b7 FROM t7
   WHERE (660=b7)
      OR (192=d7 AND b7=896 AND a7=277 AND 975=e7 AND 781=c7)
UNION
  SELECT a1 FROM t1
   WHERE (b1=914)
      OR e1 in (402,125,747,135,221,963,772,811,12,568)
UNION
  SELECT a8 FROM t8
   WHERE (e8=592)
UNION ALL
  SELECT a5 FROM t5
   WHERE (a5=485 AND 943=e5 AND d5=964 AND 936=c5)
EXCEPT
  SELECT a4 FROM t4
   WHERE NOT (d4 in (185,100,449,820,881))
EXCEPT
  SELECT a2 FROM t2
   WHERE NOT ((c2=4 AND d2=235)
           OR (b2=811 AND 809=a2 AND 548=e2 AND d2=833)
           OR (560=c2))

query T valuesort
  SELECT a2 FROM t2
   WHERE (310=d2 OR 360=c2)
      OR (d2=80 OR 812=b2 OR b2=799)
EXCEPT
  SELECT d4 FROM t4
   WHERE NOT ((678=b4 OR 565=e4 OR a4=922)
           OR (e4=296)
           OR (698=e4 AND d4=31))
EXCEPT
  SELECT e5 FROM t5
   WHERE NOT ((b5=729 OR 929=e5 OR 219=d5)
           OR (18=e5))
UNION
  SELECT c8 FROM t8
   WHERE (347=a8 OR b8=365 OR 310=e8)
      OR (899=c8 OR 105=b8)
UNION ALL
  SELECT e7 FROM t7
   WHERE (78=c7)
      OR (135=c7 OR 243=c7 OR e7=562)
      OR (e7=7 AND 59=b7 AND c7=12)

query T valuesort
  SELECT e5 FROM t5
   WHERE (569=b5 AND d5=757 AND a5=976 AND c5=313 AND 209=e5)
      OR (d5=787 AND e5=558 AND b5=433)
UNION
  SELECT e1 FROM t1
   WHERE (b1=981 AND 172=c1 AND e1=299 AND 283=a1)

query T valuesort
  SELECT d2 FROM t2
   WHERE (696=e2 AND b2=968 AND d2=10 AND c2=61)
      OR a2 in (223,853,98)
INTERSECT
  SELECT e4 FROM t4
   WHERE NOT ((b4=387 AND 147=e4 AND a4=933)
           OR (979=b4 AND d4=781 AND 589=a4 AND c4=201)
           OR (e4=596 OR 318=a4 OR 903=b4))
UNION
  SELECT b8 FROM t8
   WHERE (112=d8 OR b8=984)
      OR b8 in (807,511,219,997,503,287)
      OR d8 in (833,60,512,223,781,141,472,511,48,989)

query T valuesort
  SELECT d6 FROM t6
   WHERE (633=e6 AND 351=b6 AND a6=1 AND c6=424 AND 729=d6)
      OR (798=e6 OR c6=424 OR e6=531)
INTERSECT
  SELECT b1 FROM t1
   WHERE NOT (c1 in (402,15,553,230,885,608,200,775,498,626,979,765,379,639)
           OR (90=e1))
INTERSECT
  SELECT d7 FROM t7
   WHERE NOT ((442=d7)
           OR d7 in (842,52,781,183,500,148,265,539,886,196,324)
           OR (a7=97 OR 122=e7))
UNION ALL
  SELECT a2 FROM t2
   WHERE (535=e2 OR a2=993)
      OR (a2=805 AND c2=87)
      OR (466=c2)
UNION ALL
  SELECT c5 FROM t5
   WHERE (d5=1 AND a5=319)
      OR (d5=616 AND 188=e5)

query T valuesort
  SELECT a2 FROM t2
   WHERE (548=e2 OR e2=777 OR 307=e2)
INTERSECT
  SELECT b1 FROM t1
   WHERE NOT ((c1=772 AND e1=210 AND a1=868)
           OR a1 in (88,668,338,231,330,23)
           OR (e1=52))
UNION
  SELECT e8 FROM t8
   WHERE (806=e8 OR e8=455)
UNION ALL
  SELECT b3 FROM t3
   WHERE e3 in (235,265,401)

query T valuesort
  SELECT b6 FROM t6
   WHERE (b6=601 AND 269=d6 AND 540=a6 AND e6=431)
INTERSECT
  SELECT c4 FROM t4
   WHERE NOT ((e4=12)
           OR (816=b4 AND 510=a4 AND 415=e4 AND c4=319))
INTERSECT
  SELECT c9 FROM t9
   WHERE NOT ((751=c9 OR c9=739))
UNION
  SELECT a5 FROM t5
   WHERE (255=d5)
      OR (b5=657 AND a5=921 AND d5=557 AND 894=c5)

query T valuesort
  SELECT d9 FROM t9
   WHERE (115=a9)
      OR (864=b9 AND d9=568 AND 955=c9)
EXCEPT
  SELECT c7 FROM t7
   WHERE NOT (c7 in (232,145,764,948,954,944,589,682,709,813,966,564))
UNION ALL
  SELECT b8 FROM t8
   WHERE a8 in (597,653,848,855)
UNION
  SELECT d3 FROM t3
   WHERE e3 in (813,494,470,138,192,265)
      OR (611=a3 OR d3=515 OR 913=e3)
      OR (364=a3 AND e3=466 AND d3=850 AND 777=c3)
EXCEPT
  SELECT a1 FROM t1
   WHERE NOT ((d1=35)
           OR (b1=486))

query T valuesort
  SELECT e6 FROM t6
   WHERE (351=b6 AND a6=1 AND 729=d6 AND c6=424 AND e6=633)
      OR (882=b6 OR d6=500 OR d6=428)
EXCEPT
  SELECT b7 FROM t7
   WHERE NOT ((325=a7))
UNION ALL
  SELECT c5 FROM t5
   WHERE b5 in (548,729,56,338,723,502,847,930,665,84,260,606,685,506)
UNION ALL
  SELECT e9 FROM t9
   WHERE (e9=383)
      OR (b9=667 OR 554=d9 OR a9=511)
      OR d9 in (25,129,608,855,467,808,568,628,305,283,389,922)
UNION ALL
  SELECT e3 FROM t3
   WHERE (527=e3)

query T valuesort
  SELECT a7 FROM t7
   WHERE (843=c7 AND d7=842 AND 945=e7 AND a7=684)
      OR (552=e7 AND 702=d7)
      OR (b7=83)
EXCEPT
  SELECT c4 FROM t4
   WHERE NOT ((d4=166 AND 274=c4)
           OR (e4=617 OR b4=721))
EXCEPT
  SELECT b6 FROM t6
   WHERE NOT ((237=e6 OR a6=474)
           OR a6 in (132,764,64,531,129,129,610,116))
EXCEPT
  SELECT d2 FROM t2
   WHERE NOT ((328=d2 AND a2=751)
           OR (c2=511 AND b2=279))
EXCEPT
  SELECT e8 FROM t8
   WHERE NOT ((188=c8 OR d8=845))
UNION ALL
  SELECT b9 FROM t9
   WHERE (c9=323 AND b9=912 AND 912=d9 AND a9=611 AND e9=737)
      OR b9 in (228,936,342,410,16,214,819,227,821,818,122,680,122)
      OR (584=a9 AND c9=110 AND d9=678 AND b9=2)
UNION ALL
  SELECT b3 FROM t3
   WHERE (581=a3 OR d3=662)
      OR (407=b3 AND 337=a3 AND 860=c3 AND 467=e3)
EXCEPT
  SELECT e1 FROM t1
   WHERE NOT ((936=d1 OR 96=e1))
UNION ALL
  SELECT a5 FROM t5
   WHERE d5 in (752,957,855,282,24)
      OR (937=d5 AND e5=187 AND a5=342 AND c5=50)
      OR (a5=53 AND 856=d5 AND 196=c5)

query T valuesort
  SELECT a8 FROM t8
   WHERE a8 in (341,882,553,386,150,66)
UNION
  SELECT d1 FROM t1
   WHERE (a1=862 OR 265=d1)
      OR a1 in (767,231,552)
      OR b1 in (942,633,594,60,486,696,211,310,113,432,729,350,440,422)
UNION
  SELECT d7 FROM t7
   WHERE (869=a7 AND 177=d7 AND c7=523 AND 979=e7 AND b7=868)
      OR (249=c7)
UNION
  SELECT c3 FROM t3
   WHERE a3 in (515,296,776,637,364,696,353)
      OR (792=c3 AND e3=972 AND 837=b3 AND a3=383 AND d3=38)
UNION
  SELECT c6 FROM t6
   WHERE (e6=550 AND b6=296 AND 786=d6 AND 752=c6 AND 64=a6)
      OR (629=b6 OR 767=d6 OR b6=267)
      OR (731=e6 AND c6=506 AND d6=355 AND 116=a6 AND b6=230)
EXCEPT
  SELECT c9 FROM t9
   WHERE NOT ((a9=685 OR d9=686 OR 602=d9))
UNION
  SELECT d4 FROM t4
   WHERE (c4=584 AND 136=a4 AND b4=379)
      OR (2=b4 OR 917=d4 OR c4=794)
      OR (b4=35 OR 690=c4 OR b4=700)
UNION
  SELECT b5 FROM t5
   WHERE (a5=867 AND 34=e5 AND 856=c5 AND 861=b5 AND 565=d5)
EXCEPT
  SELECT e2 FROM t2
   WHERE NOT (d2 in (914,537,60))

query T valuesort
  SELECT e1 FROM t1
   WHERE (b1=682 OR d1=519)
INTERSECT
  SELECT c4 FROM t4
   WHERE NOT ((e4=37 AND 439=a4 AND b4=535 AND 451=c4 AND d4=979)
           OR a4 in (948,651,558,442,580,355,509,792,793,579,605)
           OR (312=e4 AND 44=d4 AND a4=139 AND 294=b4))
INTERSECT
  SELECT b7 FROM t7
   WHERE NOT ((d7=722 AND 202=b7 AND c7=441 AND 79=e7)
           OR a7 in (998,894,452,884,452,430,869,85,722,35))
UNION
  SELECT d3 FROM t3
   WHERE (876=b3 OR c3=299)
EXCEPT
  SELECT b8 FROM t8
   WHERE NOT ((b8=981 OR 321=c8))
UNION ALL
  SELECT b9 FROM t9
   WHERE (318=a9)
      OR (150=e9 OR c9=793)
      OR (b9=703 OR 25=d9)

query T valuesort
  SELECT a2 FROM t2
   WHERE d2 in (225,215,8,158,749,334)
INTERSECT
  SELECT b1 FROM t1
   WHERE NOT (c1 in (272,607,416,915,871,885,289,788)
           OR (b1=179 AND d1=799 AND 4=c1 AND a1=88 AND 558=e1))
UNION
  SELECT d5 FROM t5
   WHERE (c5=579 AND a5=536 AND 104=e5 AND d5=570)
UNION ALL
  SELECT d9 FROM t9
   WHERE d9 in (618,602,606,111,347,86,628,662)
      OR a9 in (847,457,982,41,365,258,160,685,335,326,907,11,924,553)
      OR (b9=245)
EXCEPT
  SELECT c6 FROM t6
   WHERE NOT ((a6=610 OR a6=64 OR c6=415))
UNION
  SELECT c7 FROM t7
   WHERE (266=b7 AND 478=c7 AND 684=d7 AND 325=a7 AND 688=e7)
UNION ALL
  SELECT b3 FROM t3
   WHERE e3 in (848,120,896,87,193,821,989,932,3,527)
      OR (393=e3 OR b3=269)
UNION
  SELECT c4 FROM t4
   WHERE (c4=482 OR 415=e4 OR a4=29)
      OR (952=a4 AND b4=966 AND 728=d4)

query T valuesort
  SELECT b5 FROM t5
   WHERE (c5=101 OR a5=929)
      OR d5 in (255,69,42,171,557)
      OR (273=b5 OR 445=a5)
EXCEPT
  SELECT e7 FROM t7
   WHERE NOT ((c7=377 OR b7=250)
           OR (781=b7))
EXCEPT
  SELECT d4 FROM t4
   WHERE NOT ((721=b4)
           OR (e4=531 AND b4=966))

query T valuesort
  SELECT c5 FROM t5
   WHERE (725=e5 AND d5=479)
      OR (d5=858 OR 320=b5)
EXCEPT
  SELECT b9 FROM t9
   WHERE NOT ((736=e9 OR c9=232)
           OR e9 in (278,995,567)
           OR a9 in (488,982,5,450,28,535))
EXCEPT
  SELECT e2 FROM t2
   WHERE NOT ((125=e2))
UNION ALL
  SELECT e1 FROM t1
   WHERE (d1=213 AND c1=775 AND a1=853)
UNION ALL
  SELECT c4 FROM t4
   WHERE c4 in (609,451,806,773,274,804,398,422)
UNION
  SELECT c7 FROM t7
   WHERE b7 in (250,541,407,374,222,634,396,422)

query T valuesort
  SELECT c6 FROM t6
   WHERE e6 in (554,585,67,808,466,731,40,24,595,261)
INTERSECT
  SELECT e4 FROM t4
   WHERE NOT ((563=b4)
           OR (d4=356 OR 735=b4)
           OR (74=c4))
INTERSECT
  SELECT c9 FROM t9
   WHERE NOT ((647=e9 AND b9=880 AND 253=c9 AND 326=a9)
           OR (987=d9))
EXCEPT
  SELECT c7 FROM t7
   WHERE NOT ((547=d7 AND b7=105 AND c7=206)
           OR a7 in (147,48,642,622,350,916,430,912,165,958,706,233)
           OR (782=e7 OR 891=d7))
EXCEPT
  SELECT c2 FROM t2
   WHERE NOT ((168=b2 OR 688=c2))
EXCEPT
  SELECT a1 FROM t1
   WHERE NOT ((a1=371 AND c1=871 AND 275=d1 AND e1=146 AND b1=49)
           OR (c1=885 AND 89=e1 AND a1=738 AND 569=b1 AND 105=d1))
EXCEPT
  SELECT e3 FROM t3
   WHERE NOT ((70=a3)
           OR (559=a3 AND 584=c3 AND 283=d3 AND e3=83))

query T valuesort
  SELECT e3 FROM t3
   WHERE (283=d3 OR c3=863 OR 401=e3)
UNION
  SELECT a8 FROM t8
   WHERE d8 in (456,116,682,731,108,769,161,50)
      OR e8 in (682,422,63,918,620,383,203,381,956,579,64,14)
      OR (e8=223 AND 725=b8 AND d8=116 AND 431=c8 AND a8=239)

query T valuesort
  SELECT a2 FROM t2
   WHERE d2 in (158,60,844)
UNION ALL
  SELECT a6 FROM t6
   WHERE (e6=91 OR 969=e6 OR e6=31)

query T valuesort
  SELECT b7 FROM t7
   WHERE (e7=955)
UNION ALL
  SELECT a5 FROM t5
   WHERE (b5=874 OR c5=774)

query T valuesort
  SELECT b1 FROM t1
   WHERE (299=c1 AND 781=b1 AND e1=300)
INTERSECT
  SELECT d3 FROM t3
   WHERE NOT ((e3=848 AND b3=566 AND 515=d3 AND 898=c3 AND a3=515))
UNION
  SELECT d5 FROM t5
   WHERE (b5=33 AND d5=171 AND 470=e5 AND c5=72)
UNION
  SELECT b2 FROM t2
   WHERE (e2=217 OR 836=d2 OR 692=c2)
      OR c2 in (725,275,692,4,360,900,312)
      OR d2 in (317,651,931)
UNION
  SELECT b6 FROM t6
   WHERE (e6=67)
UNION
  SELECT a7 FROM t7
   WHERE (777=d7 OR e7=689)
      OR (c7=333 AND 87=a7 AND d7=225)
EXCEPT
  SELECT d9 FROM t9
   WHERE NOT ((445=e9 AND 122=b9))

query T valuesort
  SELECT c1 FROM t1
   WHERE (330=a1 OR d1=186)
UNION ALL
  SELECT e3 FROM t3
   WHERE (c3=435 AND 339=b3 AND e3=425 AND 358=d3 AND a3=476)
      OR (d3=307 OR d3=923 OR c3=368)
EXCEPT
  SELECT a7 FROM t7
   WHERE NOT (c7 in (764,288,770,688,575,364,635)
           OR (c7=288))

query T valuesort
  SELECT e8 FROM t8
   WHERE (a8=954)
      OR a8 in (957,386,807,994,150,826)
INTERSECT
  SELECT e2 FROM t2
   WHERE NOT (c2 in (268,272,837,444,4,810))
INTERSECT
  SELECT b3 FROM t3
   WHERE NOT (c3 in (986,777,476,467,750,887,885,326,565,317,641,81)
           OR d3 in (437,737,307,560,729,764,683,273,220,944,950)
           OR d3 in (624,354,403,983,483,118,38,415))

query T valuesort
  SELECT c8 FROM t8
   WHERE b8 in (705,665,324,624,564,677,647,300,454,365)
      OR (d8=486 AND 127=a8)
EXCEPT
  SELECT b3 FROM t3
   WHERE NOT ((d3=503 OR d3=503))

query T valuesort
  SELECT b4 FROM t4
   WHERE (c4=971 AND 366=d4)
      OR (605=a4 AND 184=b4 AND e4=760 AND c4=2 AND 507=d4)
UNION ALL
  SELECT a1 FROM t1
   WHERE a1 in (895,231,337,996,371,853,992,76)
      OR d1 in (105,679,761,565,947,294,899,96,806,254,691,349,602)
      OR (645=b1)
UNION
  SELECT b5 FROM t5
   WHERE (d5=521)
      OR (e5=561 AND d5=98 AND 261=c5 AND 853=a5 AND b5=26)
EXCEPT
  SELECT d8 FROM t8
   WHERE NOT ((463=e8)
           OR (504=a8 AND c8=979 AND 124=d8))
UNION ALL
  SELECT c3 FROM t3
   WHERE (b3=41 AND 591=a3 AND 403=d3)
      OR (135=e3 AND 295=b3)
EXCEPT
  SELECT a9 FROM t9
   WHERE NOT ((a9=847 AND b9=19 AND d9=129)
           OR e9 in (149,82,621,647,245,699,845,788,267,61))
EXCEPT
  SELECT a6 FROM t6
   WHERE NOT (d6 in (734,911,367)
           OR b6 in (276,214,606,223,681,954,549)
           OR (825=b6 OR a6=877 OR b6=882))
UNION
  SELECT e2 FROM t2
   WHERE (b2=285)
EXCEPT
  SELECT e7 FROM t7
   WHERE NOT (e7 in (605,156,288,860,462,782,595,561,462,929,688,782,303,562)
           OR a7 in (430,134,277,715)
           OR (886=d7 AND b7=30))

query T valuesort
  SELECT d5 FROM t5
   WHERE (731=d5 AND c5=249 AND b5=620 AND a5=882 AND 225=e5)
      OR (589=e5 AND 335=a5 AND 343=d5)
      OR b5 in (665,391,26,789,193,989,717,292,273)
UNION
  SELECT a8 FROM t8
   WHERE (e8=106 OR d8=767 OR 880=d8)
UNION ALL
  SELECT b2 FROM t2
   WHERE d2 in (265,126,80,215)
EXCEPT
  SELECT b7 FROM t7
   WHERE NOT ((180=a7)
           OR (488=c7 AND 324=a7 AND 583=b7 AND e7=67))
UNION ALL
  SELECT c9 FROM t9
   WHERE e9 in (750,383,107,150,868,301,978,542,679,418,426)
UNION
  SELECT e3 FROM t3
   WHERE c3 in (265,86,645,898,777,651,127,40)

query T valuesort
  SELECT b7 FROM t7
   WHERE (773=a7 AND 798=b7 AND e7=462 AND c7=906 AND 772=d7)
UNION ALL
  SELECT a9 FROM t9
   WHERE (477=e9 OR d9=305 OR 17=a9)
      OR (b9=864 AND 535=a9 AND 955=c9 AND d9=568)
      OR (944=e9)
EXCEPT
  SELECT b8 FROM t8
   WHERE NOT (d8 in (811,805,494,731,815,472,58,456,624,945,81)
           OR (c8=431 AND 116=d8)
           OR c8 in (119,690,74,88,513,160,273,394,229,691,693,419,720,354))

query T valuesort
  SELECT a4 FROM t4
   WHERE (c4=293)
      OR (136=d4 AND a4=558 AND 465=e4 AND b4=442 AND 712=c4)
      OR (349=d4 OR 100=d4 OR 584=c4)
INTERSECT
  SELECT c8 FROM t8
   WHERE NOT (a8 in (855,66,637,47,672,894,913,472,702,728)
           OR (384=d8 OR 640=b8 OR d8=624))
INTERSECT
  SELECT d7 FROM t7
   WHERE NOT ((e7=156 OR e7=976 OR d7=367)
           OR (232=c7 OR 896=a7))
UNION
  SELECT b9 FROM t9
   WHERE d9 in (142,224,960,316,164,597,345,360,959,686,965,744)
      OR (e9=549)
EXCEPT
  SELECT e3 FROM t3
   WHERE NOT ((e3=187)
           OR a3 in (965,996,347,829,515,5,566)
           OR (d3=635 AND 295=b3 AND 84=c3 AND 135=e3 AND a3=720))
EXCEPT
  SELECT c6 FROM t6
   WHERE NOT ((495=e6))

query T valuesort
  SELECT c5 FROM t5
   WHERE b5 in (620,674,321,511,412,975,390)
      OR (476=a5 OR e5=729)
      OR (a5=153)
EXCEPT
  SELECT a4 FROM t4
   WHERE NOT (a4 in (948,185,661,598,223,367,72,510,422,574,651,950,792)
           OR (725=e4)
           OR (b4=644 AND 82=a4 AND c4=417 AND d4=617))
EXCEPT
  SELECT a9 FROM t9
   WHERE NOT (c9 in (118,87,323,90,739,347,575,767,547,87,734,688,973,457)
           OR (a9=335 AND b9=170 AND e9=82))
EXCEPT
  SELECT b6 FROM t6
   WHERE NOT (c6 in (65,490,534,416,295,84,491,122,864,187)
           OR d6 in (790,192,488,151,991,197,974,750,469,34,185))

query T valuesort
  SELECT c8 FROM t8
   WHERE (108=d8)
      OR (e8=561 OR 431=e8)
INTERSECT
  SELECT a2 FROM t2
   WHERE NOT ((a2=262 OR a2=223)
           OR (61=c2)
           OR d2 in (790,209,405,126,292,46))
UNION
  SELECT b3 FROM t3
   WHERE (869=c3 AND b3=832 AND e3=155)
UNION
  SELECT a6 FROM t6
   WHERE d6 in (376,196,852,129,2,500,613,458,924)
      OR (367=d6 AND 876=b6 AND 237=e6 AND 293=a6 AND 522=c6)
      OR c6 in (769,258,415,480,411,187,637,416,910,749,270,572,287,297)
EXCEPT
  SELECT b5 FROM t5
   WHERE NOT ((13=e5 OR d5=856 OR a5=757))
UNION
  SELECT c7 FROM t7
   WHERE (b7=120 OR d7=684 OR 572=d7)

query T valuesort
  SELECT d1 FROM t1
   WHERE (e1=55 OR 846=c1)
      OR c1 in (762,523,465,683,871,864,905,67,776,39,607)
      OR d1 in (679,298,130,212,992,586,761)
INTERSECT
  SELECT d5 FROM t5
   WHERE NOT ((e5=975)
           OR (a5=917 AND 424=b5 AND 585=e5 AND d5=437 AND 152=c5))
UNION ALL
  SELECT c9 FROM t9
   WHERE (d9=525 OR 959=d9 OR 853=c9)
      OR d9 in (681,694,926,345,602,899,601,628,467,86,495)
      OR a9 in (177,335,14,297,349,821,982,215,553)
EXCEPT
  SELECT e8 FROM t8
   WHERE NOT (a8 in (306,327,591,650,254,359,900,586,638,923,564)
           OR d8 in (366,486,542,706,48))

query T valuesort
  SELECT c7 FROM t7
   WHERE c7 in (709,729,344,78,488,262,249,22,92,931,498,98,206,238)
      OR (e7=122 AND a7=691 AND 409=b7)
      OR (b7=407 OR d7=886 OR c7=853)
INTERSECT
  SELECT b8 FROM t8
   WHERE NOT ((d8=554 AND 838=a8 AND b8=102 AND c8=196 AND e8=423)
           OR (d8=511 AND 920=a8 AND c8=79 AND 803=b8))

query T valuesort
  SELECT a9 FROM t9
   WHERE (960=d9)
      OR (a9=297)
EXCEPT
  SELECT e7 FROM t7
   WHERE NOT ((736=a7 AND d7=885 AND 717=b7 AND 506=e7 AND c7=14))
EXCEPT
  SELECT b1 FROM t1
   WHERE NOT (a1 in (314,544,477,862,629,931,337,847)
           OR (c1=585 AND e1=921 AND d1=581 AND a1=967 AND 128=b1)
           OR (446=b1 AND 323=d1 AND c1=814 AND e1=732))
UNION
  SELECT a6 FROM t6
   WHERE (c6=441)
      OR a6 in (255,680,811)
      OR (b6=158)
UNION
  SELECT e2 FROM t2
   WHERE (318=c2)
      OR (b2=279 AND 721=e2 AND c2=511 AND a2=445)
      OR (b2=177 AND 933=c2 AND 682=e2 AND a2=93 AND d2=209)

query T valuesort
  SELECT b7 FROM t7
   WHERE a7 in (982,285,386)
      OR (c7=135 OR 924=d7 OR d7=722)
UNION
  SELECT b4 FROM t4
   WHERE (d4=665 AND 752=a4 AND e4=85 AND c4=0)
      OR (a4=662)
UNION
  SELECT e3 FROM t3
   WHERE (892=e3)
      OR a3 in (784,971,952,262,879,566,162,895)
EXCEPT
  SELECT a6 FROM t6
   WHERE NOT ((729=c6 AND 283=e6)
           OR (696=a6 OR 568=a6 OR 992=c6))
EXCEPT
  SELECT a9 FROM t9
   WHERE NOT ((b9=848 AND 467=d9 AND 146=c9)
           OR (b9=127 OR d9=790 OR b9=125))
UNION ALL
  SELECT e2 FROM t2
   WHERE e2 in (223,671,688,939,556,386,673,777,706,521,524,945)
      OR (808=e2 OR 720=e2)
      OR (527=b2 OR a2=637)

query T valuesort
  SELECT b6 FROM t6
   WHERE (696=a6 AND d6=970 AND c6=543 AND 1=e6 AND 144=b6)
UNION
  SELECT c3 FROM t3
   WHERE a3 in (997,275,197,244)
      OR (247=c3)
EXCEPT
  SELECT a7 FROM t7
   WHERE NOT ((827=e7 AND b7=781)
           OR (c7=705 AND d7=367 AND 500=a7 AND b7=832)
           OR (391=d7))
EXCEPT
  SELECT e1 FROM t1
   WHERE NOT (c1 in (553,882,523,246,284,955,703,530,670,788,416)
           OR b1 in (556,422,414,432,5,594,914,128,60,404,233,346,179))
UNION ALL
  SELECT c4 FROM t4
   WHERE (b4=884 AND 364=d4 AND 586=c4 AND e4=405 AND 662=a4)
      OR (565=e4 AND 210=a4 AND c4=694 AND d4=60)
      OR (e4=352)
UNION
  SELECT a5 FROM t5
   WHERE (342=a5 AND 858=b5 AND 37=c5 AND 271=e5 AND d5=811)
      OR (d5=33 AND e5=708)
      OR (d5=745 AND 319=a5 AND e5=702 AND c5=3 AND 544=b5)

query T valuesort
  SELECT c6 FROM t6
   WHERE (d6=277 AND 34=c6 AND 267=b6 AND 300=a6 AND 95=e6)
      OR (e6=24 AND 399=c6 AND d6=321 AND b6=650)
      OR (b6=461 AND c6=480 AND 128=a6 AND d6=186)
INTERSECT
  SELECT e3 FROM t3
   WHERE NOT (e3 in (177,547,913,876,163,914,862,218,846,871,592,600,848,853))
UNION ALL
  SELECT d7 FROM t7
   WHERE e7 in (503,197,31,455,918,887,372,156,976,460,282,127)

query T valuesort
  SELECT e8 FROM t8
   WHERE (d8=197 AND 6=b8 AND a8=400 AND 381=e8)
      OR a8 in (514,579,66,248,314,15,838,701,957,946)
      OR (44=e8 OR 241=a8 OR a8=597)
UNION ALL
  SELECT e4 FROM t4
   WHERE (469=b4 OR 925=b4)
      OR (674=c4 AND e4=237 AND 721=b4 AND 628=d4 AND a4=16)
      OR (d4=988 AND 581=c4 AND 381=e4 AND b4=627 AND 982=a4)
UNION ALL
  SELECT b5 FROM t5
   WHERE (d5=779 AND e5=885)
      OR b5 in (930,403,640,499,665,231)
UNION ALL
  SELECT d9 FROM t9
   WHERE (b9=446 AND e9=542 AND a9=685 AND d9=790 AND c9=992)

query T valuesort
  SELECT a3 FROM t3
   WHERE (a3=965 OR 396=a3 OR 406=e3)
UNION ALL
  SELECT b2 FROM t2
   WHERE (544=a2)
      OR a2 in (718,56,217,76,415,35,522,283,733,455,691,691,382,268)

query T valuesort
  SELECT b2 FROM t2
   WHERE (932=b2)
      OR (a2=304)
      OR (a2=56)
UNION ALL
  SELECT a3 FROM t3
   WHERE (a3=386 AND 265=c3 AND e3=136 AND b3=788 AND 548=d3)
EXCEPT
  SELECT d4 FROM t4
   WHERE NOT ((151=e4 OR b4=551 OR 927=c4)
           OR b4 in (434,289,407,700,644,765,829)
           OR b4 in (40,94,286))
EXCEPT
  SELECT b8 FROM t8
   WHERE NOT (d8 in (849,93,472,936,484,706,950,883,523,101,880,667)
           OR (d8=651 OR 741=b8))
UNION
  SELECT d9 FROM t9
   WHERE b9 in (26,262,66,446,301,361,16,832,122,703,170,524)
      OR c9 in (240,579,857,370,101,327,739)

query T valuesort
  SELECT c8 FROM t8
   WHERE (c8=77)
UNION
  SELECT b5 FROM t5
   WHERE c5 in (936,299,514,941,44,210,348)
UNION
  SELECT e7 FROM t7
   WHERE e7 in (456,372,432,183,197,215,462,689,103,156,7)
      OR (462=e7)
EXCEPT
  SELECT c4 FROM t4
   WHERE NOT (e4 in (837,103,29))
EXCEPT
  SELECT c6 FROM t6
   WHERE NOT ((b6=963 AND 811=a6 AND 60=d6 AND c6=295 AND e6=595))
EXCEPT
  SELECT d3 FROM t3
   WHERE NOT (c3 in (733,898,966)
           OR (553=d3 OR d3=168))
EXCEPT
  SELECT e9 FROM t9
   WHERE NOT ((d9=270 OR e9=607)
           OR (d9=591)
           OR a9 in (318,78,559,905,821,215,172,964,685))
UNION
  SELECT a2 FROM t2
   WHERE b2 in (376,292,932,640,161,504,317,754,864,888)
      OR a2 in (253,725,594,91)

query T valuesort
  SELECT c3 FROM t3
   WHERE (c3=75)
      OR (984=e3 OR a3=145 OR 806=c3)
      OR a3 in (892,303,803,637,353,515,822,525,513,776)
INTERSECT
  SELECT d9 FROM t9
   WHERE NOT (b9 in (379,262,228,891,326,122,171,858,312,549)
           OR (e9=845 AND d9=489 AND b9=19 AND c9=613 AND 905=a9)
           OR (e9=837 AND 218=a9 AND 136=b9))
UNION
  SELECT d4 FROM t4
   WHERE (c4=451 AND 535=b4 AND d4=979 AND 439=a4 AND 37=e4)
      OR a4 in (558,825,845,747,746,31,876,261,773,510,72,367,105,990)
EXCEPT
  SELECT b6 FROM t6
   WHERE NOT (d6 in (600,73,405,822,729,869)
           OR (622=e6 OR 905=b6 OR 350=b6))
UNION
  SELECT e2 FROM t2
   WHERE (647=e2 AND 123=c2 AND 590=a2)
      OR (564=e2)
      OR (c2=45)

query T valuesort
  SELECT c3 FROM t3
   WHERE (596=e3 AND 456=b3 AND a3=895)
      OR (743=d3 OR 392=b3)
EXCEPT
  SELECT c6 FROM t6
   WHERE NOT (c6 in (424,320,749,146)
           OR (a6=255)
           OR (e6=241 AND d6=463 AND 561=c6 AND 971=a6 AND 710=b6))
UNION
  SELECT e8 FROM t8
   WHERE (502=a8 OR a8=672 OR e8=600)
      OR b8 in (673,640,352,609,155,984,665,690,975)
EXCEPT
  SELECT c7 FROM t7
   WHERE NOT ((904=e7)
           OR d7 in (108,671,982,785,620,225,902,675,988,684,172,397,974))
UNION
  SELECT c2 FROM t2
   WHERE (22=c2 AND 669=d2 AND 371=a2 AND e2=428 AND 635=b2)
EXCEPT
  SELECT a9 FROM t9
   WHERE NOT ((803=b9)
           OR (d9=549 OR 554=d9))

query T valuesort
  SELECT e7 FROM t7
   WHERE (916=d7 AND 913=b7 AND a7=361)
      OR (c7=498 OR 950=a7 OR a7=240)
      OR (e7=455 OR 192=b7)
EXCEPT
  SELECT d8 FROM t8
   WHERE NOT ((127=a8 OR 77=c8 OR d8=370)
           OR b8 in (469,503,487,958)
           OR (423=e8))
UNION
  SELECT d2 FROM t2
   WHERE d2 in (241,86,448,177,749,813,263,14,19)
      OR (d2=315 AND c2=87 AND e2=783 AND 805=a2 AND 818=b2)

query T valuesort
  SELECT b6 FROM t6
   WHERE (d6=192 AND 384=a6 AND c6=928 AND 92=b6 AND 840=e6)
      OR (223=d6 OR a6=452)
      OR (e6=554 OR a6=692)
UNION
  SELECT e2 FROM t2
   WHERE (604=e2)
      OR (d2=577 AND c2=988 AND 522=a2)
EXCEPT
  SELECT b5 FROM t5
   WHERE NOT (e5 in (764,522,104,708,436,885,899,188,561)
           OR e5 in (585,436,874,287,470,41,258))
EXCEPT
  SELECT a3 FROM t3
   WHERE NOT (b3 in (214,318,246)
           OR e3 in (774,304,303))
EXCEPT
  SELECT e1 FROM t1
   WHERE NOT (e1 in (89,72,763,78,616,811,695,89,12,695,139,949,685,355))
UNION
  SELECT e8 FROM t8
   WHERE b8 in (725,352,394,365,34,287,244,992,7)
      OR (300=b8)
EXCEPT
  SELECT a9 FROM t9
   WHERE NOT ((972=a9 OR c9=253)
           OR (e9=445)
           OR (d9=878))

query T valuesort
  SELECT d5 FROM t5
   WHERE (594=e5 AND 219=d5 AND c5=613)
UNION ALL
  SELECT d7 FROM t7
   WHERE (120=a7)
      OR d7 in (226,599,196,988)
      OR b7 in (280,519,517,480,813,360,938,612,273,679,855,506)
EXCEPT
  SELECT d3 FROM t3
   WHERE NOT ((c3=601 OR 455=c3 OR b3=296))
UNION ALL
  SELECT e1 FROM t1
   WHERE (363=a1 AND 737=e1 AND c1=805 AND 141=d1 AND 280=b1)
UNION
  SELECT a6 FROM t6
   WHERE b6 in (997,565,963)
      OR (e6=550 AND 752=c6 AND b6=296 AND d6=786)
      OR (d6=767)
UNION
  SELECT c4 FROM t4
   WHERE (60=d4 AND 888=b4)

query T valuesort
  SELECT b9 FROM t9
   WHERE (e9=858 OR 389=d9 OR 450=a9)
UNION ALL
  SELECT b1 FROM t1
   WHERE e1 in (522,880,363,931,956,51,904,523,962,693,122)
      OR (936=d1 OR c1=296)
      OR b1 in (486,652,593,836,91,556,345)
UNION ALL
  SELECT e4 FROM t4
   WHERE (31=a4)
      OR (e4=350 OR b4=607)

query T valuesort
  SELECT d7 FROM t7
   WHERE (517=b7 AND 184=e7)
      OR c7 in (813,659,770,302,691,22,565,142,970)
      OR (288=c7 AND 452=a7 AND 131=d7 AND e7=272)
EXCEPT
  SELECT e8 FROM t8
   WHERE NOT (e8 in (329,469,463,620,956,617,972)
           OR (a8=900 AND 919=e8 AND d8=950 AND 690=b8 AND 233=c8))
UNION
  SELECT b1 FROM t1
   WHERE (c1=846 AND a1=609)
      OR (d1=899 AND b1=981 AND 283=a1 AND 172=c1 AND e1=299)
      OR (212=d1)
EXCEPT
  SELECT d9 FROM t9
   WHERE NOT ((759=b9 AND 662=a9 AND d9=332 AND c9=807)
           OR c9 in (884,801,936,469,349,273,224))
UNION
  SELECT d6 FROM t6
   WHERE (d6=790)
      OR (177=c6 AND b6=511 AND 822=d6 AND e6=5 AND 522=a6)
      OR (d6=147)
EXCEPT
  SELECT a2 FROM t2
   WHERE NOT ((b2=90)
           OR c2 in (575,773,819,869,729,746,140,318,981,228,854,45,127,148)
           OR (292=d2))
UNION
  SELECT e3 FROM t3
   WHERE c3 in (117,792,929,885,178,607,986,324,826,80,10,84,338)
      OR (b3=914 AND c3=801 AND 724=e3)
UNION ALL
  SELECT d4 FROM t4
   WHERE d4 in (18,509,728,25,583,950,910)
      OR (857=a4 AND b4=260 AND 390=e4)
EXCEPT
  SELECT b5 FROM t5
   WHERE NOT ((c5=634 OR 549=e5 OR 964=d5))

query T valuesort
  SELECT d3 FROM t3
   WHERE (712=e3)
UNION
  SELECT d5 FROM t5
   WHERE (818=c5 AND 923=e5)
      OR (e5=437)
EXCEPT
  SELECT c6 FROM t6
   WHERE NOT (b6 in (963,923,226,144,876)
           OR b6 in (250,774,0,214,604,880,606,967,243,696,575,296,92))
EXCEPT
  SELECT a1 FROM t1
   WHERE NOT ((247=e1 AND d1=212 AND a1=821)
           OR e1 in (616,56,51,298,582,113,897,468,402,430,11,312,763))
UNION ALL
  SELECT b7 FROM t7
   WHERE d7 in (506,205,671,192,599,781,418,196)
EXCEPT
  SELECT c2 FROM t2
   WHERE NOT (c2 in (290,722,160,202,887,374,557,87,346,878,653,466,551)
           OR (e2=510 AND 718=a2 AND b2=357 AND d2=241)
           OR (d2=537))

query T valuesort
  SELECT e1 FROM t1
   WHERE b1 in (226,211,307,736,242,88,956)
UNION ALL
  SELECT c5 FROM t5
   WHERE c5 in (441,249,613,198,721,149,689,936,668,158,756,855,756)
      OR d5 in (309,957,118,4,274,806,321,964,553,691,919,282,360)
UNION ALL
  SELECT e3 FROM t3
   WHERE (656=c3 OR c3=360)
      OR e3 in (929,145,211)
      OR (724=e3 OR 175=c3 OR d3=645)
EXCEPT
  SELECT a2 FROM t2
   WHERE NOT (c2 in (312,22,179,374,688)
           OR c2 in (819,202,449,509,878)
           OR (d2=847))
UNION ALL
  SELECT b6 FROM t6
   WHERE (c6=490 AND a6=799 AND 933=b6 AND 794=e6 AND 778=d6)
      OR (452=c6 OR 90=e6 OR 35=d6)
      OR (c6=561 OR 337=d6 OR 811=a6)
EXCEPT
  SELECT d9 FROM t9
   WHERE NOT (b9 in (312,827,864,891,66,926,214,228,269,361,446,171,496))
UNION
  SELECT c8 FROM t8
   WHERE (841=a8 AND 702=b8)
      OR (b8=975 AND c8=225)
      OR (416=e8 AND a8=883 AND d8=391 AND 52=b8 AND 381=c8)

query T valuesort
  SELECT a2 FROM t2
   WHERE e2 in (294,282,524)
      OR d2 in (723,854,152,10)
      OR (c2=810 AND b2=311 AND 428=e2)
INTERSECT
  SELECT e5 FROM t5
   WHERE NOT ((b5=661)
           OR (b5=338 AND c5=924))

query T valuesort
  SELECT c6 FROM t6
   WHERE (129=d6 AND a6=653 AND 915=e6)
      OR a6 in (128,718,764,531,33)
UNION
  SELECT a4 FROM t4
   WHERE (b4=982 OR e4=512)
      OR (b4=58 AND a4=170 AND c4=188 AND e4=480 AND 449=d4)
      OR (982=b4)
EXCEPT
  SELECT b5 FROM t5
   WHERE NOT ((668=c5)
           OR (18=c5 AND e5=287 AND 499=b5)
           OR c5 in (734,689,293,978,187,384,149,31,198,825,485))
UNION
  SELECT c1 FROM t1
   WHERE a1 in (785,161,754,267,20)
      OR e1 in (904,685,463,89,731,962,483,896,717,402,312,628,87,268)
      OR (619=d1 AND 963=e1 AND c1=882)
UNION ALL
  SELECT d2 FROM t2
   WHERE (b2=676 AND e2=938 AND a2=253 AND 233=d2 AND c2=560)
      OR (d2=897 OR 556=e2)
UNION ALL
  SELECT e7 FROM t7
   WHERE a7 in (11,848,863,466,945,912,27,806,500)
      OR (d7=226)
      OR e7 in (503,499,291)
EXCEPT
  SELECT a8 FROM t8
   WHERE NOT ((878=b8 AND 533=e8))
EXCEPT
  SELECT e3 FROM t3
   WHERE NOT (e3 in (272,321,365,989,823,765,578,592,833,271,651,526))

query T valuesort
  SELECT b4 FROM t4
   WHERE e4 in (739,486,217,1,237,300)
      OR (901=b4 AND 879=e4 AND 598=a4)
      OR e4 in (223,760,546)
UNION ALL
  SELECT a9 FROM t9
   WHERE (495=d9)
      OR (b9=804 AND 419=c9)
      OR (a9=429 AND b9=667 AND d9=95 AND c9=601)
UNION
  SELECT e1 FROM t1
   WHERE d1 in (265,655,105,87,972,874,942,467,96,412)
      OR (e1=148 AND 154=d1 AND c1=246)
      OR (b1=850)
UNION
  SELECT e6 FROM t6
   WHERE (e6=175)
      OR c6 in (534,159,216,528,807)
UNION
  SELECT d5 FROM t5
   WHERE e5 in (470,184,511,888,554,737,697,610,180,730)
      OR (e5=13 OR 335=a5 OR e5=9)
      OR (511=e5)
EXCEPT
  SELECT c2 FROM t2
   WHERE NOT ((256=d2 OR c2=688 OR 264=b2)
           OR (c2=127))
UNION
  SELECT b8 FROM t8
   WHERE d8 in (96,20,899,835,989,326,161,737,101,761,631,108,494,610)

query T valuesort
  SELECT b2 FROM t2
   WHERE (564=a2 OR b2=329)
      OR (a2=922 AND c2=318 AND 554=b2 AND e2=302)
INTERSECT
  SELECT d6 FROM t6
   WHERE NOT ((825=a6 OR b6=463)
           OR (504=c6 OR 664=d6))

query T valuesort
  SELECT c4 FROM t4
   WHERE c4 in (996,177,984,767,948)
      OR (366=d4)
      OR c4 in (936,799,712,157,82,271,208,484,804,996,732,0)
EXCEPT
  SELECT a7 FROM t7
   WHERE NOT (c7 in (482,103,692,575,764,606))
EXCEPT
  SELECT e8 FROM t8
   WHERE NOT ((c8=419 OR 635=e8)
           OR e8 in (329,736,14,981,579,179)
           OR c8 in (273,154,442,979,93,683))
UNION
  SELECT c3 FROM t3
   WHERE c3 in (584,887,375,524)
      OR (e3=794 AND d3=74 AND a3=129 AND c3=317 AND 340=b3)
EXCEPT
  SELECT d1 FROM t1
   WHERE NOT ((280=a1 OR 0=d1)
           OR (200=c1 AND 234=d1 AND a1=231 AND e1=55 AND 850=b1))
UNION
  SELECT c5 FROM t5
   WHERE (a5=267 AND b5=665)
      OR (805=d5 AND 362=a5)
      OR (c5=818 OR e5=727 OR 586=e5)
EXCEPT
  SELECT d9 FROM t9
   WHERE NOT ((860=e9 AND 285=b9 AND 257=c9 AND 879=a9))
UNION
  SELECT d2 FROM t2
   WHERE (769=e2 OR c2=625 OR b2=292)
      OR c2 in (902,793,907,511,900,444,140,318,136,830,274,966,282)

query T valuesort
  SELECT b5 FROM t5
   WHERE (c5=657 OR a5=342 OR d5=782)
EXCEPT
  SELECT e9 FROM t9
   WHERE NOT ((a9=824 AND 688=d9 AND b9=214 AND c9=98 AND 944=e9)
           OR (d9=601)
           OR (d9=668 AND 750=e9))
UNION
  SELECT b4 FROM t4
   WHERE (b4=802)
      OR (e4=958 OR 810=b4 OR b4=579)
      OR (350=e4)
UNION ALL
  SELECT b2 FROM t2
   WHERE c2 in (966,728,676,575,83,268,810,925,421,988,123)
      OR (b2=674)
UNION ALL
  SELECT a6 FROM t6
   WHERE a6 in (66,680,801,45,568,40,300,104,474,2,799,386,355)
      OR c6 in (490,729,411,992,161,424,11,413,146,328,454)
UNION ALL
  SELECT b3 FROM t3
   WHERE e3 in (235,131,896,712,319,836,984,464,265,193,794)
      OR (393=e3)
UNION
  SELECT d8 FROM t8
   WHERE (239=a8 OR c8=544)
      OR (d8=486 AND 881=e8)

query T valuesort
  SELECT e1 FROM t1
   WHERE (a1=451 OR 589=b1 OR b1=779)
      OR (915=c1 AND 442=e1 AND b1=674 AND a1=395 AND d1=277)
      OR e1 in (146,110,312,14,313,717,51,484,763,558)
EXCEPT
  SELECT a9 FROM t9
   WHERE NOT ((e9=868 AND a9=959 AND c9=739 AND b9=578)
           OR b9 in (612,348,245,5,549,66,128,136,77,703,667)
           OR (19=b9 AND d9=489 AND 613=c9 AND 845=e9))
UNION ALL
  SELECT a8 FROM t8
   WHERE (e8=204 AND b8=244)
      OR (b8=889 OR d8=484)
      OR (a8=5 AND 405=b8 AND e8=384)
UNION
  SELECT a3 FROM t3
   WHERE b3 in (127,392,113,566,685,295,617,198,246,464,454,360)
      OR (e3=993)
EXCEPT
  SELECT d7 FROM t7
   WHERE NOT ((724=d7 OR 982=a7 OR b7=159)
           OR d7 in (485,680,442,492,457,982,675)
           OR (490=a7 OR 508=c7 OR 913=b7))
EXCEPT
  SELECT a6 FROM t6
   WHERE NOT ((d6=321 AND c6=399 AND a6=148 AND b6=650 AND 24=e6))
EXCEPT
  SELECT a4 FROM t4
   WHERE NOT (b4 in (469,964,606,319,810,498,941,678,23))

query T valuesort
  SELECT e4 FROM t4
   WHERE (752=c4 AND e4=29)
      OR (409=d4 OR b4=919 OR a4=661)
      OR (d4=819 AND 748=b4 AND 307=e4 AND c4=88 AND 489=a4)
INTERSECT
  SELECT d7 FROM t7
   WHERE NOT ((c7=795 OR 201=e7))
INTERSECT
  SELECT c3 FROM t3
   WHERE NOT ((895=d3)
           OR (c3=10 AND 12=a3 AND 393=e3)
           OR (970=c3))
INTERSECT
  SELECT c8 FROM t8
   WHERE NOT (e8 in (919,510,956,729,469,579,981,600,320,463,63,646)
           OR (677=b8 OR 579=e8 OR 461=c8))
INTERSECT
  SELECT a2 FROM t2
   WHERE NOT ((d2=753 OR 773=c2 OR e2=671))
UNION ALL
  SELECT d1 FROM t1
   WHERE (209=e1 OR a1=451)
      OR a1 in (898,637,32,20,524,170,382,330)
UNION
  SELECT d5 FROM t5
   WHERE d5 in (98,938,462,443,649,745,255,731,412,553,492)
      OR (678=c5)
      OR e5 in (437,874,923,34,929,807,696)
UNION ALL
  SELECT a6 FROM t6
   WHERE (e6=241 OR e6=261 OR c6=938)
      OR a6 in (610,436,40,572,839,829,469,522,740,683,104,818,568)

query T valuesort
  SELECT c8 FROM t8
   WHERE (a8=671 OR 624=d8 OR d8=683)
      OR (b8=454 AND 374=c8 AND d8=108)
      OR c8 in (394,461,563,283,93,74,965,119,136,321)
EXCEPT
  SELECT e7 FROM t7
   WHERE NOT ((b7=52 OR 506=b7 OR e7=983))
UNION ALL
  SELECT c3 FROM t3
   WHERE (794=e3)
UNION ALL
  SELECT c1 FROM t1
   WHERE a1 in (810,996,880,147,215,406)
      OR (430=e1 AND a1=461 AND 864=c1 AND d1=750)
      OR c1 in (882,259,846,67,441,629)
UNION
  SELECT c6 FROM t6
   WHERE (c6=832 OR a6=45 OR e6=531)
UNION ALL
  SELECT e4 FROM t4
   WHERE (c4=667)
EXCEPT
  SELECT d2 FROM t2
   WHERE NOT ((d2=806 AND 168=b2 AND 150=c2 AND e2=777)
           OR (721=e2))

query T valuesort
  SELECT a8 FROM t8
   WHERE (835=d8 AND e8=349)
      OR c8 in (149,534,381,486,705,692,151,461,998,321,979,230,683)
      OR (d8=711 AND 41=e8)
INTERSECT
  SELECT e2 FROM t2
   WHERE NOT (c2 in (773,282,793,318,337,450,272,894,275,466,900))
UNION ALL
  SELECT c3 FROM t3
   WHERE (635=d3 AND 720=a3)
      OR (c3=600)
UNION ALL
  SELECT c6 FROM t6
   WHERE (d6=161 OR e6=24 OR b6=461)
      OR (328=c6)
      OR a6 in (604,469,801,683,132,62,799,851,33,787,355)
UNION
  SELECT a7 FROM t7
   WHERE (409=b7 OR 80=c7)
EXCEPT
  SELECT d5 FROM t5
   WHERE NOT ((a5=683))
EXCEPT
  SELECT e9 FROM t9
   WHERE NOT (c9 in (171,793,391,992,87)
           OR (569=c9 OR 86=d9 OR a9=694))
UNION ALL
  SELECT b4 FROM t4
   WHERE (c4=0)
      OR (849=b4)

query T valuesort
  SELECT e1 FROM t1
   WHERE c1 in (771,246,62,553,765)
      OR (a1=237 AND e1=468 AND 368=c1)
UNION ALL
  SELECT a7 FROM t7
   WHERE (996=d7)
EXCEPT
  SELECT d6 FROM t6
   WHERE NOT ((754=e6 AND b6=997)
           OR (d6=151 AND b6=421 AND e6=809 AND 270=c6))
EXCEPT
  SELECT d5 FROM t5
   WHERE NOT (a5 in (174,586,740,53,332,339,800,478,826,301,180,929,536)
           OR (a5=851 AND 732=e5 AND 924=c5 AND b5=338 AND 111=d5))
EXCEPT
  SELECT a3 FROM t3
   WHERE NOT ((719=d3 AND 178=b3 AND e3=846)
           OR (635=d3))
EXCEPT
  SELECT a9 FROM t9
   WHERE NOT (d9 in (909,383,226,224)
           OR e9 in (944,744,944,307,804,854,486,264)
           OR (808=d9 OR 127=b9 OR e9=149))

query T valuesort
  SELECT b2 FROM t2
   WHERE (625=c2 AND 812=e2 AND a2=993)
INTERSECT
  SELECT a3 FROM t3
   WHERE NOT ((e3=254 AND c3=490 AND 841=d3)
           OR d3 in (607,701,220,139,495,95,423,650,825)
           OR (551=b3 AND 211=c3 AND 499=a3))
UNION
  SELECT c7 FROM t7
   WHERE d7 in (364,572,114,590,457,442,702,506,397,831,492,527,939)
      OR (a7=649 OR b7=480 OR a7=916)
      OR c7 in (648,575,280,232,103,377,725)
UNION ALL
  SELECT c8 FROM t8
   WHERE d8 in (781,439,738)
UNION
  SELECT a4 FROM t4
   WHERE (311=e4)
      OR e4 in (237,358,217,879,575,760,312,763,816,163,257,977,122,554)
      OR a4 in (151,271,152,847,981,773,637)
UNION
  SELECT e5 FROM t5
   WHERE (818=d5 AND 951=b5 AND c5=514 AND 206=e5)
      OR (b5=321 OR d5=806)
      OR (c5=422 OR d5=280 OR 442=c5)
EXCEPT
  SELECT d6 FROM t6
   WHERE NOT ((794=e6 OR 421=b6 OR b6=710))

query T valuesort
  SELECT d9 FROM t9
   WHERE e9 in (801,267,841,647,944,127,239,672,987,858,619,368)
      OR (125=b9 OR 834=c9)
      OR a9 in (218,841,847,847,830,102)
UNION
  SELECT b1 FROM t1
   WHERE (49=b1 OR e1=381)
      OR (805=c1 OR b1=633)
      OR d1 in (130,414,275,346,432,712)
UNION
  SELECT c4 FROM t4
   WHERE (d4=953 AND 816=b4 AND c4=319)
      OR (438=e4 OR e4=951)
      OR (c4=319 AND a4=510 AND d4=953)
UNION ALL
  SELECT a5 FROM t5
   WHERE (a5=749 OR 542=d5 OR b5=695)
      OR d5 in (274,847,443,514,782,276,757,269,98)

query T valuesort
  SELECT d8 FROM t8
   WHERE d8 in (899,14,767,192,472,630,269,523,756,580,108,439)
UNION ALL
  SELECT a2 FROM t2
   WHERE (c2=933 AND 177=b2 AND e2=682 AND d2=209)
      OR (b2=897)
      OR (592=b2 AND a2=594 AND e2=242 AND d2=651)
UNION
  SELECT a3 FROM t3
   WHERE (c3=887 OR c3=887)
UNION ALL
  SELECT b7 FROM t7
   WHERE (e7=900)
UNION
  SELECT b9 FROM t9
   WHERE d9 in (967,912,665,23,489,147,568,608,899,808,926,602,86)
EXCEPT
  SELECT e1 FROM t1
   WHERE NOT ((479=a1))
UNION
  SELECT a5 FROM t5
   WHERE (492=d5 OR 894=e5 OR 544=b5)
      OR (443=c5)
      OR d5 in (344,521,495)
EXCEPT
  SELECT d4 FROM t4
   WHERE NOT ((799=c4 OR e4=63))
EXCEPT
  SELECT e6 FROM t6
   WHERE NOT (e6 in (14,261,90))

query T valuesort
  SELECT c4 FROM t4
   WHERE (d4=821)
      OR (e4=71)
      OR (e4=763 OR 739=e4 OR b4=826)
INTERSECT
  SELECT b3 FROM t3
   WHERE NOT ((c3=40 AND 984=e3 AND 28=b3 AND 487=d3)
           OR (826=c3)
           OR (e3=846 OR b3=566 OR 997=a3))
INTERSECT
  SELECT b2 FROM t2
   WHERE NOT (b2 in (706,846,414)
           OR d2 in (260,367,643,454,126,315,235,137)
           OR (e2=783))

query T valuesort
  SELECT c5 FROM t5
   WHERE e5 in (522,802,184,923,364,772,25)
      OR (c5=601 OR 837=a5 OR 32=d5)
      OR (a5=81)
UNION ALL
  SELECT c2 FROM t2
   WHERE (680=a2 OR d2=233 OR c2=282)
      OR (c2=810 AND a2=863 AND b2=311)
      OR b2 in (168,546,220,864,367,819,90,217,674)
EXCEPT
  SELECT a6 FROM t6
   WHERE NOT ((77=e6)
           OR (b6=583 AND a6=366 AND 718=c6))
UNION ALL
  SELECT a9 FROM t9
   WHERE (348=b9)
      OR e9 in (418,837,418,936,197,82,687,452)
      OR (86=d9 AND b9=361)
EXCEPT
  SELECT d3 FROM t3
   WHERE NOT ((982=d3 OR b3=505 OR c3=477))
EXCEPT
  SELECT e7 FROM t7
   WHERE NOT (b7 in (266,979,612,455,717,855,510,636))
EXCEPT
  SELECT c1 FROM t1
   WHERE NOT (b1 in (387,426,179,435,766,32,26,278,447,259)
           OR (222=e1 OR c1=685))
UNION
  SELECT d4 FROM t4
   WHERE (357=b4)
      OR (c4=319 OR d4=373)
      OR b4 in (476,749,653,721,86,964,35,535,33,608,289,23)

query T valuesort
  SELECT c4 FROM t4
   WHERE (d4=55 AND e4=482)
INTERSECT
  SELECT c1 FROM t1
   WHERE NOT (b1 in (254,32,281,523,896,26,726,94,278,944,584,297)
           OR (349=d1))
UNION
  SELECT d8 FROM t8
   WHERE (773=b8 AND 767=d8 AND e8=455 AND 241=a8 AND c8=647)
      OR (c8=544)
UNION ALL
  SELECT e9 FROM t9
   WHERE d9 in (104,161,808,608,161,926,759,554,602,960,270)
      OR (37=c9 AND e9=694 AND b9=15 AND 142=d9)
      OR (a9=273)
UNION
  SELECT e7 FROM t7
   WHERE (720=b7)
      OR (a7=593 AND e7=282 AND d7=485 AND c7=553)
EXCEPT
  SELECT e5 FROM t5
   WHERE NOT ((809=c5 AND 934=b5 AND a5=445)
           OR a5 in (642,392,132,153,476,556,429,9,710))

query T valuesort
  SELECT b2 FROM t2
   WHERE c2 in (807,575,268,136,653,711,45,141,318,233,823,337,560)
UNION ALL
  SELECT e7 FROM t7
   WHERE c7 in (288,813,206,626)
UNION
  SELECT a6 FROM t6
   WHERE (a6=240 OR 146=c6)
      OR (146=c6)
      OR c6 in (177,430,45,807,543,292,258)
UNION ALL
  SELECT d5 FROM t5
   WHERE (782=d5 AND 297=a5)
      OR (915=c5 AND d5=152 AND 421=a5)
      OR (d5=806)
EXCEPT
  SELECT e9 FROM t9
   WHERE NOT ((c9=643 AND 171=b9 AND 660=d9 AND a9=56 AND 107=e9)
           OR (d9=912 OR 841=a9)
           OR (d9=967 AND e9=687 AND c9=688))

query T valuesort
  SELECT b1 FROM t1
   WHERE (122=e1 AND c1=12 AND b1=572)
      OR (936=d1)
UNION
  SELECT c8 FROM t8
   WHERE (510=e8 OR 386=b8)
      OR b8 in (269,773,852,647,806,102,975,228,405,624,540)
      OR a8 in (553,341,807,661,474)
EXCEPT
  SELECT a5 FROM t5
   WHERE NOT ((730=a5 OR b5=934 OR b5=874))
EXCEPT
  SELECT d4 FROM t4
   WHERE NOT ((854=c4 AND e4=958 AND d4=373 AND 721=b4))
EXCEPT
  SELECT c3 FROM t3
   WHERE NOT (d3 in (850,797,520,173)
           OR (688=c3 OR 553=d3)
           OR (885=c3 AND 70=b3 AND e3=527 AND a3=396))
UNION ALL
  SELECT a2 FROM t2
   WHERE (a2=76 OR d2=153)
UNION ALL
  SELECT b6 FROM t6
   WHERE (729=d6 AND 290=b6 AND 503=e6 AND 25=c6 AND 531=a6)
      OR (682=e6 OR c6=572)
      OR (a6=731 AND b6=54)
EXCEPT
  SELECT a9 FROM t9
   WHERE NOT ((419=c9))

query T valuesort
  SELECT d2 FROM t2
   WHERE b2 in (509,799,527,643,632,674,811,297,353,592,765,148,585,161)
      OR a2 in (718,131,186,189)
EXCEPT
  SELECT d9 FROM t9
   WHERE NOT (b9 in (912,239,746,63,549,122,66)
           OR b9 in (680,549,746,50,301,342,125,170,122,128,26,578)
           OR b9 in (66,832,2,868,239,447,142,496,12,926,77,50,759,136))

query T valuesort
  SELECT e4 FROM t4
   WHERE (d4=973 AND c4=436 AND 450=a4 AND 23=b4 AND e4=596)
      OR b4 in (653,907,925,678)
      OR (357=c4)
INTERSECT
  SELECT a7 FROM t7
   WHERE NOT (e7 in (971,127,197,356,248,503,460,288,605,303)
           OR d7 in (28,831,328,212,539,925,974,939,315,108,442,924,306,671))
UNION
  SELECT b1 FROM t1
   WHERE (556=b1 OR b1=269 OR e1=539)
      OR (458=c1 AND a1=352)
      OR e1 in (12,313,816,95,158,11,813,602,210,838,671,921,531)
EXCEPT
  SELECT d5 FROM t5
   WHERE NOT ((187=e5 AND c5=50 AND 342=a5 AND b5=744 AND d5=937)
           OR (a5=445)
           OR c5 in (649,723,437,697,187,18,31))
EXCEPT
  SELECT a8 FROM t8
   WHERE NOT ((e8=14 OR b8=992))

query T valuesort
  SELECT c8 FROM t8
   WHERE d8 in (525,845,767,630,210,711,899,883,636,554,486,391,446)
      OR (e8=421)
      OR (b8=862)
UNION ALL
  SELECT e1 FROM t1
   WHERE (636=c1 AND e1=949 AND 550=d1 AND b1=736 AND a1=505)
EXCEPT
  SELECT b2 FROM t2
   WHERE NOT ((841=e2 AND 131=a2 AND c2=141 AND 21=b2 AND d2=953)
           OR (655=e2 OR e2=692 OR 512=c2)
           OR c2 in (333,202,61,233,837,290,312,807,509,692,292))
UNION
  SELECT b3 FROM t3
   WHERE e3 in (853,375,319,304,600,593,249,846,406,108,975,424)
      OR (e3=833 AND c3=600)
      OR (c3=677 AND d3=981 AND a3=611)
UNION ALL
  SELECT c6 FROM t6
   WHERE (568=a6)
EXCEPT
  SELECT e9 FROM t9
   WHERE NOT ((a9=830 OR 477=e9 OR b9=2)
           OR c9 in (936,151,349,457,240,739,587))
EXCEPT
  SELECT d7 FROM t7
   WHERE NOT ((d7=831))
UNION ALL
  SELECT d4 FROM t4
   WHERE (d4=820 AND 592=e4)
      OR (c4=586 OR c4=188 OR a4=105)

query T valuesort
  SELECT e9 FROM t9
   WHERE (a9=115 OR 811=c9)
UNION ALL
  SELECT a7 FROM t7
   WHERE (e7=827)
      OR (b7=495 AND c7=364 AND d7=709)
      OR e7 in (624,887,92,127,900,79,39,455,156)
UNION ALL
  SELECT d2 FROM t2
   WHERE (564=e2 OR 337=c2)
      OR (148=b2 OR e2=433 OR e2=579)
UNION ALL
  SELECT c3 FROM t3
   WHERE d3 in (428,520,923,982,487,967,503,358,743,149)
EXCEPT
  SELECT b8 FROM t8
   WHERE NOT ((a8=46)
           OR (a8=957))
UNION ALL
  SELECT c6 FROM t6
   WHERE (c6=442)

query T valuesort
  SELECT d4 FROM t4
   WHERE (b4=964)
      OR (a4=778 AND 317=d4 AND b4=587 AND 290=e4)
      OR (c4=732 OR 825=a4 OR d4=549)
EXCEPT
  SELECT c8 FROM t8
   WHERE NOT ((b8=454)
           OR (899=c8 OR 377=c8))
EXCEPT
  SELECT e6 FROM t6
   WHERE NOT (e6 in (847,14,439,67,225)
           OR (c6=430 AND a6=386 AND d6=196 AND e6=74 AND 243=b6)
           OR (799=a6 OR c6=430))
UNION ALL
  SELECT d3 FROM t3
   WHERE e3 in (221,131,807,593,3)
      OR (415=d3 OR b3=130)
EXCEPT
  SELECT a7 FROM t7
   WHERE NOT (d7 in (594,526,142,680,885,418,315,139,278))
UNION ALL
  SELECT e1 FROM t1
   WHERE d1 in (161,335,96,319,172,187,936,992,492,265)
UNION
  SELECT b9 FROM t9
   WHERE d9 in (568,744,268,360,554,678,965,305)
      OR (602=d9)
      OR a9 in (660,847,764,776,830,215,879,553,435,821,683,485,326,824)

query T valuesort
  SELECT d1 FROM t1
   WHERE (a1=213 AND 645=e1 AND b1=619 AND 837=d1 AND c1=680)
      OR (e1=463 OR d1=481)
UNION
  SELECT c5 FROM t5
   WHERE (b5=79 OR e5=640)
      OR (d5=738 AND 759=b5 AND 311=e5 AND 293=c5)
EXCEPT
  SELECT a8 FROM t8
   WHERE NOT (a8 in (5,826,586,239,250,417,794)
           OR (675=d8 AND e8=497 AND 46=a8)
           OR (b8=803 OR 422=e8))
UNION ALL
  SELECT d6 FROM t6
   WHERE (a6=238)
      OR (b6=449 OR a6=706 OR 24=e6)
      OR (d6=750 AND b6=662 AND 121=a6 AND 491=c6)
UNION
  SELECT c9 FROM t9
   WHERE (606=d9 AND 197=e9)

query T valuesort
  SELECT c2 FROM t2
   WHERE a2 in (505,245,944,691,91,80,980,809,123,455,796)
      OR (555=d2 AND a2=135 AND b2=170 AND c2=160 AND e2=441)
      OR (d2=454 AND a2=382 AND 869=c2)
UNION
  SELECT e4 FROM t4
   WHERE (160=a4 OR a4=327 OR a4=234)
      OR (c4=758 AND d4=105 AND a4=442 AND e4=486 AND 408=b4)

query T valuesort
  SELECT b5 FROM t5
   WHERE (c5=443)
      OR a5 in (99,332,976,867,341,339,730,320,421)
      OR (832=a5 OR d5=729)
UNION ALL
  SELECT c1 FROM t1
   WHERE (683=c1 AND 863=d1 AND 170=a1 AND e1=11 AND 914=b1)
UNION
  SELECT d9 FROM t9
   WHERE (b9=122)
      OR (922=d9 OR 55=d9 OR 118=b9)
      OR b9 in (285,63,703,122,122,245)
EXCEPT
  SELECT d8 FROM t8
   WHERE NOT ((e8=203 AND a8=920 AND 803=b8 AND 79=c8 AND d8=511)
           OR (223=d8 AND 394=b8 AND e8=729)
           OR (375=c8 AND 397=b8))
EXCEPT
  SELECT c4 FROM t4
   WHERE NOT ((220=b4)
           OR c4 in (471,768,345,804,393,417))

query T valuesort
  SELECT b3 FROM t3
   WHERE a3 in (964,560,784,559,788)
      OR e3 in (211,272,375,138,913,989,232,586,136,765,959,83,876)
      OR c3 in (887,692,669,885,360,467,592,947,651,542)
UNION ALL
  SELECT a1 FROM t1
   WHERE (629=a1 AND c1=253 AND 695=e1 AND b1=584 AND 504=d1)
      OR c1 in (309,346,902)
UNION ALL
  SELECT a7 FROM t7
   WHERE (651=a7 OR 572=d7 OR b7=938)
EXCEPT
  SELECT b4 FROM t4
   WHERE NOT ((d4=988)
           OR (535=b4 AND 439=a4 AND d4=979 AND c4=451))
UNION
  SELECT d9 FROM t9
   WHERE (a9=365 AND e9=567 AND b9=245)
      OR b9 in (426,926,178,524)
      OR (621=e9)
UNION ALL
  SELECT d5 FROM t5
   WHERE (e5=561 AND c5=261 AND a5=853)
      OR e5 in (470,887,511,184,470,180)

query T valuesort
  SELECT c5 FROM t5
   WHERE (d5=602)
      OR c5 in (602,443,855,734,696,668,489,514,422,628,147,797,797)
      OR (e5=558 AND c5=729 AND 837=a5 AND 433=b5 AND 787=d5)
INTERSECT
  SELECT e7 FROM t7
   WHERE NOT ((a7=945)
           OR (c7=432 AND 982=a7 AND 510=b7)
           OR c7 in (94,257,441))
UNION
  SELECT d8 FROM t8
   WHERE (869=a8 OR 325=b8)
      OR (b8=324)
      OR (883=a8 OR 46=a8 OR 291=c8)
UNION
  SELECT a3 FROM t3
   WHERE (b3=146 OR 375=e3)
      OR a3 in (379,181,349,651,499)
EXCEPT
  SELECT a4 FROM t4
   WHERE NOT (a4 in (602,423,621,804,469))
UNION ALL
  SELECT d9 FROM t9
   WHERE (a9=811)
      OR (b9=379)
UNION ALL
  SELECT d2 FROM t2
   WHERE a2 in (652,189,64,779,760,442,135,308,382,874,785)
      OR (796=a2)
EXCEPT
  SELECT a1 FROM t1
   WHERE NOT (a1 in (972,981,189,75,338)
           OR (e1=89 OR 432=d1 OR c1=690))

query T valuesort
  SELECT c6 FROM t6
   WHERE (984=b6)
EXCEPT
  SELECT b7 FROM t7
   WHERE NOT ((e7=595 OR b7=924))
EXCEPT
  SELECT c9 FROM t9
   WHERE NOT ((418=e9)
           OR (d9=258 AND c9=240 AND 944=e9 AND a9=549 AND b9=936))
UNION
  SELECT c8 FROM t8
   WHERE (a8=259 OR d8=482 OR 210=a8)
UNION
  SELECT e4 FROM t4
   WHERE (952=a4 OR c4=293 OR 319=c4)
EXCEPT
  SELECT e3 FROM t3
   WHERE NOT (e3 in (401,466,526,193,836))
UNION ALL
  SELECT e1 FROM t1
   WHERE (350=b1 OR e1=483)
      OR e1 in (763,546,737,209,956,667,56)
      OR d1 in (172,412,972,947,902,761,432,161,655,885)
EXCEPT
  SELECT a5 FROM t5
   WHERE NOT ((282=d5 OR b5=234))

query T valuesort
  SELECT d7 FROM t7
   WHERE c7 in (498,482,103,243,575,887,781,142,288,305,441,688,709,260)
      OR (48=a7 OR c7=906 OR 673=d7)
      OR (285=a7)
UNION
  SELECT d1 FROM t1
   WHERE (a1=145 AND 230=c1 AND d1=818 AND 328=e1)
      OR (217=d1 OR a1=637 OR 643=d1)
EXCEPT
  SELECT c3 FROM t3
   WHERE NOT ((b3=57 OR a3=386 OR 929=e3)
           OR c3 in (435,467,792,777,692,885)
           OR (197=a3 AND e3=239 AND 102=d3))
UNION ALL
  SELECT c9 FROM t9
   WHERE (d9=258 OR 127=e9 OR 804=e9)
      OR d9 in (111,682,919,166,938,732,967,347,790,959,912,51,922)
UNION
  SELECT a6 FROM t6
   WHERE d6 in (613,767,807,867,924,473,196,185,129,35,590,931)
      OR b6 in (905,511,963,427,962,915)
      OR (b6=604)
UNION
  SELECT b5 FROM t5
   WHERE (e5=180 OR c5=293)
      OR (736=b5 OR 147=c5 OR 348=c5)
EXCEPT
  SELECT c8 FROM t8
   WHERE NOT ((e8=918 AND a8=502 AND 166=c8 AND 894=d8)
           OR (c8=187 AND 683=d8 AND a8=848 AND e8=761 AND 386=b8))
EXCEPT
  SELECT b4 FROM t4
   WHERE NOT ((85=e4 AND 752=a4 AND b4=271 AND 0=c4 AND 665=d4)
           OR (a4=637)
           OR (c4=998 AND b4=532 AND d4=574 AND 554=e4))

query T valuesort
  SELECT a6 FROM t6
   WHERE e6 in (574,617,737,257,286,431,24,261)
      OR (c6=637 OR e6=324 OR a6=121)
UNION ALL
  SELECT c3 FROM t3
   WHERE (d3=554)
      OR (393=e3 OR b3=321 OR c3=565)
EXCEPT
  SELECT a9 FROM t9
   WHERE NOT ((51=d9 AND 128=b9 AND a9=905 AND 327=c9 AND 647=e9)
           OR (947=e9 AND 569=c9))

query T valuesort
  SELECT a3 FROM t3
   WHERE (363=d3 AND b3=677)
      OR (765=e3 OR 821=e3)
EXCEPT
  SELECT a5 FROM t5
   WHERE NOT ((e5=206 AND 951=b5)
           OR (930=b5)
           OR (b5=695 OR e5=98))
EXCEPT
  SELECT e7 FROM t7
   WHERE NOT ((118=d7 OR 758=a7)
           OR (192=b7)
           OR (79=d7 OR a7=130 OR b7=308))
UNION ALL
  SELECT c1 FROM t1
   WHERE (670=b1)
      OR (281=b1 AND 375=c1 AND 221=d1)
EXCEPT
  SELECT b6 FROM t6
   WHERE NOT ((405=d6 AND e6=654 AND 490=b6 AND c6=441 AND 818=a6)
           OR (121=a6 OR c6=161 OR 905=b6))
EXCEPT
  SELECT b8 FROM t8
   WHERE NOT ((c8=299)
           OR d8 in (631,96,849,456,630,814)
           OR a8 in (883,653,961,388,848,289,153,553,47,794))
UNION
  SELECT d9 FROM t9
   WHERE (264=d9)
      OR (2=b9 AND e9=353 AND 678=d9)

query T valuesort
  SELECT e1 FROM t1
   WHERE (b1=5 OR e1=602)
INTERSECT
  SELECT a8 FROM t8
   WHERE NOT ((96=d8)
           OR d8 in (894,542,269,651,916,715,889,849,761)
           OR b8 in (397,162,705,461,704,665,790,182,677))

query T valuesort
  SELECT b2 FROM t2
   WHERE (746=c2 OR a2=775)
      OR (657=c2)
UNION
  SELECT b5 FROM t5
   WHERE d5 in (219,752,745,805,910,792,742,649,69,789,98)
      OR (e5=737 OR 440=e5)
      OR (31=c5 OR 104=e5 OR a5=153)
EXCEPT
  SELECT b6 FROM t6
   WHERE NOT ((a6=238 AND 4=c6 AND 353=e6 AND 923=b6 AND 807=d6)
           OR c6 in (297,749,543,454,751)
           OR e6 in (230,6,100,631,241,682,345,395,211,283))
UNION ALL
  SELECT d3 FROM t3
   WHERE a3 in (651,611,863,559,935)
      OR (a3=429 AND d3=503)
      OR (272=c3 OR 146=b3 OR b3=677)
UNION ALL
  SELECT a8 FROM t8
   WHERE (761=b8)
      OR (955=e8 AND b8=7)
      OR (c8=154 OR d8=769)
UNION ALL
  SELECT c4 FROM t4
   WHERE b4 in (40,551,816,733,961,847)
      OR (480=e4 OR b4=784)
      OR (415=e4 OR b4=882 OR 773=c4)
EXCEPT
  SELECT a9 FROM t9
   WHERE NOT ((11=a9)
           OR (b9=821)
           OR (e9=944 AND 936=b9 AND 240=c9 AND 549=a9))
UNION ALL
  SELECT c7 FROM t7
   WHERE (d7=79 OR 735=b7)
UNION
  SELECT b1 FROM t1
   WHERE (b1=788)
      OR (b1=766)

query T valuesort
  SELECT d7 FROM t7
   WHERE c7 in (781,375,661,257)
      OR (199=d7 AND 319=e7)
      OR e7 in (782,816,248)
UNION ALL
  SELECT b2 FROM t2
   WHERE (643=b2 AND a2=691 AND e2=140 AND 351=d2)
      OR (c2=902)
      OR (a2=954 OR 592=b2)
EXCEPT
  SELECT d9 FROM t9
   WHERE NOT ((968=e9 AND 264=d9)
           OR (222=c9 AND 873=e9 AND 142=b9)
           OR (e9=161))
EXCEPT
  SELECT a1 FROM t1
   WHERE NOT (d1 in (798,265,885,947,407,955)
           OR (a1=668 OR e1=615)
           OR (847=a1 AND e1=534 AND 572=b1 AND d1=4))

query T valuesort
  SELECT b7 FROM t7
   WHERE (a7=884 AND c7=780 AND 254=e7)
EXCEPT
  SELECT b4 FROM t4
   WHERE NOT ((e4=163 AND c4=783)
           OR (12=e4 AND a4=271 AND 483=c4 AND d4=491))
EXCEPT
  SELECT c9 FROM t9
   WHERE NOT ((28=a9 AND b9=348 AND d9=959 AND c9=254)
           OR e9 in (383,788,819,873,82))
UNION
  SELECT a1 FROM t1
   WHERE (b1=633)
      OR (255=b1 OR c1=387)
EXCEPT
  SELECT a6 FROM t6
   WHERE NOT (e6 in (360,682,154,574,808,14)
           OR b6 in (963,993,882,449,290,662))
UNION
  SELECT c3 FROM t3
   WHERE (e3=871 OR 555=c3)
      OR a3 in (895,549,393,34,218,879,181)
EXCEPT
  SELECT a2 FROM t2
   WHERE NOT (b2 in (818,823,897,649,211,297,546))

query T valuesort
  SELECT c6 FROM t6
   WHERE (126=b6 OR c6=377)
      OR (175=e6)
      OR c6 in (504,265,561,807,441,135,864,454,4,522)
INTERSECT
  SELECT c2 FROM t2
   WHERE NOT ((a2=235 OR 706=b2 OR d2=838))
INTERSECT
  SELECT b8 FROM t8
   WHERE NOT ((b8=922)
           OR (108=d8)
           OR c8 in (513,117,88,100,154,979,273,775,789,690,74))
UNION ALL
  SELECT e5 FROM t5
   WHERE (d5=667 OR 703=b5)
EXCEPT
  SELECT c7 FROM t7
   WHERE NOT ((166=b7 AND d7=842 AND c7=843 AND 945=e7)
           OR (841=e7 AND 564=c7 AND 285=a7 AND b7=250)
           OR c7 in (692,467,672,180,364,781,966,12,249,302,705,135,518))
EXCEPT
  SELECT d1 FROM t1
   WHERE NOT ((a1=579 AND 300=e1 AND b1=781 AND d1=626 AND c1=299)
           OR (d1=87 AND e1=816 AND 458=c1 AND 523=b1)
           OR (55=d1 OR a1=825 OR 17=d1))
EXCEPT
  SELECT c9 FROM t9
   WHERE NOT (e9 in (737,854,647,854,161,30,307,150,549,542,944,936,218)
           OR b9 in (361,149,549,66,421,262,868)
           OR (171=c9 AND b9=210 AND e9=61 AND a9=263))
UNION
  SELECT c4 FROM t4
   WHERE (b4=107 AND a4=792 AND 996=c4 AND e4=738 AND d4=100)
      OR (860=b4)
UNION ALL
  SELECT b3 FROM t3
   WHERE c3 in (403,175,860,823,134,929,733)
      OR (d3=173)

query T valuesort
  SELECT d9 FROM t9
   WHERE (111=d9)
INTERSECT
  SELECT b3 FROM t3
   WHERE NOT ((a3=551 OR c3=102))
INTERSECT
  SELECT d1 FROM t1
   WHERE NOT (c1 in (200,152,69,683,531,465,805,683,12,880,637)
           OR (885=c1)
           OR (346=d1 AND 690=c1 AND 880=e1 AND b1=525 AND 451=a1))
EXCEPT
  SELECT c4 FROM t4
   WHERE NOT ((114=b4 AND 132=e4 AND 713=d4))
EXCEPT
  SELECT a2 FROM t2
   WHERE NOT ((b2=21)
           OR (983=e2 AND 544=a2 AND b2=113 AND 351=d2 AND c2=688)
           OR (e2=938 AND 560=c2 AND b2=676 AND a2=253 AND d2=233))
UNION ALL
  SELECT b6 FROM t6
   WHERE (474=a6 OR c6=287)
      OR e6 in (489,286,737,754,711,946,850,329)
      OR (2=d6)

query T valuesort
  SELECT d2 FROM t2
   WHERE e2 in (366,223,604,812)
      OR (198=d2)
      OR (d2=743 OR 45=c2 OR 853=a2)
UNION ALL
  SELECT c1 FROM t1
   WHERE (c1=654 AND 546=e1 AND 643=a1 AND d1=586)
UNION
  SELECT c6 FROM t6
   WHERE (241=e6 OR 554=e6)
      OR (554=e6 AND 123=c6 AND 66=a6 AND b6=449)
      OR (73=d6 AND c6=45 AND 474=a6)
EXCEPT
  SELECT a4 FROM t4
   WHERE NOT ((b4=295 OR c4=319 OR 327=a4)
           OR (579=a4 OR 234=a4 OR d4=366))
EXCEPT
  SELECT b8 FROM t8
   WHERE NOT (b8 in (162,540,975,6,878,397,182,369,656,615,564,906,725,696)
           OR (a8=314 OR a8=46 OR 453=a8)
           OR a8 in (99,402,954,579,952,514,46,822,586,248,702))
EXCEPT
  SELECT a5 FROM t5
   WHERE NOT ((147=c5 AND e5=18 AND b5=661)
           OR (d5=514)
           OR (369=a5 OR c5=681 OR a5=320))

query T valuesort
  SELECT e8 FROM t8
   WHERE (702=b8 OR e8=811 OR 984=b8)
      OR (767=d8 OR a8=637 OR 422=e8)
UNION
  SELECT a7 FROM t7
   WHERE (d7=777 AND c7=419 AND 344=e7 AND 191=b7)
      OR (199=d7 AND c7=467 AND a7=952 AND 362=b7 AND e7=319)
UNION ALL
  SELECT e1 FROM t1
   WHERE b1 in (253,60,556,589,49,1,149,259,822)
EXCEPT
  SELECT b2 FROM t2
   WHERE NOT ((a2=874 OR 537=d2 OR 463=e2))

query T valuesort
  SELECT d7 FROM t7
   WHERE (38=c7 OR 191=b7 OR 891=d7)
      OR a7 in (90,430,386,240,715,863,958,180,642,167,622,452,452,500)
UNION
  SELECT a3 FROM t3
   WHERE (275=a3)
      OR (c3=372 AND 988=d3)

query T valuesort
  SELECT d1 FROM t1
   WHERE b1 in (556,788,523,993,584,944,446,432,556,525,807)
      OR (32=b1)
      OR (88=c1)
UNION
  SELECT b6 FROM t6
   WHERE (d6=60)
      OR (e6=847 OR 415=c6)
EXCEPT
  SELECT e5 FROM t5
   WHERE NOT ((a5=89)
           OR (429=a5))
UNION ALL
  SELECT c3 FROM t3
   WHERE d3 in (482,615,503)
EXCEPT
  SELECT b8 FROM t8
   WHERE NOT (d8 in (767,494,761)
           OR (272=e8 AND 269=b8 AND d8=14 AND 952=a8)
           OR (a8=113 AND 394=b8 AND d8=223 AND e8=729))
EXCEPT
  SELECT b2 FROM t2
   WHERE NOT ((e2=721 AND a2=445 AND c2=511)
           OR (318=c2 OR c2=65 OR e2=671))
UNION ALL
  SELECT b4 FROM t4
   WHERE b4 in (535,882,577,847,678,748,941,907,498,888,603)

query T valuesort
  SELECT c7 FROM t7
   WHERE (430=a7 AND e7=456 AND 344=c7 AND 892=d7)
      OR (a7=995 OR 206=c7 OR 808=b7)
INTERSECT
  SELECT c2 FROM t2
   WHERE NOT (b2 in (297,311,433,592,938))
INTERSECT
  SELECT b5 FROM t5
   WHERE NOT ((d5=32 OR b5=234))
INTERSECT
  SELECT d9 FROM t9
   WHERE NOT ((126=c9)
           OR (a9=28 AND 254=c9 AND b9=348))
EXCEPT
  SELECT b3 FROM t3
   WHERE NOT ((a3=696 AND 386=b3))
EXCEPT
  SELECT a1 FROM t1
   WHERE NOT ((e1=381))
UNION ALL
  SELECT a4 FROM t4
   WHERE (a4=378 AND 589=b4 AND c4=162)
      OR (b4=289)
EXCEPT
  SELECT a6 FROM t6
   WHERE NOT ((924=d6 OR d6=60))
EXCEPT
  SELECT c8 FROM t8
   WHERE NOT (e8 in (105,186,431,149,682,620,809,600,333)
           OR (534=d8)
           OR (994=a8))

query T valuesort
  SELECT a5 FROM t5
   WHERE (605=b5 OR 513=a5)
      OR b5 in (640,33,230,736,193,855,484)
INTERSECT
  SELECT c1 FROM t1
   WHERE NOT ((754=b1 AND a1=161))
UNION ALL
  SELECT c3 FROM t3
   WHERE (d3=515 AND 848=e3 AND 566=b3)

query T valuesort
  SELECT d3 FROM t3
   WHERE d3 in (355,582,850,118,866,495,444,260,737,1,944,708)
      OR e3 in (862,265,260,892,854,135,593,602,854)
      OR (c3=823 OR 295=b3 OR 863=c3)
EXCEPT
  SELECT b7 FROM t7
   WHERE NOT (e7 in (272,862,439,67))
EXCEPT
  SELECT c9 FROM t9
   WHERE NOT (e9 in (251,127,307,291,860,837,844,792,239))
EXCEPT
  SELECT a5 FROM t5
   WHERE NOT (d5 in (98,271,171,964,960,570,769,361,437,957,814,369,787)
           OR (685=b5 AND 101=c5 AND d5=1 AND 758=e5 AND 319=a5))
EXCEPT
  SELECT e4 FROM t4
   WHERE NOT ((597=d4 AND 469=b4 AND 671=c4 AND e4=816))
EXCEPT
  SELECT c1 FROM t1
   WHERE NOT (c1 in (681,626,762)
           OR (52=e1 OR e1=897))
EXCEPT
  SELECT c6 FROM t6
   WHERE NOT (b6 in (834,512,549,681,974,300,606,565,281)
           OR d6 in (269,581,393,488,66,367,846,867,734,931,974,901)
           OR e6 in (324,550,847,230,794,585,915))
EXCEPT
  SELECT c2 FROM t2
   WHERE NOT ((d2=345)
           OR (c2=902 OR 372=c2))
UNION
  SELECT b8 FROM t8
   WHERE (586=e8 AND 54=a8 AND 231=c8 AND 324=b8 AND d8=889)
      OR (b8=359 AND 72=a8 AND 805=d8)

query T valuesort
  SELECT d7 FROM t7
   WHERE (651=a7 AND 595=e7 AND 392=b7)
UNION
  SELECT e5 FROM t5
   WHERE (682=d5)
      OR (d5=940 AND b5=231 AND e5=549 AND 18=c5)

query T valuesort
  SELECT c6 FROM t6
   WHERE a6 in (104,396,821,657,839,40,522,300,877)
INTERSECT
  SELECT a4 FROM t4
   WHERE NOT ((901=d4 AND a4=60 AND b4=802 AND c4=471))
UNION
  SELECT c1 FROM t1
   WHERE (c1=204)

query T valuesort
  SELECT a3 FROM t3
   WHERE (e3=406 OR a3=105 OR a3=364)
INTERSECT
  SELECT a1 FROM t1
   WHERE NOT (e1 in (221,963,522,12,299,815,402,72,667,732,110)
           OR (420=c1 OR a1=352 OR 247=b1)
           OR (89=e1))
INTERSECT
  SELECT e5 FROM t5
   WHERE NOT (b5 in (855,620,716,336,530,847)
           OR a5 in (556,929,24,602,196,637,180)
           OR (445=a5))

query T valuesort
  SELECT b8 FROM t8
   WHERE (b8=981)
      OR (c8=233)
      OR d8 in (60,814,651,845,743,108,608,391,370,2,731,667,835)
EXCEPT
  SELECT a9 FROM t9
   WHERE NOT ((682=d9 OR 82=e9 OR 699=e9))
UNION
  SELECT e2 FROM t2
   WHERE c2 in (509,746,177,887,996,964,657,869,4,272,728)
      OR (d2=389 AND 270=b2 AND 123=c2 AND e2=647)
      OR (e2=945 AND 891=a2)
UNION ALL
  SELECT e5 FROM t5
   WHERE a5 in (342,330,540,696,851,921,413)
UNION
  SELECT a4 FROM t4
   WHERE (713=d4)
EXCEPT
  SELECT d3 FROM t3
   WHERE NOT (d3 in (520,944,149,60,354,895)
           OR (d3=170 OR 665=b3 OR 782=d3))
EXCEPT
  SELECT d1 FROM t1
   WHERE NOT ((c1=880 AND e1=117)
           OR a1 in (988,936,20,702,829,314,76,438,678,553,195,629,299,746))
EXCEPT
  SELECT b7 FROM t7
   WHERE NOT (a7 in (832,158,299,386,31,85,665,565,936,167,35,806))
UNION ALL
  SELECT d6 FROM t6
   WHERE (177=c6 OR d6=729)
      OR b6 in (774,993,604,281,601,229)
      OR (781=b6 OR e6=678 OR e6=324)

query T valuesort
  SELECT a7 FROM t7
   WHERE (e7=506 OR 906=c7)
UNION
  SELECT b1 FROM t1
   WHERE (d1=922 OR d1=4 OR b1=779)
      OR c1 in (814,48,296)
UNION
  SELECT a5 FROM t5
   WHERE (924=c5 AND 851=a5 AND 732=e5 AND b5=338)

query T valuesort
  SELECT a2 FROM t2
   WHERE (216=d2)
INTERSECT
  SELECT e8 FROM t8
   WHERE NOT ((c8=799 AND 328=a8 AND b8=922 AND 899=d8 AND 377=e8)
           OR (d8=756 OR 404=c8 OR 561=a8)
           OR (a8=312 AND 397=b8))
INTERSECT
  SELECT b9 FROM t9
   WHERE NOT ((b9=524 OR c9=515 OR d9=967))

query T valuesort
  SELECT c6 FROM t6
   WHERE d6 in (367,590,674)
INTERSECT
  SELECT b3 FROM t3
   WHERE NOT (a3 in (594,143,929,513,341,727,913,353,697)
           OR (375=c3 AND d3=984))
UNION
  SELECT e1 FROM t1
   WHERE (619=b1 AND d1=837 AND c1=680 AND e1=645 AND 213=a1)
      OR (552=a1)
EXCEPT
  SELECT b8 FROM t8
   WHERE NOT ((893=e8 OR b8=741)
           OR a8 in (200,417,314))
UNION
  SELECT c4 FROM t4
   WHERE (d4=268)

query T valuesort
  SELECT e5 FROM t5
   WHERE (258=e5 OR 814=d5 OR a5=335)
      OR (d5=769 AND 335=a5 AND b5=143)
      OR b5 in (587,98,771,159,530,511,934)
UNION ALL
  SELECT e9 FROM t9
   WHERE e9 in (19,445,837,251,418,801,943,368,954,804,736,978,218)
UNION
  SELECT b7 FROM t7
   WHERE (122=e7 AND b7=409)
      OR (896=b7 AND 192=d7)
      OR (b7=612)

query T valuesort
  SELECT e8 FROM t8
   WHERE d8 in (58,534,48,210,466,124,384,769,2,525)
      OR (647=c8 AND 241=a8 AND 773=b8)
INTERSECT
  SELECT b3 FROM t3
   WHERE NOT (c3 in (555,317,524)
           OR d3 in (173,582,363,560,850,364,503,944))
UNION
  SELECT b1 FROM t1
   WHERE (461=a1 OR d1=820 OR b1=556)
      OR d1 in (955,213,141,654)
      OR (862=b1 AND a1=276 AND 936=d1 AND 207=c1 AND e1=110)
EXCEPT
  SELECT d6 FROM t6
   WHERE NOT ((d6=647 AND a6=355 AND b6=997 AND 452=c6 AND e6=754)
           OR d6 in (473,600,453,467,667))

query T valuesort
  SELECT a6 FROM t6
   WHERE (534=c6 OR d6=578 OR b6=601)
INTERSECT
  SELECT e9 FROM t9
   WHERE NOT ((b9=891 OR 568=d9 OR a9=177)
           OR c9 in (487,457,884,402,711,391,171,253,687,349,834,923,232,601)
           OR (975=c9 AND d9=686 AND b9=891 AND 148=a9 AND 127=e9))
UNION
  SELECT d1 FROM t1
   WHERE d1 in (581,992,96,212,618,47,712,654)
      OR (c1=204)
      OR e1 in (667,546,255,748,747,695,158,695,78,113,161,523,763,152)
EXCEPT
  SELECT a3 FROM t3
   WHERE NOT ((457=b3))
UNION ALL
  SELECT e8 FROM t8
   WHERE (e8=381 AND c8=486 AND d8=197 AND b8=6 AND 400=a8)
      OR (339=d8 OR 184=a8)
      OR a8 in (848,445,289,331,150,855,923,946,113,672)
EXCEPT
  SELECT b4 FROM t4
   WHERE NOT (a4 in (990,921,933,580,473,857,747,598,778))
UNION
  SELECT e5 FROM t5
   WHERE (a5=683 AND 621=e5 AND 965=d5 AND b5=98)
      OR b5 in (292,569,629,855,784,186,390,657,772,703)
      OR (d5=855 OR 104=e5)

query T valuesort
  SELECT a7 FROM t7
   WHERE (b7=510 OR d7=418)
      OR (c7=744)
EXCEPT
  SELECT e9 FROM t9
   WHERE NOT ((703=b9 OR 102=a9 OR c9=39)
           OR b9 in (926,170,900)
           OR d9 in (682,161,23,601))
EXCEPT
  SELECT c2 FROM t2
   WHERE NOT ((588=a2 OR d2=260 OR 729=c2)
           OR (217=a2 OR d2=292 OR a2=223))
EXCEPT
  SELECT b3 FROM t3
   WHERE NOT ((243=c3 AND e3=823 AND d3=662)
           OR b3 in (566,198,317,827,914,876,505,779))
EXCEPT
  SELECT d8 FROM t8
   WHERE NOT (d8 in (494,81,541,499,179,223,769,446)
           OR (e8=919))

query T valuesort
  SELECT e6 FROM t6
   WHERE (442=c6 AND e6=95)
      OR (a6=718 AND e6=469 AND 989=b6 AND d6=147 AND 534=c6)
      OR (292=c6 AND 711=e6 AND 600=d6 AND b6=126 AND a6=643)
UNION ALL
  SELECT b4 FROM t4
   WHERE (844=d4 OR a4=248)
      OR (e4=6)

query T valuesort
  SELECT d5 FROM t5
   WHERE (171=d5)
      OR c5 in (613,797,158,696,756,989,733,941,152,855,825,844,856,894)
INTERSECT
  SELECT c1 FROM t1
   WHERE NOT (b1 in (572,670,942,310,729)
           OR d1 in (163,47,75,936,186,874,315,712,913,35))
UNION ALL
  SELECT b9 FROM t9
   WHERE e9 in (978,788,149,699,301,943,549,737,245,858,837,307,854)
EXCEPT
  SELECT d8 FROM t8
   WHERE NOT (a8 in (66,651,90,47,250,239,957))
EXCEPT
  SELECT a2 FROM t2
   WHERE NOT (e2 in (147,820,692,535,997,938)
           OR b2 in (181,605,532,635,755,501,643,313,897))
UNION ALL
  SELECT b4 FROM t4
   WHERE d4 in (197,491,681,328,184,231,658,950,144,889,657,409,713)
      OR d4 in (819,713,907,236,60,881,770,328,309,60,889)

query T valuesort
  SELECT a3 FROM t3
   WHERE (887=c3 AND a3=865)
      OR c3 in (75,869,641)
      OR (961=c3 OR c3=966)
UNION ALL
  SELECT b7 FROM t7
   WHERE (b7=973)
      OR (d7=164 OR 250=b7)
      OR e7 in (663,290,689,92,319,456,841,562,154)
UNION
  SELECT d2 FROM t2
   WHERE (d2=555 OR b2=545)
      OR c2 in (894,988,220,449,560,344,773,964,779)
      OR a2 in (139,522,262,652,185,315,279)
EXCEPT
  SELECT a4 FROM t4
   WHERE NOT ((b4=40 OR 486=e4))
UNION
  SELECT d5 FROM t5
   WHERE (e5=621 AND a5=683)
      OR (a5=349 OR 894=e5 OR 556=a5)
      OR e5 in (708,758,342,13,68,225,34,232,902,586,587)

query T valuesort
  SELECT e1 FROM t1
   WHERE (426=b1 AND 23=a1 AND 441=c1 AND 696=e1 AND 88=d1)
UNION
  SELECT b4 FROM t4
   WHERE (e4=376 AND a4=825 AND 777=d4 AND 660=c4)
      OR (d4=987 AND 804=a4 AND e4=491)
      OR d4 in (60,819,706,713,260,25,317,973,366,373,85,728,781)

query T valuesort
  SELECT a2 FROM t2
   WHERE (e2=441)
INTERSECT
  SELECT d7 FROM t7
   WHERE NOT ((e7=553 OR 280=b7)
           OR (e7=827 AND 887=c7 AND a7=720)
           OR (b7=426 OR 575=d7))
UNION ALL
  SELECT d9 FROM t9
   WHERE (37=c9 AND 356=a9)
      OR (803=b9 OR a9=739 OR a9=972)
      OR (e9=301 AND 12=b9 AND 696=c9 AND 706=a9 AND d9=383)
EXCEPT
  SELECT e1 FROM t1
   WHERE NOT ((d1=319 OR d1=662))
UNION ALL
  SELECT a4 FROM t4
   WHERE (309=d4 OR 105=a4)

query T valuesort
  SELECT b1 FROM t1
   WHERE (e1=816)
INTERSECT
  SELECT a5 FROM t5
   WHERE NOT ((98=e5 OR b5=772 OR e5=702)
           OR d5 in (960,344,269,274,616,33,814,779,118,114,805,772)
           OR a5 in (683,342,522,335,421,675,749,988))
UNION
  SELECT a4 FROM t4
   WHERE (513=c4 AND e4=9 AND d4=568)
      OR (b4=94)
      OR b4 in (94,721,784,295,903,58,589)
EXCEPT
  SELECT a2 FROM t2
   WHERE NOT (e2 in (427,386,213,411,505,499,434,925)
           OR (512=e2)
           OR (b2=846))
UNION ALL
  SELECT a3 FROM t3
   WHERE (a3=829 OR d3=871)
      OR (871=d3 AND 844=e3 AND c3=777 AND b3=761 AND a3=306)
      OR (792=c3 OR 220=c3 OR 876=e3)
UNION ALL
  SELECT a8 FROM t8
   WHERE (253=b8 AND 701=a8 AND 866=e8 AND d8=456)
      OR (d8=738 OR 956=e8)
UNION ALL
  SELECT a7 FROM t7
   WHERE c7 in (688,557,781,548,770,174,981,344,659)
UNION ALL
  SELECT b6 FROM t6
   WHERE (300=a6 AND 267=b6 AND c6=34 AND d6=277 AND 95=e6)

query T valuesort
  SELECT a4 FROM t4
   WHERE (387=b4)
UNION
  SELECT d9 FROM t9
   WHERE (841=a9)
      OR e9 in (947,301,278,653,621,117,335)
      OR (e9=107 AND 171=b9 AND a9=56 AND c9=643)
UNION ALL
  SELECT d3 FROM t3
   WHERE (124=b3 OR a3=265)
      OR (665=b3 AND 822=a3 AND e3=526 AND c3=77)
UNION
  SELECT a5 FROM t5
   WHERE d5 in (1,847,769,271,957,412,752)
      OR c5 in (825,489,249,261,729,978,733,599,689,44)
EXCEPT
  SELECT a1 FROM t1
   WHERE NOT (d1 in (130,900,947,459,186,323,232,949,163,25)
           OR a1 in (992,609,785,591,461,499,195))
EXCEPT
  SELECT a8 FROM t8
   WHERE NOT (e8 in (296,384,431,221,392,942,632,776)
           OR (e8=846 AND 845=d8 AND 963=b8)
           OR (620=e8 AND d8=735 AND 402=a8 AND 168=c8 AND 542=b8))

query T valuesort
  SELECT e2 FROM t2
   WHERE d2 in (743,152,844,454,651,772,332,398)
UNION
  SELECT c4 FROM t4
   WHERE d4 in (653,55,231,657,889,31,373,212,639,881,617,229)
      OR (e4=958 OR a4=605 OR 825=a4)
      OR d4 in (85,889,185,150,973,881,820,989,25)
UNION
  SELECT a8 FROM t8
   WHERE d8 in (446,738,833,486,894,737)
      OR (632=e8 AND c8=935)
      OR (a8=341 OR b8=369 OR 979=c8)
UNION
  SELECT e6 FROM t6
   WHERE (b6=629 AND a6=568)
      OR (933=b6 OR 974=b6)
EXCEPT
  SELECT a9 FROM t9
   WHERE NOT (d9 in (226,463,268,224)
           OR (944=e9 OR e9=383 OR 245=b9)
           OR (239=b9 OR 446=b9))
EXCEPT
  SELECT d7 FROM t7
   WHERE NOT ((e7=970)
           OR (894=a7)
           OR a7 in (89,950,936,130,97,442,114,703,589,912))

query T valuesort
  SELECT c3 FROM t3
   WHERE e3 in (239,145,929,592,119,254,896,536,728,774,829,87,163,844)
INTERSECT
  SELECT a6 FROM t6
   WHERE NOT (b6 in (541,92,905,699,0,629)
           OR a6 in (392,148,211,386,396,839,692,238,173)
           OR (554=e6 AND 734=d6 AND 449=b6 AND a6=66))
UNION
  SELECT c8 FROM t8
   WHERE d8 in (667,108,81,814,542,675,610)
EXCEPT
  SELECT b4 FROM t4
   WHERE NOT (d4 in (770,736,247,794,150,260,197,777,364,136,356)
           OR b4 in (924,892,587,721,660,653,707,986))
UNION ALL
  SELECT a5 FROM t5
   WHERE e5 in (943,944,758,311,549,522,287,586,661,727,188,327,9,184)
      OR d5 in (965,792,553,960,919,118,847,470,309,772,883,818,542,495)
UNION
  SELECT a7 FROM t7
   WHERE (b7=735 OR c7=855 OR 142=d7)
      OR a7 in (134,592,31)
UNION ALL
  SELECT d2 FROM t2
   WHERE b2 in (264,966,367,211,585,755,592,643,168,148,270,812)
      OR (c2=344 AND a2=324 AND 585=b2)
      OR (b2=585)

query T valuesort
  SELECT d2 FROM t2
   WHERE (e2=220)
UNION
  SELECT e4 FROM t4
   WHERE (c4=0)
UNION
  SELECT a5 FROM t5
   WHERE (851=e5 OR 311=a5 OR c5=797)
      OR (e5=812 AND 44=c5)
UNION ALL
  SELECT d7 FROM t7
   WHERE (396=b7)
      OR (541=b7 AND a7=995 AND c7=855 AND 302=e7 AND 276=d7)
UNION ALL
  SELECT e6 FROM t6
   WHERE (281=b6 OR c6=500)
      OR (b6=350 AND 77=e6)
      OR (367=d6)
EXCEPT
  SELECT e3 FROM t3
   WHERE NOT ((c3=285)
           OR c3 in (869,954,792,801,580,763,476,324,592,455,929))
EXCEPT
  SELECT e9 FROM t9
   WHERE NOT ((410=b9 OR a9=240 OR c9=547)
           OR (d9=235 AND 811=c9 AND b9=66 AND 383=e9 AND a9=559)
           OR (e9=607 OR b9=170))

query T valuesort
  SELECT e3 FROM t3
   WHERE (249=e3 AND 262=a3)
      OR e3 in (794,467,304,690,218,365,596,876,731,87,586,665,550)
EXCEPT
  SELECT a2 FROM t2
   WHERE NOT ((d2=488 OR d2=416))
EXCEPT
  SELECT e7 FROM t7
   WHERE NOT (d7 in (192,315,939,603))

query T valuesort
  SELECT c8 FROM t8
   WHERE d8 in (384,769,623,950,192,370,446,210,499,60,466,484,894)
      OR (359=b8)
      OR a8 in (46,504,347,99,254,5,628,869,864,47,855,183,70)
UNION
  SELECT c3 FROM t3
   WHERE (d3=635)

query T valuesort
  SELECT d9 FROM t9
   WHERE a9 in (821,416,907,17,959,662)
      OR (b9=936 OR 14=a9)
      OR e9 in (567,868,653,117,965,549,542,195,799,788,737,621)
EXCEPT
  SELECT b7 FROM t7
   WHERE NOT ((a7=958)
           OR c7 in (705,529,725,78,12,970,906,467,853,206,435,813,284,302))
EXCEPT
  SELECT c8 FROM t8
   WHERE NOT ((c8=404 OR 650=a8 OR 98=b8))
UNION
  SELECT e6 FROM t6
   WHERE (126=b6)
      OR (646=e6 AND b6=954)
      OR e6 in (633,360,417,329,90,747,91,631,622,550)
EXCEPT
  SELECT a4 FROM t4
   WHERE NOT (e4 in (543,491,390)
           OR (602=a4 OR 794=d4))

query T valuesort
  SELECT e3 FROM t3
   WHERE (720=a3)
      OR (347=a3 OR 75=a3 OR 827=b3)
      OR (a3=697 AND b3=835 AND d3=647)
UNION ALL
  SELECT e1 FROM t1
   WHERE (639=c1 OR 152=c1 OR 814=c1)
      OR (748=d1 AND c1=208 AND a1=438 AND e1=166)
      OR c1 in (368,458,654,670,966,534,5,683,375,204,787)
EXCEPT
  SELECT e5 FROM t5
   WHERE NOT ((132=a5 AND 384=c5)
           OR e5 in (943,923,729,730,696,522,206,621,899,437,327)
           OR (390=e5))
UNION ALL
  SELECT a9 FROM t9
   WHERE (c9=327 AND 51=d9 AND 905=a9)
      OR (149=b9)
UNION
  SELECT a2 FROM t2
   WHERE (932=b2 AND e2=560 AND a2=457 AND 346=c2 AND d2=663)
      OR (547=e2)
      OR (659=e2 OR 628=b2 OR d2=23)
UNION
  SELECT b6 FROM t6
   WHERE (e6=274 AND 328=c6 AND a6=861)
      OR (281=b6 AND e6=617)

query T valuesort
  SELECT b7 FROM t7
   WHERE (744=c7 AND a7=9 AND 522=e7 AND b7=42)
      OR (249=c7 OR a7=707 OR 896=a7)
INTERSECT
  SELECT b6 FROM t6
   WHERE NOT ((716=b6)
           OR e6 in (634,417,617)
           OR (6=b6))
INTERSECT
  SELECT d4 FROM t4
   WHERE NOT ((29=a4 AND b4=480 AND c4=971 AND 366=d4)
           OR e4 in (81,237,312,415,12,188,617)
           OR b4 in (271,901,721))
UNION ALL
  SELECT a5 FROM t5
   WHERE (98=e5 OR 152=d5)
      OR e5 in (104,68,13,764,558,436,894,437,225)
      OR (e5=727 AND 190=a5 AND 910=d5)
UNION
  SELECT c1 FROM t1
   WHERE b1 in (850,738,914,435,662,486)
UNION ALL
  SELECT a8 FROM t8
   WHERE (a8=597 OR e8=495)

query T valuesort
  SELECT e3 FROM t3
   WHERE (e3=281)
      OR (595=b3)
      OR (776=a3 AND b3=534 AND d3=560 AND e3=459)
EXCEPT
  SELECT b1 FROM t1
   WHERE NOT (c1 in (772,548,177,379,788,420,67,136,530)
           OR (a1=215 AND 716=d1 AND b1=269))
EXCEPT
  SELECT c4 FROM t4
   WHERE NOT ((a4=510 AND b4=816)
           OR (267=b4))

query T valuesort
  SELECT d7 FROM t7
   WHERE d7 in (306,782,891,507,172,436,575,982,276,131,527,956,105)
UNION ALL
  SELECT a1 FROM t1
   WHERE (643=a1 AND d1=586)
      OR d1 in (319,130,922,223,175,346,806,679)
      OR (a1=829 OR d1=215 OR c1=402)
UNION ALL
  SELECT c5 FROM t5
   WHERE (b5=69)
UNION ALL
  SELECT a2 FROM t2
   WHERE c2 in (837,160,312,657,360,966,275,274,992,688,758,360)
      OR (222=a2 OR c2=247 OR 282=e2)
      OR (e2=572 OR b2=811)
EXCEPT
  SELECT d3 FROM t3
   WHERE NOT (c3 in (211,317,986,656,80,555,84,592,492,324)
           OR (e3=972 AND b3=837 AND 38=d3 AND a3=383 AND c3=792))
EXCEPT
  SELECT c9 FROM t9
   WHERE NOT ((149=b9 AND a9=240 AND 476=c9 AND e9=713)
           OR (d9=602 OR 69=a9)
           OR (e9=792 AND 420=d9 AND b9=832 AND a9=548))

query T valuesort
  SELECT d1 FROM t1
   WHERE (d1=900 AND c1=626)
      OR (62=c1)
      OR b1 in (91,75,1)
EXCEPT
  SELECT c8 FROM t8
   WHERE NOT ((384=d8 OR 364=b8)
           OR b8 in (769,397,741,647,796,184,394,975,790,958,984)
           OR (821=c8 AND 624=b8 AND 956=e8 AND a8=864))
EXCEPT
  SELECT e6 FROM t6
   WHERE NOT ((b6=933 OR 295=c6 OR 297=c6)
           OR (369=c6 OR c6=490)
           OR (b6=461 OR 537=b6))
UNION ALL
  SELECT b5 FROM t5
   WHERE (991=d5 AND c5=441)
EXCEPT
  SELECT b4 FROM t4
   WHERE NOT (c4 in (214,927,188,513,319,993,723,873,675)
           OR a4 in (271,408,933,752,662,451,337,139,629,579)
           OR (c4=483 AND 491=d4 AND 810=b4 AND a4=271 AND 12=e4))
EXCEPT
  SELECT c9 FROM t9
   WHERE NOT (c9 in (232,126,75,37,278,252,224,252)
           OR (254=c9 AND a9=28 AND 959=d9 AND e9=195)
           OR d9 in (549,967,679,660,258,55,463,959,274,399,646))

query T valuesort
  SELECT c7 FROM t7
   WHERE (220=b7 OR e7=455 OR 722=a7)
INTERSECT
  SELECT d5 FROM t5
   WHERE NOT ((878=b5 AND d5=779 AND e5=885 AND 544=a5 AND c5=31)
           OR b5 in (744,292,424,716)
           OR (a5=445 AND 752=d5 AND 934=b5 AND 386=e5 AND 809=c5))
UNION
  SELECT b2 FROM t2
   WHERE (a2=308 OR 714=b2 OR 733=a2)
      OR (140=e2 AND d2=351 AND a2=691 AND c2=837)
      OR b2 in (297,264,90,820,38,823,73)
UNION
  SELECT d1 FROM t1
   WHERE (548=c1 AND 376=d1)
      OR b1 in (49,802,307,645,738,440,828)
      OR (b1=310 OR 620=c1)
EXCEPT
  SELECT c8 FROM t8
   WHERE NOT ((88=c8 AND 466=d8 AND a8=129 AND 320=e8 AND 466=b8))
EXCEPT
  SELECT e4 FROM t4
   WHERE NOT ((e4=792)
           OR (546=e4 OR 281=a4 OR 25=d4)
           OR (770=d4 AND 805=e4 AND 746=a4 AND b4=733))
UNION
  SELECT b6 FROM t6
   WHERE (821=a6 OR 457=d6)
      OR b6 in (144,716,875,230,997,461,629)
      OR (786=d6 OR b6=0)

query T valuesort
  SELECT c2 FROM t2
   WHERE (d2=80 OR a2=35)
UNION ALL
  SELECT d3 FROM t3
   WHERE c3 in (600,763,947,492,641,403,823,885,220,467,326,592,656)
      OR e3 in (977,393,254,136,178,341)
EXCEPT
  SELECT d9 FROM t9
   WHERE NOT ((107=e9 OR a9=739 OR 912=b9)
           OR b9 in (13,751,496,680,77,136,426,95,891,5,122,301))
EXCEPT
  SELECT d7 FROM t7
   WHERE NOT ((142=d7 AND 288=a7 AND c7=770)
           OR d7 in (139,418,526))
UNION
  SELECT b8 FROM t8
   WHERE (180=e8 AND c8=442)

query T valuesort
  SELECT e2 FROM t2
   WHERE c2 in (756,83,692,837,653,449)
      OR (790=d2)
EXCEPT
  SELECT d8 FROM t8
   WHERE NOT ((835=d8 AND 349=e8 AND a8=472 AND 397=b8 AND 375=c8)
           OR (b8=459 AND 957=a8)
           OR b8 in (975,656,370,8,244))

query T valuesort
  SELECT c1 FROM t1
   WHERE d1 in (581,381,186)
      OR (a1=406 AND d1=955 AND b1=266)
INTERSECT
  SELECT a7 FROM t7
   WHERE NOT ((b7=892 OR 995=a7 OR a7=863))
UNION ALL
  SELECT e4 FROM t4
   WHERE c4 in (581,221,752,971,840,732,832,319)
UNION ALL
  SELECT b6 FROM t6
   WHERE (95=e6 OR e6=595)
      OR (d6=560)
      OR (674=d6 OR b6=604)

query T valuesort
  SELECT b5 FROM t5
   WHERE (b5=703 OR 685=a5)
UNION
  SELECT c3 FROM t3
   WHERE (e3=951 OR 406=e3 OR 863=a3)
      OR (c3=692 AND 273=b3 AND e3=239 AND 102=d3)
      OR d3 in (133,711,482,944,102,913)
EXCEPT
  SELECT c4 FROM t4
   WHERE NOT (d4 in (979,905,60,617,511,819)
           OR (584=c4 AND b4=379 AND 136=a4 AND e4=543))
UNION ALL
  SELECT e8 FROM t8
   WHERE c8 in (907,979,544,486,298,501,187,119,32)
      OR (b8=155)
      OR (d8=482)
EXCEPT
  SELECT c7 FROM t7
   WHERE NOT ((c7=585)
           OR (c7=375)
           OR (455=b7 OR 284=c7))
UNION
  SELECT a1 FROM t1
   WHERE a1 in (829,505,492,746,604,32,538)
UNION ALL
  SELECT b9 FROM t9
   WHERE (c9=843)
      OR e9 in (713,146,968,788,477,944,954,841,368,947,245,845,230,353)

query T valuesort
  SELECT b9 FROM t9
   WHERE (d9=597 AND 875=a9 AND b9=858 AND 161=e9)
      OR (808=d9 OR d9=55 OR a9=548)
UNION ALL
  SELECT b8 FROM t8
   WHERE c8 in (935,943,513)
      OR a8 in (855,47,578)
      OR e8 in (203,392,442,310,272,510,440)
UNION ALL
  SELECT e6 FROM t6
   WHERE b6 in (350,348,0,681,461,427,604,662,378,915,463)
      OR (564=a6 OR 537=b6 OR 237=e6)
EXCEPT
  SELECT e7 FROM t7
   WHERE NOT (c7 in (257,232,38,970,606,260,954,467,206,305,478,180,482,659)
           OR (e7=887 OR a7=758)
           OR d7 in (131,399,988,91,105,837,492))
EXCEPT
  SELECT a1 FROM t1
   WHERE NOT (a1 in (607,732,880,109,992,981,76,996,967)
           OR c1 in (765,390,458,805,775,506,4,905,772,498,272,97,681,230))

query T valuesort
  SELECT b7 FROM t7
   WHERE (793=e7)
      OR d7 in (94,442,549,524,772,199,996,105)
      OR d7 in (114,886,325,620,108,817,549,296,988,712,671,34)
UNION ALL
  SELECT d1 FROM t1
   WHERE (288=e1)
      OR (d1=939)

query T valuesort
  SELECT c2 FROM t2
   WHERE (181=b2 AND 189=a2 AND 847=d2)
UNION ALL
  SELECT d7 FROM t7
   WHERE c7 in (389,498,954,135,180,518,659,816,364,317,906)
EXCEPT
  SELECT e5 FROM t5
   WHERE NOT ((50=c5 AND 187=e5 AND b5=744)
           OR d5 in (810,155,42,521)
           OR (104=e5 AND 570=d5 AND a5=536))
EXCEPT
  SELECT d3 FROM t3
   WHERE NOT ((e3=854 OR a3=197 OR c3=966)
           OR (b3=983 AND e3=211 AND c3=954 AND d3=809))
UNION
  SELECT a6 FROM t6
   WHERE b6 in (933,549,541,967,954)
UNION
  SELECT e4 FROM t4
   WHERE b4 in (267,707,901,603,635)
      OR b4 in (919,261,387,243,713,707)
EXCEPT
  SELECT a9 FROM t9
   WHERE NOT ((210=b9 OR d9=878)
           OR (e9=353 AND 2=b9 AND 678=d9)
           OR (e9=744 OR a9=72 OR 245=b9))
UNION
  SELECT c1 FROM t1
   WHERE (447=b1 OR d1=432)
      OR e1 in (117,539,763,838,284,139,858,355,125)
      OR (270=b1 AND c1=882)

query T valuesort
  SELECT b2 FROM t2
   WHERE (56=e2 AND c2=793 AND 706=b2)
      OR (508=a2 AND 965=e2)
      OR c2 in (374,746,337,894,137,779,202)
EXCEPT
  SELECT b3 FROM t3
   WHERE NOT (c3 in (455,84,647,986,656,733,641,133,80,477,668)
           OR c3 in (455,549,966,750,439,490,733))

query T valuesort
  SELECT c4 FROM t4
   WHERE b4 in (387,480,532)
      OR (606=b4 AND a4=876)
INTERSECT
  SELECT a7 FROM t7
   WHERE NOT ((131=d7 OR 896=b7 OR 4=e7)
           OR d7 in (118,91,956,666,837,549)
           OR (d7=296 OR e7=976 OR e7=154))
INTERSECT
  SELECT a3 FROM t3
   WHERE NOT (d3 in (647,553,501,520,737,886,217,66,642,548,825)
           OR (914=e3 AND d3=399 AND b3=998 AND c3=711 AND 997=a3))
EXCEPT
  SELECT e6 FROM t6
   WHERE NOT (c6 in (561,513,282,416,942,648)
           OR d6 in (993,581,488,366,822,867,493,797,151,734,578,664,393,21))
UNION ALL
  SELECT e1 FROM t1
   WHERE (914=b1 AND e1=11)
      OR (980=c1)
UNION
  SELECT a2 FROM t2
   WHERE (c2=177)
EXCEPT
  SELECT d8 FROM t8
   WHERE NOT (e8 in (296,488,381,632,421,149,904)
           OR a8 in (359,171,341,638,474,954,259,502,250,848,306))
UNION ALL
  SELECT c9 FROM t9
   WHERE e9 in (218,647,744,195,694,845,854,477,230,486,107,723)
      OR (739=a9 AND c9=118 AND e9=736 AND 720=d9)
EXCEPT
  SELECT d5 FROM t5
   WHERE NOT ((c5=599)
           OR (c5=601 AND 817=a5))

query T valuesort
  SELECT a3 FROM t3
   WHERE (d3=444 OR d3=135 OR 726=d3)
      OR (913=a3 AND 139=d3 AND 73=b3 AND 986=c3)
UNION ALL
  SELECT a2 FROM t2
   WHERE (315=a2)
EXCEPT
  SELECT e7 FROM t7
   WHERE NOT (a7 in (952,452,720,863,699,75,290,120,452,916,361,195,299)
           OR (603=d7 AND e7=144 AND b7=855 AND 80=c7 AND 442=a7))
EXCEPT
  SELECT e8 FROM t8
   WHERE NOT ((377=e8 AND 799=c8 AND 899=d8 AND 328=a8 AND 922=b8))

query T valuesort
  SELECT b2 FROM t2
   WHERE (a2=544 OR 386=e2 OR 264=b2)
      OR (723=d2 OR e2=499)
EXCEPT
  SELECT b4 FROM t4
   WHERE NOT ((273=c4 OR b4=860))
EXCEPT
  SELECT b1 FROM t1
   WHERE NOT (d1 in (939,942,666,87,770,828,602,254,717,574,221,992)
           OR (d1=803 OR 149=b1)
           OR (e1=117 OR 681=b1))
EXCEPT
  SELECT b7 FROM t7
   WHERE NOT (e7 in (522,184,971,884,488,456,590)
           OR d7 in (620,885,524,91)
           OR a7 in (879,442,350))

query T valuesort
  SELECT d3 FROM t3
   WHERE (376=b3)
      OR (c3=134 AND d3=541 AND b3=166 AND e3=145)
      OR d3 in (825,115,958,133,515,173,358,60,118,425,889,797,662,826)
EXCEPT
  SELECT b5 FROM t5
   WHERE NOT (b5 in (771,569,292,897,661)
           OR b5 in (33,685,606,703,326,716))
UNION
  SELECT c1 FROM t1
   WHERE c1 in (486,966,871)
UNION
  SELECT e2 FROM t2
   WHERE (e2=125)
      OR a2 in (853,91,944,809,954,222,751,538,775)
UNION ALL
  SELECT b6 FROM t6
   WHERE a6 in (255,182,696,238,452,718,692,829)
UNION
  SELECT a9 FROM t9
   WHERE c9 in (662,419,253,257,711)
      OR (d9=161 AND c9=515 AND e9=368)
      OR a9 in (389,251,559,821,318)
EXCEPT
  SELECT d4 FROM t4
   WHERE NOT ((637=a4 AND e4=377 AND 293=c4 AND 264=d4)
           OR (d4=950 OR 892=b4)
           OR (d4=929))
UNION
  SELECT a7 FROM t7
   WHERE (341=d7)
      OR a7 in (921,325,85,879)
      OR b7 in (973,273,820,832,191,220,913)

query T valuesort
  SELECT c8 FROM t8
   WHERE (c8=418 OR b8=725)
      OR (c8=866)
      OR a8 in (794,838,913,66,259,443,254,864,388,900,923,579)
EXCEPT
  SELECT c6 FROM t6
   WHERE NOT ((431=e6)
           OR (664=d6))
EXCEPT
  SELECT c7 FROM t7
   WHERE NOT ((a7=863 OR 9=a7 OR 862=e7)
           OR (b7=263 OR 301=e7))
EXCEPT
  SELECT d3 FROM t3
   WHERE NOT ((608=a3 AND 46=d3))
UNION ALL
  SELECT d4 FROM t4
   WHERE b4 in (402,624,608,903,551,76,387,331,884,577,33,810)
      OR (e4=123 AND c4=723)
EXCEPT
  SELECT e2 FROM t2
   WHERE NOT ((233=d2 AND 253=a2))
UNION ALL
  SELECT b9 FROM t9
   WHERE c9 in (278,90,515)

query T valuesort
  SELECT e9 FROM t9
   WHERE (133=e9 OR a9=28)
UNION ALL
  SELECT b6 FROM t6
   WHERE (706=a6 OR 585=a6)
      OR e6 in (395,601,286,324,617,915,40,678)
EXCEPT
  SELECT e5 FROM t5
   WHERE NOT ((a5=99 AND 799=c5 AND e5=9)
           OR (a5=163 OR e5=342))

query T valuesort
  SELECT e2 FROM t2
   WHERE a2 in (315,80,64,853,139,944,374)
      OR (891=a2 AND d2=813)
UNION ALL
  SELECT d4 FROM t4
   WHERE c4 in (238,993,273)
EXCEPT
  SELECT b3 FROM t3
   WHERE NOT ((d3=109 OR c3=338 OR d3=871)
           OR (464=e3 OR d3=886 OR 324=c3))
UNION
  SELECT c7 FROM t7
   WHERE (976=e7 AND c7=249 AND d7=590 AND a7=876)

query T valuesort
  SELECT a9 FROM t9
   WHERE (c9=569 OR 575=c9)
      OR b9 in (2,423,118,178,803,827,379,855,456)
EXCEPT
  SELECT b8 FROM t8
   WHERE NOT ((c8=431 AND e8=223 AND d8=116 AND 239=a8)
           OR (d8=511)
           OR (b8=773 AND 767=d8 AND c8=647))
EXCEPT
  SELECT c5 FROM t5
   WHERE NOT (b5 in (858,874,716,942,231)
           OR (d5=69))
UNION
  SELECT d7 FROM t7
   WHERE e7 in (436,215,27,439,319,971,979)
UNION ALL
  SELECT b2 FROM t2
   WHERE (925=c2 AND 152=d2)
UNION
  SELECT c6 FROM t6
   WHERE (554=e6 OR c6=146)
      OR (e6=74 OR d6=453 OR 768=c6)
EXCEPT
  SELECT d1 FROM t1
   WHERE NOT ((c1=246 OR 237=a1 OR 717=e1))

query T valuesort
  SELECT e6 FROM t6
   WHERE b6 in (834,390,300,290,378,6,507,923,662)
      OR (367=d6 OR 811=a6 OR 601=b6)
UNION ALL
  SELECT e9 FROM t9
   WHERE c9 in (253,526,146,349,843,278,95,739,764,323,39,87,224)

query T valuesort
  SELECT c9 FROM t9
   WHERE e9 in (383,687,426,619,704,418,477,251,713)
      OR c9 in (836,187,809,110,992,884,240,767,62)
      OR e9 in (82,19,218,486,19,854,445,873,954,195,30)
EXCEPT
  SELECT b1 FROM t1
   WHERE NOT ((75=b1 OR b1=115)
           OR (736=b1 OR c1=703))
EXCEPT
  SELECT a4 FROM t4
   WHERE NOT ((c4=424 OR 217=e4)
           OR (987=d4 AND 357=b4)
           OR (276=b4 AND 273=c4 AND d4=997 AND 373=a4))
UNION
  SELECT c5 FROM t5
   WHERE (a5=362 OR 338=b5)

query T valuesort
  SELECT e2 FROM t2
   WHERE c2 in (933,333,233,160,925,46,512,830,692,182,61)
      OR (c2=411 OR 691=a2 OR 813=d2)
      OR (e2=820 OR b2=317)
UNION ALL
  SELECT b7 FROM t7
   WHERE (428=e7)
      OR (e7=156 AND 192=b7)
EXCEPT
  SELECT b8 FROM t8
   WHERE NOT ((b8=34)
           OR b8 in (984,394,52,352,792,145,7)
           OR (472=a8 AND c8=375 AND e8=349))
UNION
  SELECT c4 FROM t4
   WHERE (c4=319 AND a4=513 AND e4=677)
UNION
  SELECT e3 FROM t3
   WHERE (594=a3)
      OR (c3=800 OR e3=25 OR 850=d3)
      OR (876=e3 AND 577=b3 AND a3=181 AND c3=492)
EXCEPT
  SELECT d1 FROM t1
   WHERE NOT ((246=c1 OR b1=572 OR d1=17)
           OR (275=d1 AND 871=c1 AND 49=b1 AND e1=146 AND a1=371)
           OR (281=b1 OR b1=836 OR d1=874))
EXCEPT
  SELECT e5 FROM t5
   WHERE NOT (c5 in (766,696,915,196,825,797,733)
           OR (e5=554 OR d5=413 OR b5=389))

query T valuesort
  SELECT b8 FROM t8
   WHERE a8 in (210,406,869,474,127,822,826,963,957,894,920,386)
      OR e8 in (488,942,586,273,833,455,203,729,296,495,904)
EXCEPT
  SELECT c1 FROM t1
   WHERE NOT (a1 in (746,825,505,352,525,738,607,864,821,363,460,953,330,776)
           OR (a1=352 AND 816=e1 AND b1=523 AND d1=87 AND c1=458))
UNION ALL
  SELECT b4 FROM t4
   WHERE (b4=903 OR b4=593)
      OR (491=d4 OR c4=0)
UNION ALL
  SELECT e3 FROM t3
   WHERE b3 in (350,381,273,58,783,152,266,382,860,321,761,482,41)
UNION ALL
  SELECT b9 FROM t9
   WHERE b9 in (900,64,342,66,827,446,525,746)
      OR (86=d9 AND c9=526 AND e9=934)
      OR (e9=19)
EXCEPT
  SELECT a5 FROM t5
   WHERE NOT ((225=e5)
           OR c5 in (927,348,514))

query T valuesort
  SELECT c2 FROM t2
   WHERE c2 in (65,150,87,894,127,511,964,728,292,688,823)
      OR (b2=799)
      OR (564=e2)
UNION ALL
  SELECT a9 FROM t9
   WHERE b9 in (178,936,301,289,827,149,16,612,122,171,77,913,170)
      OR (291=e9 OR b9=19)
      OR e9 in (804,841,575)
UNION ALL
  SELECT d5 FROM t5
   WHERE (e5=697 AND 186=b5 AND d5=114 AND a5=832 AND c5=734)
      OR (99=a5 AND 321=b5)
      OR (104=e5 OR 851=a5 OR b5=320)
EXCEPT
  SELECT e8 FROM t8
   WHERE NOT ((796=b8)
           OR (725=b8))
EXCEPT
  SELECT e6 FROM t6
   WHERE NOT ((d6=956 OR d6=778 OR a6=46))
EXCEPT
  SELECT c4 FROM t4
   WHERE NOT ((d4=522 AND a4=448 AND 295=b4 AND 860=c4 AND e4=35)
           OR b4 in (288,434,607,271,924,68,925,982))

query T valuesort
  SELECT b3 FROM t3
   WHERE e3 in (914,728,470,896,651,892,592,145,449,120,823,341,837)
UNION
  SELECT c9 FROM t9
   WHERE c9 in (64,857,711)
      OR (a9=463)

query T valuesort
  SELECT e3 FROM t3
   WHERE (d3=726 AND 871=e3 AND c3=29 AND 198=a3)
      OR (467=e3 AND d3=115 AND 407=b3)
      OR e3 in (848,239,818,596,829,913,913,821,593,467,7,846,319)
UNION
  SELECT a8 FROM t8
   WHERE (d8=845 OR 119=c8 OR c8=541)

query T valuesort
  SELECT c6 FROM t6
   WHERE (287=c6 AND 962=b6 AND 185=d6 AND a6=604)
      OR (761=e6 AND 21=d6)
      OR (297=c6)
EXCEPT
  SELECT a9 FROM t9
   WHERE NOT ((678=d9 OR 936=c9 OR e9=263)
           OR (240=a9)
           OR (b9=783 OR 783=b9 OR 258=a9))
UNION
  SELECT c7 FROM t7
   WHERE d7 in (139,620,114,367,324,364)
UNION
  SELECT c5 FROM t5
   WHERE (e5=708 OR d5=557)
      OR (554=e5 AND 492=d5 AND 332=a5 AND b5=161 AND 756=c5)
      OR (b5=391 OR e5=586)

query T valuesort
  SELECT a2 FROM t2
   WHERE (433=e2 OR 228=e2 OR 415=a2)
EXCEPT
  SELECT e1 FROM t1
   WHERE NOT ((d1=899))
UNION
  SELECT e5 FROM t5
   WHERE (147=c5 OR 924=c5)
      OR (c5=149 OR 480=d5 OR 9=e5)
UNION
  SELECT c8 FROM t8
   WHERE a8 in (239,259,561,578,954,306)
      OR (287=b8 OR d8=456)
      OR (333=e8)
EXCEPT
  SELECT c6 FROM t6
   WHERE NOT ((d6=197 AND c6=328 AND 861=a6 AND 274=e6))

query T valuesort
  SELECT b9 FROM t9
   WHERE (c9=60 AND 907=a9 AND d9=164 AND e9=245)
INTERSECT
  SELECT b5 FROM t5
   WHERE NOT (c5 in (625,756,3,797,514,805,101,44,299,443))
EXCEPT
  SELECT e8 FROM t8
   WHERE NOT ((a8=894 AND c8=93 AND b8=952)
           OR (994=a8)
           OR (179=e8))
UNION ALL
  SELECT d3 FROM t3
   WHERE (b3=505 OR 378=a3)
      OR (187=e3)
      OR (b3=236 AND a3=971)
EXCEPT
  SELECT c6 FROM t6
   WHERE NOT (d6 in (21,256,366,376,970,778,197,36,674,151,729,931)
           OR (a6=731)
           OR (797=d6 AND 739=b6 AND 706=a6))
UNION ALL
  SELECT a4 FROM t4
   WHERE (592=e4 AND b4=708 AND 107=a4)
      OR (408=a4 OR 738=e4 OR d4=881)
      OR a4 in (105,74,804,708,16,355)

query T valuesort
  SELECT d4 FROM t4
   WHERE b4 in (877,551,635,94,184,319,608)
EXCEPT
  SELECT e3 FROM t3
   WHERE NOT ((d3=487)
           OR c3 in (83,826,809,792,885,395,701))

query T valuesort
  SELECT b4 FROM t4
   WHERE (574=d4 AND c4=998 AND e4=554 AND a4=606)
EXCEPT
  SELECT a5 FROM t5
   WHERE NOT ((634=c5 AND e5=13)
           OR b5 in (531,878,685,183,389,159,506,234,717))
UNION ALL
  SELECT a8 FROM t8
   WHERE (c8=113)
      OR (627=d8 AND e8=579)
      OR (461=c8)
EXCEPT
  SELECT b2 FROM t2
   WHERE NOT (c2 in (202,582,887,292,779,773,140,360,312,823,318,830,290,907)
           OR (d2=19)
           OR (725=b2))
UNION ALL
  SELECT a1 FROM t1
   WHERE (35=d1 AND a1=76)
UNION ALL
  SELECT e7 FROM t7
   WHERE (548=c7 OR d7=199 OR d7=892)

query T valuesort
  SELECT d9 FROM t9
   WHERE (b9=251)
UNION
  SELECT d1 FROM t1
   WHERE (416=d1 AND 152=c1)
      OR c1 in (898,48,629,788,230,681,343,570,955,548,980,88,774)
UNION ALL
  SELECT c4 FROM t4
   WHERE (a4=825)
UNION ALL
  SELECT e6 FROM t6
   WHERE (c6=648)
      OR (274=e6)

query T valuesort
  SELECT d2 FROM t2
   WHERE (c2=830 AND 418=b2 AND d2=547 AND 671=e2)
      OR (499=e2 OR 902=c2 OR d2=373)
      OR c2 in (933,292,275,981,290,251,123,512,992,141,854)
INTERSECT
  SELECT c8 FROM t8
   WHERE NOT (c8 in (692,100,260,461,901,427,166,907,88,998,690,419,32,381))
INTERSECT
  SELECT e6 FROM t6
   WHERE NOT (d6 in (956,729,674)
           OR (b6=782 OR 60=d6 OR 67=e6))
UNION ALL
  SELECT c9 FROM t9
   WHERE (e9=195 AND c9=254 AND 959=d9 AND 28=a9 AND b9=348)

query T valuesort
  SELECT a8 FROM t8
   WHERE e8 in (608,455,579,678,469,149,592,972,56,579)
INTERSECT
  SELECT e9 FROM t9
   WHERE NOT ((746=b9 OR a9=972 OR 686=d9))

query T valuesort
  SELECT a8 FROM t8
   WHERE (88=c8)
      OR (459=b8 OR 642=b8 OR d8=2)
      OR (c8=935 OR 56=e8)
UNION ALL
  SELECT a2 FROM t2
   WHERE (525=d2 OR 733=a2 OR 404=d2)
      OR (964=c2)
EXCEPT
  SELECT c6 FROM t6
   WHERE NOT ((66=a6 AND 123=c6 AND 734=d6 AND e6=554 AND 449=b6)
           OR e6 in (329,617,622,816,353,489,360,550,237)
           OR (d6=36 AND 764=a6 AND 44=b6 AND 668=e6))
EXCEPT
  SELECT e1 FROM t1
   WHERE NOT (b1 in (255,295,645,211,853,981,404,242,674,113,468,862,346,384)
           OR (953=a1))
UNION ALL
  SELECT b7 FROM t7
   WHERE (131=d7 AND b7=175 AND 452=a7)
      OR (c7=441 AND 998=a7)
      OR e7 in (595,31,31,302,827,79)
EXCEPT
  SELECT b4 FROM t4
   WHERE NOT ((563=b4 OR 767=c4 OR 665=d4))
EXCEPT
  SELECT d3 FROM t3
   WHERE NOT ((b3=127 OR 947=a3 OR b3=159)
           OR (b3=302 AND d3=913))

query T valuesort
  SELECT d1 FROM t1
   WHERE a1 in (492,231,460,479,195,895,862,314,981,222)
EXCEPT
  SELECT c3 FROM t3
   WHERE NOT ((811=b3)
           OR (600=c3 OR e3=914 OR 310=e3)
           OR (e3=765 OR 467=c3 OR 321=b3))

query T valuesort
  SELECT b8 FROM t8
   WHERE (c8=427 AND 610=d8 AND 487=b8 AND a8=359 AND e8=242)
EXCEPT
  SELECT a2 FROM t2
   WHERE NOT ((775=a2 OR 126=d2 OR c2=83))
EXCEPT
  SELECT a3 FROM t3
   WHERE NOT (a3 in (499,899,129,255,186,12,335,608,727)
           OR (b3=27 OR 340=b3))
UNION ALL
  SELECT a6 FROM t6
   WHERE (415=c6 AND d6=846 AND b6=993 AND 601=e6 AND a6=414)
EXCEPT
  SELECT c7 FROM t7
   WHERE NOT (b7 in (867,996,913,837,717,859,832,340,878,693,583,266,455)
           OR e7 in (215,918,31,27,562)
           OR b7 in (340,266,679,517,166,996,488,159,424,42))
UNION ALL
  SELECT e9 FROM t9
   WHERE (526=c9 AND e9=934 AND 14=a9)
EXCEPT
  SELECT e4 FROM t4
   WHERE NOT ((c4=783 AND 163=e4 AND b4=603))
EXCEPT
  SELECT c5 FROM t5
   WHERE NOT ((685=d5))

query T valuesort
  SELECT e8 FROM t8
   WHERE (c8=119 OR 984=b8 OR 9=b8)
      OR (c8=534 AND 540=b8 AND a8=869 AND 422=e8)
EXCEPT
  SELECT b4 FROM t4
   WHERE NOT (c4 in (840,667,536,0,403,274,319)
           OR (b4=243 OR 958=e4))
UNION
  SELECT e1 FROM t1
   WHERE (c1=296 OR d1=223)
      OR e1 in (688,628,254,815,90,763,442,956,313,381)
      OR a1 in (61,498,579,371,451)
UNION ALL
  SELECT c3 FROM t3
   WHERE (d3=415 AND e3=163 AND 145=c3 AND 474=b3)
EXCEPT
  SELECT a9 FROM t9
   WHERE NOT ((e9=653 OR a9=905))
UNION ALL
  SELECT d5 FROM t5
   WHERE (c5=18 AND d5=24 AND b5=499)
      OR (747=c5 OR c5=734)
      OR (a5=180 AND 26=b5 AND 485=c5 AND e5=708 AND d5=33)

query T valuesort
  SELECT d5 FROM t5
   WHERE c5 in (960,293,437,696,441,818,598,734)
      OR e5 in (364,906,554,41,894,287)
      OR (c5=155 AND 369=a5 AND 789=d5 AND b5=403)
UNION
  SELECT e8 FROM t8
   WHERE (366=d8)
      OR c8 in (691,789,381,448,160,149,117)
UNION
  SELECT e3 FROM t3
   WHERE d3 in (984,307,168,983)
      OR c3 in (750,800,826,305,524,647,692,592,947)
      OR d3 in (363,950,624,487,708,2)
EXCEPT
  SELECT b1 FROM t1
   WHERE NOT ((a1=538 AND 48=e1 AND c1=289 AND 213=b1)
           OR (538=a1 AND 48=e1 AND c1=289 AND b1=213 AND d1=806)
           OR (805=c1))
EXCEPT
  SELECT b4 FROM t4
   WHERE NOT ((e4=381 AND d4=988 AND 982=a4 AND 581=c4 AND 627=b4))

query T valuesort
  SELECT e3 FROM t3
   WHERE (198=a3 OR a3=478 OR 296=b3)
      OR (186=a3)
UNION
  SELECT a6 FROM t6
   WHERE (901=d6 AND 946=e6)
UNION ALL
  SELECT e4 FROM t4
   WHERE (d4=60 AND e4=565 AND 694=c4 AND a4=210)
      OR d4 in (491,303,628)
UNION
  SELECT c7 FROM t7
   WHERE (191=b7)
      OR (c7=705 AND a7=500)
UNION
  SELECT d8 FROM t8
   WHERE (c8=647 AND 241=a8)
      OR (c8=935)

query T valuesort
  SELECT c8 FROM t8
   WHERE (295=e8 OR d8=805 OR d8=880)
      OR b8 in (862,642,7)
EXCEPT
  SELECT c6 FROM t6
   WHERE NOT ((35=a6 AND 66=c6))
UNION
  SELECT a4 FROM t4
   WHERE (e4=543 OR 854=e4 OR 82=c4)
      OR (c4=39 AND 352=e4)
UNION ALL
  SELECT a3 FROM t3
   WHERE (895=d3 OR a3=895)
UNION
  SELECT b9 FROM t9
   WHERE (744=e9 OR b9=64)

query T valuesort
  SELECT e6 FROM t6
   WHERE d6 in (600,376,493,924,337,467,35,846,223,463,901,613,2)
      OR (d6=778 OR 678=e6)
INTERSECT
  SELECT e1 FROM t1
   WHERE NOT ((e1=355 AND 820=a1 AND d1=492 AND 242=b1 AND c1=309)
           OR (211=b1 OR c1=979 OR c1=230)
           OR d1 in (902,951,691,232,949,799,577,990,586,885,922,275,215))
EXCEPT
  SELECT b9 FROM t9
   WHERE NOT ((19=b9 AND 489=d9 AND 905=a9))
UNION
  SELECT a7 FROM t7
   WHERE (e7=6 OR 183=d7 OR 407=b7)
      OR (288=e7 AND 594=d7 AND 35=a7 AND 764=b7 AND 174=c7)
UNION ALL
  SELECT e3 FROM t3
   WHERE (b3=456)
UNION ALL
  SELECT a5 FROM t5
   WHERE (729=b5)
      OR (b5=321 OR a5=785 OR e5=592)
      OR a5 in (55,190,929,235,334,342,800,667,319,544)
EXCEPT
  SELECT b8 FROM t8
   WHERE NOT ((994=a8 AND e8=495 AND 370=b8 AND 384=d8 AND 298=c8))
EXCEPT
  SELECT c4 FROM t4
   WHERE NOT ((b4=593)
           OR (a4=473)
           OR (713=b4 AND 398=c4 AND e4=512 AND 228=a4))
EXCEPT
  SELECT e2 FROM t2
   WHERE NOT ((925=c2 OR a2=853)
           OR (d2=860 AND e2=73 AND c2=247 AND 245=a2)
           OR (527=b2 OR 495=a2))

query T valuesort
  SELECT c5 FROM t5
   WHERE b5 in (26,784,605,782,559,861,569,609,183,320)
      OR (917=a5 AND 585=e5 AND c5=152 AND d5=437)
      OR (851=a5)
EXCEPT
  SELECT e8 FROM t8
   WHERE NOT ((736=e8 OR b8=366 OR b8=934)
           OR a8 in (129,386,72,113,241)
           OR (427=c8 AND e8=242 AND b8=487))
UNION ALL
  SELECT c9 FROM t9
   WHERE (793=c9 OR 549=b9 OR 240=c9)
UNION
  SELECT d6 FROM t6
   WHERE (643=a6 AND 126=b6 AND d6=600 AND c6=292)
      OR (767=d6)
EXCEPT
  SELECT d2 FROM t2
   WHERE NOT ((444=c2)
           OR (195=d2))
EXCEPT
  SELECT d3 FROM t3
   WHERE NOT (e3 in (249,193,318,457,981,932)
           OR (970=c3 OR a3=614 OR 454=b3)
           OR (c3=375 AND 75=a3 AND b3=272))
EXCEPT
  SELECT b1 FROM t1
   WHERE NOT ((a1=281))

query T valuesort
  SELECT c2 FROM t2
   WHERE (925=e2 AND c2=466 AND b2=599 AND 80=d2)
      OR (179=c2)
      OR a2 in (297,279,508,235)
EXCEPT
  SELECT d9 FROM t9
   WHERE NOT ((b9=214)
           OR (a9=416))
EXCEPT
  SELECT a5 FROM t5
   WHERE NOT ((c5=551 OR 551=c5)
           OR a5 in (485,749,929,817,81,335,536,319,153,114,342,392))
EXCEPT
  SELECT c7 FROM t7
   WHERE NOT ((b7=306 OR e7=844 OR a7=134)
           OR (e7=979 OR 736=a7 OR 635=c7)
           OR (7=e7))
EXCEPT
  SELECT b6 FROM t6
   WHERE NOT ((c6=961))
EXCEPT
  SELECT c8 FROM t8
   WHERE NOT (e8 in (105,561,296)
           OR (250=c8)
           OR (c8=273 AND 553=a8 AND d8=472))
UNION
  SELECT d1 FROM t1
   WHERE (e1=558 AND 69=c1)
      OR (e1=110 OR e1=299 OR 738=a1)

query T valuesort
  SELECT a4 FROM t4
   WHERE a4 in (952,596,793,439,136,625,510,509,160,982,139)
UNION
  SELECT a5 FROM t5
   WHERE (196=a5 OR 369=a5)
      OR b5 in (544,338,951)
EXCEPT
  SELECT a3 FROM t3
   WHERE NOT (e3 in (449,193,731,393,837)
           OR c3 in (555,360,175,701,285,607,490,688,777,476,524,809,467))

query T valuesort
  SELECT a1 FROM t1
   WHERE (805=c1 AND 158=e1 AND a1=637)
      OR e1 in (254,484,298)
UNION
  SELECT c6 FROM t6
   WHERE (424=c6 OR b6=825)
UNION ALL
  SELECT d5 FROM t5
   WHERE (d5=274 OR 661=e5 OR d5=280)

query T valuesort
  SELECT c8 FROM t8
   WHERE c8 in (901,691,419,79,160,899,431,821,230,187)
      OR b8 in (609,741,205,359,702,642,958,102,790,725)
INTERSECT
  SELECT a5 FROM t5
   WHERE NOT ((e5=549 AND d5=940 AND 373=a5 AND 231=b5)
           OR (249=c5 OR d5=779))
EXCEPT
  SELECT a3 FROM t3
   WHERE NOT (c3 in (486,601,492,455,677,809,272,669,326,243)
           OR (c3=220 OR b3=124 OR c3=10)
           OR d3 in (81,913,782,444,981,495,541))
EXCEPT
  SELECT a9 FROM t9
   WHERE NOT (d9 in (878,694,51,305))
UNION ALL
  SELECT a1 FROM t1
   WHERE (e1=11 AND c1=683 AND b1=914)
      OR (685=c1 OR d1=298 OR 427=d1)
      OR (a1=918 OR e1=625)
EXCEPT
  SELECT b4 FROM t4
   WHERE NOT ((b4=603 OR 557=e4))
UNION ALL
  SELECT e7 FROM t7
   WHERE (720=b7 OR 781=b7)
      OR c7 in (103,364,478,257,180,860,98,146,341,944,302,377)
      OR d7 in (457,924,795,325,205,996,105,131,225)
UNION
  SELECT b2 FROM t2
   WHERE (897=b2)
      OR (d2=723 AND 90=b2 AND 137=c2)
      OR d2 in (216,836,86,953,235,317,80,265,2,126,448,46,137)

query T valuesort
  SELECT b6 FROM t6
   WHERE (e6=840)
      OR (2=a6 OR 967=b6)
INTERSECT
  SELECT e9 FROM t9
   WHERE NOT (c9 in (534,687,101,402,224,39,118,955,732,327,639,252)
           OR c9 in (146,923,252,767,526,101))
EXCEPT
  SELECT b5 FROM t5
   WHERE NOT ((526=b5))
EXCEPT
  SELECT b3 FROM t3
   WHERE NOT ((c3=477)
           OR (860=c3 AND e3=467)
           OR (863=c3))
UNION
  SELECT a4 FROM t4
   WHERE (816=b4 AND 953=d4 AND 510=a4 AND e4=415)
      OR c4 in (936,433,345,299,127,984,660,993,403)
      OR c4 in (127,948,728,791,971,794,178,357,712,508,674,768,366)
UNION ALL
  SELECT c1 FROM t1
   WHERE (897=e1 AND 701=d1 AND 350=b1 AND a1=736 AND 175=c1)
      OR (237=a1 OR 685=e1 OR 4=a1)
UNION
  SELECT b7 FROM t7
   WHERE (b7=129 OR c7=174)
      OR (561=e7 OR b7=407)
UNION ALL
  SELECT b2 FROM t2
   WHERE (706=e2)
      OR e2 in (427,940,294,117,812,434,654,524)
      OR (775=a2 AND 750=d2 AND 46=c2 AND 899=e2 AND b2=545)

query T valuesort
  SELECT a9 FROM t9
   WHERE (e9=239 OR a9=104 OR 463=a9)
      OR (487=c9)
UNION ALL
  SELECT d6 FROM t6
   WHERE (d6=581 OR 424=d6)
      OR (e6=353)
EXCEPT
  SELECT d2 FROM t2
   WHERE NOT ((b2=932 AND a2=457 AND e2=560 AND 663=d2 AND 346=c2))
EXCEPT
  SELECT d8 FROM t8
   WHERE NOT ((d8=327 AND b8=325 AND 792=e8))
EXCEPT
  SELECT e5 FROM t5
   WHERE NOT ((e5=130 AND 238=d5))
EXCEPT
  SELECT e4 FROM t4
   WHERE NOT ((d4=626 OR 605=a4 OR d4=441)
           OR a4 in (602,105,505,968,723,606,847,662,756))
UNION
  SELECT e7 FROM t7
   WHERE (b7=660 OR a7=709)
      OR a7 in (288,87,439,452,35,894)

query T valuesort
  SELECT e1 FROM t1
   WHERE d1 in (154,726,130,315,701,837,519,187,4,508)
UNION ALL
  SELECT c6 FROM t6
   WHERE (a6=255 OR 847=e6)
      OR (154=e6)
UNION ALL
  SELECT c7 FROM t7
   WHERE (a7=325 OR c7=729)
      OR (d7=781 AND 709=c7 AND a7=62 AND 660=b7)
      OR (b7=868)
UNION ALL
  SELECT d4 FROM t4
   WHERE (449=d4)
UNION ALL
  SELECT d8 FROM t8
   WHERE (c8=762 AND d8=761)
      OR (253=b8)

query T valuesort
  SELECT d9 FROM t9
   WHERE (792=e9 AND b9=832)
INTERSECT
  SELECT c1 FROM t1
   WHERE NOT (d1 in (212,47,550)
           OR (b1=828))
UNION
  SELECT c3 FROM t3
   WHERE (490=c3 AND 254=e3 AND a3=651 AND 710=b3 AND 841=d3)
      OR (850=d3 AND 159=b3 AND a3=364 AND e3=466)
UNION ALL
  SELECT e8 FROM t8
   WHERE (d8=486)
EXCEPT
  SELECT a6 FROM t6
   WHERE NOT ((e6=489 OR 355=a6)
           OR e6 in (139,682,794,241,74,286,5,554,237,95,673,816,360)
           OR (c6=615 OR b6=716 OR c6=637))
EXCEPT
  SELECT b7 FROM t7
   WHERE NOT ((a7=912 OR 154=e7))
EXCEPT
  SELECT b4 FROM t4
   WHERE NOT ((439=a4)
           OR (e4=600 OR 398=c4))

query T valuesort
  SELECT a8 FROM t8
   WHERE (821=c8 OR c8=419 OR d8=814)
EXCEPT
  SELECT e1 FROM t1
   WHERE NOT (d1 in (154,806,86))
UNION ALL
  SELECT a2 FROM t2
   WHERE (a2=91 OR 244=c2)
      OR (c2=22 OR c2=179)
      OR b2 in (676,857,776,414,819,380,217,599,903,442,317,220,635,784)
UNION
  SELECT c6 FROM t6
   WHERE (225=e6 OR b6=963 OR 861=a6)
      OR c6 in (534,399,12,807,528,528)
EXCEPT
  SELECT d5 FROM t5
   WHERE NOT (d5 in (814,24,520,691,667,413,858)
           OR (b5=860 OR 485=a5))
EXCEPT
  SELECT b9 FROM t9
   WHERE NOT ((391=c9)
           OR (c9=171 OR 907=a9)
           OR (e9=723))
UNION ALL
  SELECT e3 FROM t3
   WHERE d3 in (109,850,984,270,364,399,988,635,603,607,487)
UNION
  SELECT d4 FROM t4
   WHERE (167=b4 OR 951=e4 OR a4=598)
      OR (637=a4 AND 264=d4 AND 293=c4 AND e4=377)
      OR (d4=449 AND e4=480 AND 170=a4)

query T valuesort
  SELECT b6 FROM t6
   WHERE (e6=585 OR 424=d6)
      OR e6 in (469,225,574)
UNION ALL
  SELECT a8 FROM t8
   WHERE (815=d8 AND c8=160 AND e8=431 AND 934=b8)
EXCEPT
  SELECT d3 FROM t3
   WHERE NOT ((882=b3)
           OR (b3=339 AND c3=435))
EXCEPT
  SELECT e9 FROM t9
   WHERE NOT ((c9=751 AND 378=a9)
           OR (e9=301)
           OR (c9=240))
EXCEPT
  SELECT e1 FROM t1
   WHERE NOT ((a1=707 AND 117=e1 AND 880=c1 AND d1=130 AND b1=113)
           OR e1 in (152,558,546,299,161,695,313,558,268))

query T valuesort
  SELECT c8 FROM t8
   WHERE (283=c8 AND 961=a8)
      OR (730=c8 AND e8=296 AND a8=963 AND 525=d8)
INTERSECT
  SELECT a5 FROM t5
   WHERE NOT ((634=d5 OR b5=784 OR 117=d5)
           OR (c5=250))
UNION ALL
  SELECT a1 FROM t1
   WHERE c1 in (776,636,272,390,955,765,230,259,208,915,309,880)
      OR (879=a1 AND 553=c1 AND d1=519 AND 254=e1 AND b1=37)
      OR (207=c1 AND b1=862)
UNION
  SELECT a4 FROM t4
   WHERE a4 in (412,210,281,747,540,948,260,450)
      OR (e4=879 AND b4=901 AND 598=a4 AND 260=d4 AND 585=c4)
      OR e4 in (592,48,575,554,954,237,324,381,184,931,486)
EXCEPT
  SELECT d7 FROM t7
   WHERE NOT (a7 in (89,439,592,433,277,925,706,267,325,950,894)
           OR (e7=929 OR d7=212)
           OR (a7=709))

query T valuesort
  SELECT d8 FROM t8
   WHERE (b8=405 AND 5=a8)
      OR a8 in (855,210,417,848,514,388,250,327)
      OR (397=b8 OR 656=c8)
UNION ALL
  SELECT c5 FROM t5
   WHERE (b5=143 AND d5=769)
      OR d5 in (369,883,361,412,855,685,738,910)
      OR (e5=697 OR a5=485 OR b5=506)
UNION ALL
  SELECT a7 FROM t7
   WHERE (b7=996 AND 280=e7 AND a7=894)
      OR (232=c7 OR 720=b7 OR d7=397)
EXCEPT
  SELECT a3 FROM t3
   WHERE NOT (c3 in (592,53,317,10,887))

query T valuesort
  SELECT b6 FROM t6
   WHERE (b6=782 AND e6=969 AND 801=a6 AND 258=c6)
      OR c6 in (673,295,146,122,399,187,415,430,416,35,287,928)
      OR (a6=293 AND e6=237)
UNION
  SELECT c1 FROM t1
   WHERE (636=c1)
EXCEPT
  SELECT b5 FROM t5
   WHERE NOT ((d5=521))
UNION ALL
  SELECT a2 FROM t2
   WHERE d2 in (367,351,79,60)
      OR (e2=213 OR e2=579)
EXCEPT
  SELECT c4 FROM t4
   WHERE NOT (a4 in (746,423,602,804,136,16,857,451,448,540,271,950,513,447)
           OR (d4=657 OR 139=a4))
EXCEPT
  SELECT e9 FROM t9
   WHERE NOT (a9 in (365,847,269,435,811,776,78,685,474,463))

query T valuesort
  SELECT b3 FROM t3
   WHERE e3 in (169,552,145,341,959,303,836)
      OR (e3=138 OR 584=c3)
      OR (c3=600 OR b3=198)
EXCEPT
  SELECT d2 FROM t2
   WHERE NOT ((512=c2)
           OR (663=d2 OR b2=799))
UNION ALL
  SELECT b4 FROM t4
   WHERE c4 in (513,854,301,271,585,728,398,489,536,660,927)
EXCEPT
  SELECT a7 FROM t7
   WHERE NOT ((e7=184 OR b7=717 OR 715=a7)
           OR (d7=785 OR c7=341 OR 903=e7))
UNION
  SELECT c9 FROM t9
   WHERE (847=a9 AND c9=884 AND e9=149)
UNION
  SELECT d5 FROM t5
   WHERE (718=e5 OR 514=a5)

query T valuesort
  SELECT a2 FROM t2
   WHERE (315=d2 OR 674=b2)
UNION
  SELECT a8 FROM t8
   WHERE (482=d8)
      OR (579=e8)
UNION
  SELECT d7 FROM t7
   WHERE (d7=785 OR 426=b7)
      OR c7 in (860,523,94)
      OR (282=e7 OR 455=e7 OR b7=924)
UNION
  SELECT a6 FROM t6
   WHERE (d6=60)
      OR b6 in (449,782,604,300,601,507,993,834)
      OR c6 in (292,561,942,411,295,369)
UNION
  SELECT b9 FROM t9
   WHERE (370=c9 AND 899=d9 AND 117=e9 AND a9=72)
      OR (370=c9 AND 72=a9 AND e9=117)
EXCEPT
  SELECT e5 FROM t5
   WHERE NOT ((e5=708 AND 33=d5 AND 26=b5 AND a5=180 AND 485=c5)
           OR (d5=492 AND 554=e5 AND c5=756 AND a5=332 AND b5=161))
UNION
  SELECT b1 FROM t1
   WHERE (b1=281 AND d1=221)
      OR d1 in (234,349,416,130,748,105,571,492,626,467,335,807,87)
UNION ALL
  SELECT c4 FROM t4
   WHERE (234=a4 OR 931=e4)
UNION ALL
  SELECT d3 FROM t3
   WHERE a3 in (899,559,549,727,822,594,190,218,42,344)

query T valuesort
  SELECT b2 FROM t2
   WHERE (788=e2)
UNION
  SELECT b3 FROM t3
   WHERE (668=c3 AND d3=913 AND 375=e3 AND 57=b3 AND a3=190)
      OR (482=b3 AND c3=299)
UNION
  SELECT d7 FROM t7
   WHERE c7 in (257,931,585,14,174)
      OR d7 in (199,925,891,105,526,549,671,94,485,395,687,817)
UNION ALL
  SELECT c6 FROM t6
   WHERE (378=b6)
      OR e6 in (711,329,523,431,678,816,6,682,14,417,211,274,809,90)
EXCEPT
  SELECT e9 FROM t9
   WHERE NOT ((239=e9)
           OR (240=a9 AND c9=232 AND d9=283)
           OR (e9=575 OR a9=891 OR c9=547))
UNION
  SELECT b5 FROM t5
   WHERE b5 in (559,569,878,506,338,502)
      OR (727=e5 AND 185=c5 AND a5=190)
EXCEPT
  SELECT b1 FROM t1
   WHERE NOT ((e1=355 AND 242=b1 AND d1=492 AND c1=309))
UNION
  SELECT e8 FROM t8
   WHERE (469=b8 AND 844=c8)
      OR (a8=312 OR c8=160 OR 661=a8)
EXCEPT
  SELECT b4 FROM t4
   WHERE NOT (c4 in (271,690,153,658,619,948,936,119)
           OR d4 in (498,680,781,197,820,229,100,303,989,199,356)
           OR (580=a4 OR 0=c4))

query T valuesort
  SELECT d7 FROM t7
   WHERE (b7=426 OR 954=c7)
      OR (a7=452 AND e7=89 AND 599=d7 AND b7=24)
UNION ALL
  SELECT d6 FROM t6
   WHERE (590=d6 AND 601=b6)
EXCEPT
  SELECT c5 FROM t5
   WHERE NOT ((e5=188 OR c5=422)
           OR d5 in (282,280,634,858,401))
UNION
  SELECT a1 FROM t1
   WHERE d1 in (18,221,315,972,86,504,407,550)
      OR a1 in (195,637,678)
      OR e1 in (696,763,904,52,442,685)
UNION
  SELECT e4 FROM t4
   WHERE (b4=635)
      OR (d4=680)
UNION ALL
  SELECT a2 FROM t2
   WHERE e2 in (953,535,118,965,655,242,671)
      OR (e2=554 AND d2=152 AND a2=564)
      OR (220=c2 AND 306=d2 AND b2=819 AND a2=796)
EXCEPT
  SELECT e8 FROM t8
   WHERE NOT ((656=c8)
           OR c8 in (299,599,513,534,427,908,354,321,901,61,851,32)
           OR (e8=392))
UNION ALL
  SELECT d3 FROM t3
   WHERE (c3=701 AND e3=892 AND 935=a3 AND b3=58)
      OR (e3=807)

query T valuesort
  SELECT d3 FROM t3
   WHERE (d3=184 AND e3=854 AND c3=326)
      OR (b3=382 AND 30=a3)
EXCEPT
  SELECT e9 FROM t9
   WHERE NOT (b9 in (818,891,262,746,214,170,326,819,803,15,926))
UNION ALL
  SELECT e8 FROM t8
   WHERE (229=c8 OR e8=548 OR 578=e8)
      OR d8 in (210,637,845,738,833,610,899,835,756,482)
      OR e8 in (204,955,893,866)
UNION ALL
  SELECT b4 FROM t4
   WHERE (931=e4 AND d4=306)
EXCEPT
  SELECT d7 FROM t7
   WHERE NOT ((c7=606))
UNION
  SELECT e2 FROM t2
   WHERE (e2=427)
      OR (682=e2 OR 765=b2)
EXCEPT
  SELECT e1 FROM t1
   WHERE NOT ((904=e1))
EXCEPT
  SELECT a6 FROM t6
   WHERE NOT ((b6=511 AND a6=522 AND 822=d6 AND 5=e6 AND c6=177)
           OR b6 in (604,915,781)
           OR (a6=45 OR c6=135))

query T valuesort
  SELECT a3 FROM t3
   WHERE (73=b3 OR 363=d3 OR d3=361)
INTERSECT
  SELECT e8 FROM t8
   WHERE NOT (a8 in (417,242,579,661,66,822,259))
UNION
  SELECT b9 FROM t9
   WHERE (274=d9)
UNION
  SELECT a5 FROM t5
   WHERE (c5=147 AND d5=616 AND 904=a5 AND e5=188)
      OR b5 in (260,942,569,403,391,855,484,989,82)
      OR (e5=187)
EXCEPT
  SELECT b6 FROM t6
   WHERE NOT ((572=a6)
           OR (348=b6 AND d6=488 AND a6=35)
           OR c6 in (807,490,480))
UNION
  SELECT a4 FROM t4
   WHERE (e4=790 AND c4=274 AND b4=289 AND a4=793 AND 166=d4)
UNION
  SELECT c2 FROM t2
   WHERE (728=c2)

query T valuesort
  SELECT a4 FROM t4
   WHERE (509=a4 AND 725=c4 AND b4=434 AND 31=d4)
      OR (a4=981 OR d4=950 OR d4=889)
UNION
  SELECT a9 FROM t9
   WHERE (295=a9 AND e9=575 AND c9=739 AND b9=103 AND 525=d9)
      OR (841=a9)
UNION
  SELECT e7 FROM t7
   WHERE (d7=492 OR c7=557 OR 134=a7)
UNION
  SELECT b8 FROM t8
   WHERE (947=e8 AND b8=228)
      OR (d8=761 OR d8=683)
UNION ALL
  SELECT c3 FROM t3
   WHERE (806=c3 OR 494=c3 OR 777=c3)
      OR (c3=7 OR b3=146)
      OR b3 in (779,214,211,549,70,665)
UNION ALL
  SELECT d1 FROM t1
   WHERE a1 in (395,525,538,23,52,629,552,776,88,847)
      OR (c1=272)
      OR (695=e1)
EXCEPT
  SELECT b6 FROM t6
   WHERE NOT ((798=e6 OR 910=c6 OR 834=b6)
           OR (436=a6 AND d6=613 AND 24=e6)
           OR (384=a6 AND e6=840 AND 192=d6))
EXCEPT
  SELECT a2 FROM t2
   WHERE NOT ((a2=910)
           OR a2 in (189,324,209,680,773,664,371,901,691,669,336))
UNION
  SELECT a5 FROM t5
   WHERE d5 in (1,98,847,841,69,772,271,437)
      OR (b5=685 AND 101=c5 AND 1=d5)
      OR (d5=856 OR b5=143)

query T valuesort
  SELECT d9 FROM t9
   WHERE (549=b9 AND a9=764 AND 515=c9)
      OR (127=b9 OR e9=854 OR e9=133)
UNION
  SELECT b5 FROM t5
   WHERE (155=e5 OR 599=c5)
EXCEPT
  SELECT b6 FROM t6
   WHERE NOT ((67=e6)
           OR (a6=966 AND c6=807 AND e6=847 AND b6=276 AND d6=911)
           OR (683=a6))

query T valuesort
  SELECT b7 FROM t7
   WHERE (855=c7 OR c7=482)
INTERSECT
  SELECT b2 FROM t2
   WHERE NOT ((c2=509 AND 981=e2 AND 546=d2 AND 505=a2 AND b2=888)
           OR (b2=634 OR 40=e2))
INTERSECT
  SELECT c3 FROM t3
   WHERE NOT ((d3=729)
           OR (979=a3))
INTERSECT
  SELECT b4 FROM t4
   WHERE NOT (c4 in (513,44,451,84,403,936)
           OR (177=c4 OR 536=c4))
EXCEPT
  SELECT e1 FROM t1
   WHERE NOT ((b1=853 AND 762=c1 AND 113=e1)
           OR (b1=525 OR 414=b1)
           OR (86=d1 AND 872=e1 AND 173=a1 AND 675=c1 AND b1=523))
UNION ALL
  SELECT e5 FROM t5
   WHERE (943=e5 OR 941=c5)
      OR (c5=734)
UNION ALL
  SELECT b6 FROM t6
   WHERE (396=a6 OR 653=a6)
EXCEPT
  SELECT d8 FROM t8
   WHERE NOT ((b8=963 OR d8=623 OR 124=d8)
           OR d8 in (630,210,756,190,494))
UNION
  SELECT c9 FROM t9
   WHERE d9 in (164,464,95,732,602,305,399,388,965,360)
      OR (d9=23 AND e9=418 AND 151=c9)
      OR a9 in (811,660,148)

query T valuesort
  SELECT d5 FROM t5
   WHERE (e5=150 AND c5=941 AND 326=b5)
      OR (436=e5 OR 470=e5)
      OR (b5=705 AND c5=818)
INTERSECT
  SELECT d3 FROM t3
   WHERE NOT ((813=e3 OR a3=186)
           OR (720=d3 AND e3=393 AND c3=10 AND 12=a3)
           OR (885=c3 AND e3=281 AND a3=218 AND d3=17))
UNION
  SELECT c8 FROM t8
   WHERE (c8=851 OR 770=b8 OR a8=12)
      OR (561=e8)
UNION
  SELECT a6 FROM t6
   WHERE (b6=300 OR b6=834)
      OR (565=b6 OR 846=d6)
      OR a6 in (211,870,764,740,436,452,615,270)

query T valuesort
  SELECT d6 FROM t6
   WHERE (e6=622 OR e6=237 OR 441=c6)
EXCEPT
  SELECT c9 FROM t9
   WHERE NOT ((b9=549 OR 218=a9 OR c9=188))
UNION ALL
  SELECT b1 FROM t1
   WHERE c1 in (230,639,246,12,387,346,852,417,15,966,62,207)
      OR c1 in (343,636,15,620,388,200,629,97,259,458,289,486)
EXCEPT
  SELECT a2 FROM t2
   WHERE NOT ((1=a2)
           OR e2 in (463,629,777))
EXCEPT
  SELECT a5 FROM t5
   WHERE NOT (d5 in (219,480,780,271,565,520,682,685,255)
           OR (b5=56 AND 274=d5 AND 601=c5 AND 817=a5)
           OR (296=a5 AND 198=c5))
UNION ALL
  SELECT d4 FROM t4
   WHERE a4 in (792,746,151,651,509,105,474,580)
EXCEPT
  SELECT b7 FROM t7
   WHERE NOT (c7 in (376,682,954,564,626,280))

query T valuesort
  SELECT d9 FROM t9
   WHERE b9 in (128,348,568,342)
      OR d9 in (608,142,467,732,926,51)
      OR (793=c9 AND b9=211 AND 553=a9 AND d9=878 AND 255=e9)
UNION ALL
  SELECT c8 FROM t8
   WHERE (c8=730)
      OR (422=e8 OR e8=682 OR 205=b8)
UNION
  SELECT e7 FROM t7
   WHERE (982=d7 OR 526=d7)
      OR (d7=765 AND 649=a7 AND b7=813 AND 944=c7)
UNION ALL
  SELECT b2 FROM t2
   WHERE (788=c2)
      OR (927=a2 OR a2=139)
      OR (367=b2)
UNION
  SELECT c5 FROM t5
   WHERE (a5=339 OR 53=a5)
UNION ALL
  SELECT c3 FROM t3
   WHERE (b3=437)
      OR (400=c3)

query T valuesort
  SELECT a1 FROM t1
   WHERE (335=d1 AND c1=12 AND 314=a1)
INTERSECT
  SELECT b2 FROM t2
   WHERE NOT (b2 in (755,532,504,635,276,139))
UNION ALL
  SELECT e4 FROM t4
   WHERE (c4=74)
EXCEPT
  SELECT a7 FROM t7
   WHERE NOT (d7 in (492,399,395,367)
           OR c7 in (807,857,781,98,280,103,548,482,606,575,764,626))
UNION
  SELECT d9 FROM t9
   WHERE a9 in (511,240,215,830)
UNION
  SELECT e6 FROM t6
   WHERE (d6=970 AND b6=144 AND c6=543 AND 1=e6 AND 696=a6)
      OR d6 in (613,991,223,970,924,2,60,197)

query T valuesort
  SELECT c6 FROM t6
   WHERE (430=c6 OR d6=488)
UNION
  SELECT a2 FROM t2
   WHERE (251=c2 AND 749=d2 AND 714=b2)
      OR (894=c2)
      OR (707=e2)
UNION ALL
  SELECT e3 FROM t3
   WHERE (995=a3 AND 833=e3 AND 508=d3)
      OR (c3=272)

query T valuesort
  SELECT e6 FROM t6
   WHERE c6 in (864,424,961,717,34)
      OR (40=e6)
      OR (33=a6 AND c6=961 AND b6=262 AND e6=67 AND 458=d6)
INTERSECT
  SELECT e4 FROM t4
   WHERE NOT ((268=d4))

query T valuesort
  SELECT d6 FROM t6
   WHERE (461=b6 OR 646=e6)
UNION ALL
  SELECT d4 FROM t4
   WHERE e4 in (738,835,885)
UNION ALL
  SELECT d9 FROM t9
   WHERE c9 in (935,391,187,457)
      OR (c9=273)
UNION ALL
  SELECT b1 FROM t1
   WHERE (b1=645 AND 966=c1 AND d1=820)
      OR (c1=204)
UNION ALL
  SELECT d8 FROM t8
   WHERE d8 in (627,953,48,484,525,466,96,542,541,580,50)
      OR (e8=761)
EXCEPT
  SELECT e2 FROM t2
   WHERE NOT ((b2=755 OR e2=16 OR 508=a2)
           OR (c2=27 AND 802=a2 AND 434=e2)
           OR b2 in (819,353,857,181))
EXCEPT
  SELECT e5 FROM t5
   WHERE NOT ((149=c5))
EXCEPT
  SELECT b3 FROM t3
   WHERE NOT ((733=c3)
           OR (b3=127 AND d3=361 AND 232=e3 AND 86=c3)
           OR b3 in (551,166,321,632,350,41,272,827,340))
EXCEPT
  SELECT d7 FROM t7
   WHERE NOT ((462=e7 AND a7=433)
           OR c7 in (887,855,626,145,606))

query T valuesort
  SELECT c2 FROM t2
   WHERE b2 in (818,628,888,640,279,211)
      OR (448=d2 AND c2=878)
EXCEPT
  SELECT b9 FROM t9
   WHERE NOT ((847=a9)
           OR e9 in (954,264,549,854,699,942,383,804,149,255,995)
           OR (60=c9 OR b9=361))
UNION
  SELECT a3 FROM t3
   WHERE (454=b3 OR b3=434)
      OR c3 in (127,823,954)
      OR (833=e3)
EXCEPT
  SELECT e7 FROM t7
   WHERE NOT ((782=d7 OR 408=e7)
           OR b7 in (867,813,679)
           OR c7 in (288,180,249))
UNION
  SELECT b5 FROM t5
   WHERE (261=c5 AND a5=853 AND d5=98 AND e5=561 AND b5=26)

query T valuesort
  SELECT b2 FROM t2
   WHERE b2 in (433,504,217,888,418,968,818,681,161,8,501,181,367,226)
      OR c2 in (449,657,421,141,337,788,773,290)
INTERSECT
  SELECT b8 FROM t8
   WHERE NOT (b8 in (992,459,259,175,790,615,269,878,351,852,34,253,219,9)
           OR (548=e8 AND 705=c8 AND a8=591 AND d8=542 AND b8=992)
           OR (400=a8 AND 6=b8 AND 381=e8 AND 486=c8 AND d8=197))
UNION
  SELECT b9 FROM t9
   WHERE (836=c9 OR b9=759)
UNION ALL
  SELECT a4 FROM t4
   WHERE c4 in (201,675,658,403,119)
      OR (596=e4)
      OR (e4=132)
EXCEPT
  SELECT a1 FROM t1
   WHERE NOT ((696=b1 AND d1=717 AND 117=e1 AND c1=639))
EXCEPT
  SELECT c7 FROM t7
   WHERE NOT ((d7=341 AND 709=a7))

query T valuesort
  SELECT a4 FROM t4
   WHERE b4 in (700,587,480,708,139,713)
      OR (971=c4)
INTERSECT
  SELECT a7 FROM t7
   WHERE NOT ((831=d7 AND e7=488 AND 180=a7 AND c7=725))
UNION ALL
  SELECT b3 FROM t3
   WHERE (b3=124 AND 697=a3 AND e3=7 AND c3=688)
EXCEPT
  SELECT b1 FROM t1
   WHERE NOT ((d1=900 AND b1=420 AND a1=281 AND c1=758))
UNION ALL
  SELECT c2 FROM t2
   WHERE a2 in (505,139,64,651,637)

query T valuesort
  SELECT d2 FROM t2
   WHERE (b2=864)
      OR b2 in (21,60,640,211,504,489,755,509,442,599,605,634,864)
UNION ALL
  SELECT a4 FROM t4
   WHERE (c4=220 AND a4=337 AND b4=917 AND 837=e4)
EXCEPT
  SELECT e6 FROM t6
   WHERE NOT (d6 in (147,489,590,931,974,463,560,223,778,493,956,473,974))
EXCEPT
  SELECT c5 FROM t5
   WHERE NOT ((a5=696 AND c5=649))
EXCEPT
  SELECT c9 FROM t9
   WHERE NOT ((a9=905 OR d9=608 OR d9=682))

query T valuesort
  SELECT c3 FROM t3
   WHERE a3 in (697,190,478,895,197,75,964,476,947,135,822)
      OR (b3=203)
EXCEPT
  SELECT b8 FROM t8
   WHERE NOT (b8 in (755,702,253,105)
           OR (d8=366 OR 869=a8 OR 997=b8)
           OR c8 in (374,93,154,461,250,720,149,229,283,563,647,419,907))
UNION
  SELECT b4 FROM t4
   WHERE (a4=950 OR c4=767 OR d4=373)
      OR (579=b4 OR 977=e4)
      OR (e4=415 AND a4=510 AND 953=d4 AND 319=c4)
EXCEPT
  SELECT b5 FROM t5
   WHERE NOT ((514=c5))
EXCEPT
  SELECT e7 FROM t7
   WHERE NOT (b7 in (804,83,627,506,949,455,827,881,562)
           OR c7 in (564,301,954,906,795,238,344,341)
           OR (303=e7 AND c7=548 AND b7=83 AND 703=a7 AND d7=680))

query T valuesort
  SELECT e8 FROM t8
   WHERE (a8=661 AND e8=955)
      OR e8 in (682,199,38,729,431,46,874,617,180,203)
      OR (341=a8 AND c8=250 AND d8=715)
UNION ALL
  SELECT b7 FROM t7
   WHERE (715=a7 OR a7=325 OR e7=272)
      OR (e7=319 OR a7=416 OR 108=d7)
UNION
  SELECT a9 FROM t9
   WHERE (683=a9 AND 863=c9 AND 591=d9 AND e9=133 AND 16=b9)
      OR (732=c9 OR 575=e9 OR c9=857)
UNION
  SELECT a6 FROM t6
   WHERE (601=b6 OR 405=d6 OR 320=c6)
      OR a6 in (518,45,764)
      OR (c6=609 AND 716=b6)
EXCEPT
  SELECT c3 FROM t3
   WHERE NOT ((135=e3 AND 720=a3 AND b3=295 AND d3=635)
           OR (4=e3 AND c3=353 AND d3=135 AND 576=a3 AND 434=b3)
           OR b3 in (203,295,716,810))
EXCEPT
  SELECT c5 FROM t5
   WHERE NOT ((e5=104 AND 536=a5 AND 579=c5 AND d5=570 AND b5=26)
           OR (716=b5))

query T valuesort
  SELECT d4 FROM t4
   WHERE (b4=2 AND 951=e4 AND c4=936)
      OR (469=b4 OR 568=d4 OR a4=662)
      OR (d4=905 AND 147=e4 AND 387=b4 AND 933=a4)
UNION ALL
  SELECT e8 FROM t8
   WHERE (331=a8)
EXCEPT
  SELECT c7 FROM t7
   WHERE NOT ((526=d7)
           OR c7 in (467,688,243,659,344,441,813,557,38,725,22,508,432,341)
           OR c7 in (146,780,709,966))
UNION
  SELECT c6 FROM t6
   WHERE (d6=467)
      OR b6 in (954,0,427,989,512,696,774)
UNION
  SELECT b3 FROM t3
   WHERE (e3=605 AND c3=494)
UNION
  SELECT b1 FROM t1
   WHERE e1 in (628,896,838,139,313,161,463,300,522,766,268)
EXCEPT
  SELECT d5 FROM t5
   WHERE NOT (d5 in (238,321,557,33,916,271,171,514,818,111,856))

query T valuesort
  SELECT e4 FROM t4
   WHERE (968=a4 OR 792=a4)
      OR (357=b4 OR 627=b4 OR 634=b4)
      OR b4 in (700,289,707,608,243,607,35,577,357,319)
INTERSECT
  SELECT b2 FROM t2
   WHERE NOT (d2 in (953,838,233,198)
           OR c2 in (275,450,244,24))
UNION ALL
  SELECT e7 FROM t7
   WHERE (510=b7 AND 828=d7 AND e7=48)
      OR e7 in (503,183,282)
EXCEPT
  SELECT e8 FROM t8
   WHERE NOT ((d8=761 AND a8=171 AND e8=310 AND c8=656 AND 155=b8)
           OR (a8=795 AND 673=b8 AND 899=c8 AND d8=112 AND e8=221)
           OR (c8=541 AND 640=b8 AND a8=200))
UNION
  SELECT e3 FROM t3
   WHERE (c3=809 OR 113=b3)
      OR a3 in (576,337,803,899,551,386,16,549,959,364,644,513,30,383)

query T valuesort
  SELECT c7 FROM t7
   WHERE b7 in (221,579,634,735,257,808,726,192,220,426,276)
      OR (a7=592 OR e7=303 OR a7=208)
EXCEPT
  SELECT d8 FROM t8
   WHERE NOT ((957=a8 OR e8=14)
           OR (d8=486 OR 705=b8)
           OR d8 in (637,624,876,627,93))
UNION
  SELECT e5 FROM t5
   WHERE (a5=796 AND 527=c5 AND b5=159)
      OR (c5=222)

query T valuesort
  SELECT d5 FROM t5
   WHERE d5 in (271,855,965,634,419,810,361,616,960,495,555,470,814)
      OR (d5=114 AND 832=a5 AND 697=e5 AND c5=734 AND 186=b5)
      OR (e5=758 AND a5=421)
EXCEPT
  SELECT d1 FROM t1
   WHERE NOT ((299=a1 AND 717=e1))
UNION ALL
  SELECT e2 FROM t2
   WHERE (d2=836 OR b2=549)
      OR e2 in (242,441,579,123,812,621,499,125,483,983,721)
      OR (411=c2 OR b2=35 OR 495=a2)
UNION ALL
  SELECT b4 FROM t4
   WHERE b4 in (33,627,847,713,480,476,860,184,903,86,357,114,765)
      OR (0=c4)
UNION ALL
  SELECT d6 FROM t6
   WHERE (646=e6 AND 749=c6 AND a6=653 AND b6=954 AND 956=d6)
      OR (129=a6 AND d6=991 AND 696=b6 AND e6=286)
EXCEPT
  SELECT e3 FROM t3
   WHERE NOT (b3 in (41,152,159,847)
           OR (266=b3)
           OR (e3=853 OR d3=896 OR b3=837))
UNION
  SELECT c9 FROM t9
   WHERE (a9=240 OR 788=e9)
      OR (383=d9)
UNION
  SELECT c8 FROM t8
   WHERE (269=d8 OR d8=883 OR b8=770)
      OR b8 in (394,761,205,542,624,803,469,603,792,228,8,889,673)
EXCEPT
  SELECT d7 FROM t7
   WHERE NOT ((e7=841 OR a7=921 OR a7=912)
           OR c7 in (78,419,284,206,280,518,966,729))

query T valuesort
  SELECT a9 FROM t9
   WHERE b9 in (855,26,612,926,446,893,122,128,819,142)
      OR (606=d9 AND b9=804)
      OR (b9=211)
UNION
  SELECT b7 FROM t7
   WHERE c7 in (435,672,232,966,691,478,341,41,280,661)
      OR e7 in (605,154,983,302,301,89)
UNION ALL
  SELECT d3 FROM t3
   WHERE (321=e3 OR a3=265 OR 566=a3)
UNION ALL
  SELECT e5 FROM t5
   WHERE (697=e5)
      OR (806=d5)

query T valuesort
  SELECT b2 FROM t2
   WHERE (a2=508 AND b2=170 AND c2=444 AND 723=d2)
      OR (a2=789)
      OR (817=a2 AND 276=b2 AND d2=177 AND 753=e2 AND c2=496)
UNION
  SELECT c9 FROM t9
   WHERE e9 in (679,868,335,278,245,239,995,264,445,657,750,197)
      OR (d9=646 AND 959=a9 AND c9=739 AND e9=868 AND b9=578)
UNION ALL
  SELECT e6 FROM t6
   WHERE (a6=818 OR 60=d6)
      OR e6 in (731,95,324,90,255)
UNION ALL
  SELECT d5 FROM t5
   WHERE (d5=542 AND b5=846)
EXCEPT
  SELECT b8 FROM t8
   WHERE NOT (b8 in (105,741,102,351,244,155,696,162,984))
UNION
  SELECT a1 FROM t1
   WHERE b1 in (523,255,75,32,43,781,993,808,281,828,233,652)
EXCEPT
  SELECT e4 FROM t4
   WHERE NOT ((294=b4 OR b4=941 OR a4=651)
           OR (23=b4 OR e4=438 OR a4=661)
           OR a4 in (723,151,605,318,574,450,337,602))

query T valuesort
  SELECT c8 FROM t8
   WHERE (112=d8 OR a8=99 OR 944=e8)
      OR (469=e8)
INTERSECT
  SELECT a6 FROM t6
   WHERE NOT ((942=c6)
           OR c6 in (490,832,910,648,718,282,287,446,4,942,963,534,297,749)
           OR (d6=867 AND 446=c6 AND a6=392))
INTERSECT
  SELECT e3 FROM t3
   WHERE NOT ((386=a3)
           OR (456=b3 AND c3=149 AND 596=e3 AND 895=a3 AND d3=895)
           OR c3 in (669,986,961,339))
UNION ALL
  SELECT d7 FROM t7
   WHERE (a7=324)
UNION
  SELECT b1 FROM t1
   WHERE (412=d1 AND b1=303 AND 51=e1 AND 388=c1)
      OR (88=b1 AND 761=d1 AND 402=c1 AND a1=330)

query T valuesort
  SELECT c2 FROM t2
   WHERE (688=c2 AND 983=e2 AND 113=b2)
UNION ALL
  SELECT a7 FROM t7
   WHERE (e7=428)
      OR (d7=131)
      OR a7 in (165,267,433,699)

query T valuesort
  SELECT a9 FROM t9
   WHERE (712=a9 AND 619=e9 AND 74=b9)
      OR d9 in (818,919,646,568,681)
UNION
  SELECT b1 FROM t1
   WHERE (685=c1)
      OR (e1=685)
UNION
  SELECT c3 FROM t3
   WHERE (989=e3 OR 41=a3 OR a3=476)
      OR (d3=217)
UNION ALL
  SELECT e4 FROM t4
   WHERE b4 in (644,577,532)
      OR (605=a4)
EXCEPT
  SELECT a7 FROM t7
   WHERE NOT ((a7=27 AND 364=c7 AND 887=e7 AND 495=b7 AND d7=709)
           OR b7 in (129,323,841,867,321,455,655)
           OR (508=c7 AND 860=e7 AND 306=d7 AND b7=861 AND 982=a7))
EXCEPT
  SELECT a8 FROM t8
   WHERE NOT ((512=d8)
           OR (d8=58 OR 199=e8)
           OR (c8=298 OR 183=a8))

query T valuesort
  SELECT a4 FROM t4
   WHERE (d4=55 AND c4=904 AND b4=607)
      OR e4 in (491,543,372)
      OR b4 in (713,982,653,884,469,68,784,33,961,700)
UNION ALL
  SELECT c1 FROM t1
   WHERE b1 in (468,828,355,944,128,993,556,440)
      OR (b1=281 OR 259=c1 OR 315=c1)
      OR (d1=175 OR c1=309 OR 787=c1)
UNION ALL
  SELECT c2 FROM t2
   WHERE (754=b2)
      OR (d2=158 OR e2=556)
      OR d2 in (14,547,10,488)
EXCEPT
  SELECT a9 FROM t9
   WHERE NOT ((a9=821)
           OR a9 in (463,821,610,78,685,149,962,41))
EXCEPT
  SELECT d5 FROM t5
   WHERE NOT ((a5=513 OR a5=882 OR 104=e5)
           OR d5 in (787,938,731,557,343,745,521,835,360,114,171,276))
UNION ALL
  SELECT c6 FROM t6
   WHERE b6 in (781,214,993,629,262,997,461,834,989)
      OR a6 in (877,116,211,825,680,653,643,121,731,85,683,240,751)

query T valuesort
  SELECT e6 FROM t6
   WHERE (654=e6 OR b6=850 OR e6=255)
      OR (751=a6)
INTERSECT
  SELECT a5 FROM t5
   WHERE NOT ((e5=902 OR e5=971 OR 422=c5)
           OR b5 in (306,705,380,620,26,544,878,820,744,186,484,530)
           OR (757=d5 AND a5=976 AND 209=e5 AND 569=b5 AND c5=313))
EXCEPT
  SELECT e8 FROM t8
   WHERE NOT ((774=a8 AND e8=442 AND 366=d8 AND c8=230)
           OR a8 in (923,289,563,99,672,869,864,564,882,900,952,5,838,957)
           OR a8 in (628,638,672,923,807))
EXCEPT
  SELECT d2 FROM t2
   WHERE NOT ((806=c2)
           OR (e2=604)
           OR (d2=367))
EXCEPT
  SELECT c4 FROM t4
   WHERE NOT ((b4=379 OR e4=543)
           OR d4 in (231,728,449,86,819,910,797))

query T valuesort
  SELECT c5 FROM t5
   WHERE (545=c5)
      OR c5 in (471,818,756,489,86,625)
INTERSECT
  SELECT e4 FROM t4
   WHERE NOT ((422=a4 OR d4=907 OR 849=b4)
           OR a4 in (74,778,337,756)
           OR (b4=387 OR b4=267))
UNION ALL
  SELECT a6 FROM t6
   WHERE a6 in (861,540,366)
      OR (a6=40 OR d6=256 OR c6=751)
UNION
  SELECT e9 FROM t9
   WHERE e9 in (978,19,117,161,239,255,788,150)

query T valuesort
  SELECT b3 FROM t3
   WHERE (b3=685 AND c3=963 AND 145=e3)
      OR c3 in (81,317,244,555,7,324,594,317,677,459,991,339,175)
      OR (e3=829)
EXCEPT
  SELECT d1 FROM t1
   WHERE NOT (a1 in (825,992,972,213,862,461)
           OR (e1=367 AND 716=c1 AND a1=267 AND b1=283))
EXCEPT
  SELECT e2 FROM t2
   WHERE NOT ((682=d2 AND b2=73)
           OR a2 in (522,123,455,2,773,901,652,987,10,769,371,283,916,304))
UNION
  SELECT a9 FROM t9
   WHERE e9 in (251,854,418,426,149,944,873,575)
      OR e9 in (263,477,978,267,195,844,694,750,679,418,737,819)
EXCEPT
  SELECT b6 FROM t6
   WHERE NOT (b6 in (296,214,6,348,217,650,250,906,882,954,923,629,606)
           OR (d6=790 AND 40=a6 AND 808=e6 AND c6=769 AND 63=b6)
           OR b6 in (300,834,699,774,44,378,250,601,882,923))
UNION ALL
  SELECT b5 FROM t5
   WHERE (818=a5 AND d5=960 AND 495=b5 AND c5=774)
      OR a5 in (921,320,626,53)
UNION ALL
  SELECT e8 FROM t8
   WHERE (b8=796)
      OR d8 in (472,486,610,845,523,108)
UNION
  SELECT d7 FROM t7
   WHERE (97=a7 OR 303=e7)
EXCEPT
  SELECT b4 FROM t4
   WHERE NOT (a4 in (29,621,271,260,505,982,60,510)
           OR (a4=876 OR 312=e4))

query T valuesort
  SELECT d3 FROM t3
   WHERE (977=b3)
INTERSECT
  SELECT c9 FROM t9
   WHERE NOT ((962=a9 AND 639=c9 AND 967=d9 AND 607=e9 AND b9=855))

query T valuesort
  SELECT c2 FROM t2
   WHERE (944=a2)
      OR (141=c2 OR b2=278 OR c2=344)
      OR c2 in (512,511,509,312,292,722,220,65,996,107,193,551,251,830)
UNION
  SELECT c6 FROM t6
   WHERE a6 in (740,211,251,359,821)
      OR (699=b6 OR e6=754)
      OR (c6=752 AND 550=e6)

query T valuesort
  SELECT e4 FROM t4
   WHERE (c4=690 AND 372=b4 AND 212=e4 AND 990=a4 AND 593=d4)
      OR b4 in (816,986,733)
      OR (c4=728 AND e4=778 AND d4=328)
UNION
  SELECT c8 FROM t8
   WHERE (a8=417 AND b8=755 AND 113=c8)
      OR (a8=822 AND 422=d8 AND 186=e8 AND 677=b8)

query T valuesort
  SELECT a5 FROM t5
   WHERE c5 in (185,668,747,601,155,922,210,422)
UNION ALL
  SELECT e8 FROM t8
   WHERE (c8=394 OR 442=c8 OR 161=d8)
      OR e8 in (729,392,874,463,682,579,497,349,422,944)
      OR (a8=838 AND 454=b8)
UNION
  SELECT e4 FROM t4
   WHERE (29=a4)
      OR (92=a4 AND 469=b4 AND d4=597)
UNION ALL
  SELECT e6 FROM t6
   WHERE (161=c6 OR 321=d6)
      OR (a6=222)
UNION ALL
  SELECT b9 FROM t9
   WHERE c9 in (739,884,253,579,327,992,278,764)
      OR (687=c9 AND a9=830)
UNION ALL
  SELECT d2 FROM t2
   WHERE (c2=967 OR d2=513)
      OR (c2=360)
      OR (404=d2 AND 297=a2 AND 582=c2 AND 815=e2 AND 226=b2)
UNION ALL
  SELECT a1 FROM t1
   WHERE b1 in (639,149,345,803,75,862,387,594,729,283,310,579)
      OR (b1=387 AND 530=c1 AND d1=529 AND a1=75 AND e1=228)
EXCEPT
  SELECT c3 FROM t3
   WHERE NOT ((c3=986 AND 134=d3 AND b3=882 AND 560=a3 AND 929=e3)
           OR (d3=729 OR b3=592 OR b3=145)
           OR (895=a3 OR b3=70))
EXCEPT
  SELECT b7 FROM t7
   WHERE NOT ((341=c7 OR 377=c7 OR 970=e7)
           OR b7 in (276,166,808,396,541,495,510,996,924,881,222))

query T valuesort
  SELECT c3 FROM t3
   WHERE d3 in (797,729,782,624,231)
      OR (d3=336 AND 784=a3 AND e3=814 AND c3=966 AND 246=b3)
EXCEPT
  SELECT c6 FROM t6
   WHERE NOT ((c6=490 AND 799=a6)
           OR (b6=300 AND a6=692 AND d6=561)
           OR (e6=175 OR 321=d6 OR d6=931))
EXCEPT
  SELECT d4 FROM t4
   WHERE NOT ((35=e4 OR c4=177)
           OR c4 in (293,993,220,221,484,301,201,690,508,904,586,6)
           OR d4 in (105,985,18,306,819,277,364))
EXCEPT
  SELECT b2 FROM t2
   WHERE NOT (a2 in (457,35,222,594)
           OR e2 in (671,556,118,213,679,428,564,434,721,753,131,547,242,654)
           OR (796=b2))
EXCEPT
  SELECT d8 FROM t8
   WHERE NOT ((a8=314 AND 175=e8 AND c8=720))
UNION ALL
  SELECT a5 FROM t5
   WHERE (c5=689 OR 55=a5)

query T valuesort
  SELECT a2 FROM t2
   WHERE (c2=360)
      OR (d2=235)
EXCEPT
  SELECT c5 FROM t5
   WHERE NOT ((a5=24)
           OR (b5=771 AND 810=d5))
EXCEPT
  SELECT c4 FROM t4
   WHERE NOT ((146=d4 OR 137=b4 OR 903=b4)
           OR b4 in (907,289,810,849,379,707,964,765))
UNION
  SELECT a9 FROM t9
   WHERE (680=b9 OR a9=304)
      OR (e9=218)
UNION
  SELECT c1 FROM t1
   WHERE (b1=42 OR 128=b1 OR 902=d1)
EXCEPT
  SELECT b3 FROM t3
   WHERE NOT ((e3=602 AND d3=368 AND c3=486 AND 777=a3 AND b3=827))
UNION ALL
  SELECT b6 FROM t6
   WHERE (a6=128 OR 424=c6 OR a6=293)
      OR c6 in (135,161,718,187,416,513,12,177,258,287,11,441)
EXCEPT
  SELECT e7 FROM t7
   WHERE NOT ((d7=837 AND a7=950 AND 605=e7))
UNION
  SELECT e8 FROM t8
   WHERE e8 in (463,972,919)
      OR (b8=9 OR 564=b8)

query T valuesort
  SELECT e8 FROM t8
   WHERE (326=d8)
      OR b8 in (878,7,705,211)
UNION ALL
  SELECT e2 FROM t2
   WHERE (b2=93)
      OR (549=b2 AND d2=803 AND 711=c2)
      OR a2 in (980,944,253,927)
UNION
  SELECT b5 FROM t5
   WHERE a5 in (319,242,342,349,320,837,749,743)
      OR (729=b5 OR 772=e5 OR b5=606)
      OR b5 in (389,292,860,942,321,161,502,484,159,736,847,744,26,511)
UNION ALL
  SELECT a4 FROM t4
   WHERE d4 in (247,309,985,950,665,681,781,777,943,323)
EXCEPT
  SELECT c1 FROM t1
   WHERE NOT ((358=a1)
           OR d1 in (121,234,519,172)
           OR (c1=230 OR 963=e1))
EXCEPT
  SELECT b6 FROM t6
   WHERE NOT (b6 in (933,452,463,350)
           OR (2=d6 OR b6=250 OR 751=a6))
EXCEPT
  SELECT b9 FROM t9
   WHERE NOT ((e9=239)
           OR a9 in (435,610,611,811,548,694,485,847,747))

query T valuesort
  SELECT e4 FROM t4
   WHERE a4 in (327,474,423,72,502,968,505,589,952,981,747)
      OR (23=b4)
EXCEPT
  SELECT e7 FROM t7
   WHERE NOT ((996=b7 AND 280=e7))
UNION ALL
  SELECT a1 FROM t1
   WHERE (272=c1 OR b1=414 OR a1=194)
      OR b1 in (132,584,570,88)
EXCEPT
  SELECT b6 FROM t6
   WHERE NOT ((931=d6 AND 90=e6 AND b6=350)
           OR (c6=292 OR d6=664 OR c6=242)
           OR e6 in (731,5,668,274,958,489,738))
EXCEPT
  SELECT b5 FROM t5
   WHERE NOT ((287=e5 OR b5=412))

query T valuesort
  SELECT e8 FROM t8
   WHERE (672=a8 OR 327=a8)
      OR a8 in (848,254,472)
      OR (790=c8 OR e8=761)
EXCEPT
  SELECT a7 FROM t7
   WHERE NOT ((982=a7)
           OR (981=c7))

query T valuesort
  SELECT e1 FROM t1
   WHERE (c1=608 OR 349=d1)
      OR (c1=788 OR b1=836 OR 60=b1)
      OR (b1=486)
UNION ALL
  SELECT c6 FROM t6
   WHERE (e6=466)
UNION
  SELECT b2 FROM t2
   WHERE (b2=276 OR b2=329 OR 590=a2)
      OR (b2=640)
      OR (263=d2 OR 932=b2 OR 590=a2)
EXCEPT
  SELECT a5 FROM t5
   WHERE NOT (a5 in (749,637,513)
           OR (a5=392 OR b5=26))
EXCEPT
  SELECT d7 FROM t7
   WHERE NOT ((903=e7 AND c7=944 AND a7=649 AND b7=813)
           OR b7 in (305,221,83,340,717,841,360,202))
EXCEPT
  SELECT a9 FROM t9
   WHERE NOT (a9 in (304,56,757,28,803,982,149))
UNION
  SELECT a8 FROM t8
   WHERE (d8=845 OR 794=a8 OR 14=d8)

query T valuesort
  SELECT e2 FROM t2
   WHERE (411=c2 OR 56=a2 OR 769=e2)
      OR (e2=220 AND c2=981 AND 498=d2)
INTERSECT
  SELECT a8 FROM t8
   WHERE NOT ((636=d8))
UNION ALL
  SELECT b7 FROM t7
   WHERE (e7=488)
      OR (670=b7 AND 607=c7 AND 212=d7 AND a7=574 AND e7=31)
      OR (267=a7 AND 648=c7 AND 39=e7 AND 837=b7 AND 397=d7)
EXCEPT
  SELECT a3 FROM t3
   WHERE NOT ((41=b3 AND d3=403 AND 807=e3)
           OR (986=c3 OR 888=b3))
UNION
  SELECT b6 FROM t6
   WHERE (915=b6)
      OR (a6=801 AND d6=767)
UNION ALL
  SELECT b5 FROM t5
   WHERE (e5=807 AND 697=c5 AND a5=196 AND b5=91 AND 401=d5)
      OR (565=d5 AND 861=b5 AND e5=34 AND 867=a5)
UNION
  SELECT a1 FROM t1
   WHERE (d1=254)
      OR (b1=896 OR d1=972 OR c1=177)
      OR (b1=738 OR e1=255 OR 717=e1)
UNION ALL
  SELECT c9 FROM t9
   WHERE (383=d9)
      OR d9 in (959,554,662,965,161,808,525,608,104,602,601)
      OR (953=a9 AND c9=278 AND 486=e9)

query T valuesort
  SELECT c7 FROM t7
   WHERE (c7=887 AND d7=673 AND e7=827 AND 720=a7 AND b7=781)
      OR e7 in (552,988,372,156,432,282,127,39,595,319,827,562,689,356)
UNION ALL
  SELECT c3 FROM t3
   WHERE b3 in (339,456,73)
      OR b3 in (761,224,376,17,146,876,701)
      OR (c3=220 OR 947=a3)

query T valuesort
  SELECT d4 FROM t4
   WHERE (358=e4)
      OR (e4=9 AND b4=829 AND c4=513 AND d4=568)
UNION
  SELECT e7 FROM t7
   WHERE (103=c7 AND e7=971)
      OR (367=d7 AND a7=500 AND 832=b7 AND 197=e7 AND 705=c7)
EXCEPT
  SELECT c2 FROM t2
   WHERE NOT ((e2=923)
           OR (b2=509))
EXCEPT
  SELECT d3 FROM t3
   WHERE NOT ((810=b3 AND c3=549 AND 249=e3 AND 262=a3))
EXCEPT
  SELECT b8 FROM t8
   WHERE NOT ((523=d8))
EXCEPT
  SELECT e6 FROM t6
   WHERE NOT ((d6=469 AND 2=a6 AND 211=e6 AND c6=12 AND b6=452)
           OR d6 in (852,974,778,846,750,405,36,197,463,885,489)
           OR (92=b6 AND e6=840))
UNION
  SELECT d1 FROM t1
   WHERE a1 in (324,215,268,213,862,607,145)
UNION ALL
  SELECT d5 FROM t5
   WHERE (184=e5 AND 810=d5)

query T valuesort
  SELECT e3 FROM t3
   WHERE d3 in (720,729,501,701,981,399,503,890,896,220,711)
      OR (a3=879 AND d3=184 AND 854=e3 AND b3=355 AND c3=326)
      OR (d3=46)
INTERSECT
  SELECT b6 FROM t6
   WHERE NOT ((b6=512 OR 739=b6))
EXCEPT
  SELECT d9 FROM t9
   WHERE NOT ((712=a9 AND 495=d9 AND c9=402 AND 74=b9)
           OR (699=e9))
UNION
  SELECT b4 FROM t4
   WHERE d4 in (917,491,929,249,658,901,86,797,522,985,507,653,31)
      OR (c4=417 OR 728=c4 OR 151=a4)
EXCEPT
  SELECT e8 FROM t8
   WHERE NOT (b8 in (228,351,98,313,803,922,386,253,741))
UNION
  SELECT d7 FROM t7
   WHERE a7 in (500,452,466,267,879,442,35,894)
      OR c7 in (970,725,565,857,38,98,80,843,364)

query T valuesort
  SELECT a8 FROM t8
   WHERE (a8=591 AND 705=c8 AND 548=e8 AND 542=d8 AND b8=992)
      OR (e8=320 AND 88=c8 AND 466=b8)
      OR a8 in (957,894,331)
UNION ALL
  SELECT c9 FROM t9
   WHERE b9 in (16,936,688,423,122,827,783,285,103,214,5)
      OR b9 in (26,342,578,595,821,496,568,880,211,891,379)
      OR (c9=834)
EXCEPT
  SELECT b6 FROM t6
   WHERE NOT (b6 in (541,421,993,350,92,984)
           OR (d6=561)
           OR a6 in (811,801,870,725))
EXCEPT
  SELECT a3 FROM t3
   WHERE NOT ((a3=364 OR 814=b3)
           OR (136=e3 AND b3=788 AND d3=548 AND 386=a3)
           OR a3 in (699,615,594,995,129,265,337))
UNION ALL
  SELECT b2 FROM t2
   WHERE (993=a2 AND 198=d2)
      OR (337=c2 AND 504=b2)
      OR c2 in (887,746,411,807,360,292,729,728,450,466,964,137)
UNION
  SELECT c1 FROM t1
   WHERE (e1=731)
      OR d1 in (0,294,504,381,990,55,265,837,492)
UNION
  SELECT c4 FROM t4
   WHERE (605=a4 AND 826=b4 AND c4=44)
      OR (d4=907 OR b4=802 OR b4=982)
UNION
  SELECT b5 FROM t5
   WHERE (e5=943)
EXCEPT
  SELECT e7 FROM t7
   WHERE NOT (d7 in (418,892,164,108,684,777,226,886,142)
           OR (e7=4 OR c7=344)
           OR d7 in (177,328,105,134,526,79,828,666))

query T valuesort
  SELECT d9 FROM t9
   WHERE (171=b9 AND c9=272 AND d9=464)
INTERSECT
  SELECT e2 FROM t2
   WHERE NOT (b2 in (818,968,776,501,592,532,546,509,264,313,21,311,985)
           OR e2 in (945,812,213,16,940,621))
UNION
  SELECT a6 FROM t6
   WHERE (a6=469)
UNION
  SELECT e7 FROM t7
   WHERE (a7=894 AND 105=d7 AND b7=996)
EXCEPT
  SELECT b5 FROM t5
   WHERE NOT (b5 in (971,674,161,587,205)
           OR (d5=634 OR 740=a5 OR 971=b5)
           OR b5 in (723,82,772,878,554,934,403,975,665,705))

query T valuesort
  SELECT c5 FROM t5
   WHERE (429=a5 AND d5=132 AND c5=471)
      OR a5 in (667,369,837,514,55,929,311,413,342,637,18,904,349,373)
      OR (d5=847 OR 943=e5)
UNION ALL
  SELECT c8 FROM t8
   WHERE b8 in (34,656,7)
      OR c8 in (901,691,298,683,299,321,541,266,461,77,5)
      OR (d8=631)
EXCEPT
  SELECT a9 FROM t9
   WHERE NOT ((413=a9 AND 788=e9 AND b9=379 AND 62=c9)
           OR (734=c9)
           OR (e9=418 OR a9=559 OR a9=240))
EXCEPT
  SELECT e2 FROM t2
   WHERE NOT (a2 in (944,987,916,898)
           OR (819=c2 OR 549=b2 OR 844=d2))
EXCEPT
  SELECT b6 FROM t6
   WHERE NOT ((390=b6 AND 992=c6 AND 45=a6 AND e6=707)
           OR (a6=1 OR a6=829))
UNION
  SELECT b3 FROM t3
   WHERE d3 in (247,950,368,764,102)
EXCEPT
  SELECT d1 FROM t1
   WHERE NOT (a1 in (215,145,950,738,338,553,622)
           OR (457=d1)
           OR b1 in (822,681,43,32,662,594,579,914,233))

query T valuesort
  SELECT a5 FROM t5
   WHERE a5 in (392,743,447,55,988,270,749,335,522)
      OR e5 in (104,22,689,130,446)
      OR (780=d5 OR a5=514)
INTERSECT
  SELECT b9 FROM t9
   WHERE NOT ((a9=757 AND c9=809 AND 447=b9)
           OR (e9=723 OR b9=759 OR 289=b9)
           OR (d9=166 AND 230=e9 AND a9=18 AND 905=c9))
EXCEPT
  SELECT a7 FROM t7
   WHERE NOT (d7 in (817,539,724,199,765,891,225,177,507)
           OR b7 in (506,506,924,202,340,510)
           OR (855=b7 OR 906=c7 OR d7=500))
EXCEPT
  SELECT e8 FROM t8
   WHERE NOT ((a8=701 OR 523=d8)
           OR (b8=52 AND 391=d8 AND 381=c8 AND 416=e8 AND a8=883)
           OR (586=a8 OR 295=e8 OR e8=586))
EXCEPT
  SELECT a3 FROM t3
   WHERE NOT (a3 in (478,490,879))
UNION
  SELECT e2 FROM t2
   WHERE (551=c2 AND 151=e2 AND b2=414)
      OR (907=c2 AND 145=b2 AND a2=814)
      OR (160=c2 AND 555=d2)
UNION
  SELECT b1 FROM t1
   WHERE (523=e1 AND a1=460 AND 390=c1 AND 633=b1 AND d1=679)
      OR (c1=617 OR 707=a1 OR d1=900)
      OR d1 in (726,799,416,626,955,761,457,315,407,274,992)
EXCEPT
  SELECT a6 FROM t6
   WHERE NOT ((67=e6 AND 768=c6 AND 211=a6)
           OR (e6=738 OR 139=e6)
           OR (768=c6 AND e6=67))

query T valuesort
  SELECT a3 FROM t3
   WHERE (319=e3 OR 845=c3 OR e3=914)
      OR (247=d3 AND c3=117 AND e3=318 AND 317=b3 AND a3=98)
      OR (e3=951)
INTERSECT
  SELECT a9 FROM t9
   WHERE NOT ((587=c9 AND 763=d9 AND b9=803 AND a9=11 AND e9=841)
           OR (524=b9 AND 804=e9 AND 687=c9 AND d9=665 AND a9=830)
           OR (187=c9 AND 251=e9 AND 122=b9 AND 646=d9 AND a9=610))
INTERSECT
  SELECT b5 FROM t5
   WHERE NOT ((89=a5 OR 479=d5 OR 640=e5)
           OR (349=a5))
UNION ALL
  SELECT d1 FROM t1
   WHERE b1 in (853,49,736,944,75,569,726,346,414,993,807,981,896)
      OR (976=c1 OR c1=3)
EXCEPT
  SELECT a8 FROM t8
   WHERE NOT ((448=c8 AND a8=952)
           OR a8 in (312,514,826,250,774,701,443,637,402,256)
           OR c8 in (377,907,183))
UNION
  SELECT a4 FROM t4
   WHERE (146=d4)

query T valuesort
  SELECT c3 FROM t3
   WHERE (977=b3 OR 238=d3 OR 347=a3)
EXCEPT
  SELECT a6 FROM t6
   WHERE NOT ((852=d6 AND e6=40 AND c6=454 AND b6=427 AND 518=a6))
UNION ALL
  SELECT d7 FROM t7
   WHERE d7 in (795,108,164,212,787,391,886,142,397,28,226)
EXCEPT
  SELECT d5 FROM t5
   WHERE NOT ((944=e5 AND 155=c5 AND b5=403 AND d5=789 AND a5=369)
           OR b5 in (716,951,26,846,391,705,205,183,502,531,321,506)
           OR (c5=734 AND 114=d5 AND 697=e5 AND b5=186))
UNION
  SELECT d1 FROM t1
   WHERE (671=e1 AND 947=d1 AND a1=161 AND 15=c1 AND 754=b1)
      OR (d1=294 AND a1=479 AND 43=b1)
      OR (504=d1 OR d1=508)
EXCEPT
  SELECT d2 FROM t2
   WHERE NOT ((189=a2 OR a2=588)
           OR (d2=260)
           OR a2 in (785,131,725,382,916,891,186,495,123,175))
EXCEPT
  SELECT a8 FROM t8
   WHERE NOT (a8 in (963,561,248,328,328,259,920,46,957,701,894,453,702,359)
           OR (c8=149 OR a8=443)
           OR (822=a8))

query T valuesort
  SELECT b9 FROM t9
   WHERE (a9=115 OR 235=d9)
EXCEPT
  SELECT c8 FROM t8
   WHERE NOT ((c8=394 AND d8=101 AND 503=b8)
           OR (d8=523 AND 534=c8 AND 540=b8 AND a8=869 AND e8=422))
UNION ALL
  SELECT a1 FROM t1
   WHERE a1 in (477,707,237,352,988)
      OR d1 in (213,726,217,25,661,602,828,519,319)
      OR (c1=177)
EXCEPT
  SELECT b3 FROM t3
   WHERE NOT (a3 in (12,829,591,379,895,729,335,549,98,611,947))
UNION ALL
  SELECT e5 FROM t5
   WHERE (629=b5 OR b5=526 OR a5=53)
UNION
  SELECT c4 FROM t4
   WHERE (d4=441 AND b4=877)
      OR b4 in (402,323,924,68,721,784,137,635,23,748,603,58,294)
      OR (d4=985 OR 306=d4 OR 990=a4)
EXCEPT
  SELECT a2 FROM t2
   WHERE NOT ((901=a2)
           OR c2 in (421,837,27,274,450,878,823,282,61,887,333,511)
           OR c2 in (869,282,228,290,793,496,854,557,421,449,512))
UNION ALL
  SELECT e7 FROM t7
   WHERE (c7=174)

query T valuesort
  SELECT e7 FROM t7
   WHERE a7 in (288,285,433,995,240)
      OR (c7=813 AND b7=396 AND 97=a7 AND 399=d7)
      OR a7 in (466,865,622,452,130,165,912,490,748,848,285,430,452,35)
UNION
  SELECT d5 FROM t5
   WHERE (68=e5 AND 242=a5 AND 559=b5)
      OR d5 in (847,219,42,343,555,789,745,570,419,271,602,685,59)
EXCEPT
  SELECT a3 FROM t3
   WHERE NOT ((e3=192 AND a3=393 AND d3=524))
EXCEPT
  SELECT c9 FROM t9
   WHERE NOT ((b9=127)
           OR (923=c9)
           OR e9 in (837,549,251,873,30,954,854,245,383))
EXCEPT
  SELECT b6 FROM t6
   WHERE NOT ((a6=238 AND d6=807 AND 353=e6 AND b6=923 AND c6=4)
           OR (689=d6 AND e6=893 AND 811=a6 AND 297=c6)
           OR (d6=457 AND a6=62 AND 747=e6 AND 146=c6))
EXCEPT
  SELECT d4 FROM t4
   WHERE NOT (e4 in (592,557,151,132,252,206,719)
           OR (c4=998)
           OR (424=c4 AND e4=661))
EXCEPT
  SELECT c1 FROM t1
   WHERE NOT ((d1=761 AND 90=e1 AND c1=402 AND 88=b1 AND 330=a1)
           OR (158=e1 AND 282=b1 AND a1=637))

query T valuesort
  SELECT d2 FROM t2
   WHERE a2 in (279,652,851,268)
      OR (223=a2 AND c2=964 AND 138=e2 AND 211=b2 AND d2=844)
EXCEPT
  SELECT c8 FROM t8
   WHERE NOT ((249=c8 OR a8=561 OR b8=466)
           OR a8 in (564,127,920))
EXCEPT
  SELECT b1 FROM t1
   WHERE NOT (c1 in (175,136,683,585,636,537,419)
           OR e1 in (483,268,522,87,298,442,956,795))
UNION ALL
  SELECT e3 FROM t3
   WHERE (986=c3 AND 560=a3 AND 134=d3 AND b3=882)
      OR (155=e3 AND c3=869 AND b3=832 AND a3=581 AND d3=60)
      OR (a3=186 OR c3=826 OR 677=b3)
EXCEPT
  SELECT d6 FROM t6
   WHERE NOT ((62=a6)
           OR (b6=144 OR 469=a6 OR d6=376))
EXCEPT
  SELECT c9 FROM t9
   WHERE NOT (c9 in (601,278,171,323,87,739,87,732,60,973,751)
           OR (694=d9)
           OR (e9=699 OR b9=136))
UNION ALL
  SELECT b4 FROM t4
   WHERE (c4=417 OR 114=b4)
      OR d4 in (166,441,511,929,229,681,989,498,968)
EXCEPT
  SELECT e7 FROM t7
   WHERE NOT ((c7=333)
           OR (d7=139 AND b7=306))
UNION
  SELECT c5 FROM t5
   WHERE (812=e5 OR a5=544 OR 782=b5)
      OR c5 in (734,527,149,443,923,797,570,86,261,31,155,602,915,774)

query T valuesort
  SELECT a2 FROM t2
   WHERE (376=b2 AND 728=c2 AND 374=a2)
EXCEPT
  SELECT b3 FROM t3
   WHERE NOT ((607=d3 OR e3=651))

query T valuesort
  SELECT e9 FROM t9
   WHERE (c9=151 OR 148=a9 OR d9=439)
      OR (370=c9 OR b9=496)
UNION ALL
  SELECT e2 FROM t2
   WHERE c2 in (22,511,137,160,830,202,374,107,925,869,27,161,46,981)
      OR (123=a2 AND 592=b2)
      OR (813=d2 OR 2=d2 OR 755=b2)
EXCEPT
  SELECT d4 FROM t4
   WHERE NOT ((b4=94 OR a4=271 OR a4=451))
UNION
  SELECT e7 FROM t7
   WHERE e7 in (976,782,553,793,506,462,462,319,903,688,183,156,663)
UNION ALL
  SELECT c6 FROM t6
   WHERE b6 in (963,537,350,650,214,54,250,541,290)
      OR (e6=6 AND 185=d6 AND c6=287)
      OR b6 in (681,290,6,461,0,782,537,449,348,875,463,993,276)

query T valuesort
  SELECT b6 FROM t6
   WHERE (a6=104 AND 905=b6 AND 187=c6)
      OR b6 in (629,452,0,300)
EXCEPT
  SELECT e9 FROM t9
   WHERE NOT ((263=e9 AND 463=a9 AND 26=b9))
EXCEPT
  SELECT b8 FROM t8
   WHERE NOT (c8 in (730,563,442,260,419,32,789,374,705)
           OR (855=a8 OR e8=966))
UNION ALL
  SELECT e1 FROM t1
   WHERE (312=e1 AND b1=295 AND d1=678 AND a1=109)
      OR (a1=145 AND d1=818 AND b1=579 AND 230=c1 AND e1=328)
      OR (c1=207)
EXCEPT
  SELECT c3 FROM t3
   WHERE NOT (d3 in (913,133,46,983,729,437,364,231)
           OR (e3=989 OR 647=c3)
           OR (d3=2 OR 318=e3 OR 10=c3))
UNION ALL
  SELECT b7 FROM t7
   WHERE (208=a7 OR 215=e7 OR 590=e7)
      OR (a7=982 AND 48=e7 AND 510=b7 AND 828=d7)

query T valuesort
  SELECT c7 FROM t7
   WHERE (787=d7)
      OR a7 in (912,195,706,707,490,31,416,452,952,884,916,452)
UNION ALL
  SELECT a2 FROM t2
   WHERE (476=d2 OR a2=543)
      OR e2 in (720,138,923,812,411,781,925,131,445,223)
      OR (284=d2 AND e2=671)
EXCEPT
  SELECT c4 FROM t4
   WHERE NOT ((381=e4 OR c4=536 OR 289=b4)
           OR (b4=276))
EXCEPT
  SELECT d5 FROM t5
   WHERE NOT ((37=c5 OR e5=586)
           OR (743=a5 AND c5=934 AND 682=d5)
           OR (a5=163))
EXCEPT
  SELECT e6 FROM t6
   WHERE NOT ((6=e6 AND 962=b6 AND c6=287 AND d6=185)
           OR d6 in (786,36,493,424,911,366,942,469,590,901,428,924))
EXCEPT
  SELECT c8 FROM t8
   WHERE NOT (d8 in (761,651,894,761,179,197,523,805))
UNION ALL
  SELECT a3 FROM t3
   WHERE (c3=299 AND e3=829 AND 482=b3)
      OR (b3=368 OR 651=c3 OR 146=b3)

query T valuesort
  SELECT c2 FROM t2
   WHERE d2 in (860,310,914)
EXCEPT
  SELECT e9 FROM t9
   WHERE NOT ((a9=847 AND c9=884 AND e9=149 AND b9=525))
EXCEPT
  SELECT b5 FROM t5
   WHERE NOT (c5 in (86,158,579,602,50,31,818,12,978,185,696,678)
           OR (185=c5))
EXCEPT
  SELECT b1 FROM t1
   WHERE NOT (e1 in (667,78,12,811,858,436,255,95,504,312,731,693,298,210)
           OR a1 in (880,179,552,161)
           OR (e1=838))

query T valuesort
  SELECT d5 FROM t5
   WHERE b5 in (855,695,736,661,846,951,183,729,424,874,661)
      OR (c5=147)
      OR (143=b5)
EXCEPT
  SELECT d6 FROM t6
   WHERE NOT ((d6=393 OR b6=850)
           OR e6 in (6,622,893,585,139,67,738,439))
EXCEPT
  SELECT e4 FROM t4
   WHERE NOT ((260=b4 AND 857=a4 AND d4=657)
           OR b4 in (184,408,442,921,653,749,765,938,700)
           OR (d4=236 OR a4=968 OR e4=85))
EXCEPT
  SELECT d7 FROM t7
   WHERE NOT ((d7=575)
           OR (460=e7 AND 816=c7 AND 391=d7))
EXCEPT
  SELECT c9 FROM t9
   WHERE NOT ((104=d9 OR e9=860)
           OR (549=e9 AND 129=d9 AND 75=c9 AND a9=847)
           OR (136=b9))
UNION
  SELECT d3 FROM t3
   WHERE (c3=339 AND b3=454)
      OR d3 in (487,603,913,220,958,425,607,624,168,726,118,541)

query T valuesort
  SELECT e2 FROM t2
   WHERE (e2=654 AND 365=d2 AND 725=b2)
INTERSECT
  SELECT b8 FROM t8
   WHERE NOT ((501=c8 AND a8=474)
           OR (542=d8 OR b8=184 OR 815=d8)
           OR c8 in (299,275,297,136,693,508,668,168,901,260,442,284,279))
INTERSECT
  SELECT d9 FROM t9
   WHERE NOT ((e9=647))
EXCEPT
  SELECT e7 FROM t7
   WHERE NOT ((b7=392 OR c7=781)
           OR b7 in (460,159,407))
EXCEPT
  SELECT e1 FROM t1
   WHERE NOT ((e1=546 AND 767=a1 AND 447=b1))
EXCEPT
  SELECT b3 FROM t3
   WHERE NOT ((d3=866)
           OR (836=e3 AND c3=651 AND 214=b3))

query T valuesort
  SELECT a9 FROM t9
   WHERE (a9=584 OR 195=e9)
EXCEPT
  SELECT c1 FROM t1
   WHERE NOT ((a1=479 AND c1=902 AND 43=b1 AND 294=d1 AND e1=685)
           OR c1 in (553,955,683)
           OR (20=a1 AND 117=e1))
UNION
  SELECT e2 FROM t2
   WHERE a2 in (760,980,374,64,455,664,590,223,308,253)
      OR (275=c2 AND a2=268 AND e2=820 AND b2=292 AND 704=d2)
      OR c2 in (837,103,758,160,496,282,272,511,793,688,933,653)
UNION
  SELECT e5 FROM t5
   WHERE (206=e5 AND a5=785)
      OR (a5=826 OR 971=e5 OR d5=667)
      OR (d5=685 OR 943=e5)
UNION ALL
  SELECT a4 FROM t4
   WHERE (b4=387)
EXCEPT
  SELECT c6 FROM t6
   WHERE NOT ((d6=578)
           OR (154=e6 AND c6=975 AND 255=a6 AND 541=b6 AND 674=d6))
UNION
  SELECT b3 FROM t3
   WHERE (c3=472 AND b3=783 AND a3=164 AND 886=d3 AND e3=341)
      OR (a3=594 OR c3=77 OR b3=156)
      OR (553=d3 AND 344=a3 AND 712=e3)
EXCEPT
  SELECT d7 FROM t7
   WHERE NOT ((130=a7 AND d7=395 AND c7=98 AND 689=e7 AND 120=b7)
           OR d7 in (306,324,687,547,996,712,367,974)
           OR b7 in (396,924,859,693,250,750))

query T valuesort
  SELECT a3 FROM t3
   WHERE (847=b3)
EXCEPT
  SELECT c9 FROM t9
   WHERE NOT ((e9=944 AND 98=c9 AND a9=824 AND b9=214 AND d9=688)
           OR (e9=841))
UNION ALL
  SELECT d5 FROM t5
   WHERE (471=c5 AND a5=429 AND 132=d5)
UNION
  SELECT a7 FROM t7
   WHERE (d7=91)
      OR (575=c7 AND e7=553)
      OR (195=a7)
UNION ALL
  SELECT c1 FROM t1
   WHERE (49=b1 AND 371=a1 AND 871=c1)
      OR (558=e1 AND 457=d1 AND c1=69 AND a1=963 AND 879=b1)
      OR (350=b1 OR a1=821 OR b1=862)
UNION
  SELECT c6 FROM t6
   WHERE (b6=875)
EXCEPT
  SELECT d8 FROM t8
   WHERE NOT ((e8=221))
EXCEPT
  SELECT d2 FROM t2
   WHERE NOT ((996=c2 OR 765=b2 OR 733=a2))

query T valuesort
  SELECT c5 FROM t5
   WHERE (d5=309 OR c5=824 OR 819=c5)
UNION
  SELECT c1 FROM t1
   WHERE e1 in (181,12,956,795,685,313,558,731,779,146,815,228)
EXCEPT
  SELECT c3 FROM t3
   WHERE NOT ((c3=692 AND d3=102 AND 197=a3)
           OR c3 in (806,697,809,73,455,395,961,826,800,656)
           OR c3 in (492,885,733,86,961,777,127,476,516))
UNION
  SELECT a9 FROM t9
   WHERE b9 in (688,19,426,848,269)
      OR e9 in (704,239,307)
UNION ALL
  SELECT a7 FROM t7
   WHERE d7 in (782,687,988,325,524,485,418,457,91,575,709)
EXCEPT
  SELECT b6 FROM t6
   WHERE NOT ((d6=767 OR 116=a6))
EXCEPT
  SELECT d4 FROM t4
   WHERE NOT ((e4=600)
           OR (d4=509 AND c4=162)
           OR c4 in (521,119,201,297,208,366,832,854,584,0))
EXCEPT
  SELECT e2 FROM t2
   WHERE NOT (a2 in (733,637,709,374,382,691,1,93,253,76,495,944,522))

query T valuesort
  SELECT b3 FROM t3
   WHERE d3 in (548,737,719,503,38,944)
      OR (685=b3 AND c3=963 AND 70=a3 AND 1=d3 AND 145=e3)
      OR (310=e3)
INTERSECT
  SELECT d5 FROM t5
   WHERE NOT ((b5=559 AND e5=68 AND 442=c5 AND a5=242))
UNION ALL
  SELECT a7 FROM t7
   WHERE e7 in (291,887,971,408,815,156,979,282,428)
EXCEPT
  SELECT e1 FROM t1
   WHERE NOT (d1 in (581,163,55,691,217,105,298,215,748,701,212,0,86,990)
           OR (b1=259))

query T valuesort
  SELECT b9 FROM t9
   WHERE c9 in (531,288,95,180,894,800,643,222)
      OR (a9=69)
UNION
  SELECT a8 FROM t8
   WHERE (374=c8 OR a8=341 OR 392=e8)
      OR (841=a8)
      OR (e8=980 AND 34=b8 AND 650=a8 AND 630=d8 AND c8=501)
EXCEPT
  SELECT e5 FROM t5
   WHERE NOT (b5 in (744,389,674)
           OR c5 in (797,31,72,147,598,855)
           OR (544=c5 AND d5=883 AND 737=e5 AND 234=b5))
EXCEPT
  SELECT a1 FROM t1
   WHERE NOT ((963=a1 OR 231=a1)
           OR (b1=355))
UNION
  SELECT e6 FROM t6
   WHERE b6 in (250,993,905,962,541,350,915,507,158,882,905,243,463)
      OR e6 in (707,5,466,761,511,14,241,329,847,211,574,503,531,798)
UNION ALL
  SELECT c7 FROM t7
   WHERE (954=c7 OR e7=887 OR d7=671)
EXCEPT
  SELECT e4 FROM t4
   WHERE NOT ((b4=884)
           OR (c4=215)
           OR (579=a4 AND e4=300 AND b4=961 AND 794=d4))

query T valuesort
  SELECT e1 FROM t1
   WHERE (c1=416 AND 981=a1)
      OR (b1=645 AND d1=820 AND c1=966 AND 497=e1 AND a1=702)
UNION
  SELECT e8 FROM t8
   WHERE (a8=129 AND e8=320)
      OR (d8=439 OR 242=a8 OR 795=a8)
      OR (d8=835 AND 375=c8 AND 349=e8 AND 472=a8 AND 397=b8)
UNION ALL
  SELECT c4 FROM t4
   WHERE (c4=297 OR e4=212)
UNION
  SELECT c2 FROM t2
   WHERE (838=d2)
      OR (522=a2 AND 640=b2 AND d2=577 AND 679=e2)
UNION ALL
  SELECT d9 FROM t9
   WHERE (905=a9 OR 486=e9)
EXCEPT
  SELECT e6 FROM t6
   WHERE NOT ((d6=34)
           OR e6 in (225,738,261,634,798,972,283,531,958,766,840,737,585,794)
           OR c6 in (287,513,751,424))
UNION
  SELECT a7 FROM t7
   WHERE (166=b7)
EXCEPT
  SELECT d3 FROM t3
   WHERE NOT ((524=d3)
           OR (929=c3 OR 60=d3 OR b3=566)
           OR (d3=866 OR 624=d3))
UNION
  SELECT a5 FROM t5
   WHERE (661=b5)

query T valuesort
  SELECT e6 FROM t6
   WHERE (601=b6 OR 710=b6)
      OR (466=e6 AND d6=428)
UNION
  SELECT e3 FROM t3
   WHERE a3 in (143,947,378,710,262,784,576,145,197,490,376,500,581,393)
      OR e3 in (836,218,975,163,527,375,807)
      OR (28=b3 AND 16=a3 AND 40=c3 AND 487=d3)
EXCEPT
  SELECT d8 FROM t8
   WHERE NOT ((807=b8)
           OR (a8=200)
           OR (1=b8 AND c8=111 AND 893=e8 AND 2=d8))
EXCEPT
  SELECT d1 FROM t1
   WHERE NOT ((414=b1 AND 483=e1 AND 382=a1 AND 67=c1)
           OR (b1=48 OR 620=c1 OR 312=e1)
           OR (d1=585 OR d1=297))
EXCEPT
  SELECT a9 FROM t9
   WHERE NOT ((240=a9 OR b9=211)
           OR (a9=474 OR d9=926 OR a9=694)
           OR a9 in (41,295,891,485,5,706,953,535,14,662,919))
EXCEPT
  SELECT b2 FROM t2
   WHERE NOT (d2 in (14,838,838,541,547,209,263,476,126,367,152,854)
           OR (577=d2 AND 988=c2))
EXCEPT
  SELECT b4 FROM t4
   WHERE NOT ((12=e4 AND c4=483)
           OR (136=a4 AND 584=c4 AND 379=b4 AND 681=d4 AND e4=543)
           OR c4 in (832,403,904,536,357,220,513,791,609,424))
EXCEPT
  SELECT b5 FROM t5
   WHERE NOT ((e5=188 OR 740=a5 OR d5=772)
           OR (856=d5 OR b5=998 OR 557=d5))
EXCEPT
  SELECT b7 FROM t7
   WHERE NOT ((278=d7))

query T valuesort
  SELECT a3 FROM t3
   WHERE b3 in (407,178,124,224,382,814,334,27)
      OR (d3=314 AND a3=244)
      OR d3 in (480,650,809,173,364)
INTERSECT
  SELECT e4 FROM t4
   WHERE NOT (e4 in (29,476,151,512,237,252,531,739,349)
           OR (a4=408 AND 157=c4))

query T valuesort
  SELECT d1 FROM t1
   WHERE (300=e1 AND 299=c1 AND a1=579 AND b1=781 AND 626=d1)
      OR c1 in (736,637,882,681,458,905,62)
      OR (d1=310 OR a1=538 OR 110=e1)
UNION
  SELECT c3 FROM t3
   WHERE a3 in (499,935,576,515,306,16)
      OR (e3=586 AND 490=a3)
      OR (b3=474 OR c3=7)
UNION ALL
  SELECT b9 FROM t9
   WHERE (525=b9)
EXCEPT
  SELECT b5 FROM t5
   WHERE NOT ((a5=24)
           OR (b5=161 OR d5=570))
UNION
  SELECT e2 FROM t2
   WHERE (901=a2 OR b2=170)
      OR (988=c2 AND b2=640 AND a2=522 AND e2=679 AND 577=d2)
      OR (d2=847 AND 181=b2 AND a2=189)
EXCEPT
  SELECT a6 FROM t6
   WHERE NOT (b6 in (390,6,54,267,512,699,782,350,449,681,774,541,44))
UNION ALL
  SELECT b4 FROM t4
   WHERE c4 in (690,984,214,436,215,2)
      OR (b4=535 AND c4=451 AND 439=a4)
      OR (107=b4 OR d4=146)
EXCEPT
  SELECT d8 FROM t8
   WHERE NOT ((a8=900 AND c8=233 AND b8=690)
           OR (d8=667)
           OR a8 in (15,90,289))

query T valuesort
  SELECT c3 FROM t3
   WHERE b3 in (847,677,814,779,240,214,998,740,57,203,411)
      OR e3 in (981,844,318,892,731,993,87)
EXCEPT
  SELECT c7 FROM t7
   WHERE NOT ((b7=250 OR c7=146)
           OR (c7=607 AND 670=b7 AND 31=e7 AND d7=212))
EXCEPT
  SELECT c8 FROM t8
   WHERE NOT ((c8=563 OR 807=b8 OR 636=d8)
           OR d8 in (542,682,112,96,494)
           OR e8 in (981,305,678,180,874,416,7))
EXCEPT
  SELECT d9 FROM t9
   WHERE NOT ((a9=841)
           OR (101=c9 AND a9=488))
UNION ALL
  SELECT c6 FROM t6
   WHERE (a6=585 AND 901=d6 AND b6=378 AND 308=c6 AND 946=e6)
      OR (b6=541)
EXCEPT
  SELECT a2 FROM t2
   WHERE NOT ((b2=509 AND 336=a2 AND d2=813 AND 692=e2)
           OR b2 in (168,968,864,725,276,264,329,380,93,754))

query T valuesort
  SELECT e2 FROM t2
   WHERE (233=d2 AND 560=c2 AND 676=b2)
      OR (a2=185 OR d2=351 OR a2=56)
      OR a2 in (217,651,901,891,927,445,980)
UNION
  SELECT c6 FROM t6
   WHERE (d6=901 OR 390=b6)
      OR (d6=21 OR c6=648)
EXCEPT
  SELECT e8 FROM t8
   WHERE NOT ((88=c8 AND 320=e8)
           OR c8 in (354,377,935,394,683,279,448)
           OR e8 in (776,416,485,980,859,204,273,510,488,469,463))
EXCEPT
  SELECT d3 FROM t3
   WHERE NOT ((c3=472 OR 393=e3 OR 73=c3))

query T valuesort
  SELECT a4 FROM t4
   WHERE a4 in (804,847,723,139,281,448,152)
      OR (639=d4 AND 261=a4)
      OR (e4=372 AND a4=185 AND 877=b4 AND d4=441 AND c4=455)
UNION
  SELECT e9 FROM t9
   WHERE d9 in (660,646,489,268,467,345,495,591)
      OR (235=d9 OR 456=b9 OR d9=646)
EXCEPT
  SELECT e7 FROM t7
   WHERE NOT ((249=c7)
           OR (416=a7)
           OR e7 in (460,562,976,929,201))
EXCEPT
  SELECT a1 FROM t1
   WHERE NOT (d1 in (427,761,750,585,376,319,806,619,661,105)
           OR (a1=879))
EXCEPT
  SELECT e2 FROM t2
   WHERE NOT (b2 in (820,681,714,888,148,674)
           OR (625=c2 OR b2=73 OR a2=185))
EXCEPT
  SELECT c3 FROM t3
   WHERE NOT ((578=e3 OR a3=892 OR 480=d3))

query T valuesort
  SELECT d2 FROM t2
   WHERE e2 in (463,505,434,499,720,117)
UNION
  SELECT b5 FROM t5
   WHERE e5 in (716,621,764,144)
      OR c5 in (809,527,941,442,348,678,155)
      OR (744=b5 OR e5=894)
EXCEPT
  SELECT c4 FROM t4
   WHERE NOT (e4 in (491,805,482,12)
           OR (b4=901 OR 450=a4 OR b4=589)
           OR (c4=422 OR 163=e4))
UNION
  SELECT a8 FROM t8
   WHERE c8 in (291,273,851,693,279,166,775,965,377,648,284)

query T valuesort
  SELECT c7 FROM t7
   WHERE (131=d7 OR d7=673)
      OR (c7=981 OR 364=d7)
      OR (407=b7)
UNION
  SELECT b3 FROM t3
   WHERE (336=d3 OR e3=526)
      OR (d3=118 OR d3=662 OR 483=d3)
EXCEPT
  SELECT c1 FROM t1
   WHERE NOT ((173=a1)
           OR (d1=96))
UNION ALL
  SELECT c8 FROM t8
   WHERE (a8=474 OR d8=631)
      OR (56=e8 OR 610=d8)
      OR (388=a8 OR 578=a8 OR c8=260)

query T valuesort
  SELECT c2 FROM t2
   WHERE e2 in (692,940,548,629,427,899,151,463,307)
UNION
  SELECT c3 FROM t3
   WHERE (616=b3 OR c3=555 OR a3=186)
      OR (958=d3 AND 872=a3 AND e3=464 AND b3=321)
      OR b3 in (334,566,437)
UNION ALL
  SELECT e5 FROM t5
   WHERE a5 in (757,447,730,642,5,69,373,882,743)
      OR (678=c5 AND 621=e5 AND b5=98)
UNION ALL
  SELECT a9 FROM t9
   WHERE (845=e9 AND d9=489)
      OR c9 in (857,975,273,853,696,923,146,601,547,64,224)
      OR c9 in (98,87,37,187)
EXCEPT
  SELECT a4 FROM t4
   WHERE NOT (c4 in (804,188,964,832,993,215,667,344,703,82,904,768,936)
           OR (c4=783 OR b4=402)
           OR d4 in (268,317,509,844,212,481,85,260,953))
UNION ALL
  SELECT c6 FROM t6
   WHERE (c6=399 OR b6=933)
      OR (729=c6 OR 158=b6 OR 390=b6)
      OR a6 in (811,128,740,683,585,129,1,436,973,963,173)
UNION ALL
  SELECT b1 FROM t1
   WHERE (a1=358)
UNION ALL
  SELECT e7 FROM t7
   WHERE b7 in (460,579,220,979)

query T valuesort
  SELECT b6 FROM t6
   WHERE (852=d6 AND c6=454 AND b6=427)
      OR b6 in (716,984,350,6,421,232,604)
      OR (360=e6 OR 95=e6)
UNION
  SELECT e1 FROM t1
   WHERE c1 in (486,639,902,758,12,623,207)
      OR (358=a1)
UNION ALL
  SELECT a5 FROM t5
   WHERE e5 in (610,944,585,887,22,772,364,902,270,592,143,899,594,41)
      OR (499=e5 OR e5=561 OR e5=758)
EXCEPT
  SELECT e9 FROM t9
   WHERE NOT (a9 in (104,269,830,924,72,474,511,429,919,11,273))
EXCEPT
  SELECT d8 FROM t8
   WHERE NOT ((631=d8)
           OR (418=c8 OR c8=973)
           OR (6=b8 AND 400=a8))
UNION ALL
  SELECT b7 FROM t7
   WHERE (408=e7 AND b7=396 AND 399=d7 AND c7=813 AND 97=a7)
      OR (508=c7 OR 280=b7 OR 966=c7)
UNION ALL
  SELECT a3 FROM t3
   WHERE e3 in (221,765,7,425,932,536,871,951,25,163,3,393)
      OR d3 in (923,548,825,764,850,135)

query T valuesort
  SELECT d1 FROM t1
   WHERE a1 in (996,674,382,607,109,584,981)
EXCEPT
  SELECT a4 FROM t4
   WHERE NOT ((484=c4 AND e4=206 AND b4=784 AND a4=105 AND 844=d4))
EXCEPT
  SELECT c6 FROM t6
   WHERE NOT ((490=b6 AND a6=818 AND 405=d6 AND 654=e6)
           OR (283=e6 OR a6=64))
UNION
  SELECT e3 FROM t3
   WHERE (244=c3 AND b3=566)
      OR (375=c3 AND a3=75)
      OR (66=d3 OR 913=e3 OR 549=a3)
EXCEPT
  SELECT a7 FROM t7
   WHERE NOT ((574=a7))
UNION
  SELECT a5 FROM t5
   WHERE (697=c5 OR 882=a5 OR e5=188)
      OR (364=e5 AND 800=a5 AND b5=502 AND 989=c5)
UNION ALL
  SELECT d2 FROM t2
   WHERE (505=a2 OR 760=a2 OR a2=637)
      OR (900=c2)
UNION ALL
  SELECT e9 FROM t9
   WHERE (349=c9 OR a9=218 OR e9=792)
      OR c9 in (75,273,62,232,807,90,240,905)
UNION
  SELECT d8 FROM t8
   WHERE e8 in (635,392,106,422,944,175,7,548,972,431,46,64)
      OR (794=a8 OR 542=d8 OR 155=b8)

query T valuesort
  SELECT d4 FROM t4
   WHERE (d4=665 AND e4=85 AND 271=b4 AND 752=a4 AND 0=c4)
      OR b4 in (589,826,184,114,810,357,372,607)
INTERSECT
  SELECT b1 FROM t1
   WHERE NOT (c1 in (253,776,368,152,402,629,172,441,864,716,623)
           OR (558=e1)
           OR (c1=419))
UNION ALL
  SELECT a2 FROM t2
   WHERE c2 in (900,854,819,123,137,729,988,292)
      OR b2 in (418,113,220,811)
      OR (c2=725)
UNION ALL
  SELECT d8 FROM t8
   WHERE a8 in (651,961,5,248,328,453,54,994)
      OR (e8=761)

query T valuesort
  SELECT b2 FROM t2
   WHERE (275=b2)
UNION
  SELECT a3 FROM t3
   WHERE (c3=806 OR 66=d3 OR 224=b3)
UNION ALL
  SELECT a4 FROM t4
   WHERE (554=e4)
UNION ALL
  SELECT e8 FROM t8
   WHERE (952=a8 AND 448=c8 AND 269=b8)
      OR e8 in (455,533,617,806,64,463,296,579)
      OR b8 in (761,690,493)
EXCEPT
  SELECT a1 FROM t1
   WHERE NOT ((d1=154 AND c1=246)
           OR (738=a1))
EXCEPT
  SELECT c6 FROM t6
   WHERE NOT ((993=d6)
           OR (e6=840 OR c6=620))
UNION ALL
  SELECT d9 FROM t9
   WHERE (e9=150)
      OR (d9=668)

query T valuesort
  SELECT a5 FROM t5
   WHERE a5 in (597,988,9,69)
      OR e5 in (725,656,729,25)
EXCEPT
  SELECT d2 FROM t2
   WHERE NOT (d2 in (292,198,753,525,351,137,46,373,892,362,351,241,887))
EXCEPT
  SELECT e3 FROM t3
   WHERE NOT ((890=c3 AND a3=380 AND 364=d3 AND b3=932)
           OR b3 in (103,445,76,874,381,266,584,124,73))
EXCEPT
  SELECT b1 FROM t1
   WHERE NOT ((828=b1)
           OR (e1=299)
           OR d1 in (972,481,407,618))
EXCEPT
  SELECT b7 FROM t7
   WHERE NOT ((995=a7 OR a7=665 OR 340=b7)
           OR (705=c7 AND 832=b7 AND 197=e7))

query T valuesort
  SELECT d8 FROM t8
   WHERE (c8=394 OR 81=d8 OR b8=761)
      OR (259=b8 AND d8=761)
      OR (901=c8 AND 210=d8)
UNION
  SELECT a2 FROM t2
   WHERE e2 in (427,411,483,554,556,512,899)
      OR (d2=843 OR 810=c2 OR 869=c2)
      OR e2 in (223,505,572,604)
UNION
  SELECT a4 FROM t4
   WHERE a4 in (92,752,136,151,448,982,423,489,922,509)
      OR e4 in (179,311,103,543,257,123,252,480)
      OR (d4=268 OR e4=37)

query T valuesort
  SELECT e1 FROM t1
   WHERE d1 in (973,213,508,223,577,55,38,432,87,17,701)
UNION ALL
  SELECT a6 FROM t6
   WHERE c6 in (637,513,528,292,963)
UNION ALL
  SELECT c9 FROM t9
   WHERE (230=e9 OR e9=736 OR 418=e9)
      OR (253=c9)
      OR (273=a9 AND 146=e9 AND c9=457 AND 463=d9)
EXCEPT
  SELECT a8 FROM t8
   WHERE NOT ((512=d8)
           OR (113=a8 OR b8=807 OR a8=400)
           OR (608=e8))
EXCEPT
  SELECT d2 FROM t2
   WHERE NOT ((c2=449)
           OR c2 in (996,823,728))

query T valuesort
  SELECT b3 FROM t3
   WHERE (c3=178 OR 334=b3)
      OR (75=a3 AND 375=c3 AND 984=d3)
EXCEPT
  SELECT d8 FROM t8
   WHERE NOT ((c8=266 AND 769=d8)
           OR (691=c8)
           OR (683=d8 AND 386=b8 AND 848=a8))
EXCEPT
  SELECT e1 FROM t1
   WHERE NOT (a1 in (145,524,23,161,330,702,810,433,963,498,552))
UNION
  SELECT d6 FROM t6
   WHERE d6 in (778,367,129,846,197,561,321,647,729,956,405)

query T valuesort
  SELECT c2 FROM t2
   WHERE d2 in (806,265,488,332)
      OR (640=b2 OR 725=c2 OR 35=a2)
EXCEPT
  SELECT b7 FROM t7
   WHERE NOT ((a7=267 OR 180=c7))
EXCEPT
  SELECT c5 FROM t5
   WHERE NOT ((155=d5 AND 326=b5)
           OR c5 in (634,485,668,72,545,697,351,101,601,551,249,625)
           OR (934=c5 AND e5=446 AND a5=743))
EXCEPT
  SELECT e9 FROM t9
   WHERE NOT ((e9=230)
           OR d9 in (23,744,938,264,270,226,258,111,145)
           OR (b9=74 AND d9=495))
EXCEPT
  SELECT d3 FROM t3
   WHERE NOT ((b3=70 AND 683=d3 AND c3=885 AND a3=396 AND 527=e3)
           OR (a3=105))
UNION
  SELECT b6 FROM t6
   WHERE (674=d6 AND 541=b6 AND a6=255 AND 154=e6)
      OR (24=e6 OR 613=d6 OR c6=832)
      OR (a6=270 OR a6=436)

query T valuesort
  SELECT c8 FROM t8
   WHERE (563=a8 AND d8=761 AND c8=762)
UNION
  SELECT e3 FROM t3
   WHERE (b3=76 OR 399=d3 OR 360=c3)
UNION
  SELECT a4 FROM t4
   WHERE d4 in (166,264,105)
      OR (162=c4 OR c4=948 OR e4=725)

query T valuesort
  SELECT a8 FROM t8
   WHERE (129=a8)
      OR (a8=259 AND b8=705 AND d8=326 AND c8=851 AND 561=e8)
      OR (d8=370 OR 397=b8 OR 578=e8)
UNION ALL
  SELECT b4 FROM t4
   WHERE (585=c4 AND d4=260 AND b4=901)
      OR (627=b4 OR a4=450 OR d4=264)

query T valuesort
  SELECT c2 FROM t2
   WHERE (830=c2 OR 725=b2 OR a2=9)
UNION
  SELECT e7 FROM t7
   WHERE (317=c7 AND d7=675 AND 881=b7 AND 156=e7 AND a7=299)
      OR b7 in (30,510,178,913,764,67)
      OR (a7=854 OR b7=921 OR a7=500)
EXCEPT
  SELECT b9 FROM t9
   WHERE NOT (d9 in (606,682,549,568,795))
EXCEPT
  SELECT a8 FROM t8
   WHERE NOT (e8 in (700,918,617,561,199)
           OR c8 in (166,648,790,266,427))
UNION ALL
  SELECT b4 FROM t4
   WHERE e4 in (931,350,132,206,677,820,29,531,816,12)
      OR (c4=119 AND b4=114)
UNION ALL
  SELECT b5 FROM t5
   WHERE (a5=626 AND c5=545 AND b5=183 AND e5=342)
      OR (725=e5 AND c5=56 AND 526=b5)
UNION
  SELECT c6 FROM t6
   WHERE (161=c6 AND b6=915 AND a6=469 AND 668=e6 AND d6=885)
      OR (b6=250 OR 752=c6)
EXCEPT
  SELECT d1 FROM t1
   WHERE NOT (b1 in (914,594,807)
           OR (d1=666 AND 267=a1 AND 716=c1 AND 283=b1)
           OR a1 in (963,276,536,88,76,579,145))
EXCEPT
  SELECT d3 FROM t3
   WHERE NOT ((702=e3 OR 211=c3 OR a3=743)
           OR (a3=349 AND b3=542 AND 658=d3 AND e3=304))

query T valuesort
  SELECT e8 FROM t8
   WHERE (298=c8 AND a8=994 AND 384=d8 AND 370=b8)
EXCEPT
  SELECT b9 FROM t9
   WHERE NOT ((495=d9 AND 39=c9 AND 262=b9 AND a9=41)
           OR (e9=542 OR d9=164 OR a9=841)
           OR (855=b9 OR b9=819))
UNION ALL
  SELECT b3 FROM t3
   WHERE (c3=601 OR 361=d3)
      OR (c3=777 OR d3=399 OR 835=b3)
      OR e3 in (984,821,275,119,108,260,547,552,249,424,913)
UNION
  SELECT a5 FROM t5
   WHERE (756=c5 AND b5=161 AND 332=a5)
UNION
  SELECT a1 FROM t1
   WHERE (a1=972)
EXCEPT
  SELECT b7 FROM t7
   WHERE NOT ((b7=579 AND e7=31 AND d7=527 AND 262=c7 AND a7=97)
           OR (971=e7))
EXCEPT
  SELECT a4 FROM t4
   WHERE NOT ((e4=81)
           OR a4 in (990,625,271,662,921,540,513,982))

query T valuesort
  SELECT a3 FROM t3
   WHERE (211=b3 AND a3=608 AND 46=d3)
EXCEPT
  SELECT a6 FROM t6
   WHERE NOT (a6 in (300,132,801,251,522,436,129,2,818,973,128,452))
EXCEPT
  SELECT e5 FROM t5
   WHERE NOT (e5 in (130,311,758,390,157,937,874,812,749,9,150)
           OR b5 in (629,789,338,26,858,661,193,695,234,930))
UNION
  SELECT a9 FROM t9
   WHERE a9 in (18,149,273,559,660,160,611,389,318,803,177,584,488,435)
      OR (919=a9)
      OR (a9=218 OR 912=d9)
UNION
  SELECT e4 FROM t4
   WHERE (d4=653 AND 737=e4)
      OR d4 in (136,229,821,820,819,736,706)
EXCEPT
  SELECT d7 FROM t7
   WHERE NOT ((837=b7 AND 39=e7 AND d7=397 AND 267=a7 AND 648=c7)
           OR (341=c7 OR c7=238 OR c7=441))
UNION
  SELECT d8 FROM t8
   WHERE (d8=637 AND e8=180)
      OR (738=d8 AND a8=312 AND b8=397 AND 5=c8)

query T valuesort
  SELECT e7 FROM t7
   WHERE (b7=924 OR e7=508 OR b7=634)
      OR d7 in (724,684,956,781,315,205,572,982,817,296)
INTERSECT
  SELECT e5 FROM t5
   WHERE NOT ((559=b5))
UNION
  SELECT c1 FROM t1
   WHERE (b1=254)
UNION
  SELECT d4 FROM t4
   WHERE e4 in (438,885,38,476,12,37,377,257,816,631,252)
EXCEPT
  SELECT b3 FROM t3
   WHERE NOT ((e3=7 AND 697=a3 AND 124=b3 AND c3=688))
UNION
  SELECT a6 FROM t6
   WHERE (b6=350 OR a6=811)
      OR d6 in (337,647,367)
      OR c6 in (992,528,328,123,522,45,769)
EXCEPT
  SELECT c2 FROM t2
   WHERE NOT ((d2=931 AND 574=a2)
           OR (c2=193 OR d2=854 OR d2=256)
           OR (b2=276 AND a2=817 AND 177=d2 AND 496=c2 AND 753=e2))
UNION ALL
  SELECT c9 FROM t9
   WHERE (739=c9 OR 764=c9)
      OR (a9=549 OR e9=788 OR b9=136)
      OR d9 in (686,662,679,618,274,258,759,161,628,23,347)

query T valuesort
  SELECT c3 FROM t3
   WHERE (677=b3 OR 513=a3 OR e3=4)
EXCEPT
  SELECT a1 FROM t1
   WHERE NOT ((c1=976 AND a1=551 AND e1=558 AND 381=d1))
UNION ALL
  SELECT c5 FROM t5
   WHERE a5 in (319,153,929,597,311,69,447,190)
      OR d5 in (919,667,964)
      OR (d5=437 OR 749=e5)
EXCEPT
  SELECT c9 FROM t9
   WHERE NOT ((647=e9 OR e9=934))

query T valuesort
  SELECT c3 FROM t3
   WHERE a3 in (727,129,383,637,727,829,697,105,490,763,929,275,913,265)
INTERSECT
  SELECT e8 FROM t8
   WHERE NOT ((250=c8))
INTERSECT
  SELECT c9 FROM t9
   WHERE NOT (b9 in (821,848,251,19,26,855,170)
           OR e9 in (799,15,845,841,968,868,335,418,291,383,750,197,647)
           OR a9 in (78,240,463,378,468,413,149))

query T valuesort
  SELECT d5 FROM t5
   WHERE (186=b5 OR 352=e5 OR 958=a5)
      OR c5 in (12,140,86)
      OR (b5=716 OR c5=915 OR 56=b5)
UNION
  SELECT c1 FROM t1
   WHERE (e1=949 OR 992=d1 OR e1=904)
      OR (b1=572 OR 519=d1)
UNION
  SELECT c9 FROM t9
   WHERE (c9=955 OR 327=c9)
UNION ALL
  SELECT b4 FROM t4
   WHERE d4 in (260,987,231,349,820,943,681,910,901,617)
      OR (229=d4 AND e4=951)
      OR (a4=629)

query T valuesort
  SELECT e7 FROM t7
   WHERE a7 in (736,6,433,958)
      OR (523=c7 AND 979=e7 AND 177=d7)
      OR (e7=302 OR 851=e7 OR d7=346)
EXCEPT
  SELECT a9 FROM t9
   WHERE NOT ((e9=264 AND 535=a9 AND b9=864 AND 568=d9 AND c9=955))
EXCEPT
  SELECT d4 FROM t4
   WHERE NOT ((e4=596 AND b4=23))
UNION
  SELECT a2 FROM t2
   WHERE (245=a2)

query T valuesort
  SELECT d5 FROM t5
   WHERE (942=b5 AND a5=132)
      OR a5 in (153,270,5)
      OR d5 in (847,514,343,963,856,691,960,4,835,731,742)
UNION ALL
  SELECT b2 FROM t2
   WHERE a2 in (664,56,910,268,1,336,779)
      OR (d2=838 AND 985=b2 AND a2=936 AND c2=512 AND e2=629)
EXCEPT
  SELECT a4 FROM t4
   WHERE NOT (e4 in (405,237,312,854,372,858,312,951,12,163,557,217)
           OR (319=c4 OR 739=e4)
           OR (481=d4 OR d4=881 OR 925=b4))
UNION ALL
  SELECT b8 FROM t8
   WHERE d8 in (439,179,422,711,291,761,899,835,743)
      OR (a8=564)
      OR (454=b8 OR 381=e8)

query T valuesort
  SELECT a9 FROM t9
   WHERE e9 in (679,542,788,146,127,841,245,418)
      OR (c9=469 AND 818=b9)
INTERSECT
  SELECT d4 FROM t4
   WHERE NOT (a4 in (74,442,948,60,451,82,105,261,81,921,234,139,105)
           OR c4 in (758,658,221,732,712))
INTERSECT
  SELECT c5 FROM t5
   WHERE NOT (a5 in (153,821,373,18,99,319,55,270,743,392,331,988)
           OR (502=b5 AND 855=d5 AND 989=c5 AND 800=a5 AND 364=e5)
           OR c5 in (485,678,697,634,978,152,261,729,696,527,3,797,657,805))
INTERSECT
  SELECT d3 FROM t3
   WHERE NOT ((435=c3 OR b3=211)
           OR (a3=594 AND 578=e3 AND 650=d3))
INTERSECT
  SELECT b7 FROM t7
   WHERE NOT (c7 in (954,94,843,970,206,243,375)
           OR (315=d7 AND b7=257 AND 290=a7)
           OR (e7=624 AND c7=22 AND a7=466 AND d7=787))

query T valuesort
  SELECT e2 FROM t2
   WHERE (135=a2)
      OR (211=b2 AND d2=844)
      OR (725=c2 OR e2=753 OR 538=a2)
EXCEPT
  SELECT c8 FROM t8
   WHERE NOT ((e8=46 AND a8=913)
           OR (74=c8 AND b8=105))
UNION ALL
  SELECT d3 FROM t3
   WHERE a3 in (164,576,135,162,591)
EXCEPT
  SELECT e1 FROM t1
   WHERE NOT ((553=c1 OR 690=c1 OR c1=537)
           OR (a1=477 OR d1=75 OR 416=c1))
UNION ALL
  SELECT a7 FROM t7
   WHERE (d7=177 AND 503=b7 AND a7=707 AND 955=e7)
EXCEPT
  SELECT d4 FROM t4
   WHERE NOT ((657=d4)
           OR (e4=885 AND 220=b4)
           OR (a4=378 AND c4=162))
UNION
  SELECT a6 FROM t6
   WHERE (d6=750 OR e6=511)

query T valuesort
  SELECT d9 FROM t9
   WHERE e9 in (335,542,868)
      OR (868=e9 AND d9=646)
      OR (a9=485)
UNION
  SELECT c5 FROM t5
   WHERE (433=b5)
UNION ALL
  SELECT c8 FROM t8
   WHERE (935=c8)
      OR c8 in (901,442,790,404,979,908,844,448,789,154,249,136,427,799)
UNION
  SELECT c6 FROM t6
   WHERE (223=d6 AND 681=b6 AND e6=324)
      OR c6 in (928,522,769,543,961,528)
      OR c6 in (677,270,718,216,35,159)
EXCEPT
  SELECT c7 FROM t7
   WHERE NOT ((280=e7 AND a7=894 AND 606=c7 AND d7=105 AND b7=996)
           OR (e7=31 AND a7=97 AND 579=b7))
EXCEPT
  SELECT e1 FROM t1
   WHERE NOT ((b1=572)
           OR (e1=497))

query T valuesort
  SELECT a1 FROM t1
   WHERE (230=c1 AND 683=e1 AND d1=803 AND b1=807 AND a1=433)
      OR d1 in (75,418,217,346,265,234,577,18,221,394,581,315)
      OR (297=d1 AND 89=e1)
UNION ALL
  SELECT b2 FROM t2
   WHERE d2 in (310,260,265)
EXCEPT
  SELECT d6 FROM t6
   WHERE NOT ((b6=427 OR 572=a6)
           OR (839=a6 OR 1=a6 OR 144=b6)
           OR e6 in (654,915,631,74))
EXCEPT
  SELECT d8 FROM t8
   WHERE NOT (e8 in (700,678,349,632,233,186,578,392,646))

query T valuesort
  SELECT b2 FROM t2
   WHERE (c2=337 OR e2=125 OR b2=819)
      OR (c2=312 AND 264=b2)
      OR e2 in (647,213,386,720,483,781,556,445,220,114,808,138,433,427)
INTERSECT
  SELECT d5 FROM t5
   WHERE NOT ((234=b5 AND d5=361 AND c5=585 AND 339=a5)
           OR (b5=695 OR a5=174 OR e5=587))

query T valuesort
  SELECT b1 FROM t1
   WHERE (d1=310 OR 276=a1)
      OR a1 in (170,579,996,767,864,337,936,591,395,314,173,604,20)
      OR (32=b1 AND d1=793)
UNION
  SELECT a2 FROM t2
   WHERE (442=a2 OR d2=215)
      OR (337=c2)
      OR (b2=634)

query T valuesort
  SELECT c9 FROM t9
   WHERE (942=e9 AND 297=a9 AND 848=b9 AND 467=d9 AND c9=146)
      OR (d9=960)
      OR d9 in (388,608,525,164,86,553,23,439,235)
EXCEPT
  SELECT b4 FROM t4
   WHERE NOT (e4 in (438,390,631,405,103,661,565,835,619))
EXCEPT
  SELECT b1 FROM t1
   WHERE NOT ((90=e1)
           OR (774=c1 OR e1=52))
EXCEPT
  SELECT c7 FROM t7
   WHERE NOT (e7 in (506,302,816,688,900,92,455,254,272,782,862,945,183,456)
           OR (b7=541 AND 855=c7 AND d7=276 AND 995=a7)
           OR (688=e7 OR 467=c7 OR 114=a7))
UNION
  SELECT b3 FROM t3
   WHERE (378=a3 AND b3=214 AND d3=982 AND c3=651 AND 836=e3)
      OR e3 in (341,304,120,527,951,862,467,871,218,578,464,876)
      OR (984=d3 OR a3=143 OR 599=d3)
EXCEPT
  SELECT a8 FROM t8
   WHERE NOT ((d8=737 AND a8=127 AND c8=225 AND b8=975 AND e8=646)
           OR e8 in (510,864,809,866,533,678,463,548,956,38,175,383,431))

query T valuesort
  SELECT e2 FROM t2
   WHERE e2 in (512,812,386,556,242,205,841,852,307,696)
      OR (457=a2 AND 346=c2 AND 663=d2 AND 560=e2 AND b2=932)
      OR e2 in (366,16,117,510,228,647)
UNION ALL
  SELECT a5 FROM t5
   WHERE (a5=867 OR c5=570 OR 874=e5)
      OR (390=e5 OR b5=820)
      OR a5 in (81,878,615,339,730,301)
UNION
  SELECT b1 FROM t1
   WHERE b1 in (446,836,670,270,128,149)
EXCEPT
  SELECT d6 FROM t6
   WHERE NOT (d6 in (750,970,600,807,711,446,590,458,786,911)
           OR (216=c6 OR 414=a6)
           OR (847=e6 AND b6=276 AND 911=d6 AND 807=c6 AND 966=a6))
UNION
  SELECT e3 FROM t3
   WHERE (e3=596 OR 101=a3)
      OR (d3=95 AND 551=b3 AND 211=c3)
      OR (c3=823)
UNION
  SELECT e9 FROM t9
   WHERE (b9=524)
      OR d9 in (264,919,597,495,268,602,763,224,855,795,938,464)
      OR b9 in (864,912,549,804,893)
EXCEPT
  SELECT d7 FROM t7
   WHERE NOT ((651=a7 AND 392=b7)
           OR e7 in (122,303,503,841,638,183,184,282)
           OR (974=d7 AND 862=e7 AND b7=424 AND c7=954 AND a7=921))
UNION ALL
  SELECT b8 FROM t8
   WHERE (273=c8 OR 876=d8 OR 889=b8)
      OR (187=c8 AND b8=386 AND a8=848 AND 761=e8)

query T valuesort
  SELECT d8 FROM t8
   WHERE (314=a8 OR 250=c8)
      OR (e8=392 OR a8=113 OR b8=325)
      OR e8 in (635,383,579,180,411,273,866,381,893,809)
UNION ALL
  SELECT c3 FROM t3
   WHERE e3 in (119,192,108,536,464,728)
      OR (a3=995 OR d3=149 OR 555=c3)
      OR b3 in (874,876,73,211)
UNION
  SELECT b1 FROM t1
   WHERE e1 in (602,268,558,522)
      OR a1 in (637,324,382,524,445)
      OR (d1=936)
UNION
  SELECT a2 FROM t2
   WHERE (819=c2 AND 332=d2)
      OR e2 in (923,659,524,925,434,955,228,339,294,223,483,547,820)
EXCEPT
  SELECT a9 FROM t9
   WHERE NOT ((283=d9 OR c9=273 OR d9=347)
           OR (c9=75 OR 549=b9)
           OR (104=a9 OR 678=d9))
EXCEPT
  SELECT b5 FROM t5
   WHERE NOT ((d5=883 OR c5=855)
           OR e5 in (141,758,730,587,737,758,206,874)
           OR (351=c5))
UNION
  SELECT b7 FROM t7
   WHERE (e7=851 OR 709=c7 OR d7=134)
      OR (e7=595)
      OR (e7=508)
UNION ALL
  SELECT b6 FROM t6
   WHERE e6 in (646,237,633,40,255,67,395,678,495,24,67,511,211)
      OR b6 in (880,44,276,0,490,452,699,604,250,158,962,575,144,875)
UNION ALL
  SELECT d4 FROM t4
   WHERE a4 in (637,540,16,107,337,31,60,373,990,933,857,159,509)
      OR e4 in (465,977,350,397,381,63,546,212)

query T valuesort
  SELECT b4 FROM t4
   WHERE (653=d4 AND 707=b4 AND 301=c4 AND 737=e4 AND 260=a4)
      OR a4 in (621,804,505,579,662,723,281,589,261,637)
      OR (d4=819)
UNION
  SELECT a1 FROM t1
   WHERE (e1=855)
EXCEPT
  SELECT e5 FROM t5
   WHERE NOT ((c5=734))
UNION
  SELECT a9 FROM t9
   WHERE (104=d9)

query T valuesort
  SELECT e1 FROM t1
   WHERE (738=a1)
      OR (688=e1 OR 18=d1 OR 963=e1)
      OR (594=b1)
UNION
  SELECT d4 FROM t4
   WHERE (d4=905)
      OR (e4=850 AND d4=141 AND c4=489 AND 577=b4)
EXCEPT
  SELECT b9 FROM t9
   WHERE NOT ((d9=602)
           OR (264=e9)
           OR (e9=418 AND 240=a9 AND b9=688))
UNION
  SELECT d6 FROM t6
   WHERE c6 in (287,752,292,177,434,424,187,637,34,615,84,265,242,282)
UNION ALL
  SELECT b7 FROM t7
   WHERE d7 in (485,28,436,785,205,276,891,524,183,902,177,673,787,212)

query T valuesort
  SELECT d2 FROM t2
   WHERE d2 in (14,513,790,760,498,351,663,887,235,516,216,806)
      OR (869=a2 AND 902=c2 AND e2=114 AND d2=377)
UNION
  SELECT b3 FROM t3
   WHERE d3 in (273,726,375,480,850,683,118,719,168,729)
      OR (c3=324)
UNION ALL
  SELECT a6 FROM t6
   WHERE (172=d6 OR 211=e6)
      OR (d6=667)
      OR b6 in (158,710,461,351,662,537,54,229,915,629,933,967,876,565)
EXCEPT
  SELECT e4 FROM t4
   WHERE NOT ((671=c4))
UNION
  SELECT a8 FROM t8
   WHERE (b8=603)
UNION ALL
  SELECT b1 FROM t1
   WHERE d1 in (619,678,414,335,992,381,770,25,4,277,213)
      OR (585=d1 OR a1=222 OR c1=805)
EXCEPT
  SELECT b9 FROM t9
   WHERE NOT ((101=c9 AND b9=595 AND 161=d9 AND e9=819)
           OR d9 in (745,388,646,899,111,686,926,258))
EXCEPT
  SELECT b5 FROM t5
   WHERE NOT (e5 in (975,807,561,696,812,343,661,716,621,689,592)
           OR (858=b5))
EXCEPT
  SELECT c7 FROM t7
   WHERE NOT ((221=b7 AND c7=305 AND e7=301))

query T valuesort
  SELECT b6 FROM t6
   WHERE c6 in (270,609,534)
UNION ALL
  SELECT e1 FROM t1
   WHERE (558=e1 AND a1=963 AND c1=69 AND 457=d1)
      OR (e1=90 AND 761=d1 AND b1=88 AND 402=c1)
UNION ALL
  SELECT e8 FROM t8
   WHERE (563=c8 AND 98=b8 AND 485=e8)
UNION
  SELECT e3 FROM t3
   WHERE (339=c3 AND e3=837)
      OR (d3=809 OR b3=41 OR 821=e3)
      OR (524=d3)
UNION ALL
  SELECT d2 FROM t2
   WHERE c2 in (197,688,449,182,251,992,137,247,887,275,793)
UNION
  SELECT d7 FROM t7
   WHERE (a7=806)
      OR (a7=233 AND 92=e7 AND c7=302 AND d7=507 AND 726=b7)
EXCEPT
  SELECT b4 FROM t4
   WHERE NOT (b4 in (587,941,982,407,961,319,323,721,402,802,68,538,888,624)
           OR (e4=677 AND 513=a4 AND 929=d4))

query T valuesort
  SELECT c3 FROM t3
   WHERE (e3=119 OR 386=a3 OR e3=303)
      OR b3 in (761,534,130)
      OR (e3=774)
EXCEPT
  SELECT b5 FROM t5
   WHERE NOT (a5 in (357,81,514,826,929,311)
           OR (812=e5 AND 193=b5 AND c5=44 AND 805=d5 AND a5=362))
EXCEPT
  SELECT e2 FROM t2
   WHERE NOT (e2 in (220,638,548,945,505,483,463,720))
EXCEPT
  SELECT a8 FROM t8
   WHERE NOT ((466=b8)
           OR (540=b8))
UNION
  SELECT c7 FROM t7
   WHERE (851=e7 OR e7=432)
      OR d7 in (772,500,765,777,885,328,539,79,817,902,603,292,837)
      OR (c7=887 OR d7=34)

query T valuesort
  SELECT e3 FROM t3
   WHERE (929=c3)
      OR a3 in (863,98,777,347,429,275)
      OR (238=d3 AND c3=477)
UNION ALL
  SELECT a6 FROM t6
   WHERE (271=d6)
      OR e6 in (840,175,809,95,550,574,946)
EXCEPT
  SELECT c1 FROM t1
   WHERE NOT ((696=e1))
EXCEPT
  SELECT d8 FROM t8
   WHERE NOT ((c8=273 AND d8=472 AND 609=b8))
EXCEPT
  SELECT a7 FROM t7
   WHERE NOT ((648=c7 AND 39=e7))

query T valuesort
  SELECT b9 FROM t9
   WHERE (b9=228)
      OR b9 in (170,19,936,680,142)
      OR (d9=601 OR 515=c9)
UNION
  SELECT c3 FROM t3
   WHERE e3 in (266,578,459,192,728,120,807,876,972,605)
UNION
  SELECT a7 FROM t7
   WHERE (e7=282)
      OR (315=d7)
      OR (158=a7 AND c7=102 AND b7=506 AND 851=e7 AND d7=506)
EXCEPT
  SELECT e5 FROM t5
   WHERE NOT (b5 in (338,569,723,822,161,998,234,587,336,661)
           OR b5 in (292,26,744,729,860,661,69,321,703,951,620,605,717,846)
           OR (851=a5 AND e5=732))
UNION
  SELECT d2 FROM t2
   WHERE (575=c2 OR e2=547)

query T valuesort
  SELECT e5 FROM t5
   WHERE a5 in (904,821,114,544,331,958,99,421,602,319,514,556,69)
      OR (526=b5 OR d5=729)
UNION
  SELECT e8 FROM t8
   WHERE a8 in (651,47,553,563,702,312,402,954,99,314,445)
UNION
  SELECT e3 FROM t3
   WHERE (354=d3 OR e3=131)
      OR (549=b3 AND 401=e3 AND 476=c3 AND a3=637 AND d3=645)
      OR b3 in (813,832,266,827,810,811,882,211,584)
UNION ALL
  SELECT c9 FROM t9
   WHERE a9 in (803,959,811,356,365,485,335,41,389,251,18)
      OR b9 in (12,170,127,348,789)
UNION
  SELECT b7 FROM t7
   WHERE (118=d7 OR a7=158 OR 296=d7)
      OR (d7=226 AND c7=795 AND a7=748 AND 508=e7 AND 263=b7)
      OR (982=d7 AND c7=284 AND b7=321)
EXCEPT
  SELECT a2 FROM t2
   WHERE NOT (a2 in (371,590,442,733,175,336,76,245,10,223,253))
EXCEPT
  SELECT a1 FROM t1
   WHERE NOT (d1 in (234,217,381,973,141,223,577,47,748)
           OR (e1=210 OR a1=231 OR 803=d1)
           OR e1 in (625,602,55,558,921,558))
EXCEPT
  SELECT b6 FROM t6
   WHERE NOT ((850=b6)
           OR (161=d6 OR e6=754 OR d6=60)
           OR (b6=629 OR b6=933))

query T valuesort
  SELECT b6 FROM t6
   WHERE b6 in (915,490,781,250,984,601,290,262,461,351,463,290,92)
      OR c6 in (295,513,864,441,12,543)
INTERSECT
  SELECT a7 FROM t7
   WHERE NOT (b7 in (129,178,374,276,827,396,234)
           OR (b7=129))
EXCEPT
  SELECT e5 FROM t5
   WHERE NOT ((319=a5 AND d5=745)
           OR e5 in (764,887,561,737)
           OR (d5=841 AND a5=9 AND c5=12 AND 851=e5))
UNION ALL
  SELECT e2 FROM t2
   WHERE (769=a2 AND b2=168 AND d2=806 AND e2=777)
EXCEPT
  SELECT c8 FROM t8
   WHERE NOT ((b8=656))
UNION
  SELECT b9 FROM t9
   WHERE d9 in (166,489,25,111,129)
EXCEPT
  SELECT c3 FROM t3
   WHERE NOT ((d3=624 AND a3=863 AND 467=c3 AND 592=b3 AND 665=e3)
           OR e3 in (821,466,854,401,536,169))

query T valuesort
  SELECT e6 FROM t6
   WHERE (293=a6 OR a6=270 OR a6=1)
      OR (c6=717 AND e6=816 AND 173=a6)
      OR b6 in (0,158,461,549,0,974)
EXCEPT
  SELECT d8 FROM t8
   WHERE NOT ((c8=88 OR d8=916 OR 354=c8)
           OR c8 in (377,541,404,693,961))
UNION ALL
  SELECT a7 FROM t7
   WHERE (a7=982 OR 879=a7 OR 575=d7)
      OR (b7=693 OR 260=c7)
UNION ALL
  SELECT e3 FROM t3
   WHERE (266=b3 OR 970=c3 OR c3=492)
      OR (641=c3 AND 365=e3 AND 122=b3 AND d3=133 AND 105=a3)
UNION ALL
  SELECT e5 FROM t5
   WHERE c5 in (855,747,158,384,210,471,628,18,923)
      OR (511=e5 OR 569=b5 OR 511=e5)
      OR e5 in (386,436,225,41,232)
EXCEPT
  SELECT a9 FROM t9
   WHERE NOT ((a9=907 AND d9=164 AND 245=e9 AND 60=c9)
           OR (e9=854))

query T valuesort
  SELECT d4 FROM t4
   WHERE (e4=885 AND 127=c4 AND 220=b4)
EXCEPT
  SELECT b6 FROM t6
   WHERE NOT ((242=c6 AND a6=564 AND d6=2 AND b6=974))
UNION ALL
  SELECT a3 FROM t3
   WHERE (108=e3 OR c3=890)
      OR (854=e3 AND d3=355 AND 457=a3)
EXCEPT
  SELECT a5 FROM t5
   WHERE NOT ((894=e5 AND 349=a5)
           OR a5 in (55,296,447,335,50,267,818,826,749,522)
           OR a5 in (270,180,921,818,513,153,615,311))
EXCEPT
  SELECT c7 FROM t7
   WHERE NOT ((e7=929 AND 936=a7 AND 196=d7)
           OR (d7=278 AND 522=e7 AND a7=9 AND 744=c7 AND 42=b7)
           OR (973=b7 OR d7=183 OR b7=159))
UNION
  SELECT e2 FROM t2
   WHERE (b2=170)
      OR (73=e2 AND 860=d2)
      OR e2 in (965,682,535,638,40,699)

query T valuesort
  SELECT a5 FROM t5
   WHERE a5 in (958,683,297)
      OR b5 in (665,389,56,403,606,26,554,858,942,559,934,640,390)
      OR (958=a5)
INTERSECT
  SELECT d7 FROM t7
   WHERE NOT ((a7=240 AND 884=e7 AND 164=d7 AND b7=488 AND c7=970)
           OR e7 in (827,456,344,827,455,976,234,67))
UNION
  SELECT e9 FROM t9
   WHERE (665=d9 AND a9=830 AND 804=e9)
      OR (285=b9 OR 240=c9 OR 469=c9)
      OR (a9=160 OR e9=383 OR a9=263)
UNION
  SELECT e6 FROM t6
   WHERE d6 in (73,929,974,185)
      OR (928=c6 OR e6=14 OR 867=d6)
      OR (b6=967 OR d6=974)
EXCEPT
  SELECT c1 FROM t1
   WHERE NOT ((c1=585 AND 128=b1 AND a1=967))
EXCEPT
  SELECT e8 FROM t8
   WHERE NOT ((d8=494))

query T valuesort
  SELECT d9 FROM t9
   WHERE (d9=439 AND b9=64 AND a9=115)
EXCEPT
  SELECT a8 FROM t8
   WHERE NOT ((a8=474)
           OR (314=a8 OR b8=98))

query T valuesort
  SELECT d8 FROM t8
   WHERE (200=a8)
UNION
  SELECT e1 FROM t1
   WHERE (767=a1)
      OR a1 in (552,868,866,170,61,371,231,524,810,4,330)
EXCEPT
  SELECT c9 FROM t9
   WHERE NOT (e9 in (383,15,353,845,291,978,61,146,445,575,368)
           OR (c9=534 AND e9=82 AND 335=a9 AND 345=d9 AND b9=170)
           OR b9 in (152,667,612,913,446,525,549,832,880,759,804,496,13,818))
EXCEPT
  SELECT a3 FROM t3
   WHERE NOT ((b3=198 OR d3=548 OR 844=c3)
           OR b3 in (41,832,927))
UNION
  SELECT d2 FROM t2
   WHERE (a2=775)
UNION ALL
  SELECT a5 FROM t5
   WHERE (c5=598 AND 72=e5 AND b5=412 AND 757=a5 AND d5=521)
      OR (271=d5)

query T valuesort
  SELECT e3 FROM t3
   WHERE (a3=75 AND b3=272 AND e3=119 AND 375=c3)
      OR (d3=487 AND 984=e3 AND b3=28 AND 40=c3 AND 16=a3)
      OR (c3=175 OR b3=677 OR 532=a3)
UNION
  SELECT a2 FROM t2
   WHERE (351=d2 AND 279=a2 AND 223=e2 AND 779=c2)
EXCEPT
  SELECT a5 FROM t5
   WHERE NOT ((311=e5)
           OR (749=e5 OR 558=e5)
           OR b5 in (526,860,234,179,705))
EXCEPT
  SELECT d9 FROM t9
   WHERE NOT (c9 in (764,751,349,75))
UNION
  SELECT e4 FROM t4
   WHERE (212=d4 OR a4=793)
UNION ALL
  SELECT e8 FROM t8
   WHERE (a8=331 OR 474=a8 OR 66=a8)
      OR (221=e8 OR b8=366)
UNION
  SELECT a7 FROM t7
   WHERE (d7=892 AND 627=b7 AND c7=344)
EXCEPT
  SELECT a1 FROM t1
   WHERE NOT ((e1=288)
           OR (681=b1 OR 314=a1))
EXCEPT
  SELECT c6 FROM t6
   WHERE NOT ((1=e6 AND b6=144 AND 543=c6 AND d6=970))

query T valuesort
  SELECT d5 FROM t5
   WHERE (e5=592)
INTERSECT
  SELECT e7 FROM t7
   WHERE NOT (a7 in (854,748,894)
           OR (266=b7 AND d7=684)
           OR (a7=31 OR b7=120 OR 439=e7))
UNION
  SELECT a9 FROM t9
   WHERE b9 in (171,74,568,549,66,214,900,64,95)
EXCEPT
  SELECT e3 FROM t3
   WHERE NOT ((149=c3)
           OR e3 in (862,975,913,914,552,145,807,853,765,249,844))
EXCEPT
  SELECT a2 FROM t2
   WHERE NOT ((c2=788 OR 457=a2 OR d2=249))
UNION ALL
  SELECT e8 FROM t8
   WHERE d8 in (391,210,494,93,608,484,950,894,141,580,953,542)
EXCEPT
  SELECT c4 FROM t4
   WHERE NOT ((105=d4 OR d4=901)
           OR (105=a4 AND 206=e4 AND d4=844 AND 784=b4 AND 484=c4)
           OR (e4=816 AND 597=d4 AND c4=671 AND a4=92 AND 469=b4))
UNION ALL
  SELECT a1 FROM t1
   WHERE c1 in (526,530,253,393,980,482,299,776,585)
      OR c1 in (284,775,670,955,683)

query T valuesort
  SELECT b6 FROM t6
   WHERE (c6=769 AND 790=d6 AND e6=808)
      OR (a6=653 OR 829=a6 OR 223=b6)
      OR (267=b6)
INTERSECT
  SELECT a7 FROM t7
   WHERE NOT ((709=a7))
UNION
  SELECT b1 FROM t1
   WHERE (c1=69)
UNION ALL
  SELECT e2 FROM t2
   WHERE (c2=837 OR 168=b2)
EXCEPT
  SELECT c4 FROM t4
   WHERE NOT ((c4=586 OR d4=777 OR a4=746)
           OR (a4=378 OR e4=185 OR 979=b4)
           OR (d4=212 OR c4=483))

query T valuesort
  SELECT c2 FROM t2
   WHERE d2 in (152,351,195,643,19,23,669,209,663)
INTERSECT
  SELECT e7 FROM t7
   WHERE NOT (d7 in (886,500,549,549,391,506)
           OR e7 in (624,290,7,499,436,302,663,79,918,319,506)
           OR e7 in (827,851,197,782,816,439,201,460,31,561))
UNION ALL
  SELECT a3 FROM t3
   WHERE d3 in (314,217,981,826,719,782,582,283,711)
UNION
  SELECT b4 FROM t4
   WHERE (c4=208)
EXCEPT
  SELECT b1 FROM t1
   WHERE NOT (c1 in (343,683,4,876,177)
           OR b1 in (584,253,307,75,594))
EXCEPT
  SELECT a9 FROM t9
   WHERE NOT ((b9=880 AND c9=253 AND e9=647)
           OR a9 in (72,160,712,297,172,683,764,905,458))
EXCEPT
  SELECT c5 FROM t5
   WHERE NOT ((c5=147 AND 599=a5 AND 661=b5)
           OR (321=d5)
           OR c5 in (185,941,756,818,809))
UNION ALL
  SELECT e6 FROM t6
   WHERE e6 in (585,523,283,816,850,737,31,883)
      OR (d6=734)
EXCEPT
  SELECT a8 FROM t8
   WHERE NOT ((e8=833))

query T valuesort
  SELECT a1 FROM t1
   WHERE e1 in (55,11,483,468,539)
      OR (a1=864 AND 75=b1)
INTERSECT
  SELECT a6 FROM t6
   WHERE NOT ((267=c6 AND b6=681 AND e6=324 AND d6=223 AND a6=270))
UNION ALL
  SELECT d4 FROM t4
   WHERE e4 in (372,397,438,592,206,29,543,81)
      OR (31=a4 AND d4=943)
      OR (a4=637 AND 293=c4 AND d4=264 AND b4=907 AND 377=e4)

query T valuesort
  SELECT c2 FROM t2
   WHERE c2 in (466,692,575,136,4,274,830,756)
      OR (a2=954 AND 450=c2 AND 527=b2)
      OR a2 in (564,545,590,471,574,223,457,324,442,445)
EXCEPT
  SELECT d5 FROM t5
   WHERE NOT ((540=a5 AND e5=104 AND 729=d5 AND 380=b5 AND c5=723))
UNION ALL
  SELECT b4 FROM t4
   WHERE d4 in (60,260,144,522,442,953,349,574,568,901,950,309)
      OR a4 in (378,773,72,948,723,997,451,708)
EXCEPT
  SELECT d8 FROM t8
   WHERE NOT ((210=a8 AND e8=105 AND 190=d8 AND c8=421 AND 615=b8)
           OR (d8=20 AND 979=c8 AND e8=463 AND b8=523)
           OR (514=a8 AND 512=d8 AND 811=e8 AND b8=603 AND 229=c8))
UNION
  SELECT e1 FROM t1
   WHERE (375=c1 AND d1=221)
      OR (c1=346 OR b1=862)
      OR (d1=223 OR e1=56 OR b1=525)
EXCEPT
  SELECT b9 FROM t9
   WHERE NOT ((e9=936 OR 447=b9))
UNION ALL
  SELECT d6 FROM t6
   WHERE a6 in (725,518,870,66,971,825,604,2,396,173)
      OR (d6=457 OR 972=e6)
      OR b6 in (378,850,915,144,989,782)
EXCEPT
  SELECT c3 FROM t3
   WHERE NOT ((e3=592 AND 350=b3 AND 238=d3 AND 477=c3))

query T valuesort
  SELECT c6 FROM t6
   WHERE (c6=561 AND a6=971 AND b6=710)
      OR (458=d6 AND 262=b6 AND c6=961 AND a6=33 AND 67=e6)
      OR (446=c6 OR 692=a6 OR 617=e6)
INTERSECT
  SELECT b1 FROM t1
   WHERE NOT (d1 in (662,323,874,35,163,726,459,571,161,949,481,770))
UNION
  SELECT e2 FROM t2
   WHERE (997=e2)
      OR (837=c2 OR 46=c2 OR a2=304)
      OR (e2=441 OR c2=810 OR c2=779)
EXCEPT
  SELECT b7 FROM t7
   WHERE NOT ((936=a7 AND 929=e7 AND b7=827 AND 585=c7)
           OR (795=a7))
UNION ALL
  SELECT c4 FROM t4
   WHERE a4 in (473,723,159,502,92,378,509)
      OR (e4=552 OR 804=a4)
      OR a4 in (160,447,982,876)

query T valuesort
  SELECT e2 FROM t2
   WHERE (162=e2 OR b2=60)
INTERSECT
  SELECT b8 FROM t8
   WHERE NOT ((904=e8 AND 388=a8 AND 862=d8)
           OR (a8=923))
EXCEPT
  SELECT e7 FROM t7
   WHERE NOT ((553=e7 OR 925=a7)
           OR (813=b7 OR 575=d7)
           OR (d7=805 OR e7=455))
EXCEPT
  SELECT d4 FROM t4
   WHERE NOT ((a4=922 OR 33=b4 OR 694=c4)
           OR e4 in (835,147,692,916,854)
           OR b4 in (577,721,919,802,389,538,260,707,114))
UNION
  SELECT e5 FROM t5
   WHERE (a5=296 AND 198=c5 AND 906=e5)
      OR (a5=513 OR b5=321)
      OR (b5=69 AND a5=190 AND 185=c5)

query T valuesort
  SELECT d7 FROM t7
   WHERE (539=d7 AND b7=280 AND 688=c7)
      OR d7 in (831,199,367,346,507,172,575,131,572,391,680,418,34,687)
INTERSECT
  SELECT a2 FROM t2
   WHERE NOT ((a2=308 AND 557=c2 AND e2=115 AND 416=d2 AND b2=60)
           OR (60=b2 OR a2=660)
           OR (b2=966))
EXCEPT
  SELECT d9 FROM t9
   WHERE NOT ((127=b9 OR a9=511)
           OR (864=b9 AND 535=a9)
           OR (d9=389 AND 973=c9 AND 679=e9 AND 95=b9 AND a9=450))

query T valuesort
  SELECT a5 FROM t5
   WHERE (d5=782 OR 514=c5)
      OR a5 in (319,174,710,153,445,929,362,296,235,544,24)
      OR (c5=579 AND 26=b5 AND 536=a5)
UNION ALL
  SELECT c9 FROM t9
   WHERE (868=b9 AND 268=d9 AND 474=a9)
      OR a9 in (757,584,18,694)
      OR (c9=973)

query T valuesort
  SELECT c9 FROM t9
   WHERE b9 in (759,421,50,13,680,152,170,251,379,524,142)
      OR (c9=402)
EXCEPT
  SELECT c5 FROM t5
   WHERE NOT (a5 in (357,599,832,757,851,556,373,867,544,485,5,878)
           OR d5 in (412,111,480,919,780,521,841,769,616,752,991,685,855)
           OR (c5=570 AND b5=674))
UNION
  SELECT c4 FROM t4
   WHERE (e4=358)
      OR (a4=841)
      OR (804=c4 AND 81=e4 AND d4=86 AND 845=a4)

query T valuesort
  SELECT b7 FROM t7
   WHERE e7 in (280,303,31,862,272,816,31,595)
INTERSECT
  SELECT c1 FROM t1
   WHERE NOT (c1 in (39,15,526,419,905,366,315,299,814,805)
           OR (c1=246))
EXCEPT
  SELECT a3 FROM t3
   WHERE NOT ((130=b3 AND 611=a3)
           OR (c3=823 AND 168=d3 AND 977=b3 AND e3=932))
EXCEPT
  SELECT c4 FROM t4
   WHERE NOT ((c4=927 OR e4=147)
           OR (546=d4))
UNION ALL
  SELECT c6 FROM t6
   WHERE d6 in (161,929,993)

query T valuesort
  SELECT c3 FROM t3
   WHERE e3 in (913,303,536,464,218,136,989,690,425,131,83,844,959,178)
      OR (e3=896 AND 827=b3 AND c3=455 AND 437=d3 AND 754=a3)
UNION
  SELECT b8 FROM t8
   WHERE a8 in (341,994,894,472,417,250,289,563,591,838,312,127)
      OR (608=e8 AND d8=463 AND c8=790 AND 99=a8)
      OR b8 in (807,981,466,741,704,52)
EXCEPT
  SELECT d4 FROM t4
   WHERE NOT ((b4=810)
           OR (465=e4 AND c4=712 AND d4=136)
           OR e4 in (805,206,273,790,350,619,390,38,958,352,71,212))
EXCEPT
  SELECT d5 FROM t5
   WHERE NOT ((b5=623 OR b5=506 OR 56=b5)
           OR c5 in (579,222,384,3,927,599,721,924,443,12,598,809,729,31))
UNION
  SELECT b6 FROM t6
   WHERE (851=a6 AND 416=c6)
      OR (c6=54 OR d6=2)
      OR (967=b6 AND 883=e6 AND a6=787 AND c6=216)
UNION
  SELECT c2 FROM t2
   WHERE (e2=707 AND 900=c2 AND 784=b2)
      OR (d2=546 OR 837=c2)
      OR (706=b2)

query T valuesort
  SELECT d9 FROM t9
   WHERE c9 in (101,739,224,884,569,39,278,402)
      OR (723=e9 OR 211=b9 OR 90=c9)
UNION
  SELECT d6 FROM t6
   WHERE b6 in (963,44,490,463,905,650,461,962)
      OR (880=b6 AND d6=613 AND 24=e6)
EXCEPT
  SELECT c1 FROM t1
   WHERE NOT ((276=a1)
           OR (c1=136 AND 678=d1 AND 295=b1 AND e1=312 AND 109=a1))
EXCEPT
  SELECT d7 FROM t7
   WHERE NOT ((b7=726 OR b7=827 OR 206=c7))
EXCEPT
  SELECT d4 FROM t4
   WHERE NOT ((e4=151 OR e4=6 OR 323=b4)
           OR (474=a4 AND 968=d4 AND 678=b4 AND 63=e4 AND c4=948)
           OR b4 in (94,434,167,276,986,784,469,624))
UNION ALL
  SELECT d3 FROM t3
   WHERE (255=a3 OR 952=a3 OR a3=129)
      OR (a3=368 OR d3=231)
EXCEPT
  SELECT c5 FROM t5
   WHERE NOT (d5 in (321,685,667,991,4,33,479,745,910,238,729,964,570,818)
           OR (c5=820 OR 293=c5 OR b5=640))

query T valuesort
  SELECT c5 FROM t5
   WHERE (717=b5 OR e5=749 OR 72=e5)
      OR (471=c5 AND d5=132)
EXCEPT
  SELECT b4 FROM t4
   WHERE NOT (b4 in (587,700,167,220,76,653,442,577,480,387,434,877,826)
           OR (b4=892 OR d4=546))
UNION
  SELECT d2 FROM t2
   WHERE a2 in (898,209,457,245,139,680,796,966,809,789)
      OR c2 in (272,312,793,220,854,202,653,557,722,711,182)
      OR d2 in (513,813,555,334,654,332,790,351,46,847,153)
EXCEPT
  SELECT a8 FROM t8
   WHERE NOT ((b8=878)
           OR (221=e8 AND a8=795 AND c8=899 AND 673=b8 AND d8=112)
           OR b8 in (878,102,219,540,175,359,155,511,862,1))
UNION ALL
  SELECT d1 FROM t1
   WHERE a1 in (853,299,371,358,536,637,498,461,189,194)
EXCEPT
  SELECT e6 FROM t6
   WHERE NOT ((c6=522))
EXCEPT
  SELECT b3 FROM t3
   WHERE NOT ((480=b3)
           OR (e3=211 OR b3=813 OR 558=b3)
           OR (854=e3))

query T valuesort
  SELECT b2 FROM t2
   WHERE (e2=923)
UNION ALL
  SELECT b5 FROM t5
   WHERE (d5=964 OR a5=163)
      OR b5 in (234,861,951,26,820,393,759,717,789)

query T valuesort
  SELECT c1 FROM t1
   WHERE b1 in (981,387,247,350,270,807,619,942,652,211,233)
      OR (765=c1 OR c1=758)
      OR (871=c1 AND a1=371 AND b1=49 AND 275=d1)
UNION ALL
  SELECT e5 FROM t5
   WHERE d5 in (752,757,738,495,462,269,111,805,413,24,602,634,171)
UNION ALL
  SELECT a2 FROM t2
   WHERE (411=e2 OR b2=864 OR 548=e2)
      OR c2 in (290,810,161,268,140)
EXCEPT
  SELECT a3 FROM t3
   WHERE NOT ((806=c3 OR d3=109 OR 146=c3)
           OR (d3=913 OR c3=149 OR 273=b3)
           OR (591=a3))
UNION
  SELECT c9 FROM t9
   WHERE b9 in (803,227,125,858,214,178,170,361,864,16,171,127)

query T valuesort
  SELECT b9 FROM t9
   WHERE (694=d9 AND e9=445 AND a9=821 AND 857=c9 AND b9=122)
      OR (289=b9 OR 936=e9 OR e9=844)
      OR (905=c9 OR d9=360)
UNION
  SELECT c7 FROM t7
   WHERE (e7=422 AND b7=257)
      OR (e7=439 OR 452=a7)
UNION ALL
  SELECT e6 FROM t6
   WHERE (a6=436 AND 880=b6 AND c6=513 AND 613=d6 AND e6=24)
EXCEPT
  SELECT b2 FROM t2
   WHERE NOT (d2 in (260,80,404,663,953,537,743,328,362)
           OR (a2=80 OR 659=e2 OR 60=b2))
EXCEPT
  SELECT c5 FROM t5
   WHERE NOT (d5 in (805,649,313,789,114,565,855,360,616,742,171,938,98,682)
           OR (805=d5 AND b5=193 AND c5=44))

query T valuesort
  SELECT d6 FROM t6
   WHERE c6 in (729,441,258,45)
      OR (c6=267)
      OR (c6=751 OR b6=933 OR d6=151)
INTERSECT
  SELECT d1 FROM t1
   WHERE NOT ((a1=337)
           OR (c1=402))
UNION
  SELECT d8 FROM t8
   WHERE (e8=981)

query T valuesort
  SELECT b3 FROM t3
   WHERE (615=d3 AND e3=87 AND c3=961 AND b3=198 AND a3=615)
      OR (b3=382)
INTERSECT
  SELECT d9 FROM t9
   WHERE NOT ((863=c9 OR e9=819 OR d9=818))
EXCEPT
  SELECT d8 FROM t8
   WHERE NOT (d8 in (523,761,608,953,96,525,811,849,610,108,93,439,580)
           OR a8 in (184,913,671,923,702,200,628,5,347,661)
           OR (d8=116))
UNION ALL
  SELECT d5 FROM t5
   WHERE (250=c5 AND d5=855)
      OR (b5=544)
UNION ALL
  SELECT a4 FROM t4
   WHERE (a4=337 OR b4=389)
      OR e4 in (837,300,312,531,147,476,257,552,237,738)
EXCEPT
  SELECT b6 FROM t6
   WHERE NOT ((958=e6 AND 549=b6 AND a6=751)
           OR (933=b6 OR 974=d6 OR a6=452))
EXCEPT
  SELECT c2 FROM t2
   WHERE NOT ((e2=671 AND 632=b2 AND 360=c2))
EXCEPT
  SELECT c7 FROM t7
   WHERE NOT ((422=e7))

query T valuesort
  SELECT e1 FROM t1
   WHERE d1 in (130,902,922,275,394,942,899,35,412,972,481,581,223,161)
UNION
  SELECT b9 FROM t9
   WHERE (56=a9 AND 171=b9 AND 107=e9 AND 660=d9 AND c9=643)
EXCEPT
  SELECT b6 FROM t6
   WHERE NOT ((840=e6)
           OR d6 in (35,185,463,367,488,366,590)
           OR (647=d6 AND 355=a6))

query T valuesort
  SELECT b8 FROM t8
   WHERE (b8=352 AND a8=579)
      OR b8 in (364,540,1)
UNION ALL
  SELECT b5 FROM t5
   WHERE (26=b5 AND c5=485)
      OR (a5=976 AND c5=313)
EXCEPT
  SELECT b4 FROM t4
   WHERE NOT ((a4=574 AND e4=311 AND c4=221 AND 33=b4)
           OR (b4=167 AND 806=c4 AND a4=708 AND e4=358))
UNION
  SELECT a7 FROM t7
   WHERE (e7=929 AND a7=936 AND b7=827 AND c7=585 AND 196=d7)
      OR (66=b7)
      OR d7 in (436,765,526,673,192,982,787,831,939,666,603,801)
EXCEPT
  SELECT a9 FROM t9
   WHERE NOT ((b9=379 AND a9=413 AND 450=d9 AND e9=788 AND 62=c9)
           OR c9 in (751,955,884,515,419,843,224,90,187,973))
EXCEPT
  SELECT e6 FROM t6
   WHERE NOT ((e6=74 OR a6=64 OR 185=d6))
UNION
  SELECT a1 FROM t1
   WHERE a1 in (445,195,477,767,382,953,170,538,314,147,972,498,109)

query T valuesort
  SELECT a4 FROM t4
   WHERE (d4=246)
      OR (593=b4)
      OR (b4=389)
INTERSECT
  SELECT d3 FROM t3
   WHERE NOT ((464=e3 AND 321=b3)
           OR (d3=2))
INTERSECT
  SELECT d5 FROM t5
   WHERE NOT (c5 in (313,657,249,18,681,723,152,489,551,799,856,72)
           OR (d5=745 OR 810=d5)
           OR (858=b5))
EXCEPT
  SELECT c6 FROM t6
   WHERE NOT (a6 in (811,731,522,386,861,211,359,33,725,85,469,40,132,518)
           OR (e6=14 AND d6=467 AND 132=a6 AND c6=615)
           OR (905=b6))
UNION ALL
  SELECT c7 FROM t7
   WHERE (599=d7)
EXCEPT
  SELECT e1 FROM t1
   WHERE NOT ((a1=330 OR 748=e1 OR d1=717)
           OR (210=e1 OR 633=b1 OR 813=e1))
UNION
  SELECT a9 FROM t9
   WHERE (c9=526 AND 86=d9 AND 361=b9 AND 14=a9)
      OR (142=d9 OR 117=e9)

query T valuesort
  SELECT d8 FROM t8
   WHERE d8 in (731,542,48,474,326)
      OR (273=c8 AND a8=553)
UNION
  SELECT d1 FROM t1
   WHERE (b1=961 OR c1=905 OR 281=b1)
      OR (785=a1 OR a1=445 OR a1=222)
      OR b1 in (310,754,269,822,523,853,645,486,226,556,440)
UNION
  SELECT c3 FROM t3
   WHERE e3 in (131,138,406,724,526,823)
      OR (c3=565 OR e3=600 OR 975=e3)
      OR (a3=386 OR 105=a3)
UNION
  SELECT a6 FROM t6
   WHERE b6 in (989,63,461,350,144,54,507,923,250,933,876,490)
EXCEPT
  SELECT b7 FROM t7
   WHERE NOT ((748=a7 AND e7=508 AND d7=226 AND 795=c7 AND 263=b7))
UNION ALL
  SELECT e5 FROM t5
   WHERE (527=c5)
UNION
  SELECT b4 FROM t4
   WHERE a4 in (708,228,151,602,981,510,235,651,933,792)
      OR (409=d4 OR a4=625 OR d4=917)
      OR e4 in (179,188,512)

query T valuesort
  SELECT b4 FROM t4
   WHERE (c4=723)
      OR (e4=188 AND 536=c4 AND d4=626 AND 563=b4 AND 502=a4)
UNION ALL
  SELECT e6 FROM t6
   WHERE (283=e6 AND a6=537 AND 984=b6)
EXCEPT
  SELECT e3 FROM t3
   WHERE NOT ((273=d3 AND b3=860 AND 376=a3 AND 425=e3 AND 826=c3)
           OR (d3=46 AND 608=a3 AND c3=439))
UNION ALL
  SELECT d5 FROM t5
   WHERE (e5=655 AND 978=c5 AND d5=280 AND b5=389)

query T valuesort
  SELECT c4 FROM t4
   WHERE (e4=312)
UNION ALL
  SELECT a5 FROM t5
   WHERE e5 in (141,923,184,730,209,68,311,258,144,187,686,25)
      OR (789=b5)
      OR (922=c5 AND 357=a5 AND 548=b5 AND 470=d5 AND e5=730)
UNION
  SELECT d8 FROM t8
   WHERE a8 in (701,443,882,838,952,341,331,388)
      OR d8 in (116,511,112,690,339,494,472)
      OR e8 in (14,776,221,592,561,761,56,383,421)
UNION
  SELECT b2 FROM t2
   WHERE e2 in (322,783,769,213,123,220,294,963,815,692,428,820)
UNION
  SELECT e9 FROM t9
   WHERE a9 in (847,706,14,378,815,389,821,685,535,962)
UNION
  SELECT c6 FROM t6
   WHERE b6 in (923,0,781,549,716,392,933)

query T valuesort
  SELECT a2 FROM t2
   WHERE (d2=10 OR 511=c2)
EXCEPT
  SELECT c9 FROM t9
   WHERE NOT ((982=a9 AND 15=e9 AND 703=b9)
           OR (457=a9 OR 706=a9)
           OR (457=a9 OR 936=b9))
EXCEPT
  SELECT d3 FROM t3
   WHERE NOT ((d3=782 AND a3=979)
           OR (e3=844))
UNION ALL
  SELECT d8 FROM t8
   WHERE b8 in (741,852,981,405)
      OR (d8=624 AND 100=c8 AND e8=7 AND 186=b8)
UNION
  SELECT d6 FROM t6
   WHERE (b6=876 OR d6=337)
EXCEPT
  SELECT e1 FROM t1
   WHERE NOT (c1 in (402,585,523,898,69,765)
           OR c1 in (654,765,343,979,57,788,905)
           OR (375=c1 AND 521=a1 AND 221=d1 AND e1=628 AND 281=b1))
EXCEPT
  SELECT a5 FROM t5
   WHERE NOT ((69=a5 AND e5=480))
UNION
  SELECT d4 FROM t4
   WHERE d4 in (166,246,661,199,309)
      OR b4 in (289,765,33,829)
      OR a4 in (271,327,629,210,773,412,451)
UNION
  SELECT d7 FROM t7
   WHERE b7 in (178,519,321,105,517)
      OR b7 in (861,896,426)
      OR e7 in (288,31,39,7,6,552,508,562,522,168,979,103,462,67)

query T valuesort
  SELECT e2 FROM t2
   WHERE (a2=954 OR a2=175)
      OR (c2=346 AND d2=663)
      OR (360=c2)
EXCEPT
  SELECT b9 FROM t9
   WHERE NOT ((a9=905 OR a9=318)
           OR (195=e9 OR d9=129 OR 278=c9))
EXCEPT
  SELECT d1 FROM t1
   WHERE NOT ((d1=900 AND b1=420 AND a1=281 AND e1=811)
           OR a1 in (785,75,862,461,194,23,438,173,324,674,382,847,499,395)
           OR c1 in (136,506,498,272,531))
UNION ALL
  SELECT c4 FROM t4
   WHERE (449=d4 OR 948=c4 OR 208=c4)

query T valuesort
  SELECT c4 FROM t4
   WHERE (82=a4 AND c4=417 AND 617=d4)
UNION
  SELECT b6 FROM t6
   WHERE e6 in (847,139,808,24,431,668,5,707,531,816)
      OR (a6=2 OR 680=a6)
UNION ALL
  SELECT c5 FROM t5
   WHERE (d5=495 OR 37=c5)
UNION ALL
  SELECT c2 FROM t2
   WHERE (b2=592 OR 772=d2)
      OR (564=e2 AND 265=d2 AND 992=c2)
UNION
  SELECT e8 FROM t8
   WHERE b8 in (175,647,770,182,725,891,769)
      OR (e8=729 AND d8=223 AND 394=b8 AND 113=a8)
      OR e8 in (956,463,933,14)
EXCEPT
  SELECT b3 FROM t3
   WHERE NOT ((d3=60)
           OR (192=e3)
           OR (e3=231))
UNION
  SELECT e1 FROM t1
   WHERE (e1=558 OR b1=788 OR d1=619)
      OR b1 in (447,255,345,523,446,468,254)
      OR b1 in (278,420,132,523,37,525,211,674,779,88,836)
UNION ALL
  SELECT c9 FROM t9
   WHERE c9 in (254,793,923)

query T valuesort
  SELECT d4 FROM t4
   WHERE a4 in (74,952,919,474,185,948,82,16,580,160,847,451,922)
      OR (778=e4 AND 728=c4 AND 849=b4)
      OR (713=d4 OR 919=b4)
EXCEPT
  SELECT d1 FROM t1
   WHERE NOT ((14=e1 OR a1=754 OR 776=a1)
           OR (683=e1 AND 433=a1 AND 230=c1 AND 803=d1 AND b1=807))
UNION ALL
  SELECT e5 FROM t5
   WHERE (697=c5 AND 196=a5)
EXCEPT
  SELECT b8 FROM t8
   WHERE NOT ((e8=956 OR 242=a8)
           OR b8 in (145,673,964,862,665,352,770,773,253,469,677,891,259,324))
EXCEPT
  SELECT b3 FROM t3
   WHERE NOT ((d3=423 AND c3=133))
UNION ALL
  SELECT b7 FROM t7
   WHERE (c7=606)
      OR a7 in (699,233,896,876)
      OR (e7=979)
EXCEPT
  SELECT c9 FROM t9
   WHERE NOT ((326=a9))

query T valuesort
  SELECT a4 FROM t4
   WHERE e4 in (596,372,217,405,188)
      OR (579=a4 AND b4=961 AND e4=300)
      OR (38=e4 OR a4=510 OR b4=271)
EXCEPT
  SELECT c9 FROM t9
   WHERE NOT ((e9=239 OR e9=445 OR d9=420))
EXCEPT
  SELECT d8 FROM t8
   WHERE NOT ((c8=965)
           OR e8 in (635,333,700,678,980,421,600,874,485))

query T valuesort
  SELECT c7 FROM t7
   WHERE c7 in (103,80,498,206,672,934)
      OR (344=c7 AND 430=a7 AND e7=456)
      OR c7 in (103,249,529,441,688,375,341,302,94,377,691,142,523,944)
UNION
  SELECT b1 FROM t1
   WHERE (a1=879 AND c1=553 AND 254=e1 AND 519=d1)

query T valuesort
  SELECT d2 FROM t2
   WHERE b2 in (799,226,864,220,173,311,276,442,380,509,217,527)
      OR (256=d2)
      OR b2 in (888,846,820,628,161,285,706,35,784,220)
UNION ALL
  SELECT d4 FROM t4
   WHERE e4 in (931,816,916,179,792,698,820,223,480,81,596,958)
EXCEPT
  SELECT c1 FROM t1
   WHERE NOT ((522=e1 AND 32=a1)
           OR d1 in (679,315,88,141,86,217,35,223,947,418,602,574)
           OR (558=e1))
EXCEPT
  SELECT b8 FROM t8
   WHERE NOT ((668=c8 OR 869=a8 OR 637=a8)
           OR d8 in (534,463,326,667,682,192,636,108,989,327,14,124,889))
EXCEPT
  SELECT d5 FROM t5
   WHERE NOT ((b5=320 AND 797=c5 AND 667=a5 AND 232=e5)
           OR e5 in (592,725,943,258,696,764,812,104,937,352,944,586,558))
EXCEPT
  SELECT d9 FROM t9
   WHERE NOT ((d9=345 AND 335=a9 AND e9=82 AND 170=b9 AND c9=534)
           OR (770=d9)
           OR (15=e9 OR a9=879 OR 378=a9))
UNION ALL
  SELECT a6 FROM t6
   WHERE (c6=413 OR 992=c6)
      OR (a6=518 OR d6=855 OR b6=834)
      OR (b6=962 OR 825=a6 OR e6=230)
EXCEPT
  SELECT a7 FROM t7
   WHERE NOT ((e7=816)
           OR (671=d7 OR c7=795 OR c7=249)
           OR (432=e7 AND b7=308 AND a7=416 AND c7=376 AND d7=183))
EXCEPT
  SELECT e3 FROM t3
   WHERE NOT (d3 in (982,135,483,423,719,1,164,503,737,871,866,231,283,850)
           OR (a3=576 OR e3=192)
           OR d3 in (641,168,913,118,645,889))

query T valuesort
  SELECT a9 FROM t9
   WHERE (688=b9 OR 379=b9 OR 327=c9)
      OR b9 in (64,447,251,269,2,95,19,361,746,549,688)
      OR (660=a9 AND 35=e9 AND c9=224)
INTERSECT
  SELECT b5 FROM t5
   WHERE NOT (a5 in (921,373,296,800,332,24,319,685,878,9)
           OR (737=e5))
UNION
  SELECT b6 FROM t6
   WHERE a6 in (610,861,270,821)
      OR (c6=287 AND 604=a6 AND 185=d6)
EXCEPT
  SELECT b1 FROM t1
   WHERE NOT ((d1=310))
UNION
  SELECT c7 FROM t7
   WHERE (a7=231 OR a7=48)
      OR (e7=663 AND b7=938 AND 572=d7)
      OR b7 in (878,636,813,120,409,222,519,693,820,396)

query T valuesort
  SELECT b1 FROM t1
   WHERE (b1=283 OR d1=96)
      OR d1 in (818,96,175,163,712,655,806,25,990)
      OR c1 in (208,570,343,172,506,680,758,420,775,204,681,852)
EXCEPT
  SELECT d3 FROM t3
   WHERE NOT ((464=b3 AND a3=41 AND 386=d3)
           OR (836=e3 AND a3=378 AND c3=651 AND 214=b3 AND 982=d3)
           OR (599=d3 AND a3=186 AND 927=b3))
UNION
  SELECT e9 FROM t9
   WHERE (c9=224 OR b9=746 OR 657=e9)
      OR (524=b9 OR 239=e9 OR 601=d9)
EXCEPT
  SELECT b4 FROM t4
   WHERE NOT ((476=b4 AND e4=352)
           OR a4 in (981,950,952)
           OR b4 in (86,563,476,749,372,735,635,94,964,276))
UNION ALL
  SELECT a6 FROM t6
   WHERE d6 in (2,376,269,36,689,600,185)
      OR (e6=531 AND 396=a6)
      OR (e6=673 OR 677=c6 OR d6=790)
UNION
  SELECT d7 FROM t7
   WHERE (b7=510)
EXCEPT
  SELECT e2 FROM t2
   WHERE NOT ((e2=220 AND 498=d2)
           OR a2 in (139,266,651,304,538,185,10,769,327,123,735))
UNION ALL
  SELECT a5 FROM t5
   WHERE c5 in (723,668,149,697,18,50,585,443,634)
      OR (733=c5)
      OR a5 in (421,540,904,357,89,602,319,851)

query T valuesort
  SELECT d3 FROM t3
   WHERE d3 in (17,647,524,582,515)
UNION ALL
  SELECT e8 FROM t8
   WHERE c8 in (461,149,979,961,799,683,250,74,418,690,851,119)
      OR (b8=145 AND c8=961 AND 233=e8 AND 359=a8 AND d8=96)
      OR (61=c8 AND e8=846 AND a8=328 AND 845=d8 AND b8=963)
EXCEPT
  SELECT e6 FROM t6
   WHERE NOT ((572=c6 AND b6=850 AND d6=453)
           OR (710=b6))
EXCEPT
  SELECT a1 FROM t1
   WHERE NOT ((716=d1 AND a1=215 AND e1=615 AND c1=252 AND 269=b1))
EXCEPT
  SELECT c9 FROM t9
   WHERE NOT ((d9=439)
           OR c9 in (515,64,696,834,734,526,534)
           OR d9 in (164,450,926,919,591,129,601,142,597,345,383,226))
UNION ALL
  SELECT b5 FROM t5
   WHERE (601=c5 AND b5=56 AND e5=352 AND 817=a5 AND 274=d5)
      OR (738=d5 AND 311=e5)
EXCEPT
  SELECT a4 FROM t4
   WHERE NOT (c4 in (984,799,393,178,220,671,536,513,433,860,694))
UNION
  SELECT c7 FROM t7
   WHERE a7 in (950,736,748,180)
      OR e7 in (816,103,851,7,815,689,595,408,624,288,303,522)
      OR c7 in (344,78,523,435,302,145,635)

query T valuesort
  SELECT c9 FROM t9
   WHERE b9 in (858,103,821,423,125,2)
      OR a9 in (511,172,694,177)
UNION
  SELECT d3 FROM t3
   WHERE (457=a3 OR 890=d3)
      OR b3 in (113,480,847,632,701,914,246,28,273,103)
      OR (a3=42 AND 505=b3 AND 285=c3 AND e3=981)
EXCEPT
  SELECT d6 FROM t6
   WHERE NOT ((a6=414 OR 173=a6 OR 24=e6)
           OR e6 in (24,511,360,808,840,466,707,91,5,257,585,395)
           OR d6 in (689,807,36,2,376,667,60,393,488))

query T valuesort
  SELECT d6 FROM t6
   WHERE b6 in (226,421,850,882,629,229,606,905,716,507,350,490,923)
      OR e6 in (682,466,283,77,360,893,754,883,601,668)
EXCEPT
  SELECT e4 FROM t4
   WHERE NOT (c4 in (6,403,0,297,799,153,667))
UNION ALL
  SELECT d8 FROM t8
   WHERE d8 in (269,486,93,950,883,48,327,466,675)
      OR (260=c8 OR c8=136)

query T valuesort
  SELECT b2 FROM t2
   WHERE d2 in (749,577,654,306,953,152,404,260,256,414,669)
      OR c2 in (729,161,793)
      OR (b2=311)
EXCEPT
  SELECT a1 FROM t1
   WHERE NOT ((668=a1 AND d1=412 AND e1=51 AND c1=388 AND b1=303))
UNION
  SELECT c8 FROM t8
   WHERE d8 in (366,370,876,344,472,541,482,815,580,269,711)
      OR (e8=41 AND 578=a8 AND 711=d8 AND 521=c8 AND 891=b8)
      OR c8 in (375,298,374,690,93,275,266,943,117,111)
UNION ALL
  SELECT d6 FROM t6
   WHERE (a6=35 OR c6=12 OR 518=a6)
      OR a6 in (764,355,414,801,128,572,211,818,384,238,692,392,725)
EXCEPT
  SELECT a7 FROM t7
   WHERE NOT (e7 in (215,816,154,31,156,503,900,248,552,39,455,945,272))
UNION ALL
  SELECT d9 FROM t9
   WHERE b9 in (13,525,251,64,804,228,285,128)
      OR (525=b9 AND a9=847)
EXCEPT
  SELECT a3 FROM t3
   WHERE NOT (b3 in (860,41,411,566,779,542,376,407,713)
           OR c3 in (338,688,869,826,305,178,991,317,324,601)
           OR (178=c3))
EXCEPT
  SELECT c4 FROM t4
   WHERE NOT ((a4=473 AND d4=323 AND 624=b4 AND 661=e4 AND c4=424)
           OR (d4=309)
           OR a4 in (136,558,876,423,825,318,170,74,602,447,596,756,442,752))
EXCEPT
  SELECT c5 FROM t5
   WHERE NOT (d5 in (152,401,24,910,470,745,811)
           OR (132=a5 AND e5=874))

query T valuesort
  SELECT d7 FROM t7
   WHERE e7 in (971,422,428,144,408,290,506,183,970)
      OR (b7=938 AND 260=c7 AND e7=663 AND 744=a7 AND d7=572)
      OR (945=a7 OR 455=e7 OR a7=706)
UNION ALL
  SELECT d8 FROM t8
   WHERE c8 in (690,196,961,705,448,229,508,973,275,979,61)
      OR (984=b8 AND d8=499 AND c8=183 AND a8=728 AND e8=469)
EXCEPT
  SELECT b4 FROM t4
   WHERE NOT ((723=c4)
           OR a4 in (473,747,621,574)
           OR d4 in (665,55,356,989,25))
EXCEPT
  SELECT e5 FROM t5
   WHERE NOT ((681=c5 OR c5=818 OR e5=732)
           OR (b5=674 AND c5=570 AND e5=975))
UNION ALL
  SELECT c9 FROM t9
   WHERE (127=b9)

query T valuesort
  SELECT b8 FROM t8
   WHERE (b8=369 AND a8=248)
      OR a8 in (289,359,250,70,671,504,894,651,5)
      OR a8 in (661,402,314,628,331,728,443)
UNION ALL
  SELECT e3 FROM t3
   WHERE (e3=235 AND d3=896 AND 234=a3 AND c3=305 AND b3=234)
      OR (b3=166 AND 134=c3)
      OR (b3=835 OR d3=599 OR 7=c3)
UNION ALL
  SELECT e9 FROM t9
   WHERE (312=b9 OR 51=d9)
      OR (807=c9)
      OR (a9=463 AND b9=26 AND c9=87 AND 602=d9 AND e9=263)
UNION ALL
  SELECT a4 FROM t4
   WHERE (423=a4 AND 635=b4 AND 835=e4)
      OR (d4=626 AND 188=e4 AND c4=536)
UNION
  SELECT e7 FROM t7
   WHERE (42=b7 AND 522=e7 AND d7=278)
      OR (636=b7)
EXCEPT
  SELECT d2 FROM t2
   WHERE NOT (b2 in (228,805,799,72,275,605,903,380,168,73,414,784)
           OR e2 in (899,505,981,788,698,812,162,548,366,688)
           OR d2 in (310,537,328,806,198,663))
EXCEPT
  SELECT a6 FROM t6
   WHERE NOT (c6 in (146,769,161,122,768,528,411,648,25,4,28)
           OR (b6=905 OR 386=a6)
           OR (161=d6 OR 901=d6))
UNION
  SELECT e5 FROM t5
   WHERE d5 in (780,271,779,847,738,682,479,855,69,685)
      OR (b5=971 AND 522=a5 AND e5=640 AND 797=c5)

query T valuesort
  SELECT e6 FROM t6
   WHERE (c6=963)
      OR (2=d6 AND b6=974 AND 242=c6)
EXCEPT
  SELECT c4 FROM t4
   WHERE NOT ((162=c4 OR d4=199 OR 797=d4)
           OR a4 in (234,355,72,261,210,778,16,81,574,248,228)
           OR b4 in (469,925,593,167,139,627,892,295,765,271,735,941,849,784))
UNION
  SELECT e2 FROM t2
   WHERE (659=e2 AND c2=140 AND 735=a2)
EXCEPT
  SELECT c9 FROM t9
   WHERE NOT ((a9=240)
           OR (827=b9 OR 737=e9))
EXCEPT
  SELECT a5 FROM t5
   WHERE NOT ((c5=585 AND d5=361 AND 180=e5 AND b5=234)
           OR (d5=602 AND 766=c5 AND 311=a5 AND 68=e5)
           OR (4=d5 AND 661=b5))
EXCEPT
  SELECT e8 FROM t8
   WHERE NOT ((b8=690 OR 563=a8)
           OR (b8=640 AND 942=e8 AND 541=c8 AND a8=200)
           OR a8 in (417,807,289,171,472,923,312,127,848,210))
EXCEPT
  SELECT d1 FROM t1
   WHERE NOT ((209=e1 AND 508=d1 AND 995=b1 AND 765=c1 AND 445=a1)
           OR (702=a1 AND 966=c1))
EXCEPT
  SELECT d7 FROM t7
   WHERE NOT ((78=c7 OR 826=e7 OR c7=553)
           OR (14=c7)
           OR (e7=290))

query T valuesort
  SELECT b7 FROM t7
   WHERE (998=a7 AND d7=722 AND c7=441)
      OR d7 in (485,549,785,777,457)
EXCEPT
  SELECT c5 FROM t5
   WHERE NOT (d5 in (171,858,792,480,520,344,667,132,565,437,856,835,542,919))
UNION
  SELECT a6 FROM t6
   WHERE (b6=158)
      OR (c6=187)
EXCEPT
  SELECT a9 FROM t9
   WHERE NOT ((965=e9)
           OR (e9=278 AND a9=318 AND c9=288)
           OR (d9=737))
UNION ALL
  SELECT b3 FROM t3
   WHERE e3 in (665,192,318,837,731,728,651,449,550,975,774)
UNION ALL
  SELECT d2 FROM t2
   WHERE (d2=404 AND 511=c2 AND 279=b2)

query T valuesort
  SELECT c1 FROM t1
   WHERE (905=c1)
INTERSECT
  SELECT e5 FROM t5
   WHERE NOT ((b5=971 AND d5=263 AND e5=640 AND a5=522 AND c5=797))
INTERSECT
  SELECT b4 FROM t4
   WHERE NOT (b4 in (678,107,802,442,33,964)
           OR (b4=2 OR b4=271 OR d4=781))
EXCEPT
  SELECT d2 FROM t2
   WHERE NOT (e2 in (433,815,499,679)
           OR a2 in (760,779,869,505,590,735,936,159,209)
           OR (b2=90 OR b2=217 OR e2=117))

query T valuesort
  SELECT a8 FROM t8
   WHERE (384=e8 AND 330=d8 AND b8=405 AND a8=5 AND c8=461)
UNION
  SELECT b1 FROM t1
   WHERE c1 in (4,736,12,393)
EXCEPT
  SELECT e9 FROM t9
   WHERE NOT (c9 in (146,767,764,955,252,732,601,101,587,575)
           OR (a9=295 OR 841=e9))
EXCEPT
  SELECT c2 FROM t2
   WHERE NOT ((548=e2 AND 853=a2 AND 864=b2 AND d2=654 AND 182=c2)
           OR (823=b2 AND 213=e2 AND 722=c2 AND a2=262 AND d2=843))
EXCEPT
  SELECT b7 FROM t7
   WHERE NOT ((d7=391)
           OR (288=e7))
EXCEPT
  SELECT a4 FROM t4
   WHERE NOT ((806=c4 OR 829=b4))
UNION
  SELECT a5 FROM t5
   WHERE (545=c5)

query T valuesort
  SELECT b8 FROM t8
   WHERE a8 in (882,946,553,259,913,728,637,150,402,445,795)
      OR (b8=461 AND 743=d8 AND 38=e8)
UNION ALL
  SELECT d6 FROM t6
   WHERE (a6=129 OR 595=e6)
      OR b6 in (276,210,63,214,461,421,962,699,461)
      OR (a6=585 AND c6=308 AND 378=b6)
EXCEPT
  SELECT a9 FROM t9
   WHERE NOT ((c9=863 AND b9=16 AND d9=591 AND e9=133)
           OR (c9=688 OR 747=a9)
           OR b9 in (12,819,900,122,128,926,19,312,549,818,66))
EXCEPT
  SELECT c7 FROM t7
   WHERE NOT (e7 in (816,282,929,248,499,432)
           OR c7 in (142,135,606,981,249,948,488,280,375,635,596))
EXCEPT
  SELECT e5 FROM t5
   WHERE NOT ((132=a5 AND 118=d5 AND e5=874 AND 384=c5 AND b5=942))
UNION
  SELECT b4 FROM t4
   WHERE b4 in (678,765,921,802,167,243,408,389,563,708)
      OR (b4=624)

query T valuesort
  SELECT a1 FROM t1
   WHERE (a1=215 OR e1=166)
      OR (681=c1 OR d1=529)
      OR (c1=152 AND 416=d1)
INTERSECT
  SELECT c5 FROM t5
   WHERE NOT ((320=a5 AND 759=b5 AND 293=c5))
EXCEPT
  SELECT e4 FROM t4
   WHERE NOT (c4 in (433,799,345)
           OR c4 in (433,703,521)
           OR (b4=261 OR 409=d4))
UNION
  SELECT e6 FROM t6
   WHERE (564=a6 OR 369=c6)
      OR (e6=972 AND b6=606 AND 620=c6)
UNION
  SELECT b2 FROM t2
   WHERE (65=c2 OR b2=765)
      OR (e2=841 AND b2=21 AND a2=131)
EXCEPT
  SELECT c8 FROM t8
   WHERE NOT ((b8=952 AND d8=484 AND 682=e8)
           OR c8 in (93,375,693,901))
UNION
  SELECT a7 FROM t7
   WHERE d7 in (328,547,684,549,801,148,341,292,675,575,306)
      OR (526=d7 AND 455=e7 AND 925=a7)
EXCEPT
  SELECT a9 FROM t9
   WHERE NOT (a9 in (847,218,251,488,610,115,72,416,962,511)
           OR e9 in (801,944,486,653,965,368,792,255,19))
UNION
  SELECT c3 FROM t3
   WHERE c3 in (53,651,970)
      OR a3 in (699,971,347,525,143,997,865)

query T valuesort
  SELECT c1 FROM t1
   WHERE a1 in (194,607,23,538,517,189,330,825,479,52,231)
      OR (e1=14 OR 213=b1)
UNION
  SELECT c7 FROM t7
   WHERE (360=b7 AND 948=c7 AND d7=801)
EXCEPT
  SELECT b2 FROM t2
   WHERE NOT (d2 in (651,377,546,86,454,682,643,598,158,931,723))

query T valuesort
  SELECT c9 FROM t9
   WHERE (b9=595)
      OR (680=b9 OR 214=b9)
      OR (301=b9 AND e9=19 AND 104=d9 AND c9=936 AND a9=349)
UNION
  SELECT e8 FROM t8
   WHERE (a8=386 OR c8=647 OR 446=d8)
      OR (503=b8)
      OR d8 in (849,391,781,880,738)
EXCEPT
  SELECT d3 FROM t3
   WHERE NOT (e3 in (596,119,665,318,138,854,876,375,266,981,818,135,424,145))
UNION ALL
  SELECT d1 FROM t1
   WHERE (574=d1 AND e1=313 AND a1=241 AND 168=c1 AND 729=b1)
UNION ALL
  SELECT b7 FROM t7
   WHERE (166=b7 OR 979=e7)
      OR (360=b7 AND d7=801 AND 439=a7 AND e7=462)
      OR e7 in (979,900,782,841,499,844,462,827,976)

query T valuesort
  SELECT d3 FROM t3
   WHERE (a3=353)
      OR (d3=164 OR b3=28)
      OR d3 in (642,403,826,336,726,743,841,958,913,434)
INTERSECT
  SELECT d9 FROM t9
   WHERE NOT (b9 in (804,864,746,12,855,210,5,289,74,524,19,227)
           OR (e9=195)
           OR (b9=746 OR a9=879))
INTERSECT
  SELECT b4 FROM t4
   WHERE NOT ((82=a4 AND 417=c4 AND 617=d4)
           OR a4 in (92,439,505,473,596,423)
           OR (d4=376 OR 667=c4 OR 996=c4))

query T valuesort
  SELECT d7 FROM t7
   WHERE c7 in (857,38,887,397,795,488,435,482,970,288,725,565,232,548)
INTERSECT
  SELECT c9 FROM t9
   WHERE NOT ((547=c9 OR 569=c9 OR a9=712)
           OR (905=c9 OR 172=a9 OR d9=360))
UNION
  SELECT d5 FROM t5
   WHERE (d5=280 OR 180=a5)
EXCEPT
  SELECT d2 FROM t2
   WHERE NOT ((784=b2 AND 283=a2 AND 900=c2)
           OR (e2=692 AND c2=202 AND d2=813 AND b2=509))
EXCEPT
  SELECT e6 FROM t6
   WHERE NOT ((31=e6)
           OR (c6=500 OR c6=84)
           OR (384=a6 AND 192=d6 AND 840=e6 AND c6=928 AND b6=92))
EXCEPT
  SELECT c8 FROM t8
   WHERE NOT (b8 in (351,102,454,696,769,155,300,386))
UNION
  SELECT a1 FROM t1
   WHERE (857=b1 AND 379=c1 AND e1=52)
      OR (c1=885 OR 208=c1 OR 12=e1)
      OR (e1=737 AND a1=363)
UNION
  SELECT b4 FROM t4
   WHERE d4 in (910,770,373,821)
      OR e4 in (151,596,763,212,792,123,677,931)
      OR (d4=522 AND 448=a4)
UNION ALL
  SELECT a3 FROM t3
   WHERE (145=e3 AND a3=34 AND 166=b3 AND 541=d3 AND c3=134)
      OR (e3=977 OR 591=a3 OR 499=a3)

query T valuesort
  SELECT c1 FROM t1
   WHERE c1 in (458,368,482,486)
      OR (113=e1 AND 622=a1 AND 172=d1)
INTERSECT
  SELECT b9 FROM t9
   WHERE NOT ((486=e9 AND 177=a9 AND d9=682 AND c9=531 AND 926=b9)
           OR (264=e9 AND b9=864 AND d9=568 AND a9=535))
UNION ALL
  SELECT d4 FROM t4
   WHERE (d4=429 OR 931=e4)
      OR (261=a4)
      OR c4 in (451,357,768,436,513,752,484,752,904,6,319,88,162,44)

query T valuesort
  SELECT e8 FROM t8
   WHERE (e8=310 AND b8=155)
      OR a8 in (15,883,54,661,963,90,184,795,150,957,312,306)
EXCEPT
  SELECT e2 FROM t2
   WHERE NOT (e2 in (659,781,217,411,115,945,535,564,213,427,483))
UNION
  SELECT c5 FROM t5
   WHERE (495=b5 OR 634=c5)
      OR c5 in (18,442,147,978,351,894,602,18,31,551,545,27)
EXCEPT
  SELECT b9 FROM t9
   WHERE NOT ((239=e9))
UNION
  SELECT a6 FROM t6
   WHERE (0=b6 AND 271=d6 AND a6=740 AND 574=e6 AND 11=c6)
      OR b6 in (923,962,834,390,850,452,710,6,954,541,601,158,512,126)
      OR (808=e6)
UNION
  SELECT c4 FROM t4
   WHERE a4 in (439,228,442,950,223,509,469,606)

query T valuesort
  SELECT a1 FROM t1
   WHERE (278=b1 OR 442=e1)
      OR (a1=352 AND 523=b1 AND 816=e1 AND 458=c1 AND d1=87)
      OR (265=d1 OR 625=e1)
INTERSECT
  SELECT c6 FROM t6
   WHERE NOT ((b6=699 AND 286=d6)
           OR (12=c6 AND 974=d6))
UNION ALL
  SELECT e2 FROM t2
   WHERE d2 in (704,651,233,803,516,749,886,953,14)
      OR d2 in (80,682,454,86,345,651,86,46,931,158,621,847,577)
      OR (373=d2 AND c2=65 AND 519=b2 AND 205=e2)
UNION ALL
  SELECT e8 FROM t8
   WHERE (351=b8 AND 966=e8 AND 923=a8 AND d8=623)
EXCEPT
  SELECT c3 FROM t3
   WHERE NOT (c3 in (826,601,178,900,823,317,243,516,122,697,372,986,486))
EXCEPT
  SELECT c4 FROM t4
   WHERE NOT ((678=b4 OR 390=e4)
           OR c4 in (0,417,840,725,398,88,44))
EXCEPT
  SELECT d9 FROM t9
   WHERE NOT ((487=c9 AND 326=b9 AND 258=a9)
           OR (e9=799 AND c9=767 AND 474=a9))

query T valuesort
  SELECT a1 FROM t1
   WHERE d1 in (922,602,223,571,942,691)
      OR (717=e1)
      OR (e1=117 AND b1=696 AND a1=20)
UNION
  SELECT a5 FROM t5
   WHERE b5 in (897,531,143,91)
      OR (b5=260 OR c5=351)
EXCEPT
  SELECT a2 FROM t2
   WHERE NOT (e2 in (923,688,564,37,381,131,955,427,205,433)
           OR d2 in (8,317,328,46,498))
UNION
  SELECT b3 FROM t3
   WHERE (c3=607 AND e3=424 AND 245=a3 AND 816=b3)

query T valuesort
  SELECT e2 FROM t2
   WHERE (328=d2)
      OR c2 in (988,810,87,177,444,228,45)
      OR (a2=159 AND d2=19 AND 967=c2 AND b2=414 AND 118=e2)
UNION
  SELECT b7 FROM t7
   WHERE (526=d7 AND b7=720 AND 857=c7 AND a7=925 AND e7=455)
      OR (675=d7 AND 299=a7 AND 881=b7 AND e7=156 AND c7=317)
UNION ALL
  SELECT c5 FROM t5
   WHERE (a5=69)
      OR (606=b5 OR c5=579)
UNION
  SELECT a4 FROM t4
   WHERE (543=e4 OR d4=328)
      OR a4 in (136,804,841,921,422,901,637)
      OR c4 in (88,84,667,720,153,904,208,157,82,521,471)
UNION
  SELECT a6 FROM t6
   WHERE e6 in (731,654,95,24,1,617,601,230,329,353,24)

query T valuesort
  SELECT d5 FROM t5
   WHERE (b5=412 AND 598=c5 AND d5=521 AND e5=72 AND a5=757)
      OR d5 in (910,42,263,806,118,957,738,940,938,480,495)
      OR a5 in (988,519,536,514,837,597,599,24,478,342)
INTERSECT
  SELECT d9 FROM t9
   WHERE NOT ((c9=579 AND b9=426 AND 270=d9))
UNION
  SELECT e6 FROM t6
   WHERE (a6=787 OR c6=718)
      OR d6 in (797,500,376,147,600,271,734,457,488,277,822)
EXCEPT
  SELECT d1 FROM t1
   WHERE NOT ((c1=200))
EXCEPT
  SELECT a2 FROM t2
   WHERE NOT ((d2=137 OR b2=181)
           OR d2 in (476,454,931)
           OR (e2=512))
EXCEPT
  SELECT a3 FROM t3
   WHERE NOT (a3 in (349,476,788,101,275,566,551,184,727,515,995)
           OR c3 in (885,360,929,455,146,133,372,647)
           OR (e3=972 AND b3=837))

query T valuesort
  SELECT c6 FROM t6
   WHERE (c6=242 AND a6=564 AND 2=d6 AND e6=100 AND 974=b6)
      OR (250=b6)
      OR (351=b6 OR 416=c6)
UNION ALL
  SELECT b2 FROM t2
   WHERE (806=d2 AND 168=b2 AND a2=769)
UNION ALL
  SELECT c7 FROM t7
   WHERE (b7=913 OR 67=e7 OR c7=705)
      OR (d7=196)
UNION
  SELECT c1 FROM t1
   WHERE b1 in (60,944,48,213,295,88,569,993,233,297,259,645)
      OR (492=d1)
EXCEPT
  SELECT d4 FROM t4
   WHERE NOT ((c4=483))
UNION ALL
  SELECT b5 FROM t5
   WHERE d5 in (565,276,919,856,772,132,858,977,810,542,321)
      OR e5 in (589,758,937)
EXCEPT
  SELECT d9 FROM t9
   WHERE NOT (c9 in (569,662,370)
           OR (64=c9 OR 613=c9 OR c9=884))
UNION ALL
  SELECT b8 FROM t8
   WHERE b8 in (182,461,806)
      OR d8 in (580,525,630,269,197,141,366,192)

query T valuesort
  SELECT a5 FROM t5
   WHERE (c5=824)
      OR (c5=50 OR c5=668)
INTERSECT
  SELECT b9 FROM t9
   WHERE NOT (c9 in (151,807,793,254,347,688,110,834,90)
           OR (578=b9 AND 868=e9 AND c9=739 AND a9=959))
UNION ALL
  SELECT b3 FROM t3
   WHERE (e3=232 OR d3=503)
EXCEPT
  SELECT d2 FROM t2
   WHERE NOT ((b2=543 AND e2=505 AND 83=c2 AND d2=854))
UNION
  SELECT b8 FROM t8
   WHERE (690=d8 AND 972=e8)
EXCEPT
  SELECT e1 FROM t1
   WHERE NOT ((274=d1)
           OR e1 in (117,956,522,733,602,763,463,523,117,539,158,772,693,52)
           OR (b1=993 AND 779=e1 AND d1=213 AND 853=a1))

query T valuesort
  SELECT d7 FROM t7
   WHERE b7 in (517,579,562,321,693,855,340,519,159,938)
UNION
  SELECT e9 FROM t9
   WHERE a9 in (149,712,251,739,474,450,429,28,258,803,104,683,485)
      OR (50=b9 AND 145=d9)
      OR c9 in (64,905,146,288,547,834,643,973,894,751,253,711,118,419)
EXCEPT
  SELECT a1 FROM t1
   WHERE NOT ((805=c1 AND e1=858 AND b1=355 AND 274=d1)
           OR (d1=900 AND c1=758 AND e1=811 AND 420=b1 AND a1=281))

query T valuesort
  SELECT d1 FROM t1
   WHERE (b1=113 AND c1=880)
UNION
  SELECT b2 FROM t2
   WHERE (772=d2 AND 922=a2 AND 554=b2 AND c2=318)
      OR (329=b2)
EXCEPT
  SELECT d7 FROM t7
   WHERE NOT (b7 in (273,859,266,868,276,407,360,30)
           OR (22=a7))

query T valuesort
  SELECT d7 FROM t7
   WHERE (c7=344 AND 430=a7)
EXCEPT
  SELECT e2 FROM t2
   WHERE NOT ((543=b2 OR b2=585))
UNION
  SELECT d3 FROM t3
   WHERE (e3=972 OR 177=e3)
UNION ALL
  SELECT c9 FROM t9
   WHERE (15=b9)
      OR (c9=807)
      OR (c9=37 OR 926=b9)
EXCEPT
  SELECT e4 FROM t4
   WHERE NOT ((b4=607)
           OR (141=e4 AND c4=832 AND a4=451))
UNION
  SELECT a1 FROM t1
   WHERE (d1=96 OR 289=c1 OR a1=4)
      OR c1 in (482,420,814,626,876,765,787,680,639,136,530,67)
      OR b1 in (213,355,280,682,37,75)

query T valuesort
  SELECT b9 FROM t9
   WHERE e9 in (799,383,418,944,19)
UNION ALL
  SELECT c1 FROM t1
   WHERE (382=a1 AND 619=d1 AND c1=882)
UNION ALL
  SELECT e7 FROM t7
   WHERE (97=a7 OR 813=c7)
      OR (a7=158 AND 506=d7 AND 506=b7 AND e7=851 AND 102=c7)
EXCEPT
  SELECT b2 FROM t2
   WHERE NOT (a2 in (802,185,262,910,415,91,495,735)
           OR (499=e2 AND 123=a2 AND 592=b2)
           OR c2 in (337,807,793,290,933))

query T valuesort
  SELECT b6 FROM t6
   WHERE a6 in (355,870,966,2,680,604,731,818)
      OR (c6=768 AND e6=67 AND 500=d6 AND b6=463)
EXCEPT
  SELECT a9 FROM t9
   WHERE NOT (b9 in (127,783,680,936,312,5,178,759,16,446,667,26)
           OR (d9=399))
UNION
  SELECT b5 FROM t5
   WHERE b5 in (69,657,336,544,860,606,661,113)
      OR (585=e5 AND 152=c5)
EXCEPT
  SELECT d2 FROM t2
   WHERE NOT (e2 in (322,162,463,125,148,812,366,524,981,604)
           OR d2 in (753,216,23,195,654,373,806,790,914,704,750,328,682,79))
UNION ALL
  SELECT e1 FROM t1
   WHERE e1 in (355,210,468,247,89,55,78,442)
      OR c1 in (771,420,683,390,716,915,393,654,623,607,636,204,175,681)
EXCEPT
  SELECT e3 FROM t3
   WHERE NOT ((651=e3 OR 565=c3 OR 844=c3))
UNION
  SELECT c4 FROM t4
   WHERE e4 in (352,1,565,677,38,377,37,312,223,184,252,122,372)
      OR (147=e4 OR 565=e4)
      OR (31=d4 AND 509=a4 AND 698=e4 AND 725=c4)

query T valuesort
  SELECT e7 FROM t7
   WHERE (944=c7 AND 813=b7 AND 903=e7 AND 649=a7 AND d7=765)
      OR c7 in (635,92,232,341,648,688,725,419,174,364,565,585,102,906)
      OR (d7=226)
INTERSECT
  SELECT e1 FROM t1
   WHERE NOT (a1 in (637,281,829,161,380,338)
           OR d1 in (701,666,679,922,335,394,902,221))
EXCEPT
  SELECT b3 FROM t3
   WHERE NOT ((c3=305 OR 520=d3 OR 763=a3)
           OR a3 in (490,190,197,784,162,549,947,651,282,591,532,644)
           OR e3 in (232,836,846,239))
UNION
  SELECT d2 FROM t2
   WHERE e2 in (815,547,820,572,117,162,706,938,812)
      OR (548=e2 AND 864=b2 AND a2=853 AND c2=182)
      OR a2 in (245,235,223,898,304,966,471,927)

query T valuesort
  SELECT a2 FROM t2
   WHERE (549=b2 OR 139=a2 OR c2=509)
      OR a2 in (283,185,279,564,123,980,268,543,966,891,186,209,664)
      OR (b2=367)
UNION
  SELECT b4 FROM t4
   WHERE (465=e4)
      OR (919=a4)
      OR (d4=628 AND c4=674)
EXCEPT
  SELECT e8 FROM t8
   WHERE NOT ((64=e8 AND 313=b8 AND c8=260 AND 15=a8))
UNION ALL
  SELECT a7 FROM t7
   WHERE d7 in (265,399,572,924)
      OR (998=a7)
EXCEPT
  SELECT d5 FROM t5
   WHERE NOT ((361=d5 AND 339=a5 AND c5=585))

query T valuesort
  SELECT e2 FROM t2
   WHERE (a2=283 OR c2=282)
INTERSECT
  SELECT e3 FROM t3
   WHERE NOT ((376=a3)
           OR c3 in (711,986,898,763,326,555,929,844,651,10,800))

query T valuesort
  SELECT c8 FROM t8
   WHERE (a8=347 OR 756=d8)
UNION ALL
  SELECT d2 FROM t2
   WHERE c2 in (127,657,251,411,894,966,87,220,676,729,466)
      OR (a2=374 OR d2=328)
      OR e2 in (820,647,923,548,138,629,945)
EXCEPT
  SELECT e4 FROM t4
   WHERE NOT (a4 in (378,574,605,386,948,513,901,451,540,152,337,625)
           OR (983=d4 AND e4=151 AND b4=653 AND 447=a4 AND 703=c4))
UNION
  SELECT e3 FROM t3
   WHERE d3 in (923,541,425,615)
      OR d3 in (283,503,896,548,635,895,38,560)
EXCEPT
  SELECT e7 FROM t7
   WHERE NOT ((172=d7 AND e7=826))
EXCEPT
  SELECT b5 FROM t5
   WHERE NOT ((822=b5 AND 599=c5)
           OR c5 in (149,924,101,437,941,894,613,570,723)
           OR (d5=480 AND 894=e5 AND 187=c5 AND b5=84))
EXCEPT
  SELECT e6 FROM t6
   WHERE NOT ((265=c6)
           OR (716=b6))
EXCEPT
  SELECT b1 FROM t1
   WHERE NOT ((253=c1 AND 504=d1 AND 584=b1 AND e1=695)
           OR (d1=75 AND 477=a1)
           OR (c1=498 OR 207=c1 OR b1=37))
UNION
  SELECT d9 FROM t9
   WHERE (e9=150 AND 90=c9 AND 421=b9)
      OR (602=d9)

query T valuesort
  SELECT d2 FROM t2
   WHERE (326=b2 AND d2=23 AND 283=c2 AND a2=2)
INTERSECT
  SELECT a8 FROM t8
   WHERE NOT ((150=a8)
           OR (d8=269))
EXCEPT
  SELECT d6 FROM t6
   WHERE NOT ((e6=847))
UNION
  SELECT b3 FROM t3
   WHERE (701=b3 AND a3=979 AND 7=c3 AND e3=702)

query T valuesort
  SELECT e6 FROM t6
   WHERE (b6=512)
      OR b6 in (427,601,243,997)
      OR (b6=963 OR a6=116 OR d6=197)
UNION
  SELECT b7 FROM t7
   WHERE e7 in (183,975,248,688,903,288,506,282)
EXCEPT
  SELECT b8 FROM t8
   WHERE NOT (a8 in (184,72,341,651,900,314,347,417,443,561,597)
           OR (d8=876 OR e8=620)
           OR (d8=876))
EXCEPT
  SELECT c5 FROM t5
   WHERE NOT ((d5=542 AND a5=960 AND c5=927 AND b5=846 AND e5=499)
           OR (443=c5 AND a5=153 AND d5=691 AND b5=587)
           OR (b5=620 AND c5=249 AND 882=a5 AND 731=d5 AND 225=e5))
EXCEPT
  SELECT c2 FROM t2
   WHERE NOT ((353=b2))
UNION ALL
  SELECT e4 FROM t4
   WHERE (177=c4 AND a4=804 AND 357=b4)
      OR (c4=996 AND e4=738 AND 792=a4 AND 100=d4)
      OR (1=e4 OR b4=220 OR e4=719)
EXCEPT
  SELECT b1 FROM t1
   WHERE NOT ((312=e1 OR 988=a1)
           OR e1 in (645,12,313,816,95,747,255,811,117,89,52,943,696,402)
           OR (407=d1 OR c1=787 OR 414=d1))

query T valuesort
  SELECT e3 FROM t3
   WHERE (376=b3 AND c3=806 AND 244=a3)
UNION
  SELECT b5 FROM t5
   WHERE (b5=231)
EXCEPT
  SELECT d7 FROM t7
   WHERE NOT (b7 in (720,996,868,679,308,422,579,426)
           OR (e7=929 AND d7=196 AND 827=b7 AND 585=c7))

query T valuesort
  SELECT e1 FROM t1
   WHERE e1 in (695,582,484,772,313,717,943,148,546,161,367,11)
      OR (602=e1 OR 607=c1)
      OR d1 in (806,234,323,254,602,412,349,863,770)
INTERSECT
  SELECT c5 FROM t5
   WHERE NOT ((626=a5 OR c5=3 OR 667=d5)
           OR (249=c5)
           OR c5 in (249,936,471,163,299,820,599,766,12,441))
UNION
  SELECT d9 FROM t9
   WHERE (e9=858 OR 619=e9 OR 739=c9)

query T valuesort
  SELECT e2 FROM t2
   WHERE (177=c2 AND e2=428)
INTERSECT
  SELECT b9 FROM t9
   WHERE NOT (a9 in (17,416,964,611,218,924,584,485,821,295,549,263,847)
           OR (b9=178)
           OR (b9=95))
UNION ALL
  SELECT e7 FROM t7
   WHERE (263=b7 OR b7=192 OR 798=b7)
UNION
  SELECT d3 FROM t3
   WHERE (12=a3)
      OR (a3=727)

query T valuesort
  SELECT b1 FROM t1
   WHERE d1 in (215,0,319,863,254)
      OR (763=e1 AND 828=b1)
UNION
  SELECT e3 FROM t3
   WHERE a3 in (697,396,30,41,255,184,784,262,576,899,727,614,560,282)
      OR (d3=950)
      OR (e3=425 OR 482=d3 OR b3=927)
UNION ALL
  SELECT b2 FROM t2
   WHERE (b2=846 AND 779=c2 AND d2=351 AND a2=279)
      OR (a2=159 AND 414=b2 AND 967=c2 AND d2=19)
      OR (339=e2)
EXCEPT
  SELECT b5 FROM t5
   WHERE NOT ((c5=734 OR 971=e5 OR 625=c5)
           OR a5 in (478,339,696,917,637,867,369,817,429,342,626)
           OR (e5=157))
EXCEPT
  SELECT c9 FROM t9
   WHERE NOT ((267=e9 OR 251=e9)
           OR (289=b9 AND 218=e9))
EXCEPT
  SELECT d6 FROM t6
   WHERE NOT (b6 in (974,126,421,461,144,461,348,350,782)
           OR (277=d6))

query T valuesort
  SELECT a2 FROM t2
   WHERE (e2=37 AND 186=a2 AND c2=24)
INTERSECT
  SELECT a1 FROM t1
   WHERE NOT ((c1=966 AND a1=702 AND b1=645 AND d1=820 AND 497=e1)
           OR e1 in (483,628,693,96,254,522))
INTERSECT
  SELECT c4 FROM t4
   WHERE NOT (d4 in (979,141,953,997,511,429,449,364,681,628))
EXCEPT
  SELECT e7 FROM t7
   WHERE NOT ((c7=807)
           OR d7 in (148,142,524,226,367,539,924,902,34,225,442,506,364))
EXCEPT
  SELECT a5 FROM t5
   WHERE NOT ((734=c5 AND 114=d5 AND 697=e5 AND 832=a5 AND 186=b5)
           OR (489=c5 AND a5=602 AND 271=d5 AND b5=391 AND 104=e5))
UNION ALL
  SELECT e8 FROM t8
   WHERE a8 in (794,359,15,171)
UNION ALL
  SELECT d9 FROM t9
   WHERE e9 in (801,736,477)
      OR (d9=258)
      OR c9 in (807,180,531,587,601,569)

query T valuesort
  SELECT c5 FROM t5
   WHERE (e5=971 AND 960=d5 AND 774=c5 AND b5=495)
UNION ALL
  SELECT e2 FROM t2
   WHERE (e2=923)
      OR c2 in (511,854,137,244,625,107,148,233,360,830,140,450,728,449)
      OR (c2=992 AND 265=d2 AND a2=315)
UNION
  SELECT b9 FROM t9
   WHERE (b9=312)
      OR (264=d9 OR 218=a9)

query T valuesort
  SELECT d4 FROM t4
   WHERE c4 in (752,703,854,667,513,221,238,188)
      OR b4 in (480,635,408,319,892,660,765,76)
      OR (366=d4 OR b4=961 OR 723=a4)
UNION
  SELECT e3 FROM t3
   WHERE (832=b3 OR b3=73)
      OR (494=c3)
      OR (a3=971 OR a3=282)
EXCEPT
  SELECT c9 FROM t9
   WHERE NOT ((d9=922 OR 142=b9))

query T valuesort
  SELECT a5 FROM t5
   WHERE d5 in (634,991,413,602,910,269,811,98)
      OR (674=b5 OR 922=c5)
      OR (18=c5 OR 495=b5)
UNION ALL
  SELECT e7 FROM t7
   WHERE a7 in (921,97,452)
      OR e7 in (460,827,154,98,782)
EXCEPT
  SELECT e2 FROM t2
   WHERE NOT ((73=b2)
           OR (901=a2 AND e2=463 AND 312=c2 AND b2=264)
           OR (e2=140))
UNION
  SELECT e3 FROM t3
   WHERE d3 in (826,708,538)
      OR (e3=765 OR b3=57)
UNION
  SELECT e4 FROM t4
   WHERE (873=c4 AND e4=179 AND 881=d4)
EXCEPT
  SELECT d9 FROM t9
   WHERE NOT ((349=c9 AND 511=a9 AND e9=477))
UNION
  SELECT d6 FROM t6
   WHERE a6 in (740,405,643,971,718,572,182,610,811,300)
UNION
  SELECT c8 FROM t8
   WHERE (366=b8)
      OR (60=d8)
      OR (a8=72)

query T valuesort
  SELECT d8 FROM t8
   WHERE (459=b8 AND 678=e8 AND 608=d8 AND c8=965)
      OR (366=d8 AND b8=365)
INTERSECT
  SELECT c7 FROM t7
   WHERE NOT (e7 in (4,976,976,422)
           OR (e7=562 OR d7=782 OR c7=585)
           OR (e7=552 OR 500=d7))
UNION ALL
  SELECT e3 FROM t3
   WHERE (975=e3 AND a3=341 AND c3=555 AND d3=363 AND 677=b3)
      OR c3 in (845,991,265,467,149,299,966)
      OR c3 in (395,477,178,647,809,476,467)
EXCEPT
  SELECT b2 FROM t2
   WHERE NOT ((140=c2)
           OR (a2=564 OR a2=76 OR 476=d2)
           OR c2 in (773,140,136,346,161,244,87,992,150,197,344,925))

query T valuesort
  SELECT c1 FROM t1
   WHERE (299=c1)
      OR e1 in (546,880,95,779)
      OR d1 in (0,187,75,414,726,973,376,87,346,105,828)
INTERSECT
  SELECT c7 FROM t7
   WHERE NOT (d7 in (787,842,367,177,817,603,837,526,296,996,925,500)
           OR c7 in (364,887,688,284))
INTERSECT
  SELECT c3 FROM t3
   WHERE NOT ((a3=353)
           OR (117=c3 AND b3=317 AND e3=318 AND a3=98 AND 247=d3)
           OR (28=b3 AND 16=a3))
UNION ALL
  SELECT e6 FROM t6
   WHERE c6 in (504,84,146,938,25,491,123,12,480)
      OR c6 in (267,637,434,749,769,177,480,506,11)
      OR a6 in (604,966,240,683,414,469,963,85)
EXCEPT
  SELECT e8 FROM t8
   WHERE NOT ((b8=563 OR 894=d8 OR e8=416)
           OR (e8=761 OR 108=d8 OR a8=259)
           OR d8 in (525,494,945))
EXCEPT
  SELECT b2 FROM t2
   WHERE NOT (b2 in (418,297,414,635,35,278,820,519,313,754,799,729,527)
           OR (c2=779 OR e2=40 OR 46=c2))
UNION
  SELECT d9 FROM t9
   WHERE e9 in (19,679,737,264)
      OR (b9=423 OR e9=936)
EXCEPT
  SELECT d5 FROM t5
   WHERE NOT (c5 in (86,163,696,527,868,799,44,894,689,960,797)
           OR (c5=163 AND e5=887 AND 32=d5))
UNION ALL
  SELECT b4 FROM t4
   WHERE (377=e4 AND d4=264)

query T valuesort
  SELECT d4 FROM t4
   WHERE (d4=449 OR 471=c4 OR 778=e4)
INTERSECT
  SELECT d3 FROM t3
   WHERE NOT ((c3=900 OR 476=c3 OR a3=697))

query T valuesort
  SELECT b7 FROM t7
   WHERE e7 in (197,782,31)
      OR (589=c7 AND d7=134 AND a7=433 AND b7=323)
      OR d7 in (837,131,315,306,603,399,328,164,142,939)
UNION
  SELECT c9 FROM t9
   WHERE b9 in (410,171,118,361)
      OR (c9=767 AND 868=b9 AND a9=474 AND 799=e9)
EXCEPT
  SELECT c5 FROM t5
   WHERE NOT (c5 in (187,210,155))
UNION ALL
  SELECT c4 FROM t4
   WHERE (987=d4)
      OR (936=c4 OR 484=c4)

query T valuesort
  SELECT b8 FROM t8
   WHERE (d8=989 OR a8=70)
      OR (d8=197)
UNION ALL
  SELECT e7 FROM t7
   WHERE (627=b7 OR 726=b7 OR 687=d7)
UNION ALL
  SELECT d4 FROM t4
   WHERE e4 in (491,837,188,760,816,37,677,85)
UNION ALL
  SELECT e5 FROM t5
   WHERE (640=b5)
      OR e5 in (157,187,732,141,937,180,155,441,585,874,772,342,522,610)
      OR d5 in (313,521,361,856,731,98,738,413,59,520,492)
UNION
  SELECT e1 FROM t1
   WHERE c1 in (548,5,498,553)
      OR (e1=139 OR d1=376 OR 35=d1)
EXCEPT
  SELECT b2 FROM t2
   WHERE NOT ((e2=463 OR 621=d2))

query T valuesort
  SELECT a9 FROM t9
   WHERE c9 in (836,327,739,95,126)
UNION ALL
  SELECT a5 FROM t5
   WHERE a5 in (69,514,445,319,740,536,50,270,513,319)
      OR (e5=725 OR 602=d5 OR 674=b5)
UNION ALL
  SELECT a3 FROM t3
   WHERE (b3=178)
      OR (972=e3 AND 792=c3 AND 38=d3)

query T valuesort
  SELECT e4 FROM t4
   WHERE (988=d4)
      OR e4 in (486,415,35,977,631,381,512,596,698,767,554,38,123,37)
      OR (752=a4 OR a4=708 OR b4=700)
INTERSECT
  SELECT d1 FROM t1
   WHERE NOT ((939=d1 AND 772=c1 AND a1=868 AND b1=570)
           OR (a1=622 OR b1=270 OR 298=e1)
           OR c1 in (259,416,620,97,654,441,309))
EXCEPT
  SELECT a6 FROM t6
   WHERE NOT ((262=b6 AND 33=a6 AND e6=67))
EXCEPT
  SELECT b7 FROM t7
   WHERE NOT ((a7=736 AND c7=14 AND 506=e7 AND d7=885 AND b7=717))
UNION
  SELECT e5 FROM t5
   WHERE (d5=745 OR d5=789 OR 37=c5)
      OR (117=d5 AND 923=c5)
      OR c5 in (989,924,756,922)
UNION ALL
  SELECT c2 FROM t2
   WHERE (179=c2 AND 367=d2 AND b2=8 AND 535=e2)
UNION
  SELECT c9 FROM t9
   WHERE e9 in (278,704,575,647,653,477,619,788,672,133,607,978)
      OR d9 in (855,967,770,591)
EXCEPT
  SELECT d3 FROM t3
   WHERE NOT (e3 in (147,221,728,586,131,265,271,526,853,425,818,914,87,83)
           OR (a3=788 AND b3=334)
           OR (a3=720))
UNION ALL
  SELECT d8 FROM t8
   WHERE (d8=876 OR 809=e8 OR 702=b8)
      OR (225=c8 AND 127=a8 AND b8=975 AND 737=d8)

query T valuesort
  SELECT b6 FROM t6
   WHERE (a6=211 OR 646=e6)
      OR (b6=541 AND 975=c6 AND a6=255 AND 154=e6)
      OR (6=e6)
UNION
  SELECT a3 FROM t3
   WHERE e3 in (365,178,605,846,829,951)
UNION ALL
  SELECT d5 FROM t5
   WHERE (e5=894 OR 963=d5)
      OR (716=b5 AND d5=520 AND a5=513)
EXCEPT
  SELECT a1 FROM t1
   WHERE NOT (a1 in (584,591,776,330,895,194,294,324,477,237,438)
           OR (b1=55)
           OR a1 in (194,23,406,536,109))
EXCEPT
  SELECT b2 FROM t2
   WHERE NOT (b2 in (285,811,275,113,605,635,367,357))

query T valuesort
  SELECT d2 FROM t2
   WHERE (278=b2 AND c2=193 AND 317=d2 AND 10=a2 AND e2=282)
      OR (445=e2 OR c2=202)
INTERSECT
  SELECT d1 FROM t1
   WHERE NOT ((299=e1 OR 442=e1)
           OR c1 in (346,36,548,289,246))

query T valuesort
  SELECT c6 FROM t6
   WHERE (84=c6)
      OR (a6=148 AND c6=399 AND 24=e6 AND d6=321 AND 650=b6)
INTERSECT
  SELECT a2 FROM t2
   WHERE NOT ((c2=161 OR e2=16 OR c2=136)
           OR (a2=159))
UNION
  SELECT a4 FROM t4
   WHERE (221=c4 OR 777=d4)
      OR (243=b4 OR 407=b4)
      OR e4 in (312,71,482,185,103,349,1,123,188,677)
EXCEPT
  SELECT a7 FROM t7
   WHERE NOT (c7 in (103,548,38,857)
           OR (832=b7)
           OR b7 in (305,867,808,220,726,636,234,612,396,271))
UNION
  SELECT b9 FROM t9
   WHERE e9 in (82,383,197,15,127,653,837,291)
      OR (457=c9 AND a9=273)
UNION ALL
  SELECT d8 FROM t8
   WHERE d8 in (116,945,637,636,894,916,484,14,525,715,141,541)
UNION ALL
  SELECT a3 FROM t3
   WHERE (e3=494 OR 665=b3 OR e3=4)
      OR c3 in (991,885,477,777,555,81,929,326,375,580,133)
      OR (80=c3 OR 971=a3 OR b3=577)
EXCEPT
  SELECT b5 FROM t5
   WHERE NOT ((e5=894 AND d5=480 AND c5=187))

query T valuesort
  SELECT c8 FROM t8
   WHERE (a8=347)
      OR (20=d8 AND a8=70 AND b8=523 AND e8=463 AND 979=c8)
INTERSECT
  SELECT e9 FROM t9
   WHERE NOT ((197=e9 AND 606=d9 AND b9=804 AND a9=458 AND c9=419)
           OR (d9=51 AND 327=c9)
           OR (291=e9 AND 118=b9))
INTERSECT
  SELECT b5 FROM t5
   WHERE NOT ((e5=270))
INTERSECT
  SELECT c1 FROM t1
   WHERE NOT (b1 in (807,432,696,350))

query T valuesort
  SELECT b7 FROM t7
   WHERE c7 in (478,432,301,709,948,232,966,92,954,529,934,482)
      OR (d7=594 AND b7=764 AND 288=e7)
      OR b7 in (222,861,455,996,59,480)
INTERSECT
  SELECT b4 FROM t4
   WHERE NOT (e4 in (790,476,552,816,38,9,85,916,300,122,206,349,531,763))
UNION ALL
  SELECT d1 FROM t1
   WHERE (355=b1)
      OR (736=a1)
EXCEPT
  SELECT b5 FROM t5
   WHERE NOT ((c5=628 OR 944=e5)
           OR (336=b5 OR 150=e5)
           OR (148=a5))
UNION ALL
  SELECT e3 FROM t3
   WHERE (977=e3 OR c3=565 OR 614=a3)
      OR d3 in (896,650,826,520,134,495,46,720,247,283)

query T valuesort
  SELECT c8 FROM t8
   WHERE (384=e8 OR 400=a8 OR b8=461)
UNION
  SELECT a2 FROM t2
   WHERE e2 in (621,223,441,721,963,381,427,117,148,820,242,294,812)
EXCEPT
  SELECT a5 FROM t5
   WHERE NOT ((c5=602))
EXCEPT
  SELECT d4 FROM t4
   WHERE NOT ((948=a4)
           OR (390=e4 OR 713=d4)
           OR (c4=455))
EXCEPT
  SELECT d1 FROM t1
   WHERE NOT ((766=b1 AND a1=294 AND 731=e1 AND 807=d1)
           OR (215=a1 OR b1=556 OR 416=c1))
UNION ALL
  SELECT d6 FROM t6
   WHERE (46=a6 AND 699=b6 AND c6=377 AND 286=d6 AND 738=e6)

query T valuesort
  SELECT d3 FROM t3
   WHERE (a3=380 OR 550=e3 OR b3=317)
EXCEPT
  SELECT c7 FROM t7
   WHERE NOT ((346=d7 AND 638=e7 AND c7=145))

query T valuesort
  SELECT e6 FROM t6
   WHERE e6 in (622,439,761,972,794,574,707,503,257)
      OR (270=a6 OR d6=393 OR 692=a6)
EXCEPT
  SELECT b4 FROM t4
   WHERE NOT ((b4=33 AND a4=574))
EXCEPT
  SELECT a8 FROM t8
   WHERE NOT ((e8=893 AND c8=111 AND b8=1 AND 2=d8 AND a8=561)
           OR (493=b8 AND d8=541 AND c8=513 AND a8=628))
UNION
  SELECT e5 FROM t5
   WHERE d5 in (789,957,369,413,847,855,806,858,521,616)

query T valuesort
  SELECT e4 FROM t4
   WHERE (a4=337 AND c4=220 AND 658=d4 AND 837=e4 AND 917=b4)
      OR (442=b4)
UNION ALL
  SELECT e9 FROM t9
   WHERE (a9=413 AND 450=d9)
      OR d9 in (744,646,554,347,818,909,821,662,808,602)
      OR a9 in (549,905,747,959,815,28,263,18,610,972)
EXCEPT
  SELECT c6 FROM t6
   WHERE NOT ((175=e6)
           OR (c6=35))
EXCEPT
  SELECT b2 FROM t2
   WHERE NOT (e2 in (147,411,777,223,955,953,629,213,73,706,386,554))
EXCEPT
  SELECT c7 FROM t7
   WHERE NOT ((a7=430 OR d7=192 OR 11=a7)
           OR (167=a7 AND e7=168 AND 436=d7)
           OR c7 in (232,557,341,954,635,432,103,375))
EXCEPT
  SELECT b5 FROM t5
   WHERE NOT ((a5=297)
           OR (976=a5))

query T valuesort
  SELECT b5 FROM t5
   WHERE (470=e5)
      OR c5 in (18,922,545,101,824,934,601,158,766)
      OR d5 in (369,69,964,977,855,856,634,806,565,495,841)
UNION
  SELECT c1 FROM t1
   WHERE (55=b1)
EXCEPT
  SELECT e9 FROM t9
   WHERE NOT ((239=e9 OR b9=912 OR 235=d9))
UNION
  SELECT a3 FROM t3
   WHERE (321=e3 OR d3=866 OR e3=833)
      OR b3 in (156,713,17)
      OR (393=e3 AND a3=12 AND b3=203 AND 720=d3 AND 10=c3)
EXCEPT
  SELECT b2 FROM t2
   WHERE NOT ((79=d2 OR 415=a2 OR d2=86)
           OR (d2=398 AND 317=b2))
UNION ALL
  SELECT e7 FROM t7
   WHERE (c7=301 AND 837=d7 AND a7=950)
UNION ALL
  SELECT d6 FROM t6
   WHERE (648=c6 AND 825=a6 AND d6=424)
      OR (65=c6 AND 877=a6 AND d6=590 AND e6=329 AND 601=b6)

query T valuesort
  SELECT c9 FROM t9
   WHERE b9 in (74,578,759,285,211,210,751,855,893,77,525)
EXCEPT
  SELECT a6 FROM t6
   WHERE NOT (c6 in (963,65,910,287,430)
           OR b6 in (276,629,54,549,541,262,974,962,875,774,601,232,0))

query T valuesort
  SELECT a2 FROM t2
   WHERE a2 in (796,186,304)
      OR b2 in (73,90,859,755,819,966,632,418,279,649,161,226,823)
UNION
  SELECT b5 FROM t5
   WHERE (938=d5 AND 824=c5 AND a5=18 AND e5=902)
      OR (599=a5 AND 147=c5 AND d5=4 AND 18=e5)
EXCEPT
  SELECT e8 FROM t8
   WHERE NOT ((e8=682 AND 93=c8))
EXCEPT
  SELECT e1 FROM t1
   WHERE NOT ((818=d1 AND 145=a1 AND e1=328 AND 230=c1)
           OR (441=c1))
UNION ALL
  SELECT e7 FROM t7
   WHERE (221=b7)
UNION ALL
  SELECT a9 FROM t9
   WHERE e9 in (307,799,486,486,723,804,567,264,35,942,995,267)
      OR (b9=568 OR d9=770 OR d9=467)
UNION
  SELECT d6 FROM t6
   WHERE (c6=146 OR c6=146 OR 572=c6)
EXCEPT
  SELECT a3 FROM t3
   WHERE NOT ((932=b3 AND d3=364 AND e3=260)
           OR (429=a3 OR 372=c3))
EXCEPT
  SELECT d4 FROM t4
   WHERE NOT ((e4=698 AND 509=a4 AND 434=b4 AND c4=725 AND 31=d4)
           OR (273=e4 AND 235=a4 AND d4=583 AND b4=982 AND 153=c4)
           OR (c4=758 AND 105=d4 AND 442=a4))

query T valuesort
  SELECT d2 FROM t2
   WHERE (544=a2 AND 351=d2)
      OR (779=c2 AND 351=d2 AND b2=846)
UNION ALL
  SELECT d5 FROM t5
   WHERE (e5=592 OR 820=c5)
UNION
  SELECT d8 FROM t8
   WHERE (b8=244 OR 647=c8 OR d8=756)
      OR d8 in (330,833,190,108,608,805,456,482,889,523,627)
UNION ALL
  SELECT d1 FROM t1
   WHERE (805=c1 AND e1=858 AND 274=d1 AND a1=810 AND 355=b1)
EXCEPT
  SELECT c7 FROM t7
   WHERE NOT (a7 in (233,439,466,85))
EXCEPT
  SELECT b9 FROM t9
   WHERE NOT ((751=c9 OR c9=807 OR d9=25))
UNION
  SELECT e6 FROM t6
   WHERE (537=a6 AND 729=c6)
UNION ALL
  SELECT e4 FROM t4
   WHERE b4 in (434,551,733,634,986,941)

query T valuesort
  SELECT c7 FROM t7
   WHERE (529=c7)
UNION ALL
  SELECT e5 FROM t5
   WHERE a5 in (319,24,540,342,270,929,132,319,544,513,921)
      OR (480=d5 AND c5=187)
      OR (69=a5)
EXCEPT
  SELECT d6 FROM t6
   WHERE NOT ((e6=154 AND 255=a6 AND 674=d6 AND b6=541 AND 975=c6)
           OR b6 in (575,6,223,699,905,262,825,296,226,63,348)
           OR e6 in (737,654,230))
EXCEPT
  SELECT d8 FROM t8
   WHERE NOT ((d8=623 OR a8=200)
           OR (b8=162)
           OR (c8=61))
UNION ALL
  SELECT e1 FROM t1
   WHERE (813=e1 AND a1=898 AND 319=d1 AND b1=556)
UNION ALL
  SELECT e3 FROM t3
   WHERE (386=b3 OR 38=d3 OR 889=d3)
      OR (c3=584 OR c3=970 OR c3=86)
      OR (e3=275 OR 596=e3)

query T valuesort
  SELECT d9 FROM t9
   WHERE (214=b9 AND 463=d9 AND e9=146 AND c9=457 AND a9=273)
EXCEPT
  SELECT c6 FROM t6
   WHERE NOT (b6 in (202,378,507,6,774,490,583,243,262,882)
           OR (283=e6))
UNION ALL
  SELECT a5 FROM t5
   WHERE (a5=342)
UNION ALL
  SELECT d2 FROM t2
   WHERE c2 in (374,728,496,150,444,127,964,807,182,141,878,511,27)
      OR (560=e2)
      OR (a2=802 AND 812=b2 AND 27=c2)

query T valuesort
  SELECT c3 FROM t3
   WHERE (249=e3 OR 273=b3 OR a3=829)
      OR (482=d3 OR b3=376)
      OR (131=e3 AND d3=444 AND 964=a3 AND 970=c3)
UNION ALL
  SELECT a7 FROM t7
   WHERE d7 in (925,212,831,142,52,782,781,549,172)
      OR d7 in (916,292,777,590)
      OR (d7=785 AND 665=a7 AND e7=6 AND 249=c7)
UNION ALL
  SELECT d4 FROM t4
   WHERE (31=a4 AND 943=d4 AND 299=c4)
      OR c4 in (424,0,521,585,964,157,208,273,47,936,690,806,998)
UNION ALL
  SELECT d5 FROM t5
   WHERE (153=a5)
UNION
  SELECT b2 FROM t2
   WHERE c2 in (900,197,551,27,251,509,182)
      OR e2 in (788,117,512,953)
      OR a2 in (135,773,297,594,980,664,327)
UNION ALL
  SELECT b8 FROM t8
   WHERE (b8=34 OR e8=423 OR c8=404)
      OR b8 in (796,889,211,984,469,963,503,228,862)
      OR (351=b8)

query T valuesort
  SELECT a3 FROM t3
   WHERE (e3=975 OR e3=281)
      OR (2=d3)
UNION
  SELECT d2 FROM t2
   WHERE (e2=223 AND 779=c2 AND 279=a2 AND b2=846 AND d2=351)
EXCEPT
  SELECT b6 FROM t6
   WHERE NOT ((265=c6)
           OR (366=d6 AND 512=b6)
           OR (d6=366))
UNION ALL
  SELECT b1 FROM t1
   WHERE (297=d1 AND 89=e1 AND 674=a1 AND c1=774)
      OR c1 in (441,4,765,15)
      OR (874=d1)
UNION ALL
  SELECT a5 FROM t5
   WHERE (c5=924 OR 41=e5 OR 557=d5)
      OR b5 in (606,774,234,858,629,69,91)
UNION
  SELECT b8 FROM t8
   WHERE (273=e8 AND 503=b8 AND 394=c8 AND 331=a8)
EXCEPT
  SELECT b9 FROM t9
   WHERE NOT ((678=d9 AND 110=c9)
           OR (458=a9)
           OR b9 in (783,312,289,171,251,827,524))

query T valuesort
  SELECT d4 FROM t4
   WHERE (694=c4 AND b4=407 AND a4=210 AND 565=e4 AND d4=60)
EXCEPT
  SELECT b9 FROM t9
   WHERE NOT ((c9=98 OR 323=c9))
EXCEPT
  SELECT a2 FROM t2
   WHERE NOT (e2 in (138,698,938,217,673)
           OR (a2=1 OR 524=e2)
           OR (783=e2 AND b2=818 AND d2=315 AND a2=805))
UNION
  SELECT c1 FROM t1
   WHERE d1 in (335,602,973)
EXCEPT
  SELECT e3 FROM t3
   WHERE NOT ((821=e3 OR 608=a3 OR 341=a3)
           OR (117=c3))
EXCEPT
  SELECT e6 FROM t6
   WHERE NOT (d6 in (500,172,931,337,869,560,269,729,711,855,467,453)
           OR (850=b6 OR d6=974 OR 893=e6))
EXCEPT
  SELECT a5 FROM t5
   WHERE NOT ((446=e5 OR c5=733 OR 743=a5)
           OR (841=d5))
UNION ALL
  SELECT b7 FROM t7
   WHERE (89=e7 AND a7=452 AND b7=24 AND d7=599 AND 934=c7)

query T valuesort
  SELECT e6 FROM t6
   WHERE a6 in (818,572,62,672,615,610,585)
UNION
  SELECT c1 FROM t1
   WHERE (195=a1)
      OR a1 in (538,853,637)
UNION ALL
  SELECT d8 FROM t8
   WHERE (328=a8 AND 846=e8)
      OR d8 in (523,124,862,667,20)

query T valuesort
  SELECT b7 FROM t7
   WHERE a7 in (758,147,950,158,439,684,299,574,452,130,848,290,806,416)
      OR e7 in (971,4,955,562,552,7,851)
UNION ALL
  SELECT a5 FROM t5
   WHERE (874=e5 AND c5=384 AND 132=a5 AND 942=b5)
UNION ALL
  SELECT b6 FROM t6
   WHERE b6 in (461,461,202,549,350,250)
      OR (731=a6 OR 682=e6)
      OR b6 in (696,452,716,984)

query T valuesort
  SELECT c6 FROM t6
   WHERE a6 in (751,414,531,696)
      OR d6 in (493,147,172,366,60,467,457,321,561,729,489)
      OR (e6=737 AND d6=473 AND a6=182 AND 232=b6 AND 265=c6)
UNION
  SELECT d4 FROM t4
   WHERE (c4=854)
      OR (450=a4 OR b4=860 OR 513=a4)
      OR e4 in (188,692,438,600,837,184,557,677,71,390,324,778,575)
EXCEPT
  SELECT e9 FROM t9
   WHERE NOT ((487=c9 OR b9=2 OR 19=b9)
           OR (41=a9 AND d9=495))
EXCEPT
  SELECT d2 FROM t2
   WHERE NOT (a2 in (785,254,590,93,135,651,508,445,283,922,936)
           OR d2 in (351,897,362,137,158,8,723,516,537,663))
EXCEPT
  SELECT e8 FROM t8
   WHERE NOT ((591=a8))
UNION ALL
  SELECT d3 FROM t3
   WHERE (566=b3 OR d3=615)
EXCEPT
  SELECT b5 FROM t5
   WHERE NOT ((855=c5 AND 874=b5 AND 856=d5)
           OR (667=d5 AND 351=c5 AND a5=730)
           OR (a5=242))

query T valuesort
  SELECT d4 FROM t4
   WHERE (e4=151 OR e4=931)
      OR (950=d4)
UNION ALL
  SELECT e7 FROM t7
   WHERE (976=e7 AND a7=876 AND 590=d7)
      OR (105=b7 OR a7=442)
UNION ALL
  SELECT d9 FROM t9
   WHERE (745=d9 AND 837=e9 AND 451=c9)
      OR (834=c9 AND a9=776)
      OR (304=a9 OR e9=647)
UNION ALL
  SELECT c6 FROM t6
   WHERE e6 in (766,893,631,100,95,74,946,241,707,588,750,324)
      OR e6 in (682,634,495,738,360,731,417)
      OR c6 in (975,12,928,413,4,123)
UNION ALL
  SELECT c8 FROM t8
   WHERE c8 in (656,965,866,113,100,160,851,508,705,117,32,421)
EXCEPT
  SELECT b3 FROM t3
   WHERE NOT (c3 in (80,777,656,809))
EXCEPT
  SELECT a5 FROM t5
   WHERE NOT ((b5=605)
           OR (25=e5))
EXCEPT
  SELECT d1 FROM t1
   WHERE NOT (e1 in (117,96,483,72,313,247,221,210,931,381,95,12,747,943)
           OR b1 in (49,447,662,620,788,226,422,894,426,254))

query T valuesort
  SELECT a2 FROM t2
   WHERE (e2=579)
UNION
  SELECT a1 FROM t1
   WHERE (498=c1)
      OR (e1=896 OR a1=629)
UNION
  SELECT c6 FROM t6
   WHERE (910=c6)

query T valuesort
  SELECT c8 FROM t8
   WHERE (14=e8)
      OR a8 in (586,72,855,638,359,474,620,453,386,99,113,553,672,963)
UNION ALL
  SELECT a3 FROM t3
   WHERE (c3=220)
UNION
  SELECT b9 FROM t9
   WHERE (19=e9 OR 875=a9)
      OR (e9=873 AND a9=5 AND b9=142 AND 818=d9)
      OR d9 in (316,495,283,646,347,345,818,161,439,618,694)
UNION
  SELECT b5 FROM t5
   WHERE (c5=613)

query T valuesort
  SELECT d6 FROM t6
   WHERE d6 in (664,600,467,911,867,424)
      OR (255=a6 OR 414=a6)
      OR (e6=761 OR b6=449 OR 290=b6)
INTERSECT
  SELECT d8 FROM t8
   WHERE NOT ((300=b8 OR 807=b8)
           OR a8 in (12,638,564,957))
INTERSECT
  SELECT c3 FROM t3
   WHERE NOT ((e3=853 OR 548=a3 OR b3=124)
           OR (c3=265 AND d3=548 AND b3=788 AND e3=136)
           OR (334=b3))
UNION
  SELECT a7 FROM t7
   WHERE c7 in (243,659,146,14,103,931,688,705)
      OR (436=d7 OR 462=e7)
      OR e7 in (663,197,183,89,816,860,372,290,503)
EXCEPT
  SELECT a4 FROM t4
   WHERE NOT (c4 in (455,873,674,436))
UNION
  SELECT b9 FROM t9
   WHERE (161=d9 AND 549=b9 AND 368=e9)
UNION
  SELECT b2 FROM t2
   WHERE (150=c2 AND d2=806 AND e2=777 AND a2=769 AND b2=168)
      OR d2 in (892,887,750,682,663,749,389,860,448,516)
      OR (b2=784 AND 707=e2 AND a2=283 AND 790=d2)
UNION
  SELECT e1 FROM t1
   WHERE a1 in (967,981,492,194,314,517,75,161,521)
EXCEPT
  SELECT d5 FROM t5
   WHERE NOT ((242=a5 AND 634=d5 AND e5=68 AND b5=559)
           OR (342=a5 OR a5=332))

query T valuesort
  SELECT e9 FROM t9
   WHERE (a9=413 OR b9=5)
      OR (118=b9 OR 737=e9)
UNION ALL
  SELECT b2 FROM t2
   WHERE e2 in (118,117,936,381,698,556,564,554,560)
      OR (c2=925)
      OR (773=c2 OR 79=d2 OR b2=605)
UNION ALL
  SELECT c1 FROM t1
   WHERE (462=b1)
      OR (c1=805 AND 282=b1 AND e1=158)
      OR (b1=766 OR d1=818)
UNION
  SELECT b5 FROM t5
   WHERE c5 in (766,570,222,348,634,628,250)
EXCEPT
  SELECT c6 FROM t6
   WHERE NOT ((c6=135 AND 615=a6 AND e6=395 AND 202=b6)
           OR b6 in (583,452,905,575,716,461,217,449,300,537,463,782,662,226))
EXCEPT
  SELECT c3 FROM t3
   WHERE NOT (a3 in (490,971,929,763,197,594,337)
           OR (d3=797 OR a3=499))
UNION
  SELECT d7 FROM t7
   WHERE (455=e7)
      OR e7 in (154,31,201,562,970,815,462,488,7,462,975,979,127)
      OR (777=d7 OR 192=b7)
UNION ALL
  SELECT d8 FROM t8
   WHERE (c8=693 AND 248=a8 AND 809=e8 AND 989=d8 AND b8=369)
      OR d8 in (108,14,811,623,608)
      OR (c8=901 OR 423=e8)
EXCEPT
  SELECT b4 FROM t4
   WHERE NOT (b4 in (35,678,434,469,442,40,323))

query T valuesort
  SELECT d5 FROM t5
   WHERE (e5=554 AND d5=492)
      OR (114=a5 OR c5=422 OR c5=18)
UNION
  SELECT a7 FROM t7
   WHERE (177=d7 AND 503=b7 AND e7=955 AND a7=707)
      OR a7 in (565,208,995,97,744,879,998,952,277,699)
      OR (b7=480 OR 707=a7 OR e7=975)

query T valuesort
  SELECT b2 FROM t2
   WHERE c2 in (711,179,45,878,141,137,4,177,511,161,722,779)
UNION ALL
  SELECT b1 FROM t1
   WHERE (171=e1 OR 949=e1 OR 445=a1)
UNION
  SELECT e6 FROM t6
   WHERE (a6=35 OR 622=e6)
      OR (966=a6 OR d6=424 OR 769=c6)
UNION ALL
  SELECT c8 FROM t8
   WHERE d8 in (950,715,845,835,769,463,608,682,48)
      OR (647=b8)
UNION
  SELECT a7 FROM t7
   WHERE (a7=736)
      OR (e7=887 AND 27=a7 AND d7=709 AND c7=364 AND b7=495)
EXCEPT
  SELECT c4 FROM t4
   WHERE NOT ((b4=606 OR b4=476))
UNION ALL
  SELECT c3 FROM t3
   WHERE (866=d3)
      OR (307=d3)
      OR (232=e3 AND d3=361 AND 86=c3)
UNION
  SELECT e9 FROM t9
   WHERE (606=d9 AND b9=804 AND 458=a9 AND e9=197)
EXCEPT
  SELECT c5 FROM t5
   WHERE NOT ((613=c5 AND 594=e5 AND 273=b5)
           OR (492=d5 OR 616=d5)
           OR (579=c5 OR c5=485 OR 188=e5))

query T valuesort
  SELECT e5 FROM t5
   WHERE (e5=558 AND 729=c5 AND d5=787)
      OR c5 in (585,934,12,797,721,723,31,250,44,799,198,18)
UNION
  SELECT b2 FROM t2
   WHERE d2 in (539,806,749)
      OR (421=c2 AND b2=220 AND 185=a2 AND e2=936)
      OR (560=e2 AND b2=932)
EXCEPT
  SELECT c4 FROM t4
   WHERE NOT (c4 in (84,749,752,631,274)
           OR (d4=31 OR 40=b4 OR 81=e4)
           OR d4 in (236,441,524,105,657,366,546,985,617,323,306))
UNION
  SELECT a3 FROM t3
   WHERE (b3=584)
UNION ALL
  SELECT d6 FROM t6
   WHERE c6 in (28,506,500,677,159,295,287,729,677,534,938,45)
      OR (c6=446)
      OR (187=c6 OR b6=210 OR b6=565)
EXCEPT
  SELECT d9 FROM t9
   WHERE NOT ((a9=905 AND 647=e9 AND d9=51 AND 128=b9 AND c9=327)
           OR (351=c9))

query T valuesort
  SELECT b2 FROM t2
   WHERE (851=a2 OR a2=980)
UNION
  SELECT e9 FROM t9
   WHERE e9 in (426,621,117,704,291,965,944,477)
UNION
  SELECT c1 FROM t1
   WHERE (d1=750 AND b1=652 AND e1=430 AND c1=864)
EXCEPT
  SELECT e3 FROM t3
   WHERE NOT (c3 in (265,134,697,439,211,492,806,986,688,584,954,494,395,565)
           OR e3 in (913,593,275,178,600))
EXCEPT
  SELECT c8 FROM t8
   WHERE NOT ((d8=197 AND c8=486)
           OR (459=b8 AND e8=678 AND 957=a8)
           OR (c8=279))
UNION ALL
  SELECT e6 FROM t6
   WHERE (e6=972 OR 129=d6 OR 731=e6)
      OR (e6=261 AND 731=a6 AND 146=c6 AND d6=664)

query T valuesort
  SELECT b8 FROM t8
   WHERE (651=a8 OR 397=b8)
INTERSECT
  SELECT d1 FROM t1
   WHERE NOT ((c1=498))
UNION
  SELECT d3 FROM t3
   WHERE (273=d3 AND 826=c3 AND a3=376 AND e3=425)
UNION
  SELECT c2 FROM t2
   WHERE c2 in (360,27,46)
      OR (c2=22 AND 669=d2 AND b2=635)
      OR c2 in (283,729,312,560,900,290,61,274)

query T valuesort
  SELECT b2 FROM t2
   WHERE (564=e2 AND 992=c2 AND 315=a2 AND b2=532)
INTERSECT
  SELECT e7 FROM t7
   WHERE NOT (e7 in (503,782,827,816,826))
UNION
  SELECT e8 FROM t8
   WHERE e8 in (56,736,809,14,63,579,806,608,682)
      OR a8 in (963,728,807,331,312,341,474,250,514,502)
      OR (44=e8 AND 563=a8 AND 761=d8 AND 259=b8 AND c8=762)
EXCEPT
  SELECT c6 FROM t6
   WHERE NOT ((761=e6))
UNION ALL
  SELECT c4 FROM t4
   WHERE (558=a4 OR 583=d4)
UNION
  SELECT a9 FROM t9
   WHERE (808=d9 AND b9=880 AND c9=253)
      OR (b9=171 OR 149=b9)
      OR (446=b9 AND 790=d9 AND 992=c9 AND a9=685)
EXCEPT
  SELECT b3 FROM t3
   WHERE NOT (e3 in (844,914,848,605,321,547)
           OR (87=e3 OR 688=c3 OR 133=c3)
           OR (b3=566 OR b3=122 OR 818=a3))
EXCEPT
  SELECT d5 FROM t5
   WHERE NOT ((c5=824)
           OR (163=a5 AND e5=270 AND 292=b5)
           OR c5 in (855,723,734,299,696,422,485))
UNION ALL
  SELECT e1 FROM t1
   WHERE (c1=388 OR c1=585 OR 565=d1)
      OR (e1=89 AND d1=297 AND a1=674 AND c1=774 AND 346=b1)
      OR e1 in (181,731,328,367,921,210,766)

query T valuesort
  SELECT b9 FROM t9
   WHERE d9 in (439,283,694,618)
      OR (e9=195 AND c9=254)
      OR c9 in (180,734,764,793,711,98,370,739)
UNION ALL
  SELECT d4 FROM t4
   WHERE (b4=882)
UNION
  SELECT b8 FROM t8
   WHERE (50=d8 AND c8=544)
UNION ALL
  SELECT c1 FROM t1
   WHERE d1 in (619,586,175,481,212,863,223,798,4,18,717,187,346,186)
      OR d1 in (913,529,38,942,315)
      OR (a1=779 OR e1=897)

query T valuesort
  SELECT a9 FROM t9
   WHERE (410=b9 AND e9=723 AND 149=a9)
      OR (b9=170 AND 335=a9 AND 82=e9)
UNION ALL
  SELECT d6 FROM t6
   WHERE (c6=65 AND 601=b6 AND d6=590 AND 877=a6)
UNION ALL
  SELECT b1 FROM t1
   WHERE d1 in (661,818,618,294,232,955,481,701)
      OR (c1=252 AND b1=269 AND d1=716 AND a1=215 AND 615=e1)
UNION ALL
  SELECT c2 FROM t2
   WHERE e2 in (647,242,428,939,720,427,556)
      OR (e2=535)

query T valuesort
  SELECT e2 FROM t2
   WHERE a2 in (308,789,245,262,588,64,916,185,691,495,898)
EXCEPT
  SELECT e4 FROM t4
   WHERE NOT ((489=c4 OR e4=820)
           OR c4 in (690,667,675,271,299,971,215)
           OR (486=e4 OR 854=e4))
EXCEPT
  SELECT a1 FROM t1
   WHERE NOT ((a1=213)
           OR (a1=895 AND d1=643))
UNION
  SELECT e7 FROM t7
   WHERE (e7=624 AND 466=a7)
      OR (a7=158 OR e7=154)
      OR (976=e7 AND 655=b7 AND d7=590 AND 249=c7 AND 876=a7)
UNION ALL
  SELECT a6 FROM t6
   WHERE (77=e6 OR a6=799 OR 158=b6)
EXCEPT
  SELECT d8 FROM t8
   WHERE NOT ((241=a8 AND d8=767 AND c8=647 AND e8=455)
           OR (e8=561)
           OR (445=a8))

query T valuesort
  SELECT b6 FROM t6
   WHERE e6 in (67,14,283,972,761,24,809,395,601,495,211,915,469,230)
      OR c6 in (446,864,490,328,146,729,718)
      OR a6 in (45,540,971,474,751,64,829)
UNION ALL
  SELECT e4 FROM t4
   WHERE e4 in (557,81,837,122,151,476,85)
EXCEPT
  SELECT a5 FROM t5
   WHERE NOT ((772=d5)
           OR (661=b5 OR d5=938 OR d5=555)
           OR (311=e5))
EXCEPT
  SELECT e8 FROM t8
   WHERE NOT ((586=a8 OR e8=966 OR d8=637))

query T valuesort
  SELECT a9 FROM t9
   WHERE a9 in (78,11,891,28,149,263)
UNION ALL
  SELECT a3 FROM t3
   WHERE (c3=339 OR d3=139 OR 699=a3)
UNION ALL
  SELECT d2 FROM t2
   WHERE (a2=660)
EXCEPT
  SELECT c7 FROM t7
   WHERE NOT ((e7=455)
           OR c7 in (92,135,305,606,626,934)
           OR (87=a7))

query T valuesort
  SELECT a9 FROM t9
   WHERE d9 in (464,899,554,912,51,553,919)
      OR a9 in (683,764,304,318,811,662,149,830,535)
      OR (347=d9)
INTERSECT
  SELECT d1 FROM t1
   WHERE NOT (a1 in (241,525,147,215,668,433))
UNION
  SELECT e5 FROM t5
   WHERE c5 in (924,147,384,678,844,18,934)
      OR (c5=579 AND 570=d5 AND 536=a5)
      OR (443=d5 AND a5=740 AND e5=390 AND c5=696)

query T valuesort
  SELECT a8 FROM t8
   WHERE (b8=958)
      OR e8 in (608,273,186,41,944,204,38,866)
      OR (377=c8)
UNION ALL
  SELECT d3 FROM t3
   WHERE (382=b3)
      OR (860=b3 AND 826=c3 AND 376=a3)
      OR (b3=156 OR 594=a3 OR e3=536)
EXCEPT
  SELECT e2 FROM t2
   WHERE NOT (b2 in (311,181,754,276,168)
           OR d2 in (498,860,651,844,546,448,292,682,177,14))
EXCEPT
  SELECT b9 FROM t9
   WHERE NOT ((e9=987 AND d9=681 AND 227=b9)
           OR (446=b9 AND d9=790))
UNION ALL
  SELECT b6 FROM t6
   WHERE (172=d6 OR 717=c6 OR b6=350)
EXCEPT
  SELECT d5 FROM t5
   WHERE NOT ((222=c5 AND 335=a5 AND 343=d5))
UNION
  SELECT d1 FROM t1
   WHERE (e1=695)
      OR d1 in (75,798,349,691,416,679,25,376,581,701,585)
      OR (e1=210 AND 772=c1 AND 868=a1)
UNION ALL
  SELECT a7 FROM t7
   WHERE (d7=687)
      OR c7 in (78,557,906,333,103,180,672)
      OR d7 in (395,524,837)
EXCEPT
  SELECT c4 FROM t4
   WHERE NOT ((349=d4 AND 723=a4 AND e4=767 AND 660=b4))

query T valuesort
  SELECT a5 FROM t5
   WHERE (443=c5 AND e5=587)
INTERSECT
  SELECT e1 FROM t1
   WHERE NOT ((737=e1 OR c1=482 OR a1=281))
UNION
  SELECT a2 FROM t2
   WHERE (b2=173)
      OR (e2=434)
      OR (37=e2 OR 688=c2 OR b2=729)

query T valuesort
  SELECT e6 FROM t6
   WHERE (646=e6 OR b6=882 OR 286=d6)
INTERSECT
  SELECT c7 FROM t7
   WHERE NOT (b7 in (510,495,66,263,973,841,913,892,949,868)
           OR (302=e7 OR 744=c7 OR 988=e7))
UNION
  SELECT d5 FROM t5
   WHERE b5 in (695,79,412,820,26,661,744,705,657)
EXCEPT
  SELECT e1 FROM t1
   WHERE NOT (e1 in (695,872,667,284,956,628,228,693,222,14,468))
UNION ALL
  SELECT d3 FROM t3
   WHERE (a3=190 AND 57=b3)
      OR (602=e3 AND c3=486 AND b3=827 AND 368=d3 AND 777=a3)
UNION ALL
  SELECT b2 FROM t2
   WHERE a2 in (669,805,954,817,796,123,543,916,760,769,664,660,35)
      OR c2 in (907,625,967,127,123,312)
      OR (a2=266 AND 137=d2 AND 572=e2 AND c2=729)
UNION ALL
  SELECT d4 FROM t4
   WHERE (901=b4 AND 585=c4 AND a4=598 AND 879=e4)
      OR (835=e4 AND 409=d4)

query T valuesort
  SELECT d2 FROM t2
   WHERE d2 in (860,86,351,723,836,790,209,854)
      OR (b2=784)
INTERSECT
  SELECT d3 FROM t3
   WHERE NOT ((565=c3)
           OR (434=d3 OR 386=a3))
EXCEPT
  SELECT a6 FROM t6
   WHERE NOT ((911=d6)
           OR (537=a6 AND e6=283 AND d6=489 AND 984=b6 AND c6=729))
UNION ALL
  SELECT c1 FROM t1
   WHERE d1 in (87,298,432,105,187,806)
      OR (b1=362 AND 0=d1)
      OR (b1=736)

query T valuesort
  SELECT a3 FROM t3
   WHERE (a3=380 AND 890=c3 AND 932=b3 AND 260=e3)
      OR (801=c3)
      OR (e3=333 AND c3=887 AND 584=b3)
UNION ALL
  SELECT a6 FROM t6
   WHERE a6 in (359,238,740,270)
      OR (a6=66 AND 123=c6 AND 734=d6)
EXCEPT
  SELECT c9 FROM t9
   WHERE NOT (d9 in (965,142,744,795,399,679,161,720,316,495,919,129,226)
           OR (d9=926)
           OR c9 in (905,64,451,643,732,98,534,662,273,419,252,894,526,110))
EXCEPT
  SELECT e1 FROM t1
   WHERE NOT (c1 in (787,898,530,388))
EXCEPT
  SELECT d5 FROM t5
   WHERE NOT ((771=b5)
           OR b5 in (234,159,338))
EXCEPT
  SELECT b4 FROM t4
   WHERE NOT (c4 in (658,157,936,84,178,667,854,936))
UNION ALL
  SELECT b2 FROM t2
   WHERE (c2=247)
      OR a2 in (853,590,253,980)
EXCEPT
  SELECT d7 FROM t7
   WHERE NOT ((a7=195)
           OR (d7=777))
UNION ALL
  SELECT a8 FROM t8
   WHERE (d8=463 AND a8=99 AND c8=790 AND e8=608)
      OR (d8=899 OR d8=370 OR 609=b8)
      OR b8 in (155,162,563,934,964,511,725,300,862,259)

query T valuesort
  SELECT b9 FROM t9
   WHERE (e9=291)
UNION ALL
  SELECT b3 FROM t3
   WHERE a3 in (234,335,380,992,964,576,379,754,879,710,865,959)
      OR (d3=560 AND 776=a3 AND 459=e3)
      OR (c3=565 AND b3=445)
UNION ALL
  SELECT a6 FROM t6
   WHERE (e6=946 AND d6=901 AND 378=b6 AND c6=308)
      OR (500=c6 OR d6=196)
EXCEPT
  SELECT a4 FROM t4
   WHERE NOT ((c4=484 AND d4=844))
UNION
  SELECT e2 FROM t2
   WHERE (733=a2 OR 981=e2 OR 22=c2)
      OR d2 in (60,158,14,404,750,454,753,126,263)
      OR b2 in (313,270,181,755,812,599,317,820)
UNION ALL
  SELECT d5 FROM t5
   WHERE (193=b5 OR c5=856)
      OR (e5=943)
      OR (d5=42 AND b5=847 AND c5=210 AND 718=e5 AND 749=a5)

query T valuesort
  SELECT a8 FROM t8
   WHERE b8 in (308,922,459,511,52,8,469,705,397,313,640)
      OR d8 in (627,525,889,370,192,101,767,936,756)
      OR (961=c8 AND 359=a8)
UNION ALL
  SELECT b3 FROM t3
   WHERE (a3=935)
      OR e3 in (147,552,854,87,602,310,536,466,25,578,975)
EXCEPT
  SELECT c4 FROM t4
   WHERE NOT ((546=d4 OR c4=215 OR d4=86)
           OR (953=d4))
EXCEPT
  SELECT b2 FROM t2
   WHERE NOT ((344=c2 AND 324=a2 AND 228=e2 AND 260=d2 AND 585=b2)
           OR b2 in (532,888,864,177,228,90,139,846,592,217,859))
EXCEPT
  SELECT a9 FROM t9
   WHERE NOT ((d9=720 OR e9=978))

query T valuesort
  SELECT b6 FROM t6
   WHERE (488=d6 AND e6=678)
      OR (654=e6 AND 490=b6 AND 441=c6)
UNION
  SELECT e2 FROM t2
   WHERE (e2=307)
      OR (c2=823)
UNION
  SELECT a5 FROM t5
   WHERE (a5=743)
      OR (147=c5 OR a5=342 OR 117=d5)
EXCEPT
  SELECT a9 FROM t9
   WHERE NOT ((c9=257 AND d9=770 AND 285=b9 AND 860=e9 AND 879=a9))
UNION
  SELECT d7 FROM t7
   WHERE (934=c7 OR e7=201 OR 682=c7)
      OR (921=a7)
      OR b7 in (514,804,266,579,67,583,66,973)

query T valuesort
  SELECT e8 FROM t8
   WHERE d8 in (339,112,474,899,849,814,511,534,876,20,116,190,862,494)
      OR (a8=129 AND e8=320 AND b8=466 AND 466=d8 AND c8=88)
      OR (651=d8 AND e8=333 AND a8=882)
EXCEPT
  SELECT e2 FROM t2
   WHERE NOT ((e2=118)
           OR e2 in (938,963,114,147,671)
           OR (e2=307 AND d2=398 AND c2=692 AND b2=317 AND 751=a2))
EXCEPT
  SELECT c6 FROM t6
   WHERE NOT ((a6=564 AND 2=d6 AND 100=e6 AND 974=b6 AND 242=c6))
UNION ALL
  SELECT c5 FROM t5
   WHERE (797=c5)
      OR a5 in (540,447,536,960,597,235,334,55,544,445,24,749)
UNION ALL
  SELECT d3 FROM t3
   WHERE (c3=565 AND 296=a3)
EXCEPT
  SELECT e4 FROM t4
   WHERE NOT ((281=a4 OR a4=605)
           OR (188=e4 AND b4=563 AND c4=536 AND a4=502 AND 626=d4)
           OR b4 in (107,357,379,271,802,389,372,966,907,137,319,476))
UNION
  SELECT e1 FROM t1
   WHERE (e1=949 AND 736=b1 AND 636=c1 AND d1=550)
      OR (604=a1)
      OR (e1=568)
UNION
  SELECT e7 FROM t7
   WHERE (418=d7 AND 257=c7 AND e7=904 AND a7=11 AND b7=679)
      OR e7 in (918,144,816,638,27,851,79)

query T valuesort
  SELECT e2 FROM t2
   WHERE (c2=773 AND 547=e2 AND 433=b2 AND 310=d2)
UNION
  SELECT e9 FROM t9
   WHERE (744=e9 AND b9=13)
      OR (e9=647 OR 621=e9 OR e9=251)
      OR (e9=218 AND 111=d9)
UNION ALL
  SELECT c6 FROM t6
   WHERE b6 in (850,250,905,461,214)
      OR c6 in (4,287,480,295,265,146,320,522)
      OR (b6=933 OR c6=910)
EXCEPT
  SELECT d5 FROM t5
   WHERE NOT (c5 in (56,147,924,747,86,825,805,158,599,978,672,489,250,797)
           OR (944=e5 OR b5=98 OR 98=e5)
           OR (c5=855))
UNION ALL
  SELECT a3 FROM t3
   WHERE (b3=57 OR 354=d3)
      OR (376=a3 OR a3=979)
      OR (525=a3 OR b3=152 OR d3=520)
EXCEPT
  SELECT e7 FROM t7
   WHERE NOT (b7 in (892,519,660,881,735,396,192,120)
           OR (d7=341))
EXCEPT
  SELECT b1 FROM t1
   WHERE NOT ((146=e1 AND 49=b1 AND 275=d1)
           OR (172=c1 AND e1=299 AND a1=283)
           OR (221=e1 AND d1=75 AND 477=a1))
EXCEPT
  SELECT b4 FROM t4
   WHERE NOT ((e4=188 AND d4=626 AND b4=563 AND 536=c4 AND a4=502))
EXCEPT
  SELECT d8 FROM t8
   WHERE NOT ((665=b8 OR 608=d8))

query T valuesort
  SELECT c4 FROM t4
   WHERE d4 in (979,31,680,44,264,376,86,549,491,794)
EXCEPT
  SELECT e1 FROM t1
   WHERE NOT ((c1=976 OR 481=d1)
           OR d1 in (17,0,75,416,35))
UNION ALL
  SELECT e8 FROM t8
   WHERE a8 in (242,127,47,359,514,46,855,474)
      OR e8 in (105,548,381,944,533,510,512,579,776,223,455,175,411,918)
      OR (b8=244)

query T valuesort
  SELECT a8 FROM t8
   WHERE (631=d8 OR 254=a8 OR d8=989)
      OR c8 in (486,513,230,965,908)
UNION ALL
  SELECT d7 FROM t7
   WHERE a7 in (916,896,442,589,290,665,565,709,416,277,722)
      OR b7 in (750,59,627,804,263,178,396,859,422)
      OR (364=c7 AND d7=709)
EXCEPT
  SELECT b5 FROM t5
   WHERE NOT ((a5=373 OR b5=685)
           OR e5 in (18,888,206,558,587))

query T valuesort
  SELECT d8 FROM t8
   WHERE (b8=364)
UNION ALL
  SELECT e3 FROM t3
   WHERE c3 in (516,146,372,898,375,961,542,73,467)
      OR a3 in (995,429,5,105,836,34,337,699,784,234,184,947,611,952)
EXCEPT
  SELECT a5 FROM t5
   WHERE NOT (b5 in (230,412,703,499,771,84,320,33)
           OR (787=d5 AND 729=c5 AND e5=558 AND b5=433)
           OR (c5=222 AND b5=897))
EXCEPT
  SELECT e9 FROM t9
   WHERE NOT (a9 in (683,251,5,102,148,149,335,72,821,389,611))
UNION
  SELECT d7 FROM t7
   WHERE b7 in (892,178,129,798,636,804,921,881,396,519,655,120,488,660)
      OR a7 in (416,386,925,958,180,89,439,500)
      OR (c7=548 AND 680=d7)
UNION
  SELECT e2 FROM t2
   WHERE (d2=263)
      OR (c2=107 AND 681=b2 AND 225=d2 AND 455=a2 AND e2=556)
      OR (223=a2)
EXCEPT
  SELECT d4 FROM t4
   WHERE NOT (e4 in (511,71,760,512,63,491)
           OR a4 in (261,378,16)
           OR c4 in (82,783,752,238,660,513,799,996,271,508,749))
UNION
  SELECT d6 FROM t6
   WHERE c6 in (265,216,295,25,749,328,424,975,452,146,446,928)
      OR (a6=751)
      OR c6 in (490,377,729,66,752,270)
UNION
  SELECT c1 FROM t1
   WHERE (639=c1 AND 20=a1)
      OR (d1=323 OR b1=788)
      OR (767=a1 OR c1=152 OR a1=607)

query T valuesort
  SELECT b4 FROM t4
   WHERE (307=e4)
UNION
  SELECT a8 FROM t8
   WHERE (942=e8 AND 200=a8)
      OR c8 in (249,196,501,690,266)

query T valuesort
  SELECT d2 FROM t2
   WHERE d2 in (833,977,651,225,836,126,621,249)
      OR b2 in (846,599,113,938,966,635,643,139,275,729,519,509)
      OR d2 in (86,525,953,310,897,306)
EXCEPT
  SELECT d9 FROM t9
   WHERE NOT ((161=d9 AND a9=764 AND 549=b9 AND 368=e9)
           OR b9 in (913,936,891,245,421,269,236,893,549,127,912))
EXCEPT
  SELECT a8 FROM t8
   WHERE NOT ((187=c8))
EXCEPT
  SELECT d5 FROM t5
   WHERE NOT (e5 in (470,130,874,894,184)
           OR (81=a5))

query T valuesort
  SELECT c3 FROM t3
   WHERE (e3=871)
      OR (b3=998 OR d3=665)
UNION ALL
  SELECT b9 FROM t9
   WHERE d9 in (268,808,646)
      OR b9 in (936,19,578,122)
EXCEPT
  SELECT c6 FROM t6
   WHERE NOT ((e6=489 AND 629=b6 AND 84=c6 AND 34=d6)
           OR c6 in (910,66,718,242,434,11,424,938,768)
           OR (c6=928 AND 384=a6))
UNION ALL
  SELECT a8 FROM t8
   WHERE (e8=918 AND 166=c8)
      OR (c8=260 AND 15=a8)
EXCEPT
  SELECT a5 FROM t5
   WHERE NOT (e5 in (586,440,655)
           OR c5 in (3,941,442)
           OR e5 in (342,696,558,141))
EXCEPT
  SELECT e7 FROM t7
   WHERE NOT (b7 in (720,323,266,480,276)
           OR c7 in (934,970,174,691,488,853,596,305)
           OR (430=a7 OR a7=22 OR 541=b7))

query T valuesort
  SELECT e1 FROM t1
   WHERE (c1=97 AND d1=414)
      OR e1 in (181,255,313,779)
UNION
  SELECT c4 FROM t4
   WHERE (a4=990 OR 243=b4 OR 107=a4)
UNION
  SELECT b7 FROM t7
   WHERE c7 in (305,288,38,22,518,78,375,135,206,966,807,596,843,262)
      OR e7 in (976,120,184,408,561,826,827,508,6,918,156,979,851)
EXCEPT
  SELECT d2 FROM t2
   WHERE NOT (b2 in (170,754,811,681,805,628)
           OR e2 in (125,535,783,659,463,820,147,434,721,428,228,938,945,997))
UNION
  SELECT b5 FROM t5
   WHERE (a5=696 OR 780=d5)
      OR c5 in (927,185,856,809,37,805,747,443,210,152,485)
      OR b5 in (878,855,971,998,605,336,320)
UNION
  SELECT e6 FROM t6
   WHERE (d6=367 AND c6=522 AND 293=a6 AND e6=237)
UNION
  SELECT a3 FROM t3
   WHERE (211=e3)
EXCEPT
  SELECT b9 FROM t9
   WHERE NOT ((345=d9 OR b9=524))

query T valuesort
  SELECT e9 FROM t9
   WHERE (a9=215)
UNION
  SELECT b4 FROM t4
   WHERE d4 in (146,366,770)
      OR (c4=301 AND 707=b4 AND 653=d4 AND 737=e4)
EXCEPT
  SELECT a7 FROM t7
   WHERE NOT ((b7=266 OR c7=688)
           OR (956=d7))
EXCEPT
  SELECT c3 FROM t3
   WHERE NOT ((d3=483 OR b3=339 OR 708=d3)
           OR (800=c3 AND d3=170 AND e3=303 AND b3=70)
           OR a3 in (515,699,979,997,30,368,341,754,386,560))

query T valuesort
  SELECT e9 FROM t9
   WHERE (e9=263 OR a9=891 OR 312=b9)
      OR (b9=855 AND d9=967 AND 962=a9 AND 639=c9 AND e9=607)
UNION
  SELECT d6 FROM t6
   WHERE (21=d6 AND 320=c6)
      OR (942=c6 AND d6=376 AND 798=e6 AND 0=b6)
UNION
  SELECT e2 FROM t2
   WHERE b2 in (170,90,966,297,846)
      OR b2 in (585,418,90,599,292,859,818,605,21,527,414,820,897,326)
UNION ALL
  SELECT d7 FROM t7
   WHERE (260=c7 OR 280=c7)
      OR (156=e7)
EXCEPT
  SELECT b1 FROM t1
   WHERE NOT (c1 in (481,208,623,758,531,57,788,486,346)
           OR (639=c1 AND e1=117 AND b1=696)
           OR (865=c1 AND 754=a1 AND 972=d1 AND 808=b1 AND 313=e1))
UNION
  SELECT d3 FROM t3
   WHERE (244=c3 AND 566=b3)
UNION
  SELECT b4 FROM t4
   WHERE (a4=922)

query T valuesort
  SELECT b6 FROM t6
   WHERE (d6=73 OR 534=c6 OR a6=64)
      OR (a6=811)
EXCEPT
  SELECT b7 FROM t7
   WHERE NOT (c7 in (41,482,145,341,635,853,813,419,944,954,596,523,135,92))
EXCEPT
  SELECT a1 FROM t1
   WHERE NOT ((210=e1 OR 607=a1 OR 498=c1)
           OR (298=e1 AND 942=b1)
           OR (523=b1 OR d1=619))
EXCEPT
  SELECT e3 FROM t3
   WHERE NOT ((29=c3 OR 923=d3)
           OR e3 in (147,892,814,310,854,333,586)
           OR (478=a3 OR 959=a3))
EXCEPT
  SELECT d2 FROM t2
   WHERE NOT ((e2=322))
UNION
  SELECT b8 FROM t8
   WHERE (b8=603 AND d8=512)
      OR (b8=365 OR 656=c8 OR d8=715)
      OR (514=a8)
EXCEPT
  SELECT a9 FROM t9
   WHERE NOT (d9 in (554,919,967,628,129))

query T valuesort
  SELECT d4 FROM t4
   WHERE d4 in (44,929,889,25,728,617,246,376)
UNION
  SELECT b3 FROM t3
   WHERE (d3=889 OR 304=e3 OR 275=e3)
      OR e3 in (765,459,271,221,814,303,848)
      OR b3 in (405,236,549,686,70,368,761,27,665,701)
EXCEPT
  SELECT e8 FROM t8
   WHERE NOT ((a8=638 OR e8=488 OR a8=913))
EXCEPT
  SELECT d1 FROM t1
   WHERE NOT (d1 in (416,691,571,661,818,414,254,990,798,947,655))
EXCEPT
  SELECT c2 FROM t2
   WHERE NOT (b2 in (796,278,554,139,820,799,864,527,279,545,649,145,275,414))
EXCEPT
  SELECT b7 FROM t7
   WHERE NOT ((344=c7 AND 430=a7 AND e7=456 AND d7=892)
           OR (518=c7 AND 205=d7 AND a7=85 AND 67=b7)
           OR c7 in (103,887,931))
EXCEPT
  SELECT e9 FROM t9
   WHERE NOT (d9 in (549,678,383,235,316,86,628,51,161,388,608,878,164)
           OR (c9=347 OR 152=b9))
UNION
  SELECT a6 FROM t6
   WHERE (522=a6)
      OR (975=c6)
      OR a6 in (392,572,182,971,116)
UNION ALL
  SELECT d5 FROM t5
   WHERE a5 in (89,958,69,267,826,81,683,174,330,332)
      OR (d5=269)

query T valuesort
  SELECT d2 FROM t2
   WHERE (d2=555)
      OR (e2=777 OR c2=551)
      OR (c2=83)
UNION ALL
  SELECT c6 FROM t6
   WHERE (c6=328 AND b6=906 AND e6=274)
UNION
  SELECT d5 FROM t5
   WHERE e5 in (68,937,708,206,737,554,729,610,640,41,440)
      OR (384=c5)
EXCEPT
  SELECT a3 FROM t3
   WHERE NOT ((b3=272 OR 376=a3))
UNION ALL
  SELECT e8 FROM t8
   WHERE c8 in (273,283,692,908)
      OR (b8=704)
      OR (e8=904 OR d8=494)
UNION ALL
  SELECT b4 FROM t4
   WHERE (b4=634 OR 163=e4 OR d4=306)
UNION ALL
  SELECT c9 FROM t9
   WHERE (413=a9 OR d9=568 OR 269=a9)
EXCEPT
  SELECT e1 FROM t1
   WHERE NOT (a1 in (445,23,461,918,552,640,294,499))

query T valuesort
  SELECT b3 FROM t3
   WHERE (368=b3 OR 187=e3)
      OR (c3=641 AND 105=a3 AND 133=d3 AND 122=b3 AND 365=e3)
      OR (d3=983)
EXCEPT
  SELECT d9 FROM t9
   WHERE NOT ((c9=110 AND 678=d9 AND a9=584 AND 353=e9 AND 2=b9)
           OR (477=e9)
           OR (c9=739 AND a9=295 AND 575=e9))
EXCEPT
  SELECT e7 FROM t7
   WHERE NOT (b7 in (120,970,323,583,374,923,129,896,362,480,764,407,837))
EXCEPT
  SELECT d1 FROM t1
   WHERE NOT ((e1=811 AND 758=c1 AND d1=900))
EXCEPT
  SELECT b8 FROM t8
   WHERE NOT ((891=b8 AND 578=a8 AND 711=d8))
UNION ALL
  SELECT e5 FROM t5
   WHERE (e5=440)
      OR (634=d5 OR 910=d5 OR a5=917)
      OR (819=c5 AND 806=d5 AND 772=b5 AND e5=749 AND 334=a5)
EXCEPT
  SELECT e2 FROM t2
   WHERE NOT ((922=a2)
           OR b2 in (846,311,148,170,681,353)
           OR b2 in (640,38,859,628,676,811,784,776,489,326,527,714))
UNION
  SELECT e6 FROM t6
   WHERE (a6=966 AND 911=d6 AND 847=e6 AND b6=276)
      OR (740=a6 OR 274=e6)
      OR (b6=262 AND 458=d6 AND 67=e6 AND a6=33 AND 961=c6)
UNION
  SELECT c4 FROM t4
   WHERE (a4=378)
      OR b4 in (608,884,917,847,903,35,635,829,606,220)

query T valuesort
  SELECT e5 FROM t5
   WHERE (d5=960)
      OR b5 in (159,495,183,861)
UNION ALL
  SELECT c2 FROM t2
   WHERE (a2=382)
      OR b2 in (674,414,966)
      OR (b2=812)

query T valuesort
  SELECT b6 FROM t6
   WHERE (e6=67 AND a6=211)
INTERSECT
  SELECT e3 FROM t3
   WHERE NOT (a3 in (378,651,184,349,836,637,353,566,699))
UNION
  SELECT c2 FROM t2
   WHERE (c2=779 AND a2=279)
      OR a2 in (891,505,652,901,874,760,76)
UNION ALL
  SELECT a9 FROM t9
   WHERE (b9=269 AND e9=943 AND c9=923)
      OR (326=a9 AND 647=e9)
      OR b9 in (900,289,228,936,171,26,236,103,496,326,880,77,832,122)
UNION
  SELECT a7 FROM t7
   WHERE d7 in (666,620,594,94,599,956,712,526,765)
EXCEPT
  SELECT b1 FROM t1
   WHERE NOT ((457=d1 OR 579=a1)
           OR (d1=619 OR a1=622))
UNION
  SELECT c5 FROM t5
   WHERE (998=b5)
UNION
  SELECT b8 FROM t8
   WHERE (599=c8)
      OR (b8=958 AND 936=d8)
UNION
  SELECT c4 FROM t4
   WHERE (e4=816 AND 469=b4 AND 597=d4 AND a4=92 AND 671=c4)
      OR (e4=1 OR 412=a4 OR e4=677)

query T valuesort
  SELECT c7 FROM t7
   WHERE (d7=902 OR 524=d7 OR 35=a7)
UNION
  SELECT c1 FROM t1
   WHERE (313=e1 OR c1=788)
      OR (c1=36 AND e1=667 AND b1=255 AND a1=380)
      OR (829=a1 AND d1=163 AND 589=b1 AND 139=e1 AND c1=980)
EXCEPT
  SELECT a4 FROM t4
   WHERE NOT ((c4=749 AND 706=d4 AND 608=b4 AND 349=e4)
           OR (c4=455 AND b4=877 AND 372=e4)
           OR (188=c4 OR 767=c4 OR 37=e4))
EXCEPT
  SELECT c3 FROM t3
   WHERE NOT (d3 in (982,403,423,415,607,958,984,983,896,871,635,599,642,645))
EXCEPT
  SELECT b9 FROM t9
   WHERE NOT (d9 in (694,679,332,608,818,111,662,316,25,283,235,86)
           OR (347=c9 AND 218=a9 AND e9=388))
EXCEPT
  SELECT a2 FROM t2
   WHERE NOT (b2 in (285,799,859,278,90,818,21,90,729)
           OR (671=e2 OR a2=222))
UNION ALL
  SELECT c5 FROM t5
   WHERE (54=a5 OR e5=812)
      OR b5 in (665,657,640,336,56,186,998,193,971,548,874,569)
      OR c5 in (649,774,922,819,941,734,249,210,855,443)

query T valuesort
  SELECT b4 FROM t4
   WHERE c4 in (0,675,723)
      OR (a4=778 AND b4=587 AND 317=d4 AND 393=c4)
      OR (d4=950)
INTERSECT
  SELECT d9 FROM t9
   WHERE NOT (c9 in (739,332,62,863,601,884,469,87,767,180,151,935,232))
UNION
  SELECT a7 FROM t7
   WHERE (c7=135 OR c7=565 OR c7=14)
      OR a7 in (130,542,925,290,439,97,722,995,945,622,665,89,48)
EXCEPT
  SELECT b2 FROM t2
   WHERE NOT ((a2=651 AND b2=725))

query T valuesort
  SELECT b2 FROM t2
   WHERE (b2=433 OR e2=547 OR 427=e2)
UNION
  SELECT a9 FROM t9
   WHERE (486=e9)
UNION
  SELECT c7 FROM t7
   WHERE (524=d7)
UNION
  SELECT c8 FROM t8
   WHERE (a8=650 AND d8=630)
      OR b8 in (369,755,656,405,366,386,992)
EXCEPT
  SELECT d3 FROM t3
   WHERE NOT ((c3=697 OR b3=701)
           OR (a3=490 OR c3=75)
           OR d3 in (173,983,260,944))
UNION
  SELECT c1 FROM t1
   WHERE a1 in (981,879,281,20,992,195,524,161,241)
      OR (972=d1)
UNION ALL
  SELECT b6 FROM t6
   WHERE (807=d6 AND 353=e6 AND 4=c6)
UNION
  SELECT b4 FROM t4
   WHERE (160=a4)

query T valuesort
  SELECT e9 FROM t9
   WHERE b9 in (64,122,803,128,410,122,880,74,848,171,456,900,103,214)
UNION ALL
  SELECT e3 FROM t3
   WHERE b3 in (152,882,224,616)
EXCEPT
  SELECT a4 FROM t4
   WHERE NOT ((422=a4 OR 660=b4 OR b4=267))
UNION
  SELECT a1 FROM t1
   WHERE (b1=486 AND 394=d1 AND 570=c1 AND e1=522)
      OR (e1=299 OR e1=152)
UNION ALL
  SELECT a7 FROM t7
   WHERE (c7=860 OR 277=a7)
UNION ALL
  SELECT d8 FROM t8
   WHERE a8 in (250,586,774,331,578,327,312)
      OR (c8=136 AND d8=936 AND b8=958 AND 474=a8)
UNION ALL
  SELECT a6 FROM t6
   WHERE (b6=905)
      OR a6 in (672,469,692,787,764,568,300,233)
EXCEPT
  SELECT c2 FROM t2
   WHERE NOT ((37=e2 OR d2=137 OR a2=445)
           OR (351=d2 AND 544=a2 AND 113=b2)
           OR (c2=360 OR e2=688 OR 836=d2))
UNION
  SELECT d5 FROM t5
   WHERE b5 in (260,554,569,338,605,380,56,784,930,989,424,326,657)

query T valuesort
  SELECT a9 FROM t9
   WHERE b9 in (447,171,13)
      OR (e9=934 AND 526=c9 AND b9=361 AND d9=86 AND a9=14)
UNION
  SELECT b3 FROM t3
   WHERE a3 in (429,743,337,549,515,244,997,34,892,98,697,255,335,699)

query T valuesort
  SELECT c9 FROM t9
   WHERE a9 in (450,962,567,511,149,815)
      OR (b9=410 AND a9=149 AND 723=e9 AND 843=c9)
      OR (a9=78)
UNION
  SELECT e3 FROM t3
   WHERE (d3=782)
UNION
  SELECT d7 FROM t7
   WHERE (30=b7 AND 886=d7 AND e7=590 AND c7=931 AND 31=a7)

query T valuesort
  SELECT e1 FROM t1
   WHERE (645=b1 AND 966=c1 AND e1=497 AND 820=d1)
      OR (a1=521 AND c1=375 AND 281=b1)
      OR (570=b1 OR a1=981 OR 395=a1)
UNION
  SELECT e4 FROM t4
   WHERE e4 in (543,217,476,565,71,592,977,837,816,6,311,619)
      OR (605=a4)
      OR (407=b4 AND 60=d4 AND 210=a4)
UNION ALL
  SELECT a7 FROM t7
   WHERE (a7=869 AND 979=e7 AND 523=c7)
UNION
  SELECT c9 FROM t9
   WHERE (289=b9 OR 64=c9 OR d9=495)
      OR (272=c9 AND e9=954 AND 171=b9 AND 464=d9)
      OR (b9=2 AND 353=e9)
UNION ALL
  SELECT d3 FROM t3
   WHERE e3 in (393,596,464,187,425,4,871,467,765,854,271,3,449)
UNION
  SELECT e2 FROM t2
   WHERE (38=b2)
      OR (987=a2 AND b2=818)
EXCEPT
  SELECT c6 FROM t6
   WHERE NOT ((c6=28)
           OR (a6=540 AND 28=c6))
EXCEPT
  SELECT d8 FROM t8
   WHERE NOT ((b8=609 AND c8=273 AND d8=472)
           OR e8 in (221,904,7,646,204,579,295,38,411)
           OR (700=e8 AND 563=c8 AND b8=702))

query T valuesort
  SELECT a6 FROM t6
   WHERE (761=e6 AND 21=d6 AND 320=c6 AND 610=a6 AND b6=825)
      OR (376=d6 AND 359=a6 AND e6=798 AND 942=c6 AND 0=b6)
      OR (233=a6 OR b6=882)
INTERSECT
  SELECT b7 FROM t7
   WHERE NOT ((364=d7 OR 508=c7 OR a7=500)
           OR (c7=94)
           OR (627=b7))
INTERSECT
  SELECT b8 FROM t8
   WHERE NOT ((117=c8 AND a8=256 AND b8=870 AND 305=e8 AND d8=192))
INTERSECT
  SELECT a3 FROM t3
   WHERE NOT (a3 in (763,515,822,41))

query T valuesort
  SELECT e7 FROM t7
   WHERE a7 in (707,75,703,565,642,35,285,490,195,165,97)
EXCEPT
  SELECT d5 FROM t5
   WHERE NOT (e5 in (729,887,772,22,807,730,708)
           OR (22=e5 OR b5=847 OR 470=e5)
           OR (897=b5 AND e5=589 AND 343=d5 AND c5=222))
UNION ALL
  SELECT b6 FROM t6
   WHERE b6 in (541,511,782)
      OR e6 in (431,893,286,847,766)
EXCEPT
  SELECT a3 FROM t3
   WHERE NOT ((83=e3 AND 584=c3 AND d3=283 AND a3=559)
           OR (66=d3)
           OR (981=d3 OR c3=117 OR a3=478))
UNION ALL
  SELECT e2 FROM t2
   WHERE c2 in (981,318,282,575,496,854,411,87,197)
EXCEPT
  SELECT b1 FROM t1
   WHERE NOT ((e1=811 OR d1=47))
UNION
  SELECT b9 FROM t9
   WHERE b9 in (783,127,936,13,348,688,900,893)
      OR (a9=683 AND e9=133)
UNION
  SELECT b4 FROM t4
   WHERE d4 in (583,498,901,597,150,706,366,770,983,85,973,55,184,988)
UNION ALL
  SELECT b8 FROM t8
   WHERE (a8=99)
      OR (259=b8)
      OR c8 in (961,229,233,168,844,332,79)

query T valuesort
  SELECT c6 FROM t6
   WHERE (e6=439)
      OR e6 in (511,585,850,95,503,588)
EXCEPT
  SELECT a9 FROM t9
   WHERE NOT ((d9=345 OR b9=122))
UNION ALL
  SELECT b1 FROM t1
   WHERE (693=e1 AND 459=d1)
      OR (b1=149 AND 776=a1 AND 217=d1 AND e1=181)
EXCEPT
  SELECT d5 FROM t5
   WHERE NOT ((e5=696 AND d5=780 AND 270=a5 AND 113=b5 AND c5=825)
           OR (235=a5 OR c5=147))
UNION ALL
  SELECT d4 FROM t4
   WHERE (973=d4)
      OR c4 in (927,513,221,483,674,208,319,403,436)
EXCEPT
  SELECT e7 FROM t7
   WHERE NOT ((288=e7 OR e7=48)
           OR (966=c7)
           OR (983=e7))
EXCEPT
  SELECT c2 FROM t2
   WHERE NOT ((c2=722 AND d2=843 AND b2=823)
           OR (a2=664 OR 806=d2 OR a2=268)
           OR (a2=279 AND b2=846 AND 223=e2))

query T valuesort
  SELECT b4 FROM t4
   WHERE (a4=151 OR c4=794 OR 575=e4)
UNION
  SELECT b6 FROM t6
   WHERE (774=b6 OR 251=a6)
      OR b6 in (850,427,710,662,44,230,300,782)
UNION ALL
  SELECT d9 FROM t9
   WHERE (457=a9 OR 703=b9 OR d9=345)
      OR e9 in (239,804,750,107,647,736,672,267,30,197,868,567)
UNION ALL
  SELECT a3 FROM t3
   WHERE c3 in (898,860,211,368,792,400)
UNION ALL
  SELECT d7 FROM t7
   WHERE a7 in (167,97,642,452,350,565,325,299,87,982,709,75,361)
      OR c7 in (575,659,691,98,807,692,441,375,843,364,80,145)
      OR a7 in (97,490,832,277,707,806,90)
EXCEPT
  SELECT c2 FROM t2
   WHERE NOT ((217=a2 OR 24=c2))
EXCEPT
  SELECT e8 FROM t8
   WHERE NOT ((60=d8)
           OR (359=b8 OR d8=690))
UNION
  SELECT b1 FROM t1
   WHERE d1 in (25,154,17,992,581,121)
      OR (733=e1)

query T valuesort
  SELECT a7 FROM t7
   WHERE b7 in (159,820,670,166,52,808,178,679,424,627,924)
      OR (303=e7)
EXCEPT
  SELECT d5 FROM t5
   WHERE NOT ((499=b5 AND a5=413 AND c5=18 AND d5=24)
           OR c5 in (756,819,348,868,222,855,805,844,820,544,579,152,825)
           OR (521=d5 AND 412=b5))
UNION
  SELECT b2 FROM t2
   WHERE (c2=807 AND 217=a2 AND 512=e2 AND 897=d2)
      OR (c2=575 OR d2=723 OR 265=d2)
      OR (e2=366)
EXCEPT
  SELECT a1 FROM t1
   WHERE NOT ((363=e1 OR b1=995 OR c1=299)
           OR a1 in (746,109,931,189,445,674,521,237)
           OR (d1=265 AND a1=268))
EXCEPT
  SELECT a3 FROM t3
   WHERE NOT ((122=b3 OR a3=75 OR c3=592)
           OR (720=a3 AND 635=d3 AND b3=295)
           OR (17=b3 AND 959=e3 AND d3=307 AND a3=347))
UNION
  SELECT c6 FROM t6
   WHERE (583=b6 AND d6=869 AND 366=a6 AND e6=255)
      OR a6 in (537,973,293,518,300,233,811,129,696,40,585)
      OR a6 in (64,787,672)

query T valuesort
  SELECT c7 FROM t7
   WHERE d7 in (924,675,164,315,916,395,805,673,772,436,346,278)
INTERSECT
  SELECT e4 FROM t4
   WHERE NOT ((e4=63 AND b4=678 AND 948=c4)
           OR (160=a4)
           OR (c4=964 AND 386=a4 AND 103=e4 AND 903=b4))
EXCEPT
  SELECT c8 FROM t8
   WHERE NOT (d8 in (889,366,466,743,534,344)
           OR b8 in (951,466,397,9,640,469,889,155,300,405,351,761)
           OR (b8=624 AND 956=e8 AND c8=821 AND 667=d8))
EXCEPT
  SELECT a9 FROM t9
   WHERE NOT ((864=b9)
           OR b9 in (301,152,410,803,15,818,913,149,170,171))
UNION
  SELECT d5 FROM t5
   WHERE (c5=437 AND d5=555 AND 330=a5)
      OR (e5=232 AND 320=b5 AND 495=d5)
EXCEPT
  SELECT c2 FROM t2
   WHERE NOT (b2 in (545,549,820,270)
           OR (d2=2 OR 441=e2))

query T valuesort
  SELECT e1 FROM t1
   WHERE (e1=522 OR 468=e1 OR a1=32)
UNION ALL
  SELECT d7 FROM t7
   WHERE (d7=34 AND a7=651 AND b7=392 AND 691=c7 AND e7=595)
      OR (e7=815 AND 142=d7 AND 288=a7)
EXCEPT
  SELECT a4 FROM t4
   WHERE NOT ((0=c4 OR c4=860 OR b4=849))
UNION
  SELECT b6 FROM t6
   WHERE (c6=506)
UNION ALL
  SELECT d9 FROM t9
   WHERE (e9=230)

query T valuesort
  SELECT e2 FROM t2
   WHERE d2 in (80,813,546,198,750)
      OR e2 in (223,147,939,428,808,512,564,510,820,433,524)
UNION
  SELECT e6 FROM t6
   WHERE a6 in (522,355,46)
      OR (74=e6 AND 243=b6 AND 386=a6 AND d6=196 AND 430=c6)
UNION ALL
  SELECT b7 FROM t7
   WHERE (869=a7 OR 805=d7 OR d7=391)
UNION ALL
  SELECT a4 FROM t4
   WHERE (d4=950)
      OR (306=d4 OR b4=538 OR 513=c4)
EXCEPT
  SELECT b3 FROM t3
   WHERE NOT ((d3=283 AND 83=e3 AND 649=b3)
           OR (c3=452))
EXCEPT
  SELECT c8 FROM t8
   WHERE NOT ((683=c8)
           OR (c8=908 OR d8=731 OR d8=124)
           OR (41=e8 OR 352=b8))
UNION
  SELECT b1 FROM t1
   WHERE (a1=492 AND 534=c1 AND d1=712)
      OR (607=c1)
UNION
  SELECT c5 FROM t5
   WHERE e5 in (812,13,386,141,522,155,764,894,716,25,499,271,511,758)

query T valuesort
  SELECT b4 FROM t4
   WHERE d4 in (141,18,665)
UNION ALL
  SELECT b7 FROM t7
   WHERE (441=c7 OR 651=a7 OR a7=958)
      OR a7 in (995,593,165,466,699,863,147,703)
EXCEPT
  SELECT d1 FROM t1
   WHERE NOT (e1 in (747,12,300,110,558))
EXCEPT
  SELECT e2 FROM t2
   WHERE NOT ((c2=676)
           OR e2 in (147,40,938,220,579,604,499,647,777,621))
UNION ALL
  SELECT e9 FROM t9
   WHERE (d9=283 AND b9=688 AND e9=418 AND 232=c9 AND a9=240)
EXCEPT
  SELECT e5 FROM t5
   WHERE NOT ((d5=742 AND c5=599)
           OR (384=c5 AND e5=874))
EXCEPT
  SELECT b3 FROM t3
   WHERE NOT (e3 in (135,425,467,457,249,470,846,177,975,833,459)
           OR (a3=245 AND 538=d3 AND c3=607))

query T valuesort
  SELECT d1 FROM t1
   WHERE (465=c1 AND 247=e1)
      OR (862=b1 OR 237=a1 OR b1=956)
INTERSECT
  SELECT b6 FROM t6
   WHERE NOT ((e6=95 OR 617=e6 OR d6=196)
           OR (355=a6 AND e6=754 AND d6=647)
           OR c6 in (159,609,292,769,480))

query T valuesort
  SELECT e4 FROM t4
   WHERE b4 in (94,289,220,286,907,733,379,538,979,331,372,295)
      OR c4 in (860,832,723)
UNION ALL
  SELECT d2 FROM t2
   WHERE (b2=8 OR 932=b2)
      OR (b2=706 OR 56=a2 OR d2=265)
UNION
  SELECT e9 FROM t9
   WHERE e9 in (873,679,621,607,837,750,819,968,383,647)
EXCEPT
  SELECT a5 FROM t5
   WHERE NOT (d5 in (856,321,616,557,570,957,32,344,4)
           OR (b5=336 AND 904=a5 AND d5=616 AND c5=147)
           OR (858=d5 OR 502=b5))

query T valuesort
  SELECT a3 FROM t3
   WHERE (246=b3 AND a3=784)
      OR (c3=542 OR 305=c3)
      OR (986=c3 OR e3=846 OR 876=e3)
UNION
  SELECT e6 FROM t6
   WHERE (938=c6 AND 797=d6)
UNION ALL
  SELECT e2 FROM t2
   WHERE a2 in (769,966,987,901,76)
      OR (a2=217 AND e2=512 AND c2=807)
      OR (141=c2 OR 404=d2)
UNION
  SELECT b4 FROM t4
   WHERE (c4=215)
      OR (e4=273 AND b4=982)
      OR e4 in (661,592,1,837,476,931,482,858)
EXCEPT
  SELECT e7 FROM t7
   WHERE NOT ((a7=806 OR e7=234)
           OR (691=c7 OR b7=861))
UNION ALL
  SELECT b9 FROM t9
   WHERE e9 in (694,788,197,858,657,653,819,704,978,845,567,426,264)
      OR (26=b9 OR a9=304 OR 660=a9)
      OR (187=c9 OR d9=554)
EXCEPT
  SELECT b5 FROM t5
   WHERE NOT ((731=b5)
           OR d5 in (811,649,114,495)
           OR (806=d5 OR 18=e5 OR 802=e5))
EXCEPT
  SELECT e8 FROM t8
   WHERE NOT ((e8=349 AND 397=b8 AND 472=a8))
UNION
  SELECT c1 FROM t1
   WHERE (e1=546 AND a1=643 AND b1=435 AND 654=c1)
      OR a1 in (829,499,754,785,779,498,880,742,276,853,147)

query T valuesort
  SELECT b2 FROM t2
   WHERE (228=c2 AND e2=242 AND 592=b2 AND a2=594 AND d2=651)
      OR (a2=718 AND b2=357 AND d2=241 AND e2=510 AND 657=c2)
      OR (524=e2 AND 859=b2 AND a2=64 AND 758=c2 AND 126=d2)
UNION ALL
  SELECT d7 FROM t7
   WHERE b7 in (750,460,305,660,726,735,129,495,837)
      OR (e7=183 OR 144=e7)

query T valuesort
  SELECT e8 FROM t8
   WHERE (58=d8 AND b8=755 AND a8=417)
      OR (e8=947)
UNION ALL
  SELECT c5 FROM t5
   WHERE (e5=716 AND a5=54 AND b5=717 AND d5=772 AND c5=805)
      OR (155=c5 AND 369=a5 AND d5=789)
      OR b5 in (26,91,858,544,502,530,620,531)
UNION ALL
  SELECT a3 FROM t3
   WHERE (716=b3 OR d3=355 OR b3=124)
      OR (829=a3 OR 449=e3 OR 334=b3)
EXCEPT
  SELECT e4 FROM t4
   WHERE NOT (c4 in (804,904,274,521,998,88,720,214,993,674,585,732))
EXCEPT
  SELECT c9 FROM t9
   WHERE NOT ((776=a9 AND e9=704 AND 960=d9 AND b9=680)
           OR b9 in (426,251,891,152,210,312,5,803,832,821))

query T valuesort
  SELECT d3 FROM t3
   WHERE (a3=162 AND b3=266 AND 809=c3)
      OR b3 in (542,827,882,566,445)
INTERSECT
  SELECT a9 FROM t9
   WHERE NOT (e9 in (801,452,799,245,942,35,19,251,301,477,61,737))
EXCEPT
  SELECT e8 FROM t8
   WHERE NOT ((b8=975 AND 127=a8)
           OR c8 in (513,534,229,418,789,647,5,448,283,563,381,151,150)
           OR (e8=859 OR 838=a8 OR 370=d8))
UNION
  SELECT a7 FROM t7
   WHERE a7 in (430,416,277,22,233,134)
      OR (b7=323 OR 971=e7 OR 457=d7)
      OR d7 in (939,974,817,105,328,192,183,296,886,131,765,712,702,315)
EXCEPT
  SELECT b4 FROM t4
   WHERE NOT ((357=b4)
           OR (119=c4 AND b4=114 AND 132=e4))
UNION
  SELECT b6 FROM t6
   WHERE (c6=441)
      OR (c6=328 OR d6=60 OR 752=c6)
      OR (b6=774 AND c6=54)
UNION ALL
  SELECT d5 FROM t5
   WHERE (b5=559 AND 442=c5 AND 68=e5 AND 242=a5 AND d5=634)
      OR (d5=132 OR d5=742 OR 470=e5)
EXCEPT
  SELECT d1 FROM t1
   WHERE NOT ((a1=23 OR 862=b1 OR 337=a1)
           OR e1 in (625,313,737))

query T valuesort
  SELECT d4 FROM t4
   WHERE d4 in (985,105,491,820,597,844,31)
      OR (a4=968)
      OR (b4=76 AND c4=732 AND d4=917)
INTERSECT
  SELECT b7 FROM t7
   WHERE NOT ((301=c7 OR 324=d7 OR b7=881)
           OR (e7=971 AND 973=b7))
INTERSECT
  SELECT b9 FROM t9
   WHERE NOT ((975=c9 AND b9=891 AND d9=686 AND 127=e9 AND 148=a9))
UNION ALL
  SELECT c2 FROM t2
   WHERE (900=c2 OR b2=968)
      OR (b2=812 AND 802=a2 AND 541=d2 AND c2=27)
      OR (769=e2 AND 35=a2 AND c2=197)
UNION ALL
  SELECT a6 FROM t6
   WHERE (b6=281 OR 798=e6)
      OR (d6=72 AND 963=a6)
      OR (b6=229 OR c6=308 OR b6=267)
UNION ALL
  SELECT a1 FROM t1
   WHERE (426=b1)
      OR (345=b1)
      OR (d1=818 OR a1=299 OR 953=a1)
EXCEPT
  SELECT a5 FROM t5
   WHERE NOT (d5 in (806,752,789,841,731,792,542,916,963,553,4,59)
           OR (c5=820))

query T valuesort
  SELECT c9 FROM t9
   WHERE c9 in (222,257,323,469,240,87,457,487,146,687,37,370,613)
      OR (d9=164 AND 245=e9)
EXCEPT
  SELECT c2 FROM t2
   WHERE NOT ((a2=135 AND 441=e2)
           OR (e2=820 OR 22=c2 OR 751=a2)
           OR (c2=148))
UNION
  SELECT c3 FROM t3
   WHERE (e3=449 AND b3=152 AND c3=555 AND d3=729)
      OR b3 in (73,566,790,454,407,888,124,145,761)
EXCEPT
  SELECT d5 FROM t5
   WHERE NOT ((e5=902 OR 587=e5 OR 916=d5))
UNION
  SELECT e8 FROM t8
   WHERE (332=c8 OR 154=c8 OR 117=c8)
      OR (a8=417 OR a8=54)
      OR b8 in (370,102,162,792,369,461,725,906,964,984,891)
UNION ALL
  SELECT e1 FROM t1
   WHERE c1 in (608,765,284)
      OR e1 in (209,732,763,504,779,430,484,117)
      OR e1 in (695,683,221,12,443,539,300,625,956,166,284)

query T valuesort
  SELECT b7 FROM t7
   WHERE (360=b7 OR 341=d7 OR b7=636)
      OR a7 in (9,442,85,706)
      OR d7 in (549,772,442,902,805,524,395,722,539,925,364)
UNION
  SELECT d4 FROM t4
   WHERE (617=e4 AND a4=408 AND 982=b4 AND d4=546 AND c4=157)
UNION ALL
  SELECT e2 FROM t2
   WHERE (a2=455 OR 546=b2 OR 681=b2)
UNION ALL
  SELECT b5 FROM t5
   WHERE (b5=847 AND e5=718 AND c5=210 AND 42=d5)
EXCEPT
  SELECT a6 FROM t6
   WHERE NOT ((522=c6))
EXCEPT
  SELECT d3 FROM t3
   WHERE NOT (d3 in (134,683,890,729,624)
           OR (c3=961))

query T valuesort
  SELECT e1 FROM t1
   WHERE e1 in (695,328,89)
UNION ALL
  SELECT c4 FROM t4
   WHERE (e4=71)
EXCEPT
  SELECT d7 FROM t7
   WHERE NOT ((670=b7 OR 884=a7)
           OR (e7=782 OR 916=d7))
EXCEPT
  SELECT c5 FROM t5
   WHERE NOT ((c5=31)
           OR (598=c5 AND 72=e5 AND d5=521 AND a5=757 AND 412=b5))
EXCEPT
  SELECT b6 FROM t6
   WHERE NOT ((b6=6))

query T valuesort
  SELECT c7 FROM t7
   WHERE d7 in (324,902,671,134,781,196,328,225,842,673)
      OR (a7=416 OR c7=843)
      OR (820=b7 AND 844=e7 AND c7=853 AND a7=386 AND 795=d7)
UNION
  SELECT d4 FROM t4
   WHERE (0=c4 OR a4=185 OR d4=639)
      OR (160=a4)
      OR (c4=712)
UNION
  SELECT c8 FROM t8
   WHERE (b8=244 OR c8=427)
UNION
  SELECT c6 FROM t6
   WHERE (a6=518 AND b6=427 AND 40=e6 AND 454=c6 AND 852=d6)
      OR (366=d6 OR b6=390)
      OR a6 in (173,128,829,731,405,811,62,585,604,129,877,851)
UNION ALL
  SELECT b5 FROM t5
   WHERE (667=d5 AND 351=c5 AND e5=522)
      OR (d5=238 OR e5=155 OR 655=e5)
UNION
  SELECT d1 FROM t1
   WHERE (c1=788 AND 384=b1 AND d1=161)
      OR (b1=645)
UNION
  SELECT b2 FROM t2
   WHERE (d2=651 OR 728=c2 OR e2=841)
      OR (b2=113)
      OR (c2=197)
EXCEPT
  SELECT d9 FROM t9
   WHERE NOT ((b9=178 OR d9=224 OR a9=457)
           OR (b9=361 OR d9=720 OR d9=694)
           OR (122=b9 AND 858=e9 AND 601=d9 AND a9=815 AND 935=c9))
UNION
  SELECT c3 FROM t3
   WHERE b3 in (927,827,464,145,649,273,130,392,57,269,505)

query T valuesort
  SELECT b7 FROM t7
   WHERE (e7=522 AND c7=744)
      OR (d7=341 AND 709=a7)
      OR a7 in (158,267,758,452,165,936,982,290)
UNION
  SELECT b1 FROM t1
   WHERE (a1=521 AND 281=b1 AND d1=221 AND e1=628)
      OR (853=a1 OR d1=407)
      OR (825=a1 AND b1=247 AND d1=565 AND 486=c1)

query T valuesort
  SELECT d3 FROM t3
   WHERE (c3=542 AND d3=658 AND a3=349)
      OR (d3=2)
INTERSECT
  SELECT b5 FROM t5
   WHERE NOT (c5 in (756,3,734,927,250,422,797,696,855,613,441,723)
           OR (271=d5 OR e5=874 OR b5=544)
           OR (4=d5 OR a5=50))
UNION
  SELECT e1 FROM t1
   WHERE (b1=995)
UNION ALL
  SELECT a8 FROM t8
   WHERE d8 in (811,624,756,456,880,683,512,20,805,636,781,446,391,627)
      OR (a8=553 OR 859=e8)
      OR (a8=210 AND e8=105)
EXCEPT
  SELECT a2 FROM t2
   WHERE NOT (d2 in (416,813,806,541,10,315))

query T valuesort
  SELECT d5 FROM t5
   WHERE (513=a5 OR 537=d5)
      OR b5 in (531,971,506)
UNION
  SELECT c6 FROM t6
   WHERE e6 in (230,503,5)
UNION
  SELECT d7 FROM t7
   WHERE (982=a7 OR 636=b7 OR c7=585)
EXCEPT
  SELECT e9 FROM t9
   WHERE NOT ((b9=178))
EXCEPT
  SELECT d8 FROM t8
   WHERE NOT ((422=d8 AND e8=186))
UNION ALL
  SELECT a3 FROM t3
   WHERE (975=e3 AND 555=c3)
      OR (b3=407)
      OR (e3=119 AND d3=428 AND 792=c3)
UNION ALL
  SELECT d1 FROM t1
   WHERE (376=d1 OR a1=637 OR 371=a1)
EXCEPT
  SELECT d2 FROM t2
   WHERE NOT (a2 in (769,966,564,223,457,315,901,371,809,10,1,9,442,123)
           OR a2 in (279,253,471,564,297,874,327,93,775,262)
           OR b2 in (754,353,674,811))
EXCEPT
  SELECT b4 FROM t4
   WHERE NOT (a4 in (637,502,82,152,589,139,31,408,450,602,922))

query T valuesort
  SELECT b8 FROM t8
   WHERE (14=e8 OR 653=a8)
UNION ALL
  SELECT d3 FROM t3
   WHERE (e3=135 OR 641=c3)
EXCEPT
  SELECT c1 FROM t1
   WHERE NOT (c1 in (168,880,498)
           OR a1 in (281,231,742,76,767,499,607))
EXCEPT
  SELECT b6 FROM t6
   WHERE NOT ((787=a6 OR d6=463))
UNION
  SELECT a9 FROM t9
   WHERE (16=b9 AND a9=683 AND c9=863 AND 591=d9)
      OR (e9=353 OR 495=d9)
      OR d9 in (161,495,420,95,720,909,388,597,389,662,55)
UNION
  SELECT b7 FROM t7
   WHERE a7 in (87,62,757,439,982,11,97,748,916,430,120,490,452,703)
      OR (e7=344 AND b7=191)
      OR (832=a7 AND 455=e7 AND 547=d7 AND c7=206 AND b7=105)

query T valuesort
  SELECT e5 FROM t5
   WHERE e5 in (104,13,807,937,995,708,386)
UNION ALL
  SELECT d9 FROM t9
   WHERE a9 in (964,747,177,56)
EXCEPT
  SELECT b2 FROM t2
   WHERE NOT ((b2=170 OR 806=c2 OR d2=317)
           OR (241=d2)
           OR (d2=555 OR 292=d2 OR 445=e2))
EXCEPT
  SELECT d4 FROM t4
   WHERE NOT ((b4=535 AND a4=439 AND e4=37)
           OR e4 in (358,763,879,122))
UNION ALL
  SELECT e8 FROM t8
   WHERE (200=a8 OR d8=81)
      OR (597=a8 OR 638=a8)
      OR e8 in (776,384,63,199,422,463,56,700,874)
UNION
  SELECT a1 FROM t1
   WHERE b1 in (711,254,766,579,914,278,132,525)
      OR b1 in (213,556,278,726,422,896)
UNION
  SELECT c6 FROM t6
   WHERE (974=b6 AND e6=100 AND 242=c6)
      OR (350=b6)
      OR (a6=799 AND 490=c6)
EXCEPT
  SELECT a7 FROM t7
   WHERE NOT ((579=b7 OR d7=28)
           OR (a7=720 AND d7=673 AND 781=b7 AND 827=e7))
UNION ALL
  SELECT a3 FROM t3
   WHERE b3 in (360,685,445,355,617,73)
      OR (914=b3 AND d3=495 AND c3=801 AND 513=a3)
      OR c3 in (455,86,83,145,435,555,459,697,863,305,403)

query T valuesort
  SELECT e8 FROM t8
   WHERE c8 in (374,230,79,943,117,851,656,225,844,151,250,790,720,521)
      OR (463=e8)
INTERSECT
  SELECT e3 FROM t3
   WHERE NOT ((133=d3)
           OR c3 in (929,900,954,324,549,592,439)
           OR (464=b3 AND 403=c3 AND a3=41))

query T valuesort
  SELECT b4 FROM t4
   WHERE b4 in (379,721,357,40,765,603,23,721,137,319,713,94,735)
INTERSECT
  SELECT a2 FROM t2
   WHERE NOT ((725=a2 AND c2=103 AND 857=b2)
           OR a2 in (660,980,916,775,874,785,522,382,123))
EXCEPT
  SELECT a3 FROM t3
   WHERE NOT ((b3=740)
           OR (211=b3 OR 548=a3)
           OR (779=b3 AND 303=a3))

query T valuesort
  SELECT c6 FROM t6
   WHERE c6 in (832,615,320,752,216,648)
UNION ALL
  SELECT b5 FROM t5
   WHERE (d5=542 AND 846=b5)
UNION ALL
  SELECT e8 FROM t8
   WHERE (796=b8 AND 442=c8 AND e8=180 AND 242=a8)
UNION
  SELECT c2 FROM t2
   WHERE (a2=283)
UNION ALL
  SELECT e4 FROM t4
   WHERE (185=a4 AND c4=455 AND d4=441 AND e4=372)
EXCEPT
  SELECT d7 FROM t7
   WHERE NOT (b7 in (813,924,781,892,979,396,612,693)
           OR e7 in (462,988,816,827,127,860))
UNION ALL
  SELECT d3 FROM t3
   WHERE c3 in (688,305,688,869,338,127)
      OR (a3=727 OR 584=b3)
      OR e3 in (310,526,318,605,7,896,547,333,145,665)
UNION
  SELECT b1 FROM t1
   WHERE (d1=701 AND 350=b1)
      OR d1 in (947,574,35,232,467,18,949,212,820,951,75)
      OR (679=d1 AND b1=633 AND 523=e1 AND a1=460 AND c1=390)
UNION
  SELECT e9 FROM t9
   WHERE (d9=959 OR 968=e9)
      OR (a9=811 AND 732=c9 AND 936=e9)

query T valuesort
  SELECT e4 FROM t4
   WHERE b4 in (713,357,733,721,700,608,295,653,735,644,919,535,925)
      OR (794=c4 OR 854=c4)
      OR a4 in (606,662,318,160,29,982,439,447,792,580,509)
UNION ALL
  SELECT d5 FROM t5
   WHERE (897=b5 OR a5=429)
      OR (e5=143 AND d5=769 AND 335=a5 AND 747=c5)

query T valuesort
  SELECT c8 FROM t8
   WHERE (d8=682 OR 541=d8 OR c8=692)
      OR (b8=287 AND 859=e8 AND 332=c8)
UNION
  SELECT b5 FROM t5
   WHERE (540=a5 AND 104=e5 AND b5=380)
UNION ALL
  SELECT b2 FROM t2
   WHERE e2 in (512,428,560,815,115,242,788,463,629,483,564)
UNION ALL
  SELECT c3 FROM t3
   WHERE c3 in (247,692,900,668)
      OR (c3=826 AND 376=a3)
      OR (615=d3 OR 178=c3 OR c3=324)
UNION ALL
  SELECT c1 FROM t1
   WHERE (d1=130)
EXCEPT
  SELECT c6 FROM t6
   WHERE NOT ((e6=737))
EXCEPT
  SELECT a7 FROM t7
   WHERE NOT (d7 in (457,787,506)
           OR (e7=120 OR 291=e7))
UNION ALL
  SELECT b4 FROM t4
   WHERE (b4=434 OR c4=581)
      OR d4 in (929,597,247,583,481,223)

query T valuesort
  SELECT d2 FROM t2
   WHERE (b2=864 OR a2=123 OR 139=a2)
      OR (805=a2 OR a2=709 OR c2=878)
EXCEPT
  SELECT a3 FROM t3
   WHERE NOT ((599=d3 OR c3=317))
UNION
  SELECT c7 FROM t7
   WHERE (282=e7 AND 529=c7 AND 913=b7 AND d7=916 AND a7=361)
      OR b7 in (679,726,804,660)
UNION ALL
  SELECT c8 FROM t8
   WHERE (7=b8)
      OR b8 in (922,493,624)
EXCEPT
  SELECT c5 FROM t5
   WHERE NOT ((351=c5 AND 522=e5 AND a5=730 AND b5=989 AND 667=d5)
           OR d5 in (779,682,155)
           OR (e5=446 AND d5=682))

query T valuesort
  SELECT c3 FROM t3
   WHERE (e3=25 AND b3=713 AND 996=a3 AND 520=d3)
      OR (547=e3 OR b3=159 OR 145=b3)
      OR (27=b3 OR e3=211)
UNION ALL
  SELECT a9 FROM t9
   WHERE (458=a9)
      OR (891=a9 AND 150=e9 AND 421=b9)
EXCEPT
  SELECT d8 FROM t8
   WHERE NOT ((795=a8 OR d8=630 OR a8=327)
           OR a8 in (359,129,946,638,826,314,66,597,328)
           OR (889=b8 OR a8=443 OR 366=d8))
UNION ALL
  SELECT e7 FROM t7
   WHERE (a7=593 OR 925=d7)
      OR (a7=925 OR 249=c7 OR e7=827)
UNION
  SELECT c1 FROM t1
   WHERE d1 in (394,298,973,519,407)

query T valuesort
  SELECT d5 FROM t5
   WHERE (250=c5 AND 855=d5 AND 609=b5 AND 685=a5)
UNION ALL
  SELECT d3 FROM t3
   WHERE e3 in (169,981,913,807,192,821,829)
      OR (d3=726 AND a3=198 AND e3=871 AND c3=29)
      OR (a3=551 AND d3=641 AND 516=c3 AND 821=e3 AND b3=813)
EXCEPT
  SELECT a1 FROM t1
   WHERE NOT ((d1=457 AND 963=a1 AND 558=e1 AND c1=69)
           OR (a1=237))
EXCEPT
  SELECT b4 FROM t4
   WHERE NOT ((598=a4)
           OR (208=c4))

query T valuesort
  SELECT a1 FROM t1
   WHERE e1 in (748,222,558,247,113,696,254,443,367,117,896,288,695)
      OR (a1=609)
EXCEPT
  SELECT a7 FROM t7
   WHERE NOT ((820=b7 AND c7=853 AND a7=386 AND 844=e7 AND d7=795)
           OR a7 in (869,452,622,158,795,894,48,9,136)
           OR (689=e7 AND c7=98))
EXCEPT
  SELECT b8 FROM t8
   WHERE NOT ((d8=344 AND 700=e8)
           OR (852=b8 AND d8=446 AND 291=c8 AND 63=e8 AND a8=855))
EXCEPT
  SELECT c9 FROM t9
   WHERE NOT ((739=a9))
EXCEPT
  SELECT e4 FROM t4
   WHERE NOT ((402=b4)
           OR (c4=703)
           OR e4 in (592,692,300,885,739,37,349,543,179))
EXCEPT
  SELECT d6 FROM t6
   WHERE NOT (c6 in (265,504,615))

query T valuesort
  SELECT b7 FROM t7
   WHERE (490=a7 OR 826=e7)
UNION ALL
  SELECT a3 FROM t3
   WHERE (243=c3 AND 788=a3 AND e3=823)
      OR (592=c3 OR 983=b3)
EXCEPT
  SELECT e4 FROM t4
   WHERE NOT ((e4=122)
           OR (a4=952 OR d4=373 OR 860=c4))
EXCEPT
  SELECT b5 FROM t5
   WHERE NOT (b5 in (56,336,391,321,193,874,159,623))

query T valuesort
  SELECT e5 FROM t5
   WHERE d5 in (565,685,957,111,437,841,634,835,964,858)
      OR a5 in (721,357,342,817,311,599,235,904,413)
INTERSECT
  SELECT a1 FROM t1
   WHERE NOT (e1 in (161,152,880,855,158,813,268,300)
           OR d1 in (96,678,234,990,215,213,130))

query T valuesort
  SELECT d3 FROM t3
   WHERE (490=c3)
UNION ALL
  SELECT c2 FROM t2
   WHERE (923=e2)
      OR (c2=725 OR 819=b2 OR e2=37)
      OR (723=d2)
EXCEPT
  SELECT b5 FROM t5
   WHERE NOT (c5 in (351,86,185,941,602,941,140,668,196)
           OR (587=b5))
UNION ALL
  SELECT d6 FROM t6
   WHERE (243=b6 OR c6=807 OR e6=95)
UNION ALL
  SELECT d7 FROM t7
   WHERE c7 in (80,103,180,589,691,944,553,705,488,661,302,441,482,92)
      OR d7 in (226,391,328,787,549,724,886,148,436,603,709,341,212,817)
EXCEPT
  SELECT e8 FROM t8
   WHERE NOT (c8 in (168,935,692,965,160,111,100,821,354,284,233,789)
           OR (a8=672 AND d8=580 AND e8=736 AND 211=b8 AND c8=789))
EXCEPT
  SELECT a1 FROM t1
   WHERE NOT ((254=d1)
           OR (a1=231 AND e1=795 AND b1=468)
           OR c1 in (498,172,482,177,97,915,62,617,252))

query T valuesort
  SELECT b4 FROM t4
   WHERE (d4=441)
      OR (167=b4 AND 806=c4 AND e4=358 AND 277=d4 AND a4=708)
      OR (c4=585 AND d4=260 AND 901=b4)
INTERSECT
  SELECT c5 FROM t5
   WHERE NOT (e5 in (270,610,188,737,187,18,352,995,812,522,689,656,98))
UNION
  SELECT b9 FROM t9
   WHERE a9 in (548,803,485,458,240,251,56,102,907,553,488,747)
      OR (133=e9)
EXCEPT
  SELECT c8 FROM t8
   WHERE NOT (e8 in (296,384,64,933,463,381)
           OR (d8=624 OR 876=d8)
           OR (a8=504 OR 671=a8))
EXCEPT
  SELECT b6 FROM t6
   WHERE NOT ((991=d6 OR 622=e6 OR b6=511)
           OR (d6=453 AND 572=c6 AND b6=850 AND e6=622 AND 683=a6))
UNION ALL
  SELECT e2 FROM t2
   WHERE (681=b2 OR 810=c2 OR 136=c2)
      OR (b2=729 AND 292=d2 AND e2=769 AND a2=35 AND c2=197)
      OR (a2=789 OR c2=179)

query T valuesort
  SELECT c6 FROM t6
   WHERE (a6=2)
      OR (740=a6 OR 850=b6)
      OR (132=a6 OR 915=b6 OR a6=238)
UNION
  SELECT b9 FROM t9
   WHERE (d9=439)
      OR e9 in (987,944,418,107,788)
      OR (c9=923 OR c9=240)
EXCEPT
  SELECT c8 FROM t8
   WHERE NOT ((493=b8))

query T valuesort
  SELECT d1 FROM t1
   WHERE d1 in (254,922,626,770,748)
      OR e1 in (210,897,962,558,117,693)
      OR (c1=703 OR 918=a1)
UNION ALL
  SELECT a6 FROM t6
   WHERE (564=a6 AND 2=d6 AND 974=b6)
      OR e6 in (915,622,761,139,503,816,574)
EXCEPT
  SELECT d3 FROM t3
   WHERE NOT (b3 in (350,482,202,534,932,124,827,103,701,376,558,411)
           OR (168=d3 AND c3=823 AND 932=e3 AND 977=b3))
UNION
  SELECT e5 FROM t5
   WHERE d5 in (792,557,565,443,255,321,4,963,369)
UNION
  SELECT d7 FROM t7
   WHERE b7 in (129,913,813,798,280)
      OR (c7=518 OR d7=924)
      OR (d7=492 AND 7=e7)
UNION ALL
  SELECT b4 FROM t4
   WHERE d4 in (910,236,100,55,442,524,185)
      OR a4 in (81,876,621,450,386,248,933,513)
EXCEPT
  SELECT d8 FROM t8
   WHERE NOT ((52=b8))

query T valuesort
  SELECT d5 FROM t5
   WHERE (b5=717)
UNION ALL
  SELECT a3 FROM t3
   WHERE (888=b3 OR b3=677 OR 303=a3)
      OR (701=d3 AND 813=e3 AND b3=224 AND 733=c3)
      OR (d3=428 OR 525=a3 OR 886=d3)
UNION
  SELECT e8 FROM t8
   WHERE (b8=370 OR 352=b8)
      OR (a8=882 OR b8=725 OR a8=578)
EXCEPT
  SELECT c4 FROM t4
   WHERE NOT ((840=c4)
           OR (236=d4))

query T valuesort
  SELECT c9 FROM t9
   WHERE a9 in (72,815,474,18,972,416,318,924,685,953)
UNION
  SELECT b7 FROM t7
   WHERE (934=c7 OR 419=c7)
EXCEPT
  SELECT a8 FROM t8
   WHERE NOT ((113=c8 AND 600=e8 AND a8=417 AND b8=755))
EXCEPT
  SELECT b4 FROM t4
   WHERE NOT (b4 in (286,532,260,593,387,635,660,94,608,372,137,402)
           OR (b4=107 AND 792=a4 AND d4=100 AND 738=e4 AND c4=996))
UNION
  SELECT d1 FROM t1
   WHERE (194=a1 OR e1=254 OR b1=766)
      OR (440=b1)
      OR (a1=637 OR 617=c1 OR 14=e1)
EXCEPT
  SELECT b3 FROM t3
   WHERE NOT ((886=d3 AND 341=e3 AND 472=c3))
UNION
  SELECT d5 FROM t5
   WHERE (342=e5 AND a5=626 AND 545=c5 AND d5=553 AND b5=183)
UNION ALL
  SELECT e2 FROM t2
   WHERE c2 in (346,220,87)
EXCEPT
  SELECT a6 FROM t6
   WHERE NOT (a6 in (683,436,518,692,672,801,751,764,222,132,973,851,128))

query T valuesort
  SELECT c9 FROM t9
   WHERE a9 in (549,685,349,611)
      OR c9 in (809,37,75,254,711,487)
EXCEPT
  SELECT a7 FROM t7
   WHERE NOT ((254=e7)
           OR (971=e7 AND d7=549 AND 6=a7 AND 103=c7)
           OR (549=d7 AND e7=971))
EXCEPT
  SELECT d1 FROM t1
   WHERE NOT ((b1=259))
UNION ALL
  SELECT c4 FROM t4
   WHERE b4 in (379,986,826,627,892,603,707,271,635,114,961,86)
      OR (e4=179 AND c4=873 AND b4=94 AND d4=881)
      OR (c4=948 AND 63=e4 AND 474=a4)

query T valuesort
  SELECT b8 FROM t8
   WHERE (e8=7 OR 442=e8)
      OR (5=c8 OR a8=591 OR d8=2)
      OR d8 in (108,737,269,889,474,683,330,484,631,811,862,116,731)
UNION
  SELECT b2 FROM t2
   WHERE c2 in (141,810,830,449,160,244,24,894,346,823,141,511,344)
      OR e2 in (228,564,925,463)
      OR (131=e2 OR 86=d2 OR a2=735)
EXCEPT
  SELECT a7 FROM t7
   WHERE NOT (a7 in (277,267,130,158,416,231,500,114,48,684,6,75,896,158))
EXCEPT
  SELECT a9 FROM t9
   WHERE NOT ((378=a9 AND 13=b9 AND 744=e9 AND c9=751 AND d9=25)
           OR (270=d9))
EXCEPT
  SELECT e3 FROM t3
   WHERE NOT (b3 in (445,874,814,57,159,202,983,41,542))

query T valuesort
  SELECT e8 FROM t8
   WHERE (d8=190 OR 617=e8)
      OR (504=a8 OR d8=474 OR 792=e8)
UNION
  SELECT c5 FROM t5
   WHERE b5 in (820,79,736,548,744,640,389,320,260,661)
      OR (b5=234 OR b5=412)
      OR e5 in (522,561,975,287,188,437,22,737,155,130,141,995,874,640)
EXCEPT
  SELECT b2 FROM t2
   WHERE NOT ((812=b2 AND a2=802)
           OR (b2=504 OR a2=522))
UNION ALL
  SELECT c9 FROM t9
   WHERE a9 in (747,304,584,172,919,610,830,160,953,218,712,962)
      OR (936=c9 AND 19=e9)
UNION
  SELECT d3 FROM t3
   WHERE (784=a3 OR 913=e3)
      OR (b3=214 AND e3=836 AND c3=651 AND 982=d3)
      OR (236=b3 AND 641=c3 AND d3=967 AND 971=a3 AND 265=e3)
UNION ALL
  SELECT e4 FROM t4
   WHERE (603=b4)
      OR (e4=376 OR a4=373 OR e4=916)
EXCEPT
  SELECT a7 FROM t7
   WHERE NOT ((d7=28 OR 916=d7)
           OR (e7=844 OR c7=280 OR c7=280))
EXCEPT
  SELECT a6 FROM t6
   WHERE NOT (a6 in (300,657,104,696,572,540,870,801))
UNION
  SELECT b1 FROM t1
   WHERE (902=c1)
      OR b1 in (384,593,857,420,426,280,594,310,836,283,556,808,803)
      OR (d1=992)

query T valuesort
  SELECT e2 FROM t2
   WHERE b2 in (329,819,226,864,796,888,380,725,311,113,585)
      OR c2 in (793,251,746,625,551)
      OR a2 in (987,564,993,590,262,910,1,253,266,954,669,2,574,245)
INTERSECT
  SELECT e1 FROM t1
   WHERE NOT ((645=b1 AND 497=e1))
UNION
  SELECT d6 FROM t6
   WHERE c6 in (320,159,961,242,295,424,84,45,12)
      OR (a6=818)
      OR (441=c6)
EXCEPT
  SELECT e5 FROM t5
   WHERE NOT (e5 in (187,586,561,470,594,327))
EXCEPT
  SELECT c9 FROM t9
   WHERE NOT (e9 in (858,619,737,704,445,35,19,844,549,263,61,744,388)
           OR (858=b9 AND a9=875 AND d9=597 AND 126=c9))
EXCEPT
  SELECT a3 FROM t3
   WHERE NOT (c3 in (777,651,792,763,368,296,688,490,146)
           OR (c3=133 AND b3=73 AND 586=e3)
           OR d3 in (729,139,434,983,683,399,826,650,538,520))
EXCEPT
  SELECT b8 FROM t8
   WHERE NOT (a8 in (259,15,637,952,113,795,417,807,553,312,256)
           OR (453=a8 OR d8=849 OR e8=859)
           OR (a8=184 OR 889=d8))
EXCEPT
  SELECT d7 FROM t7
   WHERE NOT (d7 in (842,603,105,148,924,549,324,680))
UNION ALL
  SELECT d4 FROM t4
   WHERE (167=b4)
      OR (508=c4 AND 950=a4 AND d4=985 AND e4=543 AND 86=b4)

query T valuesort
  SELECT d3 FROM t3
   WHERE (455=c3 AND b3=827)
UNION
  SELECT c5 FROM t5
   WHERE c5 in (805,149,147,196,989)
      OR (e5=737 AND 544=c5 AND 234=b5 AND d5=883)
EXCEPT
  SELECT c2 FROM t2
   WHERE NOT ((217=e2 AND 382=a2))
UNION ALL
  SELECT e4 FROM t4
   WHERE (150=d4 AND c4=927)
      OR (81=e4 AND d4=86 AND a4=845 AND 964=b4 AND 804=c4)
UNION ALL
  SELECT d1 FROM t1
   WHERE (524=a1 OR 4=c1 OR 465=c1)
UNION
  SELECT b8 FROM t8
   WHERE c8 in (394,821,150,935,225,656,375,965)
      OR (180=e8 AND c8=442)
UNION
  SELECT b6 FROM t6
   WHERE d6 in (376,367,822,613,469,729,578)
      OR (b6=44 OR 241=e6)
UNION
  SELECT c7 FROM t7
   WHERE a7 in (884,703,27,896,288,649,500,912,31,757)

query T valuesort
  SELECT e9 FROM t9
   WHERE (c9=39 AND 495=d9)
      OR e9 in (388,723,936,944,965,942,694,819)
UNION ALL
  SELECT a7 FROM t7
   WHERE (522=e7 OR 606=c7 OR 238=c7)
      OR a7 in (699,324,97,277,290,430,114,27,806,6,48,430,707)
UNION ALL
  SELECT d4 FROM t4
   WHERE (d4=309)
      OR (948=c4)
      OR (e4=296 OR a4=596 OR d4=356)
EXCEPT
  SELECT c6 FROM t6
   WHERE NOT ((405=a6 OR 997=b6 OR 366=d6))
UNION ALL
  SELECT b5 FROM t5
   WHERE (e5=144 OR 717=b5)
EXCEPT
  SELECT e2 FROM t2
   WHERE NOT ((522=a2 OR d2=498 OR 145=b2))
EXCEPT
  SELECT e3 FROM t3
   WHERE NOT ((701=b3 AND d3=17 AND c3=885 AND 281=e3 AND 218=a3)
           OR a3 in (899,803,566,42,777,971,651,836,5,614,396)
           OR (c3=692 AND d3=102 AND 197=a3 AND 273=b3))

query T valuesort
  SELECT b6 FROM t6
   WHERE (c6=282 AND e6=523 AND d6=256 AND a6=240 AND 158=b6)
      OR e6 in (100,972,646,439,5)
      OR (287=c6 AND b6=962 AND d6=185 AND a6=604 AND e6=6)
EXCEPT
  SELECT b8 FROM t8
   WHERE NOT ((305=e8 OR 96=d8 OR 46=e8)
           OR (964=b8 AND e8=149 AND 254=a8 AND c8=692 AND d8=48))
UNION ALL
  SELECT e9 FROM t9
   WHERE (b9=746 OR e9=672)
      OR (e9=607)

query T valuesort
  SELECT a3 FROM t3
   WHERE (b3=240 AND 825=d3 AND c3=863)
      OR (e3=818 OR 335=a3 OR 187=e3)
      OR (e3=536 OR a3=490)
INTERSECT
  SELECT b5 FROM t5
   WHERE NOT (e5 in (287,589,440,155,13,802,522,640,225,812,480)
           OR c5 in (915,856,613,747,485,774,924,756,721,544,894)
           OR (c5=756 AND 554=e5 AND d5=492 AND b5=161))
UNION ALL
  SELECT c1 FROM t1
   WHERE a1 in (479,445,249,213,268,879,330)
      OR (894=b1)
      OR e1 in (146,247,504,284,78,582,300,90,732,943,52)
UNION
  SELECT c2 FROM t2
   WHERE (45=c2 OR a2=545 OR a2=901)
      OR c2 in (177,292,511,360,275,421)
      OR a2 in (93,802,874,76)
EXCEPT
  SELECT c6 FROM t6
   WHERE NOT ((d6=767 AND b6=782 AND c6=258 AND 969=e6)
           OR (e6=439))

query T valuesort
  SELECT c4 FROM t4
   WHERE (b4=982)
      OR d4 in (639,141,373,728,199,628,844,356,212,31,680,136)
      OR c4 in (794,483,6,344,725,660)
EXCEPT
  SELECT e7 FROM t7
   WHERE NOT (b7 in (938,409,503,24,308,804,59,234,562,813,374)
           OR e7 in (234,841,455,92,929,860,826))
EXCEPT
  SELECT a2 FROM t2
   WHERE NOT ((170=b2 OR b2=418 OR c2=509)
           OR c2 in (806,819,283,374,509,87,688,830,466,729)
           OR (223=e2))
UNION
  SELECT c6 FROM t6
   WHERE (454=c6 OR a6=104 OR b6=880)
      OR a6 in (270,706,255,821,62,474,116,531)
      OR (e6=554 AND 449=b6 AND 66=a6 AND c6=123 AND 734=d6)
UNION
  SELECT b1 FROM t1
   WHERE (d1=310 OR d1=529)
      OR (593=b1)
EXCEPT
  SELECT a5 FROM t5
   WHERE NOT ((d5=757 AND 976=a5 AND e5=209))
UNION ALL
  SELECT b8 FROM t8
   WHERE e8 in (463,579,608,495,579,22,381,488)
      OR (383=e8 OR 923=a8)
      OR c8 in (298,225,691,998,907,668)
UNION
  SELECT d3 FROM t3
   WHERE d3 in (603,782,825,553,764,923)
      OR b3 in (266,790,122,273,156,236,701,17,566,480)

query T valuesort
  SELECT d6 FROM t6
   WHERE a6 in (121,604,474,692,540,251,45,270,40,469,818,240,46,255)
      OR c6 in (807,292,267,123,159,522,308,528,146,673,442,25,242,84)
INTERSECT
  SELECT d9 FROM t9
   WHERE NOT ((751=b9 OR b9=170 OR 218=e9)
           OR e9 in (868,954,679,607,117,35,934,965,978,944)
           OR c9 in (188,811,662,224,767,327))
UNION ALL
  SELECT e3 FROM t3
   WHERE (d3=913 AND c3=668 AND a3=190 AND 375=e3)
EXCEPT
  SELECT c4 FROM t4
   WHERE NOT ((b4=982 OR 170=a4 OR 405=e4))
UNION
  SELECT c8 FROM t8
   WHERE c8 in (501,136,299,521,979,273,821,100,61,544,32)
UNION ALL
  SELECT c5 FROM t5
   WHERE c5 in (56,545,442,868,551,579,570,250,585,443,625,601,799,351)

query T valuesort
  SELECT c6 FROM t6
   WHERE (d6=196)
      OR (b6=232 OR 974=d6 OR 606=b6)
INTERSECT
  SELECT b5 FROM t5
   WHERE NOT ((d5=274 AND 352=e5 AND 56=b5)
           OR (335=a5 AND 747=c5 AND d5=769 AND e5=143))
UNION
  SELECT a1 FROM t1
   WHERE (87=e1 AND b1=440 AND 955=c1 AND 222=a1)
      OR (c1=637)
      OR a1 in (75,32,879,829,499,505,222,281,868,591,866,231,895)
UNION ALL
  SELECT d2 FROM t2
   WHERE (404=d2 AND 445=a2 AND c2=511 AND 279=b2)
EXCEPT
  SELECT b9 FROM t9
   WHERE NOT (d9 in (305,679,646,274,681,383,104,25))
UNION ALL
  SELECT c7 FROM t7
   WHERE (b7=837 OR 356=e7 OR 134=d7)
      OR a7 in (748,97,130,158,952,869,912,574,452,998)
EXCEPT
  SELECT a8 FROM t8
   WHERE NOT (c8 in (284,77,74,275,150,354,151))
UNION
  SELECT c4 FROM t4
   WHERE (a4=60)
      OR e4 in (1,805,816,63,324,491,381,954,257,916,217,296,212)
EXCEPT
  SELECT e3 FROM t3
   WHERE NOT ((e3=319 OR a3=30)
           OR (b3=505 AND a3=42 AND 285=c3))

query T valuesort
  SELECT e6 FROM t6
   WHERE (e6=798 AND d6=376 AND b6=0)
      OR d6 in (21,600,970,942,974)
      OR b6 in (230,452,716)
UNION
  SELECT b5 FROM t5
   WHERE b5 in (703,321,858,661)
      OR d5 in (521,810,883,152,977,856,271,729)
      OR (a5=53 AND d5=856 AND c5=196 AND b5=975)
UNION ALL
  SELECT e4 FROM t4
   WHERE b4 in (606,660,271,847,579,816,749,979,826)
      OR (c4=417)
EXCEPT
  SELECT e2 FROM t2
   WHERE NOT ((718=a2 AND c2=657 AND b2=357 AND e2=510 AND d2=241)
           OR (d2=235 OR 61=c2 OR d2=847))
EXCEPT
  SELECT a7 FROM t7
   WHERE NOT (d7 in (192,590,324,831,787,724))
EXCEPT
  SELECT d8 FROM t8
   WHERE NOT ((636=d8 AND a8=671 AND 74=c8 AND b8=105)
           OR (e8=874 AND b8=769 AND c8=907 AND d8=141 AND a8=586))
EXCEPT
  SELECT a3 FROM t3
   WHERE NOT ((816=b3)
           OR (964=a3 AND 888=b3 AND e3=131 AND 970=c3 AND d3=444))

query T valuesort
  SELECT d9 FROM t9
   WHERE (a9=559 OR e9=868)
INTERSECT
  SELECT b5 FROM t5
   WHERE NOT ((b5=205)
           OR (d5=537 AND b5=674 AND 975=e5)
           OR (373=a5 AND b5=231 AND e5=549))

query T valuesort
  SELECT e6 FROM t6
   WHERE e6 in (646,95,469,731,255,439,794,90,324,274,24,31,634,969)
EXCEPT
  SELECT e2 FROM t2
   WHERE NOT ((a2=922 AND 302=e2 AND 554=b2 AND c2=318)
           OR (512=e2)
           OR (852=e2 OR 585=b2 OR e2=556))
UNION
  SELECT d3 FROM t3
   WHERE (95=d3)
EXCEPT
  SELECT e5 FROM t5
   WHERE NOT (d5 in (780,814,521,313,59,787,602,938,413))

query T valuesort
  SELECT a4 FROM t4
   WHERE e4 in (619,951,184,147,465,372,123,737,491,1,350,273,835,543)
      OR b4 in (267,389,288,58,408,76,986,107,469,577,917,901,653,357)
      OR c4 in (619,674,366,658)
INTERSECT
  SELECT c2 FROM t2
   WHERE NOT ((c2=61 OR 621=d2 OR c2=657)
           OR (504=b2 AND 125=e2)
           OR (145=b2 AND a2=814 AND 414=d2 AND e2=808 AND 907=c2))
INTERSECT
  SELECT b6 FROM t6
   WHERE NOT (a6 in (799,764,129)
           OR (34=c6 AND 277=d6 AND 300=a6 AND 267=b6)
           OR (678=e6 AND a6=35 AND 488=d6 AND 66=c6))
EXCEPT
  SELECT c9 FROM t9
   WHERE NOT ((b9=210 OR b9=13)
           OR (943=e9 AND d9=274 AND 269=b9 AND 923=c9 AND a9=160))
UNION ALL
  SELECT d8 FROM t8
   WHERE d8 in (223,96,683,326)
      OR (609=b8)
      OR (63=e8 OR 328=a8)
UNION
  SELECT d5 FROM t5
   WHERE a5 in (349,50,429,332,522,730,904,413,514,69)
      OR (782=d5)
EXCEPT
  SELECT d3 FROM t3
   WHERE NOT (a3 in (879,899,995,347,255,872,551,162)
           OR (e3=977 AND a3=143 AND b3=145 AND 826=d3 AND c3=656)
           OR c3 in (7,353,368,555,565,117,455,656,601,178,777,809,947,966))

query T valuesort
  SELECT e6 FROM t6
   WHERE (852=d6)
      OR (e6=353 OR b6=606 OR d6=186)
      OR (929=d6 AND 129=a6)
EXCEPT
  SELECT a1 FROM t1
   WHERE NOT ((a1=992 AND 1=b1 AND d1=215 AND 346=c1 AND e1=763)
           OR (602=d1 OR c1=772)
           OR (d1=232 OR 589=b1))
UNION ALL
  SELECT d7 FROM t7
   WHERE (c7=14 AND 717=b7 AND d7=885)
      OR (12=c7)
      OR (323=b7)
UNION ALL
  SELECT e5 FROM t5
   WHERE (c5=734 OR 319=a5)
      OR (a5=882 OR 897=b5)

query T valuesort
  SELECT a8 FROM t8
   WHERE (513=c8)
      OR (e8=7 OR 882=a8)
      OR b8 in (162,640,186,175,796,690,205,705)
EXCEPT
  SELECT b1 FROM t1
   WHERE NOT ((d1=467))
UNION ALL
  SELECT a2 FROM t2
   WHERE (27=c2 OR d2=555 OR 139=b2)
      OR e2 in (699,547,521,621,228)
      OR (35=b2 OR 23=d2)
UNION
  SELECT d3 FROM t3
   WHERE (763=a3 OR 677=b3)
UNION
  SELECT c9 FROM t9
   WHERE a9 in (335,356,511,378,841,349,413,240)
UNION
  SELECT b4 FROM t4
   WHERE (d4=18 AND c4=84 AND 941=b4 AND e4=977)
UNION ALL
  SELECT d7 FROM t7
   WHERE b7 in (798,166,913,827,392,670,820,924)
      OR c7 in (102,78,377,238,764,302,341,498,575)
      OR d7 in (527,148,547,94,842,722,916,399,306,114)

query T valuesort
  SELECT a3 FROM t3
   WHERE (434=b3 OR 686=b3 OR 122=b3)
      OR (d3=270 AND 192=e3 AND a3=614)
      OR (314=d3 AND 376=b3 AND 806=c3 AND e3=774)
UNION
  SELECT e2 FROM t2
   WHERE (367=d2 AND a2=543)
      OR (334=d2 OR d2=843)
UNION
  SELECT a6 FROM t6
   WHERE e6 in (678,646,274,503,360)
      OR (40=a6)
      OR c6 in (768,416,452,938,963,146,413,415,491,490,522)
UNION ALL
  SELECT d9 FROM t9
   WHERE b9 in (578,913,245,410,612,858,595,703,818,496,832,128,239)
UNION
  SELECT b1 FROM t1
   WHERE (d1=234 OR 774=c1 OR a1=145)
      OR b1 in (781,422,896,281,355,132,572)
UNION
  SELECT d8 FROM t8
   WHERE (667=d8 OR 907=c8 OR 514=a8)
UNION ALL
  SELECT a7 FROM t7
   WHERE (d7=712 AND c7=565)
      OR (b7=159 OR 24=b7 OR 488=b7)
      OR e7 in (31,168,522,428,98)

query T valuesort
  SELECT d9 FROM t9
   WHERE (809=c9)
      OR (c9=64 AND d9=855 AND e9=653 AND b9=783)
      OR (936=b9 AND 258=d9)
INTERSECT
  SELECT b7 FROM t7
   WHERE NOT ((c7=206 AND e7=455))
UNION
  SELECT b5 FROM t5
   WHERE (55=a5 OR 282=d5)
UNION ALL
  SELECT e4 FROM t4
   WHERE b4 in (917,607,407,243,644,408)
      OR (d4=277)
      OR (260=b4 AND c4=658 AND 657=d4 AND 857=a4 AND e4=390)
EXCEPT
  SELECT a3 FROM t3
   WHERE NOT ((e3=232 AND a3=935 AND 361=d3 AND 86=c3))
UNION ALL
  SELECT a8 FROM t8
   WHERE b8 in (487,253,690,878,951,102,807,963,603,369,906,155)
UNION ALL
  SELECT a2 FROM t2
   WHERE b2 in (418,504,161,543,351,585,864,897,527,414,605,21,519)
EXCEPT
  SELECT a1 FROM t1
   WHERE NOT (a1 in (732,820,609,736,147,213)
           OR (312=e1 OR 853=b1)
           OR (e1=625))
UNION ALL
  SELECT e6 FROM t6
   WHERE (1=e6 AND 696=a6 AND 144=b6)

query T valuesort
  SELECT b4 FROM t4
   WHERE e4 in (179,554,273,958,738,85,6,132,763,486)
      OR (557=e4 OR d4=728 OR 543=e4)
      OR (577=b4 OR 436=c4)
EXCEPT
  SELECT d9 FROM t9
   WHERE NOT ((c9=64 AND e9=653)
           OR (c9=843 AND d9=388 AND a9=149 AND e9=723))
EXCEPT
  SELECT d3 FROM t3
   WHERE NOT ((c3=668))
EXCEPT
  SELECT e8 FROM t8
   WHERE NOT (a8 in (417,129,127,638,913))
UNION ALL
  SELECT a7 FROM t7
   WHERE (b7=234 OR 983=e7)
UNION ALL
  SELECT c5 FROM t5
   WHERE a5 in (476,320,18,796,332,34,485,602,642,826,413)
      OR (a5=586 OR c5=545 OR d5=792)
EXCEPT
  SELECT d1 FROM t1
   WHERE NOT ((e1=582)
           OR b1 in (60,1,43,280,696,422,283,944)
           OR (d1=922))
EXCEPT
  SELECT a6 FROM t6
   WHERE NOT ((214=b6 AND 637=c6 AND e6=511))
UNION ALL
  SELECT b2 FROM t2
   WHERE c2 in (900,992,374,177,107)

query T valuesort
  SELECT c9 FROM t9
   WHERE (e9=452)
      OR (880=b9 AND c9=253 AND 647=e9 AND d9=808 AND 326=a9)
      OR (995=e9 AND 579=c9 AND 304=a9)
UNION ALL
  SELECT b8 FROM t8
   WHERE (b8=609 AND 553=a8 AND 273=c8 AND d8=472 AND e8=411)
EXCEPT
  SELECT d3 FROM t3
   WHERE NOT ((b3=617)
           OR (452=c3 OR d3=364))
UNION
  SELECT a4 FROM t4
   WHERE (c4=238)
      OR (e4=29 AND 376=d4 AND 752=c4 AND b4=35)
      OR d4 in (44,950,231,917,524,317,482,86,511,522)
EXCEPT
  SELECT d6 FROM t6
   WHERE NOT ((66=c6)
           OR c6 in (270,4,54,320,749,28,292,452,561)
           OR (938=c6 AND a6=706 AND e6=175 AND d6=797))
EXCEPT
  SELECT e7 FROM t7
   WHERE NOT (c7 in (954,948,260)
           OR e7 in (462,462,215))
UNION ALL
  SELECT e5 FROM t5
   WHERE (c5=747 OR b5=82 OR 72=e5)
      OR (24=d5 AND a5=413 AND e5=287 AND b5=499 AND 18=c5)
      OR a5 in (929,685,730)

query T valuesort
  SELECT e9 FROM t9
   WHERE (942=e9 AND 467=d9 AND c9=146 AND 297=a9 AND 848=b9)
      OR (811=a9 AND 178=b9)
INTERSECT
  SELECT c7 FROM t7
   WHERE NOT ((b7=813 AND 649=a7 AND 944=c7 AND d7=765))
EXCEPT
  SELECT b4 FROM t4
   WHERE NOT ((a4=621)
           OR (979=b4 AND d4=781 AND 296=e4 AND 201=c4)
           OR e4 in (835,543,217,677,257,543,438,376,511,951,163,617))
UNION
  SELECT a2 FROM t2
   WHERE a2 in (209,588,1,910,374)
      OR (547=d2 AND e2=671 AND c2=830 AND 418=b2 AND 910=a2)
EXCEPT
  SELECT e1 FROM t1
   WHERE NOT (b1 in (37,711,670,132,633,435)
           OR (e1=683 AND 807=b1 AND 230=c1))
EXCEPT
  SELECT d6 FROM t6
   WHERE NOT ((b6=54 AND 146=c6)
           OR (c6=187 AND 974=d6 AND 905=b6))
EXCEPT
  SELECT a8 FROM t8
   WHERE NOT (b8 in (705,647,145,365,615,219,364,287))

query T valuesort
  SELECT e2 FROM t2
   WHERE (c2=657)
      OR e2 in (671,366,483,783,428,564,955,696,138,698,812,162)
UNION
  SELECT e1 FROM t1
   WHERE (685=e1 OR e1=367 OR 481=d1)
      OR (458=c1 OR 569=b1 OR 534=c1)
UNION
  SELECT b6 FROM t6
   WHERE b6 in (452,0,202,906,512,229,696,565,699,158,915,144,967,290)
      OR (414=a6 OR 24=e6 OR a6=238)
      OR (e6=67 OR 572=a6)
UNION
  SELECT d5 FROM t5
   WHERE a5 in (34,785,514,270,319)
UNION
  SELECT d3 FROM t3
   WHERE (e3=232)
      OR (a3=892)
UNION
  SELECT e7 FROM t7
   WHERE (881=b7 AND 317=c7 AND e7=156 AND 299=a7)
      OR a7 in (758,894,865,565,120,500,896,884,75,998,952,925,665)
      OR (462=e7 OR 308=b7)

query T valuesort
  SELECT a9 FROM t9
   WHERE (164=d9 OR a9=764 OR 171=c9)
INTERSECT
  SELECT c8 FROM t8
   WHERE NOT ((889=d8)
           OR (d8=366)
           OR a8 in (553,5,838,564,671,561,171))
UNION
  SELECT c3 FROM t3
   WHERE b3 in (376,651,816,882,592,113,246,28,860,41,566,454)
      OR a3 in (383,784,275,378,478,697,644,162,566)
EXCEPT
  SELECT d1 FROM t1
   WHERE NOT (d1 in (863,55,799,654,761,234,275)
           OR a1 in (674,363,918,179,88,161,395))
UNION ALL
  SELECT b6 FROM t6
   WHERE (c6=522 AND d6=367 AND 293=a6 AND e6=237 AND 876=b6)
      OR e6 in (329,90,466)
UNION ALL
  SELECT d4 FROM t4
   WHERE (873=c4 AND 881=d4)
      OR (b4=532 AND c4=998 AND 574=d4 AND e4=554)
      OR e4 in (858,476,122,512)
UNION ALL
  SELECT e5 FROM t5
   WHERE (d5=171 AND 470=e5)
      OR (155=c5 OR a5=721)
      OR a5 in (242,878,132,513,882,960,615,696,514,148)

query T valuesort
  SELECT e6 FROM t6
   WHERE (66=c6)
      OR e6 in (395,731,738,257,750,5,90,946,489,531,915)
UNION ALL
  SELECT d7 FROM t7
   WHERE b7 in (861,305,923,837,340,798,510,323)
      OR d7 in (172,524,956,324,114,782,982,575)
UNION
  SELECT d4 FROM t4
   WHERE (703=c4 AND a4=447 AND e4=151)
      OR (e4=977 AND 941=b4 AND 922=a4 AND 18=d4)
      OR (236=d4 AND b4=498 AND c4=667 AND e4=312 AND a4=367)
EXCEPT
  SELECT d8 FROM t8
   WHERE NOT ((c8=647))
UNION ALL
  SELECT c9 FROM t9
   WHERE (858=e9 AND c9=935)
      OR (b9=759)
UNION
  SELECT c5 FROM t5
   WHERE a5 in (69,18,615,114,851,721,485,148,514,740,675)
      OR (923=e5 OR 470=e5 OR b5=858)

query T valuesort
  SELECT c1 FROM t1
   WHERE (e1=122 AND d1=335)
UNION
  SELECT c6 FROM t6
   WHERE (677=c6 OR a6=270)
EXCEPT
  SELECT b8 FROM t8
   WHERE NOT (d8 in (862,484,192,494,96,446,50,945)
           OR e8 in (463,866,272,592,881,63,199,579,149,46))

query T valuesort
  SELECT d1 FROM t1
   WHERE e1 in (931,402,298,222,811,313)
UNION ALL
  SELECT c3 FROM t3
   WHERE (a3=344)
      OR (727=a3 AND c3=102 AND 642=d3 AND e3=169 AND b3=595)
UNION ALL
  SELECT b7 FROM t7
   WHERE (85=a7 AND e7=562 AND 518=c7 AND 205=d7 AND b7=67)
      OR a7 in (649,165,233,285,715,706,651,691,356)
UNION ALL
  SELECT d9 FROM t9
   WHERE (e9=744)
      OR (a9=776 AND b9=680 AND 960=d9 AND 704=e9 AND c9=834)
      OR c9 in (252,843,801,75,253,601,688,419,884,739,252,973,975,272)

query T valuesort
  SELECT d8 FROM t8
   WHERE (e8=423)
      OR c8 in (188,656,149)
      OR (761=e8 AND b8=386 AND 848=a8)
EXCEPT
  SELECT d1 FROM t1
   WHERE NOT (b1 in (914,362,619,282,270,420,295,355,440,961,857,446)
           OR c1 in (636,481,534,387,230,366,204))
EXCEPT
  SELECT e5 FROM t5
   WHERE NOT (b5 in (569,605,789,874,731,548,878,91,273)
           OR (480=e5 OR 260=b5)
           OR (e5=68 OR 198=c5 OR 147=c5))
EXCEPT
  SELECT d4 FROM t4
   WHERE NOT (c4 in (854,936,752,238,44,948,609,482)
           OR (825=a4))

query T valuesort
  SELECT e1 FROM t1
   WHERE (e1=602 OR b1=266 OR a1=866)
EXCEPT
  SELECT d2 FROM t2
   WHERE NOT ((389=d2 OR 758=c2 OR c2=275)
           OR (e2=938))
UNION
  SELECT b5 FROM t5
   WHERE a5 in (297,740,976)
      OR c5 in (628,351,44,437,152,86,923,250,824,756)
UNION ALL
  SELECT c6 FROM t6
   WHERE (66=c6 OR c6=673)
      OR e6 in (761,711,946,329,91)
      OR (923=b6 OR 126=b6)
EXCEPT
  SELECT c3 FROM t3
   WHERE NOT ((823=c3 AND 932=e3 AND d3=168 AND b3=977)
           OR (e3=651 OR 336=d3 OR b3=713)
           OR d3 in (483,967,554,355))
EXCEPT
  SELECT e7 FROM t7
   WHERE NOT (d7 in (52,666,805,177,795,276,837,278,924,485,296,114,599)
           OR (c7=744 AND a7=9 AND 278=d7 AND 522=e7))

query T valuesort
  SELECT b9 FROM t9
   WHERE e9 in (621,197,944,788,801,149,837,307,713,699)
      OR (e9=146 AND 273=a9 AND 463=d9)
      OR (62=c9 OR 524=b9)
UNION
  SELECT e3 FROM t3
   WHERE (d3=967 OR 991=c3)

query T valuesort
  SELECT e7 FROM t7
   WHERE (971=e7 OR 460=e7 OR d7=666)
      OR (682=c7)
UNION
  SELECT d9 FROM t9
   WHERE (a9=365 AND 734=c9 AND e9=567 AND 245=b9 AND d9=608)
      OR c9 in (711,696,257,87,188,118,955,146,272,224)
      OR b9 in (549,361,152,926,239,447,858,136,578)
EXCEPT
  SELECT d8 FROM t8
   WHERE NOT ((e8=221)
           OR a8 in (402,210,474,957,864,171,553,259,72)
           OR (e8=204))
EXCEPT
  SELECT a6 FROM t6
   WHERE NOT ((d6=197))

query T valuesort
  SELECT c8 FROM t8
   WHERE (579=e8 OR 310=e8 OR 919=e8)
      OR (c8=691 AND 946=a8 AND e8=510 AND 951=b8 AND d8=811)
      OR (541=c8 OR b8=615 OR a8=72)
EXCEPT
  SELECT b5 FROM t5
   WHERE NOT ((a5=929))
EXCEPT
  SELECT d4 FROM t4
   WHERE NOT (d4 in (328,60,680,985,917,229,86))
UNION ALL
  SELECT e7 FROM t7
   WHERE c7 in (364,553,232)
      OR (257=b7)
      OR c7 in (816,280,180,970,857,564)

query T valuesort
  SELECT b7 FROM t7
   WHERE (979=b7 AND d7=296 AND 557=c7)
EXCEPT
  SELECT d3 FROM t3
   WHERE NOT ((d3=283 OR 827=b3 OR 310=e3)
           OR (565=c3 AND 445=b3 AND d3=66)
           OR (490=a3))
UNION ALL
  SELECT d4 FROM t4
   WHERE (e4=854 OR 979=b4 OR b4=892)
UNION ALL
  SELECT d9 FROM t9
   WHERE d9 in (420,274,821,489,745,790)
EXCEPT
  SELECT d8 FROM t8
   WHERE NOT (d8 in (366,756,190,456,706,197,50,48,210,690,116,811))
UNION
  SELECT c6 FROM t6
   WHERE d6 in (321,734,393,73,269,790,500,405,355,590)
UNION
  SELECT a2 FROM t2
   WHERE (b2=170 AND d2=555)
      OR a2 in (785,442,374,371,1,805,262,304,217,159,691,789,922)
      OR e2 in (366,148,655,812,812,815)
EXCEPT
  SELECT e5 FROM t5
   WHERE NOT ((c5=485 AND 180=a5 AND 33=d5 AND 26=b5 AND 708=e5)
           OR (606=b5 OR e5=436)
           OR c5 in (250,797,18,809,941,894,185,149,3,681))

query T valuesort
  SELECT e3 FROM t3
   WHERE c3 in (299,580,555,592,800,117,929,29)
UNION ALL
  SELECT a8 FROM t8
   WHERE (592=e8)
      OR e8 in (918,381,377,981,806,561,392,476)
      OR (916=d8 AND 794=a8)
EXCEPT
  SELECT d6 FROM t6
   WHERE NOT (d6 in (186,885,578,797,147,286,66,991)
           OR a6 in (452,405,718,64,672,870,238,811,474,963)
           OR a6 in (966,396,564,718,839,270,222,251,963,2,870,531,643,121))
EXCEPT
  SELECT d1 FROM t1
   WHERE NOT ((e1=313 OR a1=862 OR 815=e1)
           OR (61=a1 OR 811=e1))

query T valuesort
  SELECT d1 FROM t1
   WHERE c1 in (252,765,388,736,272,636,465,15)
      OR d1 in (565,619,837,294)
      OR b1 in (1,255,55,414,944,307,961)
INTERSECT
  SELECT d4 FROM t4
   WHERE NOT ((948=a4 AND 60=d4 AND 482=c4 AND e4=38 AND b4=888)
           OR (d4=639 AND 261=a4 AND e4=820 AND 892=b4)
           OR (c4=584 AND 136=a4 AND b4=379 AND d4=681 AND 543=e4))
UNION ALL
  SELECT a7 FROM t7
   WHERE (a7=854)
      OR c7 in (432,92,288,341)

query T valuesort
  SELECT a3 FROM t3
   WHERE d3 in (81,423,825,482,913,889,958,782)
INTERSECT
  SELECT c8 FROM t8
   WHERE NOT ((d8=482)
           OR b8 in (105,564,219,792,704,642,696,997,975,269,803))
INTERSECT
  SELECT d1 FROM t1
   WHERE NOT ((b1=836))
EXCEPT
  SELECT d2 FROM t2
   WHERE NOT (c2 in (810,275,653,450,830,988,148,45,967,444,756,729,136)
           OR (e2=781 AND a2=709 AND d2=448 AND 605=b2))
EXCEPT
  SELECT b7 FROM t7
   WHERE NOT ((183=d7)
           OR a7 in (147,430,433,208,452,158,757,324,240,299,27,62,758,958)
           OR (d7=367 OR c7=238 OR b7=506))
EXCEPT
  SELECT d6 FROM t6
   WHERE NOT (b6 in (984,243,507,6,696,716,882,461,825,214,427,210)
           OR c6 in (297,424,34,292,648,430,975,146,938,942)
           OR (33=a6 AND 262=b6 AND c6=961))

query T valuesort
  SELECT c7 FROM t7
   WHERE (e7=903)
      OR (d7=765 AND 903=e7 AND 649=a7 AND b7=813)
      OR (e7=288 OR d7=457 OR 561=e7)
UNION ALL
  SELECT d3 FROM t3
   WHERE (811=b3 AND e3=989 AND d3=603 AND a3=532)

query T valuesort
  SELECT d5 FROM t5
   WHERE (335=a5 OR 235=a5 OR d5=555)
      OR (609=b5)
      OR (98=b5 AND 621=e5 AND a5=683 AND c5=678 AND d5=965)
UNION ALL
  SELECT a7 FROM t7
   WHERE (d7=828 AND e7=48 AND a7=982 AND 432=c7 AND b7=510)
EXCEPT
  SELECT c2 FROM t2
   WHERE NOT (b2 in (311,605,754,148,546)
           OR (e2=463 OR 857=b2 OR 711=c2)
           OR (c2=83 OR 676=b2 OR c2=27))
EXCEPT
  SELECT a6 FROM t6
   WHERE NOT ((b6=906 AND 197=d6 AND e6=274)
           OR (e6=439 OR b6=606 OR d6=931))
EXCEPT
  SELECT e1 FROM t1
   WHERE NOT (c1 in (570,871,204,639,465,366,534,530,846,57,246)
           OR (e1=148 AND a1=179 AND 246=c1)
           OR (668=a1 AND e1=51 AND d1=412))

query T valuesort
  SELECT a8 FROM t8
   WHERE d8 in (525,690,835,534,767,474,511,711,101,743)
UNION
  SELECT a9 FROM t9
   WHERE (845=e9)
EXCEPT
  SELECT a7 FROM t7
   WHERE NOT (d7 in (397,94,684,724))
UNION
  SELECT c1 FROM t1
   WHERE (e1=539 OR a1=544 OR d1=922)
      OR (526=c1 AND 310=d1)
UNION ALL
  SELECT b3 FROM t3
   WHERE (607=c3 AND 424=e3 AND d3=538)
      OR (542=b3 OR b3=847 OR 318=b3)
      OR (651=c3 OR 344=a3 OR 860=b3)
UNION ALL
  SELECT b4 FROM t4
   WHERE c4 in (998,840,455,221,732,536,585)
UNION ALL
  SELECT e2 FROM t2
   WHERE d2 in (315,790,265,216,723,547,2,977,310,749,541,803,682)
      OR (c2=773 AND e2=547 AND b2=433 AND d2=310)
      OR (939=e2 OR 554=b2)
UNION
  SELECT e5 FROM t5
   WHERE (502=b5)
      OR a5 in (335,796,586,917,478,878,18,696,743,330,832,921)

query T valuesort
  SELECT d3 FROM t3
   WHERE (b3=927)
      OR (b3=57 AND d3=711 AND 727=a3 AND 108=e3)
INTERSECT
  SELECT a4 FROM t4
   WHERE NOT (c4 in (536,840,482,417,619,319,0,984,221,998)
           OR e4 in (132,307,38,619,739,820,543))
EXCEPT
  SELECT a5 FROM t5
   WHERE NOT ((33=b5 OR 511=b5 OR e5=141))
UNION ALL
  SELECT c6 FROM t6
   WHERE (277=d6 OR b6=290 OR 421=b6)
      OR (c6=442)
      OR d6 in (405,734,473,223,197,869,578,855,885,453)
EXCEPT
  SELECT d9 FROM t9
   WHERE NOT (c9 in (809,391,232,534,273,323,370,905,884,60)
           OR (95=c9 OR 687=e9 OR b9=348))
EXCEPT
  SELECT e7 FROM t7
   WHERE NOT (e7 in (67,183,860,638,455,887,4,156,144,508,782,432,862)
           OR e7 in (79,156,561,929,522,288,254,6))
EXCEPT
  SELECT a2 FROM t2
   WHERE NOT (b2 in (509,501,145,329,367,932,161,605,554,649))

query T valuesort
  SELECT b5 FROM t5
   WHERE (a5=586)
      OR c5 in (140,766,723,824,818)
      OR e5 in (22,586,311,708,812,558)
UNION
  SELECT d4 FROM t4
   WHERE (a4=662 OR b4=982)
      OR (389=b4 AND e4=223 AND c4=74)
EXCEPT
  SELECT c6 FROM t6
   WHERE NOT (d6 in (489,223,931,60,674,186,463,885,974,355,613,786,750,185)
           OR e6 in (255,40,682,816)
           OR d6 in (60,393,467,993,321))
UNION ALL
  SELECT a9 FROM t9
   WHERE (b9=864)
UNION ALL
  SELECT a2 FROM t2
   WHERE d2 in (414,345,256,772,10,897,704,953,209)
UNION
  SELECT c7 FROM t7
   WHERE (b7=129 AND a7=884 AND e7=254)
EXCEPT
  SELECT e3 FROM t3
   WHERE NOT ((c3=711 AND 914=e3 AND d3=399 AND 997=a3 AND 998=b3))

query T valuesort
  SELECT d7 FROM t7
   WHERE d7 in (457,785,526,196,539,315,367)
      OR (a7=97 AND b7=579)
EXCEPT
  SELECT d4 FROM t4
   WHERE NOT ((a4=355))
UNION ALL
  SELECT b5 FROM t5
   WHERE d5 in (542,792,117)
      OR e5 in (906,104,758,188,25,592,887,589)
      OR c5 in (222,927,149)

query T valuesort
  SELECT a9 FROM t9
   WHERE (c9=87 AND e9=263)
      OR (936=e9 OR a9=318 OR b9=95)
      OR (227=b9 AND 273=c9)
EXCEPT
  SELECT c2 FROM t2
   WHERE NOT ((a2=718 OR 448=d2 OR 625=c2)
           OR (223=a2 OR 140=c2))

query T valuesort
  SELECT a1 FROM t1
   WHERE (11=e1 AND c1=683 AND 914=b1 AND 170=a1 AND d1=863)
      OR e1 in (210,733,113,254,904,602,72,731,696,815,12,122,110)
      OR (e1=904 AND c1=623)
INTERSECT
  SELECT c9 FROM t9
   WHERE NOT ((d9=439 OR 263=a9)
           OR (549=b9)
           OR (759=b9))
EXCEPT
  SELECT b8 FROM t8
   WHERE NOT ((377=e8))
EXCEPT
  SELECT e2 FROM t2
   WHERE NOT ((c2=4 OR a2=718 OR 547=e2)
           OR (123=a2 OR a2=415))
UNION ALL
  SELECT c4 FROM t4
   WHERE b4 in (68,644,986,607,713,243,849,379,829,323)
EXCEPT
  SELECT d6 FROM t6
   WHERE NOT ((e6=230 AND 54=c6 AND a6=839))

query T valuesort
  SELECT e3 FROM t3
   WHERE c3 in (792,986,439,175,887,467,477,887)
EXCEPT
  SELECT e4 FROM t4
   WHERE NOT ((436=c4))

query T valuesort
  SELECT e1 FROM t1
   WHERE a1 in (702,584,607,479,330,445,513,678,406,314,880,953,75,268)
      OR d1 in (213,55,992,922,619,972,654,130,88,141,679,761)
      OR (b1=579 AND 818=d1 AND 328=e1 AND 145=a1 AND 230=c1)
UNION
  SELECT d2 FROM t2
   WHERE (463=e2 OR 275=b2 OR e2=140)
UNION
  SELECT a9 FROM t9
   WHERE (56=a9)
UNION ALL
  SELECT a6 FROM t6
   WHERE a6 in (469,963,2,706,222,148,355,851,725,522,643,653,801)
      OR (489=d6 AND c6=729 AND a6=537 AND b6=984)
UNION
  SELECT b4 FROM t4
   WHERE (e4=188 AND c4=536 AND 502=a4 AND 563=b4)
EXCEPT
  SELECT c8 FROM t8
   WHERE NOT ((a8=774 AND 366=d8 AND 442=e8 AND 230=c8 AND b8=365)
           OR d8 in (880,542,81,811,889,330,523,945,179)
           OR (b8=906 AND a8=184))
UNION ALL
  SELECT e5 FROM t5
   WHERE d5 in (805,555,787,745,769)
      OR (e5=271 AND d5=811)
      OR b5 in (159,26,860,320,971,292,495,33,855,554)
UNION
  SELECT d3 FROM t3
   WHERE (788=b3 OR d3=283)
      OR (647=d3 OR 602=e3 OR 581=a3)

query T valuesort
  SELECT e3 FROM t3
   WHERE d3 in (607,524,501,437,520,134,364,729,642,170,1,17,336)
      OR (c3=53 OR d3=81 OR 651=c3)
      OR e3 in (862,87,138)
INTERSECT
  SELECT a4 FROM t4
   WHERE NOT ((141=e4 AND c4=832 AND d4=25 AND 735=b4))
UNION ALL
  SELECT c6 FROM t6
   WHERE (d6=355 OR d6=869 OR 839=a6)
      OR e6 in (809,969,747,654,139,588,91,466,274,631,682,595,511,678)
EXCEPT
  SELECT d1 FROM t1
   WHERE NOT ((a1=280 AND e1=436 AND d1=793 AND c1=366 AND 32=b1))
UNION ALL
  SELECT d8 FROM t8
   WHERE (a8=920 OR e8=310 OR c8=249)
      OR (c8=154 AND 161=d8 AND a8=807 AND 806=b8)
UNION
  SELECT e7 FROM t7
   WHERE (433=a7)
      OR (488=c7 OR d7=837 OR d7=341)
      OR (249=c7 OR a7=744)

query T valuesort
  SELECT b1 FROM t1
   WHERE (b1=310 AND 254=d1 AND c1=629 AND a1=552)
      OR (461=a1 OR 49=b1 OR a1=75)
UNION
  SELECT c7 FROM t7
   WHERE (439=a7 AND d7=801 AND c7=948 AND 462=e7 AND 360=b7)
      OR (e7=887 OR b7=362)
UNION ALL
  SELECT e4 FROM t4
   WHERE (d4=236)
      OR d4 in (498,328,491,25,60,199)
      OR (e4=349 OR 631=e4)

query T valuesort
  SELECT c3 FROM t3
   WHERE (347=a3 AND e3=959)
      OR e3 in (774,914,600,265,853,318,272,814,578)
EXCEPT
  SELECT d9 FROM t9
   WHERE NOT ((c9=349 OR 269=a9 OR a9=273)
           OR (d9=347 OR d9=305))

query T valuesort
  SELECT a4 FROM t4
   WHERE (b4=480 OR 105=a4 OR a4=367)
      OR a4 in (921,337,451,412,922,92,747)
      OR (d4=509 AND c4=162 AND 589=b4 AND e4=397)
UNION ALL
  SELECT a3 FROM t3
   WHERE d3 in (944,560,60,662,115,428,826,102,658,260,17,118,231)
      OR e3 in (467,977,221,702,578,833)
      OR (295=b3)

query T valuesort
  SELECT c3 FROM t3
   WHERE c3 in (40,476,243,863,677,929,490,75)
      OR a3 in (913,892,145,651,696,997,566,720,699,34,70,581,429)
UNION
  SELECT b7 FROM t7
   WHERE (785=d7 OR c7=565)
      OR (916=d7 OR 41=c7)
      OR (340=b7)
EXCEPT
  SELECT c1 FROM t1
   WHERE NOT (d1 in (492,701,626,376,750,922,807,175,161,992,25,519,972)
           OR (207=c1 OR d1=381 OR 446=b1)
           OR (837=d1))
UNION ALL
  SELECT c9 FROM t9
   WHERE (e9=477 AND 349=c9 AND 511=a9)
      OR (d9=668)
      OR b9 in (819,236,178,789,746)
UNION
  SELECT b5 FROM t5
   WHERE a5 in (540,335,242,683,544,818,153,721,447,685)
      OR e5 in (732,150,180,25)
      OR (a5=960 OR 393=b5 OR 941=c5)
UNION
  SELECT a4 FROM t4
   WHERE (921=b4 AND c4=660)
EXCEPT
  SELECT c2 FROM t2
   WHERE NOT ((a2=324 AND b2=585 AND 228=e2 AND 260=d2 AND 344=c2)
           OR (c2=87 OR b2=276))

query T valuesort
  SELECT c4 FROM t4
   WHERE (a4=271 AND b4=810 AND c4=483 AND 491=d4 AND 12=e4)
EXCEPT
  SELECT d7 FROM t7
   WHERE NOT ((a7=233 AND e7=92 AND c7=302)
           OR b7 in (30,120,881,480,923,273,191,798,280,266)
           OR d7 in (395,183,391,885,148))
EXCEPT
  SELECT d9 FROM t9
   WHERE NOT ((909=d9 OR c9=863 OR 526=c9)
           OR (318=a9)
           OR (318=a9 AND d9=909))
UNION ALL
  SELECT a5 FROM t5
   WHERE (d5=238)
      OR (936=c5 AND a5=485 AND b5=729 AND 964=d5)
      OR (e5=554 OR c5=689)
EXCEPT
  SELECT d3 FROM t3
   WHERE NOT (b3 in (480,716,882,713,927,577,482,566))
EXCEPT
  SELECT a6 FROM t6
   WHERE NOT ((66=c6 AND d6=488 AND 348=b6 AND 678=e6 AND a6=35)
           OR (e6=750 OR d6=35)
           OR (e6=766 AND c6=528))

query T valuesort
  SELECT a8 FROM t8
   WHERE (953=d8 AND 421=e8 AND b8=155)
      OR (d8=81 AND a8=961)
INTERSECT
  SELECT c9 FROM t9
   WHERE NOT ((a9=712 AND 74=b9))
UNION ALL
  SELECT e4 FROM t4
   WHERE (a4=605 AND b4=184 AND c4=2)
UNION
  SELECT e3 FROM t3
   WHERE (b3=211 AND c3=439 AND 765=e3 AND 608=a3)
      OR (470=e3 AND 686=b3 AND d3=522 AND c3=400 AND 335=a3)
UNION ALL
  SELECT a7 FROM t7
   WHERE (e7=408)
UNION
  SELECT b5 FROM t5
   WHERE (a5=696 OR 421=a5 OR c5=261)
UNION
  SELECT c1 FROM t1
   WHERE c1 in (506,69,465,97,343,607,683,537,870)
      OR (e1=299 AND d1=899 AND c1=172)
UNION ALL
  SELECT e2 FROM t2
   WHERE (765=b2 AND a2=304 AND 537=d2)

query T valuesort
  SELECT b7 FROM t7
   WHERE (146=c7 AND 956=d7 AND 183=e7 AND 634=b7)
      OR (e7=462)
      OR (333=c7 OR e7=201 OR d7=148)
INTERSECT
  SELECT d8 FROM t8
   WHERE NOT ((533=e8 OR 691=c8)
           OR d8 in (738,580,862,706,525,327,731,96,269,690,715,610)
           OR (d8=916))
UNION
  SELECT d6 FROM t6
   WHERE (392=b6 OR 232=b6)
      OR d6 in (337,34,35,2,186,729,778)
      OR (c6=807 OR a6=718 OR b6=923)
UNION ALL
  SELECT a9 FROM t9
   WHERE d9 in (142,305,525,264,104)
      OR (272=c9 AND 464=d9)
      OR c9 in (257,469,75,224,254,273,90,894,696,711,457,935,95)

query T valuesort
  SELECT c1 FROM t1
   WHERE c1 in (670,620,299,637,387,482,703,654,870,680,629,417,980,626)
      OR (828=b1 OR c1=284 OR 949=e1)
EXCEPT
  SELECT c3 FROM t3
   WHERE NOT (b3 in (816,146,103,616)
           OR (a3=234 AND c3=305 AND 235=e3 AND d3=896))
EXCEPT
  SELECT d7 FROM t7
   WHERE NOT ((626=c7)
           OR (c7=14)
           OR (e7=183))
UNION
  SELECT b5 FROM t5
   WHERE e5 in (511,702,311,437,995,327,729,157,902,68,22)
EXCEPT
  SELECT c9 FROM t9
   WHERE NOT ((d9=345 AND 82=e9 AND 534=c9))
EXCEPT
  SELECT a8 FROM t8
   WHERE NOT (c8 in (908,298,231,117,404,419,541,668,866,427)
           OR c8 in (61,656,789,88,154)
           OR (692=c8 OR e8=455 OR c8=77))
UNION ALL
  SELECT d4 FROM t4
   WHERE (820=e4 AND 261=a4 AND b4=892 AND 639=d4 AND 422=c4)
      OR b4 in (748,901,644,919,331,476)
      OR (c4=451 AND a4=439 AND d4=979 AND b4=535 AND 37=e4)

query T valuesort
  SELECT e8 FROM t8
   WHERE (677=b8 AND 297=c8 AND 822=a8 AND d8=422)
      OR (d8=706 AND e8=579)
      OR (14=d8)
UNION
  SELECT e6 FROM t6
   WHERE (615=a6 AND 395=e6)
EXCEPT
  SELECT b9 FROM t9
   WHERE NOT ((c9=863 AND e9=133)
           OR (525=d9 AND 575=e9 AND 103=b9 AND 295=a9 AND c9=739)
           OR (e9=19))
EXCEPT
  SELECT a5 FROM t5
   WHERE NOT ((743=a5)
           OR (a5=9)
           OR (a5=339 OR d5=59 OR 769=d5))
EXCEPT
  SELECT c3 FROM t3
   WHERE NOT ((429=d3 AND a3=499 AND c3=459 AND e3=651 AND b3=665))
EXCEPT
  SELECT e7 FROM t7
   WHERE NOT ((102=c7)
           OR (156=e7 AND b7=192 AND c7=377 AND a7=945 AND 364=d7)
           OR (813=b7 OR 409=b7 OR 364=c7))
EXCEPT
  SELECT e4 FROM t4
   WHERE NOT (d4 in (653,323,777))

query T valuesort
  SELECT e1 FROM t1
   WHERE a1 in (237,231,931)
      OR (d1=951 OR 121=d1 OR b1=149)
EXCEPT
  SELECT d9 FROM t9
   WHERE NOT ((25=d9 OR d9=383 OR 853=c9)
           OR (b9=245 OR 811=c9)
           OR d9 in (264,646,274,660,770,224,987))
UNION
  SELECT d8 FROM t8
   WHERE (514=a8 AND 811=e8 AND c8=229 AND b8=603 AND 512=d8)
EXCEPT
  SELECT a5 FROM t5
   WHERE NOT ((429=a5 AND d5=132 AND 530=b5 AND e5=41 AND c5=471))
EXCEPT
  SELECT d7 FROM t7
   WHERE NOT (a7 in (208,97,386,795,195,240,709,356,995)
           OR (280=b7 AND a7=592))
EXCEPT
  SELECT a4 FROM t4
   WHERE NOT (d4 in (60,146,185,328,781)
           OR (a4=243 AND 723=c4 AND 402=b4 AND 680=d4))

query T valuesort
  SELECT c3 FROM t3
   WHERE (d3=923 OR 708=d3)
UNION
  SELECT a5 FROM t5
   WHERE (271=d5 AND c5=489 AND e5=104 AND 602=a5)
      OR b5 in (772,934,951,897,161,705,846,847,234,403,874,79,861)
UNION
  SELECT a6 FROM t6
   WHERE e6 in (668,750,466,255)
EXCEPT
  SELECT b4 FROM t4
   WHERE NOT ((b4=137)
           OR (6=e4 AND d4=821 AND a4=921))
EXCEPT
  SELECT c8 FROM t8
   WHERE NOT (c8 in (421,291,168))
UNION ALL
  SELECT c2 FROM t2
   WHERE (b2=501 AND 16=e2 AND 9=a2)
      OR b2 in (297,279,676,73,729,932,60,776,161,220,818,784,888,414)
EXCEPT
  SELECT e1 FROM t1
   WHERE NOT (a1 in (779,868,249,895)
           OR (307=b1 AND 299=a1 AND c1=5))
EXCEPT
  SELECT b9 FROM t9
   WHERE NOT ((b9=819 AND a9=389 AND c9=764 AND 759=d9)
           OR (b9=19 OR b9=893)
           OR (b9=103 AND d9=525 AND c9=739 AND a9=295))
EXCEPT
  SELECT e7 FROM t7
   WHERE NOT ((456=e7)
           OR (103=c7))

query T valuesort
  SELECT c9 FROM t9
   WHERE b9 in (326,759,122,16,251)
      OR (23=d9 OR 451=c9 OR 332=c9)
      OR a9 in (149,215,429,959,559,553,297,349,815,240,488,78,535,821)
UNION ALL
  SELECT e6 FROM t6
   WHERE (751=c6 OR 876=b6)
      OR (a6=359 AND 942=c6 AND e6=798)

query T valuesort
  SELECT b4 FROM t4
   WHERE (d4=268 AND 33=b4 AND c4=221)
      OR (b4=331 OR 473=a4 OR 631=c4)
      OR c4 in (84,586,948,127,157,0)
EXCEPT
  SELECT d9 FROM t9
   WHERE NOT ((c9=253 AND d9=808 AND e9=647))
UNION
  SELECT d6 FROM t6
   WHERE d6 in (2,467,66,428,36,924,489,560,561,911,729,473,869)
      OR (b6=606 OR 653=a6)
UNION ALL
  SELECT c7 FROM t7
   WHERE (a7=136 AND 841=b7 AND 549=d7 AND c7=966 AND 970=e7)
      OR (e7=561)
UNION
  SELECT b2 FROM t2
   WHERE (916=a2 OR 554=b2 OR 902=c2)
      OR (b2=90 AND 886=d2 AND 785=a2 AND e2=788)
      OR (e2=322 OR 318=c2)
UNION ALL
  SELECT b3 FROM t3
   WHERE b3 in (152,811,234)
      OR (c3=733)

query T valuesort
  SELECT d9 FROM t9
   WHERE (a9=830 OR a9=251 OR a9=240)
      OR c9 in (935,402,534,391,836)
      OR (e9=542 AND 446=b9 AND c9=992 AND 790=d9)
UNION ALL
  SELECT d2 FROM t2
   WHERE e2 in (939,548,556,131,965,777,499,688)
      OR e2 in (788,556,548)
UNION
  SELECT b1 FROM t1
   WHERE d1 in (654,459,770,799,913,412,381,955,550,619)
      OR (732=e1 OR 572=b1)
EXCEPT
  SELECT b8 FROM t8
   WHERE NOT ((210=d8 AND a8=386 AND e8=463 AND 901=c8)
           OR (b8=952 AND 484=d8 AND a8=894 AND 682=e8))
UNION
  SELECT e5 FROM t5
   WHERE c5 in (210,756,978,489,599,657,147,747,927,299,579,934,12)
      OR b5 in (759,587,774,234,336,782,731,403,716,897,620,320,26,433)
      OR (a5=626 OR 50=a5)
EXCEPT
  SELECT c7 FROM t7
   WHERE NOT ((238=c7 OR 249=c7 OR 24=b7))
UNION ALL
  SELECT c6 FROM t6
   WHERE (c6=146 OR d6=956 OR c6=729)
EXCEPT
  SELECT a4 FROM t4
   WHERE NOT ((b4=535 AND 439=a4 AND 979=d4 AND 451=c4 AND 37=e4)
           OR (d4=376 OR e4=312)
           OR c4 in (188,84,157,964,403,44,489,482,345,671,483,471,201,585))

query T valuesort
  SELECT c3 FROM t3
   WHERE e3 in (211,702,821,192,914,690,981,829,993)
      OR a3 in (763,818,265,457,696,727,30)
UNION
  SELECT d1 FROM t1
   WHERE (345=b1 OR 221=d1)
      OR d1 in (481,874,550,770,947,232,936,319)
UNION ALL
  SELECT c5 FROM t5
   WHERE (e5=730 OR d5=514)
      OR (731=b5 AND 915=c5 AND e5=758 AND a5=421 AND d5=152)
EXCEPT
  SELECT c4 FROM t4
   WHERE NOT ((c4=483))

query T valuesort
  SELECT c8 FROM t8
   WHERE e8 in (411,632,416,944,431,392,38,729,260,933,22,272)
      OR (c8=656 OR b8=870)
UNION ALL
  SELECT d6 FROM t6
   WHERE (e6=631 OR d6=473 OR 453=d6)
      OR c6 in (942,187,528)
      OR c6 in (442,161,216,258,369,399,282,45,308,961,12,910,491,66)
UNION ALL
  SELECT a2 FROM t2
   WHERE (e2=205)
      OR (a2=751 AND 692=c2 AND 307=e2)
UNION ALL
  SELECT b4 FROM t4
   WHERE (e4=954)
      OR (563=b4)
      OR e4 in (257,552,390,372)
EXCEPT
  SELECT c1 FROM t1
   WHERE NOT (d1 in (803,187,212,619,504,618,154)
           OR (529=d1 AND e1=228 AND c1=530 AND 75=a1 AND 387=b1))
EXCEPT
  SELECT a7 FROM t7
   WHERE NOT ((d7=324 AND 693=b7 AND c7=596 AND e7=976 AND a7=806))
UNION ALL
  SELECT e3 FROM t3
   WHERE (a3=500 AND b3=296 AND c3=580 AND 862=e3 AND 797=d3)
EXCEPT
  SELECT e9 FROM t9
   WHERE NOT ((b9=342 OR c9=955))
EXCEPT
  SELECT c5 FROM t5
   WHERE NOT (d5 in (810,682,470,649,938,769,369,514,779,940,855,811,782,738))

query T valuesort
  SELECT c4 FROM t4
   WHERE (e4=482 AND 981=a4 AND b4=607 AND 55=d4 AND 904=c4)
      OR a4 in (509,92,281,605,598,919,74,81,422,51,968)
      OR (921=a4)
EXCEPT
  SELECT e9 FROM t9
   WHERE NOT (b9 in (152,936,12)
           OR b9 in (912,568,456,152,171,819,214)
           OR d9 in (732,720,608,737,464,965,967,553,682,23))
UNION ALL
  SELECT a3 FROM t3
   WHERE (b3=701)
      OR (265=e3 AND c3=641 AND b3=236 AND a3=971)
UNION
  SELECT c2 FROM t2
   WHERE a2 in (189,1,9,691,814,891,733,817,954,980,186,315)
EXCEPT
  SELECT d1 FROM t1
   WHERE NOT ((c1=774)
           OR b1 in (468,213,278,645,593,995,802))
UNION ALL
  SELECT a5 FROM t5
   WHERE (e5=343 OR 623=b5 OR d5=910)
      OR d5 in (779,171,152)
UNION
  SELECT c8 FROM t8
   WHERE (b8=725 AND 431=c8 AND d8=116)
      OR (12=a8)
EXCEPT
  SELECT a7 FROM t7
   WHERE NOT ((b7=506))
UNION ALL
  SELECT c6 FROM t6
   WHERE (359=a6 OR 646=e6)
      OR (511=b6 AND a6=522 AND 5=e6 AND c6=177 AND 822=d6)

query T valuesort
  SELECT c3 FROM t3
   WHERE b3 in (355,457,113,617,685,234,876,269,127)
      OR (927=b3 OR d3=665)
      OR (665=e3 OR 697=a3)
EXCEPT
  SELECT d9 FROM t9
   WHERE NOT (d9 in (166,818,790,464,467,606,591,104,646,235)
           OR (b9=891 AND 127=e9 AND c9=975 AND 148=a9)
           OR b9 in (227,74,312,214,891,16,269,379,149,595,326,900,122))
UNION
  SELECT e4 FROM t4
   WHERE c4 in (88,609,345,720,725,157,998,631,357,471,671,271,201)
EXCEPT
  SELECT b8 FROM t8
   WHERE NOT ((564=b8 AND 486=d8)
           OR (620=e8 AND c8=168 AND b8=542))
UNION ALL
  SELECT a6 FROM t6
   WHERE a6 in (35,585,182,522,129,251,653)
      OR b6 in (276,463,144)
EXCEPT
  SELECT e5 FROM t5
   WHERE NOT ((a5=267))
EXCEPT
  SELECT b1 FROM t1
   WHERE NOT (a1 in (972,479,281,746,88))

query T valuesort
  SELECT b1 FROM t1
   WHERE (521=a1 OR d1=900 OR a1=492)
      OR (105=d1 AND a1=738)
      OR (433=a1 AND 807=b1 AND 230=c1)
EXCEPT
  SELECT a4 FROM t4
   WHERE NOT ((b4=644 AND 417=c4 AND 692=e4 AND 617=d4 AND 82=a4))
UNION
  SELECT c8 FROM t8
   WHERE (d8=761 AND c8=762 AND 44=e8 AND 563=a8 AND 259=b8)
      OR (b8=1)
      OR (d8=805 AND b8=359 AND e8=106 AND a8=72 AND 668=c8)
EXCEPT
  SELECT a6 FROM t6
   WHERE NOT ((241=e6)
           OR (822=d6 AND e6=5 AND 177=c6 AND a6=522 AND b6=511))

query T valuesort
  SELECT c6 FROM t6
   WHERE (186=d6 OR 731=e6)
      OR e6 in (6,682,329,211)
      OR (e6=77 AND 350=b6 AND 832=c6)
UNION ALL
  SELECT c5 FROM t5
   WHERE (878=a5)
      OR (321=d5 OR 485=a5)
      OR (205=b5)
UNION ALL
  SELECT c1 FROM t1
   WHERE (a1=776 AND 217=d1 AND e1=181 AND 898=c1 AND b1=149)
UNION ALL
  SELECT c2 FROM t2
   WHERE e2 in (223,721,151,564,140,40,936,381,769,213)
      OR d2 in (897,476,547,598,803)
      OR (521=e2 OR d2=310 OR b2=649)
EXCEPT
  SELECT c9 FROM t9
   WHERE NOT (e9 in (837,567,737,750,127,936,150,486,968,954)
           OR (804=e9))
EXCEPT
  SELECT d3 FROM t3
   WHERE NOT ((929=a3 AND 983=d3 AND 844=e3)
           OR (e3=844 OR e3=731 OR 813=b3)
           OR (a3=729 AND e3=131 AND d3=729 AND c3=669 AND b3=651))
EXCEPT
  SELECT a4 FROM t4
   WHERE NOT ((c4=804 OR 469=b4))
EXCEPT
  SELECT b7 FROM t7
   WHERE NOT ((136=a7 AND d7=549 AND b7=841)
           OR (478=c7 OR a7=442 OR a7=709))
EXCEPT
  SELECT e8 FROM t8
   WHERE NOT (d8 in (179,141,446,630,706,2,637,124,738,494)
           OR (b8=806))

query T valuesort
  SELECT d7 FROM t7
   WHERE (a7=325 AND 478=c7 AND e7=688)
      OR c7 in (966,146,145,954,857,249,843,725,174,523,206,585,22,853)
INTERSECT
  SELECT b9 FROM t9
   WHERE NOT (a9 in (457,41,553,712,511,584,488,747)
           OR (e9=619 OR 526=c9 OR c9=252))

query T valuesort
  SELECT d9 FROM t9
   WHERE e9 in (267,477,687,607,264,426,947)
      OR (c9=95)
      OR (19=e9 AND a9=919 AND b9=751 AND c9=391 AND d9=347)
UNION ALL
  SELECT e4 FROM t4
   WHERE b4 in (357,810,167,700,644,966,816,653,107)
UNION ALL
  SELECT a7 FROM t7
   WHERE d7 in (547,296,785,939,722,524,139,575,590,325,620)
EXCEPT
  SELECT d8 FROM t8
   WHERE NOT ((579=e8 OR 260=e8)
           OR (b8=105 AND 671=a8 AND 636=d8 AND 74=c8 AND 944=e8)
           OR (994=a8 OR 365=b8 OR d8=161))
UNION
  SELECT d5 FROM t5
   WHERE (c5=384)
      OR (a5=597 AND 978=c5 AND 389=b5 AND e5=655 AND d5=280)
      OR (a5=556 OR 271=e5)

query T valuesort
  SELECT d1 FROM t1
   WHERE (c1=393 OR e1=254 OR 254=d1)
UNION ALL
  SELECT a3 FROM t3
   WHERE (a3=181 OR c3=467 OR b3=156)
      OR (542=b3)
      OR (a3=929 AND 986=c3)

query T valuesort
  SELECT c3 FROM t3
   WHERE e3 in (119,913,135,578,728)
      OR (b3=334 OR 472=c3 OR a3=255)
      OR (109=d3)
UNION ALL
  SELECT e2 FROM t2
   WHERE (527=b2 AND e2=386 AND d2=249 AND c2=450)
EXCEPT
  SELECT c5 FROM t5
   WHERE NOT ((357=a5 AND 470=d5 AND 922=c5 AND b5=548))

query T valuesort
  SELECT c8 FROM t8
   WHERE b8 in (862,466,878)
      OR a8 in (153,920,807,327,794,402,210,331,417,184,628,400,882)
EXCEPT
  SELECT d9 FROM t9
   WHERE NOT ((11=a9 OR c9=688)
           OR e9 in (672,694,353,133,868,15,335,383,854,788,549,792))
UNION
  SELECT d3 FROM t3
   WHERE (d3=841 AND 490=c3 AND b3=710 AND a3=651)
      OR (d3=358 OR a3=499 OR c3=77)
      OR (b3=57 OR c3=77 OR 296=c3)
UNION ALL
  SELECT e7 FROM t7
   WHERE (649=a7 AND 765=d7)
UNION ALL
  SELECT b6 FROM t6
   WHERE (794=e6 OR c6=513 OR 734=d6)
      OR (a6=128 AND c6=480 AND d6=186)
      OR e6 in (737,154,489,808)

query T valuesort
  SELECT c1 FROM t1
   WHERE c1 in (876,4,758,388,882,620,772,765)
      OR (298=e1)
      OR a1 in (674,785,754,776,380,451,294)
UNION ALL
  SELECT a9 FROM t9
   WHERE (936=c9 OR a9=14 OR c9=349)
UNION ALL
  SELECT b3 FROM t3
   WHERE (d3=480 AND 947=a3)
      OR e3 in (536,136,774,163,459,914)
UNION ALL
  SELECT c8 FROM t8
   WHERE (a8=400 AND 6=b8 AND d8=197 AND e8=381)

query T valuesort
  SELECT d4 FROM t4
   WHERE e4 in (257,885,324,252)
EXCEPT
  SELECT b8 FROM t8
   WHERE NOT ((b8=878 AND c8=250 AND 341=a8))

query T valuesort
  SELECT c4 FROM t4
   WHERE (752=a4 AND 85=e4 AND 0=c4 AND d4=665)
INTERSECT
  SELECT c3 FROM t3
   WHERE NOT (d3 in (560,375,683,624,737))
UNION ALL
  SELECT b9 FROM t9
   WHERE (601=c9 AND d9=95)
      OR c9 in (547,487,402,37,224,75,793,240,531)
      OR (b9=827 AND 801=e9 AND 78=a9)
EXCEPT
  SELECT c6 FROM t6
   WHERE NOT (b6 in (880,511,963,716,463,962,825))

query T valuesort
  SELECT c7 FROM t7
   WHERE (706=a7 OR 288=c7)
      OR c7 in (14,146,102,906,206)
      OR (d7=296)
UNION ALL
  SELECT a2 FROM t2
   WHERE (e2=547 AND d2=310 AND b2=433 AND 980=a2 AND c2=773)
UNION ALL
  SELECT b1 FROM t1
   WHERE (407=d1 OR c1=481 OR d1=427)
EXCEPT
  SELECT a6 FROM t6
   WHERE NOT (b6 in (0,214,662,993,606,296,250,232,290,449,537,44,850)
           OR (210=b6 OR 967=b6 OR d6=393)
           OR (d6=35))

query T valuesort
  SELECT b6 FROM t6
   WHERE (353=e6 AND 923=b6)
      OR e6 in (466,673,915,847,588,274,668,67,175,489,67)
      OR a6 in (825,731,46,692,366,2,148,35,121,33)
UNION ALL
  SELECT c2 FROM t2
   WHERE (a2=980 AND 433=b2 AND d2=310 AND 773=c2 AND 547=e2)
      OR (a2=817 OR c2=967)
      OR a2 in (817,891,987,91,669,922,209,936,775,809,522)
EXCEPT
  SELECT a7 FROM t7
   WHERE NOT (d7 in (724,183,442,782,687,709,842,500,164))
UNION ALL
  SELECT d9 FROM t9
   WHERE d9 in (345,55,161,922,305)
      OR (b9=16 AND 863=c9 AND d9=591 AND e9=133 AND 683=a9)
EXCEPT
  SELECT c3 FROM t3
   WHERE NOT (a3 in (303,895,245,818,349,30,41,515,913,935,872)
           OR d3 in (508,645,641,134,913,642,102,683,615,826,982))
UNION ALL
  SELECT c4 FROM t4
   WHERE d4 in (985,706,929,988,328,249,549,653,309,574)
      OR d4 in (979,658,364,136,309)
UNION ALL
  SELECT c8 FROM t8
   WHERE c8 in (648,151,563,160,299,275,461,521)
      OR (c8=442 OR 486=c8)
      OR b8 in (487,992,647,952,852,184,761,244,186,405,253,397,984)

query T valuesort
  SELECT e4 FROM t4
   WHERE c4 in (153,964,584,674,319,433,513,749,667,398)
UNION ALL
  SELECT d9 FROM t9
   WHERE (274=d9 OR a9=295 OR 326=a9)
      OR d9 in (86,345,899,987,164,264,795,919)
UNION ALL
  SELECT c5 FROM t5
   WHERE (68=e5 AND c5=442 AND 634=d5 AND 559=b5)
EXCEPT
  SELECT a2 FROM t2
   WHERE NOT ((c2=161 OR e2=307))
EXCEPT
  SELECT c1 FROM t1
   WHERE NOT ((d1=666 OR d1=416 OR b1=5)
           OR d1 in (47,874,25,955,294,232))
EXCEPT
  SELECT d3 FROM t3
   WHERE NOT ((e3=467 AND 407=b3 AND 337=a3 AND 860=c3))

query T valuesort
  SELECT e7 FROM t7
   WHERE (456=e7 AND b7=627 AND 344=c7)
      OR (707=a7 AND d7=177)
      OR (183=d7)
EXCEPT
  SELECT b8 FROM t8
   WHERE NOT ((34=b8 AND d8=630 AND c8=501 AND a8=650))
UNION ALL
  SELECT d4 FROM t4
   WHERE (d4=989 OR 589=a4 OR 215=c4)
UNION
  SELECT d9 FROM t9
   WHERE b9 in (936,214,361,379,19,95,426,64,868,446,848,178,142,19)
      OR (c9=327 OR c9=327)
      OR (534=c9)

query T valuesort
  SELECT a1 FROM t1
   WHERE (418=d1 AND 956=b1 AND 381=e1 AND a1=536 AND c1=417)
UNION ALL
  SELECT c7 FROM t7
   WHERE (22=a7 OR 249=c7)
EXCEPT
  SELECT e5 FROM t5
   WHERE NOT ((520=d5)
           OR c5 in (734,774,348))
EXCEPT
  SELECT c3 FROM t3
   WHERE NOT ((981=e3)
           OR (b3=632 OR b3=146)
           OR a3 in (899,162,751,581,696,34,929,820,720,393,644,699,822))
UNION ALL
  SELECT d4 FROM t4
   WHERE (a4=804 AND b4=357)

query T valuesort
  SELECT c9 FROM t9
   WHERE (c9=347)
      OR (d9=899 OR e9=146)
      OR (335=e9)
INTERSECT
  SELECT b8 FROM t8
   WHERE NOT (a8 in (314,597,474,553,359)
           OR (1=b8 AND 893=e8 AND a8=561 AND d8=2 AND c8=111)
           OR (e8=874 OR a8=5 OR a8=66))
UNION ALL
  SELECT e7 FROM t7
   WHERE (e7=976 OR c7=981)
      OR d7 in (539,988,79,709,924,172,436,996,684,105,148,324)
UNION
  SELECT c4 FROM t4
   WHERE c4 in (971,345,0,214,671,658,177,319,667,619,791)
UNION ALL
  SELECT c3 FROM t3
   WHERE c3 in (486,750,844,81,53,211,806)
EXCEPT
  SELECT e2 FROM t2
   WHERE NOT ((360=c2)
           OR (c2=127 AND a2=680)
           OR e2 in (812,753,434,963,220,564,140,781,512,483,294))
UNION
  SELECT a5 FROM t5
   WHERE (570=d5)
      OR b5 in (26,717,661,143,389,846,380,998,336,91,731,33,716)
EXCEPT
  SELECT e1 FROM t1
   WHERE NOT (e1 in (113,523,546,683,96,381))
EXCEPT
  SELECT d6 FROM t6
   WHERE NOT ((768=c6 AND 211=a6)
           OR e6 in (77,431,893,469,617,95,489,353,915,274,211,574,511,946))

query T valuesort
  SELECT b8 FROM t8
   WHERE d8 in (615,580,833,542,651,811,781,466,715,101,48,192)
INTERSECT
  SELECT e2 FROM t2
   WHERE NOT (c2 in (575,625,24,137,374,27,202,411)
           OR b2 in (489,784,72,545,161,181,903,93,605,367,326,433,820,139)
           OR (e2=162 OR 750=d2))
INTERSECT
  SELECT e7 FROM t7
   WHERE NOT (d7 in (939,177,982,772,399,785,225,620,539))
INTERSECT
  SELECT c4 FROM t4
   WHERE NOT (e4 in (480,543,179,141,296,977,1,465,184,405,511,552,103)
           OR (b4=469 OR 723=c4 OR 961=b4))
EXCEPT
  SELECT d1 FROM t1
   WHERE NOT ((c1=864 AND 461=a1 AND 652=b1 AND 750=d1)
           OR (c1=39 AND a1=194)
           OR (315=c1 AND 52=a1 AND d1=25))
UNION ALL
  SELECT c3 FROM t3
   WHERE (b3=302 AND c3=73)
      OR (642=d3 AND b3=595 AND a3=727)

query T valuesort
  SELECT a1 FROM t1
   WHERE a1 in (324,215,609,330,380,810,460)
      OR (d1=212 OR e1=300 OR 462=b1)
INTERSECT
  SELECT b7 FROM t7
   WHERE NOT ((c7=467 AND 362=b7 AND a7=952 AND e7=319 AND d7=199)
           OR b7 in (798,422,655,634,257,896,514)
           OR c7 in (482,12,816,523,103))
UNION ALL
  SELECT c5 FROM t5
   WHERE (114=a5)
      OR (b5=874 OR a5=55 OR b5=234)
      OR (c5=443)
UNION ALL
  SELECT a6 FROM t6
   WHERE (e6=678)

query T valuesort
  SELECT a4 FROM t4
   WHERE (b4=357 AND d4=987)
UNION
  SELECT b6 FROM t6
   WHERE a6 in (829,40,255,764,811)
UNION
  SELECT b8 FROM t8
   WHERE (242=a8 AND 796=b8)
      OR (851=c8)
      OR (d8=945 OR 950=d8 OR 918=e8)
UNION ALL
  SELECT b3 FROM t3
   WHERE d3 in (354,38,524,1,548,603,729,361,522,886,429,624,95,483)
      OR (a3=644 AND 740=b3 AND d3=482 AND 395=c3 AND 406=e3)
UNION ALL
  SELECT e5 FROM t5
   WHERE d5 in (682,437,565,269,412,919,810,369,789,238,361)
      OR a5 in (882,749,626,544,297,99,319,976,413,54,24,362,69)

query T valuesort
  SELECT d6 FROM t6
   WHERE (c6=45 AND 73=d6 AND 474=a6 AND e6=617)
      OR e6 in (969,283,634,668,395,91,31,211,847,329)
      OR e6 in (14,95,550,595,523,329,798,100)
UNION ALL
  SELECT e8 FROM t8
   WHERE (d8=511)
      OR c8 in (260,404,544,187,998,461)
      OR (756=d8 AND e8=933)

query T valuesort
  SELECT d5 FROM t5
   WHERE e5 in (130,287,585,802,9,554,812,885,522,157,587,929)
EXCEPT
  SELECT d4 FROM t4
   WHERE NOT (d4 in (498,661,482,491,317,524)
           OR (157=c4 AND 408=a4 AND 617=e4 AND 982=b4))
EXCEPT
  SELECT d3 FROM t3
   WHERE NOT ((b3=584 AND 425=d3 AND c3=887)
           OR a3 in (364,30,164,818,457,12,872,429,959,303,727)
           OR (145=c3 AND 763=a3))
EXCEPT
  SELECT c6 FROM t6
   WHERE NOT ((e6=850 AND a6=963 AND d6=72)
           OR (672=a6 OR a6=355 OR 507=b6))
UNION
  SELECT d1 FROM t1
   WHERE (281=b1 AND 628=e1 AND 221=d1 AND c1=375 AND a1=521)
      OR (a1=640 OR e1=14)

query T valuesort
  SELECT b8 FROM t8
   WHERE d8 in (223,534,542,472,761,989,482)
      OR (864=e8 AND c8=973 AND 704=b8 AND 620=a8 AND d8=60)
      OR (a8=200 AND b8=640 AND d8=682)
EXCEPT
  SELECT e4 FROM t4
   WHERE NOT ((271=a4 OR c4=47)
           OR d4 in (987,229,141,277,639,713,60)
           OR (c4=619 OR c4=723))
UNION
  SELECT c9 FROM t9
   WHERE (365=a9 OR e9=335)
UNION ALL
  SELECT c6 FROM t6
   WHERE a6 in (366,870,474,211,718)
      OR d6 in (129,974,869)
      OR (159=c6 AND e6=531 AND a6=396)
EXCEPT
  SELECT b1 FROM t1
   WHERE NOT ((284=e1 AND 885=d1 AND 513=a1 AND b1=211 AND c1=736)
           OR (766=b1 AND e1=568 AND c1=39 AND d1=951)
           OR (c1=88))
EXCEPT
  SELECT d7 FROM t7
   WHERE NOT (b7 in (660,120,837)
           OR a7 in (691,356,114,945,136,167,277,593,865,158,806))

query T valuesort
  SELECT a4 FROM t4
   WHERE d4 in (25,628,821,323,713)
      OR (e4=237 OR b4=860 OR d4=907)
      OR (412=a4 AND 39=c4)
UNION
  SELECT c2 FROM t2
   WHERE (292=b2 OR a2=98)
EXCEPT
  SELECT b3 FROM t3
   WHERE NOT (d3 in (109,149,170)
           OR (e3=459 AND 360=c3 AND 560=d3 AND 776=a3 AND b3=534)
           OR a3 in (892,101,935,697,349,364,396,275,696))

query T valuesort
  SELECT b9 FROM t9
   WHERE (c9=975 AND 127=e9)
      OR (252=c9 AND b9=789 AND 426=e9 AND d9=226)
      OR (873=e9 AND 142=b9 AND c9=222)
EXCEPT
  SELECT c3 FROM t3
   WHERE NOT ((603=d3))
UNION ALL
  SELECT c8 FROM t8
   WHERE (a8=113)
      OR (d8=370 AND a8=184 AND e8=476)
UNION
  SELECT c4 FROM t4
   WHERE b4 in (288,765,748,986,184,708,289,941,925,295,319,408,538,35)

query T valuesort
  SELECT a7 FROM t7
   WHERE a7 in (706,134,180,995,945,62,884)
      OR (735=b7 OR 878=b7)
      OR e7 in (183,154,816)
EXCEPT
  SELECT b1 FROM t1
   WHERE NOT (d1 in (172,828,17,748,504,232,519,691,130,96,972,799)
           OR (b1=894 AND 785=a1 AND 585=d1))
EXCEPT
  SELECT c9 FROM t9
   WHERE NOT ((737=e9)
           OR (e9=788 AND 62=c9 AND 450=d9 AND b9=379 AND 413=a9))
EXCEPT
  SELECT c5 FROM t5
   WHERE NOT ((579=c5))
UNION
  SELECT e2 FROM t2
   WHERE (c2=148 AND 776=b2 AND e2=621)
      OR (988=c2 OR b2=276 OR a2=775)
      OR (b2=8 OR a2=268)

query T valuesort
  SELECT a4 FROM t4
   WHERE (297=c4 OR e4=511 OR c4=581)
      OR (903=b4 OR a4=235 OR c4=794)
UNION
  SELECT b2 FROM t2
   WHERE (e2=125)
      OR (d2=914 OR e2=37 OR c2=823)
      OR d2 in (216,177,362,813,555,598,19,351,498,669,398,292)
EXCEPT
  SELECT e3 FROM t3
   WHERE NOT ((890=d3 OR 728=e3))
EXCEPT
  SELECT b7 FROM t7
   WHERE NOT (a7 in (288,195,945,574,958,285,277,925,180,936,565,114,736,386)
           OR (e7=39 AND c7=648)
           OR (11=a7 AND 257=c7 AND b7=679 AND d7=418))
EXCEPT
  SELECT d9 FROM t9
   WHERE NOT ((178=b9 AND 936=e9 AND 55=d9)
           OR (688=c9 AND 5=b9 AND 967=d9 AND e9=687)
           OR (224=c9 AND 554=d9 AND 35=e9))
EXCEPT
  SELECT e8 FROM t8
   WHERE NOT ((b8=155 OR d8=474)
           OR e8 in (729,811,431,608,918,260,455,411,421,586,620))

query T valuesort
  SELECT d7 FROM t7
   WHERE e7 in (31,983,624,372,506)
      OR e7 in (815,319,595,851,782,624,816,860,561,887)
      OR b7 in (634,979,257,67)
EXCEPT
  SELECT e4 FROM t4
   WHERE NOT ((d4=549 AND a4=281 AND 288=b4 AND c4=752 AND e4=600))
UNION ALL
  SELECT c6 FROM t6
   WHERE a6 in (787,604,436,396,33,251,45)
EXCEPT
  SELECT e3 FROM t3
   WHERE NOT (d3 in (886,133,522,66)
           OR (e3=467 OR c3=887 OR 637=a3)
           OR (e3=457))
EXCEPT
  SELECT b8 FROM t8
   WHERE NOT ((678=e8 AND 965=c8 AND 957=a8 AND d8=608)
           OR d8 in (482,291,615,326,330,862,769,494,683,899,20))
EXCEPT
  SELECT e2 FROM t2
   WHERE NOT (c2 in (150,45,902,512,275,161,933,819,292,450,220,24)
           OR (844=d2 OR 179=c2))
UNION
  SELECT c5 FROM t5
   WHERE (e5=206)
      OR a5 in (342,267,429,342,800,536)
      OR d5 in (649,937,729,757,309)

query T valuesort
  SELECT e8 FROM t8
   WHERE (d8=60 AND 973=c8 AND b8=704)
      OR (624=d8)
      OR (a8=328 AND 846=e8 AND b8=963 AND d8=845)
INTERSECT
  SELECT a2 FROM t2
   WHERE NOT ((779=b2 OR 820=b2))
UNION
  SELECT b1 FROM t1
   WHERE (23=a1 AND 426=b1)
      OR (b1=213 OR b1=857)
EXCEPT
  SELECT a3 FROM t3
   WHERE NOT ((375=d3 OR e3=239)
           OR a3 in (952,865,895,513,992,551)
           OR e3 in (914,951,119))
UNION
  SELECT d4 FROM t4
   WHERE (736=d4 AND 964=c4 AND 903=b4 AND 103=e4 AND a4=386)

query T valuesort
  SELECT c3 FROM t3
   WHERE (a3=244 OR a3=30)
      OR (118=d3 AND b3=437 AND a3=135 AND 218=e3 AND 368=c3)
UNION ALL
  SELECT b4 FROM t4
   WHERE (c4=358)
EXCEPT
  SELECT c2 FROM t2
   WHERE NOT ((e2=548 AND 333=c2 AND 809=a2 AND 833=d2 AND b2=811)
           OR (963=e2 OR 592=b2 OR d2=80))
EXCEPT
  SELECT e9 FROM t9
   WHERE NOT ((301=e9 OR e9=607)
           OR (575=c9 OR 240=c9))
EXCEPT
  SELECT d8 FROM t8
   WHERE NOT (a8 in (957,637,66,445,894,826,838,553,443,47)
           OR (e8=700 AND c8=563 AND a8=841)
           OR a8 in (256,171,99,957,242,822,5,259,841,946))
UNION
  SELECT c6 FROM t6
   WHERE (e6=345 AND d6=172 AND c6=434 AND b6=834)
      OR (469=a6 OR e6=633)

query T valuesort
  SELECT e8 FROM t8
   WHERE (d8=116 AND 431=c8 AND a8=239 AND 223=e8 AND b8=725)
EXCEPT
  SELECT d1 FROM t1
   WHERE NOT ((479=a1 AND 294=d1 AND 685=e1 AND 902=c1)
           OR (a1=147 OR 662=d1 OR 337=a1)
           OR (c1=67 OR b1=807 OR 625=e1))
UNION ALL
  SELECT a6 FROM t6
   WHERE c6 in (216,528,500,28,430,84,513,12,270)
      OR (a6=392)
      OR (a6=104)
UNION
  SELECT b7 FROM t7
   WHERE (83=b7 AND d7=680 AND 548=c7 AND 303=e7 AND 703=a7)
      OR (c7=948 AND 801=d7 AND e7=462 AND b7=360 AND a7=439)
UNION ALL
  SELECT b2 FROM t2
   WHERE (582=c2 OR d2=373)
      OR d2 in (351,682,362,753,414,79,306,873,404)
EXCEPT
  SELECT e4 FROM t4
   WHERE NOT (e4 in (480,816,9,37,179,35,531,252,619,592,931,257))

query T valuesort
  SELECT c3 FROM t3
   WHERE (b3=790 OR 29=c3)
UNION ALL
  SELECT e6 FROM t6
   WHERE (969=e6 OR 929=d6 OR 360=e6)
UNION
  SELECT e5 FROM t5
   WHERE (c5=625 AND d5=810 AND b5=771 AND 184=e5 AND a5=821)
      OR (729=d5)
      OR (c5=734 OR 403=b5 OR a5=544)
UNION
  SELECT c4 FROM t4
   WHERE d4 in (597,260,491,953,223,593,950,60)
      OR (491=e4 OR b4=379 OR c4=984)
      OR (e4=617 OR c4=424 OR 703=c4)
UNION ALL
  SELECT d9 FROM t9
   WHERE c9 in (323,764,547,836,187,419,224,288,252,732,843)

query T valuesort
  SELECT c5 FROM t5
   WHERE c5 in (485,766,820,927,599,756,544,668,894,18,147,56,299)
UNION ALL
  SELECT a1 FROM t1
   WHERE a1 in (395,754,433,732,231,189,953,622,283,579,918,847)
UNION ALL
  SELECT b4 FROM t4
   WHERE a4 in (423,74,876,752,982,16,922)
      OR (327=a4)
EXCEPT
  SELECT a3 FROM t3
   WHERE NOT ((d3=434))
UNION ALL
  SELECT c9 FROM t9
   WHERE b9 in (262,549,524,926,142,751,326,342)
      OR (b9=26 AND 87=c9 AND 463=a9)
      OR d9 in (795,744,618,554,878,646,23)
UNION
  SELECT b8 FROM t8
   WHERE (454=b8 AND a8=838 AND 592=e8 AND 374=c8)
UNION
  SELECT d6 FROM t6
   WHERE (e6=550 OR d6=185 OR b6=905)

query T valuesort
  SELECT d6 FROM t6
   WHERE (159=c6 AND 396=a6 AND e6=531 AND b6=461)
UNION ALL
  SELECT b8 FROM t8
   WHERE (c8=790)
UNION
  SELECT e3 FROM t3
   WHERE (c3=777)
      OR a3 in (368,145,379,788,971,347,727,184,380,895,275,296,532,393)
      OR d3 in (809,683,662,607)
UNION ALL
  SELECT a9 FROM t9
   WHERE b9 in (228,66,136,142,595,447,178,759,612,171,64)
UNION
  SELECT e1 FROM t1
   WHERE b1 in (995,754,942,346,993,803,766,1,278,179,213)
      OR (d1=874 AND e1=158 AND a1=637)
EXCEPT
  SELECT b5 FROM t5
   WHERE NOT ((d5=810 OR 476=a5 OR d5=495)
           OR (e5=661))

query T valuesort
  SELECT d3 FROM t3
   WHERE (827=b3)
      OR (a3=376)
INTERSECT
  SELECT e6 FROM t6
   WHERE NOT (b6 in (44,348,296,880,876,452,92,984,461,781,549,378,217)
           OR (b6=217 AND a6=392 AND e6=31 AND 446=c6 AND 867=d6))
EXCEPT
  SELECT d7 FROM t7
   WHERE NOT ((b7=59)
           OR a7 in (9,706,863)
           OR (c7=478 AND 684=d7 AND 266=b7))
UNION ALL
  SELECT c4 FROM t4
   WHERE (b4=389 OR e4=698 OR 996=c4)
      OR (d4=507 AND 184=b4 AND 2=c4)
UNION
  SELECT e8 FROM t8
   WHERE (e8=859 AND c8=332)
      OR (c8=154 OR 795=a8)
      OR b8 in (461,182,992,7,487,523,741,352,975,493,981,359)

query T valuesort
  SELECT b4 FROM t4
   WHERE e4 in (1,575,885,719,739,151,820,600,377,858,252,596,12)
      OR (617=d4 OR 293=c4)
      OR e4 in (352,48,206)
UNION ALL
  SELECT a6 FROM t6
   WHERE (c6=287)
      OR (620=c6)
      OR (185=d6 AND 6=e6 AND c6=287 AND 962=b6)
EXCEPT
  SELECT a7 FROM t7
   WHERE NOT ((a7=97 AND 579=b7 AND d7=527))
UNION
  SELECT e2 FROM t2
   WHERE c2 in (233,251,711,964,160,360,854)
      OR (b2=161 OR 235=a2 OR 35=a2)
      OR (c2=160 AND 441=e2 AND 555=d2 AND 135=a2)
EXCEPT
  SELECT d9 FROM t9
   WHERE NOT ((305=d9 OR e9=149 OR 696=c9)
           OR (19=b9 AND 847=a9 AND c9=75 AND 129=d9 AND e9=549))
UNION ALL
  SELECT c8 FROM t8
   WHERE (d8=108 AND 374=c8 AND b8=454 AND 592=e8)
      OR (a8=259 AND b8=705 AND e8=561)
      OR e8 in (579,310,233,203,305,455,809)
EXCEPT
  SELECT a3 FROM t3
   WHERE NOT ((685=b3 OR 135=d3)
           OR (b3=505 OR c3=885 OR 378=a3)
           OR b3 in (454,295,198,41,57,339,127,73))
UNION ALL
  SELECT a1 FROM t1
   WHERE (a1=866 OR e1=298 OR c1=898)
      OR (717=d1 OR d1=55 OR 585=c1)
      OR b1 in (572,259,5,226,523,779,993,43,404,570,807)
EXCEPT
  SELECT a5 FROM t5
   WHERE NOT (d5 in (779,132,238,274,742,789,155,553,401,271)
           OR (d5=991 OR b5=772 OR 413=d5)
           OR (e5=729 OR 554=e5 OR b5=855))

query T valuesort
  SELECT d2 FROM t2
   WHERE (945=e2 AND b2=634)
EXCEPT
  SELECT d6 FROM t6
   WHERE NOT ((974=d6 OR 534=c6 OR a6=35)
           OR a6 in (293,300,877,610,238,971,564,366,1)
           OR (367=d6 AND c6=522))

query T valuesort
  SELECT e2 FROM t2
   WHERE (b2=819 AND d2=306 AND c2=220)
UNION
  SELECT b3 FROM t3
   WHERE c3 in (869,472,77)
      OR (480=b3 AND c3=845 AND a3=353 AND d3=375 AND e3=853)
      OR b3 in (214,127,334,558,386,124,584,339)

query T valuesort
  SELECT b1 FROM t1
   WHERE (d1=691)
      OR c1 in (97,690,775,15,172,680,136,871,654,346,88,481,523,208)
      OR (a1=544 OR 788=c1 OR b1=253)
UNION ALL
  SELECT a7 FROM t7
   WHERE b7 in (517,273,634,820,396,280,514,506)
EXCEPT
  SELECT b6 FROM t6
   WHERE NOT ((6=b6 AND e6=439 AND 910=c6 AND 725=a6 AND d6=942))
EXCEPT
  SELECT c2 FROM t2
   WHERE NOT ((283=c2))
UNION
  SELECT b8 FROM t8
   WHERE (c8=291 OR 608=e8 OR a8=838)
      OR b8 in (702,459,677,394,244,951,211,952,184,370,981)
      OR (d8=499 OR c8=534 OR a8=701)
UNION
  SELECT d9 FROM t9
   WHERE (349=c9 OR e9=418)
      OR (c9=894)
      OR b9 in (136,751,496,227,858,342,251,891,900,746,913)
EXCEPT
  SELECT d5 FROM t5
   WHERE NOT (b5 in (143,306,629,495,320)
           OR (960=c5 AND 919=d5 AND 205=b5 AND 958=a5)
           OR (249=c5 AND a5=882 AND d5=731 AND 620=b5))
UNION ALL
  SELECT e3 FROM t3
   WHERE (d3=737 AND 382=b3)
      OR (e3=177 AND 959=a3 AND 178=c3)
UNION ALL
  SELECT d4 FROM t4
   WHERE (123=e4 AND b4=402)
      OR (40=b4 AND 950=d4)

query T valuesort
  SELECT b1 FROM t1
   WHERE (556=b1)
      OR b1 in (26,447,42,259,266)
      OR d1 in (88,574,4,412,581,936,716,585,666,18,717)
EXCEPT
  SELECT c7 FROM t7
   WHERE NOT ((462=e7 OR 184=e7 OR c7=807))
UNION
  SELECT d8 FROM t8
   WHERE (a8=637 AND 228=b8 AND d8=269 AND 947=e8)

query T valuesort
  SELECT e3 FROM t3
   WHERE (777=c3 OR 988=d3)
UNION
  SELECT b5 FROM t5
   WHERE c5 in (989,140,56,348,579,915,805,819,672,809,681,697,601,825)
      OR b5 in (511,934,717,820,338,26,530,951,326,159,502,674)
EXCEPT
  SELECT b1 FROM t1
   WHERE NOT ((c1=762 OR 950=a1 OR 278=b1))
UNION
  SELECT a8 FROM t8
   WHERE (485=e8)
EXCEPT
  SELECT c7 FROM t7
   WHERE NOT ((c7=364)
           OR d7 in (28,817,777,939,324,205,225,192,956,572,114,837,199))

query T valuesort
  SELECT c1 FROM t1
   WHERE e1 in (763,125,247,268,646,221,667,949,181)
      OR c1 in (420,67,253,465,272,498,207,172,617,675,441)
UNION ALL
  SELECT d6 FROM t6
   WHERE (a6=222 OR b6=276)
      OR e6 in (678,617,761,211,969,139,808,353)
      OR (c6=752 AND 786=d6 AND 64=a6)
EXCEPT
  SELECT c3 FROM t3
   WHERE NOT ((e3=260 OR 296=a3 OR 269=b3))

query T valuesort
  SELECT a3 FROM t3
   WHERE b3 in (124,927,437,595,434,983,701,302,392,566)
      OR (711=d3 AND e3=108 AND b3=57 AND a3=727)
UNION ALL
  SELECT c5 FROM t5
   WHERE (727=e5 OR 708=e5)
EXCEPT
  SELECT e2 FROM t2
   WHERE NOT ((d2=476)
           OR (e2=548 AND c2=333))
UNION
  SELECT d4 FROM t4
   WHERE e4 in (951,405,38,29,9,12,480,38)

query T valuesort
  SELECT e9 FROM t9
   WHERE a9 in (694,41,149,450,739,215)
      OR (187=c9)
UNION
  SELECT b3 FROM t3
   WHERE e3 in (254,774,896,464,136,975,844,321,593,972,193)
UNION
  SELECT d5 FROM t5
   WHERE (c5=44 AND 193=b5)
      OR (598=c5 AND a5=757 AND d5=521)
      OR (601=c5 AND b5=56)

query T valuesort
  SELECT d2 FROM t2
   WHERE a2 in (814,751,944,471,669,35)
      OR b2 in (351,60,549,276,888,818,640,8,799,220,599,592)
UNION ALL
  SELECT d1 FROM t1
   WHERE (b1=468 OR d1=457 OR e1=14)
      OR (d1=691)

query T valuesort
  SELECT e8 FROM t8
   WHERE (e8=56 AND b8=862 AND 321=c8 AND 312=a8 AND 945=d8)
UNION
  SELECT e2 FROM t2
   WHERE d2 in (790,790,332,19)
      OR e2 in (463,781,307,554,953,936,721,151)

query T valuesort
  SELECT e9 FROM t9
   WHERE e9 in (942,418,445,267,291,799,35,388)
UNION
  SELECT e4 FROM t4
   WHERE (44=d4)
UNION
  SELECT c1 FROM t1
   WHERE (c1=765 OR a1=222)
EXCEPT
  SELECT d6 FROM t6
   WHERE NOT (e6 in (747,466,6,668,67))
UNION
  SELECT a5 FROM t5
   WHERE a5 in (242,586,851,626,536,270,826,267)
      OR (306=b5 AND c5=672 AND a5=153 AND d5=858 AND 25=e5)
EXCEPT
  SELECT e8 FROM t8
   WHERE NOT (c8 in (461,979,93,250,196,275,149,965,762,88,231,692)
           OR b8 in (211,862,609,878,803,369))
UNION
  SELECT a2 FROM t2
   WHERE a2 in (543,785,874,751,283,159,809)
      OR (c2=360 OR d2=448 OR 898=a2)
      OR d2 in (19,79,790,750,260,790,235,873)
EXCEPT
  SELECT e3 FROM t3
   WHERE NOT ((d3=729)
           OR c3 in (299,7,360,265,860,459,645,845,84,885)
           OR c3 in (455,966,887,954,40,339,792,656,53,175,669,494,863))
UNION ALL
  SELECT e7 FROM t7
   WHERE (e7=4)

query T valuesort
  SELECT b2 FROM t2
   WHERE (d2=373)
      OR (e2=923)
      OR (c2=141 AND a2=785)
EXCEPT
  SELECT d6 FROM t6
   WHERE NOT (d6 in (674,786,469,473,500,729,911,269,489,2,885,855,376)
           OR c6 in (942,528,28,11,910,287,975,491,434,528,187,677)
           OR (b6=834 AND 434=c6 AND e6=345 AND 172=d6 AND 222=a6))
UNION
  SELECT b9 FROM t9
   WHERE (e9=621 AND c9=95 AND 64=b9 AND 115=a9)
      OR e9 in (278,486,653,699,264,307,987,418,844,127,788)
EXCEPT
  SELECT a1 FROM t1
   WHERE NOT (b1 in (432,113,211,254,346,981,681,754,462,802,738,270,447)
           OR (d1=467)
           OR (d1=793 OR 210=e1 OR e1=436))
UNION
  SELECT a4 FROM t4
   WHERE d4 in (185,593,100,449,44)
      OR (b4=23 OR 847=a4 OR d4=223)
UNION ALL
  SELECT d5 FROM t5
   WHERE (d5=806)
      OR b5 in (703,511,113,159,989,951,930,433,782,143)
      OR (198=c5)
UNION
  SELECT b8 FROM t8
   WHERE a8 in (671,248,153,453,289,952,127,920,661,838,474,66)
      OR (151=c8 AND a8=66 AND e8=512)
UNION
  SELECT c3 FROM t3
   WHERE (816=b3 OR e3=87 OR 234=b3)
      OR (214=b3 OR 935=a3)
      OR e3 in (375,318,147,526,470,712,913,593,169,853,981)

query T valuesort
  SELECT d4 FROM t4
   WHERE (296=e4 AND 201=c4 AND 781=d4 AND a4=589 AND 979=b4)
      OR a4 in (558,105,625,139,159,621,469,804,509)
      OR (82=a4 AND b4=644 AND c4=417)
UNION
  SELECT d7 FROM t7
   WHERE (816=c7 OR 79=e7 OR a7=452)
      OR (d7=397)
      OR (234=b7 AND 215=e7 AND 912=a7)
EXCEPT
  SELECT b3 FROM t3
   WHERE NOT (b3 in (832,411,392,558,296,266,445,977,224,686,166,73,73,58)
           OR (a3=265 AND d3=913 AND b3=302)
           OR c3 in (651,792,963,455,711,647,339,247,701,490))

query T valuesort
  SELECT e7 FROM t7
   WHERE a7 in (452,97,6,430,134,240,706,715,592,748)
      OR (b7=973 OR c7=843)
      OR (841=e7 OR 979=e7)
UNION
  SELECT e4 FROM t4
   WHERE (694=c4)
EXCEPT
  SELECT b9 FROM t9
   WHERE NOT ((495=d9 OR 553=a9)
           OR b9 in (245,269,136,595))
UNION ALL
  SELECT c6 FROM t6
   WHERE d6 in (822,970,73)
      OR (585=e6 AND 122=c6 AND 924=d6 AND 226=b6)
EXCEPT
  SELECT c3 FROM t3
   WHERE NOT ((d3=503 OR 262=a3)
           OR (992=a3 AND b3=202 AND 178=e3 AND 164=d3 AND c3=75)
           OR d3 in (139,522,607,74,871,981,307,665,238,886,363,729,423))
UNION ALL
  SELECT e5 FROM t5
   WHERE d5 in (957,32,991)
      OR e5 in (98,104,807,589,725,188,689,446,586,25,72)
      OR (921=a5 AND c5=894 AND 657=b5 AND 772=e5 AND 557=d5)

query T valuesort
  SELECT a7 FROM t7
   WHERE (148=d7 AND c7=626)
      OR e7 in (344,503,31,422,689,462,455,319,291,793,782,79,302,562)
EXCEPT
  SELECT e5 FROM t5
   WHERE NOT ((e5=144))
EXCEPT
  SELECT a9 FROM t9
   WHERE NOT ((a9=269 OR 349=c9 OR 818=b9)
           OR b9 in (751,421,227,136,426,19,361,171,63))
UNION
  SELECT e8 FROM t8
   WHERE a8 in (563,855,200,869,113,701,129,347,359,638)
UNION ALL
  SELECT d1 FROM t1
   WHERE d1 in (949,232,38,990,418,726,346,376,602,992,4,319)
      OR (b1=226 OR 298=d1)
      OR (215=a1)
EXCEPT
  SELECT d6 FROM t6
   WHERE NOT (e6 in (622,95,67,808,503,574,495,439,91,631,969,225,816,230)
           OR (528=c6))
EXCEPT
  SELECT b2 FROM t2
   WHERE NOT ((508=a2 OR 217=b2 OR a2=779)
           OR (a2=495))

query T valuesort
  SELECT d8 FROM t8
   WHERE b8 in (105,405,647,244)
      OR b8 in (981,454,155,313,564,665,963,852,563)
      OR (501=c8 AND 34=b8 AND e8=980)
UNION
  SELECT c3 FROM t3
   WHERE (c3=472 OR 487=d3 OR b3=198)
      OR b3 in (617,977,542,211,302)
EXCEPT
  SELECT e9 FROM t9
   WHERE NOT (c9 in (347,332,801,547,905,935,662,349,863,187,569,146)
           OR (b9=64 OR 402=c9 OR a9=11)
           OR (a9=326))
EXCEPT
  SELECT b1 FROM t1
   WHERE NOT ((323=d1 OR c1=12 OR 109=a1)
           OR a1 in (879,736,324,880,707,477))
UNION ALL
  SELECT b6 FROM t6
   WHERE (531=a6 OR 427=b6 OR 4=c6)
EXCEPT
  SELECT e2 FROM t2
   WHERE NOT (c2 in (251,123,582,449,512,233,509,967,830))
UNION ALL
  SELECT a7 FROM t7
   WHERE a7 in (565,27,167,299)
EXCEPT
  SELECT c5 FROM t5
   WHERE NOT (b5 in (623,930,26,186,320,998,69,942,822,846,502,273))
UNION ALL
  SELECT b4 FROM t4
   WHERE c4 in (299,489,188,806,609,82,712,768,964,984,996,39,215)
      OR (a4=505 AND c4=799 AND e4=546)
      OR (e4=350)

query T valuesort
  SELECT e3 FROM t3
   WHERE (a3=129 AND e3=794)
      OR (e3=818 OR d3=1 OR b3=505)
      OR d3 in (538,168,102,967,866,368)
INTERSECT
  SELECT d1 FROM t1
   WHERE NOT ((b1=42 OR c1=441 OR a1=371)
           OR (a1=513 AND 885=d1 AND 736=c1 AND 284=e1 AND 211=b1)
           OR (b1=310))

query T valuesort
  SELECT d8 FROM t8
   WHERE (394=c8)
      OR e8 in (186,422,384)
      OR d8 in (706,192,370,494,474,636,637,197,210,735)
UNION ALL
  SELECT b5 FROM t5
   WHERE c5 in (56,18,37,825,657,689,441)
      OR (a5=18)
      OR c5 in (3,941,649,723,441,18,797,86,756,856,960,625)
UNION ALL
  SELECT d3 FROM t3
   WHERE (77=c3 AND b3=665 AND a3=822 AND d3=483 AND e3=526)
      OR (3=e3)
      OR (c3=324 OR b3=226 OR e3=814)
EXCEPT
  SELECT b1 FROM t1
   WHERE NOT (a1 in (950,294,499,280,821,629,358,521,820,173,707,963,222))
UNION
  SELECT b6 FROM t6
   WHERE (b6=511 OR e6=31 OR 764=a6)
      OR (d6=924 OR c6=452)
      OR (126=b6)

query T valuesort
  SELECT c6 FROM t6
   WHERE (d6=197 AND 861=a6)
INTERSECT
  SELECT b1 FROM t1
   WHERE NOT ((3=c1))
INTERSECT
  SELECT c7 FROM t7
   WHERE NOT (a7 in (466,869,950,356,773,958,31,703,231,430,288,22,707,433)
           OR d7 in (278,549,492,988,916)
           OR (d7=367 AND 832=b7 AND 705=c7 AND a7=500 AND e7=197))
UNION ALL
  SELECT c9 FROM t9
   WHERE (d9=235 AND c9=811 AND e9=383 AND a9=559 AND 66=b9)
      OR e9 in (868,657,383,575,947,687,255,418,934,567,995,146)
EXCEPT
  SELECT b2 FROM t2
   WHERE NOT ((638=e2 AND d2=537)
           OR (833=d2 AND a2=809 AND 333=c2 AND 811=b2))
UNION ALL
  SELECT d5 FROM t5
   WHERE (d5=883 OR e5=480 OR 721=c5)

query T valuesort
  SELECT b1 FROM t1
   WHERE (c1=690 OR c1=636 OR d1=874)
UNION
  SELECT e7 FROM t7
   WHERE c7 in (284,98,498)
      OR (912=a7)
      OR e7 in (455,462,282,31,356,988,499,184,120,319,439)
EXCEPT
  SELECT d8 FROM t8
   WHERE NOT (b8 in (769,365,677,308,770,796,454,773,325,98,656,705)
           OR (210=d8 AND 386=a8 AND 463=e8 AND b8=300 AND c8=901)
           OR d8 in (525,950,482,675,845,456))
UNION
  SELECT a4 FROM t4
   WHERE a4 in (16,804,318,152,474,261,281,723,447,621,60,442)
UNION
  SELECT e5 FROM t5
   WHERE (a5=785 AND b5=951 AND e5=206 AND 514=c5 AND 818=d5)
      OR c5 in (299,927,86,545,422,130,766,101,894,747,196,598,44)
EXCEPT
  SELECT c9 FROM t9
   WHERE NOT ((b9=912 AND a9=611 AND 737=e9))
UNION ALL
  SELECT d3 FROM t3
   WHERE (c3=40 AND a3=16 AND 487=d3 AND 28=b3)
      OR c3 in (668,467,317)

query T valuesort
  SELECT a2 FROM t2
   WHERE (901=a2 AND 264=b2 AND 312=c2)
UNION
  SELECT a3 FROM t3
   WHERE (582=d3 AND 146=b3)
      OR d3 in (173,825,437,363,184,683)
UNION ALL
  SELECT c6 FROM t6
   WHERE (c6=500 OR 801=a6 OR c6=287)
      OR (d6=560 OR e6=574 OR c6=161)
      OR (518=a6 OR a6=680 OR e6=673)

query T valuesort
  SELECT b6 FROM t6
   WHERE (c6=620 AND e6=972)
      OR d6 in (869,34,489,852,277,956,488,376)
EXCEPT
  SELECT b9 FROM t9
   WHERE NOT ((919=a9 AND e9=19 AND b9=751)
           OR a9 in (148,102,251)
           OR (549=e9 OR 878=d9 OR 445=e9))
EXCEPT
  SELECT c8 FROM t8
   WHERE NOT (b8 in (394,466,308,564,352,889,677,287,155,790)
           OR (141=d8 AND 586=a8))
UNION
  SELECT b7 FROM t7
   WHERE (547=d7)
      OR a7 in (945,995,854,167,982)
      OR b7 in (409,562,42,30,276,266)
UNION ALL
  SELECT a1 FROM t1
   WHERE (241=a1 AND e1=313 AND 729=b1)
EXCEPT
  SELECT b5 FROM t5
   WHERE NOT (b5 in (695,530,193,161,321,605,609,934,179)
           OR (540=a5 AND 380=b5 AND e5=104))
UNION ALL
  SELECT d3 FROM t3
   WHERE c3 in (555,692,733,459,211,844,372,467,777,898,81,555,863)
EXCEPT
  SELECT b4 FROM t4
   WHERE NOT ((47=c4 AND 234=a4 AND 858=e4 AND 68=b4 AND 877=d4)
           OR (c4=584))

query T valuesort
  SELECT a6 FROM t6
   WHERE a6 in (870,359,522,2,386,148,821,116,643,45,564)
      OR (b6=601 AND e6=431 AND 269=d6 AND 28=c6 AND a6=540)
      OR c6 in (123,267,399)
UNION ALL
  SELECT c1 FROM t1
   WHERE (620=c1)
UNION ALL
  SELECT b9 FROM t9
   WHERE (c9=351 OR 278=e9)
      OR d9 in (439,467,744,450)
      OR (783=b9 AND c9=64)
UNION ALL
  SELECT b5 FROM t5
   WHERE a5 in (270,180,330,332,832,445,929,837,540,958,421,369,851)
      OR d5 in (835,271,818,537,276)
      OR d5 in (361,118,255,818,919,757,413,805)
EXCEPT
  SELECT e4 FROM t4
   WHERE NOT ((c4=178 OR c4=489 OR 319=c4)
           OR e4 in (600,405,376,854,543,816,958,311,837,381,217)
           OR (2=c4 AND d4=507))
UNION ALL
  SELECT c7 FROM t7
   WHERE (b7=340)
EXCEPT
  SELECT e8 FROM t8
   WHERE NOT ((259=b8))
EXCEPT
  SELECT a3 FROM t3
   WHERE NOT (b3 in (211,779,914,159,437))
UNION ALL
  SELECT b2 FROM t2
   WHERE (d2=488 AND 688=e2 AND a2=944)
      OR (d2=723 OR c2=275)

query T valuesort
  SELECT b3 FROM t3
   WHERE b3 in (339,551,340,224,124,269,810)
      OR (a3=244)
INTERSECT
  SELECT b8 FROM t8
   WHERE NOT ((184=a8 AND b8=906)
           OR (833=e8))
UNION
  SELECT e1 FROM t1
   WHERE c1 in (309,880,246,259,885,966,787,685,637,15,530,776,136,758)
UNION
  SELECT b9 FROM t9
   WHERE (a9=548 OR 936=e9)
      OR (146=c9 AND 942=e9 AND a9=297)
      OR (c9=857 OR e9=947 OR e9=947)
UNION ALL
  SELECT a4 FROM t4
   WHERE (39=c4 AND a4=412 AND d4=303 AND e4=352 AND b4=476)
EXCEPT
  SELECT d2 FROM t2
   WHERE NOT ((489=b2))
UNION ALL
  SELECT d6 FROM t6
   WHERE (a6=585 OR 543=c6 OR 452=a6)
      OR d6 in (161,2,750,711,786)
      OR (100=e6 OR 66=d6 OR 66=d6)
EXCEPT
  SELECT a5 FROM t5
   WHERE NOT ((e5=287)
           OR c5 in (545,471,734,825,915,657,249,544,681,3,978,668,733,351))
EXCEPT
  SELECT b7 FROM t7
   WHERE NOT ((d7=524 AND a7=350 AND 764=c7 AND 793=e7)
           OR (815=e7))

query T valuesort
  SELECT a3 FROM t3
   WHERE (727=a3 AND d3=642)
      OR (542=b3)
UNION ALL
  SELECT c1 FROM t1
   WHERE (654=c1 AND 586=d1 AND 435=b1)
EXCEPT
  SELECT d7 FROM t7
   WHERE NOT (c7 in (397,302,377,934,564,764,389,375,981,887,98,12,280,341))
EXCEPT
  SELECT d2 FROM t2
   WHERE NOT ((818=b2 AND 315=d2 AND 805=a2 AND e2=783)
           OR (27=c2 AND d2=541 AND e2=434 AND b2=812))
UNION
  SELECT b9 FROM t9
   WHERE (d9=553)
      OR (d9=744 AND c9=332 AND b9=239 AND 267=e9)
      OR (706=a9)
EXCEPT
  SELECT d5 FROM t5
   WHERE NOT ((e5=352 AND 817=a5 AND 274=d5 AND 601=c5 AND b5=56))
EXCEPT
  SELECT d8 FROM t8
   WHERE NOT ((671=a8)
           OR (c8=683 OR 136=c8 OR 211=b8))

query T valuesort
  SELECT c6 FROM t6
   WHERE e6 in (257,489,711,668,731)
EXCEPT
  SELECT a7 FROM t7
   WHERE NOT (d7 in (939,527,34,603,192,172))
UNION
  SELECT a3 FROM t3
   WHERE b3 in (321,464,835,595,651,407,649,632,334,224,211,914,761,317)
      OR (b3=57 AND d3=913 AND 375=e3)
UNION ALL
  SELECT b4 FROM t4
   WHERE (837=e4 OR c4=712 OR d4=797)
      OR a4 in (997,271,746,773,662,752,901)
EXCEPT
  SELECT e2 FROM t2
   WHERE NOT ((b2=864 OR 268=a2 OR 818=b2))

query T valuesort
  SELECT d2 FROM t2
   WHERE (e2=535 AND 543=a2)
      OR (161=c2 OR 548=e2 OR 516=d2)
      OR (311=b2 AND a2=863 AND c2=810)
EXCEPT
  SELECT e5 FROM t5
   WHERE NOT ((e5=655)
           OR b5 in (161,951,605,193,609,234,759,193,526,26,897,784))
EXCEPT
  SELECT c4 FROM t4
   WHERE NOT ((c4=417 OR 469=a4 OR d4=449))
EXCEPT
  SELECT c6 FROM t6
   WHERE NOT (c6 in (961,768,399)
           OR (d6=223)
           OR (974=b6))
EXCEPT
  SELECT b7 FROM t7
   WHERE NOT (a7 in (350,952,120,542,894,325,709,865,386,589))
EXCEPT
  SELECT b8 FROM t8
   WHERE NOT ((953=d8 OR 314=a8))
EXCEPT
  SELECT b9 FROM t9
   WHERE NOT (d9 in (912,316,601,270,660,439,688,142)
           OR (a9=11 OR 218=a9 OR 239=b9))

query T valuesort
  SELECT c8 FROM t8
   WHERE (c8=979 AND 124=d8)
INTERSECT
  SELECT b7 FROM t7
   WHERE NOT ((827=e7)
           OR d7 in (547,442,492,292,709,956,436,777,507,712,795,925,192,549))
INTERSECT
  SELECT c9 FROM t9
   WHERE NOT ((240=a9 AND 149=b9 AND d9=987 AND e9=713 AND 476=c9)
           OR c9 in (739,894,834,64,278,60,711))
INTERSECT
  SELECT b1 FROM t1
   WHERE NOT ((902=d1 OR 571=d1))
UNION ALL
  SELECT a5 FROM t5
   WHERE (695=b5 OR c5=797)
      OR (d5=963)
      OR (276=d5)
UNION
  SELECT b4 FROM t4
   WHERE (e4=792 OR d4=821 OR 6=e4)
EXCEPT
  SELECT c2 FROM t2
   WHERE NOT ((549=b2 OR 242=e2)
           OR (a2=283 OR e2=548))
EXCEPT
  SELECT c3 FROM t3
   WHERE NOT (e3 in (365,823,449,83,526,876,837)
           OR (224=b3 OR c3=549))
EXCEPT
  SELECT b6 FROM t6
   WHERE NOT ((463=d6 AND a6=971)
           OR b6 in (967,6,232,276,202,993,350,601,511,0,214,583,876,716))

query T valuesort
  SELECT d7 FROM t7
   WHERE (722=d7 OR 596=c7)
      OR (291=e7 AND c7=626 AND b7=374 AND d7=148 AND 542=a7)
      OR (a7=622 OR c7=441 OR e7=408)
EXCEPT
  SELECT c2 FROM t2
   WHERE NOT (d2 in (365,23,836,345,362,760,813,79,367,216,126,833,844,177)
           OR b2 in (779,628,799,173,351,418,784,599,311)
           OR (936=e2 OR e2=366 OR a2=442))
UNION ALL
  SELECT d3 FROM t3
   WHERE (e3=467 OR 425=e3)
      OR d3 in (238,967,501,582,650,231,895,170,782,429,554,17)
      OR b3 in (837,146,411)
UNION
  SELECT c6 FROM t6
   WHERE (276=b6 AND e6=847 AND a6=966)
UNION
  SELECT d4 FROM t4
   WHERE (728=c4)
      OR (264=d4)
EXCEPT
  SELECT c8 FROM t8
   WHERE NOT (e8 in (548,944,221,533,942)
           OR (46=a8 OR 944=e8))
EXCEPT
  SELECT d5 FROM t5
   WHERE NOT ((625=c5 AND b5=771 AND a5=821 AND d5=810 AND e5=184)
           OR (555=d5 AND a5=330 AND b5=860 AND c5=437 AND e5=899))
EXCEPT
  SELECT b1 FROM t1
   WHERE NOT ((d1=130 AND 707=a1 AND 880=c1)
           OR (337=a1 OR 534=e1 OR a1=643)
           OR b1 in (446,995,259,355,414,593,942,211,645))
UNION
  SELECT c9 FROM t9
   WHERE e9 in (445,195,995,965)
      OR (368=e9 OR d9=732)

query T valuesort
  SELECT e6 FROM t6
   WHERE (276=b6 AND d6=911 AND 807=c6 AND e6=847)
INTERSECT
  SELECT a7 FROM t7
   WHERE NOT ((e7=422)
           OR (c7=174 AND e7=288 AND b7=764 AND a7=35 AND d7=594))
UNION
  SELECT a3 FROM t3
   WHERE a3 in (186,644,197,995,296,895,275,379,818,429,727)

query T valuesort
  SELECT e7 FROM t7
   WHERE (142=d7 AND b7=222 AND a7=288)
UNION ALL
  SELECT c8 FROM t8
   WHERE (e8=106)
EXCEPT
  SELECT e3 FROM t3
   WHERE NOT ((792=c3 OR 170=d3)
           OR (c3=970 AND e3=131)
           OR (c3=651 OR 821=e3 OR e3=774))
UNION
  SELECT b5 FROM t5
   WHERE b5 in (484,183,975,846,685,320,143,234,526,971,640,205)
      OR d5 in (752,858,649,782)
UNION
  SELECT b1 FROM t1
   WHERE (a1=853 OR b1=523)

query T valuesort
  SELECT b3 FROM t3
   WHERE (966=c3 AND 814=e3 AND b3=246)
      OR e3 in (929,221,120,25,470,321,393,494,932,131)
      OR (899=a3 AND 240=b3)
INTERSECT
  SELECT a8 FROM t8
   WHERE NOT ((725=b8 OR 561=e8 OR c8=943)
           OR (d8=683))
EXCEPT
  SELECT c4 FROM t4
   WHERE NOT ((587=b4 AND 393=c4 AND 317=d4 AND 290=e4 AND a4=778)
           OR (c4=44 OR 451=c4 OR 781=d4))
EXCEPT
  SELECT b7 FROM t7
   WHERE NOT ((878=b7 AND d7=457 AND 661=c7 AND 795=a7 AND e7=98)
           OR (d7=594))

query T valuesort
  SELECT b3 FROM t3
   WHERE (b3=816 AND a3=245)
UNION
  SELECT d8 FROM t8
   WHERE a8 in (957,150,838,701,239,241)
      OR (388=a8 AND 943=c8 AND b8=175 AND 862=d8)
UNION ALL
  SELECT e9 FROM t9
   WHERE (188=c9 OR 488=a9 OR 967=d9)
      OR (316=d9)
      OR (672=e9 AND 807=c9)
UNION ALL
  SELECT e2 FROM t2
   WHERE a2 in (789,308,718,495,709,123,691,760,189,725)
UNION ALL
  SELECT e4 FROM t4
   WHERE (a4=60 AND b4=802 AND 725=e4)
UNION ALL
  SELECT a6 FROM t6
   WHERE (a6=870)
      OR (300=a6 AND e6=95 AND 267=b6)
      OR (a6=811)
EXCEPT
  SELECT c1 FROM t1
   WHERE NOT ((a1=395 AND 674=b1))
EXCEPT
  SELECT a5 FROM t5
   WHERE NOT ((313=c5)
           OR (d5=479 AND e5=725))
UNION
  SELECT c7 FROM t7
   WHERE d7 in (526,891,594,142,134,785,781,442,114,675,722,795)
      OR b7 in (191,867,396,636,693,813,30,396,374,808,480)

query T valuesort
  SELECT d7 FROM t7
   WHERE (983=e7)
      OR (c7=648 AND 39=e7 AND a7=267 AND 397=d7 AND 837=b7)
UNION
  SELECT c1 FROM t1
   WHERE d1 in (602,666,913,942,416,655)
      OR (232=d1)
      OR e1 in (171,904,522,96,161,113,558,355,625,766,78)
UNION ALL
  SELECT a4 FROM t4
   WHERE d4 in (706,777,364)
      OR (e4=376 OR 163=e4)

query T valuesort
  SELECT d2 FROM t2
   WHERE (22=c2 AND b2=635 AND 428=e2 AND 371=a2)
      OR (546=d2)
UNION ALL
  SELECT d1 FROM t1
   WHERE (712=d1 OR 283=a1 OR 328=e1)
      OR b1 in (255,556,259,942,303)
UNION
  SELECT c4 FROM t4
   WHERE (c4=993)
      OR e4 in (850,916,719,6,223,619,179)
UNION ALL
  SELECT c9 FROM t9
   WHERE a9 in (553,474,683,457,959,365,102,115,463,215,660,326,821,919)
UNION ALL
  SELECT b8 FROM t8
   WHERE (e8=476 OR a8=402 OR c8=851)
      OR (c8=299 AND 295=e8 AND a8=153 AND 696=b8)
      OR (a8=564 OR c8=668)
UNION
  SELECT c3 FROM t3
   WHERE (a3=245)
      OR b3 in (595,713,720,505,566)
UNION
  SELECT c6 FROM t6
   WHERE (c6=328 AND e6=274 AND d6=197 AND 861=a6 AND b6=906)
      OR a6 in (436,706,564,222,173,643,861,718,469,386,238,251,540,366)
UNION ALL
  SELECT c5 FROM t5
   WHERE (868=c5 AND b5=393 AND 710=a5 AND 792=d5 AND 610=e5)
      OR c5 in (130,634,489,443,697,570,756,187,689,441,437,514,924)
      OR (b5=424 OR 242=a5 OR b5=336)

query T valuesort
  SELECT d7 FROM t7
   WHERE (306=b7 OR 816=c7 OR 508=c7)
      OR b7 in (923,670,220,841,996,764,308,813,861,832,59,234,517)
      OR (d7=315 AND 375=c7 AND a7=290 AND 422=e7 AND b7=257)
INTERSECT
  SELECT d8 FROM t8
   WHERE NOT ((d8=472 OR a8=184)
           OR (a8=502))
EXCEPT
  SELECT c1 FROM t1
   WHERE NOT (b1 in (60,633,211,37,149,254,850,426,788))
EXCEPT
  SELECT a3 FROM t3
   WHERE NOT (d3 in (168,737,624,708)
           OR (b3=595))
UNION ALL
  SELECT a5 FROM t5
   WHERE (495=d5 AND b5=320)
UNION ALL
  SELECT c2 FROM t2
   WHERE (714=b2 AND 251=c2)
      OR (e2=777 AND c2=150)

query T valuesort
  SELECT e4 FROM t4
   WHERE (a4=746)
      OR c4 in (433,471,658,489,712,358,794,513,201,998,74,725)
EXCEPT
  SELECT e8 FROM t8
   WHERE NOT (a8 in (210,256,183,312,90))
EXCEPT
  SELECT d2 FROM t2
   WHERE NOT (e2 in (427,963,366)
           OR (d2=886 AND a2=785 AND 788=e2 AND b2=90)
           OR (415=a2))
EXCEPT
  SELECT c6 FROM t6
   WHERE NOT ((c6=910 AND e6=439)
           OR b6 in (963,906,662))
UNION
  SELECT e5 FROM t5
   WHERE a5 in (522,342,478,796,148,514,878,349,586,960,599,235)
      OR (a5=513)
EXCEPT
  SELECT e3 FROM t3
   WHERE NOT ((368=b3))
UNION
  SELECT d9 FROM t9
   WHERE (c9=643 AND d9=660 AND a9=56 AND b9=171)
      OR (807=c9 AND e9=672 AND d9=332)
UNION ALL
  SELECT c7 FROM t7
   WHERE c7 in (816,262,688,565,548,770,280,145,589)
      OR (d7=177 AND 707=a7)
      OR e7 in (439,183,462,215,460)
EXCEPT
  SELECT a1 FROM t1
   WHERE NOT ((e1=747 OR b1=283 OR 717=e1)
           OR e1 in (838,717,625,772,222,436,402,921,815,56)
           OR c1 in (864,481,486,805))

query T valuesort
  SELECT b6 FROM t6
   WHERE (84=c6 AND 489=e6 AND a6=568)
      OR e6 in (761,100,431,754,67,574)
UNION ALL
  SELECT d3 FROM t3
   WHERE (368=a3 AND e3=728 AND d3=220 AND c3=175)
      OR (e3=807)
      OR (376=a3 AND 860=b3 AND 826=c3 AND e3=425 AND d3=273)
UNION
  SELECT b8 FROM t8
   WHERE b8 in (992,487,394)
      OR c8 in (789,821,225,117,188,461,534,233,648,790,647,901)
      OR c8 in (321,160,273,979,705,374,93,321,762,394,799,88,789,196)

query T valuesort
  SELECT e9 FROM t9
   WHERE d9 in (235,104,332,818,763,111,960,525,495,95,681,554)
      OR (50=b9 AND 853=c9 AND e9=699 AND d9=145 AND a9=924)
      OR d9 in (554,965,495,744,86,922,628,967,759,770,608,332)
UNION ALL
  SELECT a4 FROM t4
   WHERE d4 in (639,481,549,229,223,25,658,929,593,988,680,968,249)
      OR (c4=433 AND e4=631 AND 524=d4 AND 700=b4)
UNION
  SELECT a1 FROM t1
   WHERE a1 in (324,898,231)
      OR (e1=288 OR 870=c1)
EXCEPT
  SELECT e5 FROM t5
   WHERE NOT (c5 in (729,544,672,613,56,625,18,598,809)
           OR c5 in (696,628,819,678,545))
UNION ALL
  SELECT c3 FROM t3
   WHERE (e3=266 AND b3=927 AND c3=688 AND 599=d3 AND 186=a3)
      OR (549=a3 AND d3=149)
UNION
  SELECT e6 FROM t6
   WHERE (6=b6 AND 439=e6 AND 910=c6)
EXCEPT
  SELECT b2 FROM t2
   WHERE NOT ((e2=965)
           OR (c2=160 OR 414=b2 OR 389=d2))
EXCEPT
  SELECT b8 FROM t8
   WHERE NOT (b8 in (690,647,182,503,162,951,155,397,891,145,370,704,394))
UNION ALL
  SELECT a7 FROM t7
   WHERE (552=e7 AND 916=a7)

query T valuesort
  SELECT e5 FROM t5
   WHERE e5 in (327,225,661,594,150,929)
      OR e5 in (390,437,104,352,621,661,640,702)
      OR b5 in (390,559,159,771,606,695,326,820,878)
EXCEPT
  SELECT c8 FROM t8
   WHERE NOT ((e8=199 OR 459=b8 OR 952=a8))
EXCEPT
  SELECT d6 FROM t6
   WHERE NOT ((d6=256 AND a6=240 AND e6=523 AND c6=282 AND b6=158))
UNION
  SELECT b9 FROM t9
   WHERE a9 in (488,215,584,318,905,17,685,356,811,830,553,240,115,78)
UNION ALL
  SELECT b1 FROM t1
   WHERE (825=a1 OR 537=c1)
UNION ALL
  SELECT e3 FROM t3
   WHERE (b3=788 AND 548=d3 AND c3=265 AND 386=a3 AND 136=e3)
UNION ALL
  SELECT a4 FROM t4
   WHERE (105=d4)

query T valuesort
  SELECT c8 FROM t8
   WHERE (945=d8 AND 56=e8 AND 321=c8 AND 862=b8 AND 312=a8)
      OR c8 in (998,656,136,93)
      OR c8 in (298,844,965,111,5,979)
INTERSECT
  SELECT a7 FROM t7
   WHERE NOT ((d7=684 AND b7=266 AND 688=e7 AND 478=c7 AND a7=325))
INTERSECT
  SELECT d5 FROM t5
   WHERE NOT ((445=a5 AND e5=386 AND c5=809)
           OR (855=d5 AND e5=258 AND 250=c5 AND b5=609 AND 685=a5)
           OR b5 in (847,822,605,506,820,231))
EXCEPT
  SELECT a6 FROM t6
   WHERE NOT ((c6=749)
           OR (a6=436))
UNION ALL
  SELECT e9 FROM t9
   WHERE (d9=763 AND e9=841 AND a9=11 AND c9=587 AND b9=803)
      OR (878=d9 OR c9=90)
EXCEPT
  SELECT c1 FROM t1
   WHERE NOT ((815=e1 OR 25=d1 OR e1=255))
UNION
  SELECT c3 FROM t3
   WHERE (a3=499)
EXCEPT
  SELECT a4 FROM t4
   WHERE NOT ((e4=372 OR a4=450)
           OR (a4=513))

query T valuesort
  SELECT d9 FROM t9
   WHERE (388=e9 OR 82=e9 OR 125=b9)
UNION ALL
  SELECT a8 FROM t8
   WHERE c8 in (775,100,799,154,187,521,979,844,442,907,321,486,149,821)
      OR d8 in (58,499,494,715,880,474,384,743,950)
      OR e8 in (510,204,422,485,866,377,592,942,548,455,349)
EXCEPT
  SELECT e3 FROM t3
   WHERE NOT ((a3=971 AND c3=641 AND 236=b3 AND 967=d3))
UNION
  SELECT c7 FROM t7
   WHERE (e7=971 OR a7=62)

query T valuesort
  SELECT d6 FROM t6
   WHERE e6 in (750,1,466,654,225,74,969,798,395)
      OR e6 in (257,588,329)
      OR (604=a6)
UNION ALL
  SELECT c9 FROM t9
   WHERE (b9=361 AND a9=14 AND e9=934 AND c9=526)
UNION ALL
  SELECT d1 FROM t1
   WHERE (c1=870 AND b1=711)
      OR b1 in (91,696,280,75,362,652,266,233,26,807,808)
EXCEPT
  SELECT e2 FROM t2
   WHERE NOT (e2 in (512,925,524,673,654,963))

query T valuesort
  SELECT a2 FROM t2
   WHERE d2 in (772,843,14,723,317,887,351,663)
      OR (222=a2 OR 389=d2)
      OR (346=c2 OR 964=c2 OR c2=103)
INTERSECT
  SELECT c7 FROM t7
   WHERE NOT ((b7=191)
           OR (78=c7 AND a7=854 AND 939=d7)
           OR (e7=553 OR c7=257 OR 638=e7))

query T valuesort
  SELECT e7 FROM t7
   WHERE (590=d7)
      OR c7 in (648,333,764)
      OR e7 in (282,356,638)
UNION
  SELECT c2 FROM t2
   WHERE (524=e2 OR 548=e2)
      OR (b2=543)
EXCEPT
  SELECT d8 FROM t8
   WHERE NOT ((767=d8)
           OR (a8=402 AND e8=620 AND 168=c8 AND 542=b8 AND 735=d8)
           OR (365=b8 AND 730=c8 AND 296=e8))
UNION
  SELECT d6 FROM t6
   WHERE b6 in (427,774,6,348,606,662,782,351,583,537,565,511)
UNION ALL
  SELECT a1 FROM t1
   WHERE e1 in (288,763,313)
      OR e1 in (11,125,558,181,117,363,568,367,402,504,813,148)
      OR (d1=550 OR d1=310)
UNION ALL
  SELECT d9 FROM t9
   WHERE (757=a9)
      OR (515=c9 OR 553=d9 OR e9=245)
      OR (d9=646)
UNION ALL
  SELECT d5 FROM t5
   WHERE (a5=357 OR 530=b5)
      OR (293=c5)
      OR (e5=899)
UNION ALL
  SELECT b4 FROM t4
   WHERE (429=d4 AND e4=223)
      OR d4 in (349,549,661,481,197,877,973,323,706,55,639,987)
EXCEPT
  SELECT a3 FROM t3
   WHERE NOT ((c3=353 AND b3=434))

query T valuesort
  SELECT e7 FROM t7
   WHERE (a7=869 AND b7=868 AND c7=523 AND 979=e7)
      OR b7 in (655,305,514,861,813,813,24,424)
      OR (549=d7 AND c7=103 AND 973=b7)
EXCEPT
  SELECT a8 FROM t8
   WHERE NOT ((205=b8 OR c8=866)
           OR (155=b8 OR d8=738)
           OR (b8=952 AND 484=d8))
UNION
  SELECT e6 FROM t6
   WHERE (449=b6)
      OR (989=b6)
      OR (e6=395)
UNION
  SELECT a1 FROM t1
   WHERE (b1=857 AND c1=379 AND d1=942)
      OR b1 in (227,420,956,853,115,569,269,42,278,944,255,674)
      OR b1 in (850,670,762,440,914,589)

query T valuesort
  SELECT a5 FROM t5
   WHERE (b5=772 OR b5=506)
      OR (d5=814 OR d5=419)
      OR a5 in (153,667,89,615)
INTERSECT
  SELECT b4 FROM t4
   WHERE NOT ((c4=82)
           OR (c4=177))
EXCEPT
  SELECT d2 FROM t2
   WHERE NOT (b2 in (414,532,264,938,90,527)
           OR (923=e2 AND c2=137))
UNION
  SELECT d6 FROM t6
   WHERE d6 in (600,463,578,590,428,855,151,991,66,36,797)
      OR (946=e6 AND 585=a6 AND c6=308 AND b6=378 AND 901=d6)

query T valuesort
  SELECT a7 FROM t7
   WHERE b7 in (280,362,921)
      OR (c7=934 AND 599=d7)
      OR a7 in (62,158,136,720,31,48,356)
EXCEPT
  SELECT e9 FROM t9
   WHERE NOT ((c9=905 AND a9=18)
           OR b9 in (170,348,926,301))
UNION ALL
  SELECT e6 FROM t6
   WHERE e6 in (91,633,495,972,840)
      OR (c6=415 AND d6=846 AND 993=b6 AND a6=414)
EXCEPT
  SELECT c5 FROM t5
   WHERE NOT ((805=c5 AND 54=a5 AND 716=e5))
EXCEPT
  SELECT b1 FROM t1
   WHERE NOT ((902=d1 OR d1=459))
EXCEPT
  SELECT d4 FROM t4
   WHERE NOT ((271=c4 AND b4=579)
           OR c4 in (357,424,301,513,157,177))
UNION ALL
  SELECT d3 FROM t3
   WHERE (e3=823 AND d3=662 AND 788=a3 AND 334=b3 AND c3=243)
      OR (192=e3 OR 560=a3)

query T valuesort
  SELECT e6 FROM t6
   WHERE b6 in (461,825,230,392,629)
      OR (876=b6 AND 237=e6 AND c6=522)
      OR e6 in (91,754,431,969,257,90,6)
INTERSECT
  SELECT e7 FROM t7
   WHERE NOT (a7 in (240,651,158,233)
           OR (857=c7 OR 201=e7)
           OR (d7=547))
EXCEPT
  SELECT c8 FROM t8
   WHERE NOT ((741=b8 AND 632=e8 AND 935=c8 AND 814=d8 AND 954=a8))
EXCEPT
  SELECT b9 FROM t9
   WHERE NOT (e9 in (868,335,477,788,942,647,750)
           OR (647=e9 AND 808=d9 AND a9=326 AND c9=253 AND 880=b9)
           OR b9 in (171,312,95,26,125,245,803,688,789,496,900))
UNION ALL
  SELECT e1 FROM t1
   WHERE b1 in (525,254,584,26,944,523,213,132,563,43,255,857,853,350)
      OR (732=e1 AND 446=b1 AND d1=323)
      OR (d1=215)

query T valuesort
  SELECT c8 FROM t8
   WHERE (790=b8 OR e8=736 OR 513=c8)
      OR e8 in (980,242,106,175,966,972,579,223,864,273,421)
EXCEPT
  SELECT d7 FROM t7
   WHERE NOT (a7 in (120,416,350,62,925)
           OR (d7=367 AND 500=a7 AND 705=c7 AND 832=b7))
UNION ALL
  SELECT d6 FROM t6
   WHERE c6 in (146,942,122,992,320,65,522,4,369,561,11,928)
UNION ALL
  SELECT d2 FROM t2
   WHERE (c2=45 AND b2=628 AND 655=e2)
      OR (90=b2)
      OR (d2=643 AND e2=655 AND c2=45 AND b2=628 AND a2=262)
UNION ALL
  SELECT e3 FROM t3
   WHERE (76=b3 AND c3=80 AND 600=e3)
      OR (355=b3)

query T valuesort
  SELECT e6 FROM t6
   WHERE (e6=673 OR 211=a6)
EXCEPT
  SELECT d2 FROM t2
   WHERE NOT ((898=a2)
           OR (e2=441 AND b2=170 AND 555=d2 AND c2=160)
           OR c2 in (141,966,981,346,746,729,625))
EXCEPT
  SELECT b5 FROM t5
   WHERE NOT ((b5=84 OR 391=b5)
           OR (b5=874 AND a5=235 AND 764=e5))
EXCEPT
  SELECT d4 FROM t4
   WHERE NOT ((b4=286 OR 286=b4 OR 389=b4))
UNION
  SELECT b1 FROM t1
   WHERE (b1=853 OR 766=b1)
UNION
  SELECT a7 FROM t7
   WHERE a7 in (240,452,806,31,925,165,386,691,114,876,665,97)
      OR a7 in (651,350,593,386,982,27,97,500,233,795)
UNION ALL
  SELECT c3 FROM t3
   WHERE (c3=472 AND 886=d3)
EXCEPT
  SELECT e8 FROM t8
   WHERE NOT ((761=d8)
           OR (640=b8 AND d8=682 AND 942=e8 AND 541=c8)
           OR e8 in (463,859,476,646,221))

query T valuesort
  SELECT a7 FROM t7
   WHERE (b7=562 OR 79=d7 OR a7=6)
      OR c7 in (441,22,301,853,795,860,249,966,691,435,954,488)
INTERSECT
  SELECT b3 FROM t3
   WHERE NOT ((c3=494 AND 947=a3)
           OR (d3=624))
UNION ALL
  SELECT b1 FROM t1
   WHERE b1 in (857,440,259,42,726,525,662,993,802,227,944,281,5,49)
      OR a1 in (382,668,629,406,461,963)
      OR c1 in (716,375,387,402,252,343,608,3,366,675)
UNION
  SELECT e2 FROM t2
   WHERE (820=e2 AND d2=704 AND b2=292 AND 268=a2 AND c2=275)
      OR b2 in (220,859,173,148,414)
      OR (a2=545 OR d2=836)
EXCEPT
  SELECT e9 FROM t9
   WHERE NOT ((133=e9 OR e9=619)
           OR (420=d9 AND a9=548 AND 792=e9 AND c9=711 AND b9=832)
           OR a9 in (821,365,335,115,553,18,435,548,611,811,847,104))
EXCEPT
  SELECT a6 FROM t6
   WHERE NOT ((677=c6 AND b6=300 AND 692=a6 AND e6=360 AND d6=561)
           OR e6 in (633,395,100))
EXCEPT
  SELECT b5 FROM t5
   WHERE NOT (b5 in (433,723,674,605,526,393,179,759,260,320,705))
EXCEPT
  SELECT b8 FROM t8
   WHERE NOT (d8 in (456,124,96,116,615,761,327,486,811,833,366))
EXCEPT
  SELECT c4 FROM t4
   WHERE NOT (e4 in (349,123,677,491)
           OR (e4=438 OR c4=84))

query T valuesort
  SELECT d3 FROM t3
   WHERE (677=b3)
      OR a3 in (651,500,865,386,364,763,234,788,70,611)
UNION ALL
  SELECT b9 FROM t9
   WHERE (19=b9 OR a9=78 OR a9=72)
      OR (87=c9 AND 602=d9 AND b9=26)
      OR (a9=964 AND 855=d9 AND 653=e9 AND b9=783)
EXCEPT
  SELECT b6 FROM t6
   WHERE NOT ((962=b6 AND 185=d6))
EXCEPT
  SELECT a7 FROM t7
   WHERE NOT (b7 in (266,495,175))
EXCEPT
  SELECT d8 FROM t8
   WHERE NOT ((a8=841 AND e8=700)
           OR (973=c8 AND e8=864 AND d8=60)
           OR (d8=112))
EXCEPT
  SELECT d2 FROM t2
   WHERE NOT ((b2=313 OR 725=b2 OR e2=294))
UNION
  SELECT d4 FROM t4
   WHERE (290=e4 AND d4=317 AND 778=a4 AND 587=b4)

query T valuesort
  SELECT a2 FROM t2
   WHERE (d2=743)
INTERSECT
  SELECT c1 FROM t1
   WHERE NOT ((787=c1 OR d1=274))

query T valuesort
  SELECT b9 FROM t9
   WHERE d9 in (332,161,439,23,601,960,389,608,399)
UNION ALL
  SELECT e8 FROM t8
   WHERE e8 in (22,260,476,904,981,383,349,955,578)
UNION
  SELECT b1 FROM t1
   WHERE c1 in (955,775,670,230,534,852,805,481,168,175,315,980,482)
      OR e1 in (931,772,949,210,956,222,161,96,300,228,355,95,209,522)
      OR (949=e1 AND 505=a1 AND 736=b1 AND 550=d1)
EXCEPT
  SELECT b2 FROM t2
   WHERE NOT ((a2=691))
EXCEPT
  SELECT d4 FROM t4
   WHERE NOT (c4 in (357,767,703,667,536)
           OR b4 in (476,964,442))
EXCEPT
  SELECT e5 FROM t5
   WHERE NOT ((271=e5 OR 521=d5))
UNION
  SELECT a7 FROM t7
   WHERE c7 in (529,78,142,488,661,906)
      OR (6=e7 AND a7=665 AND 921=b7 AND c7=249)
UNION ALL
  SELECT e3 FROM t3
   WHERE (4=e3 AND a3=576)
      OR (826=d3 AND a3=143 AND 656=c3 AND 145=b3 AND 977=e3)
EXCEPT
  SELECT b6 FROM t6
   WHERE NOT ((e6=431)
           OR d6 in (974,337,467)
           OR (b6=974 AND 564=a6))

query T valuesort
  SELECT c2 FROM t2
   WHERE (813=d2 OR d2=547)
      OR (e2=148 AND d2=332 AND b2=546 AND 415=a2)
      OR (b2=779 AND 539=d2)
UNION
  SELECT c8 FROM t8
   WHERE (a8=838 AND 108=d8 AND 454=b8 AND e8=592)
EXCEPT
  SELECT a7 FROM t7
   WHERE NOT ((974=d7 OR 273=b7 OR b7=798)
           OR (276=b7 AND 154=e7 AND 28=d7 AND a7=863))
UNION
  SELECT b3 FROM t3
   WHERE (211=b3)
      OR c3 in (963,326,134,900,890,133,594,970)
      OR (871=d3 OR 822=a3)
UNION
  SELECT a5 FROM t5
   WHERE (a5=114 OR 929=a5)
      OR (702=e5)
UNION
  SELECT e1 FROM t1
   WHERE c1 in (898,15,67,387,309,315,629,136,788,299,607,200,805)
UNION
  SELECT d9 FROM t9
   WHERE (913=b9 OR d9=347 OR 601=d9)
      OR (c9=739 AND 295=a9)
UNION ALL
  SELECT c6 FROM t6
   WHERE (34=d6 AND 84=c6)
      OR d6 in (797,446,277,366,689,560,453,852,151,197)

query T valuesort
  SELECT e4 FROM t4
   WHERE c4 in (74,658,273,690,513,586,274,319,417,0,768)
      OR (821=d4 OR d4=881)
UNION ALL
  SELECT b7 FROM t7
   WHERE d7 in (28,675,891,91,139,549,785,828,148,837)
EXCEPT
  SELECT d1 FROM t1
   WHERE NOT ((762=c1)
           OR (d1=254 AND 552=a1 AND c1=629 AND b1=310))

query T valuesort
  SELECT a1 FROM t1
   WHERE c1 in (379,200,846,416,683,289,152,758,88,526,976,639)
UNION
  SELECT c6 FROM t6
   WHERE (821=a6)
      OR e6 in (946,737,840)
      OR d6 in (469,424,674,807,405,711,974,974,192,869,970,991)

query T valuesort
  SELECT c5 FROM t5
   WHERE (551=c5)
      OR (e5=708 OR 599=c5)
INTERSECT
  SELECT b7 FROM t7
   WHERE NOT (c7 in (232,146,142,557,931,523,575,596)
           OR (c7=376 AND d7=183 AND e7=432)
           OR (22=a7 OR c7=725))
UNION
  SELECT e8 FROM t8
   WHERE (a8=341)
EXCEPT
  SELECT e3 FROM t3
   WHERE NOT ((76=b3 AND 184=a3)
           OR (379=a3 OR a3=879))
EXCEPT
  SELECT a2 FROM t2
   WHERE NOT ((d2=249 OR d2=953 OR b2=857)
           OR (e2=812))
UNION ALL
  SELECT a1 FROM t1
   WHERE (352=a1 AND 523=b1 AND 816=e1)
      OR c1 in (530,172,915,177,168,531)
      OR (267=a1)

query T valuesort
  SELECT e6 FROM t6
   WHERE (d6=269 AND 601=b6 AND a6=540 AND c6=28)
      OR (c6=12)
UNION ALL
  SELECT c3 FROM t3
   WHERE c3 in (81,84,467,75,929,477,986,763)
      OR (e3=837)
      OR (38=d3 AND c3=792)
UNION
  SELECT b7 FROM t7
   WHERE (827=e7 AND 557=c7 AND 22=a7 AND 979=b7)
      OR (a7=649 AND 944=c7 AND d7=765)
EXCEPT
  SELECT b4 FROM t4
   WHERE NOT ((a4=792 OR e4=236)
           OR c4 in (936,732,749,178,513)
           OR e4 in (252,236,390,557,38,381,415,631,312,151,376,397,677,858))
UNION ALL
  SELECT b1 FROM t1
   WHERE (117=e1)
UNION ALL
  SELECT b8 FROM t8
   WHERE (561=a8)
EXCEPT
  SELECT b9 FROM t9
   WHERE NOT (c9 in (87,272,836,288,734,811,60,905,547,601,98,992)
           OR (301=b9 AND 349=a9))

query II rowsort join0
SELECT e3+491, a7
  FROM t3, t7
 WHERE a3 in (637,591,710,644)
   AND e7=280

query II rowsort join0
SELECT e3+491, a7
  FROM t7, t3
 WHERE a3 in (637,591,710,644)
   AND e7=280

query II rowsort join0
SELECT e3+491, a7
  FROM t3, t7
 WHERE e7=280
   AND a3 in (637,591,710,644)

query II rowsort join0
SELECT e3+491, a7
  FROM t7, t3
 WHERE e7=280
   AND a3 in (637,591,710,644)

query III rowsort join1
SELECT b7, d5+18+d5, c2
  FROM t7, t2, t5
 WHERE c5=733
   AND a2 in (336,268,304,574,980)
   AND 460=e7

query III rowsort join1
SELECT b7, d5+18+d5, c2
  FROM t2, t5, t7
 WHERE a2 in (336,268,304,574,980)
   AND c5=733
   AND 460=e7

query III rowsort join1
SELECT b7, d5+18+d5, c2
  FROM t5, t7, t2
 WHERE c5=733
   AND 460=e7
   AND a2 in (336,268,304,574,980)

query III rowsort join1
SELECT b7, d5+18+d5, c2
  FROM t2, t5, t7
 WHERE 460=e7
   AND a2 in (336,268,304,574,980)
   AND c5=733

query TT rowsort join2
SELECT x7, x6
  FROM t6, t7
 WHERE e7=506
   AND 269=d6

query TT rowsort join2
SELECT x7, x6
  FROM t7, t6
 WHERE e7=506
   AND 269=d6

query TT rowsort join2
SELECT x7, x6
  FROM t7, t6
 WHERE 269=d6
   AND e7=506

query TT rowsort join2
SELECT x7, x6
  FROM t6, t7
 WHERE 269=d6
   AND e7=506

query IIIII rowsort join3
SELECT b2, d6, b9*398, c1, e3*353+b9
  FROM t1, t9, t6, t3, t2
 WHERE d6 in (885,924,457,578,786,664)
   AND 488=d2
   AND a3=b9
   AND c9=688
   AND a1=d9

query IIIII rowsort join3
SELECT b2, d6, b9*398, c1, e3*353+b9
  FROM t9, t3, t6, t2, t1
 WHERE d6 in (885,924,457,578,786,664)
   AND a3=b9
   AND c9=688
   AND 488=d2
   AND a1=d9

query IIIII rowsort join3
SELECT b2, d6, b9*398, c1, e3*353+b9
  FROM t9, t3, t6, t1, t2
 WHERE 488=d2
   AND d6 in (885,924,457,578,786,664)
   AND a1=d9
   AND c9=688
   AND a3=b9

query IIIII rowsort join3
SELECT b2, d6, b9*398, c1, e3*353+b9
  FROM t6, t2, t9, t1, t3
 WHERE 488=d2
   AND a1=d9
   AND c9=688
   AND a3=b9
   AND d6 in (885,924,457,578,786,664)

query III rowsort join4
SELECT d3+805+a3, d1+426, d2
  FROM t2, t1, t3
 WHERE 395=a1
   AND 913=a3
   AND c2 in (283,810,823,582,233,878,411)

query III rowsort join4
SELECT d3+805+a3, d1+426, d2
  FROM t1, t3, t2
 WHERE 395=a1
   AND 913=a3
   AND c2 in (283,810,823,582,233,878,411)

query III rowsort join4
SELECT d3+805+a3, d1+426, d2
  FROM t1, t2, t3
 WHERE 913=a3
   AND c2 in (283,810,823,582,233,878,411)
   AND 395=a1

query III rowsort join4
SELECT d3+805+a3, d1+426, d2
  FROM t1, t2, t3
 WHERE c2 in (283,810,823,582,233,878,411)
   AND 913=a3
   AND 395=a1

query IIIIIT rowsort join5
SELECT a3, a2, e1, a9+b9, e4*658+b1, x8
  FROM t3, t1, t9, t2, t8, t4
 WHERE (e9=245 OR 35=e9 OR 799=e9)
   AND c2=374
   AND a3=e1
   AND b4 in (408,261,877,33)
   AND e8 in (874,329,487,242,533,56,203,893)
   AND a1 in (380,992,32,189,338,358,161,538)

query IIIIIT rowsort join5
SELECT a3, a2, e1, a9+b9, e4*658+b1, x8
  FROM t1, t2, t9, t8, t3, t4
 WHERE b4 in (408,261,877,33)
   AND c2=374
   AND e8 in (874,329,487,242,533,56,203,893)
   AND a3=e1
   AND (e9=245 OR 35=e9 OR 799=e9)
   AND a1 in (380,992,32,189,338,358,161,538)

query IIIIIT rowsort join5
SELECT a3, a2, e1, a9+b9, e4*658+b1, x8
  FROM t8, t9, t2, t3, t1, t4
 WHERE b4 in (408,261,877,33)
   AND c2=374
   AND (e9=245 OR 35=e9 OR 799=e9)
   AND a1 in (380,992,32,189,338,358,161,538)
   AND e8 in (874,329,487,242,533,56,203,893)
   AND a3=e1

query IIIIIT rowsort join5
SELECT a3, a2, e1, a9+b9, e4*658+b1, x8
  FROM t9, t3, t4, t1, t2, t8
 WHERE a3=e1
   AND a1 in (380,992,32,189,338,358,161,538)
   AND e8 in (874,329,487,242,533,56,203,893)
   AND c2=374
   AND (e9=245 OR 35=e9 OR 799=e9)
   AND b4 in (408,261,877,33)

query II rowsort join6
SELECT d3, c2
  FROM t3, t2
 WHERE a3 in (349,162,576,98,5,376,476,341)
   AND a2=c3

query II rowsort join6
SELECT d3, c2
  FROM t3, t2
 WHERE a2=c3
   AND a3 in (349,162,576,98,5,376,476,341)

query II rowsort join6
SELECT d3, c2
  FROM t2, t3
 WHERE a2=c3
   AND a3 in (349,162,576,98,5,376,476,341)

query II rowsort join6
SELECT d3, c2
  FROM t2, t3
 WHERE a3 in (349,162,576,98,5,376,476,341)
   AND a2=c3

query TTI rowsort join7
SELECT x7, x2, a9+792
  FROM t9, t2, t7
 WHERE 643=c9
   AND e2=692
   AND e7 in (89,587,851,168,503)

query TTI rowsort join7
SELECT x7, x2, a9+792
  FROM t7, t9, t2
 WHERE e7 in (89,587,851,168,503)
   AND 643=c9
   AND e2=692

query TTI rowsort join7
SELECT x7, x2, a9+792
  FROM t9, t7, t2
 WHERE 643=c9
   AND e7 in (89,587,851,168,503)
   AND e2=692

query III rowsort join8
SELECT d4, e3+b4, e6
  FROM t6, t4, t3
 WHERE d6=424
   AND a3=190
   AND 476=b4

query III rowsort join8
SELECT d4, e3+b4, e6
  FROM t4, t3, t6
 WHERE d6=424
   AND a3=190
   AND 476=b4

query III rowsort join8
SELECT d4, e3+b4, e6
  FROM t6, t4, t3
 WHERE 476=b4
   AND a3=190
   AND d6=424

query III rowsort join8
SELECT d4, e3+b4, e6
  FROM t3, t6, t4
 WHERE d6=424
   AND a3=190
   AND 476=b4

query TII rowsort join9
SELECT x2, e4*388, d3
  FROM t3, t4, t2
 WHERE 579=b4
   AND 284=d2
   AND (644=a3 OR a3=197)

query TII rowsort join9
SELECT x2, e4*388, d3
  FROM t3, t2, t4
 WHERE (644=a3 OR a3=197)
   AND 284=d2
   AND 579=b4

query TII rowsort join9
SELECT x2, e4*388, d3
  FROM t4, t3, t2
 WHERE 579=b4
   AND 284=d2
   AND (644=a3 OR a3=197)

query TII rowsort join9
SELECT x2, e4*388, d3
  FROM t3, t4, t2
 WHERE (644=a3 OR a3=197)
   AND 284=d2
   AND 579=b4

query IIITII rowsort join10
SELECT d1*631, a4+637+a1, a8, x6, c2, e3
  FROM t6, t8, t2, t3, t4, t1
 WHERE e8 in (548,632,981,646,63,487,859)
   AND a2 in (651,814,709,445,863)
   AND d6 in (729,729,924,807,458,956)
   AND (a3=490 OR a3=697)
   AND (114=b4 OR b4=802)
   AND a1=553

query IIITII rowsort join10
SELECT d1*631, a4+637+a1, a8, x6, c2, e3
  FROM t6, t1, t4, t3, t2, t8
 WHERE d6 in (729,729,924,807,458,956)
   AND e8 in (548,632,981,646,63,487,859)
   AND (114=b4 OR b4=802)
   AND a1=553
   AND a2 in (651,814,709,445,863)
   AND (a3=490 OR a3=697)

query IIITII rowsort join10
SELECT d1*631, a4+637+a1, a8, x6, c2, e3
  FROM t3, t8, t6, t1, t2, t4
 WHERE (a3=490 OR a3=697)
   AND e8 in (548,632,981,646,63,487,859)
   AND a1=553
   AND a2 in (651,814,709,445,863)
   AND d6 in (729,729,924,807,458,956)
   AND (114=b4 OR b4=802)

query IIITII rowsort join10
SELECT d1*631, a4+637+a1, a8, x6, c2, e3
  FROM t3, t6, t8, t1, t4, t2
 WHERE a2 in (651,814,709,445,863)
   AND e8 in (548,632,981,646,63,487,859)
   AND a1=553
   AND d6 in (729,729,924,807,458,956)
   AND (114=b4 OR b4=802)
   AND (a3=490 OR a3=697)

query ITIII rowsort join11
SELECT e2+569, x6, c8, c7+737, d3
  FROM t6, t8, t2, t3, t7
 WHERE (a2=324 OR a2=680 OR 588=a2 OR a2=415)
   AND (e8=349 OR e8=859 OR e8=944)
   AND a3=729
   AND d6=a3
   AND e7 in (851,975,900,319,976)

query ITIII rowsort join11
SELECT e2+569, x6, c8, c7+737, d3
  FROM t8, t7, t3, t6, t2
 WHERE a3=729
   AND d6=a3
   AND (e8=349 OR e8=859 OR e8=944)
   AND e7 in (851,975,900,319,976)
   AND (a2=324 OR a2=680 OR 588=a2 OR a2=415)

query ITIII rowsort join11
SELECT e2+569, x6, c8, c7+737, d3
  FROM t2, t7, t6, t8, t3
 WHERE (a2=324 OR a2=680 OR 588=a2 OR a2=415)
   AND (e8=349 OR e8=859 OR e8=944)
   AND a3=729
   AND e7 in (851,975,900,319,976)
   AND d6=a3

query ITIII rowsort join11
SELECT e2+569, x6, c8, c7+737, d3
  FROM t7, t3, t2, t6, t8
 WHERE e7 in (851,975,900,319,976)
   AND (e8=349 OR e8=859 OR e8=944)
   AND a3=729
   AND d6=a3
   AND (a2=324 OR a2=680 OR 588=a2 OR a2=415)

query IITIIII rowsort join12
SELECT e4, a8+11+c7, x2, c7*208, a1+e2, a6, b5+297
  FROM t7, t8, t1, t4, t2, t6, t5
 WHERE 349=e8
   AND (c2=337 OR c2=806)
   AND a1=179
   AND (186=d6 OR 885=d6 OR 822=d6 OR 473=d6)
   AND e7 in (197,929,976,89,904,183,624)
   AND c5 in (442,805,825)
   AND b4=295

query IITIIII rowsort join12
SELECT e4, a8+11+c7, x2, c7*208, a1+e2, a6, b5+297
  FROM t2, t4, t5, t7, t6, t8, t1
 WHERE b4=295
   AND (c2=337 OR c2=806)
   AND e7 in (197,929,976,89,904,183,624)
   AND (186=d6 OR 885=d6 OR 822=d6 OR 473=d6)
   AND 349=e8
   AND c5 in (442,805,825)
   AND a1=179

query IITIIII rowsort join12
SELECT e4, a8+11+c7, x2, c7*208, a1+e2, a6, b5+297
  FROM t4, t7, t5, t8, t1, t6, t2
 WHERE e7 in (197,929,976,89,904,183,624)
   AND b4=295
   AND c5 in (442,805,825)
   AND 349=e8
   AND (186=d6 OR 885=d6 OR 822=d6 OR 473=d6)
   AND (c2=337 OR c2=806)
   AND a1=179

query IITIIII rowsort join12
SELECT e4, a8+11+c7, x2, c7*208, a1+e2, a6, b5+297
  FROM t8, t2, t1, t4, t7, t5, t6
 WHERE c5 in (442,805,825)
   AND 349=e8
   AND e7 in (197,929,976,89,904,183,624)
   AND a1=179
   AND b4=295
   AND (c2=337 OR c2=806)
   AND (186=d6 OR 885=d6 OR 822=d6 OR 473=d6)

query II rowsort join13
SELECT e5, d1+856
  FROM t5, t1
 WHERE c5 in (187,442,723)
   AND 249=a1

query II rowsort join13
SELECT e5, d1+856
  FROM t5, t1
 WHERE 249=a1
   AND c5 in (187,442,723)

query II rowsort join13
SELECT e5, d1+856
  FROM t1, t5
 WHERE 249=a1
   AND c5 in (187,442,723)

query IIIIT rowsort join14
SELECT c5+277, e4+c9, b9+671+c1, a1+c4, x6
  FROM t1, t6, t5, t4, t9
 WHERE b4 in (826,877,476,765,733)
   AND (a1=776 OR 668=a1 OR 280=a1)
   AND 729=c5
   AND d6 in (489,822,852,674,729,35,778,578)
   AND d9 in (450,332,808,464,694,665,55,899)

query IIIIT rowsort join14
SELECT c5+277, e4+c9, b9+671+c1, a1+c4, x6
  FROM t5, t4, t6, t9, t1
 WHERE d9 in (450,332,808,464,694,665,55,899)
   AND b4 in (826,877,476,765,733)
   AND d6 in (489,822,852,674,729,35,778,578)
   AND 729=c5
   AND (a1=776 OR 668=a1 OR 280=a1)

query IIIIT rowsort join14
SELECT c5+277, e4+c9, b9+671+c1, a1+c4, x6
  FROM t4, t5, t9, t6, t1
 WHERE d6 in (489,822,852,674,729,35,778,578)
   AND d9 in (450,332,808,464,694,665,55,899)
   AND (a1=776 OR 668=a1 OR 280=a1)
   AND b4 in (826,877,476,765,733)
   AND 729=c5

query IIIIT rowsort join14
SELECT c5+277, e4+c9, b9+671+c1, a1+c4, x6
  FROM t5, t4, t9, t1, t6
 WHERE 729=c5
   AND d6 in (489,822,852,674,729,35,778,578)
   AND b4 in (826,877,476,765,733)
   AND d9 in (450,332,808,464,694,665,55,899)
   AND (a1=776 OR 668=a1 OR 280=a1)

query IT rowsort join15
SELECT c3*366, x4
  FROM t3, t4
 WHERE (947=a3 OR a3=145 OR a3=637 OR a3=892)
   AND b4=986

query IT rowsort join15
SELECT c3*366, x4
  FROM t4, t3
 WHERE b4=986
   AND (947=a3 OR a3=145 OR a3=637 OR a3=892)

query IT rowsort join15
SELECT c3*366, x4
  FROM t3, t4
 WHERE b4=986
   AND (947=a3 OR a3=145 OR a3=637 OR a3=892)

query ITTITI rowsort join16
SELECT b9*644+c9, x8, x5, a1*796, x3, e4*628
  FROM t9, t5, t4, t8, t3, t1
 WHERE e8=320
   AND a9 in (847,757,919,953)
   AND a1 in (864,544,637,553,451,640)
   AND 337=a3
   AND b4=901
   AND c5=c9

query ITTITI rowsort join16
SELECT b9*644+c9, x8, x5, a1*796, x3, e4*628
  FROM t9, t1, t4, t3, t5, t8
 WHERE e8=320
   AND c5=c9
   AND b4=901
   AND a1 in (864,544,637,553,451,640)
   AND 337=a3
   AND a9 in (847,757,919,953)

query ITTITI rowsort join16
SELECT b9*644+c9, x8, x5, a1*796, x3, e4*628
  FROM t5, t1, t8, t3, t9, t4
 WHERE b4=901
   AND e8=320
   AND a9 in (847,757,919,953)
   AND c5=c9
   AND a1 in (864,544,637,553,451,640)
   AND 337=a3

query ITTITI rowsort join16
SELECT b9*644+c9, x8, x5, a1*796, x3, e4*628
  FROM t3, t8, t5, t4, t1, t9
 WHERE e8=320
   AND 337=a3
   AND b4=901
   AND c5=c9
   AND a9 in (847,757,919,953)
   AND a1 in (864,544,637,553,451,640)

query IIIIITI rowsort join17
SELECT b2, e3, c4, b1+994, d9*370, x6, e7
  FROM t6, t7, t1, t2, t3, t9, t4
 WHERE b4 in (847,816,907,323,627,260,765)
   AND 933=c2
   AND 901=d6
   AND e7=929
   AND a3 in (777,184,899,500,729,197,710,186)
   AND a1 in (170,825,810,637,283)
   AND (824=a9 OR a9=335 OR 660=a9)

query IIIIITI rowsort join17
SELECT b2, e3, c4, b1+994, d9*370, x6, e7
  FROM t3, t7, t4, t1, t2, t6, t9
 WHERE 901=d6
   AND (824=a9 OR a9=335 OR 660=a9)
   AND a3 in (777,184,899,500,729,197,710,186)
   AND 933=c2
   AND b4 in (847,816,907,323,627,260,765)
   AND e7=929
   AND a1 in (170,825,810,637,283)

query IIIIITI rowsort join17
SELECT b2, e3, c4, b1+994, d9*370, x6, e7
  FROM t6, t4, t1, t7, t9, t3, t2
 WHERE 901=d6
   AND e7=929
   AND 933=c2
   AND a3 in (777,184,899,500,729,197,710,186)
   AND b4 in (847,816,907,323,627,260,765)
   AND (824=a9 OR a9=335 OR 660=a9)
   AND a1 in (170,825,810,637,283)

query IIIIITI rowsort join17
SELECT b2, e3, c4, b1+994, d9*370, x6, e7
  FROM t3, t6, t2, t4, t1, t7, t9
 WHERE a3 in (777,184,899,500,729,197,710,186)
   AND 901=d6
   AND b4 in (847,816,907,323,627,260,765)
   AND e7=929
   AND 933=c2
   AND (824=a9 OR a9=335 OR 660=a9)
   AND a1 in (170,825,810,637,283)

query III rowsort join18
SELECT e8+d8, d2*558+b2, c4*409
  FROM t2, t8, t4
 WHERE e8=792
   AND 498=b4
   AND d2=488

query III rowsort join18
SELECT e8+d8, d2*558+b2, c4*409
  FROM t4, t2, t8
 WHERE d2=488
   AND e8=792
   AND 498=b4

query III rowsort join18
SELECT e8+d8, d2*558+b2, c4*409
  FROM t4, t8, t2
 WHERE 498=b4
   AND e8=792
   AND d2=488

query III rowsort join18
SELECT e8+d8, d2*558+b2, c4*409
  FROM t8, t4, t2
 WHERE 498=b4
   AND d2=488
   AND e8=792

query TITII rowsort join19
SELECT x3, e1, x8, c9, b5+935
  FROM t3, t1, t8, t5, t9
 WHERE b9 in (19,171,103,239,864)
   AND 72=c5
   AND e8=a9
   AND a3 in (198,872,16,457,244,964,836)
   AND 352=a1

query TITII rowsort join19
SELECT x3, e1, x8, c9, b5+935
  FROM t3, t1, t5, t8, t9
 WHERE e8=a9
   AND 72=c5
   AND 352=a1
   AND a3 in (198,872,16,457,244,964,836)
   AND b9 in (19,171,103,239,864)

query TITII rowsort join19
SELECT x3, e1, x8, c9, b5+935
  FROM t1, t3, t8, t9, t5
 WHERE b9 in (19,171,103,239,864)
   AND e8=a9
   AND a3 in (198,872,16,457,244,964,836)
   AND 72=c5
   AND 352=a1

query TITII rowsort join19
SELECT x3, e1, x8, c9, b5+935
  FROM t1, t5, t9, t8, t3
 WHERE 72=c5
   AND a3 in (198,872,16,457,244,964,836)
   AND b9 in (19,171,103,239,864)
   AND e8=a9
   AND 352=a1

query II rowsort join20
SELECT e9, a5+37
  FROM t5, t9
 WHERE (e9=19 OR 845=e9 OR 278=e9)
   AND c5=585

query II rowsort join20
SELECT e9, a5+37
  FROM t9, t5
 WHERE (e9=19 OR 845=e9 OR 278=e9)
   AND c5=585

query II rowsort join20
SELECT e9, a5+37
  FROM t5, t9
 WHERE c5=585
   AND (e9=19 OR 845=e9 OR 278=e9)

query II rowsort join21
SELECT d6*383, b8
  FROM t6, t8
 WHERE e8 in (846,736,22,476,349,242,7)
   AND d6 in (778,822,867,66)

query II rowsort join21
SELECT d6*383, b8
  FROM t8, t6
 WHERE e8 in (846,736,22,476,349,242,7)
   AND d6 in (778,822,867,66)

query II rowsort join21
SELECT d6*383, b8
  FROM t6, t8
 WHERE d6 in (778,822,867,66)
   AND e8 in (846,736,22,476,349,242,7)

query II rowsort join22
SELECT e5, b2*474
  FROM t2, t5
 WHERE 428=e2
   AND 147=c5

query II rowsort join22
SELECT e5, b2*474
  FROM t5, t2
 WHERE 428=e2
   AND 147=c5

query II rowsort join22
SELECT e5, b2*474
  FROM t5, t2
 WHERE 147=c5
   AND 428=e2

query III rowsort join23
SELECT c5, a1, e4*501
  FROM t5, t4, t1
 WHERE b4=267
   AND c5 in (50,185,733,585)
   AND a1 in (371,622,283)

query III rowsort join23
SELECT c5, a1, e4*501
  FROM t5, t4, t1
 WHERE b4=267
   AND a1 in (371,622,283)
   AND c5 in (50,185,733,585)

query III rowsort join23
SELECT c5, a1, e4*501
  FROM t4, t1, t5
 WHERE b4=267
   AND a1 in (371,622,283)
   AND c5 in (50,185,733,585)

query III rowsort join23
SELECT c5, a1, e4*501
  FROM t1, t4, t5
 WHERE a1 in (371,622,283)
   AND c5 in (50,185,733,585)
   AND b4=267

query ITI rowsort join24
SELECT a2*628+b1, x1, c5
  FROM t5, t1, t2
 WHERE (696=c5 OR c5=799 OR c5=152)
   AND 148=c2
   AND a1 in (109,4,702,868,825,294)

query ITI rowsort join24
SELECT a2*628+b1, x1, c5
  FROM t2, t1, t5
 WHERE a1 in (109,4,702,868,825,294)
   AND (696=c5 OR c5=799 OR c5=152)
   AND 148=c2

query ITI rowsort join24
SELECT a2*628+b1, x1, c5
  FROM t5, t1, t2
 WHERE (696=c5 OR c5=799 OR c5=152)
   AND a1 in (109,4,702,868,825,294)
   AND 148=c2

query ITI rowsort join24
SELECT a2*628+b1, x1, c5
  FROM t5, t2, t1
 WHERE (696=c5 OR c5=799 OR c5=152)
   AND a1 in (109,4,702,868,825,294)
   AND 148=c2

query IIIII rowsort join25
SELECT a9+c4, b4+124+d8, c3, d8+558, d1
  FROM t9, t4, t8, t1, t3
 WHERE b4 in (532,593,289,476,749,35,816)
   AND d9 in (808,662,597,682,628,568)
   AND e8 in (792,14,646)
   AND 729=a3
   AND a1 in (622,380,862,52,640,776,268,536)

query IIIII rowsort join25
SELECT a9+c4, b4+124+d8, c3, d8+558, d1
  FROM t9, t3, t4, t8, t1
 WHERE d9 in (808,662,597,682,628,568)
   AND 729=a3
   AND b4 in (532,593,289,476,749,35,816)
   AND e8 in (792,14,646)
   AND a1 in (622,380,862,52,640,776,268,536)

query IIIII rowsort join25
SELECT a9+c4, b4+124+d8, c3, d8+558, d1
  FROM t8, t3, t9, t4, t1
 WHERE b4 in (532,593,289,476,749,35,816)
   AND 729=a3
   AND d9 in (808,662,597,682,628,568)
   AND a1 in (622,380,862,52,640,776,268,536)
   AND e8 in (792,14,646)

query IIIII rowsort join25
SELECT a9+c4, b4+124+d8, c3, d8+558, d1
  FROM t3, t8, t4, t9, t1
 WHERE 729=a3
   AND e8 in (792,14,646)
   AND d9 in (808,662,597,682,628,568)
   AND b4 in (532,593,289,476,749,35,816)
   AND a1 in (622,380,862,52,640,776,268,536)

query II rowsort join26
SELECT d7+e7, d6+b7
  FROM t7, t6
 WHERE e7=d6
   AND d6 in (172,428,993,674,846,613,405)

query II rowsort join26
SELECT d7+e7, d6+b7
  FROM t7, t6
 WHERE d6 in (172,428,993,674,846,613,405)
   AND e7=d6

query II rowsort join26
SELECT d7+e7, d6+b7
  FROM t6, t7
 WHERE e7=d6
   AND d6 in (172,428,993,674,846,613,405)

query II rowsort join26
SELECT d7+e7, d6+b7
  FROM t6, t7
 WHERE d6 in (172,428,993,674,846,613,405)
   AND e7=d6

query TIITTII rowsort join27
SELECT x4, d6*132, d1+d7, x3, x9, b7, b5+287+b1
  FROM t6, t7, t9, t3, t5, t1, t4
 WHERE a1=d9
   AND (d6=822 OR 822=d6)
   AND d9 in (23,855,960,316,679)
   AND c5=922
   AND 935=a3
   AND (e7=955 OR e7=562)
   AND 286=b4

query TIITTII rowsort join27
SELECT x4, d6*132, d1+d7, x3, x9, b7, b5+287+b1
  FROM t9, t1, t6, t5, t4, t3, t7
 WHERE (e7=955 OR e7=562)
   AND d9 in (23,855,960,316,679)
   AND c5=922
   AND 935=a3
   AND a1=d9
   AND (d6=822 OR 822=d6)
   AND 286=b4

query TIITTII rowsort join27
SELECT x4, d6*132, d1+d7, x3, x9, b7, b5+287+b1
  FROM t7, t5, t9, t4, t1, t3, t6
 WHERE (d6=822 OR 822=d6)
   AND 935=a3
   AND d9 in (23,855,960,316,679)
   AND (e7=955 OR e7=562)
   AND 286=b4
   AND a1=d9
   AND c5=922

query TIITTII rowsort join27
SELECT x4, d6*132, d1+d7, x3, x9, b7, b5+287+b1
  FROM t3, t1, t5, t4, t9, t7, t6
 WHERE (d6=822 OR 822=d6)
   AND 935=a3
   AND a1=d9
   AND 286=b4
   AND d9 in (23,855,960,316,679)
   AND c5=922
   AND (e7=955 OR e7=562)

query IIT rowsort join28
SELECT c5, e8*970, x7
  FROM t5, t7, t8
 WHERE e7 in (103,595,988,92,979,234)
   AND (310=e8 OR 63=e8 OR 22=e8)
   AND c5=668

query IIT rowsort join28
SELECT c5, e8*970, x7
  FROM t8, t5, t7
 WHERE (310=e8 OR 63=e8 OR 22=e8)
   AND e7 in (103,595,988,92,979,234)
   AND c5=668

query IIT rowsort join28
SELECT c5, e8*970, x7
  FROM t7, t8, t5
 WHERE c5=668
   AND (310=e8 OR 63=e8 OR 22=e8)
   AND e7 in (103,595,988,92,979,234)

query IIT rowsort join28
SELECT c5, e8*970, x7
  FROM t7, t8, t5
 WHERE e7 in (103,595,988,92,979,234)
   AND (310=e8 OR 63=e8 OR 22=e8)
   AND c5=668

query III rowsort join29
SELECT b1, e4+c4, d5
  FROM t1, t5, t4
 WHERE 152=c5
   AND b4=c1
   AND a1 in (538,629,637,776)

query III rowsort join29
SELECT b1, e4+c4, d5
  FROM t1, t5, t4
 WHERE a1 in (538,629,637,776)
   AND b4=c1
   AND 152=c5

query III rowsort join29
SELECT b1, e4+c4, d5
  FROM t5, t4, t1
 WHERE b4=c1
   AND a1 in (538,629,637,776)
   AND 152=c5

query III rowsort join30
SELECT a5+416, d9, b7
  FROM t7, t9, t5
 WHERE e7 in (156,319,945,122,197,587,689)
   AND c5 in (927,437,187)
   AND 145=d9

query III rowsort join30
SELECT a5+416, d9, b7
  FROM t7, t9, t5
 WHERE c5 in (927,437,187)
   AND 145=d9
   AND e7 in (156,319,945,122,197,587,689)

query III rowsort join30
SELECT a5+416, d9, b7
  FROM t5, t9, t7
 WHERE e7 in (156,319,945,122,197,587,689)
   AND 145=d9
   AND c5 in (927,437,187)

query III rowsort join30
SELECT a5+416, d9, b7
  FROM t5, t9, t7
 WHERE e7 in (156,319,945,122,197,587,689)
   AND c5 in (927,437,187)
   AND 145=d9

query ITI rowsort join31
SELECT b7, x2, d9
  FROM t9, t2, t7
 WHERE e2 in (302,953,808,753,242,445)
   AND d9=681
   AND (e7=156 OR e7=979 OR 508=e7 OR e7=553)

query ITI rowsort join31
SELECT b7, x2, d9
  FROM t9, t2, t7
 WHERE d9=681
   AND (e7=156 OR e7=979 OR 508=e7 OR e7=553)
   AND e2 in (302,953,808,753,242,445)

query ITI rowsort join31
SELECT b7, x2, d9
  FROM t9, t2, t7
 WHERE (e7=156 OR e7=979 OR 508=e7 OR e7=553)
   AND e2 in (302,953,808,753,242,445)
   AND d9=681

query ITI rowsort join31
SELECT b7, x2, d9
  FROM t9, t7, t2
 WHERE e2 in (302,953,808,753,242,445)
   AND (e7=156 OR e7=979 OR 508=e7 OR e7=553)
   AND d9=681

query IIII rowsort join32
SELECT e9*178, d2+e8, c8, b1
  FROM t9, t8, t2, t1
 WHERE e8 in (586,38,846,422,431,918,811,44)
   AND a1 in (492,988,314)
   AND b9=b2
   AND (d2=844 OR d2=914 OR 760=d2 OR 743=d2)

query IIII rowsort join32
SELECT e9*178, d2+e8, c8, b1
  FROM t8, t1, t9, t2
 WHERE e8 in (586,38,846,422,431,918,811,44)
   AND a1 in (492,988,314)
   AND (d2=844 OR d2=914 OR 760=d2 OR 743=d2)
   AND b9=b2

query IIII rowsort join32
SELECT e9*178, d2+e8, c8, b1
  FROM t1, t8, t2, t9
 WHERE b9=b2
   AND e8 in (586,38,846,422,431,918,811,44)
   AND (d2=844 OR d2=914 OR 760=d2 OR 743=d2)
   AND a1 in (492,988,314)

query IIII rowsort join32
SELECT e9*178, d2+e8, c8, b1
  FROM t1, t2, t9, t8
 WHERE b9=b2
   AND a1 in (492,988,314)
   AND e8 in (586,38,846,422,431,918,811,44)
   AND (d2=844 OR d2=914 OR 760=d2 OR 743=d2)

query III rowsort join33
SELECT b4+b5, b5, e9+580
  FROM t9, t4, t5
 WHERE b4=587
   AND 844=c5
   AND 799=e9

query III rowsort join33
SELECT b4+b5, b5, e9+580
  FROM t5, t4, t9
 WHERE 844=c5
   AND 799=e9
   AND b4=587

query III rowsort join33
SELECT b4+b5, b5, e9+580
  FROM t4, t5, t9
 WHERE 799=e9
   AND 844=c5
   AND b4=587

query III rowsort join33
SELECT b4+b5, b5, e9+580
  FROM t5, t4, t9
 WHERE b4=587
   AND 844=c5
   AND 799=e9

query IIIIITI rowsort join34
SELECT b1+611+d1, c8, a6+c2, e4, d2, x9, e5+d6
  FROM t9, t5, t1, t4, t6, t2, t8
 WHERE c5 in (625,222,747)
   AND 175=e8
   AND (618=d9 OR d9=720)
   AND 608=b4
   AND d6 in (2,901,161,929,393,711,151)
   AND (362=d2 OR 931=d2 OR d2=488 OR d2=723)
   AND 109=a1

query IIIIITI rowsort join34
SELECT b1+611+d1, c8, a6+c2, e4, d2, x9, e5+d6
  FROM t5, t2, t6, t9, t1, t4, t8
 WHERE (362=d2 OR 931=d2 OR d2=488 OR d2=723)
   AND d6 in (2,901,161,929,393,711,151)
   AND c5 in (625,222,747)
   AND 175=e8
   AND 608=b4
   AND 109=a1
   AND (618=d9 OR d9=720)

query IIIIITI rowsort join34
SELECT b1+611+d1, c8, a6+c2, e4, d2, x9, e5+d6
  FROM t1, t9, t8, t4, t5, t2, t6
 WHERE (362=d2 OR 931=d2 OR d2=488 OR d2=723)
   AND (618=d9 OR d9=720)
   AND 608=b4
   AND 175=e8
   AND c5 in (625,222,747)
   AND d6 in (2,901,161,929,393,711,151)
   AND 109=a1

query IIIIITI rowsort join34
SELECT b1+611+d1, c8, a6+c2, e4, d2, x9, e5+d6
  FROM t8, t6, t4, t9, t2, t5, t1
 WHERE (362=d2 OR 931=d2 OR d2=488 OR d2=723)
   AND d6 in (2,901,161,929,393,711,151)
   AND 175=e8
   AND 608=b4
   AND c5 in (625,222,747)
   AND 109=a1
   AND (618=d9 OR d9=720)

query II rowsort join35
SELECT b4, b2+433+c4
  FROM t2, t4
 WHERE b4=735
   AND a2=b4

query II rowsort join35
SELECT b4, b2+433+c4
  FROM t4, t2
 WHERE a2=b4
   AND b4=735

query II rowsort join35
SELECT b4, b2+433+c4
  FROM t4, t2
 WHERE b4=735
   AND a2=b4

query III rowsort join36
SELECT e7, c8+454, b9+459+a7
  FROM t7, t9, t8
 WHERE c9=d8
   AND (e7=31 OR 7=e7 OR e7=436)
   AND e8 in (918,38,933,64,792)

query III rowsort join36
SELECT e7, c8+454, b9+459+a7
  FROM t7, t8, t9
 WHERE (e7=31 OR 7=e7 OR e7=436)
   AND c9=d8
   AND e8 in (918,38,933,64,792)

query III rowsort join36
SELECT e7, c8+454, b9+459+a7
  FROM t8, t9, t7
 WHERE c9=d8
   AND e8 in (918,38,933,64,792)
   AND (e7=31 OR 7=e7 OR e7=436)

query II rowsort join37
SELECT c4, d5+e4
  FROM t4, t5
 WHERE b4=295
   AND c5 in (293,649,37,149,734,147)

query II rowsort join37
SELECT c4, d5+e4
  FROM t5, t4
 WHERE c5 in (293,649,37,149,734,147)
   AND b4=295

query II rowsort join37
SELECT c4, d5+e4
  FROM t4, t5
 WHERE c5 in (293,649,37,149,734,147)
   AND b4=295

query II rowsort join37
SELECT c4, d5+e4
  FROM t5, t4
 WHERE b4=295
   AND c5 in (293,649,37,149,734,147)

query TII rowsort join38
SELECT x5, d2*650+c2, a7
  FROM t5, t7, t2
 WHERE c5 in (721,941,299,723,442,681,613)
   AND 760=d2
   AND (e7=590 OR e7=522 OR e7=31 OR e7=291)

query TII rowsort join38
SELECT x5, d2*650+c2, a7
  FROM t2, t5, t7
 WHERE (e7=590 OR e7=522 OR e7=31 OR e7=291)
   AND c5 in (721,941,299,723,442,681,613)
   AND 760=d2

query TII rowsort join38
SELECT x5, d2*650+c2, a7
  FROM t2, t5, t7
 WHERE c5 in (721,941,299,723,442,681,613)
   AND 760=d2
   AND (e7=590 OR e7=522 OR e7=31 OR e7=291)

query TII rowsort join38
SELECT x5, d2*650+c2, a7
  FROM t5, t7, t2
 WHERE (e7=590 OR e7=522 OR e7=31 OR e7=291)
   AND c5 in (721,941,299,723,442,681,613)
   AND 760=d2

query TI rowsort join39
SELECT x1, d9
  FROM t1, t9
 WHERE 281=a1
   AND c9=232

query TI rowsort join39
SELECT x1, d9
  FROM t9, t1
 WHERE c9=232
   AND 281=a1

query TI rowsort join39
SELECT x1, d9
  FROM t1, t9
 WHERE c9=232
   AND 281=a1

query II rowsort join40
SELECT c2*543+d2, d6+19
  FROM t2, t6
 WHERE b2 in (292,779,501,846,264)
   AND d6=129

query II rowsort join40
SELECT c2*543+d2, d6+19
  FROM t2, t6
 WHERE d6=129
   AND b2 in (292,779,501,846,264)

query II rowsort join40
SELECT c2*543+d2, d6+19
  FROM t6, t2
 WHERE b2 in (292,779,501,846,264)
   AND d6=129

query IITI rowsort join41
SELECT d4, b7, x8, c6*47
  FROM t6, t4, t8, t7
 WHERE (b4=735 OR 721=b4)
   AND 476=e8
   AND d6=185
   AND e7 in (248,254,638,290,689,27,841)

query IITI rowsort join41
SELECT d4, b7, x8, c6*47
  FROM t6, t7, t8, t4
 WHERE d6=185
   AND e7 in (248,254,638,290,689,27,841)
   AND 476=e8
   AND (b4=735 OR 721=b4)

query IITI rowsort join41
SELECT d4, b7, x8, c6*47
  FROM t6, t8, t4, t7
 WHERE (b4=735 OR 721=b4)
   AND 476=e8
   AND d6=185
   AND e7 in (248,254,638,290,689,27,841)

query IITI rowsort join41
SELECT d4, b7, x8, c6*47
  FROM t6, t7, t4, t8
 WHERE e7 in (248,254,638,290,689,27,841)
   AND 476=e8
   AND (b4=735 OR 721=b4)
   AND d6=185

query IIIIII rowsort join42
SELECT e1+908+c5, a7*505+b6, e5, e6+864, a9*77, d4
  FROM t9, t1, t5, t4, t6, t7
 WHERE d6 in (493,500,463,161,277,337,600,72)
   AND (324=a1 OR a1=668 OR 61=a1 OR 195=a1)
   AND e9 in (149,549,737)
   AND e7 in (844,183,506,884)
   AND (b4=175 OR b4=964)
   AND c5 in (915,797,797,384,844,485,672)

query IIIIII rowsort join42
SELECT e1+908+c5, a7*505+b6, e5, e6+864, a9*77, d4
  FROM t4, t9, t7, t5, t6, t1
 WHERE e7 in (844,183,506,884)
   AND d6 in (493,500,463,161,277,337,600,72)
   AND (b4=175 OR b4=964)
   AND e9 in (149,549,737)
   AND c5 in (915,797,797,384,844,485,672)
   AND (324=a1 OR a1=668 OR 61=a1 OR 195=a1)

query IIIIII rowsort join42
SELECT e1+908+c5, a7*505+b6, e5, e6+864, a9*77, d4
  FROM t9, t1, t7, t4, t5, t6
 WHERE (b4=175 OR b4=964)
   AND d6 in (493,500,463,161,277,337,600,72)
   AND e9 in (149,549,737)
   AND e7 in (844,183,506,884)
   AND (324=a1 OR a1=668 OR 61=a1 OR 195=a1)
   AND c5 in (915,797,797,384,844,485,672)

query IIIIII rowsort join42
SELECT e1+908+c5, a7*505+b6, e5, e6+864, a9*77, d4
  FROM t9, t4, t5, t1, t7, t6
 WHERE (b4=175 OR b4=964)
   AND c5 in (915,797,797,384,844,485,672)
   AND d6 in (493,500,463,161,277,337,600,72)
   AND e7 in (844,183,506,884)
   AND e9 in (149,549,737)
   AND (324=a1 OR a1=668 OR 61=a1 OR 195=a1)

query TIIII rowsort join43
SELECT x1, d4+665, b9+948, a5, d6+951
  FROM t6, t1, t9, t5, t4
 WHERE 384=c5
   AND a1=337
   AND d6=147
   AND b9=759
   AND b4=76

query TIIII rowsort join43
SELECT x1, d4+665, b9+948, a5, d6+951
  FROM t5, t1, t6, t9, t4
 WHERE d6=147
   AND b4=76
   AND 384=c5
   AND b9=759
   AND a1=337

query TIIII rowsort join43
SELECT x1, d4+665, b9+948, a5, d6+951
  FROM t9, t6, t4, t1, t5
 WHERE a1=337
   AND b4=76
   AND d6=147
   AND b9=759
   AND 384=c5

query TIIII rowsort join43
SELECT x1, d4+665, b9+948, a5, d6+951
  FROM t6, t1, t4, t9, t5
 WHERE b4=76
   AND 384=c5
   AND d6=147
   AND b9=759
   AND a1=337

query III rowsort join44
SELECT d8+161+a9, e9+389, e2*455+d9
  FROM t2, t8, t9
 WHERE 440=e8
   AND d2 in (306,351,760)
   AND e9=c2

query III rowsort join44
SELECT d8+161+a9, e9+389, e2*455+d9
  FROM t8, t9, t2
 WHERE e9=c2
   AND d2 in (306,351,760)
   AND 440=e8

query III rowsort join44
SELECT d8+161+a9, e9+389, e2*455+d9
  FROM t2, t9, t8
 WHERE d2 in (306,351,760)
   AND 440=e8
   AND e9=c2

query III rowsort join44
SELECT d8+161+a9, e9+389, e2*455+d9
  FROM t9, t8, t2
 WHERE 440=e8
   AND e9=c2
   AND d2 in (306,351,760)

query TI rowsort join45
SELECT x9, e8
  FROM t9, t8
 WHERE e8=893
   AND b9=12

query TI rowsort join45
SELECT x9, e8
  FROM t8, t9
 WHERE e8=893
   AND b9=12

query TI rowsort join45
SELECT x9, e8
  FROM t9, t8
 WHERE b9=12
   AND e8=893

query IIITT rowsort join46
SELECT e4, a3, e6, x2, x9
  FROM t9, t4, t6, t3, t2
 WHERE b4 in (593,919,884,551,608,627,271)
   AND a3=d9
   AND d6 in (463,223,2)
   AND d9 in (602,878,439,899,668)
   AND 965=e2

query IIITT rowsort join46
SELECT e4, a3, e6, x2, x9
  FROM t3, t4, t9, t6, t2
 WHERE b4 in (593,919,884,551,608,627,271)
   AND d9 in (602,878,439,899,668)
   AND d6 in (463,223,2)
   AND 965=e2
   AND a3=d9

query IIITT rowsort join46
SELECT e4, a3, e6, x2, x9
  FROM t4, t6, t9, t3, t2
 WHERE b4 in (593,919,884,551,608,627,271)
   AND 965=e2
   AND d6 in (463,223,2)
   AND a3=d9
   AND d9 in (602,878,439,899,668)

query IIITT rowsort join46
SELECT e4, a3, e6, x2, x9
  FROM t3, t9, t6, t2, t4
 WHERE d9 in (602,878,439,899,668)
   AND a3=d9
   AND d6 in (463,223,2)
   AND b4 in (593,919,884,551,608,627,271)
   AND 965=e2

query ITTII rowsort join47
SELECT e9*614+b2, x5, x2, a8, d6
  FROM t2, t9, t5, t6, t8
 WHERE a2 in (789,315,796,522,910,56,769,637)
   AND d6 in (21,337,942)
   AND 443=c5
   AND b9 in (426,524,549,15,864,525,936)
   AND e8 in (904,442,381,792,204,635)

query ITTII rowsort join47
SELECT e9*614+b2, x5, x2, a8, d6
  FROM t5, t6, t9, t2, t8
 WHERE e8 in (904,442,381,792,204,635)
   AND b9 in (426,524,549,15,864,525,936)
   AND d6 in (21,337,942)
   AND a2 in (789,315,796,522,910,56,769,637)
   AND 443=c5

query ITTII rowsort join47
SELECT e9*614+b2, x5, x2, a8, d6
  FROM t6, t8, t5, t2, t9
 WHERE 443=c5
   AND a2 in (789,315,796,522,910,56,769,637)
   AND d6 in (21,337,942)
   AND e8 in (904,442,381,792,204,635)
   AND b9 in (426,524,549,15,864,525,936)

query ITTII rowsort join47
SELECT e9*614+b2, x5, x2, a8, d6
  FROM t6, t2, t8, t9, t5
 WHERE d6 in (21,337,942)
   AND b9 in (426,524,549,15,864,525,936)
   AND 443=c5
   AND e8 in (904,442,381,792,204,635)
   AND a2 in (789,315,796,522,910,56,769,637)

query IIII rowsort join48
SELECT c9, d4+791, d8+c8, a5
  FROM t8, t4, t5, t9
 WHERE 634=c5
   AND 635=e8
   AND b9 in (171,50,900,211)
   AND b4 in (700,608,708,816,319,882)

query IIII rowsort join48
SELECT c9, d4+791, d8+c8, a5
  FROM t8, t5, t4, t9
 WHERE 634=c5
   AND b9 in (171,50,900,211)
   AND 635=e8
   AND b4 in (700,608,708,816,319,882)

query IIII rowsort join48
SELECT c9, d4+791, d8+c8, a5
  FROM t4, t8, t9, t5
 WHERE b4 in (700,608,708,816,319,882)
   AND b9 in (171,50,900,211)
   AND 635=e8
   AND 634=c5

query IIII rowsort join48
SELECT c9, d4+791, d8+c8, a5
  FROM t4, t5, t8, t9
 WHERE 634=c5
   AND 635=e8
   AND b4 in (700,608,708,816,319,882)
   AND b9 in (171,50,900,211)

query TI rowsort join49
SELECT x6, a2
  FROM t6, t2
 WHERE d6=405
   AND 441=e2

query TI rowsort join49
SELECT x6, a2
  FROM t2, t6
 WHERE 441=e2
   AND d6=405

query III rowsort join50
SELECT e6, e8+988, c3+406+d6
  FROM t6, t8, t3
 WHERE (a3=637 OR 364=a3)
   AND e8 in (864,186,729)
   AND d6=e8

query III rowsort join50
SELECT e6, e8+988, c3+406+d6
  FROM t8, t3, t6
 WHERE d6=e8
   AND e8 in (864,186,729)
   AND (a3=637 OR 364=a3)

query III rowsort join50
SELECT e6, e8+988, c3+406+d6
  FROM t3, t6, t8
 WHERE e8 in (864,186,729)
   AND (a3=637 OR 364=a3)
   AND d6=e8

query III rowsort join50
SELECT e6, e8+988, c3+406+d6
  FROM t6, t3, t8
 WHERE d6=e8
   AND e8 in (864,186,729)
   AND (a3=637 OR 364=a3)

query ITIIIII rowsort join51
SELECT a3, x2, b8, b6, d1, a5+127, a4
  FROM t2, t4, t5, t8, t1, t3, t6
 WHERE c5 in (351,437,187,766,729,443,625,485)
   AND (d6=453 OR d6=869 OR 172=d6)
   AND a1=215
   AND 891=a2
   AND a3=344
   AND b4 in (319,295,707,979,634,892,860,907)
   AND (463=e8 OR e8=421 OR e8=305 OR 893=e8)

query ITIIIII rowsort join51
SELECT a3, x2, b8, b6, d1, a5+127, a4
  FROM t5, t1, t3, t8, t2, t4, t6
 WHERE b4 in (319,295,707,979,634,892,860,907)
   AND c5 in (351,437,187,766,729,443,625,485)
   AND 891=a2
   AND (d6=453 OR d6=869 OR 172=d6)
   AND (463=e8 OR e8=421 OR e8=305 OR 893=e8)
   AND a3=344
   AND a1=215

query ITIIIII rowsort join51
SELECT a3, x2, b8, b6, d1, a5+127, a4
  FROM t3, t1, t4, t6, t2, t8, t5
 WHERE a3=344
   AND b4 in (319,295,707,979,634,892,860,907)
   AND (463=e8 OR e8=421 OR e8=305 OR 893=e8)
   AND 891=a2
   AND a1=215
   AND (d6=453 OR d6=869 OR 172=d6)
   AND c5 in (351,437,187,766,729,443,625,485)

query ITIIIII rowsort join51
SELECT a3, x2, b8, b6, d1, a5+127, a4
  FROM t3, t5, t4, t8, t2, t6, t1
 WHERE (d6=453 OR d6=869 OR 172=d6)
   AND a1=215
   AND (463=e8 OR e8=421 OR e8=305 OR 893=e8)
   AND a3=344
   AND 891=a2
   AND b4 in (319,295,707,979,634,892,860,907)
   AND c5 in (351,437,187,766,729,443,625,485)

query III rowsort join52
SELECT a4, d9+682, b1+e9
  FROM t1, t9, t4
 WHERE 964=b4
   AND d9 in (899,495,926,967,665)
   AND a1=b9

query III rowsort join52
SELECT a4, d9+682, b1+e9
  FROM t1, t9, t4
 WHERE d9 in (899,495,926,967,665)
   AND a1=b9
   AND 964=b4

query III rowsort join52
SELECT a4, d9+682, b1+e9
  FROM t1, t4, t9
 WHERE a1=b9
   AND d9 in (899,495,926,967,665)
   AND 964=b4

query III rowsort join52
SELECT a4, d9+682, b1+e9
  FROM t9, t4, t1
 WHERE 964=b4
   AND d9 in (899,495,926,967,665)
   AND a1=b9

query TI rowsort join53
SELECT x9, b6
  FROM t6, t9
 WHERE 161=d9
   AND d6=446

query TI rowsort join53
SELECT x9, b6
  FROM t6, t9
 WHERE d6=446
   AND 161=d9

query IIT rowsort join54
SELECT a5+276+d3, a3+728, x7
  FROM t7, t3, t5
 WHERE e7 in (826,782,595,561,372)
   AND a3=d7
   AND c5 in (734,924,733,579,384)

query IIT rowsort join54
SELECT a5+276+d3, a3+728, x7
  FROM t3, t7, t5
 WHERE e7 in (826,782,595,561,372)
   AND a3=d7
   AND c5 in (734,924,733,579,384)

query IIT rowsort join54
SELECT a5+276+d3, a3+728, x7
  FROM t5, t3, t7
 WHERE e7 in (826,782,595,561,372)
   AND a3=d7
   AND c5 in (734,924,733,579,384)

query IIT rowsort join54
SELECT a5+276+d3, a3+728, x7
  FROM t7, t5, t3
 WHERE c5 in (734,924,733,579,384)
   AND e7 in (826,782,595,561,372)
   AND a3=d7

query IIIIT rowsort join55
SELECT a8, a6+e3, d7, a3, x5
  FROM t6, t3, t7, t5, t8
 WHERE e8=44
   AND e7=282
   AND 720=a3
   AND (d6=446 OR d6=473 OR d6=458)
   AND (c5=485 OR c5=989)

query IIIIT rowsort join55
SELECT a8, a6+e3, d7, a3, x5
  FROM t3, t7, t8, t5, t6
 WHERE (d6=446 OR d6=473 OR d6=458)
   AND 720=a3
   AND e7=282
   AND e8=44
   AND (c5=485 OR c5=989)

query IIIIT rowsort join55
SELECT a8, a6+e3, d7, a3, x5
  FROM t7, t5, t3, t8, t6
 WHERE (d6=446 OR d6=473 OR d6=458)
   AND (c5=485 OR c5=989)
   AND 720=a3
   AND e8=44
   AND e7=282

query IIIIT rowsort join55
SELECT a8, a6+e3, d7, a3, x5
  FROM t5, t3, t8, t6, t7
 WHERE e8=44
   AND (c5=485 OR c5=989)
   AND 720=a3
   AND e7=282
   AND (d6=446 OR d6=473 OR d6=458)

query ITII rowsort join56
SELECT a8+c8, x2, d4+45, d3
  FROM t8, t2, t3, t4
 WHERE a3=c2
   AND e8 in (947,469,586,919,608,635,63,874)
   AND (b4=23 OR 532=b4 OR b4=167 OR 294=b4)
   AND 851=a2

query ITII rowsort join56
SELECT a8+c8, x2, d4+45, d3
  FROM t8, t2, t3, t4
 WHERE e8 in (947,469,586,919,608,635,63,874)
   AND a3=c2
   AND (b4=23 OR 532=b4 OR b4=167 OR 294=b4)
   AND 851=a2

query ITII rowsort join56
SELECT a8+c8, x2, d4+45, d3
  FROM t8, t4, t2, t3
 WHERE e8 in (947,469,586,919,608,635,63,874)
   AND a3=c2
   AND 851=a2
   AND (b4=23 OR 532=b4 OR b4=167 OR 294=b4)

query ITII rowsort join56
SELECT a8+c8, x2, d4+45, d3
  FROM t3, t8, t2, t4
 WHERE a3=c2
   AND (b4=23 OR 532=b4 OR b4=167 OR 294=b4)
   AND 851=a2
   AND e8 in (947,469,586,919,608,635,63,874)

query II rowsort join57
SELECT c6, d5+b6
  FROM t5, t6
 WHERE c5 in (187,941,856)
   AND d6 in (974,867,467,463,277,72,885)

query II rowsort join57
SELECT c6, d5+b6
  FROM t6, t5
 WHERE c5 in (187,941,856)
   AND d6 in (974,867,467,463,277,72,885)

query IIIT rowsort join58
SELECT c2*895, b4, b9+651, x3
  FROM t3, t2, t4, t9
 WHERE a3=c9
   AND a9 in (273,11,982,567,450,847,830,953)
   AND d2=753
   AND b4=a9

query IIIT rowsort join58
SELECT c2*895, b4, b9+651, x3
  FROM t4, t3, t9, t2
 WHERE a9 in (273,11,982,567,450,847,830,953)
   AND b4=a9
   AND a3=c9
   AND d2=753

query IIIT rowsort join58
SELECT c2*895, b4, b9+651, x3
  FROM t3, t4, t2, t9
 WHERE b4=a9
   AND a9 in (273,11,982,567,450,847,830,953)
   AND a3=c9
   AND d2=753

query IIIT rowsort join58
SELECT c2*895, b4, b9+651, x3
  FROM t4, t3, t9, t2
 WHERE a9 in (273,11,982,567,450,847,830,953)
   AND b4=a9
   AND d2=753
   AND a3=c9

query IIIT rowsort join59
SELECT e1, e6*422, e4*142, x2
  FROM t2, t4, t1, t6
 WHERE (a1=363 OR a1=382)
   AND d6 in (161,931,974,186,561,489)
   AND b4=925
   AND 170=b2

query IIIT rowsort join59
SELECT e1, e6*422, e4*142, x2
  FROM t4, t6, t1, t2
 WHERE b4=925
   AND (a1=363 OR a1=382)
   AND d6 in (161,931,974,186,561,489)
   AND 170=b2

query IIIT rowsort join59
SELECT e1, e6*422, e4*142, x2
  FROM t2, t6, t4, t1
 WHERE d6 in (161,931,974,186,561,489)
   AND b4=925
   AND (a1=363 OR a1=382)
   AND 170=b2

query IIIT rowsort join59
SELECT e1, e6*422, e4*142, x2
  FROM t1, t6, t4, t2
 WHERE b4=925
   AND d6 in (161,931,974,186,561,489)
   AND (a1=363 OR a1=382)
   AND 170=b2

query IT rowsort join60
SELECT b4, x6
  FROM t4, t6
 WHERE 855=d6
   AND b4 in (986,644,901)

query IT rowsort join60
SELECT b4, x6
  FROM t6, t4
 WHERE 855=d6
   AND b4 in (986,644,901)

query IIIIIIT rowsort join61
SELECT b5+342+a6, d4+810+a1, c8, a1, d6+b1, c7+554, x2
  FROM t8, t7, t1, t4, t5, t2, t6
 WHERE c5 in (527,894,649,941,101,198,313)
   AND e7 in (254,456,197,851,455,356,793,624)
   AND b4 in (765,593,295,849,708,917)
   AND e8=980
   AND d6 in (590,73,34,942,970,786,21,35)
   AND a1=b2
   AND c2=a5

query IIIIIIT rowsort join61
SELECT b5+342+a6, d4+810+a1, c8, a1, d6+b1, c7+554, x2
  FROM t6, t5, t7, t1, t2, t8, t4
 WHERE c2=a5
   AND d6 in (590,73,34,942,970,786,21,35)
   AND e8=980
   AND a1=b2
   AND e7 in (254,456,197,851,455,356,793,624)
   AND b4 in (765,593,295,849,708,917)
   AND c5 in (527,894,649,941,101,198,313)

query IIIIIIT rowsort join61
SELECT b5+342+a6, d4+810+a1, c8, a1, d6+b1, c7+554, x2
  FROM t7, t4, t5, t2, t6, t8, t1
 WHERE d6 in (590,73,34,942,970,786,21,35)
   AND b4 in (765,593,295,849,708,917)
   AND e8=980
   AND a1=b2
   AND e7 in (254,456,197,851,455,356,793,624)
   AND c5 in (527,894,649,941,101,198,313)
   AND c2=a5

query IIIIIIT rowsort join61
SELECT b5+342+a6, d4+810+a1, c8, a1, d6+b1, c7+554, x2
  FROM t6, t4, t1, t5, t8, t2, t7
 WHERE c5 in (527,894,649,941,101,198,313)
   AND e8=980
   AND e7 in (254,456,197,851,455,356,793,624)
   AND a1=b2
   AND b4 in (765,593,295,849,708,917)
   AND d6 in (590,73,34,942,970,786,21,35)
   AND c2=a5

query IIT rowsort join62
SELECT c1+563, b9, x8
  FROM t9, t8, t1
 WHERE e8 in (859,487,305,320)
   AND d9 in (399,646,821,161)
   AND 579=a1

query IIT rowsort join62
SELECT c1+563, b9, x8
  FROM t8, t1, t9
 WHERE d9 in (399,646,821,161)
   AND e8 in (859,487,305,320)
   AND 579=a1

query IIT rowsort join62
SELECT c1+563, b9, x8
  FROM t8, t1, t9
 WHERE e8 in (859,487,305,320)
   AND d9 in (399,646,821,161)
   AND 579=a1

query III rowsort join63
SELECT d9*555+e5, a5+46+d5, d3+c5
  FROM t9, t3, t5
 WHERE (164=a3 OR 754=a3 OR 727=a3 OR 892=a3)
   AND c9 in (332,252,662)
   AND c5=e9

query III rowsort join63
SELECT d9*555+e5, a5+46+d5, d3+c5
  FROM t3, t9, t5
 WHERE c9 in (332,252,662)
   AND c5=e9
   AND (164=a3 OR 754=a3 OR 727=a3 OR 892=a3)

query III rowsort join63
SELECT d9*555+e5, a5+46+d5, d3+c5
  FROM t3, t9, t5
 WHERE c5=e9
   AND (164=a3 OR 754=a3 OR 727=a3 OR 892=a3)
   AND c9 in (332,252,662)

query III rowsort join63
SELECT d9*555+e5, a5+46+d5, d3+c5
  FROM t5, t9, t3
 WHERE c5=e9
   AND c9 in (332,252,662)
   AND (164=a3 OR 754=a3 OR 727=a3 OR 892=a3)

query III rowsort join64
SELECT d9, d5, d8
  FROM t5, t8, t9
 WHERE b9 in (301,77,446,127,19,136)
   AND 175=e8
   AND (c5=729 OR 805=c5 OR 570=c5 OR c5=437)

query III rowsort join64
SELECT d9, d5, d8
  FROM t8, t9, t5
 WHERE (c5=729 OR 805=c5 OR 570=c5 OR c5=437)
   AND 175=e8
   AND b9 in (301,77,446,127,19,136)

query III rowsort join64
SELECT d9, d5, d8
  FROM t8, t9, t5
 WHERE 175=e8
   AND (c5=729 OR 805=c5 OR 570=c5 OR c5=437)
   AND b9 in (301,77,446,127,19,136)

query III rowsort join64
SELECT d9, d5, d8
  FROM t9, t5, t8
 WHERE 175=e8
   AND (c5=729 OR 805=c5 OR 570=c5 OR c5=437)
   AND b9 in (301,77,446,127,19,136)

query IIII rowsort join65
SELECT c9+a4, e4*349, b5, b7*667
  FROM t4, t5, t9, t7
 WHERE e7=553
   AND 653=b4
   AND c5=c9
   AND b9 in (858,667,77,170,122,426,262)

query IIII rowsort join65
SELECT c9+a4, e4*349, b5, b7*667
  FROM t4, t7, t9, t5
 WHERE e7=553
   AND b9 in (858,667,77,170,122,426,262)
   AND 653=b4
   AND c5=c9

query IIII rowsort join65
SELECT c9+a4, e4*349, b5, b7*667
  FROM t7, t9, t4, t5
 WHERE e7=553
   AND b9 in (858,667,77,170,122,426,262)
   AND 653=b4
   AND c5=c9

query IIII rowsort join65
SELECT c9+a4, e4*349, b5, b7*667
  FROM t4, t5, t7, t9
 WHERE 653=b4
   AND e7=553
   AND b9 in (858,667,77,170,122,426,262)
   AND c5=c9

query IIIII rowsort join66
SELECT e6+b3, e8, e3+c3, c7+986+c7, c5*40+b3
  FROM t3, t7, t6, t5, t8
 WHERE e7 in (508,291,122,841,860)
   AND d6=942
   AND 186=e8
   AND 262=a3
   AND c5 in (844,734,18,27,598,941)

query IIIII rowsort join66
SELECT e6+b3, e8, e3+c3, c7+986+c7, c5*40+b3
  FROM t8, t6, t5, t7, t3
 WHERE c5 in (844,734,18,27,598,941)
   AND d6=942
   AND 186=e8
   AND e7 in (508,291,122,841,860)
   AND 262=a3

query IIIII rowsort join66
SELECT e6+b3, e8, e3+c3, c7+986+c7, c5*40+b3
  FROM t6, t3, t8, t7, t5
 WHERE 262=a3
   AND 186=e8
   AND c5 in (844,734,18,27,598,941)
   AND d6=942
   AND e7 in (508,291,122,841,860)

query IIIII rowsort join66
SELECT e6+b3, e8, e3+c3, c7+986+c7, c5*40+b3
  FROM t8, t3, t6, t7, t5
 WHERE 186=e8
   AND d6=942
   AND c5 in (844,734,18,27,598,941)
   AND 262=a3
   AND e7 in (508,291,122,841,860)

query IIIT rowsort join67
SELECT e3+d5, d5*793+c4, a4+c4, x2
  FROM t4, t2, t5, t3
 WHERE c5 in (527,149,384,734,12,599,485)
   AND b4 in (635,849,587,608)
   AND a3 in (396,979,5,935,997,697,581)
   AND (220=c2 OR 869=c2)

query IIIT rowsort join67
SELECT e3+d5, d5*793+c4, a4+c4, x2
  FROM t2, t5, t4, t3
 WHERE a3 in (396,979,5,935,997,697,581)
   AND (220=c2 OR 869=c2)
   AND b4 in (635,849,587,608)
   AND c5 in (527,149,384,734,12,599,485)

query IIIT rowsort join67
SELECT e3+d5, d5*793+c4, a4+c4, x2
  FROM t5, t4, t3, t2
 WHERE c5 in (527,149,384,734,12,599,485)
   AND (220=c2 OR 869=c2)
   AND b4 in (635,849,587,608)
   AND a3 in (396,979,5,935,997,697,581)

query IIIT rowsort join67
SELECT e3+d5, d5*793+c4, a4+c4, x2
  FROM t3, t5, t2, t4
 WHERE b4 in (635,849,587,608)
   AND c5 in (527,149,384,734,12,599,485)
   AND (220=c2 OR 869=c2)
   AND a3 in (396,979,5,935,997,697,581)

query II rowsort join68
SELECT e4, a5
  FROM t5, t4
 WHERE 602=c5
   AND 627=b4

query II rowsort join68
SELECT e4, a5
  FROM t4, t5
 WHERE 627=b4
   AND 602=c5

query II rowsort join68
SELECT e4, a5
  FROM t4, t5
 WHERE 602=c5
   AND 627=b4

query II rowsort join69
SELECT d7+d7, e4
  FROM t4, t7
 WHERE 901=b4
   AND (816=e7 OR e7=929 OR 688=e7 OR 301=e7)

query II rowsort join69
SELECT d7+d7, e4
  FROM t4, t7
 WHERE (816=e7 OR e7=929 OR 688=e7 OR 301=e7)
   AND 901=b4

query II rowsort join69
SELECT d7+d7, e4
  FROM t7, t4
 WHERE 901=b4
   AND (816=e7 OR e7=929 OR 688=e7 OR 301=e7)

query III rowsort join70
SELECT c3, e5+657, b2*767+a3
  FROM t3, t2, t5
 WHERE c5=27
   AND a3 in (275,105,380,513,879)
   AND c2=582

query III rowsort join70
SELECT c3, e5+657, b2*767+a3
  FROM t3, t2, t5
 WHERE c2=582
   AND a3 in (275,105,380,513,879)
   AND c5=27

query III rowsort join70
SELECT c3, e5+657, b2*767+a3
  FROM t5, t2, t3
 WHERE a3 in (275,105,380,513,879)
   AND c2=582
   AND c5=27

query III rowsort join70
SELECT c3, e5+657, b2*767+a3
  FROM t2, t5, t3
 WHERE a3 in (275,105,380,513,879)
   AND c2=582
   AND c5=27

query IIIITII rowsort join71
SELECT e6, c8, b2, b5+919+c2, x9, a1, a7+a1
  FROM t6, t2, t7, t1, t9, t8, t5
 WHERE d6=d7
   AND e7 in (552,156,103,127,782,98,688,488)
   AND 149=c5
   AND e8=180
   AND c9 in (253,534,110)
   AND a1 in (215,88,820,4,584,268,147)
   AND 193=c2

query IIIITII rowsort join71
SELECT e6, c8, b2, b5+919+c2, x9, a1, a7+a1
  FROM t6, t5, t9, t8, t7, t1, t2
 WHERE e8=180
   AND 149=c5
   AND 193=c2
   AND c9 in (253,534,110)
   AND a1 in (215,88,820,4,584,268,147)
   AND e7 in (552,156,103,127,782,98,688,488)
   AND d6=d7

query IIIITII rowsort join71
SELECT e6, c8, b2, b5+919+c2, x9, a1, a7+a1
  FROM t6, t9, t1, t8, t2, t7, t5
 WHERE a1 in (215,88,820,4,584,268,147)
   AND 193=c2
   AND d6=d7
   AND e8=180
   AND e7 in (552,156,103,127,782,98,688,488)
   AND c9 in (253,534,110)
   AND 149=c5

query IIIITII rowsort join71
SELECT e6, c8, b2, b5+919+c2, x9, a1, a7+a1
  FROM t5, t2, t9, t7, t6, t1, t8
 WHERE 193=c2
   AND 149=c5
   AND e8=180
   AND c9 in (253,534,110)
   AND a1 in (215,88,820,4,584,268,147)
   AND d6=d7
   AND e7 in (552,156,103,127,782,98,688,488)

query IIIITI rowsort join72
SELECT b1, b6*386, d9+595+d3, d4+a4, x3, c2+706+a1
  FROM t6, t2, t4, t3, t1, t9
 WHERE 379=b4
   AND a3 in (995,818,865,5,296)
   AND c9=64
   AND a1 in (276,280,283,438,820)
   AND d6=786
   AND 638=e2

query IIIITI rowsort join72
SELECT b1, b6*386, d9+595+d3, d4+a4, x3, c2+706+a1
  FROM t2, t1, t9, t3, t6, t4
 WHERE a3 in (995,818,865,5,296)
   AND 379=b4
   AND a1 in (276,280,283,438,820)
   AND 638=e2
   AND d6=786
   AND c9=64

query IIIITI rowsort join72
SELECT b1, b6*386, d9+595+d3, d4+a4, x3, c2+706+a1
  FROM t2, t3, t9, t1, t6, t4
 WHERE a3 in (995,818,865,5,296)
   AND 638=e2
   AND 379=b4
   AND c9=64
   AND d6=786
   AND a1 in (276,280,283,438,820)

query IIIITI rowsort join72
SELECT b1, b6*386, d9+595+d3, d4+a4, x3, c2+706+a1
  FROM t2, t6, t4, t3, t1, t9
 WHERE a3 in (995,818,865,5,296)
   AND a1 in (276,280,283,438,820)
   AND 638=e2
   AND c9=64
   AND 379=b4
   AND d6=786

query III rowsort join73
SELECT d2, c5, b1*285+d5
  FROM t1, t2, t5
 WHERE 963=a1
   AND c5 in (313,485,721,934,756,805)
   AND c2 in (193,274,830,466,810)

query III rowsort join73
SELECT d2, c5, b1*285+d5
  FROM t5, t2, t1
 WHERE 963=a1
   AND c5 in (313,485,721,934,756,805)
   AND c2 in (193,274,830,466,810)

query III rowsort join73
SELECT d2, c5, b1*285+d5
  FROM t5, t1, t2
 WHERE c2 in (193,274,830,466,810)
   AND 963=a1
   AND c5 in (313,485,721,934,756,805)

query III rowsort join73
SELECT d2, c5, b1*285+d5
  FROM t2, t5, t1
 WHERE c5 in (313,485,721,934,756,805)
   AND c2 in (193,274,830,466,810)
   AND 963=a1

query ITII rowsort join74
SELECT d6+257, x8, b3*536+e8, a4*605
  FROM t6, t3, t8, t4
 WHERE d6=581
   AND b4=267
   AND e8 in (646,947,381,63,561,811)
   AND a3=e8

query ITII rowsort join74
SELECT d6+257, x8, b3*536+e8, a4*605
  FROM t6, t3, t8, t4
 WHERE a3=e8
   AND e8 in (646,947,381,63,561,811)
   AND d6=581
   AND b4=267

query ITII rowsort join74
SELECT d6+257, x8, b3*536+e8, a4*605
  FROM t6, t3, t4, t8
 WHERE d6=581
   AND e8 in (646,947,381,63,561,811)
   AND a3=e8
   AND b4=267

query ITII rowsort join74
SELECT d6+257, x8, b3*536+e8, a4*605
  FROM t4, t3, t8, t6
 WHERE a3=e8
   AND d6=581
   AND e8 in (646,947,381,63,561,811)
   AND b4=267

query IIII rowsort join75
SELECT a1*203+a1, e3+d3, d4*811+a1, c7*779
  FROM t4, t1, t7, t3
 WHERE 821=a1
   AND b4 in (175,289,294,389,624,33)
   AND a3 in (784,296,386,935,872,710)
   AND e7 in (79,122,976,562,955,663)

query IIII rowsort join75
SELECT a1*203+a1, e3+d3, d4*811+a1, c7*779
  FROM t3, t7, t1, t4
 WHERE a3 in (784,296,386,935,872,710)
   AND e7 in (79,122,976,562,955,663)
   AND 821=a1
   AND b4 in (175,289,294,389,624,33)

query IIII rowsort join75
SELECT a1*203+a1, e3+d3, d4*811+a1, c7*779
  FROM t1, t4, t7, t3
 WHERE b4 in (175,289,294,389,624,33)
   AND a3 in (784,296,386,935,872,710)
   AND e7 in (79,122,976,562,955,663)
   AND 821=a1

query IIII rowsort join75
SELECT a1*203+a1, e3+d3, d4*811+a1, c7*779
  FROM t7, t4, t3, t1
 WHERE e7 in (79,122,976,562,955,663)
   AND 821=a1
   AND a3 in (784,296,386,935,872,710)
   AND b4 in (175,289,294,389,624,33)

query IIII rowsort join76
SELECT d8+762, a5*605, e9, c4
  FROM t5, t4, t8, t9
 WHERE e8=333
   AND c9=60
   AND b4=286
   AND c5 in (734,774,819,855)

query IIII rowsort join76
SELECT d8+762, a5*605, e9, c4
  FROM t8, t5, t4, t9
 WHERE c5 in (734,774,819,855)
   AND c9=60
   AND e8=333
   AND b4=286

query IIII rowsort join76
SELECT d8+762, a5*605, e9, c4
  FROM t4, t8, t9, t5
 WHERE c9=60
   AND e8=333
   AND c5 in (734,774,819,855)
   AND b4=286

query IIII rowsort join76
SELECT d8+762, a5*605, e9, c4
  FROM t5, t9, t4, t8
 WHERE e8=333
   AND c5 in (734,774,819,855)
   AND b4=286
   AND c9=60

query II rowsort join77
SELECT c7, e4*293
  FROM t7, t4
 WHERE e7=e4
   AND b4 in (735,387,721,765,707)

query II rowsort join77
SELECT c7, e4*293
  FROM t7, t4
 WHERE b4 in (735,387,721,765,707)
   AND e7=e4

query II rowsort join77
SELECT c7, e4*293
  FROM t4, t7
 WHERE b4 in (735,387,721,765,707)
   AND e7=e4

query III rowsort join78
SELECT c9, b6, d4+595+b9
  FROM t6, t9, t4
 WHERE a9 in (335,811,964,706,660)
   AND d6 in (822,66,161,453,458,786,729,970)
   AND b4=a9

query III rowsort join78
SELECT c9, b6, d4+595+b9
  FROM t4, t9, t6
 WHERE b4=a9
   AND d6 in (822,66,161,453,458,786,729,970)
   AND a9 in (335,811,964,706,660)

query III rowsort join78
SELECT c9, b6, d4+595+b9
  FROM t6, t4, t9
 WHERE a9 in (335,811,964,706,660)
   AND d6 in (822,66,161,453,458,786,729,970)
   AND b4=a9

query III rowsort join78
SELECT c9, b6, d4+595+b9
  FROM t6, t4, t9
 WHERE d6 in (822,66,161,453,458,786,729,970)
   AND a9 in (335,811,964,706,660)
   AND b4=a9

query IIITII rowsort join79
SELECT b9, b2+766, e8, x4, d1*77, c7+c9
  FROM t9, t2, t4, t8, t1, t7
 WHERE a1=866
   AND b4 in (289,243,480,76,261,765)
   AND e7=31
   AND 893=e8
   AND b9 in (936,74,880,525,211,26,900,152)
   AND a2=966

query IIITII rowsort join79
SELECT b9, b2+766, e8, x4, d1*77, c7+c9
  FROM t2, t9, t4, t7, t8, t1
 WHERE b4 in (289,243,480,76,261,765)
   AND a1=866
   AND 893=e8
   AND a2=966
   AND b9 in (936,74,880,525,211,26,900,152)
   AND e7=31

query IIITII rowsort join79
SELECT b9, b2+766, e8, x4, d1*77, c7+c9
  FROM t9, t7, t8, t1, t4, t2
 WHERE a1=866
   AND 893=e8
   AND a2=966
   AND b4 in (289,243,480,76,261,765)
   AND b9 in (936,74,880,525,211,26,900,152)
   AND e7=31

query IIITII rowsort join79
SELECT b9, b2+766, e8, x4, d1*77, c7+c9
  FROM t2, t1, t8, t9, t7, t4
 WHERE a1=866
   AND e7=31
   AND b4 in (289,243,480,76,261,765)
   AND b9 in (936,74,880,525,211,26,900,152)
   AND a2=966
   AND 893=e8

query IT rowsort join80
SELECT c4, x1
  FROM t4, t1
 WHERE b4 in (644,86,733)
   AND a1 in (382,352,406,584,161,268,640)

query TIIII rowsort join81
SELECT x3, c5*903+d7, e7*166+c4, b4, a6*866
  FROM t5, t6, t7, t4, t3
 WHERE e7=92
   AND a3 in (499,532,913,75,262,218,244)
   AND b4 in (139,319,589,289,907,33,94,627)
   AND c5=756
   AND d6 in (463,186,393,172,778)

query TIIII rowsort join81
SELECT x3, c5*903+d7, e7*166+c4, b4, a6*866
  FROM t4, t7, t5, t3, t6
 WHERE c5=756
   AND b4 in (139,319,589,289,907,33,94,627)
   AND a3 in (499,532,913,75,262,218,244)
   AND d6 in (463,186,393,172,778)
   AND e7=92

query TIIII rowsort join81
SELECT x3, c5*903+d7, e7*166+c4, b4, a6*866
  FROM t4, t5, t7, t3, t6
 WHERE e7=92
   AND c5=756
   AND b4 in (139,319,589,289,907,33,94,627)
   AND a3 in (499,532,913,75,262,218,244)
   AND d6 in (463,186,393,172,778)

query TIIII rowsort join81
SELECT x3, c5*903+d7, e7*166+c4, b4, a6*866
  FROM t6, t4, t7, t3, t5
 WHERE e7=92
   AND c5=756
   AND a3 in (499,532,913,75,262,218,244)
   AND d6 in (463,186,393,172,778)
   AND b4 in (139,319,589,289,907,33,94,627)

query II rowsort join82
SELECT a4, b3*716
  FROM t3, t4
 WHERE a3 in (549,560,5,947)
   AND b4 in (538,319,901,476,877,816,551,919)

query II rowsort join82
SELECT a4, b3*716
  FROM t4, t3
 WHERE a3 in (549,560,5,947)
   AND b4 in (538,319,901,476,877,816,551,919)

query II rowsort join82
SELECT a4, b3*716
  FROM t3, t4
 WHERE b4 in (538,319,901,476,877,816,551,919)
   AND a3 in (549,560,5,947)

query ITTIIII rowsort join83
SELECT b1+941, x7, x9, d2*252, b4, d8+b9, a3+803+e1
  FROM t7, t4, t3, t8, t1, t2, t9
 WHERE b4 in (331,434,802)
   AND a3=822
   AND 497=e8
   AND e7 in (884,280,7,39,988,168,688)
   AND a9=273
   AND c2=318
   AND a1 in (213,637,249)

query ITTIIII rowsort join83
SELECT b1+941, x7, x9, d2*252, b4, d8+b9, a3+803+e1
  FROM t4, t2, t7, t8, t9, t3, t1
 WHERE a1 in (213,637,249)
   AND b4 in (331,434,802)
   AND 497=e8
   AND c2=318
   AND a3=822
   AND a9=273
   AND e7 in (884,280,7,39,988,168,688)

query ITTIIII rowsort join83
SELECT b1+941, x7, x9, d2*252, b4, d8+b9, a3+803+e1
  FROM t7, t2, t8, t3, t9, t1, t4
 WHERE e7 in (884,280,7,39,988,168,688)
   AND c2=318
   AND b4 in (331,434,802)
   AND 497=e8
   AND a3=822
   AND a1 in (213,637,249)
   AND a9=273

query ITTIIII rowsort join83
SELECT b1+941, x7, x9, d2*252, b4, d8+b9, a3+803+e1
  FROM t3, t2, t7, t1, t9, t8, t4
 WHERE 497=e8
   AND a3=822
   AND a9=273
   AND c2=318
   AND a1 in (213,637,249)
   AND e7 in (884,280,7,39,988,168,688)
   AND b4 in (331,434,802)

query TI rowsort join84
SELECT x3, e7+b3
  FROM t7, t3
 WHERE 41=a3
   AND e7=144

query TI rowsort join84
SELECT x3, e7+b3
  FROM t3, t7
 WHERE e7=144
   AND 41=a3

query TI rowsort join84
SELECT x3, e7+b3
  FROM t7, t3
 WHERE e7=144
   AND 41=a3

query II rowsort join85
SELECT d5+541+b5, a1+a5
  FROM t1, t5
 WHERE c5 in (628,471,422,602,585,130,3,545)
   AND a1=936

query II rowsort join85
SELECT d5+541+b5, a1+a5
  FROM t5, t1
 WHERE c5 in (628,471,422,602,585,130,3,545)
   AND a1=936

query II rowsort join85
SELECT d5+541+b5, a1+a5
  FROM t1, t5
 WHERE a1=936
   AND c5 in (628,471,422,602,585,130,3,545)

query II rowsort join85
SELECT d5+541+b5, a1+a5
  FROM t5, t1
 WHERE a1=936
   AND c5 in (628,471,422,602,585,130,3,545)

query TII rowsort join86
SELECT x6, a1*716, d8
  FROM t1, t8, t6
 WHERE d6=a8
   AND a1 in (810,147,461,536,674,231,607,738)
   AND 617=e8

query TII rowsort join86
SELECT x6, a1*716, d8
  FROM t8, t1, t6
 WHERE 617=e8
   AND a1 in (810,147,461,536,674,231,607,738)
   AND d6=a8

query TII rowsort join86
SELECT x6, a1*716, d8
  FROM t1, t6, t8
 WHERE 617=e8
   AND d6=a8
   AND a1 in (810,147,461,536,674,231,607,738)

query TII rowsort join86
SELECT x6, a1*716, d8
  FROM t8, t6, t1
 WHERE d6=a8
   AND a1 in (810,147,461,536,674,231,607,738)
   AND 617=e8

query TII rowsort join87
SELECT x2, e9, e4
  FROM t2, t4, t9
 WHERE b9 in (19,410,127,667,326,447)
   AND b4=267
   AND d2 in (362,448,843,80,405,306,860,198)

query TII rowsort join87
SELECT x2, e9, e4
  FROM t9, t4, t2
 WHERE d2 in (362,448,843,80,405,306,860,198)
   AND b9 in (19,410,127,667,326,447)
   AND b4=267

query TII rowsort join87
SELECT x2, e9, e4
  FROM t9, t4, t2
 WHERE b4=267
   AND d2 in (362,448,843,80,405,306,860,198)
   AND b9 in (19,410,127,667,326,447)

query TII rowsort join87
SELECT x2, e9, e4
  FROM t2, t4, t9
 WHERE d2 in (362,448,843,80,405,306,860,198)
   AND b9 in (19,410,127,667,326,447)
   AND b4=267

query IIT rowsort join88
SELECT a8, e4+20, x2
  FROM t8, t4, t2
 WHERE c2 in (346,179,46)
   AND e8=422
   AND b4 in (961,608,644,563,829,938,68)

query IIT rowsort join88
SELECT a8, e4+20, x2
  FROM t8, t2, t4
 WHERE c2 in (346,179,46)
   AND e8=422
   AND b4 in (961,608,644,563,829,938,68)

query IIT rowsort join88
SELECT a8, e4+20, x2
  FROM t2, t8, t4
 WHERE e8=422
   AND b4 in (961,608,644,563,829,938,68)
   AND c2 in (346,179,46)

query IIT rowsort join88
SELECT a8, e4+20, x2
  FROM t2, t4, t8
 WHERE c2 in (346,179,46)
   AND e8=422
   AND b4 in (961,608,644,563,829,938,68)

query ITI rowsort join89
SELECT d5+339, x2, e9
  FROM t2, t9, t5
 WHERE 149=b9
   AND (c2=793 OR c2=964 OR 511=c2)
   AND 819=c5

query ITI rowsort join89
SELECT d5+339, x2, e9
  FROM t9, t2, t5
 WHERE 819=c5
   AND 149=b9
   AND (c2=793 OR c2=964 OR 511=c2)

query ITI rowsort join89
SELECT d5+339, x2, e9
  FROM t5, t2, t9
 WHERE (c2=793 OR c2=964 OR 511=c2)
   AND 819=c5
   AND 149=b9

query ITI rowsort join89
SELECT d5+339, x2, e9
  FROM t5, t2, t9
 WHERE (c2=793 OR c2=964 OR 511=c2)
   AND 149=b9
   AND 819=c5

query TITIT rowsort join90
SELECT x5, b9, x1, d4, x7
  FROM t9, t1, t5, t7, t4
 WHERE a1=674
   AND 907=b4
   AND 575=c9
   AND 250=c5
   AND 301=e7

query TITIT rowsort join90
SELECT x5, b9, x1, d4, x7
  FROM t9, t1, t7, t5, t4
 WHERE 301=e7
   AND 907=b4
   AND 250=c5
   AND 575=c9
   AND a1=674

query TITIT rowsort join90
SELECT x5, b9, x1, d4, x7
  FROM t7, t1, t4, t9, t5
 WHERE 301=e7
   AND 250=c5
   AND 907=b4
   AND a1=674
   AND 575=c9

query TITIT rowsort join90
SELECT x5, b9, x1, d4, x7
  FROM t7, t5, t9, t4, t1
 WHERE 301=e7
   AND 575=c9
   AND a1=674
   AND 250=c5
   AND 907=b4

query II rowsort join91
SELECT c7, a9+366
  FROM t7, t9
 WHERE e7=506
   AND c9 in (64,863,531)

query II rowsort join91
SELECT c7, a9+366
  FROM t7, t9
 WHERE c9 in (64,863,531)
   AND e7=506

query II rowsort join91
SELECT c7, a9+366
  FROM t9, t7
 WHERE c9 in (64,863,531)
   AND e7=506

query IIIIT rowsort join92
SELECT b9, e7, e6+e5, d5+c9, x2
  FROM t5, t6, t9, t7, t2
 WHERE e7 in (31,456,782,455,945,688,120,455)
   AND d9=b7
   AND d6 in (667,36,223)
   AND 628=b2
   AND c5 in (915,922,924,196,734,37,601,820)

query IIIIT rowsort join92
SELECT b9, e7, e6+e5, d5+c9, x2
  FROM t9, t7, t6, t2, t5
 WHERE e7 in (31,456,782,455,945,688,120,455)
   AND c5 in (915,922,924,196,734,37,601,820)
   AND 628=b2
   AND d9=b7
   AND d6 in (667,36,223)

query IIIIT rowsort join92
SELECT b9, e7, e6+e5, d5+c9, x2
  FROM t7, t6, t9, t5, t2
 WHERE d9=b7
   AND c5 in (915,922,924,196,734,37,601,820)
   AND e7 in (31,456,782,455,945,688,120,455)
   AND 628=b2
   AND d6 in (667,36,223)

query IIIIT rowsort join92
SELECT b9, e7, e6+e5, d5+c9, x2
  FROM t6, t2, t7, t9, t5
 WHERE d9=b7
   AND e7 in (31,456,782,455,945,688,120,455)
   AND c5 in (915,922,924,196,734,37,601,820)
   AND d6 in (667,36,223)
   AND 628=b2

query ITI rowsort join93
SELECT d6+799, x4, c5*428
  FROM t5, t4, t6
 WHERE c5=894
   AND d6 in (2,197,797,822,469)
   AND 139=b4

query ITI rowsort join93
SELECT d6+799, x4, c5*428
  FROM t6, t5, t4
 WHERE d6 in (2,197,797,822,469)
   AND c5=894
   AND 139=b4

query ITI rowsort join93
SELECT d6+799, x4, c5*428
  FROM t5, t4, t6
 WHERE d6 in (2,197,797,822,469)
   AND 139=b4
   AND c5=894

query ITI rowsort join93
SELECT d6+799, x4, c5*428
  FROM t4, t6, t5
 WHERE 139=b4
   AND c5=894
   AND d6 in (2,197,797,822,469)

query IIII rowsort join94
SELECT d4, e7+58+a4, a8+674, b5+142
  FROM t5, t7, t4, t8
 WHERE e8 in (223,579,548)
   AND e7=918
   AND c5 in (37,868,155,299,514)
   AND (58=b4 OR b4=434 OR 184=b4)

query IIII rowsort join94
SELECT d4, e7+58+a4, a8+674, b5+142
  FROM t8, t5, t4, t7
 WHERE e7=918
   AND c5 in (37,868,155,299,514)
   AND e8 in (223,579,548)
   AND (58=b4 OR b4=434 OR 184=b4)

query IIII rowsort join94
SELECT d4, e7+58+a4, a8+674, b5+142
  FROM t4, t5, t7, t8
 WHERE c5 in (37,868,155,299,514)
   AND e8 in (223,579,548)
   AND e7=918
   AND (58=b4 OR b4=434 OR 184=b4)

query IIII rowsort join94
SELECT d4, e7+58+a4, a8+674, b5+142
  FROM t5, t4, t7, t8
 WHERE c5 in (37,868,155,299,514)
   AND e8 in (223,579,548)
   AND (58=b4 OR b4=434 OR 184=b4)
   AND e7=918

query IIIT rowsort join95
SELECT b1*573+b1, e7+c5, b5+e7, x6
  FROM t6, t5, t1, t7
 WHERE 988=e7
   AND d6 in (458,446,750,846,561,196)
   AND a1 in (363,895,862,742,981,810,738)
   AND c5 in (941,599,602,222)

query IIIT rowsort join95
SELECT b1*573+b1, e7+c5, b5+e7, x6
  FROM t1, t6, t7, t5
 WHERE c5 in (941,599,602,222)
   AND a1 in (363,895,862,742,981,810,738)
   AND 988=e7
   AND d6 in (458,446,750,846,561,196)

query IIIT rowsort join95
SELECT b1*573+b1, e7+c5, b5+e7, x6
  FROM t5, t7, t6, t1
 WHERE d6 in (458,446,750,846,561,196)
   AND c5 in (941,599,602,222)
   AND a1 in (363,895,862,742,981,810,738)
   AND 988=e7

query IIIT rowsort join95
SELECT b1*573+b1, e7+c5, b5+e7, x6
  FROM t7, t5, t1, t6
 WHERE a1 in (363,895,862,742,981,810,738)
   AND 988=e7
   AND c5 in (941,599,602,222)
   AND d6 in (458,446,750,846,561,196)

query II rowsort join96
SELECT c4+a4, a7*640
  FROM t4, t7
 WHERE b4 in (903,434,289,35,2,68,114,924)
   AND e7=590

query II rowsort join96
SELECT c4+a4, a7*640
  FROM t7, t4
 WHERE e7=590
   AND b4 in (903,434,289,35,2,68,114,924)

query IIII rowsort join97
SELECT a6, d1+892, a9, a2+b9
  FROM t9, t6, t1, t2
 WHERE b9 in (210,5,77,612,2,361,211)
   AND 652=a2
   AND d6 in (186,147,590,822,578,473,489,729)
   AND a1=a9

query IIII rowsort join97
SELECT a6, d1+892, a9, a2+b9
  FROM t2, t9, t6, t1
 WHERE d6 in (186,147,590,822,578,473,489,729)
   AND 652=a2
   AND a1=a9
   AND b9 in (210,5,77,612,2,361,211)

query IIII rowsort join97
SELECT a6, d1+892, a9, a2+b9
  FROM t6, t1, t2, t9
 WHERE 652=a2
   AND d6 in (186,147,590,822,578,473,489,729)
   AND a1=a9
   AND b9 in (210,5,77,612,2,361,211)

query II rowsort join98
SELECT b9, b7+142
  FROM t7, t9
 WHERE e7 in (254,826,301,282)
   AND e9=e7

query II rowsort join98
SELECT b9, b7+142
  FROM t9, t7
 WHERE e9=e7
   AND e7 in (254,826,301,282)

query IITI rowsort join99
SELECT c5, a7+841+d7, x3, a6*156
  FROM t7, t5, t3, t6
 WHERE a3 in (822,335,513,594,181)
   AND 455=e7
   AND c5 in (927,689,37,293,384)
   AND d6 in (931,750,428)

query IITI rowsort join99
SELECT c5, a7+841+d7, x3, a6*156
  FROM t5, t6, t7, t3
 WHERE c5 in (927,689,37,293,384)
   AND d6 in (931,750,428)
   AND 455=e7
   AND a3 in (822,335,513,594,181)

query IITI rowsort join99
SELECT c5, a7+841+d7, x3, a6*156
  FROM t3, t6, t7, t5
 WHERE 455=e7
   AND d6 in (931,750,428)
   AND c5 in (927,689,37,293,384)
   AND a3 in (822,335,513,594,181)

query IITI rowsort join99
SELECT c5, a7+841+d7, x3, a6*156
  FROM t6, t3, t7, t5
 WHERE d6 in (931,750,428)
   AND 455=e7
   AND a3 in (822,335,513,594,181)
   AND c5 in (927,689,37,293,384)

query ITIIII rowsort join100
SELECT a7, x4, c2+990, b8+223, e6*5, a1+398+a7
  FROM t1, t8, t2, t4, t6, t7
 WHERE 387=b4
   AND e8 in (377,561,305,981)
   AND e7=689
   AND a1=477
   AND (269=d6 OR 797=d6 OR 578=d6)
   AND (997=e2 OR e2=815 OR e2=699)

query ITIIII rowsort join100
SELECT a7, x4, c2+990, b8+223, e6*5, a1+398+a7
  FROM t6, t4, t2, t8, t1, t7
 WHERE 387=b4
   AND a1=477
   AND e8 in (377,561,305,981)
   AND (269=d6 OR 797=d6 OR 578=d6)
   AND e7=689
   AND (997=e2 OR e2=815 OR e2=699)

query ITIIII rowsort join100
SELECT a7, x4, c2+990, b8+223, e6*5, a1+398+a7
  FROM t2, t7, t4, t1, t8, t6
 WHERE e8 in (377,561,305,981)
   AND e7=689
   AND (997=e2 OR e2=815 OR e2=699)
   AND a1=477
   AND (269=d6 OR 797=d6 OR 578=d6)
   AND 387=b4

query ITIIII rowsort join100
SELECT a7, x4, c2+990, b8+223, e6*5, a1+398+a7
  FROM t4, t2, t1, t7, t6, t8
 WHERE a1=477
   AND (269=d6 OR 797=d6 OR 578=d6)
   AND (997=e2 OR e2=815 OR e2=699)
   AND e7=689
   AND e8 in (377,561,305,981)
   AND 387=b4

query IITIIII rowsort join101
SELECT b5, d3, x9, c8+411, c4+e6, c6+c4, b2
  FROM t4, t6, t8, t2, t3, t5, t9
 WHERE a3 in (383,892,349,959,306,303,935)
   AND b9 in (855,214,827,50,285,900,342,122)
   AND a2 in (789,993,954,802,545,898)
   AND c5=a9
   AND d6 in (197,34,974,21,689,500,428)
   AND 765=b4
   AND e8 in (846,972,646,476,469,811,349)

query IITIIII rowsort join101
SELECT b5, d3, x9, c8+411, c4+e6, c6+c4, b2
  FROM t5, t9, t3, t2, t6, t8, t4
 WHERE a3 in (383,892,349,959,306,303,935)
   AND 765=b4
   AND e8 in (846,972,646,476,469,811,349)
   AND d6 in (197,34,974,21,689,500,428)
   AND c5=a9
   AND b9 in (855,214,827,50,285,900,342,122)
   AND a2 in (789,993,954,802,545,898)

query IITIIII rowsort join101
SELECT b5, d3, x9, c8+411, c4+e6, c6+c4, b2
  FROM t6, t2, t9, t5, t3, t4, t8
 WHERE 765=b4
   AND a2 in (789,993,954,802,545,898)
   AND d6 in (197,34,974,21,689,500,428)
   AND e8 in (846,972,646,476,469,811,349)
   AND b9 in (855,214,827,50,285,900,342,122)
   AND c5=a9
   AND a3 in (383,892,349,959,306,303,935)

query IITIIII rowsort join101
SELECT b5, d3, x9, c8+411, c4+e6, c6+c4, b2
  FROM t4, t3, t5, t9, t8, t2, t6
 WHERE c5=a9
   AND b9 in (855,214,827,50,285,900,342,122)
   AND d6 in (197,34,974,21,689,500,428)
   AND a3 in (383,892,349,959,306,303,935)
   AND a2 in (789,993,954,802,545,898)
   AND e8 in (846,972,646,476,469,811,349)
   AND 765=b4

query IIIIIT rowsort join102
SELECT b2+31, a7+668, a5+a8, d6+637, a8*200, x3
  FROM t6, t5, t2, t7, t3, t8
 WHERE a3=699
   AND c5 in (856,797,489)
   AND e8 in (600,56,488,947)
   AND 10=d2
   AND (d6=2 OR 767=d6)
   AND e7 in (929,197,562,122,183,234)

query IIIIIT rowsort join102
SELECT b2+31, a7+668, a5+a8, d6+637, a8*200, x3
  FROM t5, t3, t2, t6, t7, t8
 WHERE (d6=2 OR 767=d6)
   AND e7 in (929,197,562,122,183,234)
   AND c5 in (856,797,489)
   AND a3=699
   AND 10=d2
   AND e8 in (600,56,488,947)

query IIIIIT rowsort join102
SELECT b2+31, a7+668, a5+a8, d6+637, a8*200, x3
  FROM t2, t8, t5, t6, t7, t3
 WHERE 10=d2
   AND e8 in (600,56,488,947)
   AND e7 in (929,197,562,122,183,234)
   AND a3=699
   AND (d6=2 OR 767=d6)
   AND c5 in (856,797,489)

query IIIIIT rowsort join102
SELECT b2+31, a7+668, a5+a8, d6+637, a8*200, x3
  FROM t7, t6, t8, t5, t3, t2
 WHERE e7 in (929,197,562,122,183,234)
   AND c5 in (856,797,489)
   AND (d6=2 OR 767=d6)
   AND e8 in (600,56,488,947)
   AND a3=699
   AND 10=d2

query IIT rowsort join103
SELECT a9, b3*64, x5
  FROM t3, t9, t5
 WHERE a3 in (992,376,818,457,349,515,335)
   AND b9 in (12,410,236,122,926,262,301,211)
   AND c5 in (820,249,602,12,27,187)

query IIT rowsort join103
SELECT a9, b3*64, x5
  FROM t3, t5, t9
 WHERE b9 in (12,410,236,122,926,262,301,211)
   AND c5 in (820,249,602,12,27,187)
   AND a3 in (992,376,818,457,349,515,335)

query IIT rowsort join103
SELECT a9, b3*64, x5
  FROM t9, t3, t5
 WHERE c5 in (820,249,602,12,27,187)
   AND a3 in (992,376,818,457,349,515,335)
   AND b9 in (12,410,236,122,926,262,301,211)

query IIT rowsort join103
SELECT a9, b3*64, x5
  FROM t3, t5, t9
 WHERE c5 in (820,249,602,12,27,187)
   AND a3 in (992,376,818,457,349,515,335)
   AND b9 in (12,410,236,122,926,262,301,211)

query IIII rowsort join104
SELECT a1+381, b6*441, a3*360+a6, a2
  FROM t6, t2, t3, t1
 WHERE d2 in (137,931,836,844,723,892)
   AND d6 in (197,855,192,467,453,469,147,901)
   AND a1=e6
   AND a3 in (275,499,380,776)

query IIII rowsort join104
SELECT a1+381, b6*441, a3*360+a6, a2
  FROM t2, t3, t6, t1
 WHERE d2 in (137,931,836,844,723,892)
   AND a3 in (275,499,380,776)
   AND a1=e6
   AND d6 in (197,855,192,467,453,469,147,901)

query IIII rowsort join104
SELECT a1+381, b6*441, a3*360+a6, a2
  FROM t3, t1, t2, t6
 WHERE d6 in (197,855,192,467,453,469,147,901)
   AND d2 in (137,931,836,844,723,892)
   AND a1=e6
   AND a3 in (275,499,380,776)

query IIII rowsort join104
SELECT a1+381, b6*441, a3*360+a6, a2
  FROM t2, t6, t3, t1
 WHERE a1=e6
   AND d6 in (197,855,192,467,453,469,147,901)
   AND a3 in (275,499,380,776)
   AND d2 in (137,931,836,844,723,892)

query IIIT rowsort join105
SELECT b9+d6, c6, a1+a6, x2
  FROM t2, t6, t9, t1
 WHERE d6 in (405,256,924,911,790,855)
   AND d2 in (682,367,265,772,663,448,334)
   AND d9 in (464,549,23,808,967,161)
   AND a1=268

query IIIT rowsort join105
SELECT b9+d6, c6, a1+a6, x2
  FROM t2, t1, t6, t9
 WHERE d9 in (464,549,23,808,967,161)
   AND d2 in (682,367,265,772,663,448,334)
   AND d6 in (405,256,924,911,790,855)
   AND a1=268

query IIIT rowsort join105
SELECT b9+d6, c6, a1+a6, x2
  FROM t9, t1, t6, t2
 WHERE a1=268
   AND d9 in (464,549,23,808,967,161)
   AND d2 in (682,367,265,772,663,448,334)
   AND d6 in (405,256,924,911,790,855)

query IIIT rowsort join105
SELECT b9+d6, c6, a1+a6, x2
  FROM t1, t9, t2, t6
 WHERE d6 in (405,256,924,911,790,855)
   AND d9 in (464,549,23,808,967,161)
   AND a1=268
   AND d2 in (682,367,265,772,663,448,334)

query II rowsort join106
SELECT e4+224+a4, e8+d4
  FROM t4, t8
 WHERE b4=901
   AND e8=874

query II rowsort join106
SELECT e4+224+a4, e8+d4
  FROM t8, t4
 WHERE b4=901
   AND e8=874

query II rowsort join107
SELECT b4+b4, c2
  FROM t2, t4
 WHERE b4 in (33,469,357,964,535,243)
   AND e2=c4

query II rowsort join107
SELECT b4+b4, c2
  FROM t2, t4
 WHERE e2=c4
   AND b4 in (33,469,357,964,535,243)

query II rowsort join107
SELECT b4+b4, c2
  FROM t4, t2
 WHERE b4 in (33,469,357,964,535,243)
   AND e2=c4

query IITI rowsort join108
SELECT c9, c8+687, x5, d6*549+d8
  FROM t9, t8, t5, t6
 WHERE e8=c9
   AND c9 in (935,739,180,732,402,253,257)
   AND (600=d6 OR d6=376)
   AND c5 in (721,657,187,443,734)

query IITI rowsort join108
SELECT c9, c8+687, x5, d6*549+d8
  FROM t9, t6, t8, t5
 WHERE (600=d6 OR d6=376)
   AND c5 in (721,657,187,443,734)
   AND c9 in (935,739,180,732,402,253,257)
   AND e8=c9

query IITI rowsort join108
SELECT c9, c8+687, x5, d6*549+d8
  FROM t5, t6, t8, t9
 WHERE c9 in (935,739,180,732,402,253,257)
   AND e8=c9
   AND c5 in (721,657,187,443,734)
   AND (600=d6 OR d6=376)

query IITI rowsort join108
SELECT c9, c8+687, x5, d6*549+d8
  FROM t6, t9, t5, t8
 WHERE e8=c9
   AND (600=d6 OR d6=376)
   AND c5 in (721,657,187,443,734)
   AND c9 in (935,739,180,732,402,253,257)

query IITTIII rowsort join109
SELECT e6, e8+376, x4, x9, e5*680, d2+210, d3
  FROM t3, t6, t8, t2, t5, t9, t4
 WHERE (18=c5 OR c5=31 OR 915=c5)
   AND (b4=810 OR b4=849 OR 653=b4 OR b4=288)
   AND a2 in (543,324,253)
   AND a3 in (651,964,197,234,995,364,478)
   AND c9 in (126,992,732,811,327,800,87)
   AND e8=a5
   AND d6=d9

query IITTIII rowsort join109
SELECT e6, e8+376, x4, x9, e5*680, d2+210, d3
  FROM t8, t6, t9, t2, t4, t5, t3
 WHERE a3 in (651,964,197,234,995,364,478)
   AND a2 in (543,324,253)
   AND e8=a5
   AND c9 in (126,992,732,811,327,800,87)
   AND (b4=810 OR b4=849 OR 653=b4 OR b4=288)
   AND (18=c5 OR c5=31 OR 915=c5)
   AND d6=d9

query IITTIII rowsort join109
SELECT e6, e8+376, x4, x9, e5*680, d2+210, d3
  FROM t2, t5, t6, t8, t4, t3, t9
 WHERE a2 in (543,324,253)
   AND c9 in (126,992,732,811,327,800,87)
   AND (b4=810 OR b4=849 OR 653=b4 OR b4=288)
   AND (18=c5 OR c5=31 OR 915=c5)
   AND d6=d9
   AND a3 in (651,964,197,234,995,364,478)
   AND e8=a5

query IITTIII rowsort join109
SELECT e6, e8+376, x4, x9, e5*680, d2+210, d3
  FROM t5, t6, t4, t8, t3, t9, t2
 WHERE (b4=810 OR b4=849 OR 653=b4 OR b4=288)
   AND a3 in (651,964,197,234,995,364,478)
   AND a2 in (543,324,253)
   AND (18=c5 OR c5=31 OR 915=c5)
   AND c9 in (126,992,732,811,327,800,87)
   AND e8=a5
   AND d6=d9

query IIIII rowsort join110
SELECT c4, a8+664, e7+e5, b5+c4, d9+a5
  FROM t8, t7, t9, t5, t4
 WHERE b4 in (606,587,982,184,532,538)
   AND (663=e7 OR 248=e7 OR 197=e7)
   AND c5 in (668,101,723)
   AND 704=e9
   AND 296=e8

query IIIII rowsort join110
SELECT c4, a8+664, e7+e5, b5+c4, d9+a5
  FROM t5, t7, t8, t9, t4
 WHERE (663=e7 OR 248=e7 OR 197=e7)
   AND b4 in (606,587,982,184,532,538)
   AND 704=e9
   AND c5 in (668,101,723)
   AND 296=e8

query IIIII rowsort join110
SELECT c4, a8+664, e7+e5, b5+c4, d9+a5
  FROM t8, t5, t7, t9, t4
 WHERE c5 in (668,101,723)
   AND (663=e7 OR 248=e7 OR 197=e7)
   AND b4 in (606,587,982,184,532,538)
   AND 296=e8
   AND 704=e9

query IIIII rowsort join110
SELECT c4, a8+664, e7+e5, b5+c4, d9+a5
  FROM t5, t8, t4, t7, t9
 WHERE 704=e9
   AND (663=e7 OR 248=e7 OR 197=e7)
   AND 296=e8
   AND b4 in (606,587,982,184,532,538)
   AND c5 in (668,101,723)

query TIII rowsort join111
SELECT x2, e5+917+c2, d9, e7+e9
  FROM t7, t2, t5, t9
 WHERE e9 in (844,486,388,239,263,127)
   AND d2 in (772,405,525,847,249)
   AND (156=e7 OR 945=e7 OR 439=e7)
   AND (c5=570 OR 44=c5)

query TIII rowsort join111
SELECT x2, e5+917+c2, d9, e7+e9
  FROM t5, t7, t9, t2
 WHERE (156=e7 OR 945=e7 OR 439=e7)
   AND d2 in (772,405,525,847,249)
   AND (c5=570 OR 44=c5)
   AND e9 in (844,486,388,239,263,127)

query TIII rowsort join111
SELECT x2, e5+917+c2, d9, e7+e9
  FROM t2, t5, t7, t9
 WHERE d2 in (772,405,525,847,249)
   AND e9 in (844,486,388,239,263,127)
   AND (156=e7 OR 945=e7 OR 439=e7)
   AND (c5=570 OR 44=c5)

query TIII rowsort join111
SELECT x2, e5+917+c2, d9, e7+e9
  FROM t7, t9, t5, t2
 WHERE (c5=570 OR 44=c5)
   AND (156=e7 OR 945=e7 OR 439=e7)
   AND d2 in (772,405,525,847,249)
   AND e9 in (844,486,388,239,263,127)

query IIIIII rowsort join112
SELECT e3*646, b5, d6*734, c2, a9+c3, b8+e9
  FROM t6, t2, t3, t8, t9, t5
 WHERE a3 in (129,720,164,396,135,895,186,364)
   AND 680=b9
   AND (442=c5 OR c5=756)
   AND b2=211
   AND d6 in (689,489,186,72,367,256,931,467)
   AND e8 in (700,56,956,811,586)

query IIIIII rowsort join112
SELECT e3*646, b5, d6*734, c2, a9+c3, b8+e9
  FROM t3, t2, t5, t6, t9, t8
 WHERE d6 in (689,489,186,72,367,256,931,467)
   AND b2=211
   AND e8 in (700,56,956,811,586)
   AND 680=b9
   AND a3 in (129,720,164,396,135,895,186,364)
   AND (442=c5 OR c5=756)

query IIIIII rowsort join112
SELECT e3*646, b5, d6*734, c2, a9+c3, b8+e9
  FROM t9, t6, t2, t3, t8, t5
 WHERE a3 in (129,720,164,396,135,895,186,364)
   AND e8 in (700,56,956,811,586)
   AND d6 in (689,489,186,72,367,256,931,467)
   AND b2=211
   AND 680=b9
   AND (442=c5 OR c5=756)

query IIIIII rowsort join112
SELECT e3*646, b5, d6*734, c2, a9+c3, b8+e9
  FROM t6, t8, t3, t5, t2, t9
 WHERE (442=c5 OR c5=756)
   AND b2=211
   AND d6 in (689,489,186,72,367,256,931,467)
   AND a3 in (129,720,164,396,135,895,186,364)
   AND e8 in (700,56,956,811,586)
   AND 680=b9

query II rowsort join113
SELECT c3+c3, a1+68
  FROM t3, t1
 WHERE a1 in (895,668,179,32,237,622,779,521)
   AND a3=b1

query II rowsort join113
SELECT c3+c3, a1+68
  FROM t1, t3
 WHERE a3=b1
   AND a1 in (895,668,179,32,237,622,779,521)

query II rowsort join113
SELECT c3+c3, a1+68
  FROM t3, t1
 WHERE a3=b1
   AND a1 in (895,668,179,32,237,622,779,521)

query III rowsort join114
SELECT b7, c1, d4+c7
  FROM t1, t4, t7
 WHERE 241=a1
   AND (e7=860 OR e7=553 OR 945=e7 OR e7=103)
   AND (b4=114 OR b4=402 OR b4=748)

query III rowsort join114
SELECT b7, c1, d4+c7
  FROM t4, t7, t1
 WHERE 241=a1
   AND (e7=860 OR e7=553 OR 945=e7 OR e7=103)
   AND (b4=114 OR b4=402 OR b4=748)

query III rowsort join114
SELECT b7, c1, d4+c7
  FROM t7, t1, t4
 WHERE (b4=114 OR b4=402 OR b4=748)
   AND (e7=860 OR e7=553 OR 945=e7 OR e7=103)
   AND 241=a1

query III rowsort join114
SELECT b7, c1, d4+c7
  FROM t1, t4, t7
 WHERE (e7=860 OR e7=553 OR 945=e7 OR e7=103)
   AND 241=a1
   AND (b4=114 OR b4=402 OR b4=748)

query II rowsort join115
SELECT d8, b9+232
  FROM t9, t8
 WHERE 936=c9
   AND e8 in (956,105,811,918)

query II rowsort join115
SELECT d8, b9+232
  FROM t9, t8
 WHERE e8 in (956,105,811,918)
   AND 936=c9

query II rowsort join115
SELECT d8, b9+232
  FROM t8, t9
 WHERE 936=c9
   AND e8 in (956,105,811,918)

query II rowsort join115
SELECT d8, b9+232
  FROM t8, t9
 WHERE e8 in (956,105,811,918)
   AND 936=c9

query TI rowsort join116
SELECT x7, a4
  FROM t4, t7
 WHERE 877=b4
   AND e7=503

query TI rowsort join116
SELECT x7, a4
  FROM t7, t4
 WHERE 877=b4
   AND e7=503

query TI rowsort join116
SELECT x7, a4
  FROM t7, t4
 WHERE e7=503
   AND 877=b4

query IIIII rowsort join117
SELECT c3*431, a8+d6, c9+294, e6, a4+902
  FROM t9, t4, t6, t8, t3
 WHERE (429=a3 OR a3=262 OR 548=a3 OR 720=a3)
   AND e8 in (421,487,310,729)
   AND b4 in (941,919,2)
   AND d6 in (186,993,463,192,458,901,446)
   AND a9=962

query IIIII rowsort join117
SELECT c3*431, a8+d6, c9+294, e6, a4+902
  FROM t4, t3, t6, t8, t9
 WHERE a9=962
   AND d6 in (186,993,463,192,458,901,446)
   AND b4 in (941,919,2)
   AND e8 in (421,487,310,729)
   AND (429=a3 OR a3=262 OR 548=a3 OR 720=a3)

query IIIII rowsort join117
SELECT c3*431, a8+d6, c9+294, e6, a4+902
  FROM t6, t4, t9, t8, t3
 WHERE b4 in (941,919,2)
   AND e8 in (421,487,310,729)
   AND d6 in (186,993,463,192,458,901,446)
   AND (429=a3 OR a3=262 OR 548=a3 OR 720=a3)
   AND a9=962

query IIIII rowsort join117
SELECT c3*431, a8+d6, c9+294, e6, a4+902
  FROM t3, t4, t8, t6, t9
 WHERE e8 in (421,487,310,729)
   AND a9=962
   AND (429=a3 OR a3=262 OR 548=a3 OR 720=a3)
   AND b4 in (941,919,2)
   AND d6 in (186,993,463,192,458,901,446)

query TIITII rowsort join118
SELECT x4, d2+b8, e8, x3, d1*74, c6*79+b2
  FROM t2, t4, t8, t6, t1, t3
 WHERE a1=75
   AND (b2=519 OR b2=649)
   AND a3 in (499,820,548)
   AND e8 in (761,833,497,561,440)
   AND d6 in (36,185,581,269,473,147)
   AND b4=402

query TIITII rowsort join118
SELECT x4, d2+b8, e8, x3, d1*74, c6*79+b2
  FROM t2, t6, t1, t8, t3, t4
 WHERE (b2=519 OR b2=649)
   AND e8 in (761,833,497,561,440)
   AND d6 in (36,185,581,269,473,147)
   AND b4=402
   AND a3 in (499,820,548)
   AND a1=75

query TIITII rowsort join118
SELECT x4, d2+b8, e8, x3, d1*74, c6*79+b2
  FROM t4, t8, t3, t1, t6, t2
 WHERE d6 in (36,185,581,269,473,147)
   AND b4=402
   AND e8 in (761,833,497,561,440)
   AND a1=75
   AND a3 in (499,820,548)
   AND (b2=519 OR b2=649)

query TIITII rowsort join118
SELECT x4, d2+b8, e8, x3, d1*74, c6*79+b2
  FROM t3, t6, t2, t1, t4, t8
 WHERE e8 in (761,833,497,561,440)
   AND a1=75
   AND (b2=519 OR b2=649)
   AND b4=402
   AND a3 in (499,820,548)
   AND d6 in (36,185,581,269,473,147)

query II rowsort join119
SELECT e2+d2, a7
  FROM t2, t7
 WHERE a2 in (315,954,308,664,522,805)
   AND e7 in (455,793,7,290,48,782,816,624)

query II rowsort join119
SELECT e2+d2, a7
  FROM t2, t7
 WHERE e7 in (455,793,7,290,48,782,816,624)
   AND a2 in (315,954,308,664,522,805)

query II rowsort join119
SELECT e2+d2, a7
  FROM t7, t2
 WHERE e7 in (455,793,7,290,48,782,816,624)
   AND a2 in (315,954,308,664,522,805)

query ITIIIIII rowsort join120
SELECT d6*403+c6, x7, e8, a5+617, a1*403, e9+161, e2*506, c4+57
  FROM t9, t8, t4, t1, t7, t5, t6, t2
 WHERE e9=868
   AND b2=c7
   AND 560=d6
   AND a1 in (215,918,173,147,451,52)
   AND e8 in (942,423,463,918,497,874,617,305)
   AND b4 in (925,175,267,721,476)
   AND e7 in (929,344,522)
   AND (c5=855 OR c5=544 OR c5=924 OR c5=147)

query ITIIIIII rowsort join120
SELECT d6*403+c6, x7, e8, a5+617, a1*403, e9+161, e2*506, c4+57
  FROM t6, t1, t5, t8, t4, t2, t7, t9
 WHERE e9=868
   AND e7 in (929,344,522)
   AND e8 in (942,423,463,918,497,874,617,305)
   AND (c5=855 OR c5=544 OR c5=924 OR c5=147)
   AND a1 in (215,918,173,147,451,52)
   AND b2=c7
   AND b4 in (925,175,267,721,476)
   AND 560=d6

query ITIIIIII rowsort join120
SELECT d6*403+c6, x7, e8, a5+617, a1*403, e9+161, e2*506, c4+57
  FROM t9, t7, t4, t1, t5, t2, t8, t6
 WHERE a1 in (215,918,173,147,451,52)
   AND (c5=855 OR c5=544 OR c5=924 OR c5=147)
   AND e8 in (942,423,463,918,497,874,617,305)
   AND e9=868
   AND e7 in (929,344,522)
   AND 560=d6
   AND b4 in (925,175,267,721,476)
   AND b2=c7

query ITIIIIII rowsort join120
SELECT d6*403+c6, x7, e8, a5+617, a1*403, e9+161, e2*506, c4+57
  FROM t8, t2, t9, t7, t6, t4, t5, t1
 WHERE e9=868
   AND 560=d6
   AND e8 in (942,423,463,918,497,874,617,305)
   AND e7 in (929,344,522)
   AND a1 in (215,918,173,147,451,52)
   AND b2=c7
   AND (c5=855 OR c5=544 OR c5=924 OR c5=147)
   AND b4 in (925,175,267,721,476)

query IIITIT rowsort join121
SELECT d8+326, c5, b1, x2, e3, x6
  FROM t6, t5, t3, t2, t8, t1
 WHERE c5 in (210,602,924,678,222,696)
   AND a3=198
   AND e8=966
   AND d6 in (931,34,664,35,674)
   AND 268=a1
   AND c2 in (711,779,756)

query IIITIT rowsort join121
SELECT d8+326, c5, b1, x2, e3, x6
  FROM t1, t6, t3, t8, t2, t5
 WHERE d6 in (931,34,664,35,674)
   AND c5 in (210,602,924,678,222,696)
   AND e8=966
   AND 268=a1
   AND a3=198
   AND c2 in (711,779,756)

query IIITIT rowsort join121
SELECT d8+326, c5, b1, x2, e3, x6
  FROM t5, t6, t2, t1, t3, t8
 WHERE 268=a1
   AND d6 in (931,34,664,35,674)
   AND c2 in (711,779,756)
   AND e8=966
   AND c5 in (210,602,924,678,222,696)
   AND a3=198

query IIITIT rowsort join121
SELECT d8+326, c5, b1, x2, e3, x6
  FROM t3, t2, t1, t5, t6, t8
 WHERE 268=a1
   AND c5 in (210,602,924,678,222,696)
   AND c2 in (711,779,756)
   AND d6 in (931,34,664,35,674)
   AND a3=198
   AND e8=966

query TI rowsort join122
SELECT x5, d8
  FROM t8, t5
 WHERE e8=295
   AND c5 in (12,774,149,657)

query TI rowsort join122
SELECT x5, d8
  FROM t8, t5
 WHERE c5 in (12,774,149,657)
   AND e8=295

query TI rowsort join122
SELECT x5, d8
  FROM t5, t8
 WHERE c5 in (12,774,149,657)
   AND e8=295

query IIIT rowsort join123
SELECT b3, a7+753, c2, x5
  FROM t2, t5, t7, t3
 WHERE a2=863
   AND e7 in (689,282,144,290,979,815)
   AND c5=b7
   AND (a3=863 OR 364=a3 OR 651=a3 OR 376=a3)

query IIIT rowsort join123
SELECT b3, a7+753, c2, x5
  FROM t5, t3, t2, t7
 WHERE (a3=863 OR 364=a3 OR 651=a3 OR 376=a3)
   AND c5=b7
   AND a2=863
   AND e7 in (689,282,144,290,979,815)

query IIIT rowsort join123
SELECT b3, a7+753, c2, x5
  FROM t3, t7, t5, t2
 WHERE a2=863
   AND c5=b7
   AND (a3=863 OR 364=a3 OR 651=a3 OR 376=a3)
   AND e7 in (689,282,144,290,979,815)

query IIIT rowsort join123
SELECT b3, a7+753, c2, x5
  FROM t5, t2, t7, t3
 WHERE (a3=863 OR 364=a3 OR 651=a3 OR 376=a3)
   AND c5=b7
   AND e7 in (689,282,144,290,979,815)
   AND a2=863

query II rowsort join124
SELECT e9+c9, a6*322
  FROM t9, t6
 WHERE 405=d6
   AND c9=800

query II rowsort join124
SELECT e9+c9, a6*322
  FROM t6, t9
 WHERE 405=d6
   AND c9=800

query II rowsort join124
SELECT e9+c9, a6*322
  FROM t6, t9
 WHERE c9=800
   AND 405=d6

query III rowsort join125
SELECT a4*399, a7, c9*469
  FROM t4, t7, t9
 WHERE e7=862
   AND 372=b4
   AND c9 in (662,349,688,98,547,402,526)

query III rowsort join125
SELECT a4*399, a7, c9*469
  FROM t7, t4, t9
 WHERE e7=862
   AND c9 in (662,349,688,98,547,402,526)
   AND 372=b4

query III rowsort join125
SELECT a4*399, a7, c9*469
  FROM t7, t9, t4
 WHERE e7=862
   AND c9 in (662,349,688,98,547,402,526)
   AND 372=b4

query III rowsort join125
SELECT a4*399, a7, c9*469
  FROM t7, t9, t4
 WHERE 372=b4
   AND e7=862
   AND c9 in (662,349,688,98,547,402,526)

query IIT rowsort join126
SELECT c9, d3*843, x2
  FROM t3, t2, t9
 WHERE 788=a3
   AND 5=b9
   AND c2 in (244,894,806)

query IIT rowsort join126
SELECT c9, d3*843, x2
  FROM t3, t2, t9
 WHERE 5=b9
   AND c2 in (244,894,806)
   AND 788=a3

query IIT rowsort join126
SELECT c9, d3*843, x2
  FROM t3, t9, t2
 WHERE 788=a3
   AND c2 in (244,894,806)
   AND 5=b9

query IIT rowsort join126
SELECT c9, d3*843, x2
  FROM t9, t2, t3
 WHERE 5=b9
   AND 788=a3
   AND c2 in (244,894,806)

query ITIT rowsort join127
SELECT d1+d2, x7, b2+291, x4
  FROM t4, t1, t7, t2
 WHERE (b4=357 OR b4=765 OR b4=635 OR b4=765)
   AND (182=c2 OR c2=793)
   AND e7 in (372,815,462,971,103)
   AND a1=524

query ITIT rowsort join127
SELECT d1+d2, x7, b2+291, x4
  FROM t2, t4, t1, t7
 WHERE (b4=357 OR b4=765 OR b4=635 OR b4=765)
   AND e7 in (372,815,462,971,103)
   AND (182=c2 OR c2=793)
   AND a1=524

query ITIT rowsort join127
SELECT d1+d2, x7, b2+291, x4
  FROM t7, t4, t1, t2
 WHERE a1=524
   AND e7 in (372,815,462,971,103)
   AND (182=c2 OR c2=793)
   AND (b4=357 OR b4=765 OR b4=635 OR b4=765)

query ITIT rowsort join127
SELECT d1+d2, x7, b2+291, x4
  FROM t1, t7, t2, t4
 WHERE e7 in (372,815,462,971,103)
   AND (b4=357 OR b4=765 OR b4=635 OR b4=765)
   AND (182=c2 OR c2=793)
   AND a1=524

query II rowsort join128
SELECT d7*281, d4
  FROM t4, t7
 WHERE e7 in (860,127,456,31,970,288,462)
   AND b4=175

query II rowsort join128
SELECT d7*281, d4
  FROM t4, t7
 WHERE b4=175
   AND e7 in (860,127,456,31,970,288,462)

query TII rowsort join129
SELECT x6, d5, a7+486
  FROM t7, t6, t5
 WHERE (27=e7 OR 988=e7 OR e7=976 OR 884=e7)
   AND 155=c5
   AND d6=d7

query TII rowsort join129
SELECT x6, d5, a7+486
  FROM t6, t5, t7
 WHERE (27=e7 OR 988=e7 OR e7=976 OR 884=e7)
   AND d6=d7
   AND 155=c5

query TII rowsort join129
SELECT x6, d5, a7+486
  FROM t7, t6, t5
 WHERE d6=d7
   AND (27=e7 OR 988=e7 OR e7=976 OR 884=e7)
   AND 155=c5

query TII rowsort join129
SELECT x6, d5, a7+486
  FROM t5, t7, t6
 WHERE 155=c5
   AND d6=d7
   AND (27=e7 OR 988=e7 OR e7=976 OR 884=e7)

query IIII rowsort join130
SELECT a8+b6, d3, c6, d9+243+d8
  FROM t3, t9, t6, t8
 WHERE 560=d6
   AND (a3=457 OR 181=a3 OR 16=a3 OR 186=a3)
   AND a9 in (757,567,335,485,69,14,463)
   AND 617=e8

query IIII rowsort join130
SELECT a8+b6, d3, c6, d9+243+d8
  FROM t8, t3, t6, t9
 WHERE a9 in (757,567,335,485,69,14,463)
   AND 617=e8
   AND (a3=457 OR 181=a3 OR 16=a3 OR 186=a3)
   AND 560=d6

query IIII rowsort join130
SELECT a8+b6, d3, c6, d9+243+d8
  FROM t8, t3, t6, t9
 WHERE (a3=457 OR 181=a3 OR 16=a3 OR 186=a3)
   AND 560=d6
   AND 617=e8
   AND a9 in (757,567,335,485,69,14,463)

query IIII rowsort join130
SELECT a8+b6, d3, c6, d9+243+d8
  FROM t6, t8, t3, t9
 WHERE 617=e8
   AND (a3=457 OR 181=a3 OR 16=a3 OR 186=a3)
   AND 560=d6
   AND a9 in (757,567,335,485,69,14,463)

query IIIT rowsort join131
SELECT e8, a6*985, d2+796, x5
  FROM t6, t5, t8, t2
 WHERE c5=489
   AND d6 in (911,807,256)
   AND e8 in (700,423,736,296,431,497,955)
   AND c2=421

query IIIT rowsort join131
SELECT e8, a6*985, d2+796, x5
  FROM t8, t5, t2, t6
 WHERE d6 in (911,807,256)
   AND e8 in (700,423,736,296,431,497,955)
   AND c2=421
   AND c5=489

query IIIT rowsort join131
SELECT e8, a6*985, d2+796, x5
  FROM t2, t8, t6, t5
 WHERE e8 in (700,423,736,296,431,497,955)
   AND d6 in (911,807,256)
   AND c2=421
   AND c5=489

query IIIT rowsort join131
SELECT e8, a6*985, d2+796, x5
  FROM t2, t5, t8, t6
 WHERE c5=489
   AND c2=421
   AND e8 in (700,423,736,296,431,497,955)
   AND d6 in (911,807,256)

query II rowsort join132
SELECT a7, a8+214
  FROM t7, t8
 WHERE 975=e7
   AND 383=e8

query II rowsort join132
SELECT a7, a8+214
  FROM t8, t7
 WHERE 383=e8
   AND 975=e7

query II rowsort join133
SELECT b3*825, c7
  FROM t3, t7
 WHERE e7=503
   AND a3=964

query II rowsort join133
SELECT b3*825, c7
  FROM t7, t3
 WHERE a3=964
   AND e7=503

query II rowsort join133
SELECT b3*825, c7
  FROM t7, t3
 WHERE e7=503
   AND a3=964

query TIIII rowsort join134
SELECT x5, d1+51, e3+d3, e2+589, e9
  FROM t2, t5, t1, t3, t9
 WHERE 16=a3
   AND c5=678
   AND a1 in (371,294,513)
   AND (501=b2 OR b2=532 OR 755=b2 OR b2=812)
   AND c9 in (739,992,515,534,884,349,252)

query TIIII rowsort join134
SELECT x5, d1+51, e3+d3, e2+589, e9
  FROM t3, t2, t5, t9, t1
 WHERE a1 in (371,294,513)
   AND 16=a3
   AND c9 in (739,992,515,534,884,349,252)
   AND (501=b2 OR b2=532 OR 755=b2 OR b2=812)
   AND c5=678

query TIIII rowsort join134
SELECT x5, d1+51, e3+d3, e2+589, e9
  FROM t3, t5, t9, t2, t1
 WHERE c9 in (739,992,515,534,884,349,252)
   AND 16=a3
   AND a1 in (371,294,513)
   AND c5=678
   AND (501=b2 OR b2=532 OR 755=b2 OR b2=812)

query TIIII rowsort join134
SELECT x5, d1+51, e3+d3, e2+589, e9
  FROM t1, t3, t5, t2, t9
 WHERE a1 in (371,294,513)
   AND c9 in (739,992,515,534,884,349,252)
   AND (501=b2 OR b2=532 OR 755=b2 OR b2=812)
   AND 16=a3
   AND c5=678

query IIII rowsort join135
SELECT e7+236, b2, a1+102, d5+946
  FROM t1, t2, t7, t5
 WHERE c5 in (672,196,941,668,978,86,697,678)
   AND (e7=31 OR e7=67 OR e7=39)
   AND b2 in (168,367,357,217,605,754)
   AND a1 in (866,525,674,643,996)

query IIII rowsort join135
SELECT e7+236, b2, a1+102, d5+946
  FROM t5, t7, t1, t2
 WHERE c5 in (672,196,941,668,978,86,697,678)
   AND (e7=31 OR e7=67 OR e7=39)
   AND a1 in (866,525,674,643,996)
   AND b2 in (168,367,357,217,605,754)

query IIII rowsort join135
SELECT e7+236, b2, a1+102, d5+946
  FROM t2, t1, t7, t5
 WHERE c5 in (672,196,941,668,978,86,697,678)
   AND b2 in (168,367,357,217,605,754)
   AND (e7=31 OR e7=67 OR e7=39)
   AND a1 in (866,525,674,643,996)

query IIII rowsort join135
SELECT e7+236, b2, a1+102, d5+946
  FROM t1, t7, t2, t5
 WHERE c5 in (672,196,941,668,978,86,697,678)
   AND (e7=31 OR e7=67 OR e7=39)
   AND b2 in (168,367,357,217,605,754)
   AND a1 in (866,525,674,643,996)

query IT rowsort join136
SELECT e3, x6
  FROM t6, t3
 WHERE d6=129
   AND (699=a3 OR 959=a3)

query IT rowsort join136
SELECT e3, x6
  FROM t3, t6
 WHERE (699=a3 OR 959=a3)
   AND d6=129

query IT rowsort join136
SELECT e3, x6
  FROM t6, t3
 WHERE (699=a3 OR 959=a3)
   AND d6=129

query IIIT rowsort join137
SELECT c6+d6, c9, d7, x8
  FROM t6, t8, t9, t7
 WHERE (e8=487 OR e8=392 OR e8=463 OR 203=e8)
   AND (e7=428 OR 851=e7 OR e7=7)
   AND c9 in (402,349,240,526,187)
   AND (956=d6 OR 647=d6 OR 667=d6 OR 664=d6)

query IIIT rowsort join137
SELECT c6+d6, c9, d7, x8
  FROM t9, t7, t6, t8
 WHERE (956=d6 OR 647=d6 OR 667=d6 OR 664=d6)
   AND c9 in (402,349,240,526,187)
   AND (e7=428 OR 851=e7 OR e7=7)
   AND (e8=487 OR e8=392 OR e8=463 OR 203=e8)

query IIIT rowsort join137
SELECT c6+d6, c9, d7, x8
  FROM t7, t8, t6, t9
 WHERE (e8=487 OR e8=392 OR e8=463 OR 203=e8)
   AND (e7=428 OR 851=e7 OR e7=7)
   AND (956=d6 OR 647=d6 OR 667=d6 OR 664=d6)
   AND c9 in (402,349,240,526,187)

query IIIT rowsort join137
SELECT c6+d6, c9, d7, x8
  FROM t9, t6, t7, t8
 WHERE (e7=428 OR 851=e7 OR e7=7)
   AND (e8=487 OR e8=392 OR e8=463 OR 203=e8)
   AND c9 in (402,349,240,526,187)
   AND (956=d6 OR 647=d6 OR 667=d6 OR 664=d6)

query II rowsort join138
SELECT a6, a5
  FROM t6, t5
 WHERE 163=c5
   AND (d6=271 OR 590=d6)

query II rowsort join138
SELECT a6, a5
  FROM t5, t6
 WHERE 163=c5
   AND (d6=271 OR 590=d6)

query IIIIII rowsort join139
SELECT a3+d5, d7+568, c2+e3, e6, e5, c4*841
  FROM t5, t4, t3, t2, t7, t6
 WHERE 184=a3
   AND b4=826
   AND c5 in (585,187,672,18,766,163,44,734)
   AND 663=e7
   AND 996=c2
   AND (34=d6 OR 600=d6 OR 467=d6)

query IIIIII rowsort join139
SELECT a3+d5, d7+568, c2+e3, e6, e5, c4*841
  FROM t5, t2, t3, t6, t7, t4
 WHERE (34=d6 OR 600=d6 OR 467=d6)
   AND 184=a3
   AND 663=e7
   AND b4=826
   AND c5 in (585,187,672,18,766,163,44,734)
   AND 996=c2

query IIIIII rowsort join139
SELECT a3+d5, d7+568, c2+e3, e6, e5, c4*841
  FROM t6, t3, t7, t4, t5, t2
 WHERE 663=e7
   AND 184=a3
   AND b4=826
   AND c5 in (585,187,672,18,766,163,44,734)
   AND (34=d6 OR 600=d6 OR 467=d6)
   AND 996=c2

query IIIIII rowsort join139
SELECT a3+d5, d7+568, c2+e3, e6, e5, c4*841
  FROM t2, t6, t3, t4, t5, t7
 WHERE 663=e7
   AND (34=d6 OR 600=d6 OR 467=d6)
   AND b4=826
   AND c5 in (585,187,672,18,766,163,44,734)
   AND 184=a3
   AND 996=c2

query II rowsort join140
SELECT b3, d1
  FROM t1, t3
 WHERE (347=a3 OR a3=16 OR a3=697)
   AND 988=a1

query II rowsort join140
SELECT b3, d1
  FROM t3, t1
 WHERE (347=a3 OR a3=16 OR a3=697)
   AND 988=a1

query II rowsort join141
SELECT c9, e6
  FROM t9, t6
 WHERE d9 in (164,899,525,646,602,646)
   AND d6 in (376,321,36,458,271,453,852)

query II rowsort join141
SELECT c9, e6
  FROM t9, t6
 WHERE d6 in (376,321,36,458,271,453,852)
   AND d9 in (164,899,525,646,602,646)

query ITTITII rowsort join142
SELECT e9*527, x5, x6, a4, x1, b3, a2+902+c4
  FROM t6, t1, t4, t5, t2, t9, t3
 WHERE (479=a1 OR a1=609 OR 820=a1 OR a1=498)
   AND (153=d2 OR d2=953 OR d2=892)
   AND d6 in (956,911,60,489,277)
   AND b4 in (551,847,23,175,532,903)
   AND b9=118
   AND c5 in (149,443,855,585,351,613,941,551)
   AND a3=992

query ITTITII rowsort join142
SELECT e9*527, x5, x6, a4, x1, b3, a2+902+c4
  FROM t2, t6, t4, t9, t3, t1, t5
 WHERE d6 in (956,911,60,489,277)
   AND a3=992
   AND (479=a1 OR a1=609 OR 820=a1 OR a1=498)
   AND b4 in (551,847,23,175,532,903)
   AND b9=118
   AND c5 in (149,443,855,585,351,613,941,551)
   AND (153=d2 OR d2=953 OR d2=892)

query ITTITII rowsort join142
SELECT e9*527, x5, x6, a4, x1, b3, a2+902+c4
  FROM t2, t4, t5, t9, t1, t3, t6
 WHERE d6 in (956,911,60,489,277)
   AND (479=a1 OR a1=609 OR 820=a1 OR a1=498)
   AND b9=118
   AND c5 in (149,443,855,585,351,613,941,551)
   AND a3=992
   AND b4 in (551,847,23,175,532,903)
   AND (153=d2 OR d2=953 OR d2=892)

query ITTITII rowsort join142
SELECT e9*527, x5, x6, a4, x1, b3, a2+902+c4
  FROM t2, t6, t1, t4, t3, t9, t5
 WHERE (479=a1 OR a1=609 OR 820=a1 OR a1=498)
   AND b9=118
   AND c5 in (149,443,855,585,351,613,941,551)
   AND d6 in (956,911,60,489,277)
   AND a3=992
   AND b4 in (551,847,23,175,532,903)
   AND (153=d2 OR d2=953 OR d2=892)

query IIIIIIII rowsort join143
SELECT c9, e8+c4, e5*465, b1, c4+b3, e6, c3+a1, b2+b6
  FROM t2, t8, t4, t9, t3, t5, t1, t6
 WHERE d6=d4
   AND a1=406
   AND b4 in (849,184,372,888,982,748,35,261)
   AND (e8=440 OR 600=e8)
   AND (435=a9 OR 875=a9 OR 14=a9 OR a9=549)
   AND 527=c5
   AND e2=213
   AND a3=d6

query IIIIIIII rowsort join143
SELECT c9, e8+c4, e5*465, b1, c4+b3, e6, c3+a1, b2+b6
  FROM t3, t8, t2, t5, t1, t4, t9, t6
 WHERE d6=d4
   AND (e8=440 OR 600=e8)
   AND a1=406
   AND (435=a9 OR 875=a9 OR 14=a9 OR a9=549)
   AND b4 in (849,184,372,888,982,748,35,261)
   AND a3=d6
   AND e2=213
   AND 527=c5

query IIIIIIII rowsort join143
SELECT c9, e8+c4, e5*465, b1, c4+b3, e6, c3+a1, b2+b6
  FROM t9, t8, t6, t3, t4, t1, t5, t2
 WHERE b4 in (849,184,372,888,982,748,35,261)
   AND (435=a9 OR 875=a9 OR 14=a9 OR a9=549)
   AND a1=406
   AND 527=c5
   AND e2=213
   AND a3=d6
   AND d6=d4
   AND (e8=440 OR 600=e8)

query IIIIIIII rowsort join143
SELECT c9, e8+c4, e5*465, b1, c4+b3, e6, c3+a1, b2+b6
  FROM t9, t3, t2, t8, t5, t1, t4, t6
 WHERE 527=c5
   AND (435=a9 OR 875=a9 OR 14=a9 OR a9=549)
   AND a1=406
   AND e2=213
   AND d6=d4
   AND b4 in (849,184,372,888,982,748,35,261)
   AND (e8=440 OR 600=e8)
   AND a3=d6

query II rowsort join144
SELECT b6+903, c8+598
  FROM t6, t8
 WHERE d6 in (197,734,493,846,613,974,500)
   AND e8=488

query II rowsort join144
SELECT b6+903, c8+598
  FROM t8, t6
 WHERE d6 in (197,734,493,846,613,974,500)
   AND e8=488

query II rowsort join144
SELECT b6+903, c8+598
  FROM t8, t6
 WHERE e8=488
   AND d6 in (197,734,493,846,613,974,500)

query II rowsort join145
SELECT c3, e6+784
  FROM t6, t3
 WHERE d6=269
   AND a3 in (935,763,98,788,720,699)

query IIIII rowsort join146
SELECT b5+c5, d2, c9+297+e9, b1, b3+756
  FROM t1, t2, t5, t3, t9
 WHERE (244=a3 OR a3=899)
   AND e2 in (699,852,707)
   AND 824=c5
   AND (a1=4 OR a1=395)
   AND d9 in (164,161,525,224,628,602,305,495)

query IIIII rowsort join146
SELECT b5+c5, d2, c9+297+e9, b1, b3+756
  FROM t3, t5, t9, t2, t1
 WHERE e2 in (699,852,707)
   AND d9 in (164,161,525,224,628,602,305,495)
   AND (244=a3 OR a3=899)
   AND (a1=4 OR a1=395)
   AND 824=c5

query IIIII rowsort join146
SELECT b5+c5, d2, c9+297+e9, b1, b3+756
  FROM t9, t2, t3, t5, t1
 WHERE (244=a3 OR a3=899)
   AND d9 in (164,161,525,224,628,602,305,495)
   AND e2 in (699,852,707)
   AND (a1=4 OR a1=395)
   AND 824=c5

query IIIII rowsort join146
SELECT b5+c5, d2, c9+297+e9, b1, b3+756
  FROM t5, t1, t3, t9, t2
 WHERE e2 in (699,852,707)
   AND (a1=4 OR a1=395)
   AND 824=c5
   AND (244=a3 OR a3=899)
   AND d9 in (164,161,525,224,628,602,305,495)

query III rowsort join147
SELECT b7*217+a9, a9+a7, a3+c7
  FROM t9, t7, t3
 WHERE e7=816
   AND 184=a3
   AND b9 in (15,426,125)

query III rowsort join147
SELECT b7*217+a9, a9+a7, a3+c7
  FROM t7, t3, t9
 WHERE e7=816
   AND b9 in (15,426,125)
   AND 184=a3

query III rowsort join147
SELECT b7*217+a9, a9+a7, a3+c7
  FROM t9, t7, t3
 WHERE 184=a3
   AND e7=816
   AND b9 in (15,426,125)

query II rowsort join148
SELECT b8, d7*339+c8
  FROM t7, t8
 WHERE (508=e7 OR e7=248 OR e7=904)
   AND e8 in (463,38,377,41,199,295)

query II rowsort join148
SELECT b8, d7*339+c8
  FROM t8, t7
 WHERE (508=e7 OR e7=248 OR e7=904)
   AND e8 in (463,38,377,41,199,295)

query II rowsort join148
SELECT b8, d7*339+c8
  FROM t8, t7
 WHERE e8 in (463,38,377,41,199,295)
   AND (508=e7 OR e7=248 OR e7=904)

query TI rowsort join149
SELECT x5, d9*699
  FROM t9, t5
 WHERE b9 in (751,118,818)
   AND c5 in (18,820,437,915)

query TI rowsort join149
SELECT x5, d9*699
  FROM t5, t9
 WHERE c5 in (18,820,437,915)
   AND b9 in (751,118,818)

query II rowsort join150
SELECT e7+c7, e4
  FROM t7, t4
 WHERE e7 in (860,31,39,945,344,844,904,372)
   AND 941=b4

query II rowsort join150
SELECT e7+c7, e4
  FROM t7, t4
 WHERE 941=b4
   AND e7 in (860,31,39,945,344,844,904,372)

query ITTIIIII rowsort join151
SELECT b3, x5, x9, c4+b8, b1, b7, c8*346, b2+367
  FROM t9, t8, t2, t4, t1, t5, t3, t7
 WHERE e7=288
   AND b4 in (748,372,33)
   AND a3 in (576,5,164,70,386,697)
   AND a1 in (406,109,52,363,330,88,988,231)
   AND e9=e5
   AND b2 in (592,820,729,504,501,414,353,113)
   AND e8=497
   AND c5 in (602,442,729,774,799,689,196,544)

query ITTIIIII rowsort join151
SELECT b3, x5, x9, c4+b8, b1, b7, c8*346, b2+367
  FROM t5, t2, t8, t3, t7, t9, t1, t4
 WHERE a3 in (576,5,164,70,386,697)
   AND b2 in (592,820,729,504,501,414,353,113)
   AND c5 in (602,442,729,774,799,689,196,544)
   AND e8=497
   AND a1 in (406,109,52,363,330,88,988,231)
   AND b4 in (748,372,33)
   AND e7=288
   AND e9=e5

query ITTIIIII rowsort join151
SELECT b3, x5, x9, c4+b8, b1, b7, c8*346, b2+367
  FROM t5, t2, t8, t7, t9, t1, t4, t3
 WHERE e7=288
   AND e9=e5
   AND b2 in (592,820,729,504,501,414,353,113)
   AND c5 in (602,442,729,774,799,689,196,544)
   AND a1 in (406,109,52,363,330,88,988,231)
   AND b4 in (748,372,33)
   AND e8=497
   AND a3 in (576,5,164,70,386,697)

query ITTIIIII rowsort join151
SELECT b3, x5, x9, c4+b8, b1, b7, c8*346, b2+367
  FROM t5, t4, t8, t2, t9, t1, t7, t3
 WHERE e9=e5
   AND a1 in (406,109,52,363,330,88,988,231)
   AND e8=497
   AND a3 in (576,5,164,70,386,697)
   AND b2 in (592,820,729,504,501,414,353,113)
   AND b4 in (748,372,33)
   AND c5 in (602,442,729,774,799,689,196,544)
   AND e7=288

query III rowsort join152
SELECT a7, e1, d3+966+e1
  FROM t1, t3, t7
 WHERE 296=a3
   AND a1 in (862,521,88,380,477)
   AND e7=156

query III rowsort join152
SELECT a7, e1, d3+966+e1
  FROM t3, t7, t1
 WHERE 296=a3
   AND a1 in (862,521,88,380,477)
   AND e7=156

query III rowsort join152
SELECT a7, e1, d3+966+e1
  FROM t3, t7, t1
 WHERE a1 in (862,521,88,380,477)
   AND 296=a3
   AND e7=156

query III rowsort join152
SELECT a7, e1, d3+966+e1
  FROM t3, t1, t7
 WHERE e7=156
   AND 296=a3
   AND a1 in (862,521,88,380,477)

query III rowsort join153
SELECT a7, d6+b7, e1
  FROM t7, t1, t6
 WHERE (816=e7 OR 31=e7 OR 302=e7)
   AND d6 in (473,711,147,197,561,489)
   AND (a1=280 OR 742=a1 OR a1=498 OR a1=776)

query III rowsort join153
SELECT a7, d6+b7, e1
  FROM t1, t7, t6
 WHERE (a1=280 OR 742=a1 OR a1=498 OR a1=776)
   AND (816=e7 OR 31=e7 OR 302=e7)
   AND d6 in (473,711,147,197,561,489)

query III rowsort join153
SELECT a7, d6+b7, e1
  FROM t1, t6, t7
 WHERE (816=e7 OR 31=e7 OR 302=e7)
   AND (a1=280 OR 742=a1 OR a1=498 OR a1=776)
   AND d6 in (473,711,147,197,561,489)

query III rowsort join153
SELECT a7, d6+b7, e1
  FROM t1, t6, t7
 WHERE d6 in (473,711,147,197,561,489)
   AND (816=e7 OR 31=e7 OR 302=e7)
   AND (a1=280 OR 742=a1 OR a1=498 OR a1=776)

query IITI rowsort join154
SELECT d9, e2+54, x3, c7
  FROM t9, t3, t7, t2
 WHERE b9 in (848,549,103,361,456)
   AND a2=93
   AND e7 in (288,92,988,553,561,638,79,663)
   AND a3 in (551,162,30,872)

query IITI rowsort join154
SELECT d9, e2+54, x3, c7
  FROM t3, t2, t9, t7
 WHERE b9 in (848,549,103,361,456)
   AND e7 in (288,92,988,553,561,638,79,663)
   AND a3 in (551,162,30,872)
   AND a2=93

query IITI rowsort join154
SELECT d9, e2+54, x3, c7
  FROM t9, t3, t2, t7
 WHERE e7 in (288,92,988,553,561,638,79,663)
   AND b9 in (848,549,103,361,456)
   AND a2=93
   AND a3 in (551,162,30,872)

query IITI rowsort join154
SELECT d9, e2+54, x3, c7
  FROM t9, t7, t3, t2
 WHERE b9 in (848,549,103,361,456)
   AND e7 in (288,92,988,553,561,638,79,663)
   AND a2=93
   AND a3 in (551,162,30,872)

query IITIIII rowsort join155
SELECT a6+30, a8, x1, d2+e6, d4, d9+e2, b3+a4
  FROM t1, t8, t3, t6, t2, t4, t9
 WHERE b4=d6
   AND d2 in (598,886,977)
   AND (e8=495 OR e8=221 OR e8=296)
   AND a1 in (707,607,492,281,338,637,622,767)
   AND a3=368
   AND d6 in (600,393,613,901,489)
   AND a9 in (747,172,160,553)

query IITIIII rowsort join155
SELECT a6+30, a8, x1, d2+e6, d4, d9+e2, b3+a4
  FROM t6, t9, t8, t1, t3, t2, t4
 WHERE a1 in (707,607,492,281,338,637,622,767)
   AND d6 in (600,393,613,901,489)
   AND a3=368
   AND a9 in (747,172,160,553)
   AND d2 in (598,886,977)
   AND b4=d6
   AND (e8=495 OR e8=221 OR e8=296)

query IITIIII rowsort join155
SELECT a6+30, a8, x1, d2+e6, d4, d9+e2, b3+a4
  FROM t4, t2, t9, t6, t1, t3, t8
 WHERE a9 in (747,172,160,553)
   AND b4=d6
   AND d2 in (598,886,977)
   AND a3=368
   AND a1 in (707,607,492,281,338,637,622,767)
   AND d6 in (600,393,613,901,489)
   AND (e8=495 OR e8=221 OR e8=296)

query IITIIII rowsort join155
SELECT a6+30, a8, x1, d2+e6, d4, d9+e2, b3+a4
  FROM t3, t6, t9, t2, t1, t4, t8
 WHERE b4=d6
   AND a9 in (747,172,160,553)
   AND a3=368
   AND a1 in (707,607,492,281,338,637,622,767)
   AND d2 in (598,886,977)
   AND d6 in (600,393,613,901,489)
   AND (e8=495 OR e8=221 OR e8=296)

query IIIITIII rowsort join156
SELECT a3+652+a4, b1*211, a7*405, e8, x4, c6, b5+403+a5, a9+382
  FROM t5, t4, t8, t7, t3, t6, t9, t1
 WHERE d6=463
   AND 455=e7
   AND 422=c5
   AND b4=829
   AND a3 in (244,559,135,353,379)
   AND e9 in (987,936,737,687,230,301)
   AND a1=829
   AND e8=533

query IIIITIII rowsort join156
SELECT a3+652+a4, b1*211, a7*405, e8, x4, c6, b5+403+a5, a9+382
  FROM t7, t3, t1, t4, t8, t9, t5, t6
 WHERE b4=829
   AND 455=e7
   AND 422=c5
   AND d6=463
   AND e8=533
   AND a3 in (244,559,135,353,379)
   AND a1=829
   AND e9 in (987,936,737,687,230,301)

query IIIITIII rowsort join156
SELECT a3+652+a4, b1*211, a7*405, e8, x4, c6, b5+403+a5, a9+382
  FROM t4, t6, t8, t5, t9, t3, t1, t7
 WHERE 422=c5
   AND 455=e7
   AND a3 in (244,559,135,353,379)
   AND e9 in (987,936,737,687,230,301)
   AND b4=829
   AND e8=533
   AND d6=463
   AND a1=829

query IIIITIII rowsort join156
SELECT a3+652+a4, b1*211, a7*405, e8, x4, c6, b5+403+a5, a9+382
  FROM t5, t9, t4, t3, t1, t8, t7, t6
 WHERE a1=829
   AND e8=533
   AND e9 in (987,936,737,687,230,301)
   AND 422=c5
   AND a3 in (244,559,135,353,379)
   AND 455=e7
   AND b4=829
   AND d6=463

query IIII rowsort join157
SELECT c6+c6, b2+376+d6, b9, e4+361+b2
  FROM t9, t2, t6, t4
 WHERE d2 in (46,643,215,669,838,414)
   AND b4=c2
   AND 72=a9
   AND d6 in (405,674,852,196)

query IIII rowsort join157
SELECT c6+c6, b2+376+d6, b9, e4+361+b2
  FROM t9, t2, t6, t4
 WHERE d6 in (405,674,852,196)
   AND 72=a9
   AND b4=c2
   AND d2 in (46,643,215,669,838,414)

query IIII rowsort join157
SELECT c6+c6, b2+376+d6, b9, e4+361+b2
  FROM t9, t2, t4, t6
 WHERE d2 in (46,643,215,669,838,414)
   AND b4=c2
   AND d6 in (405,674,852,196)
   AND 72=a9

query IIII rowsort join157
SELECT c6+c6, b2+376+d6, b9, e4+361+b2
  FROM t9, t6, t4, t2
 WHERE b4=c2
   AND d6 in (405,674,852,196)
   AND d2 in (46,643,215,669,838,414)
   AND 72=a9

query II rowsort join158
SELECT b4*625, e7+299+a4
  FROM t7, t4
 WHERE b4 in (593,323,551,986)
   AND e7 in (553,428,782,156,280,7,508)

query II rowsort join158
SELECT b4*625, e7+299+a4
  FROM t4, t7
 WHERE b4 in (593,323,551,986)
   AND e7 in (553,428,782,156,280,7,508)

query II rowsort join158
SELECT b4*625, e7+299+a4
  FROM t4, t7
 WHERE e7 in (553,428,782,156,280,7,508)
   AND b4 in (593,323,551,986)

query ITIITI rowsort join159
SELECT d4+827, x1, c8+710, e9+360, x5, c2*231+d9
  FROM t9, t5, t1, t2, t8, t4
 WHERE d2 in (847,365,334,215)
   AND e8=a9
   AND a1 in (609,445,536,241)
   AND c9 in (370,936,232,64,935)
   AND b4 in (267,260,551,917,408)
   AND c5 in (797,960,163,733,50,649,249,634)

query ITIITI rowsort join159
SELECT d4+827, x1, c8+710, e9+360, x5, c2*231+d9
  FROM t1, t2, t5, t8, t4, t9
 WHERE e8=a9
   AND a1 in (609,445,536,241)
   AND c9 in (370,936,232,64,935)
   AND c5 in (797,960,163,733,50,649,249,634)
   AND b4 in (267,260,551,917,408)
   AND d2 in (847,365,334,215)

query ITIITI rowsort join159
SELECT d4+827, x1, c8+710, e9+360, x5, c2*231+d9
  FROM t1, t2, t9, t5, t8, t4
 WHERE a1 in (609,445,536,241)
   AND d2 in (847,365,334,215)
   AND b4 in (267,260,551,917,408)
   AND e8=a9
   AND c9 in (370,936,232,64,935)
   AND c5 in (797,960,163,733,50,649,249,634)

query ITIITI rowsort join159
SELECT d4+827, x1, c8+710, e9+360, x5, c2*231+d9
  FROM t4, t1, t8, t9, t5, t2
 WHERE a1 in (609,445,536,241)
   AND c5 in (797,960,163,733,50,649,249,634)
   AND b4 in (267,260,551,917,408)
   AND e8=a9
   AND d2 in (847,365,334,215)
   AND c9 in (370,936,232,64,935)

query IT rowsort join160
SELECT c9*242, x7
  FROM t9, t7
 WHERE 251=b9
   AND e7 in (815,499,201,782,904,884,561)

query IT rowsort join160
SELECT c9*242, x7
  FROM t7, t9
 WHERE 251=b9
   AND e7 in (815,499,201,782,904,884,561)

query TIII rowsort join161
SELECT x1, e2+836, a3+d1, d5+d2
  FROM t5, t2, t1, t3
 WHERE a3 in (478,559,379,820)
   AND 237=a1
   AND d2 in (2,577,405,892)
   AND c5 in (37,299,672,140,613)

query TIII rowsort join161
SELECT x1, e2+836, a3+d1, d5+d2
  FROM t2, t1, t3, t5
 WHERE d2 in (2,577,405,892)
   AND a3 in (478,559,379,820)
   AND c5 in (37,299,672,140,613)
   AND 237=a1

query TIII rowsort join161
SELECT x1, e2+836, a3+d1, d5+d2
  FROM t5, t3, t1, t2
 WHERE 237=a1
   AND d2 in (2,577,405,892)
   AND c5 in (37,299,672,140,613)
   AND a3 in (478,559,379,820)

query TIII rowsort join161
SELECT x1, e2+836, a3+d1, d5+d2
  FROM t2, t5, t3, t1
 WHERE c5 in (37,299,672,140,613)
   AND d2 in (2,577,405,892)
   AND 237=a1
   AND a3 in (478,559,379,820)

query IITI rowsort join162
SELECT b5, e9, x4, b8+c9
  FROM t4, t9, t5, t8
 WHERE (e8=180 OR e8=175)
   AND c5 in (351,261,927,158,797,923,989)
   AND b4 in (243,319,261,33)
   AND a9 in (830,435,240,28,683)

query IITI rowsort join162
SELECT b5, e9, x4, b8+c9
  FROM t5, t8, t9, t4
 WHERE b4 in (243,319,261,33)
   AND (e8=180 OR e8=175)
   AND c5 in (351,261,927,158,797,923,989)
   AND a9 in (830,435,240,28,683)

query IITI rowsort join162
SELECT b5, e9, x4, b8+c9
  FROM t9, t8, t5, t4
 WHERE (e8=180 OR e8=175)
   AND a9 in (830,435,240,28,683)
   AND c5 in (351,261,927,158,797,923,989)
   AND b4 in (243,319,261,33)

query IITI rowsort join162
SELECT b5, e9, x4, b8+c9
  FROM t4, t5, t9, t8
 WHERE c5 in (351,261,927,158,797,923,989)
   AND (e8=180 OR e8=175)
   AND b4 in (243,319,261,33)
   AND a9 in (830,435,240,28,683)

query II rowsort join163
SELECT b4+471, a8*599
  FROM t4, t8
 WHERE e8=455
   AND b4=635

query II rowsort join163
SELECT b4+471, a8*599
  FROM t8, t4
 WHERE e8=455
   AND b4=635

query II rowsort join163
SELECT b4+471, a8*599
  FROM t8, t4
 WHERE b4=635
   AND e8=455

query II rowsort join163
SELECT b4+471, a8*599
  FROM t4, t8
 WHERE b4=635
   AND e8=455

query III rowsort join164
SELECT a1, a9*493+c1, b6
  FROM t1, t9, t6
 WHERE d6 in (321,581,376,192,393,767)
   AND c9 in (923,273,469,90)
   AND a1=145

query III rowsort join164
SELECT a1, a9*493+c1, b6
  FROM t9, t6, t1
 WHERE a1=145
   AND c9 in (923,273,469,90)
   AND d6 in (321,581,376,192,393,767)

query III rowsort join164
SELECT a1, a9*493+c1, b6
  FROM t6, t1, t9
 WHERE d6 in (321,581,376,192,393,767)
   AND a1=145
   AND c9 in (923,273,469,90)

query III rowsort join164
SELECT a1, a9*493+c1, b6
  FROM t9, t6, t1
 WHERE c9 in (923,273,469,90)
   AND a1=145
   AND d6 in (321,581,376,192,393,767)

query TII rowsort join165
SELECT x6, a9, d2+a6
  FROM t9, t6, t2
 WHERE 223=d6
   AND a2=651
   AND (c9=975 OR c9=807 OR c9=39 OR c9=688)

query TII rowsort join165
SELECT x6, a9, d2+a6
  FROM t2, t9, t6
 WHERE a2=651
   AND 223=d6
   AND (c9=975 OR c9=807 OR c9=39 OR c9=688)

query TII rowsort join165
SELECT x6, a9, d2+a6
  FROM t2, t9, t6
 WHERE a2=651
   AND (c9=975 OR c9=807 OR c9=39 OR c9=688)
   AND 223=d6

query TII rowsort join165
SELECT x6, a9, d2+a6
  FROM t9, t2, t6
 WHERE (c9=975 OR c9=807 OR c9=39 OR c9=688)
   AND 223=d6
   AND a2=651

query III rowsort join166
SELECT d2+e2, b1+90+e1, a8*18+a2
  FROM t1, t2, t8
 WHERE e2 in (698,925,505,148,638)
   AND a1=c8
   AND e8 in (579,416,199,442,476)

query III rowsort join166
SELECT d2+e2, b1+90+e1, a8*18+a2
  FROM t2, t1, t8
 WHERE e8 in (579,416,199,442,476)
   AND e2 in (698,925,505,148,638)
   AND a1=c8

query III rowsort join166
SELECT d2+e2, b1+90+e1, a8*18+a2
  FROM t1, t8, t2
 WHERE e2 in (698,925,505,148,638)
   AND a1=c8
   AND e8 in (579,416,199,442,476)

query TTIIT rowsort join167
SELECT x5, x1, a3, b7+81, x8
  FROM t5, t3, t1, t7, t8
 WHERE 933=e8
   AND e7 in (844,7,120,841,782,506,144,79)
   AND a3 in (490,995,776,822,608,164,515)
   AND c5 in (915,598,923,960,797,922,147,471)
   AND a1 in (866,525,538,299,918,524,981,76)

query TTIIT rowsort join167
SELECT x5, x1, a3, b7+81, x8
  FROM t1, t5, t8, t7, t3
 WHERE 933=e8
   AND a3 in (490,995,776,822,608,164,515)
   AND a1 in (866,525,538,299,918,524,981,76)
   AND c5 in (915,598,923,960,797,922,147,471)
   AND e7 in (844,7,120,841,782,506,144,79)

query TTIIT rowsort join167
SELECT x5, x1, a3, b7+81, x8
  FROM t5, t7, t1, t8, t3
 WHERE a1 in (866,525,538,299,918,524,981,76)
   AND e7 in (844,7,120,841,782,506,144,79)
   AND 933=e8
   AND a3 in (490,995,776,822,608,164,515)
   AND c5 in (915,598,923,960,797,922,147,471)

query TTIIT rowsort join167
SELECT x5, x1, a3, b7+81, x8
  FROM t5, t1, t3, t7, t8
 WHERE a1 in (866,525,538,299,918,524,981,76)
   AND e7 in (844,7,120,841,782,506,144,79)
   AND c5 in (915,598,923,960,797,922,147,471)
   AND a3 in (490,995,776,822,608,164,515)
   AND 933=e8

query IIITI rowsort join168
SELECT d5, d2, e9*161, x7, c3
  FROM t9, t7, t3, t5, t2
 WHERE (e9=368 OR e9=291 OR 335=e9 OR 792=e9)
   AND c5 in (56,799,797,774,824,313,155)
   AND (374=c2 OR 728=c2 OR c2=272 OR 964=c2)
   AND a3 in (697,145,777,490)
   AND 122=e7

query IIITI rowsort join168
SELECT d5, d2, e9*161, x7, c3
  FROM t2, t5, t7, t3, t9
 WHERE c5 in (56,799,797,774,824,313,155)
   AND (374=c2 OR 728=c2 OR c2=272 OR 964=c2)
   AND 122=e7
   AND a3 in (697,145,777,490)
   AND (e9=368 OR e9=291 OR 335=e9 OR 792=e9)

query IIITI rowsort join168
SELECT d5, d2, e9*161, x7, c3
  FROM t3, t5, t2, t7, t9
 WHERE c5 in (56,799,797,774,824,313,155)
   AND (374=c2 OR 728=c2 OR c2=272 OR 964=c2)
   AND 122=e7
   AND (e9=368 OR e9=291 OR 335=e9 OR 792=e9)
   AND a3 in (697,145,777,490)

query IIITI rowsort join168
SELECT d5, d2, e9*161, x7, c3
  FROM t7, t2, t3, t9, t5
 WHERE c5 in (56,799,797,774,824,313,155)
   AND (e9=368 OR e9=291 OR 335=e9 OR 792=e9)
   AND 122=e7
   AND (374=c2 OR 728=c2 OR c2=272 OR 964=c2)
   AND a3 in (697,145,777,490)

query IIT rowsort join169
SELECT c2+218+b8, b8, x1
  FROM t2, t8, t1
 WHERE 299=a1
   AND (e8=22 OR e8=792 OR 972=e8)
   AND d2 in (887,416,249,977,577,555)

query IIT rowsort join169
SELECT c2+218+b8, b8, x1
  FROM t8, t1, t2
 WHERE (e8=22 OR e8=792 OR 972=e8)
   AND 299=a1
   AND d2 in (887,416,249,977,577,555)

query IIT rowsort join169
SELECT c2+218+b8, b8, x1
  FROM t1, t8, t2
 WHERE 299=a1
   AND (e8=22 OR e8=792 OR 972=e8)
   AND d2 in (887,416,249,977,577,555)

query IIT rowsort join169
SELECT c2+218+b8, b8, x1
  FROM t8, t2, t1
 WHERE 299=a1
   AND (e8=22 OR e8=792 OR 972=e8)
   AND d2 in (887,416,249,977,577,555)

query II rowsort join170
SELECT d1*267, a7*670+e1
  FROM t1, t7
 WHERE 154=e7
   AND a1=b7

query II rowsort join170
SELECT d1*267, a7*670+e1
  FROM t7, t1
 WHERE 154=e7
   AND a1=b7

query IIII rowsort join171
SELECT b2+237, e4, e1+720, e5
  FROM t5, t4, t2, t1
 WHERE b2=818
   AND c5 in (844,805,31,18,697,140)
   AND (879=a1 OR 963=a1)
   AND b4 in (907,733,498,589,917,748,33,925)

query IIII rowsort join171
SELECT b2+237, e4, e1+720, e5
  FROM t2, t1, t4, t5
 WHERE c5 in (844,805,31,18,697,140)
   AND b4 in (907,733,498,589,917,748,33,925)
   AND (879=a1 OR 963=a1)
   AND b2=818

query IIII rowsort join171
SELECT b2+237, e4, e1+720, e5
  FROM t2, t5, t4, t1
 WHERE b4 in (907,733,498,589,917,748,33,925)
   AND b2=818
   AND (879=a1 OR 963=a1)
   AND c5 in (844,805,31,18,697,140)

query IIII rowsort join171
SELECT b2+237, e4, e1+720, e5
  FROM t2, t1, t5, t4
 WHERE b4 in (907,733,498,589,917,748,33,925)
   AND c5 in (844,805,31,18,697,140)
   AND (879=a1 OR 963=a1)
   AND b2=818

query IIIII rowsort join172
SELECT e4, b9*696+c4, a2+800, b8+b8, b6
  FROM t4, t6, t8, t2, t9
 WHERE a2 in (279,262,222,817,590)
   AND e8 in (955,586,846,41,463)
   AND b4=267
   AND a9 in (251,660,694,559,982,847)
   AND 664=d6

query IIIII rowsort join172
SELECT e4, b9*696+c4, a2+800, b8+b8, b6
  FROM t9, t2, t8, t6, t4
 WHERE 664=d6
   AND b4=267
   AND e8 in (955,586,846,41,463)
   AND a2 in (279,262,222,817,590)
   AND a9 in (251,660,694,559,982,847)

query IIIII rowsort join172
SELECT e4, b9*696+c4, a2+800, b8+b8, b6
  FROM t2, t8, t4, t6, t9
 WHERE a2 in (279,262,222,817,590)
   AND b4=267
   AND 664=d6
   AND a9 in (251,660,694,559,982,847)
   AND e8 in (955,586,846,41,463)

query IIIII rowsort join172
SELECT e4, b9*696+c4, a2+800, b8+b8, b6
  FROM t6, t8, t9, t2, t4
 WHERE e8 in (955,586,846,41,463)
   AND a9 in (251,660,694,559,982,847)
   AND a2 in (279,262,222,817,590)
   AND b4=267
   AND 664=d6

query TI rowsort join173
SELECT x3, b4+326
  FROM t4, t3
 WHERE b4=c3
   AND a3 in (143,729,929,581,386,865,490,935)

query TI rowsort join173
SELECT x3, b4+326
  FROM t3, t4
 WHERE b4=c3
   AND a3 in (143,729,929,581,386,865,490,935)

query TIIIT rowsort join174
SELECT x4, b1, b9, a6*449+c1, x2
  FROM t9, t4, t2, t1, t6
 WHERE (c9=809 OR c9=526 OR 613=c9)
   AND (d6=337 OR 767=d6 OR 797=d6 OR d6=750)
   AND b2=c6
   AND (a1=109 OR a1=674 OR a1=61 OR a1=492)
   AND b4=b1

query TIIIT rowsort join174
SELECT x4, b1, b9, a6*449+c1, x2
  FROM t9, t2, t1, t4, t6
 WHERE b4=b1
   AND b2=c6
   AND (c9=809 OR c9=526 OR 613=c9)
   AND (a1=109 OR a1=674 OR a1=61 OR a1=492)
   AND (d6=337 OR 767=d6 OR 797=d6 OR d6=750)

query TIIIT rowsort join174
SELECT x4, b1, b9, a6*449+c1, x2
  FROM t2, t9, t4, t1, t6
 WHERE (d6=337 OR 767=d6 OR 797=d6 OR d6=750)
   AND b4=b1
   AND (c9=809 OR c9=526 OR 613=c9)
   AND b2=c6
   AND (a1=109 OR a1=674 OR a1=61 OR a1=492)

query TIIIT rowsort join174
SELECT x4, b1, b9, a6*449+c1, x2
  FROM t1, t9, t4, t2, t6
 WHERE b4=b1
   AND b2=c6
   AND (d6=337 OR 767=d6 OR 797=d6 OR d6=750)
   AND (a1=109 OR a1=674 OR a1=61 OR a1=492)
   AND (c9=809 OR c9=526 OR 613=c9)

query ITI rowsort join175
SELECT e7, x2, c6+d2
  FROM t7, t2, t6
 WHERE b2=504
   AND e7 in (48,506,301,688,456,595)
   AND d6 in (286,463,271,991,734)

query ITI rowsort join175
SELECT e7, x2, c6+d2
  FROM t6, t2, t7
 WHERE b2=504
   AND d6 in (286,463,271,991,734)
   AND e7 in (48,506,301,688,456,595)

query ITI rowsort join175
SELECT e7, x2, c6+d2
  FROM t2, t6, t7
 WHERE d6 in (286,463,271,991,734)
   AND b2=504
   AND e7 in (48,506,301,688,456,595)

query ITI rowsort join175
SELECT e7, x2, c6+d2
  FROM t2, t6, t7
 WHERE b2=504
   AND d6 in (286,463,271,991,734)
   AND e7 in (48,506,301,688,456,595)

query ITII rowsort join176
SELECT d3+58+b9, x2, a9, c4*588+c9
  FROM t4, t3, t9, t2
 WHERE (495=d9 OR d9=129 OR d9=628)
   AND a3=d2
   AND e2 in (428,217,434,411)
   AND b4 in (476,260,707,587,551,634)

query ITII rowsort join176
SELECT d3+58+b9, x2, a9, c4*588+c9
  FROM t4, t3, t9, t2
 WHERE b4 in (476,260,707,587,551,634)
   AND e2 in (428,217,434,411)
   AND a3=d2
   AND (495=d9 OR d9=129 OR d9=628)

query ITII rowsort join176
SELECT d3+58+b9, x2, a9, c4*588+c9
  FROM t9, t3, t4, t2
 WHERE a3=d2
   AND (495=d9 OR d9=129 OR d9=628)
   AND b4 in (476,260,707,587,551,634)
   AND e2 in (428,217,434,411)

query ITII rowsort join176
SELECT d3+58+b9, x2, a9, c4*588+c9
  FROM t9, t4, t2, t3
 WHERE a3=d2
   AND (495=d9 OR d9=129 OR d9=628)
   AND b4 in (476,260,707,587,551,634)
   AND e2 in (428,217,434,411)

query TIITI rowsort join177
SELECT x1, d5+c5, d4*271, x9, c6*41+a1
  FROM t6, t5, t9, t4, t1
 WHERE a1 in (825,864,268,382,544,4,20)
   AND b4 in (708,261,901,331,627,826,86,907)
   AND d9=b6
   AND d6 in (161,852,223,581,269,931,60)
   AND c5 in (934,598,585)

query TIITI rowsort join177
SELECT x1, d5+c5, d4*271, x9, c6*41+a1
  FROM t1, t6, t9, t4, t5
 WHERE b4 in (708,261,901,331,627,826,86,907)
   AND d6 in (161,852,223,581,269,931,60)
   AND a1 in (825,864,268,382,544,4,20)
   AND c5 in (934,598,585)
   AND d9=b6

query TIITI rowsort join177
SELECT x1, d5+c5, d4*271, x9, c6*41+a1
  FROM t9, t6, t5, t1, t4
 WHERE c5 in (934,598,585)
   AND d6 in (161,852,223,581,269,931,60)
   AND d9=b6
   AND a1 in (825,864,268,382,544,4,20)
   AND b4 in (708,261,901,331,627,826,86,907)

query TIITI rowsort join177
SELECT x1, d5+c5, d4*271, x9, c6*41+a1
  FROM t6, t5, t1, t9, t4
 WHERE d9=b6
   AND b4 in (708,261,901,331,627,826,86,907)
   AND c5 in (934,598,585)
   AND d6 in (161,852,223,581,269,931,60)
   AND a1 in (825,864,268,382,544,4,20)

query III rowsort join178
SELECT d8, b6, e9
  FROM t6, t8, t9
 WHERE c9 in (457,992,696,62,64,734,171,351)
   AND e8 in (377,295,972,272,260,381,392)
   AND (d6=151 OR 974=d6 OR 911=d6 OR d6=807)

query III rowsort join178
SELECT d8, b6, e9
  FROM t6, t9, t8
 WHERE c9 in (457,992,696,62,64,734,171,351)
   AND e8 in (377,295,972,272,260,381,392)
   AND (d6=151 OR 974=d6 OR 911=d6 OR d6=807)

query III rowsort join178
SELECT d8, b6, e9
  FROM t8, t9, t6
 WHERE (d6=151 OR 974=d6 OR 911=d6 OR d6=807)
   AND e8 in (377,295,972,272,260,381,392)
   AND c9 in (457,992,696,62,64,734,171,351)

query III rowsort join178
SELECT d8, b6, e9
  FROM t6, t9, t8
 WHERE (d6=151 OR 974=d6 OR 911=d6 OR d6=807)
   AND c9 in (457,992,696,62,64,734,171,351)
   AND e8 in (377,295,972,272,260,381,392)

query II rowsort join179
SELECT b1, e2*438
  FROM t2, t1
 WHERE c2=22
   AND 643=a1

query II rowsort join179
SELECT b1, e2*438
  FROM t1, t2
 WHERE c2=22
   AND 643=a1

query II rowsort join179
SELECT b1, e2*438
  FROM t1, t2
 WHERE 643=a1
   AND c2=22

query II rowsort join180
SELECT c4, d9*288+d4
  FROM t9, t4
 WHERE b4 in (921,603,68)
   AND 818=b9

query II rowsort join180
SELECT c4, d9*288+d4
  FROM t9, t4
 WHERE 818=b9
   AND b4 in (921,603,68)

query II rowsort join181
SELECT c4, c9*766
  FROM t9, t4
 WHERE b4=826
   AND d9 in (235,489,855,345,668,678,732)

query II rowsort join181
SELECT c4, c9*766
  FROM t9, t4
 WHERE d9 in (235,489,855,345,668,678,732)
   AND b4=826

query II rowsort join181
SELECT c4, c9*766
  FROM t4, t9
 WHERE b4=826
   AND d9 in (235,489,855,345,668,678,732)

query II rowsort join182
SELECT c4, e7+308
  FROM t7, t4
 WHERE b4 in (76,938,901,802,635,289,538)
   AND e7 in (156,215,688,288,827,884)

query II rowsort join182
SELECT c4, e7+308
  FROM t4, t7
 WHERE b4 in (76,938,901,802,635,289,538)
   AND e7 in (156,215,688,288,827,884)

query II rowsort join182
SELECT c4, e7+308
  FROM t7, t4
 WHERE e7 in (156,215,688,288,827,884)
   AND b4 in (76,938,901,802,635,289,538)

query II rowsort join183
SELECT e9+c9, e3+d9
  FROM t3, t9
 WHERE e9=15
   AND a3 in (892,865,979,341,935,499,836)

query II rowsort join183
SELECT e9+c9, e3+d9
  FROM t9, t3
 WHERE a3 in (892,865,979,341,935,499,836)
   AND e9=15

query TIIII rowsort join184
SELECT x5, c3, e6+d5, d9, d2+774+a5
  FROM t9, t3, t2, t6, t5
 WHERE (d6=172 OR 463=d6 OR 488=d6)
   AND (d2=398 OR 847=d2 OR d2=813)
   AND (a3=865 OR a3=754)
   AND c5=b9
   AND b9 in (348,893,64,12,239,864,524)

query TIIII rowsort join184
SELECT x5, c3, e6+d5, d9, d2+774+a5
  FROM t9, t6, t2, t5, t3
 WHERE b9 in (348,893,64,12,239,864,524)
   AND (d6=172 OR 463=d6 OR 488=d6)
   AND (d2=398 OR 847=d2 OR d2=813)
   AND (a3=865 OR a3=754)
   AND c5=b9

query TIIII rowsort join184
SELECT x5, c3, e6+d5, d9, d2+774+a5
  FROM t2, t3, t9, t6, t5
 WHERE b9 in (348,893,64,12,239,864,524)
   AND c5=b9
   AND (d2=398 OR 847=d2 OR d2=813)
   AND (a3=865 OR a3=754)
   AND (d6=172 OR 463=d6 OR 488=d6)

query TIIII rowsort join184
SELECT x5, c3, e6+d5, d9, d2+774+a5
  FROM t6, t2, t3, t9, t5
 WHERE (d6=172 OR 463=d6 OR 488=d6)
   AND (d2=398 OR 847=d2 OR d2=813)
   AND (a3=865 OR a3=754)
   AND c5=b9
   AND b9 in (348,893,64,12,239,864,524)

query IIIII rowsort join185
SELECT d5*80+d5, a1*190+b5, c7*53+e5, d9*375, b8+c7
  FROM t5, t7, t1, t8, t9
 WHERE 761=e8
   AND a1=395
   AND e7=455
   AND c5=734
   AND b9=a8

query IIIII rowsort join185
SELECT d5*80+d5, a1*190+b5, c7*53+e5, d9*375, b8+c7
  FROM t7, t1, t5, t9, t8
 WHERE b9=a8
   AND 761=e8
   AND a1=395
   AND c5=734
   AND e7=455

query IIIII rowsort join185
SELECT d5*80+d5, a1*190+b5, c7*53+e5, d9*375, b8+c7
  FROM t5, t9, t7, t1, t8
 WHERE e7=455
   AND 761=e8
   AND a1=395
   AND b9=a8
   AND c5=734

query IIIII rowsort join185
SELECT d5*80+d5, a1*190+b5, c7*53+e5, d9*375, b8+c7
  FROM t7, t5, t8, t1, t9
 WHERE a1=395
   AND 761=e8
   AND c5=734
   AND e7=455
   AND b9=a8

query IIII rowsort join186
SELECT b6+d6, d2, b4+480, a1+841
  FROM t2, t6, t1, t4
 WHERE (493=d6 OR 366=d6)
   AND b2 in (643,811,784)
   AND a1=314
   AND 33=b4

query IIII rowsort join186
SELECT b6+d6, d2, b4+480, a1+841
  FROM t2, t4, t6, t1
 WHERE (493=d6 OR 366=d6)
   AND b2 in (643,811,784)
   AND 33=b4
   AND a1=314

query IIII rowsort join186
SELECT b6+d6, d2, b4+480, a1+841
  FROM t2, t1, t6, t4
 WHERE 33=b4
   AND (493=d6 OR 366=d6)
   AND a1=314
   AND b2 in (643,811,784)

query IIII rowsort join186
SELECT b6+d6, d2, b4+480, a1+841
  FROM t1, t4, t6, t2
 WHERE (493=d6 OR 366=d6)
   AND 33=b4
   AND b2 in (643,811,784)
   AND a1=314

query III rowsort join187
SELECT c5, a4+175, c6+d4
  FROM t6, t4, t5
 WHERE b4=713
   AND d6=797
   AND (c5=44 OR c5=855 OR 443=c5)

query III rowsort join187
SELECT c5, a4+175, c6+d4
  FROM t4, t6, t5
 WHERE (c5=44 OR c5=855 OR 443=c5)
   AND b4=713
   AND d6=797

query III rowsort join187
SELECT c5, a4+175, c6+d4
  FROM t5, t6, t4
 WHERE b4=713
   AND (c5=44 OR c5=855 OR 443=c5)
   AND d6=797

query III rowsort join187
SELECT c5, a4+175, c6+d4
  FROM t6, t4, t5
 WHERE (c5=44 OR c5=855 OR 443=c5)
   AND d6=797
   AND b4=713

query II rowsort join188
SELECT a1+a1, b3
  FROM t1, t3
 WHERE a3 in (190,548,383,396,70,262,829)
   AND a1 in (820,637,109)

query II rowsort join188
SELECT a1+a1, b3
  FROM t3, t1
 WHERE a3 in (190,548,383,396,70,262,829)
   AND a1 in (820,637,109)

query II rowsort join188
SELECT a1+a1, b3
  FROM t1, t3
 WHERE a1 in (820,637,109)
   AND a3 in (190,548,383,396,70,262,829)

query IIII rowsort join189
SELECT e9, a8, c6*671, a2+e9
  FROM t8, t9, t2, t6
 WHERE 790=d6
   AND 310=e8
   AND (c9=254 OR 60=c9)
   AND e2=940

query IIII rowsort join189
SELECT e9, a8, c6*671, a2+e9
  FROM t9, t8, t2, t6
 WHERE 310=e8
   AND e2=940
   AND 790=d6
   AND (c9=254 OR 60=c9)

query IIII rowsort join189
SELECT e9, a8, c6*671, a2+e9
  FROM t2, t9, t8, t6
 WHERE 790=d6
   AND 310=e8
   AND e2=940
   AND (c9=254 OR 60=c9)

query IIII rowsort join189
SELECT e9, a8, c6*671, a2+e9
  FROM t2, t8, t9, t6
 WHERE (c9=254 OR 60=c9)
   AND e2=940
   AND 790=d6
   AND 310=e8

query TIIII rowsort join190
SELECT x6, e7*707+a7, e8, c5, e1
  FROM t5, t7, t8, t1, t6
 WHERE 852=d6
   AND c5 in (384,101,989)
   AND a1 in (147,898,742,525,395,767,195)
   AND e8=833
   AND 624=e7

query TIIII rowsort join190
SELECT x6, e7*707+a7, e8, c5, e1
  FROM t6, t7, t8, t1, t5
 WHERE a1 in (147,898,742,525,395,767,195)
   AND c5 in (384,101,989)
   AND 624=e7
   AND e8=833
   AND 852=d6

query TIIII rowsort join190
SELECT x6, e7*707+a7, e8, c5, e1
  FROM t6, t5, t7, t1, t8
 WHERE e8=833
   AND a1 in (147,898,742,525,395,767,195)
   AND c5 in (384,101,989)
   AND 624=e7
   AND 852=d6

query TIIII rowsort join190
SELECT x6, e7*707+a7, e8, c5, e1
  FROM t1, t5, t6, t7, t8
 WHERE c5 in (384,101,989)
   AND 852=d6
   AND a1 in (147,898,742,525,395,767,195)
   AND e8=833
   AND 624=e7

query TIIIIII rowsort join191
SELECT x8, e9+a3, a5+103+b9, c2*940+d2, c6, d3, c1*714+a6
  FROM t5, t2, t9, t8, t6, t1, t3
 WHERE (a3=255 OR a3=306 OR 181=a3 OR a3=105)
   AND a1 in (461,963,451,931)
   AND c5=d3
   AND b2=220
   AND (355=d6 OR 767=d6)
   AND (833=e8 OR 488=e8)
   AND b9 in (759,410,19,525,456,19,827,2)

query TIIIIII rowsort join191
SELECT x8, e9+a3, a5+103+b9, c2*940+d2, c6, d3, c1*714+a6
  FROM t6, t3, t9, t5, t8, t2, t1
 WHERE (355=d6 OR 767=d6)
   AND b2=220
   AND b9 in (759,410,19,525,456,19,827,2)
   AND c5=d3
   AND a1 in (461,963,451,931)
   AND (833=e8 OR 488=e8)
   AND (a3=255 OR a3=306 OR 181=a3 OR a3=105)

query TIIIIII rowsort join191
SELECT x8, e9+a3, a5+103+b9, c2*940+d2, c6, d3, c1*714+a6
  FROM t3, t5, t1, t6, t9, t2, t8
 WHERE (355=d6 OR 767=d6)
   AND b9 in (759,410,19,525,456,19,827,2)
   AND (833=e8 OR 488=e8)
   AND a1 in (461,963,451,931)
   AND c5=d3
   AND b2=220
   AND (a3=255 OR a3=306 OR 181=a3 OR a3=105)

query TIIIIII rowsort join191
SELECT x8, e9+a3, a5+103+b9, c2*940+d2, c6, d3, c1*714+a6
  FROM t2, t9, t5, t1, t8, t3, t6
 WHERE (355=d6 OR 767=d6)
   AND b9 in (759,410,19,525,456,19,827,2)
   AND (833=e8 OR 488=e8)
   AND (a3=255 OR a3=306 OR 181=a3 OR a3=105)
   AND a1 in (461,963,451,931)
   AND b2=220
   AND c5=d3

query II rowsort join192
SELECT c9, a8+471
  FROM t8, t9
 WHERE (632=e8 OR e8=179)
   AND 662=a9

query II rowsort join192
SELECT c9, a8+471
  FROM t9, t8
 WHERE (632=e8 OR e8=179)
   AND 662=a9

query II rowsort join192
SELECT c9, a8+471
  FROM t9, t8
 WHERE 662=a9
   AND (632=e8 OR e8=179)

query TII rowsort join193
SELECT x7, a6+e6, b3
  FROM t7, t3, t6
 WHERE a3=b7
   AND e7 in (462,851,918,590)
   AND d6=970

query TII rowsort join193
SELECT x7, a6+e6, b3
  FROM t6, t3, t7
 WHERE e7 in (462,851,918,590)
   AND a3=b7
   AND d6=970

query TII rowsort join193
SELECT x7, a6+e6, b3
  FROM t3, t6, t7
 WHERE e7 in (462,851,918,590)
   AND a3=b7
   AND d6=970

query TII rowsort join193
SELECT x7, a6+e6, b3
  FROM t3, t7, t6
 WHERE d6=970
   AND a3=b7
   AND e7 in (462,851,918,590)

query IIIIII rowsort join194
SELECT b6+285, a2*485, a5, a8+e2, d9, a3+e5
  FROM t5, t3, t2, t9, t8, t6
 WHERE c2 in (823,676,103,793,161,312,247,160)
   AND a3 in (997,935,559,198)
   AND d6 in (729,185,405,376)
   AND c9=579
   AND e8 in (469,273,548,349,22,918)
   AND c5=a3

query IIIIII rowsort join194
SELECT b6+285, a2*485, a5, a8+e2, d9, a3+e5
  FROM t2, t6, t5, t8, t9, t3
 WHERE c5=a3
   AND e8 in (469,273,548,349,22,918)
   AND a3 in (997,935,559,198)
   AND c9=579
   AND c2 in (823,676,103,793,161,312,247,160)
   AND d6 in (729,185,405,376)

query IIIIII rowsort join194
SELECT b6+285, a2*485, a5, a8+e2, d9, a3+e5
  FROM t5, t6, t2, t8, t9, t3
 WHERE c2 in (823,676,103,793,161,312,247,160)
   AND d6 in (729,185,405,376)
   AND a3 in (997,935,559,198)
   AND c5=a3
   AND c9=579
   AND e8 in (469,273,548,349,22,918)

query IIIIII rowsort join194
SELECT b6+285, a2*485, a5, a8+e2, d9, a3+e5
  FROM t2, t5, t8, t6, t3, t9
 WHERE e8 in (469,273,548,349,22,918)
   AND a3 in (997,935,559,198)
   AND c9=579
   AND c2 in (823,676,103,793,161,312,247,160)
   AND d6 in (729,185,405,376)
   AND c5=a3

query IIII rowsort join195
SELECT b1+784+e1, d5+b5, d2*34, b7*266+b2
  FROM t2, t5, t1, t7
 WHERE 638=e7
   AND a2 in (936,131,669,863)
   AND 988=a1
   AND c5 in (766,697,471)

query IIII rowsort join195
SELECT b1+784+e1, d5+b5, d2*34, b7*266+b2
  FROM t2, t1, t5, t7
 WHERE 988=a1
   AND 638=e7
   AND c5 in (766,697,471)
   AND a2 in (936,131,669,863)

query IIII rowsort join195
SELECT b1+784+e1, d5+b5, d2*34, b7*266+b2
  FROM t5, t2, t1, t7
 WHERE 988=a1
   AND c5 in (766,697,471)
   AND a2 in (936,131,669,863)
   AND 638=e7

query IIII rowsort join195
SELECT b1+784+e1, d5+b5, d2*34, b7*266+b2
  FROM t2, t1, t5, t7
 WHERE a2 in (936,131,669,863)
   AND 638=e7
   AND c5 in (766,697,471)
   AND 988=a1

query IITIIIII rowsort join196
SELECT e1*390, a4, x9, a2+735, d7*523+c7, c5*208, a6+c7, c8*449
  FROM t2, t4, t1, t7, t8, t6, t9, t5
 WHERE e8 in (22,38,533,310,682,600,442)
   AND 575=c9
   AND a1=668
   AND (183=e7 OR e7=816 OR 120=e7 OR e7=979)
   AND d6=366
   AND c5=313
   AND 373=d2
   AND (434=b4 OR b4=294)

query IITIIIII rowsort join196
SELECT e1*390, a4, x9, a2+735, d7*523+c7, c5*208, a6+c7, c8*449
  FROM t6, t4, t5, t7, t8, t2, t9, t1
 WHERE (183=e7 OR e7=816 OR 120=e7 OR e7=979)
   AND 373=d2
   AND (434=b4 OR b4=294)
   AND d6=366
   AND a1=668
   AND 575=c9
   AND e8 in (22,38,533,310,682,600,442)
   AND c5=313

query IITIIIII rowsort join196
SELECT e1*390, a4, x9, a2+735, d7*523+c7, c5*208, a6+c7, c8*449
  FROM t6, t5, t7, t1, t9, t4, t8, t2
 WHERE 575=c9
   AND d6=366
   AND (183=e7 OR e7=816 OR 120=e7 OR e7=979)
   AND a1=668
   AND e8 in (22,38,533,310,682,600,442)
   AND c5=313
   AND (434=b4 OR b4=294)
   AND 373=d2

query IITIIIII rowsort join196
SELECT e1*390, a4, x9, a2+735, d7*523+c7, c5*208, a6+c7, c8*449
  FROM t1, t2, t9, t7, t8, t5, t4, t6
 WHERE 373=d2
   AND a1=668
   AND (183=e7 OR e7=816 OR 120=e7 OR e7=979)
   AND 575=c9
   AND (434=b4 OR b4=294)
   AND c5=313
   AND e8 in (22,38,533,310,682,600,442)
   AND d6=366

query IIIIIIIT rowsort join197
SELECT c3, e7+d2, a6+d4, d4, b1, a2+944, c8+a2, x5
  FROM t7, t2, t5, t3, t8, t4, t6, t1
 WHERE b4=721
   AND e7=903
   AND e8 in (221,485,149,933)
   AND 727=a3
   AND c5 in (894,545,437,799,855,989,941)
   AND a1 in (637,931,194,736,918,640,972)
   AND d2=260
   AND d6=d5

query IIIIIIIT rowsort join197
SELECT c3, e7+d2, a6+d4, d4, b1, a2+944, c8+a2, x5
  FROM t7, t6, t1, t4, t5, t2, t8, t3
 WHERE a1 in (637,931,194,736,918,640,972)
   AND e8 in (221,485,149,933)
   AND d2=260
   AND 727=a3
   AND e7=903
   AND c5 in (894,545,437,799,855,989,941)
   AND b4=721
   AND d6=d5

query IIIIIIIT rowsort join197
SELECT c3, e7+d2, a6+d4, d4, b1, a2+944, c8+a2, x5
  FROM t4, t7, t1, t5, t6, t8, t2, t3
 WHERE a1 in (637,931,194,736,918,640,972)
   AND e7=903
   AND e8 in (221,485,149,933)
   AND d2=260
   AND b4=721
   AND d6=d5
   AND c5 in (894,545,437,799,855,989,941)
   AND 727=a3

query IIIIIIIT rowsort join197
SELECT c3, e7+d2, a6+d4, d4, b1, a2+944, c8+a2, x5
  FROM t2, t5, t7, t6, t3, t8, t4, t1
 WHERE 727=a3
   AND b4=721
   AND d2=260
   AND e8 in (221,485,149,933)
   AND c5 in (894,545,437,799,855,989,941)
   AND d6=d5
   AND a1 in (637,931,194,736,918,640,972)
   AND e7=903

query IT rowsort join198
SELECT d8, x2
  FROM t2, t8
 WHERE (881=e8 OR e8=866 OR e8=510)
   AND c2 in (233,728,318)

query IT rowsort join198
SELECT d8, x2
  FROM t8, t2
 WHERE (881=e8 OR e8=866 OR e8=510)
   AND c2 in (233,728,318)

query IT rowsort join198
SELECT d8, x2
  FROM t2, t8
 WHERE c2 in (233,728,318)
   AND (881=e8 OR e8=866 OR e8=510)

query III rowsort join199
SELECT a4, d7, d5
  FROM t4, t5, t7
 WHERE b4=476
   AND e7=183
   AND 514=c5

query III rowsort join199
SELECT a4, d7, d5
  FROM t4, t5, t7
 WHERE e7=183
   AND 514=c5
   AND b4=476

query III rowsort join199
SELECT a4, d7, d5
  FROM t4, t7, t5
 WHERE b4=476
   AND e7=183
   AND 514=c5

query III rowsort join200
SELECT c5*532+c3, d3*930, b6+398
  FROM t6, t3, t5
 WHERE (d6=366 OR 405=d6)
   AND a3 in (386,5,500,234,75)
   AND c5 in (585,678,672,820,805)

query III rowsort join200
SELECT c5*532+c3, d3*930, b6+398
  FROM t5, t3, t6
 WHERE c5 in (585,678,672,820,805)
   AND (d6=366 OR 405=d6)
   AND a3 in (386,5,500,234,75)

query III rowsort join200
SELECT c5*532+c3, d3*930, b6+398
  FROM t6, t3, t5
 WHERE (d6=366 OR 405=d6)
   AND c5 in (585,678,672,820,805)
   AND a3 in (386,5,500,234,75)

query III rowsort join200
SELECT c5*532+c3, d3*930, b6+398
  FROM t6, t3, t5
 WHERE a3 in (386,5,500,234,75)
   AND c5 in (585,678,672,820,805)
   AND (d6=366 OR 405=d6)

query II rowsort join201
SELECT a5+b5, b1
  FROM t1, t5
 WHERE c5 in (50,299,149,924)
   AND a1=b5

query II rowsort join201
SELECT a5+b5, b1
  FROM t5, t1
 WHERE a1=b5
   AND c5 in (50,299,149,924)

query II rowsort join201
SELECT a5+b5, b1
  FROM t5, t1
 WHERE c5 in (50,299,149,924)
   AND a1=b5

query TITTI rowsort join202
SELECT x9, e6, x3, x2, e5+663
  FROM t5, t6, t3, t9, t2
 WHERE (c2=87 OR c2=902)
   AND b9 in (926,95,66,128,421,301,50)
   AND 991=d6
   AND (27=c5 OR c5=185 OR c5=598 OR 723=c5)
   AND a3=275

query TITTI rowsort join202
SELECT x9, e6, x3, x2, e5+663
  FROM t2, t5, t6, t9, t3
 WHERE 991=d6
   AND a3=275
   AND b9 in (926,95,66,128,421,301,50)
   AND (27=c5 OR c5=185 OR c5=598 OR 723=c5)
   AND (c2=87 OR c2=902)

query TITTI rowsort join202
SELECT x9, e6, x3, x2, e5+663
  FROM t2, t5, t9, t6, t3
 WHERE 991=d6
   AND (c2=87 OR c2=902)
   AND (27=c5 OR c5=185 OR c5=598 OR 723=c5)
   AND a3=275
   AND b9 in (926,95,66,128,421,301,50)

query TITTI rowsort join202
SELECT x9, e6, x3, x2, e5+663
  FROM t5, t6, t9, t3, t2
 WHERE (c2=87 OR c2=902)
   AND a3=275
   AND 991=d6
   AND (27=c5 OR c5=185 OR c5=598 OR 723=c5)
   AND b9 in (926,95,66,128,421,301,50)

query III rowsort join203
SELECT d2+e2, b5*972, b9*130+e5
  FROM t9, t2, t5
 WHERE 158=c5
   AND c2 in (466,24,575,141,312)
   AND 19=e9

query III rowsort join203
SELECT d2+e2, b5*972, b9*130+e5
  FROM t5, t9, t2
 WHERE c2 in (466,24,575,141,312)
   AND 158=c5
   AND 19=e9

query III rowsort join203
SELECT d2+e2, b5*972, b9*130+e5
  FROM t9, t2, t5
 WHERE c2 in (466,24,575,141,312)
   AND 158=c5
   AND 19=e9

query III rowsort join203
SELECT d2+e2, b5*972, b9*130+e5
  FROM t5, t9, t2
 WHERE 158=c5
   AND c2 in (466,24,575,141,312)
   AND 19=e9

query TI rowsort join204
SELECT x9, d4+287
  FROM t9, t4
 WHERE 679=d9
   AND b4 in (924,627,243,707,925,784,139,810)

query TI rowsort join204
SELECT x9, d4+287
  FROM t9, t4
 WHERE b4 in (924,627,243,707,925,784,139,810)
   AND 679=d9

query TI rowsort join204
SELECT x9, d4+287
  FROM t4, t9
 WHERE b4 in (924,627,243,707,925,784,139,810)
   AND 679=d9

query II rowsort join205
SELECT c6+e6, b7+119
  FROM t6, t7
 WHERE 457=d6
   AND 904=e7

query II rowsort join205
SELECT c6+e6, b7+119
  FROM t7, t6
 WHERE 457=d6
   AND 904=e7

query II rowsort join205
SELECT c6+e6, b7+119
  FROM t6, t7
 WHERE 904=e7
   AND 457=d6

query II rowsort join206
SELECT c5*350+b5, c6
  FROM t6, t5
 WHERE c5=855
   AND d6=c5

query II rowsort join206
SELECT c5*350+b5, c6
  FROM t5, t6
 WHERE c5=855
   AND d6=c5

query II rowsort join206
SELECT c5*350+b5, c6
  FROM t5, t6
 WHERE d6=c5
   AND c5=855

query ITIITI rowsort join207
SELECT a3, x5, b4*416+a6, b6, x9, c1
  FROM t6, t4, t5, t9, t1, t3
 WHERE c5 in (44,527,989,348,422)
   AND a1 in (931,736,732,249,406,215,992)
   AND a3=c1
   AND 452=e9
   AND b4 in (476,644,267,735,295,826)
   AND d6 in (852,161,72,974,223,467,424)

query ITIITI rowsort join207
SELECT a3, x5, b4*416+a6, b6, x9, c1
  FROM t6, t1, t4, t5, t9, t3
 WHERE a1 in (931,736,732,249,406,215,992)
   AND 452=e9
   AND a3=c1
   AND c5 in (44,527,989,348,422)
   AND b4 in (476,644,267,735,295,826)
   AND d6 in (852,161,72,974,223,467,424)

query ITIITI rowsort join207
SELECT a3, x5, b4*416+a6, b6, x9, c1
  FROM t1, t6, t4, t3, t9, t5
 WHERE c5 in (44,527,989,348,422)
   AND d6 in (852,161,72,974,223,467,424)
   AND a1 in (931,736,732,249,406,215,992)
   AND a3=c1
   AND b4 in (476,644,267,735,295,826)
   AND 452=e9

query ITIITI rowsort join207
SELECT a3, x5, b4*416+a6, b6, x9, c1
  FROM t6, t4, t1, t3, t9, t5
 WHERE 452=e9
   AND a1 in (931,736,732,249,406,215,992)
   AND a3=c1
   AND d6 in (852,161,72,974,223,467,424)
   AND c5 in (44,527,989,348,422)
   AND b4 in (476,644,267,735,295,826)

query IIIITII rowsort join208
SELECT a4*829+d1, b3, d8+c3, e1, x6, b7+c7, c9*151
  FROM t9, t7, t6, t4, t8, t3, t1
 WHERE a3 in (720,525,644,70)
   AND (d6=2 OR 172=d6 OR d6=778)
   AND e7 in (408,590,67)
   AND e8=392
   AND a1 in (536,380,249,382,702,173,738,195)
   AND b4 in (700,469,442,408,137,551)
   AND (e9=942 OR e9=619)

query IIIITII rowsort join208
SELECT a4*829+d1, b3, d8+c3, e1, x6, b7+c7, c9*151
  FROM t3, t6, t1, t4, t7, t9, t8
 WHERE (d6=2 OR 172=d6 OR d6=778)
   AND a1 in (536,380,249,382,702,173,738,195)
   AND e8=392
   AND e7 in (408,590,67)
   AND (e9=942 OR e9=619)
   AND b4 in (700,469,442,408,137,551)
   AND a3 in (720,525,644,70)

query IIIITII rowsort join208
SELECT a4*829+d1, b3, d8+c3, e1, x6, b7+c7, c9*151
  FROM t7, t4, t1, t9, t3, t6, t8
 WHERE (e9=942 OR e9=619)
   AND (d6=2 OR 172=d6 OR d6=778)
   AND e8=392
   AND a1 in (536,380,249,382,702,173,738,195)
   AND b4 in (700,469,442,408,137,551)
   AND e7 in (408,590,67)
   AND a3 in (720,525,644,70)

query IIIITII rowsort join208
SELECT a4*829+d1, b3, d8+c3, e1, x6, b7+c7, c9*151
  FROM t7, t4, t3, t1, t8, t6, t9
 WHERE e7 in (408,590,67)
   AND (e9=942 OR e9=619)
   AND b4 in (700,469,442,408,137,551)
   AND (d6=2 OR 172=d6 OR d6=778)
   AND a3 in (720,525,644,70)
   AND e8=392
   AND a1 in (536,380,249,382,702,173,738,195)

query TITIII rowsort join209
SELECT x7, e5, x2, b9+389, e4*353+a5, b3*967
  FROM t3, t5, t2, t9, t4, t7
 WHERE 707=b4
   AND 5=b9
   AND 856=c5
   AND e7 in (793,508,92,98,27)
   AND (457=a2 OR 189=a2)
   AND a3 in (337,548,696,803,396,30,651)

query TITIII rowsort join209
SELECT x7, e5, x2, b9+389, e4*353+a5, b3*967
  FROM t7, t4, t2, t5, t9, t3
 WHERE 5=b9
   AND e7 in (793,508,92,98,27)
   AND a3 in (337,548,696,803,396,30,651)
   AND 707=b4
   AND (457=a2 OR 189=a2)
   AND 856=c5

query TITIII rowsort join209
SELECT x7, e5, x2, b9+389, e4*353+a5, b3*967
  FROM t7, t2, t4, t9, t5, t3
 WHERE a3 in (337,548,696,803,396,30,651)
   AND e7 in (793,508,92,98,27)
   AND 707=b4
   AND 856=c5
   AND 5=b9
   AND (457=a2 OR 189=a2)

query TITIII rowsort join209
SELECT x7, e5, x2, b9+389, e4*353+a5, b3*967
  FROM t2, t7, t4, t5, t9, t3
 WHERE 707=b4
   AND 856=c5
   AND e7 in (793,508,92,98,27)
   AND 5=b9
   AND (457=a2 OR 189=a2)
   AND a3 in (337,548,696,803,396,30,651)

query TII rowsort join210
SELECT x7, b4+e7, b9*486
  FROM t7, t4, t9
 WHERE b4=765
   AND d9=668
   AND 455=e7

query TII rowsort join210
SELECT x7, b4+e7, b9*486
  FROM t9, t7, t4
 WHERE d9=668
   AND b4=765
   AND 455=e7

query TII rowsort join210
SELECT x7, b4+e7, b9*486
  FROM t7, t9, t4
 WHERE b4=765
   AND d9=668
   AND 455=e7

query TII rowsort join210
SELECT x7, b4+e7, b9*486
  FROM t9, t4, t7
 WHERE b4=765
   AND 455=e7
   AND d9=668

query IITIITTT rowsort join211
SELECT e4+e5, c5+682+e6, x6, b8, b2+e3, x7, x3, x1
  FROM t4, t3, t1, t5, t6, t8, t2, t7
 WHERE b4 in (986,469,323,319,357,919,964)
   AND e2 in (428,688,162)
   AND a3=262
   AND c5=809
   AND e7=624
   AND a1 in (189,461,195,754,330,499,544)
   AND e8=918
   AND 807=d6

query IITIITTT rowsort join211
SELECT e4+e5, c5+682+e6, x6, b8, b2+e3, x7, x3, x1
  FROM t4, t5, t8, t1, t7, t6, t2, t3
 WHERE a3=262
   AND e7=624
   AND c5=809
   AND e8=918
   AND e2 in (428,688,162)
   AND a1 in (189,461,195,754,330,499,544)
   AND b4 in (986,469,323,319,357,919,964)
   AND 807=d6

query IITIITTT rowsort join211
SELECT e4+e5, c5+682+e6, x6, b8, b2+e3, x7, x3, x1
  FROM t6, t4, t5, t3, t1, t2, t8, t7
 WHERE e7=624
   AND e2 in (428,688,162)
   AND b4 in (986,469,323,319,357,919,964)
   AND a1 in (189,461,195,754,330,499,544)
   AND a3=262
   AND e8=918
   AND 807=d6
   AND c5=809

query IITIITTT rowsort join211
SELECT e4+e5, c5+682+e6, x6, b8, b2+e3, x7, x3, x1
  FROM t6, t7, t1, t8, t4, t5, t3, t2
 WHERE b4 in (986,469,323,319,357,919,964)
   AND 807=d6
   AND c5=809
   AND a1 in (189,461,195,754,330,499,544)
   AND e7=624
   AND e8=918
   AND a3=262
   AND e2 in (428,688,162)

query II rowsort join212
SELECT b4+d4, d9+650+c4
  FROM t4, t9
 WHERE b9 in (63,361,262,125)
   AND b4 in (260,982,33,925,982,961,635)

query II rowsort join212
SELECT b4+d4, d9+650+c4
  FROM t9, t4
 WHERE b4 in (260,982,33,925,982,961,635)
   AND b9 in (63,361,262,125)

query TIIII rowsort join213
SELECT x9, c8, a1+214, c5*643, d4
  FROM t8, t1, t4, t9, t5
 WHERE d9 in (960,332,679,55,909,790)
   AND a1 in (438,337,825,972,536)
   AND e8=a1
   AND c5 in (514,915,797,50,941,855)
   AND 288=b4

query TIIII rowsort join213
SELECT x9, c8, a1+214, c5*643, d4
  FROM t5, t1, t4, t8, t9
 WHERE c5 in (514,915,797,50,941,855)
   AND a1 in (438,337,825,972,536)
   AND e8=a1
   AND 288=b4
   AND d9 in (960,332,679,55,909,790)

query TIIII rowsort join213
SELECT x9, c8, a1+214, c5*643, d4
  FROM t4, t1, t9, t5, t8
 WHERE a1 in (438,337,825,972,536)
   AND e8=a1
   AND c5 in (514,915,797,50,941,855)
   AND 288=b4
   AND d9 in (960,332,679,55,909,790)

query TIIII rowsort join213
SELECT x9, c8, a1+214, c5*643, d4
  FROM t9, t4, t5, t1, t8
 WHERE d9 in (960,332,679,55,909,790)
   AND 288=b4
   AND c5 in (514,915,797,50,941,855)
   AND a1 in (438,337,825,972,536)
   AND e8=a1

query IIIII rowsort join214
SELECT a8, e4*769, a2+a4, e5+286, a1*179
  FROM t4, t2, t8, t5, t1
 WHERE e8=866
   AND 485=c5
   AND a1=622
   AND b4 in (713,627,442)
   AND (e2=445 OR 572=e2 OR 945=e2 OR 37=e2)

query IIIII rowsort join214
SELECT a8, e4*769, a2+a4, e5+286, a1*179
  FROM t8, t4, t2, t1, t5
 WHERE a1=622
   AND b4 in (713,627,442)
   AND 485=c5
   AND (e2=445 OR 572=e2 OR 945=e2 OR 37=e2)
   AND e8=866

query IIIII rowsort join214
SELECT a8, e4*769, a2+a4, e5+286, a1*179
  FROM t4, t2, t5, t8, t1
 WHERE a1=622
   AND b4 in (713,627,442)
   AND e8=866
   AND 485=c5
   AND (e2=445 OR 572=e2 OR 945=e2 OR 37=e2)

query IIIII rowsort join214
SELECT a8, e4*769, a2+a4, e5+286, a1*179
  FROM t4, t5, t1, t8, t2
 WHERE 485=c5
   AND e8=866
   AND a1=622
   AND b4 in (713,627,442)
   AND (e2=445 OR 572=e2 OR 945=e2 OR 37=e2)

query TII rowsort join215
SELECT x8, d9, b2
  FROM t9, t2, t8
 WHERE e8 in (180,423,864,455,487,14)
   AND b9 in (170,214,496,103,821)
   AND 93=b2

query TII rowsort join215
SELECT x8, d9, b2
  FROM t8, t2, t9
 WHERE 93=b2
   AND b9 in (170,214,496,103,821)
   AND e8 in (180,423,864,455,487,14)

query TII rowsort join215
SELECT x8, d9, b2
  FROM t9, t8, t2
 WHERE b9 in (170,214,496,103,821)
   AND e8 in (180,423,864,455,487,14)
   AND 93=b2

query TII rowsort join215
SELECT x8, d9, b2
  FROM t2, t8, t9
 WHERE b9 in (170,214,496,103,821)
   AND 93=b2
   AND e8 in (180,423,864,455,487,14)

query IIII rowsort join216
SELECT e1*573, a4+579+c1, b9*592, e6
  FROM t1, t9, t6, t4
 WHERE a1 in (276,445,746,767,637,674,88)
   AND b4 in (434,379,829,535)
   AND (907=a9 OR 776=a9 OR a9=457 OR a9=776)
   AND 488=d6

query IIII rowsort join216
SELECT e1*573, a4+579+c1, b9*592, e6
  FROM t9, t6, t1, t4
 WHERE a1 in (276,445,746,767,637,674,88)
   AND (907=a9 OR 776=a9 OR a9=457 OR a9=776)
   AND b4 in (434,379,829,535)
   AND 488=d6

query IIII rowsort join216
SELECT e1*573, a4+579+c1, b9*592, e6
  FROM t9, t4, t1, t6
 WHERE a1 in (276,445,746,767,637,674,88)
   AND (907=a9 OR 776=a9 OR a9=457 OR a9=776)
   AND 488=d6
   AND b4 in (434,379,829,535)

query IIII rowsort join216
SELECT e1*573, a4+579+c1, b9*592, e6
  FROM t1, t6, t9, t4
 WHERE 488=d6
   AND a1 in (276,445,746,767,637,674,88)
   AND (907=a9 OR 776=a9 OR a9=457 OR a9=776)
   AND b4 in (434,379,829,535)

query ITI rowsort join217
SELECT c9, x8, a6+d8
  FROM t9, t8, t6
 WHERE (164=d9 OR 919=d9)
   AND d6=185
   AND e8 in (180,442,46,956,846,310,431)

query ITI rowsort join217
SELECT c9, x8, a6+d8
  FROM t6, t9, t8
 WHERE e8 in (180,442,46,956,846,310,431)
   AND d6=185
   AND (164=d9 OR 919=d9)

query ITI rowsort join217
SELECT c9, x8, a6+d8
  FROM t9, t6, t8
 WHERE d6=185
   AND (164=d9 OR 919=d9)
   AND e8 in (180,442,46,956,846,310,431)

query ITI rowsort join217
SELECT c9, x8, a6+d8
  FROM t9, t6, t8
 WHERE (164=d9 OR 919=d9)
   AND d6=185
   AND e8 in (180,442,46,956,846,310,431)

query IIII rowsort join218
SELECT d9, e6, c1, c5*244
  FROM t1, t5, t6, t9
 WHERE a9 in (685,457,879,830,78,610,803)
   AND d6 in (581,256,790,321)
   AND 44=c5
   AND (a1=552 OR 967=a1)

query IIII rowsort join218
SELECT d9, e6, c1, c5*244
  FROM t1, t9, t5, t6
 WHERE a9 in (685,457,879,830,78,610,803)
   AND d6 in (581,256,790,321)
   AND (a1=552 OR 967=a1)
   AND 44=c5

query IIII rowsort join218
SELECT d9, e6, c1, c5*244
  FROM t5, t6, t9, t1
 WHERE 44=c5
   AND a9 in (685,457,879,830,78,610,803)
   AND d6 in (581,256,790,321)
   AND (a1=552 OR 967=a1)

query IIII rowsort join218
SELECT d9, e6, c1, c5*244
  FROM t5, t9, t6, t1
 WHERE (a1=552 OR 967=a1)
   AND d6 in (581,256,790,321)
   AND a9 in (685,457,879,830,78,610,803)
   AND 44=c5

query TI rowsort join219
SELECT x6, c1
  FROM t6, t1
 WHERE d6=277
   AND (a1=20 OR a1=215 OR 754=a1 OR a1=847)

query TI rowsort join219
SELECT x6, c1
  FROM t6, t1
 WHERE (a1=20 OR a1=215 OR 754=a1 OR a1=847)
   AND d6=277

query TI rowsort join219
SELECT x6, c1
  FROM t1, t6
 WHERE (a1=20 OR a1=215 OR 754=a1 OR a1=847)
   AND d6=277

query TIII rowsort join220
SELECT x5, b3*139, e2+878+a5, e7+e3
  FROM t5, t3, t7, t2
 WHERE e7 in (587,508,290,436,31)
   AND 689=c5
   AND 515=a3
   AND c2 in (830,46,107,202,150,318)

query TIII rowsort join220
SELECT x5, b3*139, e2+878+a5, e7+e3
  FROM t2, t3, t5, t7
 WHERE 515=a3
   AND e7 in (587,508,290,436,31)
   AND 689=c5
   AND c2 in (830,46,107,202,150,318)

query TIII rowsort join220
SELECT x5, b3*139, e2+878+a5, e7+e3
  FROM t2, t3, t7, t5
 WHERE 689=c5
   AND 515=a3
   AND c2 in (830,46,107,202,150,318)
   AND e7 in (587,508,290,436,31)

query TIII rowsort join220
SELECT x5, b3*139, e2+878+a5, e7+e3
  FROM t2, t5, t7, t3
 WHERE 515=a3
   AND 689=c5
   AND e7 in (587,508,290,436,31)
   AND c2 in (830,46,107,202,150,318)

query IITT rowsort join221
SELECT a2, a9, x4, x8
  FROM t8, t2, t9, t4
 WHERE b2 in (545,592,643,859,264)
   AND e9 in (936,418,653)
   AND e8=c2
   AND b4 in (924,802,624,925,903,733)

query IITT rowsort join221
SELECT a2, a9, x4, x8
  FROM t9, t2, t4, t8
 WHERE b2 in (545,592,643,859,264)
   AND e8=c2
   AND e9 in (936,418,653)
   AND b4 in (924,802,624,925,903,733)

query IITT rowsort join221
SELECT a2, a9, x4, x8
  FROM t8, t9, t4, t2
 WHERE e8=c2
   AND b4 in (924,802,624,925,903,733)
   AND b2 in (545,592,643,859,264)
   AND e9 in (936,418,653)

query IITT rowsort join221
SELECT a2, a9, x4, x8
  FROM t2, t8, t9, t4
 WHERE e8=c2
   AND e9 in (936,418,653)
   AND b2 in (545,592,643,859,264)
   AND b4 in (924,802,624,925,903,733)

query TIII rowsort join222
SELECT x9, d2, b7+998, a8
  FROM t2, t8, t7, t9
 WHERE (e7=154 OR 887=e7)
   AND e8 in (273,411,442,233,296)
   AND b2=b7
   AND c9=347

query TIII rowsort join222
SELECT x9, d2, b7+998, a8
  FROM t7, t2, t9, t8
 WHERE e8 in (273,411,442,233,296)
   AND (e7=154 OR 887=e7)
   AND c9=347
   AND b2=b7

query TIII rowsort join222
SELECT x9, d2, b7+998, a8
  FROM t2, t8, t9, t7
 WHERE c9=347
   AND (e7=154 OR 887=e7)
   AND e8 in (273,411,442,233,296)
   AND b2=b7

query TIII rowsort join222
SELECT x9, d2, b7+998, a8
  FROM t8, t2, t9, t7
 WHERE b2=b7
   AND (e7=154 OR 887=e7)
   AND e8 in (273,411,442,233,296)
   AND c9=347

query IIIITI rowsort join223
SELECT e9+c9, e2, e8*822, c4, x5, b6+654
  FROM t4, t5, t6, t9, t8, t2
 WHERE (485=a9 OR 841=a9 OR 102=a9)
   AND (749=b4 OR 961=b4 OR 184=b4 OR b4=849)
   AND e8 in (620,377,440,14,904)
   AND c5=a6
   AND 698=e2
   AND d6 in (151,192,21,197,2)

query IIIITI rowsort join223
SELECT e9+c9, e2, e8*822, c4, x5, b6+654
  FROM t4, t9, t8, t2, t6, t5
 WHERE (749=b4 OR 961=b4 OR 184=b4 OR b4=849)
   AND (485=a9 OR 841=a9 OR 102=a9)
   AND c5=a6
   AND 698=e2
   AND d6 in (151,192,21,197,2)
   AND e8 in (620,377,440,14,904)

query IIIITI rowsort join223
SELECT e9+c9, e2, e8*822, c4, x5, b6+654
  FROM t5, t8, t2, t4, t6, t9
 WHERE 698=e2
   AND e8 in (620,377,440,14,904)
   AND d6 in (151,192,21,197,2)
   AND (749=b4 OR 961=b4 OR 184=b4 OR b4=849)
   AND (485=a9 OR 841=a9 OR 102=a9)
   AND c5=a6

query IIIITI rowsort join223
SELECT e9+c9, e2, e8*822, c4, x5, b6+654
  FROM t8, t9, t4, t5, t6, t2
 WHERE 698=e2
   AND c5=a6
   AND (749=b4 OR 961=b4 OR 184=b4 OR b4=849)
   AND (485=a9 OR 841=a9 OR 102=a9)
   AND d6 in (151,192,21,197,2)
   AND e8 in (620,377,440,14,904)

query III rowsort join224
SELECT c2*111, a7*863, c8
  FROM t8, t7, t2
 WHERE e2 in (114,427,282,629,783,820)
   AND e8=329
   AND (815=e7 OR 553=e7 OR 215=e7)

query III rowsort join224
SELECT c2*111, a7*863, c8
  FROM t2, t7, t8
 WHERE e2 in (114,427,282,629,783,820)
   AND e8=329
   AND (815=e7 OR 553=e7 OR 215=e7)

query III rowsort join224
SELECT c2*111, a7*863, c8
  FROM t8, t2, t7
 WHERE e8=329
   AND e2 in (114,427,282,629,783,820)
   AND (815=e7 OR 553=e7 OR 215=e7)

query III rowsort join224
SELECT c2*111, a7*863, c8
  FROM t2, t7, t8
 WHERE e8=329
   AND e2 in (114,427,282,629,783,820)
   AND (815=e7 OR 553=e7 OR 215=e7)

query IIIIII rowsort join225
SELECT c3, a2+681, e5, c7, c4+644+a5, b1+b5
  FROM t7, t5, t4, t2, t3, t1
 WHERE a3 in (784,929,836,500,337,971,234,611)
   AND (e7=254 OR e7=971 OR 79=e7 OR e7=884)
   AND a1 in (862,868,996,88)
   AND a2 in (279,262,457,455,874)
   AND b4 in (829,810,114)
   AND c5=50

query IIIIII rowsort join225
SELECT c3, a2+681, e5, c7, c4+644+a5, b1+b5
  FROM t1, t4, t5, t7, t2, t3
 WHERE a1 in (862,868,996,88)
   AND c5=50
   AND (e7=254 OR e7=971 OR 79=e7 OR e7=884)
   AND a3 in (784,929,836,500,337,971,234,611)
   AND a2 in (279,262,457,455,874)
   AND b4 in (829,810,114)

query IIIIII rowsort join225
SELECT c3, a2+681, e5, c7, c4+644+a5, b1+b5
  FROM t3, t2, t4, t1, t7, t5
 WHERE a3 in (784,929,836,500,337,971,234,611)
   AND a1 in (862,868,996,88)
   AND b4 in (829,810,114)
   AND c5=50
   AND (e7=254 OR e7=971 OR 79=e7 OR e7=884)
   AND a2 in (279,262,457,455,874)

query IIIIII rowsort join225
SELECT c3, a2+681, e5, c7, c4+644+a5, b1+b5
  FROM t3, t1, t4, t5, t2, t7
 WHERE a1 in (862,868,996,88)
   AND a3 in (784,929,836,500,337,971,234,611)
   AND b4 in (829,810,114)
   AND c5=50
   AND a2 in (279,262,457,455,874)
   AND (e7=254 OR e7=971 OR 79=e7 OR e7=884)

query II rowsort join226
SELECT b3*416, a7
  FROM t3, t7
 WHERE a3=727
   AND 460=e7

query II rowsort join226
SELECT b3*416, a7
  FROM t7, t3
 WHERE 460=e7
   AND a3=727

query IIII rowsort join227
SELECT d1, e7, a3*158, c5*316+e3
  FROM t7, t1, t3, t5
 WHERE e7 in (827,282,156,460,6,234,508)
   AND (c5=855 OR 293=c5)
   AND 525=a1
   AND a3 in (5,186,525,651,913)

query IIII rowsort join227
SELECT d1, e7, a3*158, c5*316+e3
  FROM t1, t7, t5, t3
 WHERE a3 in (5,186,525,651,913)
   AND 525=a1
   AND (c5=855 OR 293=c5)
   AND e7 in (827,282,156,460,6,234,508)

query IIII rowsort join227
SELECT d1, e7, a3*158, c5*316+e3
  FROM t7, t5, t3, t1
 WHERE a3 in (5,186,525,651,913)
   AND 525=a1
   AND e7 in (827,282,156,460,6,234,508)
   AND (c5=855 OR 293=c5)

query IIII rowsort join227
SELECT d1, e7, a3*158, c5*316+e3
  FROM t5, t3, t1, t7
 WHERE e7 in (827,282,156,460,6,234,508)
   AND a3 in (5,186,525,651,913)
   AND (c5=855 OR 293=c5)
   AND 525=a1

query IIITTITI rowsort join228
SELECT d7, d2+406, b4, x3, x6, e9, x8, e1+467
  FROM t3, t4, t8, t6, t2, t9, t7, t1
 WHERE e9 in (944,954,672,799,19,944,383)
   AND 562=e7
   AND (283=a2 OR a2=898)
   AND d6=b9
   AND (e8=273 OR 635=e8)
   AND a3 in (364,282,41,129,5,393,865)
   AND b4=e6
   AND a1 in (477,821,380,294,879,109,330)

query IIITTITI rowsort join228
SELECT d7, d2+406, b4, x3, x6, e9, x8, e1+467
  FROM t2, t1, t6, t9, t3, t8, t4, t7
 WHERE (283=a2 OR a2=898)
   AND a1 in (477,821,380,294,879,109,330)
   AND a3 in (364,282,41,129,5,393,865)
   AND 562=e7
   AND b4=e6
   AND d6=b9
   AND e9 in (944,954,672,799,19,944,383)
   AND (e8=273 OR 635=e8)

query IIITTITI rowsort join228
SELECT d7, d2+406, b4, x3, x6, e9, x8, e1+467
  FROM t2, t6, t4, t1, t7, t3, t9, t8
 WHERE b4=e6
   AND (283=a2 OR a2=898)
   AND d6=b9
   AND (e8=273 OR 635=e8)
   AND e9 in (944,954,672,799,19,944,383)
   AND a3 in (364,282,41,129,5,393,865)
   AND 562=e7
   AND a1 in (477,821,380,294,879,109,330)

query IIITTITI rowsort join228
SELECT d7, d2+406, b4, x3, x6, e9, x8, e1+467
  FROM t8, t2, t3, t1, t7, t9, t6, t4
 WHERE (283=a2 OR a2=898)
   AND e9 in (944,954,672,799,19,944,383)
   AND 562=e7
   AND b4=e6
   AND (e8=273 OR 635=e8)
   AND d6=b9
   AND a3 in (364,282,41,129,5,393,865)
   AND a1 in (477,821,380,294,879,109,330)

query IIIII rowsort join229
SELECT c5, e3, b2, b1, a9
  FROM t5, t1, t2, t3, t9
 WHERE a1 in (607,445,678)
   AND e2 in (679,548,223,228)
   AND c5 in (799,825,844,989,657,934)
   AND a3 in (532,965,710,378)
   AND a9 in (511,389,485,764,450)

query IIIII rowsort join229
SELECT c5, e3, b2, b1, a9
  FROM t2, t5, t9, t1, t3
 WHERE a9 in (511,389,485,764,450)
   AND c5 in (799,825,844,989,657,934)
   AND e2 in (679,548,223,228)
   AND a3 in (532,965,710,378)
   AND a1 in (607,445,678)

query IIIII rowsort join229
SELECT c5, e3, b2, b1, a9
  FROM t2, t1, t5, t9, t3
 WHERE a1 in (607,445,678)
   AND a3 in (532,965,710,378)
   AND a9 in (511,389,485,764,450)
   AND e2 in (679,548,223,228)
   AND c5 in (799,825,844,989,657,934)

query IIIII rowsort join229
SELECT c5, e3, b2, b1, a9
  FROM t9, t3, t2, t5, t1
 WHERE a3 in (532,965,710,378)
   AND c5 in (799,825,844,989,657,934)
   AND a9 in (511,389,485,764,450)
   AND e2 in (679,548,223,228)
   AND a1 in (607,445,678)

query IIII rowsort join230
SELECT e8, c3+566, a9+e8, d1+783+e3
  FROM t1, t8, t9, t3
 WHERE a9 in (972,335,263)
   AND 463=e8
   AND (a1=231 OR 607=a1 OR 237=a1 OR a1=918)
   AND 135=a3

query IIII rowsort join230
SELECT e8, c3+566, a9+e8, d1+783+e3
  FROM t8, t3, t1, t9
 WHERE a9 in (972,335,263)
   AND 135=a3
   AND 463=e8
   AND (a1=231 OR 607=a1 OR 237=a1 OR a1=918)

query IIII rowsort join230
SELECT e8, c3+566, a9+e8, d1+783+e3
  FROM t9, t8, t3, t1
 WHERE 135=a3
   AND 463=e8
   AND (a1=231 OR 607=a1 OR 237=a1 OR a1=918)
   AND a9 in (972,335,263)

query IIII rowsort join230
SELECT e8, c3+566, a9+e8, d1+783+e3
  FROM t1, t3, t9, t8
 WHERE 135=a3
   AND (a1=231 OR 607=a1 OR 237=a1 OR a1=918)
   AND 463=e8
   AND a9 in (972,335,263)

query II rowsort join231
SELECT b9+350, b5*550+e9
  FROM t9, t5
 WHERE b9=688
   AND c5=545

query II rowsort join231
SELECT b9+350, b5*550+e9
  FROM t9, t5
 WHERE c5=545
   AND b9=688

query II rowsort join231
SELECT b9+350, b5*550+e9
  FROM t5, t9
 WHERE c5=545
   AND b9=688

query TTI rowsort join232
SELECT x2, x6, e5+d2
  FROM t2, t6, t5
 WHERE 345=d2
   AND c5=d6
   AND d6 in (991,711,911,729,446)

query TTI rowsort join232
SELECT x2, x6, e5+d2
  FROM t2, t5, t6
 WHERE 345=d2
   AND d6 in (991,711,911,729,446)
   AND c5=d6

query TTI rowsort join232
SELECT x2, x6, e5+d2
  FROM t6, t2, t5
 WHERE c5=d6
   AND d6 in (991,711,911,729,446)
   AND 345=d2

query TTI rowsort join232
SELECT x2, x6, e5+d2
  FROM t2, t6, t5
 WHERE d6 in (991,711,911,729,446)
   AND 345=d2
   AND c5=d6

query IIII rowsort join233
SELECT a5*540, d7, e9, b4
  FROM t4, t7, t5, t9
 WHERE e7=816
   AND 578=b9
   AND c5=756
   AND b4 in (587,966,678,288,713,961,175,551)

query IIII rowsort join233
SELECT a5*540, d7, e9, b4
  FROM t5, t4, t9, t7
 WHERE 578=b9
   AND c5=756
   AND e7=816
   AND b4 in (587,966,678,288,713,961,175,551)

query IIII rowsort join233
SELECT a5*540, d7, e9, b4
  FROM t4, t5, t7, t9
 WHERE e7=816
   AND 578=b9
   AND b4 in (587,966,678,288,713,961,175,551)
   AND c5=756

query IIII rowsort join233
SELECT a5*540, d7, e9, b4
  FROM t4, t7, t5, t9
 WHERE 578=b9
   AND b4 in (587,966,678,288,713,961,175,551)
   AND c5=756
   AND e7=816

query IIII rowsort join234
SELECT a1*461, b8*628, d6, c2
  FROM t1, t8, t2, t6
 WHERE a1=189
   AND c2 in (925,878,179,282,746,692)
   AND 590=d6
   AND e8=46

query IIII rowsort join234
SELECT a1*461, b8*628, d6, c2
  FROM t2, t6, t1, t8
 WHERE c2 in (925,878,179,282,746,692)
   AND e8=46
   AND a1=189
   AND 590=d6

query IIII rowsort join234
SELECT a1*461, b8*628, d6, c2
  FROM t2, t6, t8, t1
 WHERE a1=189
   AND e8=46
   AND c2 in (925,878,179,282,746,692)
   AND 590=d6

query IIII rowsort join234
SELECT a1*461, b8*628, d6, c2
  FROM t8, t1, t2, t6
 WHERE c2 in (925,878,179,282,746,692)
   AND 590=d6
   AND e8=46
   AND a1=189

query II rowsort join235
SELECT e4+e4, d8*878+d4
  FROM t4, t8
 WHERE b4=765
   AND e8 in (204,329,846,700,431,199,881,632)

query II rowsort join235
SELECT e4+e4, d8*878+d4
  FROM t8, t4
 WHERE e8 in (204,329,846,700,431,199,881,632)
   AND b4=765

query II rowsort join235
SELECT e4+e4, d8*878+d4
  FROM t4, t8
 WHERE e8 in (204,329,846,700,431,199,881,632)
   AND b4=765

query II rowsort join235
SELECT e4+e4, d8*878+d4
  FROM t8, t4
 WHERE b4=765
   AND e8 in (204,329,846,700,431,199,881,632)

query II rowsort join236
SELECT d7, a4
  FROM t7, t4
 WHERE e7 in (183,562,27,689,234)
   AND b4 in (941,982,434,733,721,802,607,903)

query II rowsort join236
SELECT d7, a4
  FROM t4, t7
 WHERE e7 in (183,562,27,689,234)
   AND b4 in (941,982,434,733,721,802,607,903)

query II rowsort join236
SELECT d7, a4
  FROM t7, t4
 WHERE b4 in (941,982,434,733,721,802,607,903)
   AND e7 in (183,562,27,689,234)

query TII rowsort join237
SELECT x5, a3*222, c8*97+c5
  FROM t3, t5, t8
 WHERE a3=559
   AND (3=c5 OR 613=c5)
   AND e8=561

query TII rowsort join237
SELECT x5, a3*222, c8*97+c5
  FROM t3, t5, t8
 WHERE a3=559
   AND e8=561
   AND (3=c5 OR 613=c5)

query TII rowsort join237
SELECT x5, a3*222, c8*97+c5
  FROM t5, t3, t8
 WHERE a3=559
   AND e8=561
   AND (3=c5 OR 613=c5)

query TII rowsort join237
SELECT x5, a3*222, c8*97+c5
  FROM t8, t3, t5
 WHERE a3=559
   AND e8=561
   AND (3=c5 OR 613=c5)

query II rowsort join238
SELECT d9, e1+403
  FROM t9, t1
 WHERE a1 in (736,551,445,868,579)
   AND b9=5

query II rowsort join238
SELECT d9, e1+403
  FROM t1, t9
 WHERE a1 in (736,551,445,868,579)
   AND b9=5

query II rowsort join238
SELECT d9, e1+403
  FROM t1, t9
 WHERE b9=5
   AND a1 in (736,551,445,868,579)

query IIII rowsort join239
SELECT a9*952, a7, a4+208, a8+797
  FROM t7, t8, t9, t4
 WHERE b4 in (294,860,408,707,635)
   AND e7=782
   AND e8 in (776,561,463)
   AND e9=c7

query IIII rowsort join239
SELECT a9*952, a7, a4+208, a8+797
  FROM t7, t8, t4, t9
 WHERE e9=c7
   AND e7=782
   AND b4 in (294,860,408,707,635)
   AND e8 in (776,561,463)

query IIII rowsort join239
SELECT a9*952, a7, a4+208, a8+797
  FROM t9, t7, t8, t4
 WHERE b4 in (294,860,408,707,635)
   AND e9=c7
   AND e8 in (776,561,463)
   AND e7=782

query IIII rowsort join239
SELECT a9*952, a7, a4+208, a8+797
  FROM t8, t4, t7, t9
 WHERE e7=782
   AND e9=c7
   AND b4 in (294,860,408,707,635)
   AND e8 in (776,561,463)

query TTI rowsort join240
SELECT x4, x6, b3
  FROM t3, t6, t4
 WHERE b4=407
   AND 5=a3
   AND d6 in (405,271,846,885,647,66)

query TTI rowsort join240
SELECT x4, x6, b3
  FROM t4, t3, t6
 WHERE b4=407
   AND d6 in (405,271,846,885,647,66)
   AND 5=a3

query TTI rowsort join240
SELECT x4, x6, b3
  FROM t4, t6, t3
 WHERE 5=a3
   AND d6 in (405,271,846,885,647,66)
   AND b4=407

query TTI rowsort join240
SELECT x4, x6, b3
  FROM t4, t3, t6
 WHERE d6 in (405,271,846,885,647,66)
   AND 5=a3
   AND b4=407

query IIIII rowsort join241
SELECT c8, a7+870, d2+d1, a1, d3+c2
  FROM t3, t7, t1, t8, t2
 WHERE d2=216
   AND a1 in (950,267,879,299,847,249)
   AND e8 in (548,260,295,893,761,495,918,729)
   AND a3 in (913,275,822)
   AND e7 in (290,422,689,826,120,979)

query IIIII rowsort join241
SELECT c8, a7+870, d2+d1, a1, d3+c2
  FROM t2, t8, t3, t7, t1
 WHERE e8 in (548,260,295,893,761,495,918,729)
   AND a3 in (913,275,822)
   AND e7 in (290,422,689,826,120,979)
   AND d2=216
   AND a1 in (950,267,879,299,847,249)

query IIIII rowsort join241
SELECT c8, a7+870, d2+d1, a1, d3+c2
  FROM t3, t1, t2, t7, t8
 WHERE a1 in (950,267,879,299,847,249)
   AND e8 in (548,260,295,893,761,495,918,729)
   AND a3 in (913,275,822)
   AND d2=216
   AND e7 in (290,422,689,826,120,979)

query IIIII rowsort join241
SELECT c8, a7+870, d2+d1, a1, d3+c2
  FROM t7, t3, t2, t8, t1
 WHERE e7 in (290,422,689,826,120,979)
   AND a3 in (913,275,822)
   AND e8 in (548,260,295,893,761,495,918,729)
   AND a1 in (950,267,879,299,847,249)
   AND d2=216

query ITTIT rowsort join242
SELECT b5, x8, x7, a9+581+e5, x3
  FROM t9, t3, t5, t7, t8
 WHERE a3=a9
   AND e7=d3
   AND 734=c5
   AND 175=e8
   AND a9 in (830,739,218,811,879,365)

query ITTIT rowsort join242
SELECT b5, x8, x7, a9+581+e5, x3
  FROM t8, t7, t3, t5, t9
 WHERE a3=a9
   AND a9 in (830,739,218,811,879,365)
   AND 175=e8
   AND 734=c5
   AND e7=d3

query ITTIT rowsort join242
SELECT b5, x8, x7, a9+581+e5, x3
  FROM t5, t9, t8, t7, t3
 WHERE 734=c5
   AND e7=d3
   AND 175=e8
   AND a9 in (830,739,218,811,879,365)
   AND a3=a9

query ITTIT rowsort join242
SELECT b5, x8, x7, a9+581+e5, x3
  FROM t9, t8, t3, t7, t5
 WHERE a9 in (830,739,218,811,879,365)
   AND a3=a9
   AND 734=c5
   AND 175=e8
   AND e7=d3

query IIIIIIII rowsort join243
SELECT c5, d2+292, e1, c3+53, e6, e7, b4+356, e8
  FROM t7, t5, t2, t1, t4, t3, t8, t6
 WHERE a3 in (822,513,275)
   AND c2 in (27,251,360,966,148,360,272,996)
   AND 4=e7
   AND a1 in (395,637,864,231,438,988)
   AND d6=924
   AND e8=c1
   AND 94=b4
   AND c5 in (598,130,613,868,313,551)

query IIIIIIII rowsort join243
SELECT c5, d2+292, e1, c3+53, e6, e7, b4+356, e8
  FROM t8, t2, t6, t1, t3, t5, t4, t7
 WHERE c5 in (598,130,613,868,313,551)
   AND d6=924
   AND 94=b4
   AND a1 in (395,637,864,231,438,988)
   AND 4=e7
   AND a3 in (822,513,275)
   AND e8=c1
   AND c2 in (27,251,360,966,148,360,272,996)

query IIIIIIII rowsort join243
SELECT c5, d2+292, e1, c3+53, e6, e7, b4+356, e8
  FROM t6, t1, t2, t5, t8, t3, t4, t7
 WHERE 94=b4
   AND d6=924
   AND a1 in (395,637,864,231,438,988)
   AND a3 in (822,513,275)
   AND c5 in (598,130,613,868,313,551)
   AND 4=e7
   AND e8=c1
   AND c2 in (27,251,360,966,148,360,272,996)

query IIIIIIII rowsort join243
SELECT c5, d2+292, e1, c3+53, e6, e7, b4+356, e8
  FROM t7, t5, t8, t1, t4, t6, t2, t3
 WHERE d6=924
   AND c5 in (598,130,613,868,313,551)
   AND a1 in (395,637,864,231,438,988)
   AND 94=b4
   AND 4=e7
   AND e8=c1
   AND a3 in (822,513,275)
   AND c2 in (27,251,360,966,148,360,272,996)

query IITTI rowsort join244
SELECT b8+422, b5, x2, x6, d3+94
  FROM t5, t2, t8, t6, t3
 WHERE c2 in (830,244,756,810,692)
   AND a3 in (576,829,383,306,997,996,763)
   AND 674=d6
   AND c5 in (844,196,868,348,198,27,799)
   AND e8 in (600,678,956,632,381)

query IITTI rowsort join244
SELECT b8+422, b5, x2, x6, d3+94
  FROM t8, t6, t5, t3, t2
 WHERE e8 in (600,678,956,632,381)
   AND c5 in (844,196,868,348,198,27,799)
   AND 674=d6
   AND a3 in (576,829,383,306,997,996,763)
   AND c2 in (830,244,756,810,692)

query IITTI rowsort join244
SELECT b8+422, b5, x2, x6, d3+94
  FROM t6, t8, t2, t5, t3
 WHERE c5 in (844,196,868,348,198,27,799)
   AND 674=d6
   AND e8 in (600,678,956,632,381)
   AND c2 in (830,244,756,810,692)
   AND a3 in (576,829,383,306,997,996,763)

query IITTI rowsort join244
SELECT b8+422, b5, x2, x6, d3+94
  FROM t3, t8, t2, t5, t6
 WHERE 674=d6
   AND c5 in (844,196,868,348,198,27,799)
   AND c2 in (830,244,756,810,692)
   AND e8 in (600,678,956,632,381)
   AND a3 in (576,829,383,306,997,996,763)

query II rowsort join245
SELECT b1+489, c9
  FROM t1, t9
 WHERE e9 in (255,657,736,542,792,788,264,418)
   AND a1=d9

query II rowsort join245
SELECT b1+489, c9
  FROM t9, t1
 WHERE e9 in (255,657,736,542,792,788,264,418)
   AND a1=d9

query II rowsort join245
SELECT b1+489, c9
  FROM t9, t1
 WHERE a1=d9
   AND e9 in (255,657,736,542,792,788,264,418)

query ITTTT rowsort join246
SELECT c1, x6, x8, x9, x5
  FROM t9, t8, t1, t6, t5
 WHERE d6=e1
   AND e8 in (904,221,223,46,682,600,579,632)
   AND e9=860
   AND a1=4
   AND c5=855

query ITTTT rowsort join246
SELECT c1, x6, x8, x9, x5
  FROM t8, t1, t6, t5, t9
 WHERE d6=e1
   AND e9=860
   AND e8 in (904,221,223,46,682,600,579,632)
   AND c5=855
   AND a1=4

query ITTTT rowsort join246
SELECT c1, x6, x8, x9, x5
  FROM t9, t8, t6, t1, t5
 WHERE a1=4
   AND d6=e1
   AND c5=855
   AND e9=860
   AND e8 in (904,221,223,46,682,600,579,632)

query ITTTT rowsort join246
SELECT c1, x6, x8, x9, x5
  FROM t5, t6, t8, t9, t1
 WHERE d6=e1
   AND a1=4
   AND e8 in (904,221,223,46,682,600,579,632)
   AND e9=860
   AND c5=855

query ITI rowsort join247
SELECT e6*70, x3, c7+148+d3
  FROM t6, t3, t7
 WHERE 767=d6
   AND e7=201
   AND a3 in (500,820,776)

query ITI rowsort join247
SELECT e6*70, x3, c7+148+d3
  FROM t6, t7, t3
 WHERE 767=d6
   AND e7=201
   AND a3 in (500,820,776)

query ITI rowsort join247
SELECT e6*70, x3, c7+148+d3
  FROM t7, t6, t3
 WHERE 767=d6
   AND a3 in (500,820,776)
   AND e7=201

query ITI rowsort join247
SELECT e6*70, x3, c7+148+d3
  FROM t3, t6, t7
 WHERE e7=201
   AND a3 in (500,820,776)
   AND 767=d6

query III rowsort join248
SELECT e8, d2+219, b9+e2
  FROM t2, t9, t8
 WHERE e8 in (442,792,272,893,56)
   AND d2 in (488,362,854,621)
   AND b9 in (864,142,447,421,170,103,211)

query III rowsort join248
SELECT e8, d2+219, b9+e2
  FROM t2, t9, t8
 WHERE e8 in (442,792,272,893,56)
   AND b9 in (864,142,447,421,170,103,211)
   AND d2 in (488,362,854,621)

query III rowsort join248
SELECT e8, d2+219, b9+e2
  FROM t9, t8, t2
 WHERE b9 in (864,142,447,421,170,103,211)
   AND e8 in (442,792,272,893,56)
   AND d2 in (488,362,854,621)

query III rowsort join248
SELECT e8, d2+219, b9+e2
  FROM t9, t2, t8
 WHERE b9 in (864,142,447,421,170,103,211)
   AND d2 in (488,362,854,621)
   AND e8 in (442,792,272,893,56)

query IIIIIIT rowsort join249
SELECT c1, c6, a3+e1, e9+a1, e4+900, c8*666, x7
  FROM t6, t4, t3, t1, t7, t8, t9
 WHERE d6 in (286,463,852)
   AND e7=6
   AND (754=a3 OR a3=515 OR a3=262 OR 608=a3)
   AND 314=a1
   AND d9 in (959,682,967,855,688,224)
   AND b4 in (707,986,901,288,357)
   AND e8=d3

query IIIIIIT rowsort join249
SELECT c1, c6, a3+e1, e9+a1, e4+900, c8*666, x7
  FROM t3, t1, t7, t8, t4, t6, t9
 WHERE b4 in (707,986,901,288,357)
   AND e8=d3
   AND 314=a1
   AND e7=6
   AND d9 in (959,682,967,855,688,224)
   AND d6 in (286,463,852)
   AND (754=a3 OR a3=515 OR a3=262 OR 608=a3)

query IIIIIIT rowsort join249
SELECT c1, c6, a3+e1, e9+a1, e4+900, c8*666, x7
  FROM t8, t3, t9, t6, t4, t1, t7
 WHERE e7=6
   AND e8=d3
   AND 314=a1
   AND (754=a3 OR a3=515 OR a3=262 OR 608=a3)
   AND d9 in (959,682,967,855,688,224)
   AND d6 in (286,463,852)
   AND b4 in (707,986,901,288,357)

query IIIIIIT rowsort join249
SELECT c1, c6, a3+e1, e9+a1, e4+900, c8*666, x7
  FROM t1, t9, t3, t8, t6, t4, t7
 WHERE b4 in (707,986,901,288,357)
   AND (754=a3 OR a3=515 OR a3=262 OR 608=a3)
   AND d6 in (286,463,852)
   AND e7=6
   AND e8=d3
   AND d9 in (959,682,967,855,688,224)
   AND 314=a1

query TI rowsort join250
SELECT x2, c5
  FROM t2, t5
 WHERE c5 in (689,927,37)
   AND b2=b5

query TI rowsort join250
SELECT x2, c5
  FROM t5, t2
 WHERE b2=b5
   AND c5 in (689,927,37)

query III rowsort join251
SELECT c9+b3, c3*151, d5+565
  FROM t5, t3, t9
 WHERE c5=d9
   AND a9 in (905,879,553,694,356,548)
   AND a3=234

query III rowsort join251
SELECT c9+b3, c3*151, d5+565
  FROM t3, t5, t9
 WHERE a9 in (905,879,553,694,356,548)
   AND c5=d9
   AND a3=234

query III rowsort join251
SELECT c9+b3, c3*151, d5+565
  FROM t9, t5, t3
 WHERE a3=234
   AND c5=d9
   AND a9 in (905,879,553,694,356,548)

query III rowsort join251
SELECT c9+b3, c3*151, d5+565
  FROM t3, t9, t5
 WHERE a3=234
   AND c5=d9
   AND a9 in (905,879,553,694,356,548)

query TIII rowsort join252
SELECT x1, a3, d9+c3, c4
  FROM t4, t3, t9, t1
 WHERE b4=849
   AND 788=a3
   AND e9 in (245,607,845,968,264,704,445,368)
   AND a1 in (866,551,746,853)

query TIII rowsort join252
SELECT x1, a3, d9+c3, c4
  FROM t9, t4, t3, t1
 WHERE b4=849
   AND e9 in (245,607,845,968,264,704,445,368)
   AND a1 in (866,551,746,853)
   AND 788=a3

query TIII rowsort join252
SELECT x1, a3, d9+c3, c4
  FROM t3, t1, t4, t9
 WHERE e9 in (245,607,845,968,264,704,445,368)
   AND b4=849
   AND a1 in (866,551,746,853)
   AND 788=a3

query TIII rowsort join252
SELECT x1, a3, d9+c3, c4
  FROM t4, t9, t1, t3
 WHERE 788=a3
   AND b4=849
   AND a1 in (866,551,746,853)
   AND e9 in (245,607,845,968,264,704,445,368)

query IIIII rowsort join253
SELECT b1+408, d2+c1, c7, b4, e3
  FROM t2, t4, t1, t7, t3
 WHERE b4 in (2,660,319,379,434,982,941,634)
   AND (b2=585 OR b2=35 OR 519=b2 OR 376=b2)
   AND 439=e7
   AND a1 in (825,330,280,866,678,732)
   AND a3=d4

query IIIII rowsort join253
SELECT b1+408, d2+c1, c7, b4, e3
  FROM t4, t3, t1, t2, t7
 WHERE a3=d4
   AND b4 in (2,660,319,379,434,982,941,634)
   AND (b2=585 OR b2=35 OR 519=b2 OR 376=b2)
   AND a1 in (825,330,280,866,678,732)
   AND 439=e7

query IIIII rowsort join253
SELECT b1+408, d2+c1, c7, b4, e3
  FROM t2, t4, t3, t7, t1
 WHERE b4 in (2,660,319,379,434,982,941,634)
   AND (b2=585 OR b2=35 OR 519=b2 OR 376=b2)
   AND a1 in (825,330,280,866,678,732)
   AND a3=d4
   AND 439=e7

query IIIII rowsort join253
SELECT b1+408, d2+c1, c7, b4, e3
  FROM t7, t1, t4, t3, t2
 WHERE a3=d4
   AND (b2=585 OR b2=35 OR 519=b2 OR 376=b2)
   AND a1 in (825,330,280,866,678,732)
   AND 439=e7
   AND b4 in (2,660,319,379,434,982,941,634)

query IIT rowsort join254
SELECT e2, b6+779+a6, x3
  FROM t3, t2, t6
 WHERE a2 in (262,64,415,98,185,869,725,664)
   AND (959=a3 OR a3=614)
   AND 446=d6

query IIT rowsort join254
SELECT e2, b6+779+a6, x3
  FROM t6, t2, t3
 WHERE (959=a3 OR a3=614)
   AND 446=d6
   AND a2 in (262,64,415,98,185,869,725,664)

query IIT rowsort join254
SELECT e2, b6+779+a6, x3
  FROM t3, t6, t2
 WHERE a2 in (262,64,415,98,185,869,725,664)
   AND 446=d6
   AND (959=a3 OR a3=614)

query IIT rowsort join254
SELECT e2, b6+779+a6, x3
  FROM t6, t2, t3
 WHERE a2 in (262,64,415,98,185,869,725,664)
   AND 446=d6
   AND (959=a3 OR a3=614)

query IIIIIIIT rowsort join255
SELECT e8, d7+959, b3, a5*693, e2, e6*447, b1+778, x4
  FROM t4, t1, t6, t7, t5, t8, t2, t3
 WHERE c5 in (489,250,927,855,697,130,856)
   AND (180=e8 OR 333=e8 OR e8=38 OR e8=349)
   AND e7=462
   AND a3=d1
   AND b2=b1
   AND a1 in (358,451,479,382,330,281,953,732)
   AND b4 in (434,700,94,860)
   AND d6 in (489,911,147)

query IIIIIIIT rowsort join255
SELECT e8, d7+959, b3, a5*693, e2, e6*447, b1+778, x4
  FROM t4, t2, t7, t6, t3, t1, t8, t5
 WHERE c5 in (489,250,927,855,697,130,856)
   AND a3=d1
   AND b2=b1
   AND (180=e8 OR 333=e8 OR e8=38 OR e8=349)
   AND a1 in (358,451,479,382,330,281,953,732)
   AND e7=462
   AND d6 in (489,911,147)
   AND b4 in (434,700,94,860)

query IIIIIIIT rowsort join255
SELECT e8, d7+959, b3, a5*693, e2, e6*447, b1+778, x4
  FROM t4, t5, t6, t8, t1, t2, t3, t7
 WHERE a3=d1
   AND b4 in (434,700,94,860)
   AND a1 in (358,451,479,382,330,281,953,732)
   AND (180=e8 OR 333=e8 OR e8=38 OR e8=349)
   AND e7=462
   AND b2=b1
   AND c5 in (489,250,927,855,697,130,856)
   AND d6 in (489,911,147)

query IIIIIIIT rowsort join255
SELECT e8, d7+959, b3, a5*693, e2, e6*447, b1+778, x4
  FROM t3, t7, t8, t1, t4, t6, t2, t5
 WHERE a1 in (358,451,479,382,330,281,953,732)
   AND c5 in (489,250,927,855,697,130,856)
   AND d6 in (489,911,147)
   AND e7=462
   AND b2=b1
   AND b4 in (434,700,94,860)
   AND a3=d1
   AND (180=e8 OR 333=e8 OR e8=38 OR e8=349)

query III rowsort join256
SELECT a6, d3*763, b1*315
  FROM t1, t3, t6
 WHERE d6 in (192,767,729,467,161,223,286,35)
   AND a3 in (500,190,499,743,478,129,255)
   AND a1=821

query III rowsort join256
SELECT a6, d3*763, b1*315
  FROM t3, t1, t6
 WHERE d6 in (192,767,729,467,161,223,286,35)
   AND a3 in (500,190,499,743,478,129,255)
   AND a1=821

query III rowsort join256
SELECT a6, d3*763, b1*315
  FROM t1, t6, t3
 WHERE a3 in (500,190,499,743,478,129,255)
   AND a1=821
   AND d6 in (192,767,729,467,161,223,286,35)

query III rowsort join256
SELECT a6, d3*763, b1*315
  FROM t6, t3, t1
 WHERE a3 in (500,190,499,743,478,129,255)
   AND a1=821
   AND d6 in (192,767,729,467,161,223,286,35)

query IIII rowsort join257
SELECT e1+809+d5, d5+262, a3+e3, e4
  FROM t3, t1, t4, t5
 WHERE c5 in (18,598,960,527,514)
   AND a3 in (996,335,525,282)
   AND a1=732
   AND 847=b4

query IIII rowsort join257
SELECT e1+809+d5, d5+262, a3+e3, e4
  FROM t5, t4, t3, t1
 WHERE 847=b4
   AND c5 in (18,598,960,527,514)
   AND a1=732
   AND a3 in (996,335,525,282)

query IIII rowsort join257
SELECT e1+809+d5, d5+262, a3+e3, e4
  FROM t1, t3, t5, t4
 WHERE c5 in (18,598,960,527,514)
   AND 847=b4
   AND a1=732
   AND a3 in (996,335,525,282)

query IIII rowsort join257
SELECT e1+809+d5, d5+262, a3+e3, e4
  FROM t3, t1, t4, t5
 WHERE 847=b4
   AND a1=732
   AND a3 in (996,335,525,282)
   AND c5 in (18,598,960,527,514)

query TIITII rowsort join258
SELECT x8, a3, b7*840+e8, x4, d1+a4, c9+34
  FROM t3, t7, t8, t1, t9, t4
 WHERE b4 in (901,58,829,407,765,323)
   AND 827=e7
   AND e8=495
   AND 353=e9
   AND a3 in (776,729,70)
   AND a1 in (52,382,109,544,898)

query TIITII rowsort join258
SELECT x8, a3, b7*840+e8, x4, d1+a4, c9+34
  FROM t1, t7, t3, t9, t4, t8
 WHERE a3 in (776,729,70)
   AND b4 in (901,58,829,407,765,323)
   AND 827=e7
   AND e8=495
   AND 353=e9
   AND a1 in (52,382,109,544,898)

query TIITII rowsort join258
SELECT x8, a3, b7*840+e8, x4, d1+a4, c9+34
  FROM t8, t3, t7, t4, t1, t9
 WHERE a1 in (52,382,109,544,898)
   AND 353=e9
   AND a3 in (776,729,70)
   AND e8=495
   AND b4 in (901,58,829,407,765,323)
   AND 827=e7

query TIITII rowsort join258
SELECT x8, a3, b7*840+e8, x4, d1+a4, c9+34
  FROM t3, t4, t9, t1, t8, t7
 WHERE b4 in (901,58,829,407,765,323)
   AND e8=495
   AND 827=e7
   AND a3 in (776,729,70)
   AND a1 in (52,382,109,544,898)
   AND 353=e9

query IIIT rowsort join259
SELECT e9+c5, d7, d5, x3
  FROM t9, t3, t7, t5
 WHERE a3 in (262,499,913,513,865,396,935,218)
   AND b9=239
   AND e7 in (89,7,976,929)
   AND c5=734

query IIIT rowsort join259
SELECT e9+c5, d7, d5, x3
  FROM t7, t3, t9, t5
 WHERE a3 in (262,499,913,513,865,396,935,218)
   AND b9=239
   AND e7 in (89,7,976,929)
   AND c5=734

query IIIT rowsort join259
SELECT e9+c5, d7, d5, x3
  FROM t7, t3, t5, t9
 WHERE a3 in (262,499,913,513,865,396,935,218)
   AND b9=239
   AND e7 in (89,7,976,929)
   AND c5=734

query IIIT rowsort join259
SELECT e9+c5, d7, d5, x3
  FROM t3, t9, t7, t5
 WHERE b9=239
   AND a3 in (262,499,913,513,865,396,935,218)
   AND c5=734
   AND e7 in (89,7,976,929)

query ITIIII rowsort join260
SELECT d7, x9, e4+d5, e6, c5, e3+e6
  FROM t5, t9, t6, t4, t3, t7
 WHERE c5 in (101,585,923,56,894,437)
   AND a3=265
   AND e7 in (103,288,506,439,976,815,168)
   AND (600=d6 OR 924=d6 OR d6=367)
   AND (b4=271 OR b4=33)
   AND 646=d9

query ITIIII rowsort join260
SELECT d7, x9, e4+d5, e6, c5, e3+e6
  FROM t7, t9, t6, t4, t3, t5
 WHERE e7 in (103,288,506,439,976,815,168)
   AND a3=265
   AND 646=d9
   AND (b4=271 OR b4=33)
   AND c5 in (101,585,923,56,894,437)
   AND (600=d6 OR 924=d6 OR d6=367)

query ITIIII rowsort join260
SELECT d7, x9, e4+d5, e6, c5, e3+e6
  FROM t5, t6, t7, t4, t9, t3
 WHERE e7 in (103,288,506,439,976,815,168)
   AND a3=265
   AND 646=d9
   AND (600=d6 OR 924=d6 OR d6=367)
   AND (b4=271 OR b4=33)
   AND c5 in (101,585,923,56,894,437)

query ITIIII rowsort join260
SELECT d7, x9, e4+d5, e6, c5, e3+e6
  FROM t9, t3, t5, t4, t7, t6
 WHERE c5 in (101,585,923,56,894,437)
   AND (b4=271 OR b4=33)
   AND a3=265
   AND 646=d9
   AND e7 in (103,288,506,439,976,815,168)
   AND (600=d6 OR 924=d6 OR d6=367)

query ITTTIII rowsort join261
SELECT d6, x4, x7, x8, a1, b9, d5*934
  FROM t8, t7, t1, t6, t5, t9, t4
 WHERE (689=c5 OR 657=c5 OR c5=187)
   AND a1 in (324,241,330,352,32,829)
   AND d6=21
   AND b4=735
   AND e8 in (106,846,859,349)
   AND e7 in (248,356,503)
   AND b9 in (214,122,211,913,900,214,524,688)

query ITTTIII rowsort join261
SELECT d6, x4, x7, x8, a1, b9, d5*934
  FROM t1, t9, t6, t7, t4, t5, t8
 WHERE d6=21
   AND (689=c5 OR 657=c5 OR c5=187)
   AND b9 in (214,122,211,913,900,214,524,688)
   AND e8 in (106,846,859,349)
   AND e7 in (248,356,503)
   AND a1 in (324,241,330,352,32,829)
   AND b4=735

query ITTTIII rowsort join261
SELECT d6, x4, x7, x8, a1, b9, d5*934
  FROM t9, t8, t1, t5, t4, t7, t6
 WHERE d6=21
   AND b4=735
   AND b9 in (214,122,211,913,900,214,524,688)
   AND a1 in (324,241,330,352,32,829)
   AND e7 in (248,356,503)
   AND (689=c5 OR 657=c5 OR c5=187)
   AND e8 in (106,846,859,349)

query ITTTIII rowsort join261
SELECT d6, x4, x7, x8, a1, b9, d5*934
  FROM t9, t8, t6, t7, t5, t1, t4
 WHERE e7 in (248,356,503)
   AND a1 in (324,241,330,352,32,829)
   AND (689=c5 OR 657=c5 OR c5=187)
   AND d6=21
   AND b9 in (214,122,211,913,900,214,524,688)
   AND b4=735
   AND e8 in (106,846,859,349)

query IIIII rowsort join262
SELECT c8, c3+835+a1, c7+e8, e1*300, b6*868+a1
  FROM t3, t1, t6, t7, t8
 WHERE a1=445
   AND e8 in (904,41,635,866,955,38)
   AND d6 in (647,73,578,72,797,846)
   AND (590=e7 OR e7=103)
   AND a3 in (899,865,829,566,637,129)

query IIIII rowsort join262
SELECT c8, c3+835+a1, c7+e8, e1*300, b6*868+a1
  FROM t7, t6, t1, t3, t8
 WHERE (590=e7 OR e7=103)
   AND a1=445
   AND a3 in (899,865,829,566,637,129)
   AND e8 in (904,41,635,866,955,38)
   AND d6 in (647,73,578,72,797,846)

query IIIII rowsort join262
SELECT c8, c3+835+a1, c7+e8, e1*300, b6*868+a1
  FROM t7, t1, t6, t3, t8
 WHERE d6 in (647,73,578,72,797,846)
   AND a1=445
   AND a3 in (899,865,829,566,637,129)
   AND (590=e7 OR e7=103)
   AND e8 in (904,41,635,866,955,38)

query IIIII rowsort join262
SELECT c8, c3+835+a1, c7+e8, e1*300, b6*868+a1
  FROM t8, t3, t6, t1, t7
 WHERE a1=445
   AND (590=e7 OR e7=103)
   AND d6 in (647,73,578,72,797,846)
   AND a3 in (899,865,829,566,637,129)
   AND e8 in (904,41,635,866,955,38)

query IIIIIIII rowsort join263
SELECT e2+657, c5+d7, a7+260+a8, a9+b2, a6+730, d8+948+d5, e3, d1*398
  FROM t8, t6, t1, t9, t7, t5, t3, t2
 WHERE 560=d6
   AND 404=d2
   AND a3=710
   AND a1 in (433,499,950,862,538,268,637,352)
   AND e8 in (204,442,186,776,866,64)
   AND e7 in (120,506,900)
   AND 599=c5
   AND e9 in (567,15,801)

query IIIIIIII rowsort join263
SELECT e2+657, c5+d7, a7+260+a8, a9+b2, a6+730, d8+948+d5, e3, d1*398
  FROM t1, t2, t5, t7, t6, t3, t9, t8
 WHERE a1 in (433,499,950,862,538,268,637,352)
   AND 599=c5
   AND a3=710
   AND e8 in (204,442,186,776,866,64)
   AND e9 in (567,15,801)
   AND e7 in (120,506,900)
   AND 404=d2
   AND 560=d6

query IIIIIIII rowsort join263
SELECT e2+657, c5+d7, a7+260+a8, a9+b2, a6+730, d8+948+d5, e3, d1*398
  FROM t3, t7, t5, t6, t9, t2, t1, t8
 WHERE e9 in (567,15,801)
   AND 404=d2
   AND a1 in (433,499,950,862,538,268,637,352)
   AND e7 in (120,506,900)
   AND 599=c5
   AND a3=710
   AND 560=d6
   AND e8 in (204,442,186,776,866,64)

query IIIIIIII rowsort join263
SELECT e2+657, c5+d7, a7+260+a8, a9+b2, a6+730, d8+948+d5, e3, d1*398
  FROM t1, t9, t8, t7, t3, t2, t6, t5
 WHERE e9 in (567,15,801)
   AND 560=d6
   AND e8 in (204,442,186,776,866,64)
   AND a3=710
   AND e7 in (120,506,900)
   AND a1 in (433,499,950,862,538,268,637,352)
   AND 404=d2
   AND 599=c5

query III rowsort join264
SELECT a8, c2, a4*696
  FROM t4, t8, t2
 WHERE 586=e8
   AND e2 in (938,505,706,131,940)
   AND b4=551

query III rowsort join264
SELECT a8, c2, a4*696
  FROM t8, t2, t4
 WHERE b4=551
   AND e2 in (938,505,706,131,940)
   AND 586=e8

query III rowsort join264
SELECT a8, c2, a4*696
  FROM t2, t4, t8
 WHERE 586=e8
   AND b4=551
   AND e2 in (938,505,706,131,940)

query III rowsort join264
SELECT a8, c2, a4*696
  FROM t4, t8, t2
 WHERE b4=551
   AND e2 in (938,505,706,131,940)
   AND 586=e8

query IIIIII rowsort join265
SELECT e7*826+b1, c1, e5, a4, d2+d1, b9*924+c2
  FROM t2, t7, t4, t9, t1, t5
 WHERE 887=e7
   AND e9 in (799,841,197,255,264)
   AND a1 in (32,742,281,829,460,895,668)
   AND b4 in (961,532,323)
   AND (a2=268 OR a2=927 OR 709=a2 OR 235=a2)
   AND c5 in (868,44,613,158,443,924,923)

query IIIIII rowsort join265
SELECT e7*826+b1, c1, e5, a4, d2+d1, b9*924+c2
  FROM t9, t4, t5, t2, t1, t7
 WHERE b4 in (961,532,323)
   AND e9 in (799,841,197,255,264)
   AND a1 in (32,742,281,829,460,895,668)
   AND (a2=268 OR a2=927 OR 709=a2 OR 235=a2)
   AND c5 in (868,44,613,158,443,924,923)
   AND 887=e7

query IIIIII rowsort join265
SELECT e7*826+b1, c1, e5, a4, d2+d1, b9*924+c2
  FROM t7, t2, t1, t4, t5, t9
 WHERE c5 in (868,44,613,158,443,924,923)
   AND (a2=268 OR a2=927 OR 709=a2 OR 235=a2)
   AND 887=e7
   AND e9 in (799,841,197,255,264)
   AND a1 in (32,742,281,829,460,895,668)
   AND b4 in (961,532,323)

query IIIIII rowsort join265
SELECT e7*826+b1, c1, e5, a4, d2+d1, b9*924+c2
  FROM t1, t4, t7, t5, t2, t9
 WHERE b4 in (961,532,323)
   AND e9 in (799,841,197,255,264)
   AND (a2=268 OR a2=927 OR 709=a2 OR 235=a2)
   AND 887=e7
   AND a1 in (32,742,281,829,460,895,668)
   AND c5 in (868,44,613,158,443,924,923)

query III rowsort join266
SELECT d8, e3+c8, e5
  FROM t3, t8, t5
 WHERE c5 in (818,44,934,625,915)
   AND a3=727
   AND e8 in (295,806,7,38)

query III rowsort join266
SELECT d8, e3+c8, e5
  FROM t5, t3, t8
 WHERE e8 in (295,806,7,38)
   AND c5 in (818,44,934,625,915)
   AND a3=727

query III rowsort join266
SELECT d8, e3+c8, e5
  FROM t8, t5, t3
 WHERE a3=727
   AND e8 in (295,806,7,38)
   AND c5 in (818,44,934,625,915)

query III rowsort join266
SELECT d8, e3+c8, e5
  FROM t8, t5, t3
 WHERE e8 in (295,806,7,38)
   AND c5 in (818,44,934,625,915)
   AND a3=727

query IIIII rowsort join267
SELECT e1, b7+730, d2, d9, c8+b9
  FROM t2, t8, t1, t9, t7
 WHERE e8 in (7,981,608,421,41,955,495)
   AND c2=e9
   AND e7=154
   AND b9 in (803,227,688,568,136)
   AND 767=a1

query IIIII rowsort join267
SELECT e1, b7+730, d2, d9, c8+b9
  FROM t1, t8, t7, t2, t9
 WHERE e8 in (7,981,608,421,41,955,495)
   AND 767=a1
   AND c2=e9
   AND e7=154
   AND b9 in (803,227,688,568,136)

query IIIII rowsort join267
SELECT e1, b7+730, d2, d9, c8+b9
  FROM t2, t1, t9, t8, t7
 WHERE b9 in (803,227,688,568,136)
   AND e7=154
   AND 767=a1
   AND e8 in (7,981,608,421,41,955,495)
   AND c2=e9

query IIIII rowsort join267
SELECT e1, b7+730, d2, d9, c8+b9
  FROM t7, t8, t2, t1, t9
 WHERE e7=154
   AND b9 in (803,227,688,568,136)
   AND c2=e9
   AND 767=a1
   AND e8 in (7,981,608,421,41,955,495)

query TII rowsort join268
SELECT x2, a4, c1*632+d4
  FROM t4, t1, t2
 WHERE a1 in (249,433,707,779)
   AND c2=902
   AND b4=c1

query TII rowsort join268
SELECT x2, a4, c1*632+d4
  FROM t1, t4, t2
 WHERE c2=902
   AND b4=c1
   AND a1 in (249,433,707,779)

query TII rowsort join268
SELECT x2, a4, c1*632+d4
  FROM t2, t1, t4
 WHERE a1 in (249,433,707,779)
   AND b4=c1
   AND c2=902

query TII rowsort join268
SELECT x2, a4, c1*632+d4
  FROM t4, t2, t1
 WHERE a1 in (249,433,707,779)
   AND c2=902
   AND b4=c1

query II rowsort join269
SELECT c2+859, c4
  FROM t4, t2
 WHERE 700=b4
   AND a2=691

query II rowsort join269
SELECT c2+859, c4
  FROM t2, t4
 WHERE 700=b4
   AND a2=691

query II rowsort join269
SELECT c2+859, c4
  FROM t4, t2
 WHERE a2=691
   AND 700=b4

query IIIT rowsort join270
SELECT b3+658+e8, c8+278+d8, e2+437+e8, x1
  FROM t1, t8, t2, t3
 WHERE a3 in (98,262,16,70,364,818,548,145)
   AND a1 in (847,538,604,433)
   AND 620=e8
   AND (c2=268 OR c2=830 OR c2=746 OR c2=823)

query IIIT rowsort join270
SELECT b3+658+e8, c8+278+d8, e2+437+e8, x1
  FROM t1, t2, t8, t3
 WHERE a1 in (847,538,604,433)
   AND (c2=268 OR c2=830 OR c2=746 OR c2=823)
   AND 620=e8
   AND a3 in (98,262,16,70,364,818,548,145)

query IIIT rowsort join270
SELECT b3+658+e8, c8+278+d8, e2+437+e8, x1
  FROM t3, t2, t8, t1
 WHERE a1 in (847,538,604,433)
   AND (c2=268 OR c2=830 OR c2=746 OR c2=823)
   AND 620=e8
   AND a3 in (98,262,16,70,364,818,548,145)

query IIIT rowsort join270
SELECT b3+658+e8, c8+278+d8, e2+437+e8, x1
  FROM t8, t1, t3, t2
 WHERE 620=e8
   AND a1 in (847,538,604,433)
   AND (c2=268 OR c2=830 OR c2=746 OR c2=823)
   AND a3 in (98,262,16,70,364,818,548,145)

query IIIITII rowsort join271
SELECT a1+568, b6, e5+681, d4+e4, x3, d9, c2+504
  FROM t3, t4, t1, t6, t5, t2, t9
 WHERE 40=b4
   AND a1 in (604,299,382,61)
   AND b2=d9
   AND (a3=262 OR 525=a3 OR a3=992 OR 101=a3)
   AND (178=b9 OR b9=595 OR 496=b9)
   AND c5=a4
   AND d6 in (711,321,931,366,147,367)

query IIIITII rowsort join271
SELECT a1+568, b6, e5+681, d4+e4, x3, d9, c2+504
  FROM t4, t2, t5, t3, t6, t1, t9
 WHERE (a3=262 OR 525=a3 OR a3=992 OR 101=a3)
   AND b2=d9
   AND a1 in (604,299,382,61)
   AND c5=a4
   AND d6 in (711,321,931,366,147,367)
   AND 40=b4
   AND (178=b9 OR b9=595 OR 496=b9)

query IIIITII rowsort join271
SELECT a1+568, b6, e5+681, d4+e4, x3, d9, c2+504
  FROM t2, t6, t5, t1, t4, t3, t9
 WHERE b2=d9
   AND 40=b4
   AND a1 in (604,299,382,61)
   AND (178=b9 OR b9=595 OR 496=b9)
   AND d6 in (711,321,931,366,147,367)
   AND c5=a4
   AND (a3=262 OR 525=a3 OR a3=992 OR 101=a3)

query IIIITII rowsort join271
SELECT a1+568, b6, e5+681, d4+e4, x3, d9, c2+504
  FROM t9, t3, t1, t4, t6, t5, t2
 WHERE c5=a4
   AND b2=d9
   AND (a3=262 OR 525=a3 OR a3=992 OR 101=a3)
   AND 40=b4
   AND d6 in (711,321,931,366,147,367)
   AND a1 in (604,299,382,61)
   AND (178=b9 OR b9=595 OR 496=b9)

query ITI rowsort join272
SELECT b3, x1, c4*139
  FROM t4, t3, t1
 WHERE a1 in (222,380,553,544,584)
   AND b4=964
   AND a3 in (697,379,581,303,637)

query ITI rowsort join272
SELECT b3, x1, c4*139
  FROM t4, t1, t3
 WHERE a1 in (222,380,553,544,584)
   AND a3 in (697,379,581,303,637)
   AND b4=964

query ITI rowsort join272
SELECT b3, x1, c4*139
  FROM t3, t1, t4
 WHERE a1 in (222,380,553,544,584)
   AND a3 in (697,379,581,303,637)
   AND b4=964

query ITI rowsort join272
SELECT b3, x1, c4*139
  FROM t4, t1, t3
 WHERE a3 in (697,379,581,303,637)
   AND a1 in (222,380,553,544,584)
   AND b4=964

query III rowsort join273
SELECT e3+149, c2+821, e5
  FROM t2, t3, t5
 WHERE 250=c5
   AND 371=a2
   AND a3 in (513,143,581,576,337,803,341,181)

query III rowsort join273
SELECT e3+149, c2+821, e5
  FROM t5, t3, t2
 WHERE 250=c5
   AND 371=a2
   AND a3 in (513,143,581,576,337,803,341,181)

query III rowsort join273
SELECT e3+149, c2+821, e5
  FROM t5, t3, t2
 WHERE 250=c5
   AND a3 in (513,143,581,576,337,803,341,181)
   AND 371=a2

query III rowsort join273
SELECT e3+149, c2+821, e5
  FROM t3, t2, t5
 WHERE 250=c5
   AND a3 in (513,143,581,576,337,803,341,181)
   AND 371=a2

query IT rowsort join274
SELECT d3+621, x9
  FROM t9, t3
 WHERE (d9=682 OR 602=d9 OR d9=597)
   AND 727=a3

query IT rowsort join274
SELECT d3+621, x9
  FROM t9, t3
 WHERE 727=a3
   AND (d9=682 OR 602=d9 OR d9=597)

query IT rowsort join274
SELECT d3+621, x9
  FROM t3, t9
 WHERE (d9=682 OR 602=d9 OR d9=597)
   AND 727=a3

query IITTI rowsort join275
SELECT c8+141, a7*287, x9, x4, e1
  FROM t1, t8, t4, t7, t9
 WHERE a1=314
   AND c9=809
   AND e8 in (846,864,966,349)
   AND e7=154
   AND b4=137

query IITTI rowsort join275
SELECT c8+141, a7*287, x9, x4, e1
  FROM t9, t4, t1, t7, t8
 WHERE e7=154
   AND a1=314
   AND c9=809
   AND e8 in (846,864,966,349)
   AND b4=137

query IITTI rowsort join275
SELECT c8+141, a7*287, x9, x4, e1
  FROM t1, t8, t7, t9, t4
 WHERE e8 in (846,864,966,349)
   AND e7=154
   AND c9=809
   AND b4=137
   AND a1=314

query IITTI rowsort join275
SELECT c8+141, a7*287, x9, x4, e1
  FROM t4, t7, t9, t1, t8
 WHERE c9=809
   AND e8 in (846,864,966,349)
   AND b4=137
   AND e7=154
   AND a1=314

query ITIIT rowsort join276
SELECT e1, x8, d9, c6, x2
  FROM t2, t9, t1, t6, t8
 WHERE d6 in (2,60,453,674)
   AND a1 in (544,538,643)
   AND e8 in (646,349,620,305,846)
   AND e2=b6
   AND a9 in (172,764,549,78,435,511,429)

query ITIIT rowsort join276
SELECT e1, x8, d9, c6, x2
  FROM t8, t2, t1, t6, t9
 WHERE a1 in (544,538,643)
   AND e2=b6
   AND a9 in (172,764,549,78,435,511,429)
   AND d6 in (2,60,453,674)
   AND e8 in (646,349,620,305,846)

query ITIIT rowsort join276
SELECT e1, x8, d9, c6, x2
  FROM t6, t2, t9, t1, t8
 WHERE e2=b6
   AND a9 in (172,764,549,78,435,511,429)
   AND e8 in (646,349,620,305,846)
   AND d6 in (2,60,453,674)
   AND a1 in (544,538,643)

query ITIIT rowsort join276
SELECT e1, x8, d9, c6, x2
  FROM t9, t2, t1, t6, t8
 WHERE d6 in (2,60,453,674)
   AND a1 in (544,538,643)
   AND e2=b6
   AND a9 in (172,764,549,78,435,511,429)
   AND e8 in (646,349,620,305,846)

query TIIIIIII rowsort join277
SELECT x5, e6+c6, d1, c8, e9+108, a7, a3+149+a5, e4+358
  FROM t3, t4, t7, t5, t6, t9, t1, t8
 WHERE a9 in (28,11,739,102,413,389)
   AND d6 in (277,256,469,924,846,729,901,186)
   AND 625=c5
   AND a3 in (515,190,306,513,959,788,198)
   AND e8=c9
   AND 168=e7
   AND b4=d6
   AND a1=d8

query TIIIIIII rowsort join277
SELECT x5, e6+c6, d1, c8, e9+108, a7, a3+149+a5, e4+358
  FROM t5, t3, t9, t6, t8, t4, t7, t1
 WHERE e8=c9
   AND d6 in (277,256,469,924,846,729,901,186)
   AND 625=c5
   AND b4=d6
   AND a1=d8
   AND a3 in (515,190,306,513,959,788,198)
   AND a9 in (28,11,739,102,413,389)
   AND 168=e7

query TIIIIIII rowsort join277
SELECT x5, e6+c6, d1, c8, e9+108, a7, a3+149+a5, e4+358
  FROM t4, t3, t8, t6, t9, t7, t5, t1
 WHERE a9 in (28,11,739,102,413,389)
   AND e8=c9
   AND d6 in (277,256,469,924,846,729,901,186)
   AND 625=c5
   AND 168=e7
   AND a3 in (515,190,306,513,959,788,198)
   AND a1=d8
   AND b4=d6

query TIIIIIII rowsort join277
SELECT x5, e6+c6, d1, c8, e9+108, a7, a3+149+a5, e4+358
  FROM t3, t7, t4, t9, t5, t1, t8, t6
 WHERE b4=d6
   AND 168=e7
   AND a3 in (515,190,306,513,959,788,198)
   AND e8=c9
   AND 625=c5
   AND a9 in (28,11,739,102,413,389)
   AND a1=d8
   AND d6 in (277,256,469,924,846,729,901,186)

query III rowsort join278
SELECT d1*974, b2+e1, e8
  FROM t1, t8, t2
 WHERE a1 in (179,337,406)
   AND e2 in (963,322,936,123,564,815,307,781)
   AND 761=e8

query III rowsort join278
SELECT d1*974, b2+e1, e8
  FROM t1, t8, t2
 WHERE e2 in (963,322,936,123,564,815,307,781)
   AND a1 in (179,337,406)
   AND 761=e8

query III rowsort join278
SELECT d1*974, b2+e1, e8
  FROM t2, t1, t8
 WHERE 761=e8
   AND e2 in (963,322,936,123,564,815,307,781)
   AND a1 in (179,337,406)

query TI rowsort join279
SELECT x1, a7+a1
  FROM t7, t1
 WHERE e7 in (499,595,456,432,282)
   AND a1 in (433,643,189,161,524,785,499,438)

query TI rowsort join279
SELECT x1, a7+a1
  FROM t1, t7
 WHERE e7 in (499,595,456,432,282)
   AND a1 in (433,643,189,161,524,785,499,438)

query TI rowsort join279
SELECT x1, a7+a1
  FROM t1, t7
 WHERE a1 in (433,643,189,161,524,785,499,438)
   AND e7 in (499,595,456,432,282)

query TI rowsort join280
SELECT x8, e9+131
  FROM t8, t9
 WHERE 561=e8
   AND e9=383

query TI rowsort join280
SELECT x8, e9+131
  FROM t8, t9
 WHERE e9=383
   AND 561=e8

query TI rowsort join280
SELECT x8, e9+131
  FROM t9, t8
 WHERE e9=383
   AND 561=e8

query TII rowsort join281
SELECT x3, b6+739, d7+c3
  FROM t6, t7, t3
 WHERE e7=184
   AND (a3=429 OR 368=a3)
   AND d6 in (974,129,458)

query TII rowsort join281
SELECT x3, b6+739, d7+c3
  FROM t7, t3, t6
 WHERE d6 in (974,129,458)
   AND e7=184
   AND (a3=429 OR 368=a3)

query TII rowsort join281
SELECT x3, b6+739, d7+c3
  FROM t3, t7, t6
 WHERE d6 in (974,129,458)
   AND e7=184
   AND (a3=429 OR 368=a3)

query TII rowsort join281
SELECT x3, b6+739, d7+c3
  FROM t3, t6, t7
 WHERE e7=184
   AND d6 in (974,129,458)
   AND (a3=429 OR 368=a3)

query III rowsort join282
SELECT b2*774, c8, d6
  FROM t2, t6, t8
 WHERE d6 in (767,286,590,66,277)
   AND (179=c2 OR 137=c2 OR c2=676)
   AND (942=e8 OR 972=e8 OR 592=e8 OR e8=635)

query III rowsort join282
SELECT b2*774, c8, d6
  FROM t6, t8, t2
 WHERE d6 in (767,286,590,66,277)
   AND (179=c2 OR 137=c2 OR c2=676)
   AND (942=e8 OR 972=e8 OR 592=e8 OR e8=635)

query III rowsort join282
SELECT b2*774, c8, d6
  FROM t2, t8, t6
 WHERE (942=e8 OR 972=e8 OR 592=e8 OR e8=635)
   AND (179=c2 OR 137=c2 OR c2=676)
   AND d6 in (767,286,590,66,277)

query III rowsort join282
SELECT b2*774, c8, d6
  FROM t6, t2, t8
 WHERE d6 in (767,286,590,66,277)
   AND (179=c2 OR 137=c2 OR c2=676)
   AND (942=e8 OR 972=e8 OR 592=e8 OR e8=635)

query III rowsort join283
SELECT a2*101+b7, e7+d2, b4
  FROM t7, t2, t4
 WHERE b4=e7
   AND e7=b4
   AND 93=a2

query III rowsort join283
SELECT a2*101+b7, e7+d2, b4
  FROM t7, t4, t2
 WHERE 93=a2
   AND e7=b4
   AND b4=e7

query III rowsort join283
SELECT a2*101+b7, e7+d2, b4
  FROM t7, t4, t2
 WHERE e7=b4
   AND b4=e7
   AND 93=a2

query III rowsort join283
SELECT a2*101+b7, e7+d2, b4
  FROM t4, t2, t7
 WHERE e7=b4
   AND b4=e7
   AND 93=a2

query IITI rowsort join284
SELECT d3*920+c3, c9*31+d2, x2, d5
  FROM t3, t2, t5, t9
 WHERE c5=989
   AND 60=b2
   AND a3 in (337,198,197)
   AND c9 in (87,843,180,323)

query IITI rowsort join284
SELECT d3*920+c3, c9*31+d2, x2, d5
  FROM t5, t9, t3, t2
 WHERE 60=b2
   AND a3 in (337,198,197)
   AND c9 in (87,843,180,323)
   AND c5=989

query IITI rowsort join284
SELECT d3*920+c3, c9*31+d2, x2, d5
  FROM t5, t9, t2, t3
 WHERE c9 in (87,843,180,323)
   AND 60=b2
   AND a3 in (337,198,197)
   AND c5=989

query IITI rowsort join284
SELECT d3*920+c3, c9*31+d2, x2, d5
  FROM t3, t9, t2, t5
 WHERE c5=989
   AND c9 in (87,843,180,323)
   AND a3 in (337,198,197)
   AND 60=b2

query IIII rowsort join285
SELECT c2, c1, c3+883, d7
  FROM t7, t1, t3, t2
 WHERE a3 in (478,996,368,935,776)
   AND d2=e1
   AND e7 in (929,98,39,372,827,27)
   AND 338=a1

query IIII rowsort join285
SELECT c2, c1, c3+883, d7
  FROM t2, t3, t7, t1
 WHERE 338=a1
   AND d2=e1
   AND a3 in (478,996,368,935,776)
   AND e7 in (929,98,39,372,827,27)

query IIII rowsort join285
SELECT c2, c1, c3+883, d7
  FROM t3, t7, t2, t1
 WHERE d2=e1
   AND e7 in (929,98,39,372,827,27)
   AND 338=a1
   AND a3 in (478,996,368,935,776)

query IIII rowsort join285
SELECT c2, c1, c3+883, d7
  FROM t2, t1, t3, t7
 WHERE e7 in (929,98,39,372,827,27)
   AND a3 in (478,996,368,935,776)
   AND 338=a1
   AND d2=e1

query IIIIITI rowsort join286
SELECT b7+152, d2, c4, a5+a2, d6+672, x9, e1+a4
  FROM t1, t9, t2, t4, t6, t5, t7
 WHERE b4 in (407,707,271,589,94,892)
   AND b9=127
   AND (e7=827 OR e7=605 OR e7=89)
   AND b2=b1
   AND (488=d6 OR d6=72 OR 66=d6)
   AND a1=b4
   AND c5 in (27,37,756,934,844,856,797)

query IIIIITI rowsort join286
SELECT b7+152, d2, c4, a5+a2, d6+672, x9, e1+a4
  FROM t1, t5, t6, t2, t4, t9, t7
 WHERE (488=d6 OR d6=72 OR 66=d6)
   AND b4 in (407,707,271,589,94,892)
   AND (e7=827 OR e7=605 OR e7=89)
   AND a1=b4
   AND b9=127
   AND b2=b1
   AND c5 in (27,37,756,934,844,856,797)

query IIIIITI rowsort join286
SELECT b7+152, d2, c4, a5+a2, d6+672, x9, e1+a4
  FROM t7, t6, t9, t2, t1, t5, t4
 WHERE (488=d6 OR d6=72 OR 66=d6)
   AND b4 in (407,707,271,589,94,892)
   AND c5 in (27,37,756,934,844,856,797)
   AND (e7=827 OR e7=605 OR e7=89)
   AND b2=b1
   AND a1=b4
   AND b9=127

query IIIIITI rowsort join286
SELECT b7+152, d2, c4, a5+a2, d6+672, x9, e1+a4
  FROM t2, t9, t6, t5, t1, t7, t4
 WHERE (e7=827 OR e7=605 OR e7=89)
   AND c5 in (27,37,756,934,844,856,797)
   AND b4 in (407,707,271,589,94,892)
   AND (488=d6 OR d6=72 OR 66=d6)
   AND a1=b4
   AND b9=127
   AND b2=b1

query III rowsort join287
SELECT e5+c5, b9*40+b5, a2+b5
  FROM t2, t5, t9
 WHERE (568=b9 OR b9=804 OR b9=178)
   AND c5 in (514,147,819)
   AND d2=19

query III rowsort join287
SELECT e5+c5, b9*40+b5, a2+b5
  FROM t2, t9, t5
 WHERE c5 in (514,147,819)
   AND d2=19
   AND (568=b9 OR b9=804 OR b9=178)

query III rowsort join287
SELECT e5+c5, b9*40+b5, a2+b5
  FROM t9, t2, t5
 WHERE (568=b9 OR b9=804 OR b9=178)
   AND d2=19
   AND c5 in (514,147,819)

query III rowsort join287
SELECT e5+c5, b9*40+b5, a2+b5
  FROM t2, t5, t9
 WHERE (568=b9 OR b9=804 OR b9=178)
   AND d2=19
   AND c5 in (514,147,819)

query II rowsort join288
SELECT e1+794, e4+e1
  FROM t1, t4
 WHERE b4 in (323,700,849,23,888,86,551)
   AND a1=c4

query II rowsort join288
SELECT e1+794, e4+e1
  FROM t4, t1
 WHERE b4 in (323,700,849,23,888,86,551)
   AND a1=c4

query II rowsort join288
SELECT e1+794, e4+e1
  FROM t4, t1
 WHERE a1=c4
   AND b4 in (323,700,849,23,888,86,551)

query III rowsort join289
SELECT b1*566, b9+328, a8
  FROM t9, t8, t1
 WHERE e8=981
   AND (a1=754 OR 330=a1 OR 505=a1)
   AND e9 in (750,860,968,307,704,445,713,486)

query III rowsort join289
SELECT b1*566, b9+328, a8
  FROM t1, t9, t8
 WHERE e8=981
   AND e9 in (750,860,968,307,704,445,713,486)
   AND (a1=754 OR 330=a1 OR 505=a1)

query III rowsort join289
SELECT b1*566, b9+328, a8
  FROM t8, t9, t1
 WHERE (a1=754 OR 330=a1 OR 505=a1)
   AND e9 in (750,860,968,307,704,445,713,486)
   AND e8=981

query III rowsort join289
SELECT b1*566, b9+328, a8
  FROM t1, t8, t9
 WHERE (a1=754 OR 330=a1 OR 505=a1)
   AND e8=981
   AND e9 in (750,860,968,307,704,445,713,486)

query IT rowsort join290
SELECT e7+934, x2
  FROM t2, t7
 WHERE e7 in (39,816,6,553,122,988,408)
   AND d2 in (803,398,126,454,310,137)

query IT rowsort join290
SELECT e7+934, x2
  FROM t2, t7
 WHERE d2 in (803,398,126,454,310,137)
   AND e7 in (39,816,6,553,122,988,408)

query II rowsort join291
SELECT b7+186+e7, e5+696
  FROM t5, t7
 WHERE e7 in (302,67,903,197,156,851,503,844)
   AND (681=c5 OR 934=c5)

query II rowsort join291
SELECT b7+186+e7, e5+696
  FROM t7, t5
 WHERE e7 in (302,67,903,197,156,851,503,844)
   AND (681=c5 OR 934=c5)

query II rowsort join291
SELECT b7+186+e7, e5+696
  FROM t7, t5
 WHERE (681=c5 OR 934=c5)
   AND e7 in (302,67,903,197,156,851,503,844)

query II rowsort join291
SELECT b7+186+e7, e5+696
  FROM t5, t7
 WHERE (681=c5 OR 934=c5)
   AND e7 in (302,67,903,197,156,851,503,844)

query IITIIII rowsort join292
SELECT d9, b7*961, x1, e2*509, e3+e5, a5, b8+361
  FROM t3, t7, t8, t1, t2, t5, t9
 WHERE e2 in (812,815,40,560,579,899)
   AND e8 in (981,392,972,700,955,233,223,175)
   AND e7=432
   AND a3=368
   AND (104=a9 OR 706=a9 OR 273=a9)
   AND a1 in (829,579,866,767,746,776,280,363)
   AND (c5=696 OR c5=443)

query IITIIII rowsort join292
SELECT d9, b7*961, x1, e2*509, e3+e5, a5, b8+361
  FROM t2, t9, t8, t1, t3, t5, t7
 WHERE e2 in (812,815,40,560,579,899)
   AND e7=432
   AND a1 in (829,579,866,767,746,776,280,363)
   AND (c5=696 OR c5=443)
   AND e8 in (981,392,972,700,955,233,223,175)
   AND (104=a9 OR 706=a9 OR 273=a9)
   AND a3=368

query IITIIII rowsort join292
SELECT d9, b7*961, x1, e2*509, e3+e5, a5, b8+361
  FROM t2, t9, t1, t5, t7, t8, t3
 WHERE e7=432
   AND (104=a9 OR 706=a9 OR 273=a9)
   AND a3=368
   AND (c5=696 OR c5=443)
   AND e8 in (981,392,972,700,955,233,223,175)
   AND e2 in (812,815,40,560,579,899)
   AND a1 in (829,579,866,767,746,776,280,363)

query IITIIII rowsort join292
SELECT d9, b7*961, x1, e2*509, e3+e5, a5, b8+361
  FROM t1, t8, t7, t3, t9, t2, t5
 WHERE a1 in (829,579,866,767,746,776,280,363)
   AND a3=368
   AND e8 in (981,392,972,700,955,233,223,175)
   AND e7=432
   AND (c5=696 OR c5=443)
   AND e2 in (812,815,40,560,579,899)
   AND (104=a9 OR 706=a9 OR 273=a9)

query II rowsort join293
SELECT d4+c4, b6+597
  FROM t4, t6
 WHERE 660=b4
   AND d6=271

query II rowsort join293
SELECT d4+c4, b6+597
  FROM t4, t6
 WHERE d6=271
   AND 660=b4

query TTII rowsort join294
SELECT x1, x8, c3, d7+766+b8
  FROM t8, t1, t7, t3
 WHERE a1 in (866,988,75,241)
   AND e8 in (260,381,620,44)
   AND (e7=254 OR e7=156)
   AND a3=306

query TTII rowsort join294
SELECT x1, x8, c3, d7+766+b8
  FROM t1, t3, t7, t8
 WHERE (e7=254 OR e7=156)
   AND a1 in (866,988,75,241)
   AND e8 in (260,381,620,44)
   AND a3=306

query TTII rowsort join294
SELECT x1, x8, c3, d7+766+b8
  FROM t8, t1, t3, t7
 WHERE (e7=254 OR e7=156)
   AND a3=306
   AND e8 in (260,381,620,44)
   AND a1 in (866,988,75,241)

query TTII rowsort join294
SELECT x1, x8, c3, d7+766+b8
  FROM t1, t8, t7, t3
 WHERE a1 in (866,988,75,241)
   AND e8 in (260,381,620,44)
   AND a3=306
   AND (e7=254 OR e7=156)

query ITIIITII rowsort join295
SELECT e6+e3, x9, b4, a3+a7, b1+c4, x2, d7, c5*484+d3
  FROM t5, t3, t7, t9, t4, t1, t6, t2
 WHERE b4 in (33,323,907,579)
   AND 443=c5
   AND d6 in (807,578,797)
   AND e7 in (827,605,120,127,144,508,215)
   AND c9=c1
   AND 194=a1
   AND 614=a3
   AND d2 in (892,772,86,547,621,537,873,46)

query ITIIITII rowsort join295
SELECT e6+e3, x9, b4, a3+a7, b1+c4, x2, d7, c5*484+d3
  FROM t3, t4, t9, t7, t5, t6, t2, t1
 WHERE d2 in (892,772,86,547,621,537,873,46)
   AND b4 in (33,323,907,579)
   AND 194=a1
   AND d6 in (807,578,797)
   AND c9=c1
   AND 443=c5
   AND 614=a3
   AND e7 in (827,605,120,127,144,508,215)

query ITIIITII rowsort join295
SELECT e6+e3, x9, b4, a3+a7, b1+c4, x2, d7, c5*484+d3
  FROM t5, t7, t1, t2, t3, t6, t4, t9
 WHERE c9=c1
   AND d2 in (892,772,86,547,621,537,873,46)
   AND e7 in (827,605,120,127,144,508,215)
   AND b4 in (33,323,907,579)
   AND 194=a1
   AND 614=a3
   AND d6 in (807,578,797)
   AND 443=c5

query ITIIITII rowsort join295
SELECT e6+e3, x9, b4, a3+a7, b1+c4, x2, d7, c5*484+d3
  FROM t9, t3, t6, t7, t2, t1, t5, t4
 WHERE c9=c1
   AND 443=c5
   AND e7 in (827,605,120,127,144,508,215)
   AND 614=a3
   AND d2 in (892,772,86,547,621,537,873,46)
   AND 194=a1
   AND d6 in (807,578,797)
   AND b4 in (33,323,907,579)

query IITII rowsort join296
SELECT e9+c9, e6+c8, x3, c8+132, b2+c6
  FROM t9, t8, t3, t6, t2
 WHERE e8 in (485,105,761,495)
   AND 778=d6
   AND e9=788
   AND a2=10
   AND a3=181

query IITII rowsort join296
SELECT e9+c9, e6+c8, x3, c8+132, b2+c6
  FROM t8, t2, t6, t9, t3
 WHERE e8 in (485,105,761,495)
   AND 778=d6
   AND a3=181
   AND e9=788
   AND a2=10

query IITII rowsort join296
SELECT e9+c9, e6+c8, x3, c8+132, b2+c6
  FROM t3, t2, t8, t9, t6
 WHERE a2=10
   AND a3=181
   AND e9=788
   AND 778=d6
   AND e8 in (485,105,761,495)

query IITII rowsort join296
SELECT e9+c9, e6+c8, x3, c8+132, b2+c6
  FROM t3, t9, t8, t2, t6
 WHERE 778=d6
   AND a2=10
   AND a3=181
   AND e9=788
   AND e8 in (485,105,761,495)

query TIII rowsort join297
SELECT x2, d6, a7+c7, a3
  FROM t3, t2, t7, t6
 WHERE 564=e2
   AND e7 in (503,979,6)
   AND a3 in (591,696,376,303,952,190)
   AND 822=d6

query TIII rowsort join297
SELECT x2, d6, a7+c7, a3
  FROM t6, t2, t3, t7
 WHERE a3 in (591,696,376,303,952,190)
   AND e7 in (503,979,6)
   AND 822=d6
   AND 564=e2

query TIII rowsort join297
SELECT x2, d6, a7+c7, a3
  FROM t2, t3, t7, t6
 WHERE e7 in (503,979,6)
   AND 564=e2
   AND 822=d6
   AND a3 in (591,696,376,303,952,190)

query TIII rowsort join297
SELECT x2, d6, a7+c7, a3
  FROM t2, t7, t3, t6
 WHERE a3 in (591,696,376,303,952,190)
   AND e7 in (503,979,6)
   AND 564=e2
   AND 822=d6

query IIT rowsort join298
SELECT e6, d4, x8
  FROM t8, t6, t4
 WHERE e8=956
   AND d6 in (689,129,767,60,931,463,561)
   AND b4=535

query IIT rowsort join298
SELECT e6, d4, x8
  FROM t8, t4, t6
 WHERE d6 in (689,129,767,60,931,463,561)
   AND e8=956
   AND b4=535

query IIT rowsort join298
SELECT e6, d4, x8
  FROM t6, t8, t4
 WHERE b4=535
   AND d6 in (689,129,767,60,931,463,561)
   AND e8=956

query IIT rowsort join298
SELECT e6, d4, x8
  FROM t6, t4, t8
 WHERE d6 in (689,129,767,60,931,463,561)
   AND b4=535
   AND e8=956

query IITI rowsort join299
SELECT c6+a7, b7, x1, a3
  FROM t3, t1, t7, t6
 WHERE a1=864
   AND (186=d6 OR d6=885)
   AND a3 in (190,996,262)
   AND e7 in (460,127,900,983,282)

query IITI rowsort join299
SELECT c6+a7, b7, x1, a3
  FROM t7, t1, t3, t6
 WHERE (186=d6 OR d6=885)
   AND a1=864
   AND e7 in (460,127,900,983,282)
   AND a3 in (190,996,262)

query IITI rowsort join299
SELECT c6+a7, b7, x1, a3
  FROM t6, t7, t3, t1
 WHERE (186=d6 OR d6=885)
   AND e7 in (460,127,900,983,282)
   AND a3 in (190,996,262)
   AND a1=864

query IITI rowsort join299
SELECT c6+a7, b7, x1, a3
  FROM t6, t7, t1, t3
 WHERE (186=d6 OR d6=885)
   AND e7 in (460,127,900,983,282)
   AND a3 in (190,996,262)
   AND a1=864

query IITI rowsort join300
SELECT c1, c8+64+c1, x5, e4+e8
  FROM t8, t1, t4, t5
 WHERE c5=d1
   AND a1 in (88,579,330,276)
   AND (442=e8 OR 149=e8 OR 56=e8)
   AND (b4=260 OR 982=b4 OR 700=b4)

query IITI rowsort join300
SELECT c1, c8+64+c1, x5, e4+e8
  FROM t1, t5, t4, t8
 WHERE (b4=260 OR 982=b4 OR 700=b4)
   AND c5=d1
   AND a1 in (88,579,330,276)
   AND (442=e8 OR 149=e8 OR 56=e8)

query IITI rowsort join300
SELECT c1, c8+64+c1, x5, e4+e8
  FROM t8, t1, t5, t4
 WHERE c5=d1
   AND a1 in (88,579,330,276)
   AND (442=e8 OR 149=e8 OR 56=e8)
   AND (b4=260 OR 982=b4 OR 700=b4)

query IITI rowsort join300
SELECT c1, c8+64+c1, x5, e4+e8
  FROM t5, t8, t1, t4
 WHERE (442=e8 OR 149=e8 OR 56=e8)
   AND a1 in (88,579,330,276)
   AND (b4=260 OR 982=b4 OR 700=b4)
   AND c5=d1

query III rowsort join301
SELECT e8, a6+332, d7+931
  FROM t8, t7, t6
 WHERE d6 in (674,993,271,667,446)
   AND e7=624
   AND e8 in (947,233,548)

query III rowsort join301
SELECT e8, a6+332, d7+931
  FROM t6, t7, t8
 WHERE e7=624
   AND d6 in (674,993,271,667,446)
   AND e8 in (947,233,548)

query III rowsort join301
SELECT e8, a6+332, d7+931
  FROM t7, t6, t8
 WHERE d6 in (674,993,271,667,446)
   AND e7=624
   AND e8 in (947,233,548)

query ITII rowsort join302
SELECT a8*476, x3, b5, a1
  FROM t5, t8, t1, t3
 WHERE e8 in (377,904,186,761,463,411,806)
   AND (609=a1 OR a1=4 OR a1=868 OR a1=32)
   AND c5 in (978,960,756,894,489,222,485,249)
   AND 476=a3

query ITII rowsort join302
SELECT a8*476, x3, b5, a1
  FROM t8, t1, t3, t5
 WHERE (609=a1 OR a1=4 OR a1=868 OR a1=32)
   AND e8 in (377,904,186,761,463,411,806)
   AND 476=a3
   AND c5 in (978,960,756,894,489,222,485,249)

query ITII rowsort join302
SELECT a8*476, x3, b5, a1
  FROM t8, t5, t3, t1
 WHERE 476=a3
   AND c5 in (978,960,756,894,489,222,485,249)
   AND e8 in (377,904,186,761,463,411,806)
   AND (609=a1 OR a1=4 OR a1=868 OR a1=32)

query ITII rowsort join302
SELECT a8*476, x3, b5, a1
  FROM t3, t1, t5, t8
 WHERE c5 in (978,960,756,894,489,222,485,249)
   AND e8 in (377,904,186,761,463,411,806)
   AND 476=a3
   AND (609=a1 OR a1=4 OR a1=868 OR a1=32)

query IIII rowsort join303
SELECT a5+549, c7, a4*623, a6*256
  FROM t4, t5, t7, t6
 WHERE 462=e7
   AND c5=819
   AND 634=b4
   AND d6 in (885,161,469,2,277,581,66)

query IIII rowsort join303
SELECT a5+549, c7, a4*623, a6*256
  FROM t7, t4, t6, t5
 WHERE 462=e7
   AND 634=b4
   AND c5=819
   AND d6 in (885,161,469,2,277,581,66)

query IIII rowsort join303
SELECT a5+549, c7, a4*623, a6*256
  FROM t6, t5, t4, t7
 WHERE 634=b4
   AND c5=819
   AND 462=e7
   AND d6 in (885,161,469,2,277,581,66)

query IIII rowsort join303
SELECT a5+549, c7, a4*623, a6*256
  FROM t7, t6, t4, t5
 WHERE 634=b4
   AND 462=e7
   AND c5=819
   AND d6 in (885,161,469,2,277,581,66)

query ITIIIIII rowsort join304
SELECT a6*678+c9, x1, a4, b5, c9, e2, b7*498, c3+c4
  FROM t3, t4, t5, t9, t7, t6, t1, t2
 WHERE e7 in (439,79,975,428,144)
   AND d2 in (847,843,46,405,723,813,263)
   AND a3 in (651,515,959)
   AND a1=591
   AND 570=c5
   AND 942=d6
   AND e9=d2
   AND b4 in (802,847,379,589,184,2)

query ITIIIIII rowsort join304
SELECT a6*678+c9, x1, a4, b5, c9, e2, b7*498, c3+c4
  FROM t1, t5, t4, t3, t9, t6, t2, t7
 WHERE a3 in (651,515,959)
   AND 942=d6
   AND e7 in (439,79,975,428,144)
   AND e9=d2
   AND 570=c5
   AND d2 in (847,843,46,405,723,813,263)
   AND a1=591
   AND b4 in (802,847,379,589,184,2)

query ITIIIIII rowsort join304
SELECT a6*678+c9, x1, a4, b5, c9, e2, b7*498, c3+c4
  FROM t4, t6, t7, t1, t3, t9, t2, t5
 WHERE 570=c5
   AND b4 in (802,847,379,589,184,2)
   AND 942=d6
   AND a1=591
   AND a3 in (651,515,959)
   AND e7 in (439,79,975,428,144)
   AND e9=d2
   AND d2 in (847,843,46,405,723,813,263)

query ITIIIIII rowsort join304
SELECT a6*678+c9, x1, a4, b5, c9, e2, b7*498, c3+c4
  FROM t6, t2, t1, t9, t4, t3, t5, t7
 WHERE a3 in (651,515,959)
   AND d2 in (847,843,46,405,723,813,263)
   AND b4 in (802,847,379,589,184,2)
   AND a1=591
   AND e7 in (439,79,975,428,144)
   AND 570=c5
   AND e9=d2
   AND 942=d6

query IIIIII rowsort join305
SELECT c9+a3, d2, c3*181+e3, b4, b7*188, b1
  FROM t9, t4, t7, t1, t2, t3
 WHERE a1=c9
   AND 829=a3
   AND 977=d2
   AND e7 in (48,782,428,303,841,887,408)
   AND 810=b4
   AND b9 in (832,821,214,125,74,804,171,549)

query IIIIII rowsort join305
SELECT c9+a3, d2, c3*181+e3, b4, b7*188, b1
  FROM t3, t9, t4, t2, t7, t1
 WHERE 829=a3
   AND a1=c9
   AND 977=d2
   AND 810=b4
   AND e7 in (48,782,428,303,841,887,408)
   AND b9 in (832,821,214,125,74,804,171,549)

query IIIIII rowsort join305
SELECT c9+a3, d2, c3*181+e3, b4, b7*188, b1
  FROM t3, t9, t1, t4, t7, t2
 WHERE 829=a3
   AND 977=d2
   AND 810=b4
   AND b9 in (832,821,214,125,74,804,171,549)
   AND a1=c9
   AND e7 in (48,782,428,303,841,887,408)

query IIIIII rowsort join305
SELECT c9+a3, d2, c3*181+e3, b4, b7*188, b1
  FROM t1, t3, t4, t7, t2, t9
 WHERE b9 in (832,821,214,125,74,804,171,549)
   AND 977=d2
   AND a1=c9
   AND 829=a3
   AND 810=b4
   AND e7 in (48,782,428,303,841,887,408)

query II rowsort join306
SELECT e9+d9, e6*530
  FROM t6, t9
 WHERE c9 in (894,110,857,688,90)
   AND d6 in (366,846,797,35,974)

query II rowsort join306
SELECT e9+d9, e6*530
  FROM t9, t6
 WHERE c9 in (894,110,857,688,90)
   AND d6 in (366,846,797,35,974)

query TTI rowsort join307
SELECT x5, x8, b4
  FROM t8, t5, t4
 WHERE 802=b4
   AND c5=d8
   AND e8 in (7,933,811,105,635,776,497)

query TTI rowsort join307
SELECT x5, x8, b4
  FROM t5, t8, t4
 WHERE e8 in (7,933,811,105,635,776,497)
   AND 802=b4
   AND c5=d8

query TTI rowsort join307
SELECT x5, x8, b4
  FROM t8, t4, t5
 WHERE e8 in (7,933,811,105,635,776,497)
   AND c5=d8
   AND 802=b4

query TTI rowsort join307
SELECT x5, x8, b4
  FROM t4, t8, t5
 WHERE e8 in (7,933,811,105,635,776,497)
   AND c5=d8
   AND 802=b4

query IIIII rowsort join308
SELECT d5+30+b5, e7, d2*977, c4+11, b6
  FROM t5, t4, t7, t6, t2
 WHERE b4 in (271,938,387,323,765,68,903,606)
   AND (e7=280 OR e7=884 OR 215=e7)
   AND (235=a2 OR 9=a2)
   AND (d6=734 OR d6=500)
   AND 915=c5

query IIIII rowsort join308
SELECT d5+30+b5, e7, d2*977, c4+11, b6
  FROM t2, t4, t7, t5, t6
 WHERE (e7=280 OR e7=884 OR 215=e7)
   AND (235=a2 OR 9=a2)
   AND (d6=734 OR d6=500)
   AND b4 in (271,938,387,323,765,68,903,606)
   AND 915=c5

query IIIII rowsort join308
SELECT d5+30+b5, e7, d2*977, c4+11, b6
  FROM t4, t7, t2, t5, t6
 WHERE 915=c5
   AND (e7=280 OR e7=884 OR 215=e7)
   AND (235=a2 OR 9=a2)
   AND b4 in (271,938,387,323,765,68,903,606)
   AND (d6=734 OR d6=500)

query IIIII rowsort join308
SELECT d5+30+b5, e7, d2*977, c4+11, b6
  FROM t5, t2, t6, t7, t4
 WHERE (e7=280 OR e7=884 OR 215=e7)
   AND (d6=734 OR d6=500)
   AND b4 in (271,938,387,323,765,68,903,606)
   AND (235=a2 OR 9=a2)
   AND 915=c5

query ITIII rowsort join309
SELECT d9*704, x8, c6, c5, a2
  FROM t8, t6, t5, t2, t9
 WHERE a9=263
   AND e8 in (578,440,497,199)
   AND 509=b2
   AND c5=d6
   AND d6 in (974,129,72,424,667,711)

query ITIII rowsort join309
SELECT d9*704, x8, c6, c5, a2
  FROM t9, t8, t5, t2, t6
 WHERE 509=b2
   AND e8 in (578,440,497,199)
   AND c5=d6
   AND a9=263
   AND d6 in (974,129,72,424,667,711)

query ITIII rowsort join309
SELECT d9*704, x8, c6, c5, a2
  FROM t5, t9, t6, t8, t2
 WHERE e8 in (578,440,497,199)
   AND 509=b2
   AND a9=263
   AND d6 in (974,129,72,424,667,711)
   AND c5=d6

query ITIII rowsort join309
SELECT d9*704, x8, c6, c5, a2
  FROM t6, t8, t2, t5, t9
 WHERE 509=b2
   AND d6 in (974,129,72,424,667,711)
   AND c5=d6
   AND e8 in (578,440,497,199)
   AND a9=263

query II rowsort join310
SELECT d4, d9*840
  FROM t4, t9
 WHERE e9=e4
   AND b4 in (480,765,286,907)

query II rowsort join310
SELECT d4, d9*840
  FROM t4, t9
 WHERE b4 in (480,765,286,907)
   AND e9=e4

query IIITI rowsort join311
SELECT d3, e1+e1, a8, x9, d2
  FROM t9, t8, t1, t2, t3
 WHERE e8=635
   AND d9 in (618,987,316,959,25)
   AND a3 in (784,549,378,162)
   AND a2 in (760,262,10,297,471,651,966,874)
   AND a1 in (898,963,299,607,88,20,281,918)

query IIITI rowsort join311
SELECT d3, e1+e1, a8, x9, d2
  FROM t1, t8, t9, t2, t3
 WHERE a2 in (760,262,10,297,471,651,966,874)
   AND a1 in (898,963,299,607,88,20,281,918)
   AND d9 in (618,987,316,959,25)
   AND a3 in (784,549,378,162)
   AND e8=635

query IIITI rowsort join311
SELECT d3, e1+e1, a8, x9, d2
  FROM t1, t2, t3, t9, t8
 WHERE d9 in (618,987,316,959,25)
   AND e8=635
   AND a3 in (784,549,378,162)
   AND a2 in (760,262,10,297,471,651,966,874)
   AND a1 in (898,963,299,607,88,20,281,918)

query IIITI rowsort join311
SELECT d3, e1+e1, a8, x9, d2
  FROM t3, t2, t1, t8, t9
 WHERE e8=635
   AND a2 in (760,262,10,297,471,651,966,874)
   AND d9 in (618,987,316,959,25)
   AND a1 in (898,963,299,607,88,20,281,918)
   AND a3 in (784,549,378,162)

query TI rowsort join312
SELECT x5, e7
  FROM t5, t7
 WHERE e7=976
   AND c5=856

query TI rowsort join312
SELECT x5, e7
  FROM t5, t7
 WHERE c5=856
   AND e7=976

query IIII rowsort join313
SELECT a6+b3, b3, b2+534, b5
  FROM t2, t5, t3, t6
 WHERE c5 in (820,797,756,805,551,158)
   AND a3=551
   AND d6 in (2,60,729,457,405,581,21,974)
   AND d2=362

query IIII rowsort join313
SELECT a6+b3, b3, b2+534, b5
  FROM t6, t3, t5, t2
 WHERE d2=362
   AND a3=551
   AND c5 in (820,797,756,805,551,158)
   AND d6 in (2,60,729,457,405,581,21,974)

query IIII rowsort join313
SELECT a6+b3, b3, b2+534, b5
  FROM t3, t6, t2, t5
 WHERE d2=362
   AND d6 in (2,60,729,457,405,581,21,974)
   AND c5 in (820,797,756,805,551,158)
   AND a3=551

query IIII rowsort join313
SELECT a6+b3, b3, b2+534, b5
  FROM t2, t3, t5, t6
 WHERE a3=551
   AND c5 in (820,797,756,805,551,158)
   AND d6 in (2,60,729,457,405,581,21,974)
   AND d2=362

query TII rowsort join314
SELECT x7, e2+d7, e1*593
  FROM t1, t2, t7
 WHERE d2=b1
   AND e7=6
   AND a1 in (299,499,732)

query TII rowsort join314
SELECT x7, e2+d7, e1*593
  FROM t1, t2, t7
 WHERE a1 in (299,499,732)
   AND e7=6
   AND d2=b1

query TII rowsort join314
SELECT x7, e2+d7, e1*593
  FROM t1, t2, t7
 WHERE d2=b1
   AND a1 in (299,499,732)
   AND e7=6

query TII rowsort join314
SELECT x7, e2+d7, e1*593
  FROM t2, t1, t7
 WHERE a1 in (299,499,732)
   AND e7=6
   AND d2=b1

query III rowsort join315
SELECT e2+d7, e7, d5*640
  FROM t7, t2, t5
 WHERE (a2=315 OR 268=a2 OR 863=a2 OR a2=324)
   AND c5 in (989,86,261,3)
   AND e7 in (280,183,432,851,156)

query III rowsort join315
SELECT e2+d7, e7, d5*640
  FROM t7, t2, t5
 WHERE c5 in (989,86,261,3)
   AND e7 in (280,183,432,851,156)
   AND (a2=315 OR 268=a2 OR 863=a2 OR a2=324)

query III rowsort join315
SELECT e2+d7, e7, d5*640
  FROM t7, t2, t5
 WHERE c5 in (989,86,261,3)
   AND (a2=315 OR 268=a2 OR 863=a2 OR a2=324)
   AND e7 in (280,183,432,851,156)

query III rowsort join315
SELECT e2+d7, e7, d5*640
  FROM t2, t5, t7
 WHERE (a2=315 OR 268=a2 OR 863=a2 OR a2=324)
   AND c5 in (989,86,261,3)
   AND e7 in (280,183,432,851,156)

query III rowsort join316
SELECT a5+902, e2, b3
  FROM t3, t5, t2
 WHERE 579=c5
   AND b2 in (414,812,864,628,819,527)
   AND a3 in (979,997,262,532,164,696)

query III rowsort join316
SELECT a5+902, e2, b3
  FROM t5, t3, t2
 WHERE b2 in (414,812,864,628,819,527)
   AND 579=c5
   AND a3 in (979,997,262,532,164,696)

query III rowsort join316
SELECT a5+902, e2, b3
  FROM t5, t3, t2
 WHERE a3 in (979,997,262,532,164,696)
   AND b2 in (414,812,864,628,819,527)
   AND 579=c5

query III rowsort join316
SELECT a5+902, e2, b3
  FROM t3, t2, t5
 WHERE 579=c5
   AND b2 in (414,812,864,628,819,527)
   AND a3 in (979,997,262,532,164,696)

query IIIII rowsort join317
SELECT e1+650+a8, e3, c9, c8, d7+c3
  FROM t9, t8, t3, t1, t7
 WHERE e8 in (38,233,295,333,944,422,864)
   AND 689=e7
   AND a9=115
   AND a3=379
   AND 898=a1

query IIIII rowsort join317
SELECT e1+650+a8, e3, c9, c8, d7+c3
  FROM t1, t9, t8, t7, t3
 WHERE 689=e7
   AND a3=379
   AND a9=115
   AND 898=a1
   AND e8 in (38,233,295,333,944,422,864)

query IIIII rowsort join317
SELECT e1+650+a8, e3, c9, c8, d7+c3
  FROM t8, t9, t1, t7, t3
 WHERE e8 in (38,233,295,333,944,422,864)
   AND a9=115
   AND a3=379
   AND 898=a1
   AND 689=e7

query IIIII rowsort join317
SELECT e1+650+a8, e3, c9, c8, d7+c3
  FROM t8, t7, t1, t3, t9
 WHERE 898=a1
   AND a3=379
   AND a9=115
   AND e8 in (38,233,295,333,944,422,864)
   AND 689=e7

query IIIIIII rowsort join318
SELECT d5, d9, d6+33, b2, c4+693, c1*867, b8*136
  FROM t9, t4, t5, t6, t1, t2, t8
 WHERE e8 in (422,866,700,947,295,221,729,333)
   AND d2=158
   AND b4=765
   AND 584=a1
   AND b9 in (125,122,142,848,926)
   AND (86=c5 OR c5=56)
   AND 393=d6

query IIIIIII rowsort join318
SELECT d5, d9, d6+33, b2, c4+693, c1*867, b8*136
  FROM t1, t9, t4, t6, t5, t8, t2
 WHERE e8 in (422,866,700,947,295,221,729,333)
   AND b4=765
   AND 393=d6
   AND 584=a1
   AND d2=158
   AND b9 in (125,122,142,848,926)
   AND (86=c5 OR c5=56)

query IIIIIII rowsort join318
SELECT d5, d9, d6+33, b2, c4+693, c1*867, b8*136
  FROM t8, t9, t6, t4, t1, t2, t5
 WHERE e8 in (422,866,700,947,295,221,729,333)
   AND d2=158
   AND 393=d6
   AND b4=765
   AND b9 in (125,122,142,848,926)
   AND (86=c5 OR c5=56)
   AND 584=a1

query IIIIIII rowsort join318
SELECT d5, d9, d6+33, b2, c4+693, c1*867, b8*136
  FROM t8, t2, t6, t4, t5, t9, t1
 WHERE d2=158
   AND b9 in (125,122,142,848,926)
   AND e8 in (422,866,700,947,295,221,729,333)
   AND 584=a1
   AND (86=c5 OR c5=56)
   AND 393=d6
   AND b4=765

query II rowsort join319
SELECT d2, b9
  FROM t9, t2
 WHERE b9 in (783,118,759,803)
   AND a2=651

query II rowsort join319
SELECT d2, b9
  FROM t2, t9
 WHERE b9 in (783,118,759,803)
   AND a2=651

query II rowsort join319
SELECT d2, b9
  FROM t2, t9
 WHERE a2=651
   AND b9 in (783,118,759,803)

query II rowsort join319
SELECT d2, b9
  FROM t9, t2
 WHERE a2=651
   AND b9 in (783,118,759,803)

query IIT rowsort join320
SELECT b2*686+b2, e7+841, x1
  FROM t2, t1, t7
 WHERE e7=955
   AND d2 in (598,19,854,838)
   AND a1=a7

query IIT rowsort join320
SELECT b2*686+b2, e7+841, x1
  FROM t7, t1, t2
 WHERE a1=a7
   AND e7=955
   AND d2 in (598,19,854,838)

query IIT rowsort join320
SELECT b2*686+b2, e7+841, x1
  FROM t7, t2, t1
 WHERE d2 in (598,19,854,838)
   AND a1=a7
   AND e7=955

query IIIIII rowsort join321
SELECT c3, c6+653, e4*221, d7, b5+338+d4, e9*471+b7
  FROM t5, t9, t3, t7, t6, t4
 WHERE c5=149
   AND a3=335
   AND (197=e7 OR 184=e7 OR 826=e7 OR e7=782)
   AND d6 in (846,463,711,647,2,2,911)
   AND a9 in (559,815,683)
   AND (b4=387 OR b4=961)

query IIIIII rowsort join321
SELECT c3, c6+653, e4*221, d7, b5+338+d4, e9*471+b7
  FROM t3, t5, t6, t4, t9, t7
 WHERE c5=149
   AND (b4=387 OR b4=961)
   AND a3=335
   AND a9 in (559,815,683)
   AND d6 in (846,463,711,647,2,2,911)
   AND (197=e7 OR 184=e7 OR 826=e7 OR e7=782)

query IIIIII rowsort join321
SELECT c3, c6+653, e4*221, d7, b5+338+d4, e9*471+b7
  FROM t6, t9, t3, t7, t4, t5
 WHERE a9 in (559,815,683)
   AND c5=149
   AND (197=e7 OR 184=e7 OR 826=e7 OR e7=782)
   AND a3=335
   AND d6 in (846,463,711,647,2,2,911)
   AND (b4=387 OR b4=961)

query IIIIII rowsort join321
SELECT c3, c6+653, e4*221, d7, b5+338+d4, e9*471+b7
  FROM t6, t7, t4, t3, t9, t5
 WHERE d6 in (846,463,711,647,2,2,911)
   AND c5=149
   AND (197=e7 OR 184=e7 OR 826=e7 OR e7=782)
   AND a9 in (559,815,683)
   AND (b4=387 OR b4=961)
   AND a3=335

query IIIIIII rowsort join322
SELECT a8+574, d4, b5+524, a1, e2+b4, e9, c6+a2
  FROM t5, t4, t2, t6, t8, t1, t9
 WHERE 247=c2
   AND b4 in (589,603,563,260,551,892)
   AND d6 in (286,186,993,277,493,72,147,321)
   AND d9 in (111,744,495)
   AND a1 in (525,281,936,294,853)
   AND e8=608
   AND c5=756

query IIIIIII rowsort join322
SELECT a8+574, d4, b5+524, a1, e2+b4, e9, c6+a2
  FROM t4, t6, t9, t5, t1, t2, t8
 WHERE e8=608
   AND d9 in (111,744,495)
   AND a1 in (525,281,936,294,853)
   AND 247=c2
   AND b4 in (589,603,563,260,551,892)
   AND c5=756
   AND d6 in (286,186,993,277,493,72,147,321)

query IIIIIII rowsort join322
SELECT a8+574, d4, b5+524, a1, e2+b4, e9, c6+a2
  FROM t6, t9, t8, t2, t1, t4, t5
 WHERE e8=608
   AND d9 in (111,744,495)
   AND b4 in (589,603,563,260,551,892)
   AND c5=756
   AND a1 in (525,281,936,294,853)
   AND d6 in (286,186,993,277,493,72,147,321)
   AND 247=c2

query IIIIIII rowsort join322
SELECT a8+574, d4, b5+524, a1, e2+b4, e9, c6+a2
  FROM t4, t8, t1, t5, t2, t6, t9
 WHERE b4 in (589,603,563,260,551,892)
   AND 247=c2
   AND a1 in (525,281,936,294,853)
   AND d9 in (111,744,495)
   AND c5=756
   AND e8=608
   AND d6 in (286,186,993,277,493,72,147,321)

query IIIII rowsort join323
SELECT d3+502+b2, a2, b9, b8, b6
  FROM t2, t8, t3, t9, t6
 WHERE a3 in (743,368,971,5,947,727,935)
   AND e8=272
   AND (a9=706 OR 429=a9 OR a9=953 OR a9=41)
   AND a2 in (725,735,10)
   AND d6=e3

query IIIII rowsort join323
SELECT d3+502+b2, a2, b9, b8, b6
  FROM t6, t8, t9, t2, t3
 WHERE e8=272
   AND a2 in (725,735,10)
   AND (a9=706 OR 429=a9 OR a9=953 OR a9=41)
   AND a3 in (743,368,971,5,947,727,935)
   AND d6=e3

query IIIII rowsort join323
SELECT d3+502+b2, a2, b9, b8, b6
  FROM t2, t9, t8, t6, t3
 WHERE e8=272
   AND d6=e3
   AND a3 in (743,368,971,5,947,727,935)
   AND (a9=706 OR 429=a9 OR a9=953 OR a9=41)
   AND a2 in (725,735,10)

query IIIII rowsort join323
SELECT d3+502+b2, a2, b9, b8, b6
  FROM t6, t3, t8, t2, t9
 WHERE a2 in (725,735,10)
   AND d6=e3
   AND (a9=706 OR 429=a9 OR a9=953 OR a9=41)
   AND a3 in (743,368,971,5,947,727,935)
   AND e8=272

query TI rowsort join324
SELECT x6, a5*731
  FROM t5, t6
 WHERE d6 in (750,21,192,321,560)
   AND c5 in (825,551,766,485,756,734,628)

query TI rowsort join324
SELECT x6, a5*731
  FROM t5, t6
 WHERE c5 in (825,551,766,485,756,734,628)
   AND d6 in (750,21,192,321,560)

query II rowsort join325
SELECT e2+a2, b8*208
  FROM t8, t2
 WHERE e8=180
   AND a2=d8

query II rowsort join326
SELECT d3+134, d8+555
  FROM t8, t3
 WHERE a3 in (895,393,282,335)
   AND 811=e8

query II rowsort join326
SELECT d3+134, d8+555
  FROM t8, t3
 WHERE 811=e8
   AND a3 in (895,393,282,335)

query IT rowsort join327
SELECT b1, x8
  FROM t8, t1
 WHERE (e8=423 OR 14=e8 OR e8=761 OR 933=e8)
   AND a1=299

query IT rowsort join327
SELECT b1, x8
  FROM t1, t8
 WHERE a1=299
   AND (e8=423 OR 14=e8 OR e8=761 OR 933=e8)

query IT rowsort join327
SELECT b1, x8
  FROM t1, t8
 WHERE (e8=423 OR 14=e8 OR e8=761 OR 933=e8)
   AND a1=299

query IITTI rowsort join328
SELECT e9, e4+990, x6, x8, d7+a6
  FROM t4, t7, t9, t6, t8
 WHERE (e7=689 OR e7=508 OR e7=884)
   AND d6 in (590,790,852,60)
   AND b4 in (907,802,644,826,476,357,184,924)
   AND d9=d6
   AND e8=46

query IITTI rowsort join328
SELECT e9, e4+990, x6, x8, d7+a6
  FROM t9, t6, t8, t4, t7
 WHERE b4 in (907,802,644,826,476,357,184,924)
   AND d9=d6
   AND e8=46
   AND d6 in (590,790,852,60)
   AND (e7=689 OR e7=508 OR e7=884)

query IITTI rowsort join328
SELECT e9, e4+990, x6, x8, d7+a6
  FROM t6, t9, t4, t7, t8
 WHERE d9=d6
   AND d6 in (590,790,852,60)
   AND e8=46
   AND b4 in (907,802,644,826,476,357,184,924)
   AND (e7=689 OR e7=508 OR e7=884)

query IITTI rowsort join328
SELECT e9, e4+990, x6, x8, d7+a6
  FROM t4, t6, t9, t8, t7
 WHERE (e7=689 OR e7=508 OR e7=884)
   AND e8=46
   AND d9=d6
   AND b4 in (907,802,644,826,476,357,184,924)
   AND d6 in (590,790,852,60)

query IIIII rowsort join329
SELECT b8, b6+762+a8, d7*551, e3*683, e2+a8
  FROM t2, t6, t8, t3, t7
 WHERE 192=d6
   AND 854=c2
   AND e7=39
   AND a3=393
   AND 7=e8

query IIIII rowsort join329
SELECT b8, b6+762+a8, d7*551, e3*683, e2+a8
  FROM t3, t7, t2, t6, t8
 WHERE a3=393
   AND 854=c2
   AND e7=39
   AND 7=e8
   AND 192=d6

query IIIII rowsort join329
SELECT b8, b6+762+a8, d7*551, e3*683, e2+a8
  FROM t6, t3, t7, t8, t2
 WHERE e7=39
   AND 192=d6
   AND 854=c2
   AND a3=393
   AND 7=e8

query IIIII rowsort join329
SELECT b8, b6+762+a8, d7*551, e3*683, e2+a8
  FROM t6, t8, t7, t3, t2
 WHERE 854=c2
   AND e7=39
   AND 7=e8
   AND a3=393
   AND 192=d6

query III rowsort join330
SELECT b8, a6, a3+515+c6
  FROM t3, t6, t8
 WHERE a3 in (727,41,699,282,181,818,995,34)
   AND d6 in (797,855,807,405,467,35,36)
   AND (416=e8 OR e8=381)

query III rowsort join330
SELECT b8, a6, a3+515+c6
  FROM t3, t6, t8
 WHERE d6 in (797,855,807,405,467,35,36)
   AND a3 in (727,41,699,282,181,818,995,34)
   AND (416=e8 OR e8=381)

query III rowsort join330
SELECT b8, a6, a3+515+c6
  FROM t6, t3, t8
 WHERE a3 in (727,41,699,282,181,818,995,34)
   AND (416=e8 OR e8=381)
   AND d6 in (797,855,807,405,467,35,36)

query III rowsort join330
SELECT b8, a6, a3+515+c6
  FROM t8, t6, t3
 WHERE (416=e8 OR e8=381)
   AND a3 in (727,41,699,282,181,818,995,34)
   AND d6 in (797,855,807,405,467,35,36)

query II rowsort join331
SELECT b8*525+a8, d3*492
  FROM t8, t3
 WHERE a3 in (777,549,935,368,296,344,892,353)
   AND (e8=431 OR e8=377 OR 421=e8 OR 956=e8)

query II rowsort join331
SELECT b8*525+a8, d3*492
  FROM t3, t8
 WHERE (e8=431 OR e8=377 OR 421=e8 OR 956=e8)
   AND a3 in (777,549,935,368,296,344,892,353)

query ITI rowsort join332
SELECT d8+330, x9, a4+618+a9
  FROM t9, t8, t4
 WHERE 660=a9
   AND 295=e8
   AND (b4=40 OR 924=b4)

query ITI rowsort join332
SELECT d8+330, x9, a4+618+a9
  FROM t4, t9, t8
 WHERE (b4=40 OR 924=b4)
   AND 660=a9
   AND 295=e8

query ITI rowsort join332
SELECT d8+330, x9, a4+618+a9
  FROM t8, t9, t4
 WHERE 295=e8
   AND (b4=40 OR 924=b4)
   AND 660=a9

query ITI rowsort join332
SELECT d8+330, x9, a4+618+a9
  FROM t4, t8, t9
 WHERE (b4=40 OR 924=b4)
   AND 660=a9
   AND 295=e8

query IIIIT rowsort join333
SELECT e2, c9, a5*511, a4+b2, x7
  FROM t9, t7, t4, t2, t5
 WHERE b2 in (285,649,73,139,888,442)
   AND 122=b9
   AND 577=b4
   AND c5 in (101,489,820,774,485,733,210)
   AND 460=e7

query IIIIT rowsort join333
SELECT e2, c9, a5*511, a4+b2, x7
  FROM t4, t2, t5, t7, t9
 WHERE c5 in (101,489,820,774,485,733,210)
   AND 577=b4
   AND 460=e7
   AND 122=b9
   AND b2 in (285,649,73,139,888,442)

query IIIIT rowsort join333
SELECT e2, c9, a5*511, a4+b2, x7
  FROM t7, t4, t2, t5, t9
 WHERE b2 in (285,649,73,139,888,442)
   AND 460=e7
   AND c5 in (101,489,820,774,485,733,210)
   AND 577=b4
   AND 122=b9

query IIIIT rowsort join333
SELECT e2, c9, a5*511, a4+b2, x7
  FROM t2, t5, t9, t7, t4
 WHERE 122=b9
   AND b2 in (285,649,73,139,888,442)
   AND c5 in (101,489,820,774,485,733,210)
   AND 460=e7
   AND 577=b4

query IITI rowsort join334
SELECT a5, d3, x7, a8
  FROM t5, t7, t8, t3
 WHERE (e7=862 OR e7=344 OR 976=e7 OR 462=e7)
   AND c5=18
   AND a3 in (803,751,594,614,829,129,378,306)
   AND e8 in (806,310,411,7,736,440,56,455)

query IITI rowsort join334
SELECT a5, d3, x7, a8
  FROM t7, t5, t8, t3
 WHERE a3 in (803,751,594,614,829,129,378,306)
   AND e8 in (806,310,411,7,736,440,56,455)
   AND (e7=862 OR e7=344 OR 976=e7 OR 462=e7)
   AND c5=18

query IITI rowsort join334
SELECT a5, d3, x7, a8
  FROM t7, t3, t5, t8
 WHERE e8 in (806,310,411,7,736,440,56,455)
   AND a3 in (803,751,594,614,829,129,378,306)
   AND (e7=862 OR e7=344 OR 976=e7 OR 462=e7)
   AND c5=18

query IITI rowsort join334
SELECT a5, d3, x7, a8
  FROM t8, t3, t7, t5
 WHERE (e7=862 OR e7=344 OR 976=e7 OR 462=e7)
   AND a3 in (803,751,594,614,829,129,378,306)
   AND e8 in (806,310,411,7,736,440,56,455)
   AND c5=18

query IT rowsort join335
SELECT e9*368, x3
  FROM t9, t3
 WHERE a3 in (368,282,101,777,763,245)
   AND (e9=954 OR e9=61 OR e9=737 OR e9=837)

query IT rowsort join335
SELECT e9*368, x3
  FROM t9, t3
 WHERE (e9=954 OR e9=61 OR e9=737 OR e9=837)
   AND a3 in (368,282,101,777,763,245)

query IIIT rowsort join336
SELECT d7+980, b8*689, a9*182, x5
  FROM t8, t7, t9, t5
 WHERE e9=150
   AND e7 in (782,663,462)
   AND c5=527
   AND e8=512

query IIIT rowsort join336
SELECT d7+980, b8*689, a9*182, x5
  FROM t5, t7, t8, t9
 WHERE e9=150
   AND e7 in (782,663,462)
   AND c5=527
   AND e8=512

query IIIT rowsort join336
SELECT d7+980, b8*689, a9*182, x5
  FROM t5, t7, t8, t9
 WHERE e8=512
   AND c5=527
   AND e9=150
   AND e7 in (782,663,462)

query IIIT rowsort join336
SELECT d7+980, b8*689, a9*182, x5
  FROM t8, t5, t9, t7
 WHERE e7 in (782,663,462)
   AND c5=527
   AND e8=512
   AND e9=150

query ITII rowsort join337
SELECT b5*782, x1, a6+d6, b4+824
  FROM t1, t6, t5, t4
 WHERE b4 in (23,735,748,644,167,892,847)
   AND 598=c5
   AND a1=294
   AND (d6=2 OR d6=366 OR d6=161 OR d6=991)

query ITII rowsort join337
SELECT b5*782, x1, a6+d6, b4+824
  FROM t6, t4, t5, t1
 WHERE 598=c5
   AND a1=294
   AND b4 in (23,735,748,644,167,892,847)
   AND (d6=2 OR d6=366 OR d6=161 OR d6=991)

query ITII rowsort join337
SELECT b5*782, x1, a6+d6, b4+824
  FROM t5, t6, t1, t4
 WHERE 598=c5
   AND a1=294
   AND b4 in (23,735,748,644,167,892,847)
   AND (d6=2 OR d6=366 OR d6=161 OR d6=991)

query ITII rowsort join337
SELECT b5*782, x1, a6+d6, b4+824
  FROM t1, t5, t6, t4
 WHERE 598=c5
   AND a1=294
   AND (d6=2 OR d6=366 OR d6=161 OR d6=991)
   AND b4 in (23,735,748,644,167,892,847)

query IT rowsort join338
SELECT a6+757+b6, x7
  FROM t7, t6
 WHERE d6=590
   AND e7 in (455,884,841,975,428,154,156)

query IT rowsort join338
SELECT a6+757+b6, x7
  FROM t6, t7
 WHERE d6=590
   AND e7 in (455,884,841,975,428,154,156)

query IT rowsort join338
SELECT a6+757+b6, x7
  FROM t7, t6
 WHERE e7 in (455,884,841,975,428,154,156)
   AND d6=590

query IIIII rowsort join339
SELECT d6+e8, d8, e4*488+e4, d3, d5
  FROM t4, t8, t6, t3, t5
 WHERE c5 in (723,351,756,489,625,809,766,689)
   AND b4 in (535,532,802,603,23)
   AND e8=d6
   AND 729=d6
   AND a3=349

query IIIII rowsort join339
SELECT d6+e8, d8, e4*488+e4, d3, d5
  FROM t3, t5, t8, t4, t6
 WHERE b4 in (535,532,802,603,23)
   AND e8=d6
   AND 729=d6
   AND c5 in (723,351,756,489,625,809,766,689)
   AND a3=349

query IIIII rowsort join339
SELECT d6+e8, d8, e4*488+e4, d3, d5
  FROM t4, t3, t6, t5, t8
 WHERE a3=349
   AND 729=d6
   AND c5 in (723,351,756,489,625,809,766,689)
   AND b4 in (535,532,802,603,23)
   AND e8=d6

query IIIII rowsort join339
SELECT d6+e8, d8, e4*488+e4, d3, d5
  FROM t5, t8, t6, t3, t4
 WHERE c5 in (723,351,756,489,625,809,766,689)
   AND e8=d6
   AND b4 in (535,532,802,603,23)
   AND a3=349
   AND 729=d6

query IIII rowsort join340
SELECT b4+e2, a2*904, c9*347, d5
  FROM t5, t4, t2, t9
 WHERE e2 in (140,521,548,73,56,808,788)
   AND a9=e4
   AND b4 in (538,925,33,295,408)
   AND 747=c5

query IIII rowsort join340
SELECT b4+e2, a2*904, c9*347, d5
  FROM t2, t9, t5, t4
 WHERE e2 in (140,521,548,73,56,808,788)
   AND b4 in (538,925,33,295,408)
   AND a9=e4
   AND 747=c5

query IIII rowsort join340
SELECT b4+e2, a2*904, c9*347, d5
  FROM t9, t4, t2, t5
 WHERE e2 in (140,521,548,73,56,808,788)
   AND b4 in (538,925,33,295,408)
   AND 747=c5
   AND a9=e4

query IIII rowsort join340
SELECT b4+e2, a2*904, c9*347, d5
  FROM t5, t4, t2, t9
 WHERE b4 in (538,925,33,295,408)
   AND e2 in (140,521,548,73,56,808,788)
   AND a9=e4
   AND 747=c5

query ITIII rowsort join341
SELECT a3, x4, b7, c1+e3, a9+578+a7
  FROM t9, t4, t7, t1, t3
 WHERE (175=b4 OR b4=33 OR 434=b4 OR 660=b4)
   AND e7 in (27,562,508,983,587,561,288)
   AND a1=d4
   AND b9 in (178,821,848,832)
   AND a3 in (42,244,197,218,913)

query ITIII rowsort join341
SELECT a3, x4, b7, c1+e3, a9+578+a7
  FROM t4, t9, t1, t3, t7
 WHERE b9 in (178,821,848,832)
   AND a3 in (42,244,197,218,913)
   AND e7 in (27,562,508,983,587,561,288)
   AND a1=d4
   AND (175=b4 OR b4=33 OR 434=b4 OR 660=b4)

query ITIII rowsort join341
SELECT a3, x4, b7, c1+e3, a9+578+a7
  FROM t1, t7, t4, t9, t3
 WHERE a1=d4
   AND a3 in (42,244,197,218,913)
   AND b9 in (178,821,848,832)
   AND (175=b4 OR b4=33 OR 434=b4 OR 660=b4)
   AND e7 in (27,562,508,983,587,561,288)

query ITIII rowsort join341
SELECT a3, x4, b7, c1+e3, a9+578+a7
  FROM t3, t9, t4, t7, t1
 WHERE b9 in (178,821,848,832)
   AND a3 in (42,244,197,218,913)
   AND (175=b4 OR b4=33 OR 434=b4 OR 660=b4)
   AND a1=d4
   AND e7 in (27,562,508,983,587,561,288)

query IIITI rowsort join342
SELECT e8*663+c5, d5, a7*507, x4, d1+c4
  FROM t8, t5, t7, t4, t1
 WHERE c5 in (601,147,18,657,485)
   AND b4 in (469,606,678,532,286,319)
   AND e8=495
   AND 438=a1
   AND e7 in (506,553,291,197)

query IIITI rowsort join342
SELECT e8*663+c5, d5, a7*507, x4, d1+c4
  FROM t8, t1, t5, t4, t7
 WHERE b4 in (469,606,678,532,286,319)
   AND e7 in (506,553,291,197)
   AND e8=495
   AND 438=a1
   AND c5 in (601,147,18,657,485)

query IIITI rowsort join342
SELECT e8*663+c5, d5, a7*507, x4, d1+c4
  FROM t8, t5, t1, t7, t4
 WHERE e7 in (506,553,291,197)
   AND c5 in (601,147,18,657,485)
   AND 438=a1
   AND b4 in (469,606,678,532,286,319)
   AND e8=495

query IIITI rowsort join342
SELECT e8*663+c5, d5, a7*507, x4, d1+c4
  FROM t8, t5, t4, t7, t1
 WHERE e8=495
   AND b4 in (469,606,678,532,286,319)
   AND c5 in (601,147,18,657,485)
   AND 438=a1
   AND e7 in (506,553,291,197)

query III rowsort join343
SELECT d1+b7, c7+772+c1, b6+e1
  FROM t7, t1, t6
 WHERE d6 in (613,600,277,36,822,446,192)
   AND a1=e6
   AND e7 in (120,503,290,976,156)

query III rowsort join343
SELECT d1+b7, c7+772+c1, b6+e1
  FROM t7, t6, t1
 WHERE a1=e6
   AND d6 in (613,600,277,36,822,446,192)
   AND e7 in (120,503,290,976,156)

query III rowsort join343
SELECT d1+b7, c7+772+c1, b6+e1
  FROM t1, t6, t7
 WHERE a1=e6
   AND d6 in (613,600,277,36,822,446,192)
   AND e7 in (120,503,290,976,156)

query III rowsort join343
SELECT d1+b7, c7+772+c1, b6+e1
  FROM t7, t6, t1
 WHERE d6 in (613,600,277,36,822,446,192)
   AND e7 in (120,503,290,976,156)
   AND a1=e6

query ITI rowsort join344
SELECT d8, x6, a7+a8
  FROM t7, t8, t6
 WHERE e7 in (248,98,290,979)
   AND 428=d6
   AND (e8=947 OR e8=260 OR e8=64)

query ITI rowsort join344
SELECT d8, x6, a7+a8
  FROM t8, t6, t7
 WHERE (e8=947 OR e8=260 OR e8=64)
   AND 428=d6
   AND e7 in (248,98,290,979)

query ITI rowsort join344
SELECT d8, x6, a7+a8
  FROM t6, t8, t7
 WHERE (e8=947 OR e8=260 OR e8=64)
   AND 428=d6
   AND e7 in (248,98,290,979)

query IIIIII rowsort join345
SELECT d4+a9, c3+a8, d6+419, d9*814, c8+d3, d5+582+c9
  FROM t8, t3, t5, t6, t9, t4
 WHERE (b9=423 OR 868=b9 OR b9=77 OR 803=b9)
   AND (d6=855 OR 463=d6 OR 911=d6 OR 600=d6)
   AND e8 in (510,933,320,260,455,833,761,204)
   AND 40=b4
   AND c5 in (443,989,299,261,672,489)
   AND a3 in (895,995,818,379,499)

query IIIIII rowsort join345
SELECT d4+a9, c3+a8, d6+419, d9*814, c8+d3, d5+582+c9
  FROM t5, t8, t4, t6, t3, t9
 WHERE a3 in (895,995,818,379,499)
   AND 40=b4
   AND c5 in (443,989,299,261,672,489)
   AND e8 in (510,933,320,260,455,833,761,204)
   AND (d6=855 OR 463=d6 OR 911=d6 OR 600=d6)
   AND (b9=423 OR 868=b9 OR b9=77 OR 803=b9)

query IIIIII rowsort join345
SELECT d4+a9, c3+a8, d6+419, d9*814, c8+d3, d5+582+c9
  FROM t9, t4, t3, t6, t5, t8
 WHERE a3 in (895,995,818,379,499)
   AND e8 in (510,933,320,260,455,833,761,204)
   AND c5 in (443,989,299,261,672,489)
   AND 40=b4
   AND (d6=855 OR 463=d6 OR 911=d6 OR 600=d6)
   AND (b9=423 OR 868=b9 OR b9=77 OR 803=b9)

query IIIIII rowsort join345
SELECT d4+a9, c3+a8, d6+419, d9*814, c8+d3, d5+582+c9
  FROM t9, t4, t5, t8, t6, t3
 WHERE (d6=855 OR 463=d6 OR 911=d6 OR 600=d6)
   AND e8 in (510,933,320,260,455,833,761,204)
   AND 40=b4
   AND c5 in (443,989,299,261,672,489)
   AND (b9=423 OR 868=b9 OR b9=77 OR 803=b9)
   AND a3 in (895,995,818,379,499)

query TIII rowsort join346
SELECT x5, b8+644, a9, c1+a5
  FROM t9, t1, t5, t8
 WHERE c5 in (934,514,56,187,825,855)
   AND e9=854
   AND e8 in (729,476,859,180,431,175)
   AND a1 in (280,32,640,499,736,643,438)

query TIII rowsort join346
SELECT x5, b8+644, a9, c1+a5
  FROM t1, t5, t8, t9
 WHERE e8 in (729,476,859,180,431,175)
   AND c5 in (934,514,56,187,825,855)
   AND a1 in (280,32,640,499,736,643,438)
   AND e9=854

query TIII rowsort join346
SELECT x5, b8+644, a9, c1+a5
  FROM t9, t5, t8, t1
 WHERE c5 in (934,514,56,187,825,855)
   AND e8 in (729,476,859,180,431,175)
   AND a1 in (280,32,640,499,736,643,438)
   AND e9=854

query TIII rowsort join346
SELECT x5, b8+644, a9, c1+a5
  FROM t5, t9, t8, t1
 WHERE e8 in (729,476,859,180,431,175)
   AND e9=854
   AND c5 in (934,514,56,187,825,855)
   AND a1 in (280,32,640,499,736,643,438)

query IITII rowsort join347
SELECT a9, c8+c6, x6, b5+896+e6, b3
  FROM t6, t9, t5, t8, t3
 WHERE e9=251
   AND c5 in (155,37,101,649,140,514)
   AND d6 in (924,147,991,797,197,734)
   AND e8 in (809,233,175,488,411)
   AND a3=c8

query IITII rowsort join347
SELECT a9, c8+c6, x6, b5+896+e6, b3
  FROM t3, t6, t9, t5, t8
 WHERE e9=251
   AND e8 in (809,233,175,488,411)
   AND c5 in (155,37,101,649,140,514)
   AND a3=c8
   AND d6 in (924,147,991,797,197,734)

query IITII rowsort join347
SELECT a9, c8+c6, x6, b5+896+e6, b3
  FROM t3, t6, t5, t8, t9
 WHERE a3=c8
   AND c5 in (155,37,101,649,140,514)
   AND e8 in (809,233,175,488,411)
   AND d6 in (924,147,991,797,197,734)
   AND e9=251

query IITII rowsort join347
SELECT a9, c8+c6, x6, b5+896+e6, b3
  FROM t9, t8, t5, t3, t6
 WHERE e8 in (809,233,175,488,411)
   AND e9=251
   AND a3=c8
   AND d6 in (924,147,991,797,197,734)
   AND c5 in (155,37,101,649,140,514)

query IITIII rowsort join348
SELECT c6+e7, a4, x2, c5, c7, c1+454+c6
  FROM t1, t2, t5, t6, t7, t4
 WHERE 535=b4
   AND d6 in (970,36,172)
   AND 170=a1
   AND e7 in (988,288,887,234,663)
   AND 628=c5
   AND 813=d2

query IITIII rowsort join348
SELECT c6+e7, a4, x2, c5, c7, c1+454+c6
  FROM t5, t2, t7, t4, t1, t6
 WHERE 170=a1
   AND 813=d2
   AND e7 in (988,288,887,234,663)
   AND d6 in (970,36,172)
   AND 628=c5
   AND 535=b4

query IITIII rowsort join348
SELECT c6+e7, a4, x2, c5, c7, c1+454+c6
  FROM t6, t2, t5, t4, t1, t7
 WHERE e7 in (988,288,887,234,663)
   AND d6 in (970,36,172)
   AND 628=c5
   AND 813=d2
   AND 170=a1
   AND 535=b4

query IITIII rowsort join348
SELECT c6+e7, a4, x2, c5, c7, c1+454+c6
  FROM t7, t1, t5, t6, t4, t2
 WHERE d6 in (970,36,172)
   AND 813=d2
   AND 170=a1
   AND 628=c5
   AND 535=b4
   AND e7 in (988,288,887,234,663)

query IIT rowsort join349
SELECT c1+d4, a4, x9
  FROM t1, t4, t9
 WHERE a1 in (477,395,280,637,294)
   AND b9 in (803,326,858,342,936,703,746,913)
   AND b4=c9

query IIT rowsort join349
SELECT c1+d4, a4, x9
  FROM t4, t9, t1
 WHERE a1 in (477,395,280,637,294)
   AND b9 in (803,326,858,342,936,703,746,913)
   AND b4=c9

query IIT rowsort join349
SELECT c1+d4, a4, x9
  FROM t1, t4, t9
 WHERE b9 in (803,326,858,342,936,703,746,913)
   AND a1 in (477,395,280,637,294)
   AND b4=c9

query IIT rowsort join349
SELECT c1+d4, a4, x9
  FROM t4, t1, t9
 WHERE b4=c9
   AND a1 in (477,395,280,637,294)
   AND b9 in (803,326,858,342,936,703,746,913)

query III rowsort join350
SELECT e8+879, d1, e2
  FROM t8, t1, t2
 WHERE 640=a1
   AND e8=377
   AND d2=79

query III rowsort join350
SELECT e8+879, d1, e2
  FROM t2, t8, t1
 WHERE d2=79
   AND 640=a1
   AND e8=377

query III rowsort join350
SELECT e8+879, d1, e2
  FROM t2, t8, t1
 WHERE e8=377
   AND 640=a1
   AND d2=79

query III rowsort join350
SELECT e8+879, d1, e2
  FROM t8, t1, t2
 WHERE d2=79
   AND 640=a1
   AND e8=377

query TII rowsort join351
SELECT x2, e7, d4*932+c2
  FROM t4, t7, t2
 WHERE d2=749
   AND e7=605
   AND b4 in (58,721,220,707)

query TII rowsort join351
SELECT x2, e7, d4*932+c2
  FROM t4, t2, t7
 WHERE e7=605
   AND d2=749
   AND b4 in (58,721,220,707)

query TII rowsort join351
SELECT x2, e7, d4*932+c2
  FROM t4, t7, t2
 WHERE e7=605
   AND d2=749
   AND b4 in (58,721,220,707)

query TII rowsort join351
SELECT x2, e7, d4*932+c2
  FROM t7, t4, t2
 WHERE b4 in (58,721,220,707)
   AND d2=749
   AND e7=605

query IIIITII rowsort join352
SELECT e9, c3, a2*268, d1, x6, c8*783, a7*880
  FROM t9, t1, t2, t8, t7, t3, t6
 WHERE (e7=918 OR e7=282 OR e7=815 OR 976=e7)
   AND a3 in (865,303,895,98,515)
   AND d6 in (674,60,807,790)
   AND d2 in (334,833,152)
   AND 635=e8
   AND a9 in (5,69,685,251)
   AND a1=231

query IIIITII rowsort join352
SELECT e9, c3, a2*268, d1, x6, c8*783, a7*880
  FROM t2, t3, t8, t9, t7, t6, t1
 WHERE a1=231
   AND d2 in (334,833,152)
   AND d6 in (674,60,807,790)
   AND a9 in (5,69,685,251)
   AND a3 in (865,303,895,98,515)
   AND 635=e8
   AND (e7=918 OR e7=282 OR e7=815 OR 976=e7)

query IIIITII rowsort join352
SELECT e9, c3, a2*268, d1, x6, c8*783, a7*880
  FROM t9, t7, t1, t6, t3, t8, t2
 WHERE d6 in (674,60,807,790)
   AND 635=e8
   AND a1=231
   AND a9 in (5,69,685,251)
   AND d2 in (334,833,152)
   AND a3 in (865,303,895,98,515)
   AND (e7=918 OR e7=282 OR e7=815 OR 976=e7)

query IIIITII rowsort join352
SELECT e9, c3, a2*268, d1, x6, c8*783, a7*880
  FROM t7, t9, t1, t3, t6, t2, t8
 WHERE d2 in (334,833,152)
   AND (e7=918 OR e7=282 OR e7=815 OR 976=e7)
   AND a3 in (865,303,895,98,515)
   AND 635=e8
   AND a9 in (5,69,685,251)
   AND d6 in (674,60,807,790)
   AND a1=231

query IIIIII rowsort join353
SELECT e8, e6+952, d4, c2, a5, b9
  FROM t5, t6, t4, t2, t9, t8
 WHERE a9 in (297,891,962,41)
   AND e8 in (792,495,980,578,919,305)
   AND c5 in (155,485,147,12,747)
   AND (843=d2 OR 555=d2)
   AND b4 in (86,94,532,387,498,68,627,319)
   AND d6 in (689,674,66,186,321,286)

query IIIIII rowsort join353
SELECT e8, e6+952, d4, c2, a5, b9
  FROM t6, t8, t9, t5, t4, t2
 WHERE (843=d2 OR 555=d2)
   AND b4 in (86,94,532,387,498,68,627,319)
   AND c5 in (155,485,147,12,747)
   AND d6 in (689,674,66,186,321,286)
   AND a9 in (297,891,962,41)
   AND e8 in (792,495,980,578,919,305)

query IIIIII rowsort join353
SELECT e8, e6+952, d4, c2, a5, b9
  FROM t4, t9, t5, t2, t8, t6
 WHERE c5 in (155,485,147,12,747)
   AND b4 in (86,94,532,387,498,68,627,319)
   AND (843=d2 OR 555=d2)
   AND d6 in (689,674,66,186,321,286)
   AND a9 in (297,891,962,41)
   AND e8 in (792,495,980,578,919,305)

query IIIIII rowsort join353
SELECT e8, e6+952, d4, c2, a5, b9
  FROM t5, t4, t9, t2, t8, t6
 WHERE d6 in (689,674,66,186,321,286)
   AND b4 in (86,94,532,387,498,68,627,319)
   AND e8 in (792,495,980,578,919,305)
   AND (843=d2 OR 555=d2)
   AND c5 in (155,485,147,12,747)
   AND a9 in (297,891,962,41)

query IITI rowsort join354
SELECT a5, c3*670, x2, e4+899
  FROM t3, t2, t4, t5
 WHERE a3 in (559,164,197,218,727,995,699)
   AND c5=570
   AND b2 in (113,549,796,634,819,628,519)
   AND 826=b4

query IITI rowsort join354
SELECT a5, c3*670, x2, e4+899
  FROM t3, t5, t2, t4
 WHERE 826=b4
   AND a3 in (559,164,197,218,727,995,699)
   AND c5=570
   AND b2 in (113,549,796,634,819,628,519)

query IITI rowsort join354
SELECT a5, c3*670, x2, e4+899
  FROM t4, t5, t2, t3
 WHERE 826=b4
   AND c5=570
   AND b2 in (113,549,796,634,819,628,519)
   AND a3 in (559,164,197,218,727,995,699)

query IITI rowsort join354
SELECT a5, c3*670, x2, e4+899
  FROM t3, t2, t4, t5
 WHERE b2 in (113,549,796,634,819,628,519)
   AND 826=b4
   AND a3 in (559,164,197,218,727,995,699)
   AND c5=570

query TI rowsort join355
SELECT x2, a5*108+b2
  FROM t5, t2
 WHERE c5 in (527,723,634,941)
   AND b2 in (765,805,640,220,168,676,932,329)

query TI rowsort join355
SELECT x2, a5*108+b2
  FROM t2, t5
 WHERE b2 in (765,805,640,220,168,676,932,329)
   AND c5 in (527,723,634,941)

query TI rowsort join355
SELECT x2, a5*108+b2
  FROM t5, t2
 WHERE b2 in (765,805,640,220,168,676,932,329)
   AND c5 in (527,723,634,941)

query IIII rowsort join356
SELECT d4+462, e6, b2*783, e8*511
  FROM t2, t6, t8, t4
 WHERE e8 in (761,233,893,806,942,881,833)
   AND d6 in (970,489,467,790)
   AND 535=b4
   AND e2=a6

query IIII rowsort join356
SELECT d4+462, e6, b2*783, e8*511
  FROM t6, t8, t2, t4
 WHERE e2=a6
   AND d6 in (970,489,467,790)
   AND e8 in (761,233,893,806,942,881,833)
   AND 535=b4

query IIII rowsort join356
SELECT d4+462, e6, b2*783, e8*511
  FROM t4, t8, t6, t2
 WHERE e2=a6
   AND e8 in (761,233,893,806,942,881,833)
   AND d6 in (970,489,467,790)
   AND 535=b4

query IIII rowsort join356
SELECT d4+462, e6, b2*783, e8*511
  FROM t6, t4, t2, t8
 WHERE d6 in (970,489,467,790)
   AND e8 in (761,233,893,806,942,881,833)
   AND 535=b4
   AND e2=a6

query II rowsort join357
SELECT e9*947, c1+d9
  FROM t9, t1
 WHERE a1 in (864,213,324,637,283,918,742)
   AND (732=c9 OR c9=935)

query II rowsort join357
SELECT e9*947, c1+d9
  FROM t1, t9
 WHERE (732=c9 OR c9=935)
   AND a1 in (864,213,324,637,283,918,742)

query II rowsort join357
SELECT e9*947, c1+d9
  FROM t9, t1
 WHERE (732=c9 OR c9=935)
   AND a1 in (864,213,324,637,283,918,742)

query TIII rowsort join358
SELECT x7, d3, d2+64+e7, c1
  FROM t7, t2, t1, t3
 WHERE 181=a3
   AND 793=e7
   AND (314=a1 OR a1=584 OR 553=a1)
   AND (936=a2 OR 691=a2 OR 853=a2)

query TIII rowsort join358
SELECT x7, d3, d2+64+e7, c1
  FROM t7, t2, t1, t3
 WHERE 181=a3
   AND (314=a1 OR a1=584 OR 553=a1)
   AND (936=a2 OR 691=a2 OR 853=a2)
   AND 793=e7

query TIII rowsort join358
SELECT x7, d3, d2+64+e7, c1
  FROM t7, t2, t1, t3
 WHERE (936=a2 OR 691=a2 OR 853=a2)
   AND 181=a3
   AND 793=e7
   AND (314=a1 OR a1=584 OR 553=a1)

query TIII rowsort join358
SELECT x7, d3, d2+64+e7, c1
  FROM t7, t1, t2, t3
 WHERE (314=a1 OR a1=584 OR 553=a1)
   AND 181=a3
   AND 793=e7
   AND (936=a2 OR 691=a2 OR 853=a2)

query III rowsort join359
SELECT e1+c1, e9+772, e7
  FROM t7, t9, t1
 WHERE e7 in (904,562,462,144,976,301,503,970)
   AND (294=a1 OR 492=a1 OR 161=a1 OR 825=a1)
   AND 161=d9

query III rowsort join359
SELECT e1+c1, e9+772, e7
  FROM t7, t9, t1
 WHERE (294=a1 OR 492=a1 OR 161=a1 OR 825=a1)
   AND 161=d9
   AND e7 in (904,562,462,144,976,301,503,970)

query III rowsort join359
SELECT e1+c1, e9+772, e7
  FROM t7, t1, t9
 WHERE e7 in (904,562,462,144,976,301,503,970)
   AND 161=d9
   AND (294=a1 OR 492=a1 OR 161=a1 OR 825=a1)

query III rowsort join359
SELECT e1+c1, e9+772, e7
  FROM t1, t9, t7
 WHERE e7 in (904,562,462,144,976,301,503,970)
   AND (294=a1 OR 492=a1 OR 161=a1 OR 825=a1)
   AND 161=d9

query IITITT rowsort join360
SELECT b8, a9, x2, a3*523, x5, x7
  FROM t9, t5, t3, t7, t2, t8
 WHERE c5 in (756,799,18,485,649,158)
   AND e8 in (233,377,105,221,180,431,22)
   AND e7 in (303,154,103,782,976,638)
   AND a3 in (727,275,197,41,992)
   AND e9=426
   AND a2=d5

query IITITT rowsort join360
SELECT b8, a9, x2, a3*523, x5, x7
  FROM t5, t2, t3, t8, t7, t9
 WHERE e7 in (303,154,103,782,976,638)
   AND c5 in (756,799,18,485,649,158)
   AND e9=426
   AND a3 in (727,275,197,41,992)
   AND a2=d5
   AND e8 in (233,377,105,221,180,431,22)

query IITITT rowsort join360
SELECT b8, a9, x2, a3*523, x5, x7
  FROM t2, t7, t3, t9, t8, t5
 WHERE e9=426
   AND e7 in (303,154,103,782,976,638)
   AND c5 in (756,799,18,485,649,158)
   AND e8 in (233,377,105,221,180,431,22)
   AND a3 in (727,275,197,41,992)
   AND a2=d5

query IITITT rowsort join360
SELECT b8, a9, x2, a3*523, x5, x7
  FROM t2, t3, t8, t5, t9, t7
 WHERE a2=d5
   AND e9=426
   AND e8 in (233,377,105,221,180,431,22)
   AND e7 in (303,154,103,782,976,638)
   AND c5 in (756,799,18,485,649,158)
   AND a3 in (727,275,197,41,992)

query IIII rowsort join361
SELECT b1, a4+d2, e2+a2, d9
  FROM t4, t2, t1, t9
 WHERE a1 in (866,438,853,88)
   AND e9=801
   AND a2 in (283,139,76)
   AND b4 in (924,707,907,938,2,587,653)

query IIII rowsort join361
SELECT b1, a4+d2, e2+a2, d9
  FROM t4, t1, t9, t2
 WHERE e9=801
   AND a2 in (283,139,76)
   AND a1 in (866,438,853,88)
   AND b4 in (924,707,907,938,2,587,653)

query IIII rowsort join361
SELECT b1, a4+d2, e2+a2, d9
  FROM t9, t2, t1, t4
 WHERE e9=801
   AND a2 in (283,139,76)
   AND a1 in (866,438,853,88)
   AND b4 in (924,707,907,938,2,587,653)

query IIII rowsort join361
SELECT b1, a4+d2, e2+a2, d9
  FROM t2, t1, t4, t9
 WHERE a1 in (866,438,853,88)
   AND b4 in (924,707,907,938,2,587,653)
   AND e9=801
   AND a2 in (283,139,76)

query ITII rowsort join362
SELECT a6, x5, b2+a6, e4
  FROM t5, t2, t4, t6
 WHERE d6 in (192,129,970,151)
   AND b4 in (434,267,535,407,331,2,921,469)
   AND (c2=728 OR 806=c2 OR 141=c2)
   AND c5=819

query ITII rowsort join362
SELECT a6, x5, b2+a6, e4
  FROM t6, t4, t5, t2
 WHERE b4 in (434,267,535,407,331,2,921,469)
   AND c5=819
   AND d6 in (192,129,970,151)
   AND (c2=728 OR 806=c2 OR 141=c2)

query ITII rowsort join362
SELECT a6, x5, b2+a6, e4
  FROM t2, t4, t5, t6
 WHERE (c2=728 OR 806=c2 OR 141=c2)
   AND d6 in (192,129,970,151)
   AND c5=819
   AND b4 in (434,267,535,407,331,2,921,469)

query ITII rowsort join362
SELECT a6, x5, b2+a6, e4
  FROM t5, t4, t6, t2
 WHERE c5=819
   AND d6 in (192,129,970,151)
   AND b4 in (434,267,535,407,331,2,921,469)
   AND (c2=728 OR 806=c2 OR 141=c2)

query TII rowsort join363
SELECT x5, e9+217, c8
  FROM t8, t5, t9
 WHERE e8=c9
   AND e9 in (107,995,549)
   AND 601=c5

query TII rowsort join363
SELECT x5, e9+217, c8
  FROM t5, t8, t9
 WHERE 601=c5
   AND e9 in (107,995,549)
   AND e8=c9

query TII rowsort join363
SELECT x5, e9+217, c8
  FROM t9, t8, t5
 WHERE 601=c5
   AND e8=c9
   AND e9 in (107,995,549)

query TII rowsort join363
SELECT x5, e9+217, c8
  FROM t9, t8, t5
 WHERE e8=c9
   AND e9 in (107,995,549)
   AND 601=c5

query TII rowsort join364
SELECT x7, c5, e3*723+c7
  FROM t3, t5, t7
 WHERE a3 in (245,720,429,935)
   AND 384=c5
   AND e7 in (127,154,356,31,488,432,976)

query TII rowsort join364
SELECT x7, c5, e3*723+c7
  FROM t3, t7, t5
 WHERE e7 in (127,154,356,31,488,432,976)
   AND 384=c5
   AND a3 in (245,720,429,935)

query TII rowsort join364
SELECT x7, c5, e3*723+c7
  FROM t3, t5, t7
 WHERE 384=c5
   AND e7 in (127,154,356,31,488,432,976)
   AND a3 in (245,720,429,935)

query TII rowsort join364
SELECT x7, c5, e3*723+c7
  FROM t5, t7, t3
 WHERE a3 in (245,720,429,935)
   AND 384=c5
   AND e7 in (127,154,356,31,488,432,976)

query ITI rowsort join365
SELECT c6+756, x3, e5
  FROM t6, t3, t5
 WHERE a3=341
   AND d6=561
   AND 3=c5

query ITI rowsort join365
SELECT c6+756, x3, e5
  FROM t5, t6, t3
 WHERE 3=c5
   AND d6=561
   AND a3=341

query ITI rowsort join365
SELECT c6+756, x3, e5
  FROM t5, t6, t3
 WHERE a3=341
   AND 3=c5
   AND d6=561

query ITI rowsort join365
SELECT c6+756, x3, e5
  FROM t5, t3, t6
 WHERE d6=561
   AND a3=341
   AND 3=c5

query II rowsort join366
SELECT d2, c8
  FROM t8, t2
 WHERE 233=e8
   AND b2 in (799,888,278,351,501)

query II rowsort join366
SELECT d2, c8
  FROM t8, t2
 WHERE b2 in (799,888,278,351,501)
   AND 233=e8

query III rowsort join367
SELECT e9, d4+d4, e7
  FROM t7, t4, t9
 WHERE b9=214
   AND (e7=89 OR e7=638 OR 280=e7 OR 234=e7)
   AND 847=b4

query III rowsort join367
SELECT e9, d4+d4, e7
  FROM t9, t7, t4
 WHERE b9=214
   AND 847=b4
   AND (e7=89 OR e7=638 OR 280=e7 OR 234=e7)

query III rowsort join367
SELECT e9, d4+d4, e7
  FROM t9, t4, t7
 WHERE (e7=89 OR e7=638 OR 280=e7 OR 234=e7)
   AND 847=b4
   AND b9=214

query III rowsort join367
SELECT e9, d4+d4, e7
  FROM t7, t4, t9
 WHERE (e7=89 OR e7=638 OR 280=e7 OR 234=e7)
   AND b9=214
   AND 847=b4

query IIIII rowsort join368
SELECT a7+36, b5+337, c6, e8, b3*212
  FROM t7, t6, t5, t3, t8
 WHERE (d6=613 OR 929=d6 OR d6=458 OR d6=186)
   AND c5=774
   AND a3 in (566,899,197,376,513,306,143)
   AND 553=e7
   AND e8 in (333,305,44,455,260,955,223,381)

query IIIII rowsort join368
SELECT a7+36, b5+337, c6, e8, b3*212
  FROM t6, t8, t7, t3, t5
 WHERE e8 in (333,305,44,455,260,955,223,381)
   AND (d6=613 OR 929=d6 OR d6=458 OR d6=186)
   AND a3 in (566,899,197,376,513,306,143)
   AND 553=e7
   AND c5=774

query IIIII rowsort join368
SELECT a7+36, b5+337, c6, e8, b3*212
  FROM t8, t7, t6, t3, t5
 WHERE a3 in (566,899,197,376,513,306,143)
   AND (d6=613 OR 929=d6 OR d6=458 OR d6=186)
   AND e8 in (333,305,44,455,260,955,223,381)
   AND c5=774
   AND 553=e7

query IIIII rowsort join368
SELECT a7+36, b5+337, c6, e8, b3*212
  FROM t7, t6, t5, t8, t3
 WHERE a3 in (566,899,197,376,513,306,143)
   AND c5=774
   AND e8 in (333,305,44,455,260,955,223,381)
   AND (d6=613 OR 929=d6 OR d6=458 OR d6=186)
   AND 553=e7

query TI rowsort join369
SELECT x9, d3+634
  FROM t9, t3
 WHERE 197=e9
   AND a3=255

query TI rowsort join369
SELECT x9, d3+634
  FROM t9, t3
 WHERE a3=255
   AND 197=e9

query TI rowsort join369
SELECT x9, d3+634
  FROM t3, t9
 WHERE 197=e9
   AND a3=255

query IIIII rowsort join370
SELECT b4+e4, e6*152+c8, c9+687, b8, c3+43
  FROM t9, t3, t6, t8, t4
 WHERE d6 in (974,21,790,355)
   AND e8 in (919,44,179,944,186,646,729,736)
   AND a9 in (41,488,924)
   AND a3=699
   AND 220=b4

query IIIII rowsort join370
SELECT b4+e4, e6*152+c8, c9+687, b8, c3+43
  FROM t8, t9, t4, t3, t6
 WHERE a3=699
   AND a9 in (41,488,924)
   AND 220=b4
   AND d6 in (974,21,790,355)
   AND e8 in (919,44,179,944,186,646,729,736)

query IIIII rowsort join370
SELECT b4+e4, e6*152+c8, c9+687, b8, c3+43
  FROM t4, t9, t3, t8, t6
 WHERE a9 in (41,488,924)
   AND d6 in (974,21,790,355)
   AND a3=699
   AND 220=b4
   AND e8 in (919,44,179,944,186,646,729,736)

query IIIII rowsort join370
SELECT b4+e4, e6*152+c8, c9+687, b8, c3+43
  FROM t9, t6, t3, t8, t4
 WHERE e8 in (919,44,179,944,186,646,729,736)
   AND d6 in (974,21,790,355)
   AND 220=b4
   AND a9 in (41,488,924)
   AND a3=699

query IIIII rowsort join371
SELECT a7+c7, b9+a5, b1+a9, b5, d6
  FROM t5, t1, t7, t9, t6
 WHERE a1 in (866,61,492,609,810,829,544)
   AND (210=c5 OR c5=941 OR 844=c5)
   AND d6 in (970,72,473,600,463,974)
   AND 508=e7
   AND 13=b9

query IIIII rowsort join371
SELECT a7+c7, b9+a5, b1+a9, b5, d6
  FROM t6, t5, t1, t9, t7
 WHERE a1 in (866,61,492,609,810,829,544)
   AND 13=b9
   AND d6 in (970,72,473,600,463,974)
   AND 508=e7
   AND (210=c5 OR c5=941 OR 844=c5)

query IIIII rowsort join371
SELECT a7+c7, b9+a5, b1+a9, b5, d6
  FROM t6, t5, t9, t7, t1
 WHERE 13=b9
   AND d6 in (970,72,473,600,463,974)
   AND (210=c5 OR c5=941 OR 844=c5)
   AND 508=e7
   AND a1 in (866,61,492,609,810,829,544)

query IIIII rowsort join371
SELECT a7+c7, b9+a5, b1+a9, b5, d6
  FROM t5, t7, t6, t1, t9
 WHERE 508=e7
   AND a1 in (866,61,492,609,810,829,544)
   AND d6 in (970,72,473,600,463,974)
   AND (210=c5 OR c5=941 OR 844=c5)
   AND 13=b9

query IIII rowsort join372
SELECT e4, c9, a2*705, d8+d2
  FROM t4, t2, t9, t8
 WHERE d2 in (654,345,80,873,790,152)
   AND b4=c2
   AND a9 in (41,824,610,847,567,548,28)
   AND e8 in (272,980,431)

query IIII rowsort join372
SELECT e4, c9, a2*705, d8+d2
  FROM t4, t2, t8, t9
 WHERE b4=c2
   AND e8 in (272,980,431)
   AND a9 in (41,824,610,847,567,548,28)
   AND d2 in (654,345,80,873,790,152)

query IIII rowsort join372
SELECT e4, c9, a2*705, d8+d2
  FROM t9, t4, t2, t8
 WHERE e8 in (272,980,431)
   AND d2 in (654,345,80,873,790,152)
   AND b4=c2
   AND a9 in (41,824,610,847,567,548,28)

query IIII rowsort join372
SELECT e4, c9, a2*705, d8+d2
  FROM t2, t8, t4, t9
 WHERE a9 in (41,824,610,847,567,548,28)
   AND e8 in (272,980,431)
   AND b4=c2
   AND d2 in (654,345,80,873,790,152)

query TIIII rowsort join373
SELECT x1, e8+154, a5+99, b2+70+e1, b9+656
  FROM t5, t1, t9, t2, t8
 WHERE (c2=87 OR 992=c2 OR c2=793)
   AND e8 in (944,242,463,776,942,512)
   AND a1=23
   AND c5 in (734,471,442,799,222)
   AND b9 in (819,74,227,342,595)

query TIIII rowsort join373
SELECT x1, e8+154, a5+99, b2+70+e1, b9+656
  FROM t5, t8, t2, t9, t1
 WHERE b9 in (819,74,227,342,595)
   AND a1=23
   AND (c2=87 OR 992=c2 OR c2=793)
   AND e8 in (944,242,463,776,942,512)
   AND c5 in (734,471,442,799,222)

query TIIII rowsort join373
SELECT x1, e8+154, a5+99, b2+70+e1, b9+656
  FROM t2, t1, t9, t5, t8
 WHERE (c2=87 OR 992=c2 OR c2=793)
   AND b9 in (819,74,227,342,595)
   AND c5 in (734,471,442,799,222)
   AND e8 in (944,242,463,776,942,512)
   AND a1=23

query TIIII rowsort join373
SELECT x1, e8+154, a5+99, b2+70+e1, b9+656
  FROM t5, t2, t9, t1, t8
 WHERE a1=23
   AND b9 in (819,74,227,342,595)
   AND c5 in (734,471,442,799,222)
   AND (c2=87 OR 992=c2 OR c2=793)
   AND e8 in (944,242,463,776,942,512)

query IIII rowsort join374
SELECT b9+d2, e2, a5, d6+318
  FROM t2, t6, t5, t9
 WHERE c5=152
   AND d9 in (86,283,808,226,463,909,25)
   AND d6 in (463,991,458)
   AND (c2=728 OR c2=24 OR 193=c2)

query IIII rowsort join374
SELECT b9+d2, e2, a5, d6+318
  FROM t6, t9, t2, t5
 WHERE d9 in (86,283,808,226,463,909,25)
   AND c5=152
   AND (c2=728 OR c2=24 OR 193=c2)
   AND d6 in (463,991,458)

query IIII rowsort join374
SELECT b9+d2, e2, a5, d6+318
  FROM t9, t5, t6, t2
 WHERE (c2=728 OR c2=24 OR 193=c2)
   AND c5=152
   AND d6 in (463,991,458)
   AND d9 in (86,283,808,226,463,909,25)

query IIII rowsort join374
SELECT b9+d2, e2, a5, d6+318
  FROM t6, t9, t2, t5
 WHERE d9 in (86,283,808,226,463,909,25)
   AND d6 in (463,991,458)
   AND (c2=728 OR c2=24 OR 193=c2)
   AND c5=152

query IIIT rowsort join375
SELECT c1, b5+68, b7+e1, x4
  FROM t1, t4, t5, t7
 WHERE b4 in (606,593,579,107,907)
   AND c5=b4
   AND (e7=184 OR 503=e7)
   AND 544=a1

query IIIT rowsort join375
SELECT c1, b5+68, b7+e1, x4
  FROM t1, t7, t4, t5
 WHERE b4 in (606,593,579,107,907)
   AND 544=a1
   AND (e7=184 OR 503=e7)
   AND c5=b4

query IIIT rowsort join375
SELECT c1, b5+68, b7+e1, x4
  FROM t4, t1, t5, t7
 WHERE b4 in (606,593,579,107,907)
   AND 544=a1
   AND c5=b4
   AND (e7=184 OR 503=e7)

query IIIT rowsort join375
SELECT c1, b5+68, b7+e1, x4
  FROM t4, t5, t1, t7
 WHERE (e7=184 OR 503=e7)
   AND b4 in (606,593,579,107,907)
   AND c5=b4
   AND 544=a1

query IIIII rowsort join376
SELECT a6+315+d9, d3, c9, b1+659+b9, b5
  FROM t3, t5, t1, t9, t6
 WHERE d6 in (223,376,2,956)
   AND a1=c6
   AND 293=c5
   AND c9=402
   AND a3 in (184,218,457,490,865,971)

query IIIII rowsort join376
SELECT a6+315+d9, d3, c9, b1+659+b9, b5
  FROM t1, t5, t9, t3, t6
 WHERE a3 in (184,218,457,490,865,971)
   AND c9=402
   AND a1=c6
   AND 293=c5
   AND d6 in (223,376,2,956)

query IIIII rowsort join376
SELECT a6+315+d9, d3, c9, b1+659+b9, b5
  FROM t3, t9, t6, t1, t5
 WHERE a1=c6
   AND a3 in (184,218,457,490,865,971)
   AND c9=402
   AND 293=c5
   AND d6 in (223,376,2,956)

query IIIII rowsort join376
SELECT a6+315+d9, d3, c9, b1+659+b9, b5
  FROM t5, t9, t6, t3, t1
 WHERE a3 in (184,218,457,490,865,971)
   AND c9=402
   AND a1=c6
   AND 293=c5
   AND d6 in (223,376,2,956)

query ITITIITI rowsort join377
SELECT c5, x3, c6+765, x1, a9+d3, c4, x2, a7*520+a5
  FROM t5, t7, t1, t3, t4, t6, t9, t2
 WHERE 584=a1
   AND a3 in (720,34,429,335,615,644)
   AND 854=e9
   AND b4 in (721,589,826)
   AND d6 in (473,337,590,197)
   AND c5 in (130,579,672,797,514,734)
   AND e7 in (201,562,455)
   AND 812=b2

query ITITIITI rowsort join377
SELECT c5, x3, c6+765, x1, a9+d3, c4, x2, a7*520+a5
  FROM t6, t3, t1, t5, t9, t4, t2, t7
 WHERE a3 in (720,34,429,335,615,644)
   AND b4 in (721,589,826)
   AND d6 in (473,337,590,197)
   AND 854=e9
   AND c5 in (130,579,672,797,514,734)
   AND 584=a1
   AND e7 in (201,562,455)
   AND 812=b2

query ITITIITI rowsort join377
SELECT c5, x3, c6+765, x1, a9+d3, c4, x2, a7*520+a5
  FROM t9, t6, t7, t3, t4, t2, t5, t1
 WHERE b4 in (721,589,826)
   AND 854=e9
   AND d6 in (473,337,590,197)
   AND 812=b2
   AND a3 in (720,34,429,335,615,644)
   AND e7 in (201,562,455)
   AND c5 in (130,579,672,797,514,734)
   AND 584=a1

query ITITIITI rowsort join377
SELECT c5, x3, c6+765, x1, a9+d3, c4, x2, a7*520+a5
  FROM t6, t4, t9, t5, t3, t7, t1, t2
 WHERE b4 in (721,589,826)
   AND 812=b2
   AND d6 in (473,337,590,197)
   AND e7 in (201,562,455)
   AND 854=e9
   AND c5 in (130,579,672,797,514,734)
   AND a3 in (720,34,429,335,615,644)
   AND 584=a1

query II rowsort join378
SELECT d7, c5
  FROM t5, t7
 WHERE (e7=455 OR 561=e7 OR e7=89)
   AND 348=c5

query II rowsort join378
SELECT d7, c5
  FROM t7, t5
 WHERE (e7=455 OR 561=e7 OR e7=89)
   AND 348=c5

query IIII rowsort join379
SELECT e8+967+b4, b4, a6+767, c9+d8
  FROM t9, t6, t4, t8
 WHERE a9=776
   AND e8 in (586,377,792,548)
   AND d6 in (192,185,581,223)
   AND b4 in (260,243,749,331,107,267,653)

query IIII rowsort join379
SELECT e8+967+b4, b4, a6+767, c9+d8
  FROM t4, t8, t9, t6
 WHERE a9=776
   AND e8 in (586,377,792,548)
   AND b4 in (260,243,749,331,107,267,653)
   AND d6 in (192,185,581,223)

query IIII rowsort join379
SELECT e8+967+b4, b4, a6+767, c9+d8
  FROM t6, t4, t9, t8
 WHERE e8 in (586,377,792,548)
   AND a9=776
   AND b4 in (260,243,749,331,107,267,653)
   AND d6 in (192,185,581,223)

query IIII rowsort join379
SELECT e8+967+b4, b4, a6+767, c9+d8
  FROM t4, t6, t8, t9
 WHERE e8 in (586,377,792,548)
   AND a9=776
   AND d6 in (192,185,581,223)
   AND b4 in (260,243,749,331,107,267,653)

query II rowsort join380
SELECT e1, d6+d1
  FROM t1, t6
 WHERE (145=a1 OR a1=895 OR a1=460)
   AND d6=321

query II rowsort join380
SELECT e1, d6+d1
  FROM t6, t1
 WHERE (145=a1 OR a1=895 OR a1=460)
   AND d6=321

query II rowsort join380
SELECT e1, d6+d1
  FROM t6, t1
 WHERE d6=321
   AND (145=a1 OR a1=895 OR a1=460)

query II rowsort join380
SELECT e1, d6+d1
  FROM t1, t6
 WHERE d6=321
   AND (145=a1 OR a1=895 OR a1=460)

query TIIIII rowsort join381
SELECT x5, a1+845+a7, e7, c9*609, d4+c4, c6
  FROM t6, t5, t7, t4, t9, t1
 WHERE e7=67
   AND a9 in (251,830,335,553,28,891,815)
   AND a1=a6
   AND c5 in (625,12,443,915,723,485,628,196)
   AND d6=161
   AND b4=917

query TIIIII rowsort join381
SELECT x5, a1+845+a7, e7, c9*609, d4+c4, c6
  FROM t1, t4, t5, t7, t9, t6
 WHERE e7=67
   AND b4=917
   AND c5 in (625,12,443,915,723,485,628,196)
   AND a1=a6
   AND a9 in (251,830,335,553,28,891,815)
   AND d6=161

query TIIIII rowsort join381
SELECT x5, a1+845+a7, e7, c9*609, d4+c4, c6
  FROM t6, t7, t4, t5, t9, t1
 WHERE a1=a6
   AND a9 in (251,830,335,553,28,891,815)
   AND d6=161
   AND e7=67
   AND b4=917
   AND c5 in (625,12,443,915,723,485,628,196)

query TIIIII rowsort join381
SELECT x5, a1+845+a7, e7, c9*609, d4+c4, c6
  FROM t7, t9, t6, t5, t1, t4
 WHERE b4=917
   AND d6=161
   AND a1=a6
   AND a9 in (251,830,335,553,28,891,815)
   AND e7=67
   AND c5 in (625,12,443,915,723,485,628,196)

query IIII rowsort join382
SELECT c6+803+d4, b8+166, d4, c7+438
  FROM t8, t4, t6, t7
 WHERE e8=381
   AND (185=d6 OR d6=846 OR 647=d6)
   AND b4 in (810,707,860,749)
   AND 884=e7

query IIII rowsort join382
SELECT c6+803+d4, b8+166, d4, c7+438
  FROM t7, t6, t4, t8
 WHERE (185=d6 OR d6=846 OR 647=d6)
   AND b4 in (810,707,860,749)
   AND 884=e7
   AND e8=381

query IIII rowsort join382
SELECT c6+803+d4, b8+166, d4, c7+438
  FROM t8, t4, t7, t6
 WHERE (185=d6 OR d6=846 OR 647=d6)
   AND e8=381
   AND b4 in (810,707,860,749)
   AND 884=e7

query IIII rowsort join382
SELECT c6+803+d4, b8+166, d4, c7+438
  FROM t4, t8, t6, t7
 WHERE 884=e7
   AND (185=d6 OR d6=846 OR 647=d6)
   AND e8=381
   AND b4 in (810,707,860,749)

query III rowsort join383
SELECT b5+d5, a4, a8
  FROM t4, t8, t5
 WHERE c5=299
   AND 608=b4
   AND e8 in (56,586,881)

query III rowsort join383
SELECT b5+d5, a4, a8
  FROM t8, t5, t4
 WHERE 608=b4
   AND e8 in (56,586,881)
   AND c5=299

query III rowsort join383
SELECT b5+d5, a4, a8
  FROM t5, t8, t4
 WHERE c5=299
   AND e8 in (56,586,881)
   AND 608=b4

query III rowsort join383
SELECT b5+d5, a4, a8
  FROM t5, t4, t8
 WHERE 608=b4
   AND e8 in (56,586,881)
   AND c5=299

query ITIT rowsort join384
SELECT a5, x1, d9*807, x2
  FROM t1, t5, t9, t2
 WHERE 746=b9
   AND a1=161
   AND 241=d2
   AND c5=485

query ITIT rowsort join384
SELECT a5, x1, d9*807, x2
  FROM t9, t1, t5, t2
 WHERE c5=485
   AND 746=b9
   AND 241=d2
   AND a1=161

query ITIT rowsort join384
SELECT a5, x1, d9*807, x2
  FROM t1, t2, t5, t9
 WHERE a1=161
   AND 746=b9
   AND c5=485
   AND 241=d2

query ITIT rowsort join384
SELECT a5, x1, d9*807, x2
  FROM t2, t1, t5, t9
 WHERE a1=161
   AND 241=d2
   AND 746=b9
   AND c5=485

query TI rowsort join385
SELECT x1, c9+b1
  FROM t1, t9
 WHERE e9 in (968,195,801,944,245)
   AND 746=a1

query TI rowsort join385
SELECT x1, c9+b1
  FROM t9, t1
 WHERE e9 in (968,195,801,944,245)
   AND 746=a1

query IIII rowsort join386
SELECT b9, c2, c1+43, a4+b1
  FROM t1, t2, t9, t4
 WHERE 591=a1
   AND d9 in (226,388,665,420)
   AND 332=d2
   AND 23=b4

query IIII rowsort join386
SELECT b9, c2, c1+43, a4+b1
  FROM t9, t2, t4, t1
 WHERE 23=b4
   AND 591=a1
   AND 332=d2
   AND d9 in (226,388,665,420)

query IIII rowsort join386
SELECT b9, c2, c1+43, a4+b1
  FROM t4, t9, t2, t1
 WHERE 332=d2
   AND d9 in (226,388,665,420)
   AND 23=b4
   AND 591=a1

query IIII rowsort join386
SELECT b9, c2, c1+43, a4+b1
  FROM t4, t2, t9, t1
 WHERE 332=d2
   AND d9 in (226,388,665,420)
   AND 591=a1
   AND 23=b4

query IIT rowsort join387
SELECT e7, b5, x8
  FROM t8, t7, t5
 WHERE (c5=734 OR c5=657)
   AND e8=b5
   AND e7=688

query IIT rowsort join387
SELECT e7, b5, x8
  FROM t5, t7, t8
 WHERE e7=688
   AND e8=b5
   AND (c5=734 OR c5=657)

query IIT rowsort join387
SELECT e7, b5, x8
  FROM t7, t5, t8
 WHERE e8=b5
   AND e7=688
   AND (c5=734 OR c5=657)

query IITIII rowsort join388
SELECT b9*320, b8, x5, e7, c3+758, b1
  FROM t8, t7, t5, t1, t3, t9
 WHERE a3 in (971,341,380,30,566,865,478)
   AND 241=a1
   AND e7 in (782,460,27,826)
   AND e8=a9
   AND c5 in (668,348,799,437,820,697,613)
   AND e9 in (858,146,788)

query IITIII rowsort join388
SELECT b9*320, b8, x5, e7, c3+758, b1
  FROM t9, t7, t1, t3, t5, t8
 WHERE a3 in (971,341,380,30,566,865,478)
   AND e9 in (858,146,788)
   AND e8=a9
   AND e7 in (782,460,27,826)
   AND c5 in (668,348,799,437,820,697,613)
   AND 241=a1

query IITIII rowsort join388
SELECT b9*320, b8, x5, e7, c3+758, b1
  FROM t1, t9, t5, t8, t7, t3
 WHERE a3 in (971,341,380,30,566,865,478)
   AND c5 in (668,348,799,437,820,697,613)
   AND 241=a1
   AND e8=a9
   AND e9 in (858,146,788)
   AND e7 in (782,460,27,826)

query IITIII rowsort join388
SELECT b9*320, b8, x5, e7, c3+758, b1
  FROM t1, t3, t5, t9, t7, t8
 WHERE a3 in (971,341,380,30,566,865,478)
   AND 241=a1
   AND e8=a9
   AND c5 in (668,348,799,437,820,697,613)
   AND e7 in (782,460,27,826)
   AND e9 in (858,146,788)

query II rowsort join389
SELECT c2, e3*855
  FROM t3, t2
 WHERE a3=135
   AND a2 in (457,315,760,505,936,35,651)

query II rowsort join389
SELECT c2, e3*855
  FROM t3, t2
 WHERE a2 in (457,315,760,505,936,35,651)
   AND a3=135

query II rowsort join389
SELECT c2, e3*855
  FROM t2, t3
 WHERE a2 in (457,315,760,505,936,35,651)
   AND a3=135

query II rowsort join390
SELECT b8+b8, d4
  FROM t8, t4
 WHERE e8=463
   AND 802=b4

query II rowsort join390
SELECT b8+b8, d4
  FROM t4, t8
 WHERE 802=b4
   AND e8=463

query II rowsort join390
SELECT b8+b8, d4
  FROM t4, t8
 WHERE e8=463
   AND 802=b4

query II rowsort join390
SELECT b8+b8, d4
  FROM t8, t4
 WHERE 802=b4
   AND e8=463

query IIIT rowsort join391
SELECT d8, d7, a4+b4, x2
  FROM t2, t4, t7, t8
 WHERE b2 in (353,228,632,264,177)
   AND 782=e7
   AND e8=942
   AND 261=b4

query IIIT rowsort join391
SELECT d8, d7, a4+b4, x2
  FROM t2, t8, t4, t7
 WHERE b2 in (353,228,632,264,177)
   AND 261=b4
   AND e8=942
   AND 782=e7

query IIIT rowsort join391
SELECT d8, d7, a4+b4, x2
  FROM t8, t7, t2, t4
 WHERE 782=e7
   AND e8=942
   AND 261=b4
   AND b2 in (353,228,632,264,177)

query IIIT rowsort join391
SELECT d8, d7, a4+b4, x2
  FROM t4, t2, t7, t8
 WHERE e8=942
   AND 782=e7
   AND 261=b4
   AND b2 in (353,228,632,264,177)

query TII rowsort join392
SELECT x5, a8, b4*473
  FROM t8, t5, t4
 WHERE e8=41
   AND 147=c5
   AND b4 in (387,271,33,608,40)

query TII rowsort join392
SELECT x5, a8, b4*473
  FROM t8, t4, t5
 WHERE b4 in (387,271,33,608,40)
   AND e8=41
   AND 147=c5

query TII rowsort join392
SELECT x5, a8, b4*473
  FROM t5, t8, t4
 WHERE b4 in (387,271,33,608,40)
   AND e8=41
   AND 147=c5

query TII rowsort join392
SELECT x5, a8, b4*473
  FROM t8, t5, t4
 WHERE b4 in (387,271,33,608,40)
   AND e8=41
   AND 147=c5

query TIII rowsort join393
SELECT x2, e7+896, b4, a1+359
  FROM t4, t1, t2, t7
 WHERE c2=251
   AND 395=a1
   AND b4=e1
   AND e7=971

query TIII rowsort join393
SELECT x2, e7+896, b4, a1+359
  FROM t7, t4, t2, t1
 WHERE b4=e1
   AND e7=971
   AND 395=a1
   AND c2=251

query TIII rowsort join393
SELECT x2, e7+896, b4, a1+359
  FROM t2, t4, t1, t7
 WHERE 395=a1
   AND e7=971
   AND b4=e1
   AND c2=251

query TIII rowsort join393
SELECT x2, e7+896, b4, a1+359
  FROM t2, t4, t1, t7
 WHERE b4=e1
   AND 395=a1
   AND e7=971
   AND c2=251

query TIIIIT rowsort join394
SELECT x9, a7*433+d3, d2+b2, e8+a7, d3*596, x6
  FROM t8, t6, t3, t9, t2, t7
 WHERE c9=639
   AND d2 in (813,8,873,416)
   AND (455=e8 OR 411=e8 OR e8=533)
   AND 637=a3
   AND d6=493
   AND (e7=89 OR e7=587 OR e7=282)

query TIIIIT rowsort join394
SELECT x9, a7*433+d3, d2+b2, e8+a7, d3*596, x6
  FROM t7, t8, t6, t9, t3, t2
 WHERE c9=639
   AND 637=a3
   AND d6=493
   AND (455=e8 OR 411=e8 OR e8=533)
   AND (e7=89 OR e7=587 OR e7=282)
   AND d2 in (813,8,873,416)

query TIIIIT rowsort join394
SELECT x9, a7*433+d3, d2+b2, e8+a7, d3*596, x6
  FROM t3, t2, t6, t7, t8, t9
 WHERE 637=a3
   AND (455=e8 OR 411=e8 OR e8=533)
   AND c9=639
   AND d6=493
   AND (e7=89 OR e7=587 OR e7=282)
   AND d2 in (813,8,873,416)

query TIIIIT rowsort join394
SELECT x9, a7*433+d3, d2+b2, e8+a7, d3*596, x6
  FROM t9, t3, t2, t6, t8, t7
 WHERE d6=493
   AND 637=a3
   AND (e7=89 OR e7=587 OR e7=282)
   AND d2 in (813,8,873,416)
   AND (455=e8 OR 411=e8 OR e8=533)
   AND c9=639

query III rowsort join395
SELECT d7+808, c8*220, c5
  FROM t8, t5, t7
 WHERE c5 in (809,721,31,489,56,601,924,625)
   AND e7=624
   AND (e8=106 OR e8=497 OR e8=811 OR e8=7)

query III rowsort join395
SELECT d7+808, c8*220, c5
  FROM t5, t7, t8
 WHERE (e8=106 OR e8=497 OR e8=811 OR e8=7)
   AND c5 in (809,721,31,489,56,601,924,625)
   AND e7=624

query III rowsort join395
SELECT d7+808, c8*220, c5
  FROM t5, t7, t8
 WHERE c5 in (809,721,31,489,56,601,924,625)
   AND e7=624
   AND (e8=106 OR e8=497 OR e8=811 OR e8=7)

query III rowsort join395
SELECT d7+808, c8*220, c5
  FROM t8, t5, t7
 WHERE e7=624
   AND c5 in (809,721,31,489,56,601,924,625)
   AND (e8=106 OR e8=497 OR e8=811 OR e8=7)

query IIIIIII rowsort join396
SELECT c3+c7, e7+307, e6, d4+700+a8, b8+454, d5+733, a2
  FROM t6, t5, t4, t3, t7, t2, t8
 WHERE c2 in (988,244,24,819,251,83,450,575)
   AND e8 in (512,56,548,179,617,806)
   AND (553=e7 OR 156=e7 OR e7=201 OR e7=971)
   AND d6=469
   AND b4 in (137,323,901,76)
   AND 162=a3
   AND c5 in (579,18,734,437)

query IIIIIII rowsort join396
SELECT c3+c7, e7+307, e6, d4+700+a8, b8+454, d5+733, a2
  FROM t6, t8, t2, t5, t3, t7, t4
 WHERE 162=a3
   AND b4 in (137,323,901,76)
   AND d6=469
   AND c2 in (988,244,24,819,251,83,450,575)
   AND e8 in (512,56,548,179,617,806)
   AND (553=e7 OR 156=e7 OR e7=201 OR e7=971)
   AND c5 in (579,18,734,437)

query IIIIIII rowsort join396
SELECT c3+c7, e7+307, e6, d4+700+a8, b8+454, d5+733, a2
  FROM t2, t4, t6, t7, t3, t8, t5
 WHERE 162=a3
   AND e8 in (512,56,548,179,617,806)
   AND c2 in (988,244,24,819,251,83,450,575)
   AND b4 in (137,323,901,76)
   AND c5 in (579,18,734,437)
   AND d6=469
   AND (553=e7 OR 156=e7 OR e7=201 OR e7=971)

query IIIIIII rowsort join396
SELECT c3+c7, e7+307, e6, d4+700+a8, b8+454, d5+733, a2
  FROM t7, t5, t8, t2, t3, t6, t4
 WHERE b4 in (137,323,901,76)
   AND c2 in (988,244,24,819,251,83,450,575)
   AND c5 in (579,18,734,437)
   AND (553=e7 OR 156=e7 OR e7=201 OR e7=971)
   AND e8 in (512,56,548,179,617,806)
   AND 162=a3
   AND d6=469

query IIIIT rowsort join397
SELECT c9+478, a8+620, c1, b3, x5
  FROM t8, t9, t5, t3, t1
 WHERE e8 in (510,381,463,874,893)
   AND (d9=922 OR d9=795)
   AND c5 in (579,825,989,441)
   AND a3=378
   AND 996=a1

query IIIIT rowsort join397
SELECT c9+478, a8+620, c1, b3, x5
  FROM t5, t9, t8, t1, t3
 WHERE a3=378
   AND e8 in (510,381,463,874,893)
   AND 996=a1
   AND (d9=922 OR d9=795)
   AND c5 in (579,825,989,441)

query IIIIT rowsort join397
SELECT c9+478, a8+620, c1, b3, x5
  FROM t1, t9, t5, t3, t8
 WHERE c5 in (579,825,989,441)
   AND (d9=922 OR d9=795)
   AND a3=378
   AND 996=a1
   AND e8 in (510,381,463,874,893)

query IIIIT rowsort join397
SELECT c9+478, a8+620, c1, b3, x5
  FROM t5, t8, t1, t3, t9
 WHERE (d9=922 OR d9=795)
   AND c5 in (579,825,989,441)
   AND a3=378
   AND 996=a1
   AND e8 in (510,381,463,874,893)

query TI rowsort join398
SELECT x3, b9
  FROM t3, t9
 WHERE e9 in (619,383,291,452,197,704,230,368)
   AND a3 in (184,997,41,549)

query TI rowsort join398
SELECT x3, b9
  FROM t9, t3
 WHERE e9 in (619,383,291,452,197,704,230,368)
   AND a3 in (184,997,41,549)

query TI rowsort join398
SELECT x3, b9
  FROM t3, t9
 WHERE a3 in (184,997,41,549)
   AND e9 in (619,383,291,452,197,704,230,368)

query III rowsort join399
SELECT b2*965, d5+d2, c4+883
  FROM t4, t2, t5
 WHERE 12=c5
   AND b4=884
   AND d2 in (345,209,498,306,404)

query III rowsort join399
SELECT b2*965, d5+d2, c4+883
  FROM t4, t5, t2
 WHERE 12=c5
   AND d2 in (345,209,498,306,404)
   AND b4=884

query III rowsort join399
SELECT b2*965, d5+d2, c4+883
  FROM t5, t2, t4
 WHERE d2 in (345,209,498,306,404)
   AND b4=884
   AND 12=c5

query III rowsort join399
SELECT b2*965, d5+d2, c4+883
  FROM t4, t2, t5
 WHERE b4=884
   AND 12=c5
   AND d2 in (345,209,498,306,404)

query III rowsort join400
SELECT d8, c1+d1, e7
  FROM t8, t7, t1
 WHERE a1=637
   AND 455=e7
   AND e8 in (296,510,792,579,980,199,310)

query III rowsort join400
SELECT d8, c1+d1, e7
  FROM t8, t1, t7
 WHERE e8 in (296,510,792,579,980,199,310)
   AND 455=e7
   AND a1=637

query III rowsort join400
SELECT d8, c1+d1, e7
  FROM t7, t1, t8
 WHERE 455=e7
   AND a1=637
   AND e8 in (296,510,792,579,980,199,310)

query III rowsort join400
SELECT d8, c1+d1, e7
  FROM t8, t1, t7
 WHERE a1=637
   AND 455=e7
   AND e8 in (296,510,792,579,980,199,310)

query IIIIT rowsort join401
SELECT d8+b4, b4+353, a9, b3, x1
  FROM t1, t4, t9, t8, t3
 WHERE b9 in (821,13,262,858)
   AND b4 in (402,2,538,721,407,749,849,678)
   AND a1=d9
   AND a3 in (959,70,611,41,591)
   AND e8 in (223,864,635)

query IIIIT rowsort join401
SELECT d8+b4, b4+353, a9, b3, x1
  FROM t4, t1, t8, t9, t3
 WHERE e8 in (223,864,635)
   AND a3 in (959,70,611,41,591)
   AND a1=d9
   AND b4 in (402,2,538,721,407,749,849,678)
   AND b9 in (821,13,262,858)

query IIIIT rowsort join401
SELECT d8+b4, b4+353, a9, b3, x1
  FROM t3, t8, t9, t1, t4
 WHERE b4 in (402,2,538,721,407,749,849,678)
   AND a1=d9
   AND e8 in (223,864,635)
   AND b9 in (821,13,262,858)
   AND a3 in (959,70,611,41,591)

query IIIIT rowsort join401
SELECT d8+b4, b4+353, a9, b3, x1
  FROM t1, t9, t8, t4, t3
 WHERE e8 in (223,864,635)
   AND b9 in (821,13,262,858)
   AND a3 in (959,70,611,41,591)
   AND b4 in (402,2,538,721,407,749,849,678)
   AND a1=d9

query II rowsort join402
SELECT a4, e7
  FROM t7, t4
 WHERE e7 in (587,462,422,356)
   AND b4 in (357,295,261,442)

query II rowsort join402
SELECT a4, e7
  FROM t4, t7
 WHERE b4 in (357,295,261,442)
   AND e7 in (587,462,422,356)

query II rowsort join402
SELECT a4, e7
  FROM t7, t4
 WHERE b4 in (357,295,261,442)
   AND e7 in (587,462,422,356)

query III rowsort join403
SELECT d3+d3, a4+990, e7+833
  FROM t7, t3, t4
 WHERE b4 in (721,826,407,634,589,644)
   AND a3=608
   AND 122=e7

query III rowsort join403
SELECT d3+d3, a4+990, e7+833
  FROM t7, t4, t3
 WHERE b4 in (721,826,407,634,589,644)
   AND 122=e7
   AND a3=608

query III rowsort join403
SELECT d3+d3, a4+990, e7+833
  FROM t7, t4, t3
 WHERE a3=608
   AND 122=e7
   AND b4 in (721,826,407,634,589,644)

query III rowsort join403
SELECT d3+d3, a4+990, e7+833
  FROM t3, t7, t4
 WHERE b4 in (721,826,407,634,589,644)
   AND a3=608
   AND 122=e7

query IIIIII rowsort join404
SELECT b7*604, d5*955, a8+60, e3+359, a9*588, e4*964
  FROM t5, t4, t7, t8, t9, t3
 WHERE e8 in (310,510,846,423,242,792)
   AND (697=a3 OR 386=a3 OR 296=a3)
   AND e9 in (255,942,15,788,987,263,218,723)
   AND 291=e7
   AND b4 in (68,634,924,644)
   AND c5=602

query IIIIII rowsort join404
SELECT b7*604, d5*955, a8+60, e3+359, a9*588, e4*964
  FROM t9, t7, t4, t5, t8, t3
 WHERE (697=a3 OR 386=a3 OR 296=a3)
   AND e9 in (255,942,15,788,987,263,218,723)
   AND 291=e7
   AND b4 in (68,634,924,644)
   AND e8 in (310,510,846,423,242,792)
   AND c5=602

query IIIIII rowsort join404
SELECT b7*604, d5*955, a8+60, e3+359, a9*588, e4*964
  FROM t8, t5, t4, t3, t7, t9
 WHERE (697=a3 OR 386=a3 OR 296=a3)
   AND 291=e7
   AND e8 in (310,510,846,423,242,792)
   AND b4 in (68,634,924,644)
   AND e9 in (255,942,15,788,987,263,218,723)
   AND c5=602

query IIIIII rowsort join404
SELECT b7*604, d5*955, a8+60, e3+359, a9*588, e4*964
  FROM t9, t7, t8, t5, t3, t4
 WHERE e8 in (310,510,846,423,242,792)
   AND 291=e7
   AND e9 in (255,942,15,788,987,263,218,723)
   AND (697=a3 OR 386=a3 OR 296=a3)
   AND c5=602
   AND b4 in (68,634,924,644)

query ITII rowsort join405
SELECT d1, x9, b6, b7+b9
  FROM t7, t1, t9, t6
 WHERE d6 in (269,192,337,974)
   AND (c9=370 OR c9=171 OR 39=c9)
   AND 179=a1
   AND e7 in (6,168,290,663,929,782,428)

query ITII rowsort join405
SELECT d1, x9, b6, b7+b9
  FROM t1, t6, t7, t9
 WHERE e7 in (6,168,290,663,929,782,428)
   AND (c9=370 OR c9=171 OR 39=c9)
   AND 179=a1
   AND d6 in (269,192,337,974)

query ITII rowsort join405
SELECT d1, x9, b6, b7+b9
  FROM t9, t6, t1, t7
 WHERE e7 in (6,168,290,663,929,782,428)
   AND (c9=370 OR c9=171 OR 39=c9)
   AND 179=a1
   AND d6 in (269,192,337,974)

query ITII rowsort join405
SELECT d1, x9, b6, b7+b9
  FROM t7, t1, t6, t9
 WHERE (c9=370 OR c9=171 OR 39=c9)
   AND e7 in (6,168,290,663,929,782,428)
   AND 179=a1
   AND d6 in (269,192,337,974)

query IIIIITI rowsort join406
SELECT d6, c7+c3, b9+a4, e1+748, e3+d3, x4, a8+b6
  FROM t7, t4, t8, t3, t1, t9, t6
 WHERE b4 in (660,634,708,938,748,607,892,167)
   AND d6 in (428,846,929,901,185,647)
   AND e7=e6
   AND a9=335
   AND a1 in (267,702,231,338)
   AND a3 in (591,181,515,560,559,532,935,376)
   AND e8 in (919,381,416,776,421,442,881,548)

query IIIIITI rowsort join406
SELECT d6, c7+c3, b9+a4, e1+748, e3+d3, x4, a8+b6
  FROM t4, t6, t9, t3, t1, t7, t8
 WHERE b4 in (660,634,708,938,748,607,892,167)
   AND a9=335
   AND a1 in (267,702,231,338)
   AND a3 in (591,181,515,560,559,532,935,376)
   AND e7=e6
   AND d6 in (428,846,929,901,185,647)
   AND e8 in (919,381,416,776,421,442,881,548)

query IIIIITI rowsort join406
SELECT d6, c7+c3, b9+a4, e1+748, e3+d3, x4, a8+b6
  FROM t4, t7, t1, t6, t9, t8, t3
 WHERE a9=335
   AND b4 in (660,634,708,938,748,607,892,167)
   AND e8 in (919,381,416,776,421,442,881,548)
   AND d6 in (428,846,929,901,185,647)
   AND e7=e6
   AND a3 in (591,181,515,560,559,532,935,376)
   AND a1 in (267,702,231,338)

query IIIIITI rowsort join406
SELECT d6, c7+c3, b9+a4, e1+748, e3+d3, x4, a8+b6
  FROM t9, t1, t7, t6, t3, t8, t4
 WHERE a3 in (591,181,515,560,559,532,935,376)
   AND d6 in (428,846,929,901,185,647)
   AND a9=335
   AND e8 in (919,381,416,776,421,442,881,548)
   AND e7=e6
   AND b4 in (660,634,708,938,748,607,892,167)
   AND a1 in (267,702,231,338)

query TII rowsort join407
SELECT x2, d8+d2, d3
  FROM t3, t2, t8
 WHERE 457=a3
   AND 632=b2
   AND e8=46

query TII rowsort join407
SELECT x2, d8+d2, d3
  FROM t2, t3, t8
 WHERE 632=b2
   AND 457=a3
   AND e8=46

query TII rowsort join407
SELECT x2, d8+d2, d3
  FROM t3, t8, t2
 WHERE e8=46
   AND 457=a3
   AND 632=b2

query TII rowsort join407
SELECT x2, d8+d2, d3
  FROM t8, t2, t3
 WHERE 632=b2
   AND e8=46
   AND 457=a3

query IIT rowsort join408
SELECT a5, d8+463+d5, x4
  FROM t5, t4, t8
 WHERE 2=b4
   AND (e8=881 OR e8=476)
   AND c5=818

query IIT rowsort join408
SELECT a5, d8+463+d5, x4
  FROM t4, t8, t5
 WHERE 2=b4
   AND (e8=881 OR e8=476)
   AND c5=818

query IIT rowsort join408
SELECT a5, d8+463+d5, x4
  FROM t4, t5, t8
 WHERE c5=818
   AND (e8=881 OR e8=476)
   AND 2=b4

query IIT rowsort join408
SELECT a5, d8+463+d5, x4
  FROM t8, t5, t4
 WHERE 2=b4
   AND (e8=881 OR e8=476)
   AND c5=818

query TII rowsort join409
SELECT x5, a3, a9+945
  FROM t3, t5, t9
 WHERE 549=a3
   AND e9 in (291,245,619,383,737,230,968,267)
   AND c5 in (31,149,18,634)

query TII rowsort join409
SELECT x5, a3, a9+945
  FROM t9, t3, t5
 WHERE c5 in (31,149,18,634)
   AND e9 in (291,245,619,383,737,230,968,267)
   AND 549=a3

query TII rowsort join409
SELECT x5, a3, a9+945
  FROM t5, t9, t3
 WHERE e9 in (291,245,619,383,737,230,968,267)
   AND c5 in (31,149,18,634)
   AND 549=a3

query TII rowsort join409
SELECT x5, a3, a9+945
  FROM t3, t9, t5
 WHERE e9 in (291,245,619,383,737,230,968,267)
   AND c5 in (31,149,18,634)
   AND 549=a3

query IITI rowsort join410
SELECT d4+a3, c1+833+d1, x3, e7+594
  FROM t3, t1, t4, t7
 WHERE e7=462
   AND b4 in (966,288,357,941,635,849,921,816)
   AND 186=a3
   AND 931=a1

query IITI rowsort join410
SELECT d4+a3, c1+833+d1, x3, e7+594
  FROM t4, t3, t1, t7
 WHERE b4 in (966,288,357,941,635,849,921,816)
   AND 186=a3
   AND e7=462
   AND 931=a1

query IITI rowsort join410
SELECT d4+a3, c1+833+d1, x3, e7+594
  FROM t7, t1, t4, t3
 WHERE 186=a3
   AND 931=a1
   AND e7=462
   AND b4 in (966,288,357,941,635,849,921,816)

query IITI rowsort join410
SELECT d4+a3, c1+833+d1, x3, e7+594
  FROM t4, t7, t1, t3
 WHERE 186=a3
   AND 931=a1
   AND b4 in (966,288,357,941,635,849,921,816)
   AND e7=462

query III rowsort join411
SELECT a5, a9, e4+e9
  FROM t9, t5, t4
 WHERE e9 in (968,804,251,873,936,452,837)
   AND c5=729
   AND (319=b4 OR 563=b4 OR 579=b4)

query III rowsort join411
SELECT a5, a9, e4+e9
  FROM t9, t4, t5
 WHERE (319=b4 OR 563=b4 OR 579=b4)
   AND e9 in (968,804,251,873,936,452,837)
   AND c5=729

query III rowsort join411
SELECT a5, a9, e4+e9
  FROM t5, t9, t4
 WHERE c5=729
   AND (319=b4 OR 563=b4 OR 579=b4)
   AND e9 in (968,804,251,873,936,452,837)

query III rowsort join411
SELECT a5, a9, e4+e9
  FROM t9, t5, t4
 WHERE e9 in (968,804,251,873,936,452,837)
   AND (319=b4 OR 563=b4 OR 579=b4)
   AND c5=729

query TTIIIITI rowsort join412
SELECT x7, x8, c2*737+a9, b3+c3, a4, a9*262, x1, c5
  FROM t1, t4, t9, t3, t7, t5, t2, t8
 WHERE 947=a3
   AND a1=23
   AND e8 in (273,947,533,512,242)
   AND e7 in (92,103,282,7,988,372,970)
   AND a2=d7
   AND c5 in (734,27,774,12)
   AND b4 in (884,634,979,635)
   AND c9 in (87,60,992,935)

query TTIIIITI rowsort join412
SELECT x7, x8, c2*737+a9, b3+c3, a4, a9*262, x1, c5
  FROM t1, t8, t3, t4, t2, t9, t7, t5
 WHERE e8 in (273,947,533,512,242)
   AND b4 in (884,634,979,635)
   AND a2=d7
   AND 947=a3
   AND a1=23
   AND c9 in (87,60,992,935)
   AND e7 in (92,103,282,7,988,372,970)
   AND c5 in (734,27,774,12)

query TTIIIITI rowsort join412
SELECT x7, x8, c2*737+a9, b3+c3, a4, a9*262, x1, c5
  FROM t8, t4, t3, t9, t5, t1, t7, t2
 WHERE b4 in (884,634,979,635)
   AND e7 in (92,103,282,7,988,372,970)
   AND e8 in (273,947,533,512,242)
   AND a2=d7
   AND c9 in (87,60,992,935)
   AND 947=a3
   AND a1=23
   AND c5 in (734,27,774,12)

query TTIIIITI rowsort join412
SELECT x7, x8, c2*737+a9, b3+c3, a4, a9*262, x1, c5
  FROM t9, t3, t5, t4, t2, t7, t8, t1
 WHERE a2=d7
   AND c9 in (87,60,992,935)
   AND b4 in (884,634,979,635)
   AND c5 in (734,27,774,12)
   AND 947=a3
   AND a1=23
   AND e7 in (92,103,282,7,988,372,970)
   AND e8 in (273,947,533,512,242)

query TT rowsort join413
SELECT x9, x1
  FROM t1, t9
 WHERE 919=a9
   AND a1 in (746,707,280,338,324)

query TT rowsort join413
SELECT x9, x1
  FROM t9, t1
 WHERE 919=a9
   AND a1 in (746,707,280,338,324)

query IIITIT rowsort join414
SELECT e8+518+c1, a5+902, b4+b8, x1, c6*290+c4, x3
  FROM t6, t3, t1, t4, t8, t5
 WHERE e8=e1
   AND (696=a3 OR 275=a3)
   AND d6 in (822,223,469,36,750,185,667)
   AND a1 in (776,61,821,477,864,538,337)
   AND b4=139
   AND 797=c5

query IIITIT rowsort join414
SELECT e8+518+c1, a5+902, b4+b8, x1, c6*290+c4, x3
  FROM t1, t8, t4, t5, t6, t3
 WHERE 797=c5
   AND b4=139
   AND e8=e1
   AND a1 in (776,61,821,477,864,538,337)
   AND (696=a3 OR 275=a3)
   AND d6 in (822,223,469,36,750,185,667)

query IIITIT rowsort join414
SELECT e8+518+c1, a5+902, b4+b8, x1, c6*290+c4, x3
  FROM t8, t4, t3, t5, t1, t6
 WHERE a1 in (776,61,821,477,864,538,337)
   AND d6 in (822,223,469,36,750,185,667)
   AND b4=139
   AND (696=a3 OR 275=a3)
   AND 797=c5
   AND e8=e1

query IIITIT rowsort join414
SELECT e8+518+c1, a5+902, b4+b8, x1, c6*290+c4, x3
  FROM t8, t5, t4, t1, t6, t3
 WHERE b4=139
   AND e8=e1
   AND (696=a3 OR 275=a3)
   AND a1 in (776,61,821,477,864,538,337)
   AND d6 in (822,223,469,36,750,185,667)
   AND 797=c5

query II rowsort join415
SELECT c6*425+a6, a8
  FROM t8, t6
 WHERE 533=e8
   AND d6=974

query II rowsort join415
SELECT c6*425+a6, a8
  FROM t6, t8
 WHERE d6=974
   AND 533=e8

query II rowsort join415
SELECT c6*425+a6, a8
  FROM t8, t6
 WHERE d6=974
   AND 533=e8

query II rowsort join416
SELECT b4, a9*580
  FROM t4, t9
 WHERE b4 in (68,607,884,606,810,627)
   AND (410=b9 OR b9=703)

query II rowsort join416
SELECT b4, a9*580
  FROM t9, t4
 WHERE (410=b9 OR b9=703)
   AND b4 in (68,607,884,606,810,627)

query II rowsort join416
SELECT b4, a9*580
  FROM t4, t9
 WHERE (410=b9 OR b9=703)
   AND b4 in (68,607,884,606,810,627)

query IITIT rowsort join417
SELECT c9+e6, d4, x6, e8+18, x7
  FROM t8, t4, t7, t6, t9
 WHERE e7=344
   AND e8 in (349,495,966,833,463,14)
   AND a9=240
   AND d6 in (458,147,469,867,974,367,256)
   AND 86=b4

query IITIT rowsort join417
SELECT c9+e6, d4, x6, e8+18, x7
  FROM t6, t4, t9, t7, t8
 WHERE e8 in (349,495,966,833,463,14)
   AND e7=344
   AND a9=240
   AND d6 in (458,147,469,867,974,367,256)
   AND 86=b4

query IITIT rowsort join417
SELECT c9+e6, d4, x6, e8+18, x7
  FROM t4, t8, t7, t9, t6
 WHERE d6 in (458,147,469,867,974,367,256)
   AND e8 in (349,495,966,833,463,14)
   AND a9=240
   AND e7=344
   AND 86=b4

query IITIT rowsort join417
SELECT c9+e6, d4, x6, e8+18, x7
  FROM t7, t9, t8, t6, t4
 WHERE 86=b4
   AND a9=240
   AND e7=344
   AND e8 in (349,495,966,833,463,14)
   AND d6 in (458,147,469,867,974,367,256)

query IIIIII rowsort join418
SELECT a8, d5, c3, d1+766, b4+b1, e9+450+d4
  FROM t9, t1, t5, t4, t8, t3
 WHERE c5 in (766,12,797)
   AND 784=b4
   AND a3 in (5,820,275,30,135,549)
   AND a1=b5
   AND e8 in (175,846,881)
   AND d9=912

query IIIIII rowsort join418
SELECT a8, d5, c3, d1+766, b4+b1, e9+450+d4
  FROM t1, t3, t5, t8, t4, t9
 WHERE c5 in (766,12,797)
   AND 784=b4
   AND e8 in (175,846,881)
   AND a1=b5
   AND d9=912
   AND a3 in (5,820,275,30,135,549)

query IIIIII rowsort join418
SELECT a8, d5, c3, d1+766, b4+b1, e9+450+d4
  FROM t8, t1, t5, t3, t9, t4
 WHERE e8 in (175,846,881)
   AND d9=912
   AND a1=b5
   AND a3 in (5,820,275,30,135,549)
   AND c5 in (766,12,797)
   AND 784=b4

query IIIIII rowsort join418
SELECT a8, d5, c3, d1+766, b4+b1, e9+450+d4
  FROM t5, t1, t9, t8, t3, t4
 WHERE e8 in (175,846,881)
   AND 784=b4
   AND d9=912
   AND a3 in (5,820,275,30,135,549)
   AND a1=b5
   AND c5 in (766,12,797)

query IIII rowsort join419
SELECT b7*279, c9, b3+577, e1+b3
  FROM t3, t9, t1, t7
 WHERE (841=e7 OR 7=e7)
   AND a3 in (743,892,959,710,971,478)
   AND d9 in (967,909,878)
   AND a1 in (779,678,674,853,591,829)

query IIII rowsort join419
SELECT b7*279, c9, b3+577, e1+b3
  FROM t7, t3, t1, t9
 WHERE a3 in (743,892,959,710,971,478)
   AND a1 in (779,678,674,853,591,829)
   AND d9 in (967,909,878)
   AND (841=e7 OR 7=e7)

query IIII rowsort join419
SELECT b7*279, c9, b3+577, e1+b3
  FROM t3, t9, t7, t1
 WHERE (841=e7 OR 7=e7)
   AND d9 in (967,909,878)
   AND a3 in (743,892,959,710,971,478)
   AND a1 in (779,678,674,853,591,829)

query IIII rowsort join419
SELECT b7*279, c9, b3+577, e1+b3
  FROM t3, t7, t9, t1
 WHERE (841=e7 OR 7=e7)
   AND a1 in (779,678,674,853,591,829)
   AND d9 in (967,909,878)
   AND a3 in (743,892,959,710,971,478)

query IITI rowsort join420
SELECT b6+b1, d1+88, x9, d7
  FROM t6, t7, t9, t1
 WHERE a1 in (754,283,363,880,963)
   AND d9 in (495,389,681,347,142,258)
   AND e7 in (462,887,301,860,988)
   AND d6=321

query IITI rowsort join420
SELECT b6+b1, d1+88, x9, d7
  FROM t6, t7, t9, t1
 WHERE e7 in (462,887,301,860,988)
   AND d9 in (495,389,681,347,142,258)
   AND d6=321
   AND a1 in (754,283,363,880,963)

query IITI rowsort join420
SELECT b6+b1, d1+88, x9, d7
  FROM t9, t7, t6, t1
 WHERE d6=321
   AND d9 in (495,389,681,347,142,258)
   AND a1 in (754,283,363,880,963)
   AND e7 in (462,887,301,860,988)

query IITI rowsort join420
SELECT b6+b1, d1+88, x9, d7
  FROM t1, t7, t9, t6
 WHERE d9 in (495,389,681,347,142,258)
   AND a1 in (754,283,363,880,963)
   AND e7 in (462,887,301,860,988)
   AND d6=321

query IITII rowsort join421
SELECT b9+b5, e1+344, x5, a6, a8
  FROM t5, t9, t8, t1, t6
 WHERE e8 in (431,806,186,423,874,533,422,833)
   AND a9=549
   AND 313=c5
   AND a1 in (314,371,776,678)
   AND d6=790

query IITII rowsort join421
SELECT b9+b5, e1+344, x5, a6, a8
  FROM t8, t5, t1, t9, t6
 WHERE e8 in (431,806,186,423,874,533,422,833)
   AND 313=c5
   AND a9=549
   AND d6=790
   AND a1 in (314,371,776,678)

query IITII rowsort join421
SELECT b9+b5, e1+344, x5, a6, a8
  FROM t9, t1, t6, t5, t8
 WHERE a9=549
   AND 313=c5
   AND d6=790
   AND e8 in (431,806,186,423,874,533,422,833)
   AND a1 in (314,371,776,678)

query IITII rowsort join421
SELECT b9+b5, e1+344, x5, a6, a8
  FROM t6, t8, t9, t5, t1
 WHERE e8 in (431,806,186,423,874,533,422,833)
   AND a1 in (314,371,776,678)
   AND d6=790
   AND 313=c5
   AND a9=549

query II rowsort join422
SELECT a6*97+a6, b8*274
  FROM t8, t6
 WHERE d6 in (277,129,151,901,974)
   AND (e8=874 OR e8=833)

query II rowsort join422
SELECT a6*97+a6, b8*274
  FROM t6, t8
 WHERE (e8=874 OR e8=833)
   AND d6 in (277,129,151,901,974)

query II rowsort join422
SELECT a6*97+a6, b8*274
  FROM t8, t6
 WHERE (e8=874 OR e8=833)
   AND d6 in (277,129,151,901,974)

query II rowsort join422
SELECT a6*97+a6, b8*274
  FROM t6, t8
 WHERE d6 in (277,129,151,901,974)
   AND (e8=874 OR e8=833)

query III rowsort join423
SELECT a5+402+a5, b8, b6
  FROM t5, t8, t6
 WHERE c5=729
   AND e8 in (736,487,233)
   AND d6 in (367,197,942,689,376,2)

query III rowsort join423
SELECT a5+402+a5, b8, b6
  FROM t8, t6, t5
 WHERE c5=729
   AND e8 in (736,487,233)
   AND d6 in (367,197,942,689,376,2)

query III rowsort join423
SELECT a5+402+a5, b8, b6
  FROM t8, t6, t5
 WHERE d6 in (367,197,942,689,376,2)
   AND e8 in (736,487,233)
   AND c5=729

query III rowsort join423
SELECT a5+402+a5, b8, b6
  FROM t6, t8, t5
 WHERE c5=729
   AND e8 in (736,487,233)
   AND d6 in (367,197,942,689,376,2)

query TI rowsort join424
SELECT x3, c4+e3
  FROM t4, t3
 WHERE a3 in (341,863,751,788,30,532)
   AND b4 in (434,847,267,372,810,408)

query TI rowsort join424
SELECT x3, c4+e3
  FROM t3, t4
 WHERE b4 in (434,847,267,372,810,408)
   AND a3 in (341,863,751,788,30,532)

query ITITITI rowsort join425
SELECT a6, x7, a4*223, x9, b1+681+d4, x5, a2*617
  FROM t4, t7, t6, t5, t2, t1, t9
 WHERE e7=d5
   AND b4 in (442,644,829,76,295,114)
   AND c5 in (936,18,923,12)
   AND d2=a9
   AND a1=622
   AND d6=885
   AND e9 in (383,987,801,694,218,860)

query ITITITI rowsort join425
SELECT a6, x7, a4*223, x9, b1+681+d4, x5, a2*617
  FROM t1, t7, t9, t2, t5, t6, t4
 WHERE e9 in (383,987,801,694,218,860)
   AND a1=622
   AND d2=a9
   AND b4 in (442,644,829,76,295,114)
   AND e7=d5
   AND d6=885
   AND c5 in (936,18,923,12)

query ITITITI rowsort join425
SELECT a6, x7, a4*223, x9, b1+681+d4, x5, a2*617
  FROM t5, t9, t6, t4, t2, t7, t1
 WHERE e9 in (383,987,801,694,218,860)
   AND a1=622
   AND c5 in (936,18,923,12)
   AND e7=d5
   AND d6=885
   AND b4 in (442,644,829,76,295,114)
   AND d2=a9

query ITITITI rowsort join425
SELECT a6, x7, a4*223, x9, b1+681+d4, x5, a2*617
  FROM t9, t5, t4, t6, t1, t7, t2
 WHERE a1=622
   AND c5 in (936,18,923,12)
   AND d6=885
   AND b4 in (442,644,829,76,295,114)
   AND d2=a9
   AND e9 in (383,987,801,694,218,860)
   AND e7=d5

query TII rowsort join426
SELECT x9, b1+e9, e5
  FROM t5, t9, t1
 WHERE (c5=599 OR 544=c5 OR c5=147 OR 293=c5)
   AND b9=912
   AND a1=c5

query TII rowsort join426
SELECT x9, b1+e9, e5
  FROM t5, t9, t1
 WHERE b9=912
   AND a1=c5
   AND (c5=599 OR 544=c5 OR c5=147 OR 293=c5)

query TII rowsort join426
SELECT x9, b1+e9, e5
  FROM t1, t5, t9
 WHERE b9=912
   AND (c5=599 OR 544=c5 OR c5=147 OR 293=c5)
   AND a1=c5

query TII rowsort join426
SELECT x9, b1+e9, e5
  FROM t1, t9, t5
 WHERE (c5=599 OR 544=c5 OR c5=147 OR 293=c5)
   AND b9=912
   AND a1=c5

query ITIII rowsort join427
SELECT a7*10+c8, x2, c8, d5+207, d6
  FROM t6, t2, t5, t7, t8
 WHERE e8 in (199,223,463,329,381,729)
   AND b2 in (888,8,846)
   AND d6=d2
   AND (c5=422 OR 299=c5 OR c5=681 OR c5=820)
   AND e7 in (356,408,27,48,979,79,156,39)

query ITIII rowsort join427
SELECT a7*10+c8, x2, c8, d5+207, d6
  FROM t2, t7, t8, t5, t6
 WHERE d6=d2
   AND e8 in (199,223,463,329,381,729)
   AND (c5=422 OR 299=c5 OR c5=681 OR c5=820)
   AND e7 in (356,408,27,48,979,79,156,39)
   AND b2 in (888,8,846)

query ITIII rowsort join427
SELECT a7*10+c8, x2, c8, d5+207, d6
  FROM t6, t5, t2, t7, t8
 WHERE e7 in (356,408,27,48,979,79,156,39)
   AND (c5=422 OR 299=c5 OR c5=681 OR c5=820)
   AND e8 in (199,223,463,329,381,729)
   AND b2 in (888,8,846)
   AND d6=d2

query ITIII rowsort join427
SELECT a7*10+c8, x2, c8, d5+207, d6
  FROM t6, t5, t7, t8, t2
 WHERE e8 in (199,223,463,329,381,729)
   AND b2 in (888,8,846)
   AND d6=d2
   AND e7 in (356,408,27,48,979,79,156,39)
   AND (c5=422 OR 299=c5 OR c5=681 OR c5=820)

query TII rowsort join428
SELECT x3, b9+31, c2
  FROM t3, t9, t2
 WHERE e2 in (463,981,777,228,73,769)
   AND a3 in (476,754,992)
   AND e9=307

query TII rowsort join428
SELECT x3, b9+31, c2
  FROM t3, t9, t2
 WHERE a3 in (476,754,992)
   AND e2 in (463,981,777,228,73,769)
   AND e9=307

query TII rowsort join428
SELECT x3, b9+31, c2
  FROM t9, t2, t3
 WHERE e9=307
   AND e2 in (463,981,777,228,73,769)
   AND a3 in (476,754,992)

query TII rowsort join428
SELECT x3, b9+31, c2
  FROM t3, t2, t9
 WHERE e2 in (463,981,777,228,73,769)
   AND e9=307
   AND a3 in (476,754,992)

query III rowsort join429
SELECT c2, e7, b5+245+c7
  FROM t7, t2, t5
 WHERE d2=2
   AND c5 in (774,824,668,579,442,441,130)
   AND 455=e7

query III rowsort join429
SELECT c2, e7, b5+245+c7
  FROM t5, t7, t2
 WHERE d2=2
   AND 455=e7
   AND c5 in (774,824,668,579,442,441,130)

query III rowsort join429
SELECT c2, e7, b5+245+c7
  FROM t2, t5, t7
 WHERE c5 in (774,824,668,579,442,441,130)
   AND d2=2
   AND 455=e7

query III rowsort join429
SELECT c2, e7, b5+245+c7
  FROM t2, t5, t7
 WHERE d2=2
   AND c5 in (774,824,668,579,442,441,130)
   AND 455=e7

query III rowsort join430
SELECT c5*354, c7, c1+848
  FROM t5, t1, t7
 WHERE e7=a1
   AND a1 in (544,862,879,936)
   AND 689=c5

query III rowsort join430
SELECT c5*354, c7, c1+848
  FROM t1, t7, t5
 WHERE a1 in (544,862,879,936)
   AND 689=c5
   AND e7=a1

query III rowsort join430
SELECT c5*354, c7, c1+848
  FROM t5, t1, t7
 WHERE 689=c5
   AND e7=a1
   AND a1 in (544,862,879,936)

query III rowsort join430
SELECT c5*354, c7, c1+848
  FROM t7, t1, t5
 WHERE a1 in (544,862,879,936)
   AND e7=a1
   AND 689=c5

query II rowsort join431
SELECT e9+d9, d3+446
  FROM t3, t9
 WHERE a3=c9
   AND b9 in (15,912,848,19,245,269,125)

query II rowsort join431
SELECT e9+d9, d3+446
  FROM t9, t3
 WHERE a3=c9
   AND b9 in (15,912,848,19,245,269,125)

query II rowsort join431
SELECT e9+d9, d3+446
  FROM t9, t3
 WHERE b9 in (15,912,848,19,245,269,125)
   AND a3=c9

query IITIII rowsort join432
SELECT c5+e8, d4+393, x9, b3, a8+e3, c6
  FROM t6, t9, t5, t3, t4, t8
 WHERE (d6=2 OR d6=196 OR d6=424 OR 185=d6)
   AND a3 in (971,245,265)
   AND c5 in (86,158,351,689,818)
   AND b4 in (442,538,23,587,288,76,660,802)
   AND b9 in (171,688,456,880)
   AND e8 in (586,578,333)

query IITIII rowsort join432
SELECT c5+e8, d4+393, x9, b3, a8+e3, c6
  FROM t3, t6, t9, t4, t8, t5
 WHERE a3 in (971,245,265)
   AND b9 in (171,688,456,880)
   AND c5 in (86,158,351,689,818)
   AND b4 in (442,538,23,587,288,76,660,802)
   AND e8 in (586,578,333)
   AND (d6=2 OR d6=196 OR d6=424 OR 185=d6)

query IITIII rowsort join432
SELECT c5+e8, d4+393, x9, b3, a8+e3, c6
  FROM t4, t3, t9, t6, t5, t8
 WHERE a3 in (971,245,265)
   AND b4 in (442,538,23,587,288,76,660,802)
   AND c5 in (86,158,351,689,818)
   AND b9 in (171,688,456,880)
   AND e8 in (586,578,333)
   AND (d6=2 OR d6=196 OR d6=424 OR 185=d6)

query IITIII rowsort join432
SELECT c5+e8, d4+393, x9, b3, a8+e3, c6
  FROM t9, t4, t3, t6, t8, t5
 WHERE c5 in (86,158,351,689,818)
   AND (d6=2 OR d6=196 OR d6=424 OR 185=d6)
   AND a3 in (971,245,265)
   AND e8 in (586,578,333)
   AND b9 in (171,688,456,880)
   AND b4 in (442,538,23,587,288,76,660,802)

query II rowsort join433
SELECT e6*25, d1+873
  FROM t1, t6
 WHERE a1 in (363,862,553,337,521)
   AND d6 in (151,885,321,974,489,991,924)

query II rowsort join433
SELECT e6*25, d1+873
  FROM t1, t6
 WHERE d6 in (151,885,321,974,489,991,924)
   AND a1 in (363,862,553,337,521)

query IIIITI rowsort join434
SELECT a3, c5, d6+a6, a9+72, x7, c1*559
  FROM t5, t9, t3, t6, t1, t7
 WHERE (c5=936 OR 989=c5 OR c5=934)
   AND e9=c5
   AND a3=865
   AND 338=a1
   AND d6 in (269,197,790,35,911,60,846)
   AND e7 in (356,127,929)

query IIIITI rowsort join434
SELECT a3, c5, d6+a6, a9+72, x7, c1*559
  FROM t9, t5, t3, t6, t1, t7
 WHERE (c5=936 OR 989=c5 OR c5=934)
   AND d6 in (269,197,790,35,911,60,846)
   AND a3=865
   AND 338=a1
   AND e7 in (356,127,929)
   AND e9=c5

query IIIITI rowsort join434
SELECT a3, c5, d6+a6, a9+72, x7, c1*559
  FROM t7, t5, t9, t1, t6, t3
 WHERE a3=865
   AND d6 in (269,197,790,35,911,60,846)
   AND (c5=936 OR 989=c5 OR c5=934)
   AND e7 in (356,127,929)
   AND e9=c5
   AND 338=a1

query IIIITI rowsort join434
SELECT a3, c5, d6+a6, a9+72, x7, c1*559
  FROM t1, t5, t6, t7, t9, t3
 WHERE d6 in (269,197,790,35,911,60,846)
   AND (c5=936 OR 989=c5 OR c5=934)
   AND a3=865
   AND 338=a1
   AND e7 in (356,127,929)
   AND e9=c5

query IIIIII rowsort join435
SELECT d3+439, e5, a9, e4+156+b3, b2, b7+564+b5
  FROM t3, t2, t7, t9, t5, t4
 WHERE a3 in (863,105,70,386,879,476,822)
   AND c5=31
   AND d2=498
   AND b4 in (379,816,979,884,847)
   AND 6=e7
   AND (62=c9 OR c9=151 OR 688=c9 OR 547=c9)

query IIIIII rowsort join435
SELECT d3+439, e5, a9, e4+156+b3, b2, b7+564+b5
  FROM t4, t7, t5, t3, t9, t2
 WHERE a3 in (863,105,70,386,879,476,822)
   AND d2=498
   AND 6=e7
   AND c5=31
   AND (62=c9 OR c9=151 OR 688=c9 OR 547=c9)
   AND b4 in (379,816,979,884,847)

query IIIIII rowsort join435
SELECT d3+439, e5, a9, e4+156+b3, b2, b7+564+b5
  FROM t4, t9, t5, t3, t7, t2
 WHERE (62=c9 OR c9=151 OR 688=c9 OR 547=c9)
   AND b4 in (379,816,979,884,847)
   AND 6=e7
   AND c5=31
   AND d2=498
   AND a3 in (863,105,70,386,879,476,822)

query IIIIII rowsort join435
SELECT d3+439, e5, a9, e4+156+b3, b2, b7+564+b5
  FROM t2, t9, t4, t3, t5, t7
 WHERE b4 in (379,816,979,884,847)
   AND 6=e7
   AND c5=31
   AND (62=c9 OR c9=151 OR 688=c9 OR 547=c9)
   AND d2=498
   AND a3 in (863,105,70,386,879,476,822)

query II rowsort join436
SELECT a4+b4, c1+c4
  FROM t1, t4
 WHERE a1 in (88,895,75,754,299,267,189)
   AND b4 in (608,408,979,816,577)

query II rowsort join436
SELECT a4+b4, c1+c4
  FROM t1, t4
 WHERE b4 in (608,408,979,816,577)
   AND a1 in (88,895,75,754,299,267,189)

query III rowsort join437
SELECT c8*557, e3, b4+d8
  FROM t4, t8, t3
 WHERE e8 in (846,561,761,592,233)
   AND a3 in (560,776,611,499,364,863,184)
   AND b4 in (919,765,577,678,402)

query III rowsort join437
SELECT c8*557, e3, b4+d8
  FROM t4, t8, t3
 WHERE b4 in (919,765,577,678,402)
   AND a3 in (560,776,611,499,364,863,184)
   AND e8 in (846,561,761,592,233)

query III rowsort join437
SELECT c8*557, e3, b4+d8
  FROM t8, t3, t4
 WHERE b4 in (919,765,577,678,402)
   AND a3 in (560,776,611,499,364,863,184)
   AND e8 in (846,561,761,592,233)

query III rowsort join437
SELECT c8*557, e3, b4+d8
  FROM t3, t4, t8
 WHERE b4 in (919,765,577,678,402)
   AND e8 in (846,561,761,592,233)
   AND a3 in (560,776,611,499,364,863,184)

query TIIIII rowsort join438
SELECT x4, b5, a9, c2, d7+78, a3
  FROM t3, t5, t2, t9, t7, t4
 WHERE c9=e3
   AND c5 in (3,915,721,894,844)
   AND e7=455
   AND b4 in (829,884,748,587,294)
   AND 692=e2
   AND a3 in (143,515,615,335,490)

query TIIIII rowsort join438
SELECT x4, b5, a9, c2, d7+78, a3
  FROM t7, t9, t2, t3, t5, t4
 WHERE e7=455
   AND b4 in (829,884,748,587,294)
   AND a3 in (143,515,615,335,490)
   AND c9=e3
   AND 692=e2
   AND c5 in (3,915,721,894,844)

query TIIIII rowsort join438
SELECT x4, b5, a9, c2, d7+78, a3
  FROM t5, t7, t9, t4, t3, t2
 WHERE b4 in (829,884,748,587,294)
   AND c9=e3
   AND a3 in (143,515,615,335,490)
   AND e7=455
   AND 692=e2
   AND c5 in (3,915,721,894,844)

query TIIIII rowsort join438
SELECT x4, b5, a9, c2, d7+78, a3
  FROM t9, t3, t4, t7, t5, t2
 WHERE c9=e3
   AND b4 in (829,884,748,587,294)
   AND 692=e2
   AND e7=455
   AND c5 in (3,915,721,894,844)
   AND a3 in (143,515,615,335,490)

query II rowsort join439
SELECT c9+a9, e6
  FROM t6, t9
 WHERE (548=a9 OR a9=251 OR a9=712 OR a9=776)
   AND (931=d6 OR 72=d6 OR d6=911 OR 613=d6)

query II rowsort join439
SELECT c9+a9, e6
  FROM t6, t9
 WHERE (931=d6 OR 72=d6 OR d6=911 OR 613=d6)
   AND (548=a9 OR a9=251 OR a9=712 OR a9=776)

query II rowsort join439
SELECT c9+a9, e6
  FROM t9, t6
 WHERE (931=d6 OR 72=d6 OR d6=911 OR 613=d6)
   AND (548=a9 OR a9=251 OR a9=712 OR a9=776)

query II rowsort join440
SELECT d6+103+e6, a4
  FROM t6, t4
 WHERE b4 in (884,94,829,810,476,627,589)
   AND d6=223

query II rowsort join440
SELECT d6+103+e6, a4
  FROM t4, t6
 WHERE b4 in (884,94,829,810,476,627,589)
   AND d6=223

query ITIIIIII rowsort join441
SELECT d4*104+c5, x2, e7, a3+c5, b5, d1+522, a9, c6
  FROM t4, t9, t2, t3, t5, t7, t6, t1
 WHERE e7=638
   AND d6 in (172,366,2,463,790,147,151)
   AND c5=527
   AND b4=802
   AND a3 in (971,335,368,499)
   AND d9 in (790,926,283,439,668,450,142,467)
   AND a1 in (52,950,746)
   AND c2=d7

query ITIIIIII rowsort join441
SELECT d4*104+c5, x2, e7, a3+c5, b5, d1+522, a9, c6
  FROM t7, t9, t3, t4, t1, t6, t5, t2
 WHERE e7=638
   AND d9 in (790,926,283,439,668,450,142,467)
   AND c5=527
   AND a3 in (971,335,368,499)
   AND d6 in (172,366,2,463,790,147,151)
   AND b4=802
   AND a1 in (52,950,746)
   AND c2=d7

query ITIIIIII rowsort join441
SELECT d4*104+c5, x2, e7, a3+c5, b5, d1+522, a9, c6
  FROM t6, t4, t3, t2, t9, t5, t7, t1
 WHERE c2=d7
   AND d9 in (790,926,283,439,668,450,142,467)
   AND a3 in (971,335,368,499)
   AND b4=802
   AND d6 in (172,366,2,463,790,147,151)
   AND a1 in (52,950,746)
   AND c5=527
   AND e7=638

query ITIIIIII rowsort join441
SELECT d4*104+c5, x2, e7, a3+c5, b5, d1+522, a9, c6
  FROM t4, t7, t3, t9, t6, t5, t2, t1
 WHERE d6 in (172,366,2,463,790,147,151)
   AND a1 in (52,950,746)
   AND c5=527
   AND c2=d7
   AND a3 in (971,335,368,499)
   AND e7=638
   AND d9 in (790,926,283,439,668,450,142,467)
   AND b4=802

query TII rowsort join442
SELECT x8, e9, a7+579
  FROM t9, t7, t8
 WHERE 146=c9
   AND e7 in (48,103,439,372,841)
   AND e8=46

query TII rowsort join442
SELECT x8, e9, a7+579
  FROM t8, t9, t7
 WHERE 146=c9
   AND e7 in (48,103,439,372,841)
   AND e8=46

query TII rowsort join442
SELECT x8, e9, a7+579
  FROM t7, t9, t8
 WHERE e8=46
   AND 146=c9
   AND e7 in (48,103,439,372,841)

query III rowsort join443
SELECT c2, c4+b4, c8
  FROM t4, t2, t8
 WHERE e8 in (561,485,463,578,46)
   AND 418=b2
   AND b4 in (407,184,372,907,86)

query III rowsort join443
SELECT c2, c4+b4, c8
  FROM t8, t4, t2
 WHERE e8 in (561,485,463,578,46)
   AND b4 in (407,184,372,907,86)
   AND 418=b2

query III rowsort join443
SELECT c2, c4+b4, c8
  FROM t8, t2, t4
 WHERE b4 in (407,184,372,907,86)
   AND e8 in (561,485,463,578,46)
   AND 418=b2

query II rowsort join444
SELECT b1+793, e6*990
  FROM t6, t1
 WHERE 173=a1
   AND d6=689

query II rowsort join444
SELECT b1+793, e6*990
  FROM t1, t6
 WHERE d6=689
   AND 173=a1

query II rowsort join444
SELECT b1+793, e6*990
  FROM t6, t1
 WHERE d6=689
   AND 173=a1

query II rowsort join444
SELECT b1+793, e6*990
  FROM t1, t6
 WHERE 173=a1
   AND d6=689

query TI rowsort join445
SELECT x3, a2
  FROM t3, t2
 WHERE (a3=499 OR 777=a3)
   AND d2 in (14,953,306,838,153,897,198)

query TI rowsort join445
SELECT x3, a2
  FROM t3, t2
 WHERE d2 in (14,953,306,838,153,897,198)
   AND (a3=499 OR 777=a3)

query TI rowsort join445
SELECT x3, a2
  FROM t2, t3
 WHERE d2 in (14,953,306,838,153,897,198)
   AND (a3=499 OR 777=a3)

query TI rowsort join446
SELECT x8, c9
  FROM t9, t8
 WHERE c9 in (98,253,601,531,347,64,349)
   AND e8=955

query TI rowsort join446
SELECT x8, c9
  FROM t9, t8
 WHERE e8=955
   AND c9 in (98,253,601,531,347,64,349)

query TI rowsort join446
SELECT x8, c9
  FROM t8, t9
 WHERE c9 in (98,253,601,531,347,64,349)
   AND e8=955

query III rowsort join447
SELECT d9, c4, b1
  FROM t9, t4, t1
 WHERE b4=551
   AND (258=a9 OR a9=474)
   AND a1=314

query III rowsort join447
SELECT d9, c4, b1
  FROM t9, t1, t4
 WHERE b4=551
   AND a1=314
   AND (258=a9 OR a9=474)

query III rowsort join447
SELECT d9, c4, b1
  FROM t1, t4, t9
 WHERE (258=a9 OR a9=474)
   AND a1=314
   AND b4=551

query III rowsort join447
SELECT d9, c4, b1
  FROM t4, t9, t1
 WHERE b4=551
   AND a1=314
   AND (258=a9 OR a9=474)

query II rowsort join448
SELECT a9+766+c9, e5+171
  FROM t9, t5
 WHERE c5 in (668,805,579)
   AND 439=d9

query II rowsort join448
SELECT a9+766+c9, e5+171
  FROM t5, t9
 WHERE c5 in (668,805,579)
   AND 439=d9

query IIIITIII rowsort join449
SELECT e7+d1, c6*282, a9, b2, x1, d3, a5+c7, d4+990
  FROM t5, t2, t9, t6, t4, t1, t7, t3
 WHERE d6=d1
   AND (41=a3 OR 822=a3 OR 929=a3 OR a3=929)
   AND (966=b4 OR 469=b4)
   AND c9 in (531,457,587,39,240)
   AND c5 in (198,101,820,441,299,756,678,210)
   AND e7 in (456,234,844,301,168,983)
   AND a1=b6
   AND 914=d2

query IIIITIII rowsort join449
SELECT e7+d1, c6*282, a9, b2, x1, d3, a5+c7, d4+990
  FROM t6, t3, t9, t1, t7, t2, t4, t5
 WHERE (41=a3 OR 822=a3 OR 929=a3 OR a3=929)
   AND e7 in (456,234,844,301,168,983)
   AND (966=b4 OR 469=b4)
   AND d6=d1
   AND c5 in (198,101,820,441,299,756,678,210)
   AND a1=b6
   AND 914=d2
   AND c9 in (531,457,587,39,240)

query IIIITIII rowsort join449
SELECT e7+d1, c6*282, a9, b2, x1, d3, a5+c7, d4+990
  FROM t1, t4, t5, t7, t9, t3, t2, t6
 WHERE a1=b6
   AND 914=d2
   AND d6=d1
   AND e7 in (456,234,844,301,168,983)
   AND c5 in (198,101,820,441,299,756,678,210)
   AND c9 in (531,457,587,39,240)
   AND (41=a3 OR 822=a3 OR 929=a3 OR a3=929)
   AND (966=b4 OR 469=b4)

query IIIITIII rowsort join449
SELECT e7+d1, c6*282, a9, b2, x1, d3, a5+c7, d4+990
  FROM t5, t9, t1, t6, t3, t7, t2, t4
 WHERE (966=b4 OR 469=b4)
   AND 914=d2
   AND c9 in (531,457,587,39,240)
   AND d6=d1
   AND (41=a3 OR 822=a3 OR 929=a3 OR a3=929)
   AND c5 in (198,101,820,441,299,756,678,210)
   AND e7 in (456,234,844,301,168,983)
   AND a1=b6

query IIIIITTI rowsort join450
SELECT d3, c8+499, d5, e9, d1*869+a7, x7, x2, c6+649
  FROM t5, t1, t9, t7, t8, t6, t3, t2
 WHERE 231=a1
   AND d6=2
   AND (31=e7 OR 983=e7 OR e7=983 OR e7=590)
   AND a3 in (777,822,913,476,198,306,581,899)
   AND a2 in (415,35,522,308)
   AND e8=682
   AND 19=e9
   AND c5=657

query IIIIITTI rowsort join450
SELECT d3, c8+499, d5, e9, d1*869+a7, x7, x2, c6+649
  FROM t9, t6, t5, t1, t2, t8, t3, t7
 WHERE a3 in (777,822,913,476,198,306,581,899)
   AND c5=657
   AND 19=e9
   AND d6=2
   AND e8=682
   AND a2 in (415,35,522,308)
   AND 231=a1
   AND (31=e7 OR 983=e7 OR e7=983 OR e7=590)

query IIIIITTI rowsort join450
SELECT d3, c8+499, d5, e9, d1*869+a7, x7, x2, c6+649
  FROM t5, t8, t2, t6, t7, t3, t1, t9
 WHERE c5=657
   AND e8=682
   AND d6=2
   AND 231=a1
   AND (31=e7 OR 983=e7 OR e7=983 OR e7=590)
   AND a3 in (777,822,913,476,198,306,581,899)
   AND 19=e9
   AND a2 in (415,35,522,308)

query IIIIITTI rowsort join450
SELECT d3, c8+499, d5, e9, d1*869+a7, x7, x2, c6+649
  FROM t6, t9, t2, t8, t7, t5, t3, t1
 WHERE c5=657
   AND d6=2
   AND a2 in (415,35,522,308)
   AND (31=e7 OR 983=e7 OR e7=983 OR e7=590)
   AND e8=682
   AND a3 in (777,822,913,476,198,306,581,899)
   AND 19=e9
   AND 231=a1

query TIIII rowsort join451
SELECT x4, c8+b2, a7+a4, a2+d8, c3
  FROM t8, t7, t3, t4, t2
 WHERE a3=525
   AND 682=e8
   AND (283=a2 OR 590=a2)
   AND (765=b4 OR b4=892)
   AND e7 in (689,122,67,904)

query TIIII rowsort join451
SELECT x4, c8+b2, a7+a4, a2+d8, c3
  FROM t8, t4, t3, t7, t2
 WHERE (283=a2 OR 590=a2)
   AND 682=e8
   AND a3=525
   AND e7 in (689,122,67,904)
   AND (765=b4 OR b4=892)

query TIIII rowsort join451
SELECT x4, c8+b2, a7+a4, a2+d8, c3
  FROM t3, t2, t4, t8, t7
 WHERE (765=b4 OR b4=892)
   AND (283=a2 OR 590=a2)
   AND 682=e8
   AND e7 in (689,122,67,904)
   AND a3=525

query TIIII rowsort join451
SELECT x4, c8+b2, a7+a4, a2+d8, c3
  FROM t4, t2, t3, t8, t7
 WHERE e7 in (689,122,67,904)
   AND 682=e8
   AND a3=525
   AND (283=a2 OR 590=a2)
   AND (765=b4 OR b4=892)

query ITI rowsort join452
SELECT d1, x7, a3
  FROM t3, t7, t1
 WHERE a3=525
   AND a1 in (898,52,170,382,866,552)
   AND e7=a1

query ITI rowsort join452
SELECT d1, x7, a3
  FROM t1, t3, t7
 WHERE a1 in (898,52,170,382,866,552)
   AND e7=a1
   AND a3=525

query ITI rowsort join452
SELECT d1, x7, a3
  FROM t7, t1, t3
 WHERE a1 in (898,52,170,382,866,552)
   AND a3=525
   AND e7=a1

query ITI rowsort join452
SELECT d1, x7, a3
  FROM t7, t1, t3
 WHERE a3=525
   AND a1 in (898,52,170,382,866,552)
   AND e7=a1

query TI rowsort join453
SELECT x8, d1+332
  FROM t1, t8
 WHERE (e8=242 OR 944=e8 OR 22=e8)
   AND a1 in (604,552,591,380,640,505,213,637)

query TI rowsort join453
SELECT x8, d1+332
  FROM t8, t1
 WHERE a1 in (604,552,591,380,640,505,213,637)
   AND (e8=242 OR 944=e8 OR 22=e8)

query TI rowsort join453
SELECT x8, d1+332
  FROM t8, t1
 WHERE (e8=242 OR 944=e8 OR 22=e8)
   AND a1 in (604,552,591,380,640,505,213,637)

query IIIII rowsort join454
SELECT c6+c2, e1*707, b5, d2, e7
  FROM t1, t2, t5, t6, t7
 WHERE c5=628
   AND (456=e7 OR e7=89)
   AND 196=d6
   AND a1 in (742,371,643,179)
   AND (647=e2 OR e2=945 OR e2=899 OR 564=e2)

query IIIII rowsort join454
SELECT c6+c2, e1*707, b5, d2, e7
  FROM t1, t2, t7, t5, t6
 WHERE 196=d6
   AND (647=e2 OR e2=945 OR e2=899 OR 564=e2)
   AND c5=628
   AND a1 in (742,371,643,179)
   AND (456=e7 OR e7=89)

query IIIII rowsort join454
SELECT c6+c2, e1*707, b5, d2, e7
  FROM t1, t7, t2, t6, t5
 WHERE a1 in (742,371,643,179)
   AND (456=e7 OR e7=89)
   AND (647=e2 OR e2=945 OR e2=899 OR 564=e2)
   AND 196=d6
   AND c5=628

query IIIII rowsort join454
SELECT c6+c2, e1*707, b5, d2, e7
  FROM t5, t7, t2, t1, t6
 WHERE (647=e2 OR e2=945 OR e2=899 OR 564=e2)
   AND 196=d6
   AND c5=628
   AND (456=e7 OR e7=89)
   AND a1 in (742,371,643,179)

query IIIIII rowsort join455
SELECT b2, c3, a9*406+d9, d7+b3, d6, a8*346
  FROM t2, t9, t8, t3, t7, t6
 WHERE c9=b7
   AND e7 in (900,344,122,31,291,67)
   AND e8 in (260,384,561,63,392,44)
   AND (b2=139 OR b2=501 OR 676=b2)
   AND (143=a3 OR a3=829 OR 376=a3)
   AND d6 in (956,446,560,790)

query IIIIII rowsort join455
SELECT b2, c3, a9*406+d9, d7+b3, d6, a8*346
  FROM t7, t9, t2, t8, t3, t6
 WHERE (b2=139 OR b2=501 OR 676=b2)
   AND e8 in (260,384,561,63,392,44)
   AND (143=a3 OR a3=829 OR 376=a3)
   AND e7 in (900,344,122,31,291,67)
   AND c9=b7
   AND d6 in (956,446,560,790)

query IIIIII rowsort join455
SELECT b2, c3, a9*406+d9, d7+b3, d6, a8*346
  FROM t7, t2, t8, t9, t3, t6
 WHERE d6 in (956,446,560,790)
   AND c9=b7
   AND e8 in (260,384,561,63,392,44)
   AND (143=a3 OR a3=829 OR 376=a3)
   AND e7 in (900,344,122,31,291,67)
   AND (b2=139 OR b2=501 OR 676=b2)

query IIIIII rowsort join455
SELECT b2, c3, a9*406+d9, d7+b3, d6, a8*346
  FROM t9, t8, t6, t7, t3, t2
 WHERE (b2=139 OR b2=501 OR 676=b2)
   AND c9=b7
   AND (143=a3 OR a3=829 OR 376=a3)
   AND d6 in (956,446,560,790)
   AND e8 in (260,384,561,63,392,44)
   AND e7 in (900,344,122,31,291,67)

query TIIII rowsort join456
SELECT x3, a1*900, d2, e5, b8*149
  FROM t1, t8, t5, t3, t2
 WHERE e2=e3
   AND a3 in (549,41,964,306,162,591,5)
   AND a1=c8
   AND c5 in (544,809,443)
   AND e8 in (199,295,377,383)

query TIIII rowsort join456
SELECT x3, a1*900, d2, e5, b8*149
  FROM t1, t5, t8, t3, t2
 WHERE c5 in (544,809,443)
   AND e2=e3
   AND a1=c8
   AND a3 in (549,41,964,306,162,591,5)
   AND e8 in (199,295,377,383)

query TIIII rowsort join456
SELECT x3, a1*900, d2, e5, b8*149
  FROM t3, t2, t8, t5, t1
 WHERE a1=c8
   AND e8 in (199,295,377,383)
   AND a3 in (549,41,964,306,162,591,5)
   AND c5 in (544,809,443)
   AND e2=e3

query TIIII rowsort join456
SELECT x3, a1*900, d2, e5, b8*149
  FROM t1, t5, t8, t2, t3
 WHERE c5 in (544,809,443)
   AND a1=c8
   AND a3 in (549,41,964,306,162,591,5)
   AND e2=e3
   AND e8 in (199,295,377,383)

query ITII rowsort join457
SELECT a8, x7, c5, e6+d5
  FROM t5, t8, t6, t7
 WHERE d6 in (822,767,393,147,286,72,366)
   AND e7=a8
   AND e8 in (329,476,7,180,431)
   AND c5 in (960,598,809,628,844,485,734)

query ITII rowsort join457
SELECT a8, x7, c5, e6+d5
  FROM t8, t6, t7, t5
 WHERE e8 in (329,476,7,180,431)
   AND e7=a8
   AND d6 in (822,767,393,147,286,72,366)
   AND c5 in (960,598,809,628,844,485,734)

query ITII rowsort join457
SELECT a8, x7, c5, e6+d5
  FROM t8, t5, t7, t6
 WHERE d6 in (822,767,393,147,286,72,366)
   AND e7=a8
   AND e8 in (329,476,7,180,431)
   AND c5 in (960,598,809,628,844,485,734)

query ITII rowsort join457
SELECT a8, x7, c5, e6+d5
  FROM t7, t8, t6, t5
 WHERE e8 in (329,476,7,180,431)
   AND d6 in (822,767,393,147,286,72,366)
   AND e7=a8
   AND c5 in (960,598,809,628,844,485,734)

query II rowsort join458
SELECT b9, e8*764
  FROM t8, t9
 WHERE (761=e8 OR e8=431 OR e8=635 OR e8=864)
   AND c9=992

query II rowsort join458
SELECT b9, e8*764
  FROM t9, t8
 WHERE c9=992
   AND (761=e8 OR e8=431 OR e8=635 OR e8=864)

query II rowsort join458
SELECT b9, e8*764
  FROM t9, t8
 WHERE (761=e8 OR e8=431 OR e8=635 OR e8=864)
   AND c9=992

query ITIII rowsort join459
SELECT d3+c5, x5, c2+88, c4+309, d1
  FROM t3, t2, t5, t4, t1
 WHERE a1=e5
   AND c5 in (299,27,924,152,936)
   AND b2 in (35,177,714,21,812,846,217)
   AND (941=b4 OR b4=469)
   AND (500=a3 OR a3=697 OR 457=a3 OR a3=992)

query ITIII rowsort join459
SELECT d3+c5, x5, c2+88, c4+309, d1
  FROM t5, t4, t2, t1, t3
 WHERE b2 in (35,177,714,21,812,846,217)
   AND (941=b4 OR b4=469)
   AND a1=e5
   AND c5 in (299,27,924,152,936)
   AND (500=a3 OR a3=697 OR 457=a3 OR a3=992)

query ITIII rowsort join459
SELECT d3+c5, x5, c2+88, c4+309, d1
  FROM t3, t1, t5, t2, t4
 WHERE (941=b4 OR b4=469)
   AND c5 in (299,27,924,152,936)
   AND b2 in (35,177,714,21,812,846,217)
   AND (500=a3 OR a3=697 OR 457=a3 OR a3=992)
   AND a1=e5

query ITIII rowsort join459
SELECT d3+c5, x5, c2+88, c4+309, d1
  FROM t4, t2, t1, t5, t3
 WHERE a1=e5
   AND (500=a3 OR a3=697 OR 457=a3 OR a3=992)
   AND b2 in (35,177,714,21,812,846,217)
   AND c5 in (299,27,924,152,936)
   AND (941=b4 OR b4=469)

query II rowsort join460
SELECT d8, e1
  FROM t8, t1
 WHERE a1=20
   AND e8=186

query II rowsort join460
SELECT d8, e1
  FROM t1, t8
 WHERE e8=186
   AND a1=20

query II rowsort join460
SELECT d8, e1
  FROM t8, t1
 WHERE e8=186
   AND a1=20

query IIII rowsort join461
SELECT e9*687, e5, a3*107, c2
  FROM t3, t2, t5, t9
 WHERE a2 in (775,279,922)
   AND c9 in (696,811,118,39,643,935,807,905)
   AND a3 in (754,197,376,181,296,608)
   AND c5 in (868,147,733)

query IIII rowsort join461
SELECT e9*687, e5, a3*107, c2
  FROM t9, t5, t3, t2
 WHERE c9 in (696,811,118,39,643,935,807,905)
   AND a2 in (775,279,922)
   AND c5 in (868,147,733)
   AND a3 in (754,197,376,181,296,608)

query IIII rowsort join461
SELECT e9*687, e5, a3*107, c2
  FROM t9, t2, t3, t5
 WHERE a2 in (775,279,922)
   AND c5 in (868,147,733)
   AND c9 in (696,811,118,39,643,935,807,905)
   AND a3 in (754,197,376,181,296,608)

query IIII rowsort join461
SELECT e9*687, e5, a3*107, c2
  FROM t3, t2, t9, t5
 WHERE c5 in (868,147,733)
   AND a2 in (775,279,922)
   AND c9 in (696,811,118,39,643,935,807,905)
   AND a3 in (754,197,376,181,296,608)

query IT rowsort join462
SELECT a4+b4, x8
  FROM t4, t8
 WHERE e8 in (221,776,809,881,186,893)
   AND b4=964

query IT rowsort join462
SELECT a4+b4, x8
  FROM t8, t4
 WHERE b4=964
   AND e8 in (221,776,809,881,186,893)

query IT rowsort join462
SELECT a4+b4, x8
  FROM t4, t8
 WHERE b4=964
   AND e8 in (221,776,809,881,186,893)

query IT rowsort join462
SELECT a4+b4, x8
  FROM t8, t4
 WHERE e8 in (221,776,809,881,186,893)
   AND b4=964

query II rowsort join463
SELECT d2+d2, a6
  FROM t6, t2
 WHERE 590=d6
   AND d2=241

query II rowsort join463
SELECT d2+d2, a6
  FROM t6, t2
 WHERE d2=241
   AND 590=d6

query TIIT rowsort join464
SELECT x9, b6, d8, x5
  FROM t9, t8, t5, t6
 WHERE d6=786
   AND 678=e8
   AND (103=b9 OR b9=446 OR 149=b9 OR 549=b9)
   AND c5 in (855,489,545,351,756,598)

query TIIT rowsort join464
SELECT x9, b6, d8, x5
  FROM t8, t9, t6, t5
 WHERE c5 in (855,489,545,351,756,598)
   AND d6=786
   AND (103=b9 OR b9=446 OR 149=b9 OR 549=b9)
   AND 678=e8

query TIIT rowsort join464
SELECT x9, b6, d8, x5
  FROM t5, t9, t8, t6
 WHERE (103=b9 OR b9=446 OR 149=b9 OR 549=b9)
   AND 678=e8
   AND d6=786
   AND c5 in (855,489,545,351,756,598)

query TIIT rowsort join464
SELECT x9, b6, d8, x5
  FROM t9, t5, t6, t8
 WHERE c5 in (855,489,545,351,756,598)
   AND 678=e8
   AND (103=b9 OR b9=446 OR 149=b9 OR 549=b9)
   AND d6=786

query IT rowsort join465
SELECT c6, x8
  FROM t6, t8
 WHERE 981=e8
   AND d6=750

query IT rowsort join465
SELECT c6, x8
  FROM t8, t6
 WHERE 981=e8
   AND d6=750

query IT rowsort join465
SELECT c6, x8
  FROM t8, t6
 WHERE d6=750
   AND 981=e8

query III rowsort join466
SELECT d8+606, b7, c2+418
  FROM t7, t2, t8
 WHERE (736=e8 OR e8=881 OR 349=e8)
   AND e7 in (976,844,782)
   AND e2 in (40,554,783)

query III rowsort join466
SELECT d8+606, b7, c2+418
  FROM t2, t8, t7
 WHERE (736=e8 OR e8=881 OR 349=e8)
   AND e7 in (976,844,782)
   AND e2 in (40,554,783)

query III rowsort join466
SELECT d8+606, b7, c2+418
  FROM t7, t2, t8
 WHERE e7 in (976,844,782)
   AND e2 in (40,554,783)
   AND (736=e8 OR e8=881 OR 349=e8)

query III rowsort join466
SELECT d8+606, b7, c2+418
  FROM t8, t2, t7
 WHERE e2 in (40,554,783)
   AND e7 in (976,844,782)
   AND (736=e8 OR e8=881 OR 349=e8)

query TI rowsort join467
SELECT x4, a8*690+c4
  FROM t4, t8
 WHERE b4 in (387,267,276)
   AND e8=a4

query TI rowsort join467
SELECT x4, a8*690+c4
  FROM t8, t4
 WHERE b4 in (387,267,276)
   AND e8=a4

query TI rowsort join467
SELECT x4, a8*690+c4
  FROM t4, t8
 WHERE e8=a4
   AND b4 in (387,267,276)

query IIII rowsort join468
SELECT c3, a4+936+d4, c2+a2, e6
  FROM t6, t4, t3, t2
 WHERE a3=379
   AND b4=538
   AND 581=d6
   AND b2 in (313,674,605,329,353,38)

query IIII rowsort join468
SELECT c3, a4+936+d4, c2+a2, e6
  FROM t6, t4, t2, t3
 WHERE 581=d6
   AND b4=538
   AND a3=379
   AND b2 in (313,674,605,329,353,38)

query IIII rowsort join468
SELECT c3, a4+936+d4, c2+a2, e6
  FROM t2, t6, t4, t3
 WHERE b2 in (313,674,605,329,353,38)
   AND b4=538
   AND a3=379
   AND 581=d6

query IIII rowsort join468
SELECT c3, a4+936+d4, c2+a2, e6
  FROM t3, t4, t2, t6
 WHERE b2 in (313,674,605,329,353,38)
   AND 581=d6
   AND a3=379
   AND b4=538

query IIIIIITT rowsort join469
SELECT d2, d8+d7, c4, b9, c5, b7, x3, x6
  FROM t4, t3, t6, t2, t8, t9, t7, t5
 WHERE b4=535
   AND d6=974
   AND c5 in (855,797,163,734,293,960)
   AND c9=801
   AND 579=e8
   AND (552=e7 OR 282=e7 OR e7=508 OR 280=e7)
   AND a3=c6
   AND b2=173

query IIIIIITT rowsort join469
SELECT d2, d8+d7, c4, b9, c5, b7, x3, x6
  FROM t9, t8, t6, t5, t7, t3, t4, t2
 WHERE 579=e8
   AND b2=173
   AND d6=974
   AND (552=e7 OR 282=e7 OR e7=508 OR 280=e7)
   AND a3=c6
   AND b4=535
   AND c5 in (855,797,163,734,293,960)
   AND c9=801

query IIIIIITT rowsort join469
SELECT d2, d8+d7, c4, b9, c5, b7, x3, x6
  FROM t8, t4, t3, t5, t7, t6, t2, t9
 WHERE b2=173
   AND 579=e8
   AND c5 in (855,797,163,734,293,960)
   AND c9=801
   AND a3=c6
   AND (552=e7 OR 282=e7 OR e7=508 OR 280=e7)
   AND b4=535
   AND d6=974

query IIIIIITT rowsort join469
SELECT d2, d8+d7, c4, b9, c5, b7, x3, x6
  FROM t7, t9, t8, t6, t2, t4, t3, t5
 WHERE (552=e7 OR 282=e7 OR e7=508 OR 280=e7)
   AND b2=173
   AND d6=974
   AND 579=e8
   AND a3=c6
   AND c9=801
   AND b4=535
   AND c5 in (855,797,163,734,293,960)

query IITTI rowsort join470
SELECT a2+a2, e3, x5, x1, a4
  FROM t3, t1, t4, t2, t5
 WHERE 500=a3
   AND 754=a1
   AND b4 in (35,924,784)
   AND (18=c5 OR c5=820 OR c5=855 OR c5=696)
   AND c2 in (788,374,274,160,575,711,625)

query IITTI rowsort join470
SELECT a2+a2, e3, x5, x1, a4
  FROM t1, t3, t5, t4, t2
 WHERE c2 in (788,374,274,160,575,711,625)
   AND (18=c5 OR c5=820 OR c5=855 OR c5=696)
   AND 754=a1
   AND 500=a3
   AND b4 in (35,924,784)

query IITTI rowsort join470
SELECT a2+a2, e3, x5, x1, a4
  FROM t3, t5, t2, t4, t1
 WHERE b4 in (35,924,784)
   AND c2 in (788,374,274,160,575,711,625)
   AND 500=a3
   AND 754=a1
   AND (18=c5 OR c5=820 OR c5=855 OR c5=696)

query IITTI rowsort join470
SELECT a2+a2, e3, x5, x1, a4
  FROM t3, t4, t5, t1, t2
 WHERE b4 in (35,924,784)
   AND 500=a3
   AND 754=a1
   AND c2 in (788,374,274,160,575,711,625)
   AND (18=c5 OR c5=820 OR c5=855 OR c5=696)

query II rowsort join471
SELECT c1+d1, a6*559+e1
  FROM t1, t6
 WHERE 581=d6
   AND 829=a1

query II rowsort join471
SELECT c1+d1, a6*559+e1
  FROM t1, t6
 WHERE 829=a1
   AND 581=d6

query II rowsort join471
SELECT c1+d1, a6*559+e1
  FROM t6, t1
 WHERE 829=a1
   AND 581=d6

query IIIIII rowsort join472
SELECT b2, c8*582, e4, b7+731, a3*232, a5+748
  FROM t7, t2, t5, t4, t8, t3
 WHERE e8 in (431,421,579,617,242)
   AND a3 in (396,353,995,135,777,303,234)
   AND b4=551
   AND c5=936
   AND e7=98
   AND b2 in (864,966,932,846)

query IIIIII rowsort join472
SELECT b2, c8*582, e4, b7+731, a3*232, a5+748
  FROM t8, t4, t7, t2, t3, t5
 WHERE b4=551
   AND c5=936
   AND a3 in (396,353,995,135,777,303,234)
   AND b2 in (864,966,932,846)
   AND e8 in (431,421,579,617,242)
   AND e7=98

query IIIIII rowsort join472
SELECT b2, c8*582, e4, b7+731, a3*232, a5+748
  FROM t4, t3, t8, t5, t2, t7
 WHERE e8 in (431,421,579,617,242)
   AND e7=98
   AND b2 in (864,966,932,846)
   AND c5=936
   AND b4=551
   AND a3 in (396,353,995,135,777,303,234)

query IIIIII rowsort join472
SELECT b2, c8*582, e4, b7+731, a3*232, a5+748
  FROM t3, t8, t7, t2, t4, t5
 WHERE c5=936
   AND e8 in (431,421,579,617,242)
   AND b2 in (864,966,932,846)
   AND a3 in (396,353,995,135,777,303,234)
   AND b4=551
   AND e7=98

query TTII rowsort join473
SELECT x4, x1, c6, b2+948+d1
  FROM t4, t2, t6, t1
 WHERE d6=c2
   AND b4 in (535,137,184,982,538,498)
   AND b2 in (676,966,501,173,504,90,985,276)
   AND a1 in (477,380,963)

query TTII rowsort join473
SELECT x4, x1, c6, b2+948+d1
  FROM t1, t2, t4, t6
 WHERE d6=c2
   AND b2 in (676,966,501,173,504,90,985,276)
   AND b4 in (535,137,184,982,538,498)
   AND a1 in (477,380,963)

query TTII rowsort join473
SELECT x4, x1, c6, b2+948+d1
  FROM t4, t6, t1, t2
 WHERE a1 in (477,380,963)
   AND b2 in (676,966,501,173,504,90,985,276)
   AND d6=c2
   AND b4 in (535,137,184,982,538,498)

query TTII rowsort join473
SELECT x4, x1, c6, b2+948+d1
  FROM t2, t1, t4, t6
 WHERE d6=c2
   AND b4 in (535,137,184,982,538,498)
   AND a1 in (477,380,963)
   AND b2 in (676,966,501,173,504,90,985,276)

query ITII rowsort join474
SELECT b3*250+a7, x7, d8, d2*98
  FROM t8, t2, t3, t7
 WHERE (a3=393 OR 12=a3 OR a3=525 OR a3=164)
   AND e7=d2
   AND e8=b3
   AND a2 in (901,159,471,442,775,809,245)

query ITII rowsort join474
SELECT b3*250+a7, x7, d8, d2*98
  FROM t7, t2, t8, t3
 WHERE (a3=393 OR 12=a3 OR a3=525 OR a3=164)
   AND a2 in (901,159,471,442,775,809,245)
   AND e7=d2
   AND e8=b3

query ITII rowsort join474
SELECT b3*250+a7, x7, d8, d2*98
  FROM t7, t8, t3, t2
 WHERE e7=d2
   AND (a3=393 OR 12=a3 OR a3=525 OR a3=164)
   AND a2 in (901,159,471,442,775,809,245)
   AND e8=b3

query ITII rowsort join474
SELECT b3*250+a7, x7, d8, d2*98
  FROM t8, t7, t3, t2
 WHERE e8=b3
   AND a2 in (901,159,471,442,775,809,245)
   AND (a3=393 OR 12=a3 OR a3=525 OR a3=164)
   AND e7=d2

query ITI rowsort join475
SELECT d4*979+a5, x5, e8*323
  FROM t4, t5, t8
 WHERE b4 in (961,765,882,220,607,107,700,735)
   AND (c5=158 OR 927=c5 OR c5=602 OR 855=c5)
   AND e8 in (41,792,919,678,806,866,811)

query ITI rowsort join475
SELECT d4*979+a5, x5, e8*323
  FROM t4, t8, t5
 WHERE (c5=158 OR 927=c5 OR c5=602 OR 855=c5)
   AND e8 in (41,792,919,678,806,866,811)
   AND b4 in (961,765,882,220,607,107,700,735)

query ITI rowsort join475
SELECT d4*979+a5, x5, e8*323
  FROM t5, t8, t4
 WHERE (c5=158 OR 927=c5 OR c5=602 OR 855=c5)
   AND e8 in (41,792,919,678,806,866,811)
   AND b4 in (961,765,882,220,607,107,700,735)

query ITI rowsort join475
SELECT d4*979+a5, x5, e8*323
  FROM t5, t8, t4
 WHERE e8 in (41,792,919,678,806,866,811)
   AND (c5=158 OR 927=c5 OR c5=602 OR 855=c5)
   AND b4 in (961,765,882,220,607,107,700,735)

query II rowsort join476
SELECT a5, d1*442
  FROM t5, t1
 WHERE a1 in (524,992,864,931,477,754)
   AND c5=923

query II rowsort join476
SELECT a5, d1*442
  FROM t1, t5
 WHERE a1 in (524,992,864,931,477,754)
   AND c5=923

query II rowsort join476
SELECT a5, d1*442
  FROM t1, t5
 WHERE c5=923
   AND a1 in (524,992,864,931,477,754)

query II rowsort join477
SELECT d8+a8, b5
  FROM t5, t8
 WHERE e8=487
   AND c5 in (147,158,915,941)

query II rowsort join477
SELECT d8+a8, b5
  FROM t8, t5
 WHERE c5 in (147,158,915,941)
   AND e8=487

query II rowsort join478
SELECT c1, b3+e1
  FROM t1, t3
 WHERE a3 in (979,347,244,135,255,145)
   AND a1=d3

query II rowsort join478
SELECT c1, b3+e1
  FROM t3, t1
 WHERE a3 in (979,347,244,135,255,145)
   AND a1=d3

query TI rowsort join479
SELECT x6, a9+398+b6
  FROM t9, t6
 WHERE b9=804
   AND d6=256

query TI rowsort join479
SELECT x6, a9+398+b6
  FROM t6, t9
 WHERE b9=804
   AND d6=256

query IITIITT rowsort join480
SELECT b9*198+b6, e4+15, x7, e6, b2*714, x3, x5
  FROM t6, t5, t4, t7, t2, t3, t9
 WHERE 669=a2
   AND 664=d6
   AND (b4=986 OR 294=b4 OR b4=498 OR 961=b4)
   AND c5 in (72,147,545,585,844,924)
   AND (e7=815 OR 862=e7 OR 272=e7 OR 976=e7)
   AND c9 in (95,87,151,98,526)
   AND a3 in (720,829,98,892)

query IITIITT rowsort join480
SELECT b9*198+b6, e4+15, x7, e6, b2*714, x3, x5
  FROM t2, t3, t4, t9, t7, t5, t6
 WHERE 669=a2
   AND (b4=986 OR 294=b4 OR b4=498 OR 961=b4)
   AND 664=d6
   AND c5 in (72,147,545,585,844,924)
   AND a3 in (720,829,98,892)
   AND c9 in (95,87,151,98,526)
   AND (e7=815 OR 862=e7 OR 272=e7 OR 976=e7)

query IITIITT rowsort join480
SELECT b9*198+b6, e4+15, x7, e6, b2*714, x3, x5
  FROM t4, t3, t6, t2, t5, t9, t7
 WHERE 664=d6
   AND a3 in (720,829,98,892)
   AND c5 in (72,147,545,585,844,924)
   AND (e7=815 OR 862=e7 OR 272=e7 OR 976=e7)
   AND (b4=986 OR 294=b4 OR b4=498 OR 961=b4)
   AND c9 in (95,87,151,98,526)
   AND 669=a2

query IITIITT rowsort join480
SELECT b9*198+b6, e4+15, x7, e6, b2*714, x3, x5
  FROM t7, t5, t3, t9, t4, t6, t2
 WHERE (e7=815 OR 862=e7 OR 272=e7 OR 976=e7)
   AND 664=d6
   AND c9 in (95,87,151,98,526)
   AND c5 in (72,147,545,585,844,924)
   AND a3 in (720,829,98,892)
   AND (b4=986 OR 294=b4 OR b4=498 OR 961=b4)
   AND 669=a2

query III rowsort join481
SELECT b8+d6, c6, b9*347
  FROM t6, t9, t8
 WHERE d6 in (424,2,473,647,151,600,855)
   AND e8 in (579,411,966,866,233,329,864,809)
   AND e9 in (621,19,150,687,255)

query III rowsort join481
SELECT b8+d6, c6, b9*347
  FROM t9, t8, t6
 WHERE e8 in (579,411,966,866,233,329,864,809)
   AND d6 in (424,2,473,647,151,600,855)
   AND e9 in (621,19,150,687,255)

query III rowsort join481
SELECT b8+d6, c6, b9*347
  FROM t8, t9, t6
 WHERE d6 in (424,2,473,647,151,600,855)
   AND e9 in (621,19,150,687,255)
   AND e8 in (579,411,966,866,233,329,864,809)

query ITTII rowsort join482
SELECT d7*724+c7, x9, x1, e6+c7, b5*993
  FROM t1, t6, t5, t7, t9
 WHERE c9=d1
   AND e7 in (408,918,862,663,499,827)
   AND 36=d6
   AND c5 in (924,613,820,422,602)
   AND a1 in (963,445,810,524,268,829)

query ITTII rowsort join482
SELECT d7*724+c7, x9, x1, e6+c7, b5*993
  FROM t5, t6, t7, t1, t9
 WHERE c9=d1
   AND 36=d6
   AND a1 in (963,445,810,524,268,829)
   AND c5 in (924,613,820,422,602)
   AND e7 in (408,918,862,663,499,827)

query ITTII rowsort join482
SELECT d7*724+c7, x9, x1, e6+c7, b5*993
  FROM t9, t7, t5, t6, t1
 WHERE a1 in (963,445,810,524,268,829)
   AND 36=d6
   AND c9=d1
   AND e7 in (408,918,862,663,499,827)
   AND c5 in (924,613,820,422,602)

query ITTII rowsort join482
SELECT d7*724+c7, x9, x1, e6+c7, b5*993
  FROM t5, t1, t9, t6, t7
 WHERE c9=d1
   AND c5 in (924,613,820,422,602)
   AND e7 in (408,918,862,663,499,827)
   AND a1 in (963,445,810,524,268,829)
   AND 36=d6

query IIIIIII rowsort join483
SELECT e5, a1, b8, e7, e3+629, b2, a4
  FROM t5, t4, t2, t8, t3, t1, t7
 WHERE a3=b7
   AND e8 in (310,495,561,806,488)
   AND a1 in (179,553,32,222,820)
   AND c2=496
   AND b4=372
   AND c5 in (18,747,261,185,799,130)
   AND e7 in (887,254,67,456,884,975,319,103)

query IIIIIII rowsort join483
SELECT e5, a1, b8, e7, e3+629, b2, a4
  FROM t8, t3, t4, t1, t7, t5, t2
 WHERE a1 in (179,553,32,222,820)
   AND b4=372
   AND e8 in (310,495,561,806,488)
   AND a3=b7
   AND c5 in (18,747,261,185,799,130)
   AND c2=496
   AND e7 in (887,254,67,456,884,975,319,103)

query IIIIIII rowsort join483
SELECT e5, a1, b8, e7, e3+629, b2, a4
  FROM t4, t3, t1, t5, t2, t7, t8
 WHERE c2=496
   AND c5 in (18,747,261,185,799,130)
   AND b4=372
   AND e7 in (887,254,67,456,884,975,319,103)
   AND a3=b7
   AND a1 in (179,553,32,222,820)
   AND e8 in (310,495,561,806,488)

query IIIIIII rowsort join483
SELECT e5, a1, b8, e7, e3+629, b2, a4
  FROM t3, t2, t1, t5, t4, t8, t7
 WHERE e8 in (310,495,561,806,488)
   AND e7 in (887,254,67,456,884,975,319,103)
   AND b4=372
   AND c5 in (18,747,261,185,799,130)
   AND c2=496
   AND a1 in (179,553,32,222,820)
   AND a3=b7

query ITIII rowsort join484
SELECT d2, x3, a8, b1, b5
  FROM t3, t8, t5, t1, t2
 WHERE c5 in (249,668,960)
   AND 463=e8
   AND e2 in (925,997,521,777,302,294,688,125)
   AND a3 in (499,198,929,959,306,145)
   AND a1 in (524,864,521,352,498)

query ITIII rowsort join484
SELECT d2, x3, a8, b1, b5
  FROM t8, t3, t5, t2, t1
 WHERE 463=e8
   AND c5 in (249,668,960)
   AND a3 in (499,198,929,959,306,145)
   AND e2 in (925,997,521,777,302,294,688,125)
   AND a1 in (524,864,521,352,498)

query ITIII rowsort join484
SELECT d2, x3, a8, b1, b5
  FROM t3, t2, t8, t5, t1
 WHERE e2 in (925,997,521,777,302,294,688,125)
   AND c5 in (249,668,960)
   AND 463=e8
   AND a3 in (499,198,929,959,306,145)
   AND a1 in (524,864,521,352,498)

query ITIII rowsort join484
SELECT d2, x3, a8, b1, b5
  FROM t3, t8, t5, t2, t1
 WHERE a3 in (499,198,929,959,306,145)
   AND c5 in (249,668,960)
   AND e2 in (925,997,521,777,302,294,688,125)
   AND a1 in (524,864,521,352,498)
   AND 463=e8

query TI rowsort join485
SELECT x6, d9
  FROM t9, t6
 WHERE d6 in (458,929,36,2,970,807,561,129)
   AND a9 in (559,389,567,14,821,879,964,335)

query TI rowsort join485
SELECT x6, d9
  FROM t6, t9
 WHERE d6 in (458,929,36,2,970,807,561,129)
   AND a9 in (559,389,567,14,821,879,964,335)

query TI rowsort join485
SELECT x6, d9
  FROM t9, t6
 WHERE a9 in (559,389,567,14,821,879,964,335)
   AND d6 in (458,929,36,2,970,807,561,129)

query TI rowsort join485
SELECT x6, d9
  FROM t6, t9
 WHERE a9 in (559,389,567,14,821,879,964,335)
   AND d6 in (458,929,36,2,970,807,561,129)

query IIIIIT rowsort join486
SELECT e2, c5+766, e1, d9, d4+913+d2, x3
  FROM t1, t5, t2, t3, t4, t9
 WHERE a3 in (335,608,992,282,576,818,347,952)
   AND b9 in (289,171,549,759,211,804,827)
   AND c5 in (27,844,668,729,187,625,545,697)
   AND d2 in (836,284,306,256,263,8,772,476)
   AND a1 in (604,707,746,445,767,337,76)
   AND b4=e3

query IIIIIT rowsort join486
SELECT e2, c5+766, e1, d9, d4+913+d2, x3
  FROM t2, t4, t1, t9, t3, t5
 WHERE d2 in (836,284,306,256,263,8,772,476)
   AND c5 in (27,844,668,729,187,625,545,697)
   AND a1 in (604,707,746,445,767,337,76)
   AND a3 in (335,608,992,282,576,818,347,952)
   AND b9 in (289,171,549,759,211,804,827)
   AND b4=e3

query IIIIIT rowsort join486
SELECT e2, c5+766, e1, d9, d4+913+d2, x3
  FROM t1, t9, t2, t5, t3, t4
 WHERE b9 in (289,171,549,759,211,804,827)
   AND c5 in (27,844,668,729,187,625,545,697)
   AND a1 in (604,707,746,445,767,337,76)
   AND d2 in (836,284,306,256,263,8,772,476)
   AND b4=e3
   AND a3 in (335,608,992,282,576,818,347,952)

query IIIIIT rowsort join486
SELECT e2, c5+766, e1, d9, d4+913+d2, x3
  FROM t3, t5, t1, t2, t4, t9
 WHERE b9 in (289,171,549,759,211,804,827)
   AND d2 in (836,284,306,256,263,8,772,476)
   AND c5 in (27,844,668,729,187,625,545,697)
   AND b4=e3
   AND a3 in (335,608,992,282,576,818,347,952)
   AND a1 in (604,707,746,445,767,337,76)

query III rowsort join487
SELECT a9*930+d6, c6, a3
  FROM t6, t9, t3
 WHERE (a3=720 OR a3=16 OR 727=a3)
   AND e9 in (978,368,264)
   AND d6 in (970,993,35,974)

query III rowsort join487
SELECT a9*930+d6, c6, a3
  FROM t3, t6, t9
 WHERE e9 in (978,368,264)
   AND d6 in (970,993,35,974)
   AND (a3=720 OR a3=16 OR 727=a3)

query III rowsort join487
SELECT a9*930+d6, c6, a3
  FROM t6, t3, t9
 WHERE d6 in (970,993,35,974)
   AND e9 in (978,368,264)
   AND (a3=720 OR a3=16 OR 727=a3)

query III rowsort join487
SELECT a9*930+d6, c6, a3
  FROM t3, t9, t6
 WHERE e9 in (978,368,264)
   AND d6 in (970,993,35,974)
   AND (a3=720 OR a3=16 OR 727=a3)

query ITIII rowsort join488
SELECT d6, x5, d2+d3, d3, c8+483
  FROM t5, t3, t8, t6, t2
 WHERE e8=533
   AND d2 in (682,2,749,555,209)
   AND c5=924
   AND d6=797
   AND 184=a3

query ITIII rowsort join488
SELECT d6, x5, d2+d3, d3, c8+483
  FROM t2, t6, t3, t8, t5
 WHERE 184=a3
   AND c5=924
   AND e8=533
   AND d6=797
   AND d2 in (682,2,749,555,209)

query ITIII rowsort join488
SELECT d6, x5, d2+d3, d3, c8+483
  FROM t8, t6, t3, t5, t2
 WHERE d2 in (682,2,749,555,209)
   AND 184=a3
   AND e8=533
   AND c5=924
   AND d6=797

query ITIII rowsort join488
SELECT d6, x5, d2+d3, d3, c8+483
  FROM t6, t2, t5, t3, t8
 WHERE 184=a3
   AND d2 in (682,2,749,555,209)
   AND d6=797
   AND e8=533
   AND c5=924

query III rowsort join489
SELECT a3+263, b2, d4*885
  FROM t3, t2, t4
 WHERE d2 in (621,476,10)
   AND b4 in (707,40,635,713)
   AND a3=380

query III rowsort join489
SELECT a3+263, b2, d4*885
  FROM t4, t3, t2
 WHERE a3=380
   AND b4 in (707,40,635,713)
   AND d2 in (621,476,10)

query III rowsort join489
SELECT a3+263, b2, d4*885
  FROM t2, t3, t4
 WHERE d2 in (621,476,10)
   AND a3=380
   AND b4 in (707,40,635,713)

query III rowsort join489
SELECT a3+263, b2, d4*885
  FROM t3, t2, t4
 WHERE b4 in (707,40,635,713)
   AND d2 in (621,476,10)
   AND a3=380

query III rowsort join490
SELECT d5*80, e4, e7
  FROM t4, t7, t5
 WHERE 48=e7
   AND b4=407
   AND c5=696

query III rowsort join490
SELECT d5*80, e4, e7
  FROM t4, t5, t7
 WHERE b4=407
   AND c5=696
   AND 48=e7

query III rowsort join490
SELECT d5*80, e4, e7
  FROM t7, t4, t5
 WHERE 48=e7
   AND c5=696
   AND b4=407

query III rowsort join490
SELECT d5*80, e4, e7
  FROM t5, t7, t4
 WHERE c5=696
   AND b4=407
   AND 48=e7

query III rowsort join491
SELECT d5, c9+e5, e1*535+b9
  FROM t9, t1, t5
 WHERE c9 in (151,323,696,923,767,180)
   AND c5 in (86,130,797,978,210,14