From 6f8b7de23151af2a6caeb96cd12e21e0d8c249f4 Mon Sep 17 00:00:00 2001 From: xxchan Date: Thu, 8 Dec 2022 21:14:54 +0100 Subject: [PATCH 1/3] fix: hash-threshold should be compared with the number of values, instead of the number of rows Signed-off-by: xxchan --- sqllogictest/src/runner.rs | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/sqllogictest/src/runner.rs b/sqllogictest/src/runner.rs index a0c2461..b064b3c 100644 --- a/sqllogictest/src/runner.rs +++ b/sqllogictest/src/runner.rs @@ -429,6 +429,10 @@ impl Runner { self.validator = validator; } + pub fn with_hash_threshold(&mut self, hash_threshold: usize) { + self.hash_threshold = hash_threshold; + } + pub async fn apply_record(&mut self, record: Record) -> RecordOutput { match record { Record::Statement { conditions, .. } if self.should_skip(&conditions) => { @@ -504,7 +508,7 @@ impl Runner { Some(SortMode::ValueSort) => todo!("value sort"), }; - if self.hash_threshold > 0 && rows.len() > self.hash_threshold { + if self.hash_threshold > 0 && rows.len() * types.len() > self.hash_threshold { let mut md5 = md5::Context::new(); for line in &rows { for value in line { From b16b82f2f8ee8901feb55faebd19dbc95567f3bb Mon Sep 17 00:00:00 2001 From: xxchan Date: Thu, 8 Dec 2022 22:27:12 +0100 Subject: [PATCH 2/3] test against sqlite's test suite Signed-off-by: xxchan --- sqllogictest/src/runner.rs | 41 +- tests/Cargo.toml | 8 +- tests/sqlite.rs | 87 + tests/sqlite/select1.test | 12188 +++++++++ tests/sqlite/select2.test | 11218 ++++++++ tests/sqlite/select3.test | 40769 +++++++++++++++++++++++++++++ tests/sqlite/select4.test | 48300 +++++++++++++++++++++++++++++++++++ tests/sqlite/select5.test | 31948 +++++++++++++++++++++++ 8 files changed, 144550 insertions(+), 9 deletions(-) create mode 100644 tests/sqlite.rs create mode 100644 tests/sqlite/select1.test create mode 100644 tests/sqlite/select2.test create mode 100644 tests/sqlite/select3.test create mode 100644 tests/sqlite/select4.test create mode 100644 tests/sqlite/select5.test diff --git a/sqllogictest/src/runner.rs b/sqllogictest/src/runner.rs index b064b3c..5e8c34c 100644 --- a/sqllogictest/src/runner.rs +++ b/sqllogictest/src/runner.rs @@ -500,15 +500,30 @@ impl Runner { } }; + let mut value_sort = false; match sort_mode.as_ref().or(self.sort_mode.as_ref()) { None | Some(SortMode::NoSort) => {} Some(SortMode::RowSort) => { rows.sort_unstable(); } - Some(SortMode::ValueSort) => todo!("value sort"), + Some(SortMode::ValueSort) => { + rows = rows + .iter() + .flat_map(|row| row.iter()) + .map(|s| vec![s.to_owned()]) + .collect(); + rows.sort_unstable(); + value_sort = true; + } }; - if self.hash_threshold > 0 && rows.len() * types.len() > self.hash_threshold { + let num_values = if value_sort { + rows.len() + } else { + rows.len() * types.len() + }; + + if self.hash_threshold > 0 && num_values > self.hash_threshold { let mut md5 = md5::Context::new(); for line in &rows { for value in line { @@ -692,17 +707,27 @@ impl Runner { } // We compare normalized results. Whitespace characters are ignored. - let normalized_rows = rows - .into_iter() - .map(|strs| strs.iter().map(normalize_string).join(" ")) - .collect_vec(); let expected_results = expected_results.iter().map(normalize_string).collect_vec(); - if !(self.validator)(&normalized_rows, &expected_results) { + + let actual_results = + if types.len() > 1 && rows.len() * types.len() == expected_results.len() { + // value-wise mode + rows.into_iter() + .flat_map(|strs| strs.iter().map(normalize_string).collect_vec()) + .collect_vec() + } else { + // row-wise mode + rows.into_iter() + .map(|strs| strs.iter().map(normalize_string).join(" ")) + .collect_vec() + }; + + if !(self.validator)(&actual_results, &expected_results) { return Err(TestErrorKind::QueryResultMismatch { sql, expected: expected_results.join("\n"), - actual: normalized_rows.join("\n"), + actual: actual_results.join("\n"), } .at(loc)); } diff --git a/tests/Cargo.toml b/tests/Cargo.toml index de111c4..3f9c63b 100644 --- a/tests/Cargo.toml +++ b/tests/Cargo.toml @@ -6,8 +6,14 @@ publish = false [dependencies] sqllogictest = { path = "../sqllogictest" } +rusqlite = { version = "0.28", features = ["bundled"] } [[test]] name = "harness" path = "./harness.rs" -harness = false \ No newline at end of file +harness = false + +[[test]] +name = "sqlite" +path = "./sqlite.rs" +harness = false diff --git a/tests/sqlite.rs b/tests/sqlite.rs new file mode 100644 index 0000000..7992580 --- /dev/null +++ b/tests/sqlite.rs @@ -0,0 +1,87 @@ +use rusqlite::{types::ValueRef, Connection, Error}; + +use sqllogictest::{harness, ColumnType, DBOutput, Runner, DB}; + +fn hash_threshold(filename: &str) -> usize { + match filename { + "sqlite/select1.test" => 8, + "sqlite/select4.test" => 8, + "sqlite/select5.test" => 8, + _ => 0, + } +} + +fn main() { + let paths = harness::glob("sqlite/**/*.test").unwrap(); + let mut tests = vec![]; + for entry in paths { + let path = entry.unwrap(); + let filename = path.to_str().unwrap().to_string(); + tests.push(harness::Trial::test(filename.clone(), move || { + let mut tester = Runner::new(db_fn()); + tester.with_hash_threshold(hash_threshold(&filename)); + tester.run_file(path)?; + Ok(()) + })); + } + harness::run(&harness::Arguments::from_args(), tests).exit(); +} + +struct ConnectionWrapper(Connection); + +fn db_fn() -> ConnectionWrapper { + let c = Connection::open_in_memory().unwrap(); + ConnectionWrapper(c) +} + +fn value_to_string(v: ValueRef) -> String { + match v { + ValueRef::Null => "NULL".to_string(), + ValueRef::Integer(i) => i.to_string(), + ValueRef::Real(r) => r.to_string(), + ValueRef::Text(s) => std::str::from_utf8(s).unwrap().to_string(), + ValueRef::Blob(_) => todo!(), + } +} + +impl DB for ConnectionWrapper { + type Error = Error; + + fn run(&mut self, sql: &str) -> Result { + let mut output = vec![]; + + let is_query_sql = { + let lower_sql = sql.trim_start().to_ascii_lowercase(); + lower_sql.starts_with("select") + || lower_sql.starts_with("values") + || lower_sql.starts_with("show") + || lower_sql.starts_with("with") + || lower_sql.starts_with("describe") + }; + + if is_query_sql { + let mut stmt = self.0.prepare(sql)?; + let column_count = stmt.column_count(); + let mut rows = stmt.query([])?; + while let Some(row) = rows.next()? { + let mut row_output = vec![]; + for i in 0..column_count { + let row = row.get_ref(i)?; + row_output.push(value_to_string(row)); + } + output.push(row_output); + } + Ok(DBOutput::Rows { + types: vec![ColumnType::Any; column_count], + rows: output, + }) + } else { + let cnt = self.0.execute(sql, [])?; + Ok(DBOutput::StatementComplete(cnt as u64)) + } + } + + fn engine_name(&self) -> &str { + "sqlite" + } +} diff --git a/tests/sqlite/select1.test b/tests/sqlite/select1.test new file mode 100644 index 0000000..3a488f4 --- /dev/null +++ b/tests/sqlite/select1.test @@ -0,0 +1,12188 @@ +statement ok +CREATE TABLE t1(a INTEGER, b INTEGER, c INTEGER, d INTEGER, e INTEGER) + +statement ok +INSERT INTO t1(e,c,b,d,a) VALUES(103,102,100,101,104) + +statement ok +INSERT INTO t1(a,c,d,e,b) VALUES(107,106,108,109,105) + +statement ok +INSERT INTO t1(e,d,b,a,c) VALUES(110,114,112,111,113) + +statement ok +INSERT INTO t1(d,c,e,a,b) VALUES(116,119,117,115,118) + +statement ok +INSERT INTO t1(c,d,b,e,a) VALUES(123,122,124,120,121) + +statement ok +INSERT INTO t1(a,d,b,e,c) VALUES(127,128,129,126,125) + +statement ok +INSERT INTO t1(e,c,a,d,b) VALUES(132,134,131,133,130) + +statement ok +INSERT INTO t1(a,d,b,e,c) VALUES(138,136,139,135,137) + +statement ok +INSERT INTO t1(e,c,d,a,b) VALUES(144,141,140,142,143) + +statement ok +INSERT INTO t1(b,a,e,d,c) VALUES(145,149,146,148,147) + +statement ok +INSERT INTO t1(b,c,a,d,e) VALUES(151,150,153,154,152) + +statement ok +INSERT INTO t1(c,e,a,d,b) VALUES(155,157,159,156,158) + +statement ok +INSERT INTO t1(c,b,a,d,e) VALUES(161,160,163,164,162) + +statement ok +INSERT INTO t1(b,d,a,e,c) VALUES(167,169,168,165,166) + +statement ok +INSERT INTO t1(d,b,c,e,a) VALUES(171,170,172,173,174) + +statement ok +INSERT INTO t1(e,c,a,d,b) VALUES(177,176,179,178,175) + +statement ok +INSERT INTO t1(b,e,a,d,c) VALUES(181,180,182,183,184) + +statement ok +INSERT INTO t1(c,a,b,e,d) VALUES(187,188,186,189,185) + +statement ok +INSERT INTO t1(d,b,c,e,a) VALUES(190,194,193,192,191) + +statement ok +INSERT INTO t1(a,e,b,d,c) VALUES(199,197,198,196,195) + +statement ok +INSERT INTO t1(b,c,d,a,e) VALUES(200,202,203,201,204) + +statement ok +INSERT INTO t1(c,e,a,b,d) VALUES(208,209,205,206,207) + +statement ok +INSERT INTO t1(c,e,a,d,b) VALUES(214,210,213,212,211) + +statement ok +INSERT INTO t1(b,c,a,d,e) VALUES(218,215,216,217,219) + +statement ok +INSERT INTO t1(b,e,d,a,c) VALUES(223,221,222,220,224) + +statement ok +INSERT INTO t1(d,e,b,a,c) VALUES(226,227,228,229,225) + +statement ok +INSERT INTO t1(a,c,b,e,d) VALUES(234,231,232,230,233) + +statement ok +INSERT INTO t1(e,b,a,c,d) VALUES(237,236,239,235,238) + +statement ok +INSERT INTO t1(e,c,b,a,d) VALUES(242,244,240,243,241) + +statement ok +INSERT INTO t1(e,d,c,b,a) VALUES(246,248,247,249,245) + +query I nosort +SELECT CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END + FROM t1 + ORDER BY 1 +---- +30 values hashing to 3c13dee48d9356ae19af2515e05e6b54 + +query II nosort +SELECT a+b*2+c*3+d*4+e*5, + (a+b+c+d+e)/5 + FROM t1 + ORDER BY 1,2 +---- +60 values hashing to 808146289313018fce25f1a280bd8c30 + +query IIIII nosort +SELECT a+b*2+c*3+d*4+e*5, + CASE WHEN ac OR ee + AND EXISTS(SELECT 1 FROM t1 AS x WHERE x.bc OR ec + AND c>d + ORDER BY 3,4,5,1,2,6 +---- +24 values hashing to 425542fc8d1ec04f89534ae98d59a74d + +query IIII nosort +SELECT a+b*2+c*3+d*4, + CASE a+1 WHEN b THEN 111 WHEN c THEN 222 + WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, + (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.d=d+2) + ORDER BY 4,2,1,3 +---- +60 values hashing to a2af299d7b2197866b7c8f6854b77ab5 + +query I nosort +SELECT CASE a+1 WHEN b THEN 111 WHEN c THEN 222 + WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END + FROM t1 + ORDER BY 1 +---- +30 values hashing to f2bf77f8cfb62666ab72c866ed4d4f1a + +query I nosort +SELECT (SELECT count(*) FROM t1 AS x WHERE x.bb-2 AND ad + ORDER BY 1 +---- +20 values hashing to 1d6b8ed1db696a5f1c8d126facddd077 + +query IIIII nosort +SELECT a, + (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.db + OR b>c + ORDER BY 1,4,3,2,5 +---- +145 values hashing to 65042db64d506f67a37c85f825cdd11f + +query IIIIIII nosort +SELECT CASE a+1 WHEN b THEN 111 WHEN c THEN 222 + WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, + CASE WHEN a(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + abs(b-c) + FROM t1 + WHERE EXISTS(SELECT 1 FROM t1 AS x WHERE x.bc + OR d NOT BETWEEN 110 AND 150 + ORDER BY 4,1,5,2,6,3,7 +---- +210 values hashing to a259991ed1248a55a07838ce36a7c257 + +query IIIIII nosort +SELECT CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + CASE WHEN at1.c AND x.db + OR d NOT BETWEEN 110 AND 150 + ORDER BY 5,3,6,1,2,4 +---- +180 values hashing to 631b9506abcdd5dcea64c7ed2a3799ed + +query IIIII nosort +SELECT (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.dd + ORDER BY 3,5,4,1,2 +---- +125 values hashing to 58b4ab36ed442f3837188b38cd02486a + +query IIIIII nosort +SELECT CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + a-b, + abs(b-c), + c, + CASE WHEN ab + ORDER BY 5,4,6,2,1,7,3 +---- +133 values hashing to af6179f0918bfe7e3a9cd1940fbb3f75 + +query II nosort +SELECT a, + b + FROM t1 + ORDER BY 1,2 +---- +60 values hashing to f88a6f6656b30fc5b3c4ede940008ff2 + +query III nosort +SELECT c, + a-b, + (SELECT count(*) FROM t1 AS x WHERE x.b(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + a+b*2+c*3+d*4+e*5, + abs(b-c), + b-c, + CASE a+1 WHEN b THEN 111 WHEN c THEN 222 + WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, + a-b + FROM t1 + WHERE b>c + AND a>b + AND d NOT BETWEEN 110 AND 150 + ORDER BY 2,1,6,4,3,5 +---- +42 values hashing to 6921d8dad7855bee57bd82dfd5fcbabc + +query IIIIII nosort +SELECT a+b*2+c*3+d*4+e*5, + abs(a), + b-c, + c-d, + CASE a+1 WHEN b THEN 111 WHEN c THEN 222 + WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, + a + FROM t1 + WHERE c BETWEEN b-2 AND d+2 + OR e+d BETWEEN a+b-10 AND c+130 + ORDER BY 1,5,4,2,6,3 +---- +144 values hashing to 1d2ad7123e951f275353001a6879b3c8 + +query IIIIIII nosort +SELECT CASE WHEN a(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + b-c, + a+b*2 + FROM t1 + ORDER BY 6,2,4,5,3,1 +---- +180 values hashing to 9fc96182924e07a6ffa415425e69adcf + +query IIIIIII nosort +SELECT d-e, + abs(a), + b, + c-d, + a+b*2+c*3, + abs(b-c), + CASE WHEN ac OR ee + AND c>d + ORDER BY 1,3,7,5,2,6,4 +---- +42 values hashing to 1b3471ef4d294cdab97aa6e5eb44bdc6 + +query IIIIIII nosort +SELECT CASE WHEN a(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END + FROM t1 + WHERE e+d BETWEEN a+b-10 AND c+130 + AND c>d + ORDER BY 1 +---- +1000 +1180 +1240 + +query IIIIIII nosort +SELECT a+b*2+c*3, + abs(b-c), + CASE a+1 WHEN b THEN 111 WHEN c THEN 222 + WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, + a, + a+b*2+c*3+d*4, + a+b*2, + (SELECT count(*) FROM t1 AS x WHERE x.bb-2 AND a(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + c, + CASE WHEN ae + AND (c<=d-2 OR c>=d+2) + AND b>c + ORDER BY 2,3,1,5,4 +---- +25 values hashing to d26c6a15ff9231615a949e9c2412fc2b + +query IIIIIII nosort +SELECT a+b*2+c*3+d*4+e*5, + CASE WHEN a(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END + FROM t1 + WHERE (e>c OR eb + ORDER BY 4,5,3,7,1,6,2 +---- +196 values hashing to 601e621103e91110c69c4545c08a48c1 + +query IIIII nosort +SELECT (SELECT count(*) FROM t1 AS x WHERE x.bt1.c AND x.dc OR eb + AND (a>b-2 AND ab + OR c BETWEEN b-2 AND d+2 + OR c>d + ORDER BY 3,2,1,4,5 +---- +140 values hashing to dd6eae29e54f220617fca7f22df83acb + +query IIIIII nosort +SELECT d, + a+b*2+c*3+d*4+e*5, + a+b*2+c*3, + c-d, + (a+b+c+d+e)/5, + a-b + FROM t1 + ORDER BY 3,4,2,6,5,1 +---- +180 values hashing to 4cf6744bf5d3826cd98ad853eeb5beba + +query IIIIIII nosort +SELECT CASE a+1 WHEN b THEN 111 WHEN c THEN 222 + WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, + a+b*2+c*3+d*4+e*5, + (a+b+c+d+e)/5, + abs(b-c), + abs(a), + (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.d(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + b, + c, + e + FROM t1 + WHERE b>c + ORDER BY 1,2,4,3,5 +---- +70 values hashing to f0e2146374bd151d6ede973c9ed1f2a5 + +query IIIIII nosort +SELECT a-b, + a, + a+b*2+c*3, + b, + d, + d-e + FROM t1 + WHERE (e>a AND ec + ORDER BY 2,6,5,4,3,1 +---- +84 values hashing to 5e2c89b85bc66b196ff3083128f5a494 + +query IIIII nosort +SELECT b, + (a+b+c+d+e)/5, + CASE a+1 WHEN b THEN 111 WHEN c THEN 222 + WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, + abs(b-c), + b-c + FROM t1 + WHERE a>b + ORDER BY 2,5,3,4,1 +---- +95 values hashing to eae71ba4e872a3ba44a0ecd1bf870a3e + +query IIII nosort +SELECT abs(b-c), + a, + a+b*2, + CASE WHEN ab-2 AND ad + ORDER BY 2,1,3 +---- +15 values hashing to 08fa8e3fd6a4743609ebd0354e659bba + +query IIII nosort +SELECT a, + e, + CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + a-b + FROM t1 + ORDER BY 2,4,3,1 +---- +120 values hashing to c328c1a96813bf1072935593f41667ab + +query III nosort +SELECT (a+b+c+d+e)/5, + e, + (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.dc OR et1.c AND x.de + OR (e>a AND eb + ORDER BY 1 +---- +23 values hashing to 58bbff23f68fc8cebb2a4c6436d0b04a + +query IIIIII nosort +SELECT CASE a+1 WHEN b THEN 111 WHEN c THEN 222 + WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, + (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.db-2 AND ad + AND a>b + AND (a>b-2 AND at1.c AND x.dc + AND (a>b-2 AND a(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + a+b*2+c*3+d*4+e*5, + d + FROM t1 + WHERE d>e + OR (a>b-2 AND ad + ORDER BY 2,3,4,1 +---- +120 values hashing to d15570017ab0bf7eb3db1e803003e5f0 + +query I nosort +SELECT a+b*2+c*3 + FROM t1 + ORDER BY 1 +---- +30 values hashing to 20bb63abd067ae8ef5a05f08be3b6762 + +query IIIII nosort +SELECT CASE WHEN ae + ORDER BY 3,4,1,2,5 +---- +80 values hashing to dda48f2f14d6eef074c866167931274f + +query II nosort +SELECT (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.dc + ORDER BY 1,2 +---- +28 values hashing to 2d23fde26e5c80f6eabca42e592bde71 + +query IIIII nosort +SELECT a+b*2+c*3+d*4+e*5, + a, + CASE a+1 WHEN b THEN 111 WHEN c THEN 222 + WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, + a+b*2+c*3+d*4, + b-c + FROM t1 + WHERE d>e + ORDER BY 4,1,5,3,2 +---- +80 values hashing to 36b0bd3c4a5efd58912d89eec64b42fe + +query III nosort +SELECT a-b, + a+b*2+c*3+d*4, + (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.dc OR ec + AND d>e + ORDER BY 1 +---- +120 +126 +135 +152 +165 +230 +237 +246 + +query II nosort +SELECT b, + e + FROM t1 + WHERE (c<=d-2 OR c>=d+2) + ORDER BY 2,1 +---- +30 values hashing to e2107ed9f44c1f14fa1a14b1818a2073 + +query IIII nosort +SELECT b-c, + d-e, + c-d, + a+b*2+c*3 + FROM t1 + ORDER BY 1,2,4,3 +---- +120 values hashing to d9fe6e44ef568e5ddcdd440b1c1058b2 + +query II nosort +SELECT abs(b-c), + CASE WHEN ac OR ec + OR (a>b-2 AND a(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + (SELECT count(*) FROM t1 AS x WHERE x.be + AND d NOT BETWEEN 110 AND 150 + ORDER BY 5,3,1,4,2 +---- +50 values hashing to 0d42d0a09548edf4a343fe9e95c98b2c + +query IIIIII nosort +SELECT (a+b+c+d+e)/5, + (SELECT count(*) FROM t1 AS x WHERE x.b(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + c-d, + a+b*2+c*3+d*4, + a+b*2+c*3+d*4+e*5 + FROM t1 + WHERE (e>a AND ed + ORDER BY 2,5,6,4,1,3 +---- +18 values hashing to 51c5d8e007a143cf3bf858945f677039 + +query IIIIIII nosort +SELECT (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.dc OR ea AND e=d+2) + AND (a>b-2 AND ab-2 AND ae + ORDER BY 1,2 +---- +30 values hashing to 841db017799a825a9fce9bcc940f7f96 + +query I nosort +SELECT b-c + FROM t1 + ORDER BY 1 +---- +30 values hashing to 970be304ddec1d2bede8d8e2f14368c6 + +query IIIIII nosort +SELECT (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.dd + OR (a>b-2 AND ae + AND d NOT BETWEEN 110 AND 150 + AND (e>a AND ee + OR c BETWEEN b-2 AND d+2 + ORDER BY 2,1,4,3,5 +---- +115 values hashing to 05325b83edf1f52fb3d249495c4114e2 + +query II nosort +SELECT a-b, + CASE WHEN ac + AND (a>b-2 AND ac OR ec + ORDER BY 4,3,2,1 +---- +112 values hashing to 5ae5415105496a1711310d3c42176846 + +query IIII nosort +SELECT a+b*2+c*3+d*4, + (SELECT count(*) FROM t1 AS x WHERE x.bc + ORDER BY 2,4,3,1 +---- +56 values hashing to 5f4a5fcffe6f102f57b56bf2e339dd89 + +query II nosort +SELECT b, + abs(b-c) + FROM t1 + WHERE c>d + AND a>b + AND EXISTS(SELECT 1 FROM t1 AS x WHERE x.bt1.c AND x.d(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + abs(b-c), + a+b*2+c*3+d*4+e*5, + CASE WHEN at1.c AND x.dc OR ec OR ee + OR c BETWEEN b-2 AND d+2 + ORDER BY 3,2,1 +---- +90 values hashing to 27ca10878c9391decf14b1da14b81a1a + +query II nosort +SELECT (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.da AND e=d+2) + OR e+d BETWEEN a+b-10 AND c+130 + ORDER BY 2,1 +---- +38 values hashing to 6b17e3a64ebbafbdf4ec543abf34d414 + +query III nosort +SELECT (a+b+c+d+e)/5, + abs(a), + d + FROM t1 + WHERE e+d BETWEEN a+b-10 AND c+130 + AND (e>c OR ee + ORDER BY 4,5,3,6,2,1,7 +---- +112 values hashing to 056a2f68932723bbdeb9dc7c26e21ff8 + +query IIIII nosort +SELECT a, + d, + a+b*2+c*3+d*4+e*5, + a-b, + (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.db-2 AND ac + ORDER BY 1,3,5,4,2 +---- +140 values hashing to 3dfb60ce29bfaa3deb2c90771787ae28 + +query IIIIIII nosort +SELECT (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.d=d+2) + OR (e>a AND ee + ORDER BY 5,6,3,7,2,1,4 +---- +154 values hashing to 7be42f68cbfeb20d2a574569eabc62b8 + +query IIIII nosort +SELECT b-c, + c, + CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + (SELECT count(*) FROM t1 AS x WHERE x.bd + OR (a>b-2 AND ac + ORDER BY 1,3,5,2,4 +---- +130 values hashing to 3872625fdb5d1bd8d2d87c61b2c5d2b9 + +query IIIIIII nosort +SELECT b-c, + CASE WHEN at1.c AND x.dc + OR d NOT BETWEEN 110 AND 150 + OR (e>c OR et1.c AND x.d=d+2) + OR c>d + ORDER BY 1,3,2 +---- +81 values hashing to 3bd0cf1b195cb05eea3e0621c5a4f38e + +query II nosort +SELECT CASE a+1 WHEN b THEN 111 WHEN c THEN 222 + WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, + a+b*2+c*3 + FROM t1 + ORDER BY 2,1 +---- +60 values hashing to 1692ce3bd9941e0f21090da530fd3ed8 + +query IIIIIII nosort +SELECT a+b*2+c*3+d*4, + c, + CASE WHEN a=d+2) + ORDER BY 6,2,4,3,1,7,5 +---- +70 values hashing to e83d593c583f1a0cfb445b1c4ab673b7 + +query IIIII nosort +SELECT (a+b+c+d+e)/5, + a-b, + b, + a+b*2, + a + FROM t1 + WHERE (a>b-2 AND ac OR ee + ORDER BY 4,2,5,3,1 +---- +25 values hashing to 4d716c3a4be4e2c0fcaeb771d9557147 + +query IIIIII nosort +SELECT CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + d, + e, + c-d, + a+b*2+c*3+d*4, + CASE a+1 WHEN b THEN 111 WHEN c THEN 222 + WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END + FROM t1 + WHERE c BETWEEN b-2 AND d+2 + AND c>d + AND EXISTS(SELECT 1 FROM t1 AS x WHERE x.be + AND (e>a AND eb + OR c>d + ORDER BY 1,5,3,2,4 +---- +130 values hashing to 9873ab86b9fa0eef10810ba4277fd1bf + +query IIIIII nosort +SELECT a+b*2+c*3+d*4+e*5, + a, + abs(a), + a-b, + d-e, + CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END + FROM t1 + WHERE EXISTS(SELECT 1 FROM t1 AS x WHERE x.bc + ORDER BY 4,6,3,1,5,2 +---- +84 values hashing to c1c96a830016492c89e9fe7b92275b24 + +query II nosort +SELECT a+b*2+c*3, + a + FROM t1 + WHERE (e>c OR eb + ORDER BY 1,2 +---- +56 values hashing to fedff1b28e56669aacb1dc79b927abf9 + +query III nosort +SELECT CASE a+1 WHEN b THEN 111 WHEN c THEN 222 + WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, + c-d, + a+b*2+c*3 + FROM t1 + WHERE (c<=d-2 OR c>=d+2) + AND (a>b-2 AND at1.c AND x.de + ORDER BY 4,2,1,5,3 +---- +80 values hashing to 06c104cf923af770f3cf98700c2428d0 + +query I nosort +SELECT e + FROM t1 + ORDER BY 1 +---- +30 values hashing to 41762f74ba25ab0f9b0448f319f2f292 + +query IIIIII nosort +SELECT c-d, + b, + d, + a+b*2+c*3+d*4+e*5, + a+b*2, + (SELECT count(*) FROM t1 AS x WHERE x.bd + ORDER BY 4,3,5,6,2,1 +---- +84 values hashing to e1b8a5e4a3649a2976b00eaf0962058b + +query IIIII nosort +SELECT abs(b-c), + c-d, + a, + CASE WHEN ac + ORDER BY 4,2,1,5,3 +---- +145 values hashing to d7e8eaed9394e826f4fdcccf068acdec + +query IIII nosort +SELECT (SELECT count(*) FROM t1 AS x WHERE x.b(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + a+b*2+c*3 + FROM t1 + WHERE c>d + AND b>c + AND e+d BETWEEN a+b-10 AND c+130 + ORDER BY 3,4,1,2 +---- +4 +1 +1240 +738 + +query I nosort +SELECT (a+b+c+d+e)/5 + FROM t1 + ORDER BY 1 +---- +30 values hashing to 8d2279ba80763220505cecac39786e90 + +query IIIIII nosort +SELECT a+b*2, + (a+b+c+d+e)/5, + (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.dd + ORDER BY 6,5,4,1,3,2 +---- +78 values hashing to f8b104ce0c1d6a8d02976b512c224c33 + +query IIII nosort +SELECT a+b*2+c*3+d*4, + CASE WHEN ac OR eb + OR EXISTS(SELECT 1 FROM t1 AS x WHERE x.be + ORDER BY 2,1,3,4 +---- +120 values hashing to 227ac1db8da88813615a7e008801fba7 + +query III nosort +SELECT (a+b+c+d+e)/5, + a+b*2, + (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.dc OR ec + ORDER BY 2,1,3 +---- +84 values hashing to aa77bd3dacaadb8d94850b7457313394 + +query IIIIIII nosort +SELECT abs(a), + d, + e, + a+b*2+c*3+d*4, + CASE a+1 WHEN b THEN 111 WHEN c THEN 222 + WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, + b-c, + a + FROM t1 + WHERE (a>b-2 AND ab-2 AND ac OR e=d+2) + ORDER BY 6,7,2,1,3,4,5 +---- +-3 +13 +1 +167 +1 +1000 +333 + +query IIIII nosort +SELECT (a+b+c+d+e)/5, + c-d, + CASE a+1 WHEN b THEN 111 WHEN c THEN 222 + WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, + a+b*2+c*3, + d-e + FROM t1 + WHERE a>b + AND c BETWEEN b-2 AND d+2 + AND (a>b-2 AND at1.c AND x.dc + ORDER BY 3,5,4,2,6,7,1 +---- +196 values hashing to ce60e2883fe7a0c41c29c17e9b62bf51 + +query IIIIII nosort +SELECT (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.d(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + abs(a), + a+b*2+c*3+d*4+e*5, + d-e, + CASE WHEN ae + OR b>c + ORDER BY 2,3,1,5,4,6 +---- +150 values hashing to c31247552305ea7108b6c15517e4e50e + +query IIIIII nosort +SELECT b-c, + a+b*2, + a, + (SELECT count(*) FROM t1 AS x WHERE x.ba AND e(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + a+b*2+c*3+d*4+e*5 + FROM t1 + WHERE (e>c OR ee + AND EXISTS(SELECT 1 FROM t1 AS x WHERE x.ba AND et1.c AND x.da AND ec OR e=d+2) + ORDER BY 1 +---- +3331 + +query III nosort +SELECT a+b*2+c*3+d*4, + b, + a-b + FROM t1 + WHERE c>d + OR d>e + OR b>c + ORDER BY 3,1,2 +---- +84 values hashing to 35aa92c733c1c60fedff6d6a36a4e64f + +query I nosort +SELECT a-b + FROM t1 + ORDER BY 1 +---- +30 values hashing to c2001bebc4d3d2d6b01a5a50ce4282ca + +query IIII nosort +SELECT e, + a+b*2+c*3+d*4+e*5, + CASE WHEN ab + OR c BETWEEN b-2 AND d+2 + ORDER BY 3,2,4,1 +---- +104 values hashing to 57317371c67d5ca0360d9860ff06b5f6 + +query IIIII nosort +SELECT (SELECT count(*) FROM t1 AS x WHERE x.b(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + e, + CASE WHEN at1.c AND x.dc + ORDER BY 3,5,4,2,1 +---- +140 values hashing to db6ada3c6b4c6105c96c56f98bd679d1 + +query II nosort +SELECT b-c, + a+b*2+c*3+d*4+e*5 + FROM t1 + WHERE b>c + AND a>b + AND (e>a AND ec + AND a>b + ORDER BY 3,2,1 +---- +21 values hashing to 47e5ff2f412981bf5017a3fcd7dcbfce + +query IIIII nosort +SELECT a+b*2+c*3, + d, + b-c, + (SELECT count(*) FROM t1 AS x WHERE x.bb-2 AND ac + AND c>d + ORDER BY 3,5,1,4,2 +---- +10 values hashing to f7cc18e47d7f1cfbd32b65f410f3661f + +query IIII nosort +SELECT d-e, + (a+b+c+d+e)/5, + CASE a+1 WHEN b THEN 111 WHEN c THEN 222 + WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, + d + FROM t1 + WHERE (e>c OR e=d+2) + AND c>d + ORDER BY 2,1 +---- +12 values hashing to 536e87880b7535393cfec01b6b44b09e + +query I nosort +SELECT CASE WHEN aa AND ee + AND (c<=d-2 OR c>=d+2) + ORDER BY 1 +---- +222 + +query II nosort +SELECT a-b, + b-c + FROM t1 + WHERE b>c + AND d>e + AND c BETWEEN b-2 AND d+2 + ORDER BY 2,1 +---- +14 values hashing to d2bcb971c3fe19befbef456f67ecb854 + +query III nosort +SELECT b, + d, + (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.dc + ORDER BY 1,2,3 +---- +42 values hashing to fdf2c9075b2487f82c8ad837755619d7 + +query I nosort +SELECT a+b*2+c*3+d*4+e*5 + FROM t1 + WHERE EXISTS(SELECT 1 FROM t1 AS x WHERE x.b(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + b-c, + a+b*2 + FROM t1 + WHERE EXISTS(SELECT 1 FROM t1 AS x WHERE x.b(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END + FROM t1 + ORDER BY 1 +---- +30 values hashing to 3c13dee48d9356ae19af2515e05e6b54 + +query II nosort +SELECT a+b*2+c*3+d*4, + a+b*2+c*3 + FROM t1 + WHERE b>c + ORDER BY 1,2 +---- +28 values hashing to 7626a6dc10da4bbb0672aba278414d7f + +query IIIII nosort +SELECT e, + a, + a+b*2+c*3, + b, + d + FROM t1 + WHERE c>d + OR EXISTS(SELECT 1 FROM t1 AS x WHERE x.b(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END + FROM t1 + WHERE a>b + ORDER BY 3,1,2 +---- +57 values hashing to e46ef205fe944f0d32288b2138a40f06 + +query IIIII nosort +SELECT abs(a), + (a+b+c+d+e)/5, + CASE a+1 WHEN b THEN 111 WHEN c THEN 222 + WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, + a+b*2+c*3, + d-e + FROM t1 + ORDER BY 3,1,2,5,4 +---- +150 values hashing to 34ca74f90850eff35ac3a230238544be + +query IIIII nosort +SELECT (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.db-2 AND ac + OR (a>b-2 AND at1.c AND x.d=d+2) + ORDER BY 1,3,2 +---- +45 values hashing to c5572ef5e70213b43133e2248770b61d + +query I nosort +SELECT d + FROM t1 + WHERE (e>a AND ec + AND d>e + ORDER BY 4,5,6,3,2,1 +---- +48 values hashing to 8b118828e8caafc9faa4a21d0f3f4ea5 + +query I nosort +SELECT a+b*2+c*3 + FROM t1 + WHERE c BETWEEN b-2 AND d+2 + ORDER BY 1 +---- +22 values hashing to 5d0ecdbff39863d98aa5a23e0424ac1e + +query IIII nosort +SELECT abs(b-c), + CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + b, + a + FROM t1 + WHERE b>c + AND d>e + ORDER BY 4,1,3,2 +---- +32 values hashing to 3ff228db977b596ebd4901df4462b000 + +query IIIIII nosort +SELECT a+b*2+c*3+d*4, + (a+b+c+d+e)/5, + a, + abs(a), + c-d, + c + FROM t1 + ORDER BY 2,5,4,6,3,1 +---- +180 values hashing to 5e503b736a28f01aee385b8265f1f970 + +query II nosort +SELECT d-e, + (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.db-2 AND ab + ORDER BY 1,3,2 +---- +57 values hashing to 3b71140e165ea6e7999b7cafbbcf505e + +query IIIII nosort +SELECT abs(a), + a-b, + CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + abs(b-c), + d-e + FROM t1 + ORDER BY 3,1,4,5,2 +---- +150 values hashing to 9af213128ae7e4d07c408d80d61aa3e9 + +query II nosort +SELECT abs(b-c), + e + FROM t1 + WHERE c>d + ORDER BY 1,2 +---- +28 values hashing to 574174bf2275d3475e01cc0a0bf79a10 + +query II nosort +SELECT (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.d(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.db + AND (e>a AND ee + OR (a>b-2 AND ab + AND d NOT BETWEEN 110 AND 150 + ORDER BY 2,1 +---- +34 values hashing to b663d3edefc8630f2d6777c28f5c29ab + +query III nosort +SELECT (a+b+c+d+e)/5, + d, + a+b*2+c*3+d*4 + FROM t1 + WHERE EXISTS(SELECT 1 FROM t1 AS x WHERE x.b=d+2) + OR a>b + OR b>c + ORDER BY 3,1,2,4 +---- +112 values hashing to ac8288fa97219e018be4a8600f11d525 + +query IIIIII nosort +SELECT a, + CASE a+1 WHEN b THEN 111 WHEN c THEN 222 + WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, + (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.dc + AND (c<=d-2 OR c>=d+2) + AND EXISTS(SELECT 1 FROM t1 AS x WHERE x.bt1.c AND x.db-2 AND ae + AND (e>a AND ec + ORDER BY 1,5,3,4,2 +---- +247 +743 +3706 +245 +2 + +query I nosort +SELECT a+b*2+c*3 + FROM t1 + WHERE b>c + OR a>b + OR (e>a AND ec + ORDER BY 1,3,2 +---- +24 values hashing to 197dccd8f3680b77a75b13440eff5f55 + +query IIII nosort +SELECT d-e, + a, + b, + CASE a+1 WHEN b THEN 111 WHEN c THEN 222 + WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END + FROM t1 + ORDER BY 3,1,2,4 +---- +120 values hashing to 5a3b2a8f188159e2277f9a1be70537c7 + +query IIIIII nosort +SELECT b, + d, + CASE a+1 WHEN b THEN 111 WHEN c THEN 222 + WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, + abs(b-c), + a+b*2+c*3+d*4+e*5, + a+b*2 + FROM t1 + WHERE d>e + AND c>d + AND EXISTS(SELECT 1 FROM t1 AS x WHERE x.bc + OR d NOT BETWEEN 110 AND 150 + OR c BETWEEN b-2 AND d+2 + ORDER BY 2,1 +---- +58 values hashing to 689847f49b3867b87e7c46dfeb0da7c1 + +query IIII nosort +SELECT a+b*2+c*3, + c-d, + a+b*2+c*3+d*4+e*5, + (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.de + OR (c<=d-2 OR c>=d+2) + OR c BETWEEN b-2 AND d+2 + ORDER BY 1,2,4,3 +---- +108 values hashing to 709932df0abe61ded2f95a3b2b8e9c34 + +query IIIIIII nosort +SELECT (a+b+c+d+e)/5, + abs(a), + CASE a+1 WHEN b THEN 111 WHEN c THEN 222 + WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, + a-b, + a, + (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.de + AND (e>c OR e(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + d + FROM t1 + WHERE (c<=d-2 OR c>=d+2) + ORDER BY 1,5,3,2,4 +---- +75 values hashing to 1cdfc134eae0ccc6b2fdb86041b2f365 + +query IIIIIII nosort +SELECT c, + CASE a+1 WHEN b THEN 111 WHEN c THEN 222 + WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, + a+b*2, + e, + (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.db-2 AND ae + AND d NOT BETWEEN 110 AND 150 + ORDER BY 7,2,1,5,6,4,3 +---- +14 values hashing to d8e81dbe9389b8a7fb955726d1018688 + +query IIIIIII nosort +SELECT (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.d(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END + FROM t1 + WHERE a>b + ORDER BY 7,6,5,2,1,3,4 +---- +133 values hashing to e0e2d07862532072e37e60225da99516 + +query IIIIII nosort +SELECT e, + (SELECT count(*) FROM t1 AS x WHERE x.b(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + CASE a+1 WHEN b THEN 111 WHEN c THEN 222 + WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, + a-b, + (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.db + AND (c<=d-2 OR c>=d+2) + AND c>d + ORDER BY 6,5,4,2,3,1 +---- +18 values hashing to 7b37fd650c93c3580d86ed2112de3518 + +query III nosort +SELECT c, + a+b*2, + e + FROM t1 + WHERE e+d BETWEEN a+b-10 AND c+130 + OR d NOT BETWEEN 110 AND 150 + ORDER BY 1,2,3 +---- +78 values hashing to a88e3903af86c39edba2d15c2acfc4b3 + +query IIIIII nosort +SELECT CASE a+1 WHEN b THEN 111 WHEN c THEN 222 + WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, + a+b*2+c*3+d*4, + b, + b-c, + e, + a + FROM t1 + WHERE EXISTS(SELECT 1 FROM t1 AS x WHERE x.ba AND eb-2 AND a(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + a+b*2+c*3+d*4, + c + FROM t1 + WHERE e+d BETWEEN a+b-10 AND c+130 + OR (c<=d-2 OR c>=d+2) + ORDER BY 1,3,2 +---- +54 values hashing to cbda5acbecfd69e4351d6c31044f2a08 + +query III nosort +SELECT (SELECT count(*) FROM t1 AS x WHERE x.b(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + c-d + FROM t1 + ORDER BY 2,3,1 +---- +90 values hashing to 01e6705b8ce30b74a653cb8e3458effa + +query IIII nosort +SELECT d-e, + abs(b-c), + (a+b+c+d+e)/5, + CASE a+1 WHEN b THEN 111 WHEN c THEN 222 + WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END + FROM t1 + WHERE (a>b-2 AND aa AND eb + ORDER BY 3,4,1,2 +---- + +query IIII nosort +SELECT CASE a+1 WHEN b THEN 111 WHEN c THEN 222 + WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, + a+b*2+c*3, + b-c, + d-e + FROM t1 + ORDER BY 1,2,3,4 +---- +120 values hashing to 8d7ff24438c0a277a9bbed686f335d28 + +query II nosort +SELECT d, + a+b*2+c*3 + FROM t1 + WHERE e+d BETWEEN a+b-10 AND c+130 + ORDER BY 2,1 +---- +12 values hashing to bb2456b338921ab7c0396823cc0ec31d + +query IIIIII nosort +SELECT a+b*2+c*3+d*4+e*5, + d, + a+b*2+c*3+d*4, + c, + d-e, + a+b*2 + FROM t1 + WHERE d NOT BETWEEN 110 AND 150 + AND (a>b-2 AND ac OR eb + ORDER BY 3,2,1 +---- +87 values hashing to 3bc9e8a82df39cae8e27bb5a0fff18d3 + +query IIII nosort +SELECT a-b, + a+b*2+c*3+d*4, + d, + e + FROM t1 + ORDER BY 2,4,1,3 +---- +120 values hashing to fa86590cde28cc33911bb46fb0ec59e1 + +query IIIIIII nosort +SELECT a+b*2, + c-d, + d-e, + abs(a), + a-b, + c, + b + FROM t1 + WHERE a>b + ORDER BY 3,2,1,4,7,5,6 +---- +133 values hashing to ec7e7648bfc1da6386905d63a1ef52a3 + +query IIIIIII nosort +SELECT (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.dc OR ee + OR (e>a AND ec OR e(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + d + FROM t1 + WHERE d NOT BETWEEN 110 AND 150 + ORDER BY 1,3,2,4 +---- +88 values hashing to fcc8243428e8bf0faa312279fec704a0 + +query IIIII nosort +SELECT a+b*2, + (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.de + ORDER BY 1,3,2,4,5 +---- +80 values hashing to 4cf6188a63134ebf831c245aed6fd46d + +query IIIII nosort +SELECT CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + a+b*2+c*3+d*4, + CASE a+1 WHEN b THEN 111 WHEN c THEN 222 + WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, + a+b*2+c*3+d*4+e*5, + c-d + FROM t1 + ORDER BY 4,1,2,3,5 +---- +150 values hashing to 00fcc8fc925a74eb4ec0f853929e555f + +query IIIII nosort +SELECT CASE a+1 WHEN b THEN 111 WHEN c THEN 222 + WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, + (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.d=d+2) + OR d>e + ORDER BY 3,4,2,5,1 +---- +110 values hashing to 7c7ca7dc3909bad67db7afb2ce90ee58 + +query I nosort +SELECT abs(a) + FROM t1 + ORDER BY 1 +---- +30 values hashing to d1361dd52a9236110ba64b28a64f850d + +query IIIIII nosort +SELECT a+b*2+c*3+d*4, + d, + a-b, + abs(a), + c, + CASE WHEN at1.c AND x.d=d+2) + ORDER BY 1,5,6,2,4,7,3 +---- +91 values hashing to e0fe8de872329c82af624de95132584e + +query IIIIII nosort +SELECT a+b*2+c*3+d*4+e*5, + a+b*2+c*3, + a-b, + CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + c, + a + FROM t1 + WHERE EXISTS(SELECT 1 FROM t1 AS x WHERE x.ba AND eb + ORDER BY 2,4,6,5,1,3 +---- + +query IIII nosort +SELECT a+b*2+c*3+d*4, + CASE WHEN at1.c AND x.dd + ORDER BY 4,1,3,2 +---- +56 values hashing to 68bfd05b60394ed25ff6ddecdef16e10 + +query I nosort +SELECT CASE WHEN at1.c AND x.de + ORDER BY 2,1,4,5,6,3,7 +---- +112 values hashing to 7d1953113f7f07c9266eb09edadd82f9 + +query IIIIII nosort +SELECT b, + a+b*2+c*3+d*4, + CASE WHEN aa AND ec OR eb-2 AND a=d+2) + ORDER BY 3,5,1,4,7,6,2 +---- +210 values hashing to aa06fc327d04c2ee6a642cd3025e7a4b + +query III nosort +SELECT a-b, + CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + b + FROM t1 + ORDER BY 1,3,2 +---- +90 values hashing to 17d30af1540fc60a9630b9e47d95bc9f + +query IIIIIII nosort +SELECT b, + a-b, + c, + abs(b-c), + d-e, + CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + b-c + FROM t1 + WHERE EXISTS(SELECT 1 FROM t1 AS x WHERE x.ba AND ea AND ec OR et1.c AND x.db-2 AND ac + AND d>e + AND (c<=d-2 OR c>=d+2) + ORDER BY 1,2 +---- +10 values hashing to e43fc83490b72542af8316746a9d8313 + +query IIII nosort +SELECT abs(a), + a+b*2+c*3+d*4, + a+b*2+c*3, + (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.dc + OR (e>a AND e=d+2) + AND c BETWEEN b-2 AND d+2 + AND b>c + ORDER BY 1 +---- +905 +1000 +1391 +1416 + +query IIIIIII nosort +SELECT d, + abs(b-c), + a-b, + CASE WHEN at1.c AND x.dd + OR EXISTS(SELECT 1 FROM t1 AS x WHERE x.ba AND e(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + a-b, + b + FROM t1 + WHERE c>d + AND a>b + ORDER BY 2,4,3,6,1,5 +---- +42 values hashing to 9aa7acd8fc07cfd1d6e0028928e8342b + +query I nosort +SELECT abs(b-c) + FROM t1 + WHERE e+d BETWEEN a+b-10 AND c+130 + AND c>d + ORDER BY 1 +---- +1 +1 +2 + +query IIIIIII nosort +SELECT c, + c-d, + a+b*2+c*3+d*4, + a+b*2+c*3+d*4+e*5, + abs(b-c), + (a+b+c+d+e)/5, + (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.db + AND c>d + ORDER BY 7,1,5,3,2,4,6 +---- +42 values hashing to 719b82439155e612b0a13ee9e8496dea + +query II nosort +SELECT a-b, + a+b*2+c*3 + FROM t1 + WHERE (a>b-2 AND ae + ORDER BY 1,2 +---- +58 values hashing to fca9ff5897fd8bf220dfd03ebf9bf41d + +query IIIII nosort +SELECT CASE a+1 WHEN b THEN 111 WHEN c THEN 222 + WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, + a+b*2+c*3+d*4, + c-d, + a+b*2, + (SELECT count(*) FROM t1 AS x WHERE x.bb + AND EXISTS(SELECT 1 FROM t1 AS x WHERE x.b=d+2) + ORDER BY 1 +---- +10 values hashing to c457994b9b0d51a0004a2e98359bf04c + +query I nosort +SELECT d-e + FROM t1 + WHERE a>b + AND (c<=d-2 OR c>=d+2) + ORDER BY 1 +---- +10 values hashing to 85ba30eef17fc9cad69f60d48a75b0b9 + +query I nosort +SELECT CASE a+1 WHEN b THEN 111 WHEN c THEN 222 + WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END + FROM t1 + WHERE c BETWEEN b-2 AND d+2 + OR d NOT BETWEEN 110 AND 150 + OR b>c + ORDER BY 1 +---- +29 values hashing to 60438bc97433575b27692732a1fc3a1a + +query II nosort +SELECT (SELECT count(*) FROM t1 AS x WHERE x.be + OR (e>c OR et1.c AND x.dt1.c AND x.d(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + (SELECT count(*) FROM t1 AS x WHERE x.be + AND (a>b-2 AND a(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + a-b, + abs(b-c) + FROM t1 + WHERE c>d + OR (c<=d-2 OR c>=d+2) + ORDER BY 2,1,3 +---- +69 values hashing to 21fb0616ea7789afb7e48ef466387e01 + +query III nosort +SELECT CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + d, + a+b*2+c*3 + FROM t1 + WHERE b>c + OR c BETWEEN b-2 AND d+2 + OR d NOT BETWEEN 110 AND 150 + ORDER BY 1,3,2 +---- +87 values hashing to 9f14eddd318ce87987f67ec027255159 + +query III nosort +SELECT (a+b+c+d+e)/5, + a, + b + FROM t1 + WHERE c BETWEEN b-2 AND d+2 + ORDER BY 3,2,1 +---- +66 values hashing to 6ceda7f4ed630291e9090bc96e62be7c + +query IIIII nosort +SELECT CASE a+1 WHEN b THEN 111 WHEN c THEN 222 + WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, + a-b, + abs(a), + (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.de + OR a>b + ORDER BY 5,3,2,4,1 +---- +140 values hashing to fc266d3bd870c2607aaf5ba9f695a329 + +query IIIIII nosort +SELECT (a+b+c+d+e)/5, + CASE a+1 WHEN b THEN 111 WHEN c THEN 222 + WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, + (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.dc OR e=d+2) + AND c BETWEEN b-2 AND d+2 + ORDER BY 2,5,4,6,3,1 +---- +60 values hashing to 755f345cafbb73c0340e12a2580bb1e8 + +query IIIIII nosort +SELECT a+b*2+c*3+d*4+e*5, + abs(b-c), + a, + abs(a), + b, + a+b*2 + FROM t1 + WHERE a>b + OR (a>b-2 AND a(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + (SELECT count(*) FROM t1 AS x WHERE x.ba AND et1.c AND x.d=d+2) + OR EXISTS(SELECT 1 FROM t1 AS x WHERE x.b(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + CASE WHEN ae + AND EXISTS(SELECT 1 FROM t1 AS x WHERE x.b=d+2) + AND EXISTS(SELECT 1 FROM t1 AS x WHERE x.ba AND ec + AND (a>b-2 AND at1.c AND x.dc OR ea AND et1.c AND x.d=d+2) + AND (a>b-2 AND ad + ORDER BY 1,2,3 +---- + +query IIIIIII nosort +SELECT (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.d(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + e, + abs(a), + c-d, + a, + b-c + FROM t1 + WHERE (a>b-2 AND a=d+2) + OR d NOT BETWEEN 110 AND 150 + ORDER BY 7,1,5,3,4,6,2 +---- +196 values hashing to 3f2cca604f78daaa5c238d7f0fa01745 + +query IIIII nosort +SELECT (a+b+c+d+e)/5, + a+b*2+c*3, + a-b, + abs(b-c), + a+b*2 + FROM t1 + WHERE (a>b-2 AND a=d+2) + OR (a>b-2 AND ae + ORDER BY 1,3,2,4 +---- +112 values hashing to 6c6d4d118f8a7982bfb86d67579436e7 + +query I nosort +SELECT a+b*2+c*3+d*4+e*5 + FROM t1 + ORDER BY 1 +---- +30 values hashing to 9a0d83a47e9ea85f0da38e0f9ca27f2e + +query II nosort +SELECT (a+b+c+d+e)/5, + c + FROM t1 + WHERE (c<=d-2 OR c>=d+2) + ORDER BY 1,2 +---- +30 values hashing to 0f5786c35d6a3334fe23ccebd6d6b4f8 + +query IIIIII nosort +SELECT a+b*2+c*3, + a+b*2+c*3+d*4+e*5, + abs(b-c), + CASE WHEN a(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + (SELECT count(*) FROM t1 AS x WHERE x.b=d+2) + ORDER BY 5,3,2,1,4 +---- +75 values hashing to 893e24339a4507d442b4fa21e8520989 + +query IIIIII nosort +SELECT abs(a), + a-b, + (SELECT count(*) FROM t1 AS x WHERE x.b(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + a+b*2+c*3+d*4, + b-c + FROM t1 + ORDER BY 6,1,3,5,4,2 +---- +180 values hashing to 58102a16454762090d8cca488692e7fa + +query I nosort +SELECT d + FROM t1 + ORDER BY 1 +---- +30 values hashing to 0c542471646c50440dc6eda5bb1b61a8 + +query III nosort +SELECT abs(b-c), + a-b, + (a+b+c+d+e)/5 + FROM t1 + WHERE c BETWEEN b-2 AND d+2 + OR (a>b-2 AND ac + AND c>d + ORDER BY 2,1,3 +---- +9 values hashing to f43d74c9e89e35866c98a91869e403da + +query IIIII nosort +SELECT c-d, + (a+b+c+d+e)/5, + (SELECT count(*) FROM t1 AS x WHERE x.bd + AND EXISTS(SELECT 1 FROM t1 AS x WHERE x.bb + ORDER BY 2,4,3,5,1 +---- +30 values hashing to 70df2aeb36f371ec975106f8a74d10ee + +query IIIIII nosort +SELECT a+b*2+c*3+d*4, + d, + (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.d(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + c, + (SELECT count(*) FROM t1 AS x WHERE x.bb + OR (e>a AND et1.c AND x.d(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + CASE a+1 WHEN b THEN 111 WHEN c THEN 222 + WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, + a+b*2+c*3 + FROM t1 + WHERE a>b + AND (e>c OR e=d+2) + AND c>d + AND b>c + ORDER BY 6,5,7,4,3,1,2 +---- +192 +2878 +1 +191 +444 +1918 +-3 + +query IIIIIII nosort +SELECT b, + c, + abs(a), + d, + CASE a+1 WHEN b THEN 111 WHEN c THEN 222 + WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, + CASE WHEN ae + AND c BETWEEN b-2 AND d+2 + AND (e>a AND ea AND et1.c AND x.d(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END + FROM t1 + ORDER BY 4,5,3,2,1 +---- +150 values hashing to 41a342f4212e2a14116ba83427e049be + +query I nosort +SELECT CASE WHEN aa AND e=d+2) + ORDER BY 1 +---- +222 + +query I nosort +SELECT d + FROM t1 + WHERE e+d BETWEEN a+b-10 AND c+130 + OR d>e + OR a>b + ORDER BY 1 +---- +26 values hashing to 7dcc836442eac90a7fa906c12d0ffba1 + +query II nosort +SELECT a+b*2+c*3+d*4+e*5, + b-c + FROM t1 + WHERE (a>b-2 AND a(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END + FROM t1 + WHERE b>c + AND (c<=d-2 OR c>=d+2) + AND c>d + ORDER BY 2,1,5,6,4,3 +---- +-3 +1918 +18 +191 +1158 +382 + +query II nosort +SELECT abs(a), + a-b + FROM t1 + ORDER BY 1,2 +---- +60 values hashing to 3b45a32bacb258a454a82f10a8146228 + +query IIIIIII nosort +SELECT b-c, + CASE a+1 WHEN b THEN 111 WHEN c THEN 222 + WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, + (a+b+c+d+e)/5, + b, + c-d, + a+b*2, + a+b*2+c*3 + FROM t1 + WHERE c>d + AND (e>c OR ee + ORDER BY 4,7,5,2,1,6,3 +---- +42 values hashing to f778b6cfbf38f0fadd2c9175abb14947 + +query IIIIIII nosort +SELECT c-d, + a-b, + b, + b-c, + CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + c, + a+b*2 + FROM t1 + ORDER BY 1,5,4,3,2,6,7 +---- +210 values hashing to e53b6730271bb74da608aeb6d75ea354 + +query IIII nosort +SELECT a+b*2+c*3, + a, + CASE WHEN ab-2 AND ac + ORDER BY 2,4,3,1 +---- +76 values hashing to ae99c64007a7ed5e938cc3f7d79c5d00 + +query IIIII nosort +SELECT CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + d, + abs(a), + e, + a+b*2 + FROM t1 + WHERE c BETWEEN b-2 AND d+2 + ORDER BY 3,4,2,1,5 +---- +110 values hashing to 56d7502cb25a03f7170e568d9124ecc9 + +query IIII nosort +SELECT b, + abs(b-c), + CASE a+1 WHEN b THEN 111 WHEN c THEN 222 + WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, + b-c + FROM t1 + WHERE (c<=d-2 OR c>=d+2) + AND e+d BETWEEN a+b-10 AND c+130 + AND (e>c OR ec + OR c BETWEEN b-2 AND d+2 + OR d NOT BETWEEN 110 AND 150 + ORDER BY 4,1,2,3 +---- +116 values hashing to e51d5af527372bac218e0b5c21153013 + +query III nosort +SELECT a+b*2+c*3+d*4, + (a+b+c+d+e)/5, + b + FROM t1 + ORDER BY 1,2,3 +---- +90 values hashing to 532651aa8e5c293b169f68dbcbc547ff + +query IIIII nosort +SELECT c-d, + (a+b+c+d+e)/5, + abs(b-c), + c, + d + FROM t1 + WHERE c>d + OR a>b + ORDER BY 4,2,3,1,5 +---- +130 values hashing to 621684d11a2a5694126393ed924fd34b + +query III nosort +SELECT a+b*2+c*3, + d, + abs(b-c) + FROM t1 + ORDER BY 3,1,2 +---- +90 values hashing to 94a68989fa6a8cf9e887b617692bb101 + +query IIII nosort +SELECT e, + a+b*2+c*3, + abs(b-c), + d-e + FROM t1 + ORDER BY 1,3,4,2 +---- +120 values hashing to 5dc183edf914e31f94314b7bc288848d + +query IIII nosort +SELECT a, + abs(a), + d-e, + e + FROM t1 + ORDER BY 2,4,1,3 +---- +120 values hashing to e70daaeccb2899ae3ab5a338ca45c0fa + +query II nosort +SELECT b, + (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.da AND ed + ORDER BY 1,2 +---- +30 values hashing to 907d0240f42a1141b7870e0424b0dd04 + +query III nosort +SELECT b-c, + a-b, + a+b*2 + FROM t1 + ORDER BY 1,2,3 +---- +90 values hashing to 421f11d9db40e5b3cfea3a86c2b3bf1c + +query II nosort +SELECT a+b*2+c*3+d*4+e*5, + abs(b-c) + FROM t1 + WHERE EXISTS(SELECT 1 FROM t1 AS x WHERE x.bt1.c AND x.d(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END + FROM t1 + WHERE e+d BETWEEN a+b-10 AND c+130 + AND c>d + ORDER BY 1,3,2 +---- +9 values hashing to 0598e89fd314145ba8f06f228456f4ba + +query I nosort +SELECT c-d + FROM t1 + WHERE d NOT BETWEEN 110 AND 150 + OR d>e + ORDER BY 1 +---- +28 values hashing to ae8b5e96b30d88fb1ab70fe4095e3a96 + +query IIIIIII nosort +SELECT a-b, + d, + a+b*2+c*3, + (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.d(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END + FROM t1 + WHERE (e>c OR e=d+2) + ORDER BY 4,3,2,5,1,6 +---- +180 values hashing to 7e45631d2b6d6694abd0f917d9c07c4a + +query IIIIII nosort +SELECT abs(b-c), + (a+b+c+d+e)/5, + d, + b, + (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.d(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + e, + a-b + FROM t1 + ORDER BY 1,4,5,3,6,2 +---- +180 values hashing to a41f3eb3f1b24084c9ad20c7fa2cadc4 + +query I nosort +SELECT abs(a) + FROM t1 + WHERE a>b + ORDER BY 1 +---- +19 values hashing to 7935ab41ef16fa86550d2ecd13497930 + +query I nosort +SELECT a+b*2+c*3+d*4+e*5 + FROM t1 + WHERE (c<=d-2 OR c>=d+2) + ORDER BY 1 +---- +15 values hashing to 21fef18aeb42508fd385db124bd2a8cc + +query IIIIIII nosort +SELECT e, + (SELECT count(*) FROM t1 AS x WHERE x.bc OR ec + ORDER BY 4,6,3,1,5,7,2 +---- +210 values hashing to 166de7592ef32109aae1d9670d3e23bf + +query IIIII nosort +SELECT (a+b+c+d+e)/5, + b, + (SELECT count(*) FROM t1 AS x WHERE x.b=d+2) + AND c BETWEEN b-2 AND d+2 + ORDER BY 3,4,5,1,2 +---- +50 values hashing to 6d77d0e395c0c3bb7ebe48a114a7a9a5 + +query I nosort +SELECT a+b*2+c*3+d*4+e*5 + FROM t1 + WHERE EXISTS(SELECT 1 FROM t1 AS x WHERE x.bt1.c AND x.de + AND (e>a AND e=d+2) + OR (a>b-2 AND a(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + a+b*2, + a+b*2+c*3+d*4+e*5, + CASE WHEN at1.c AND x.da AND e=d+2) + ORDER BY 3,2,1,4 +---- +12 values hashing to fae09a9a32247b430470a8b81fbc6cc9 + +query IIIIII nosort +SELECT (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.dd + ORDER BY 1,2,4,5,6,3 +---- +102 values hashing to 1a7c46130532fbc982bba080af7ee291 + +query IIIII nosort +SELECT a+b*2+c*3+d*4, + (a+b+c+d+e)/5, + d, + e, + a+b*2 + FROM t1 + ORDER BY 2,3,4,1,5 +---- +150 values hashing to 9f8c9a18fe3256a5427a7cbef090f435 + +query III nosort +SELECT b, + e, + b-c + FROM t1 + ORDER BY 2,1,3 +---- +90 values hashing to 600c8683d405cc652ef67b480900c83f + +query IIIIIII nosort +SELECT a+b*2+c*3, + abs(a), + CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + d, + CASE a+1 WHEN b THEN 111 WHEN c THEN 222 + WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, + d-e, + (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.da AND et1.c AND x.d=d+2) + AND (e>c OR ed + ORDER BY 2,1 +---- +-3 +0 +-1 +0 +-1 +0 + +query IIIIII nosort +SELECT abs(b-c), + a+b*2, + d, + b-c, + a-b, + d-e + FROM t1 + WHERE (a>b-2 AND ad + ORDER BY 3,1,2,5,6,4 +---- +30 values hashing to d39306fef5d6bbbd904608305c01b290 + +query II nosort +SELECT (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.de + AND c>d + AND a>b + ORDER BY 3,1,2,4 +---- +12 values hashing to 22099d5488a4d865c8fe18b2de1567c6 + +query III nosort +SELECT b, + a+b*2+c*3, + d-e + FROM t1 + WHERE (a>b-2 AND aa AND e(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END + FROM t1 + ORDER BY 4,2,5,1,3 +---- +150 values hashing to 744565fa85149ebe3ea996326d3b8b13 + +query I nosort +SELECT a+b*2 + FROM t1 + WHERE a>b + OR (e>c OR eb + ORDER BY 1,5,4,2,3 +---- +95 values hashing to 1a8655839cdf4d5e78d3243ea63e7d46 + +query II nosort +SELECT b, + a+b*2 + FROM t1 + WHERE (e>a AND eb-2 AND ac OR eb-2 AND a=d+2) + ORDER BY 3,2,5,4,1 +---- + +query IIIIII nosort +SELECT e, + d-e, + (SELECT count(*) FROM t1 AS x WHERE x.bb + OR (e>c OR e(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END + FROM t1 + ORDER BY 4,2,5,1,3 +---- +150 values hashing to 3fdfec9cdbff8e41bfa6e3add56c1ee2 + +query III nosort +SELECT b-c, + a, + d-e + FROM t1 + ORDER BY 1,3,2 +---- +90 values hashing to 1f593201ad9d2210fa9b56b756bc1237 + +query III nosort +SELECT a, + a+b*2+c*3+d*4+e*5, + c-d + FROM t1 + WHERE c BETWEEN b-2 AND d+2 + AND (e>a AND et1.c AND x.dc + ORDER BY 5,2,1,7,3,4,6 +---- +98 values hashing to 42243c8de628bef73888c710837ce1fe + +query III nosort +SELECT d, + (a+b+c+d+e)/5, + CASE WHEN ac + ORDER BY 1,3,2 +---- +42 values hashing to adb133664f189e7397ae8b901fdafabc + +query IIII nosort +SELECT abs(a), + CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + b, + b-c + FROM t1 + WHERE (c<=d-2 OR c>=d+2) + ORDER BY 3,1,2,4 +---- +60 values hashing to 537018406f031d7e81f5a1a9ee9d4b64 + +query IIIII nosort +SELECT a-b, + c-d, + a+b*2+c*3+d*4+e*5, + c, + (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.dt1.c AND x.dc + OR (a>b-2 AND a(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.dd + OR d>e + ORDER BY 2,5,1,3,4 +---- +120 values hashing to 6b7c62f6dba560a1b1cfb4a0de687636 + +query IIIIII nosort +SELECT a+b*2, + CASE a+1 WHEN b THEN 111 WHEN c THEN 222 + WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, + b, + a-b, + b-c, + d + FROM t1 + WHERE d NOT BETWEEN 110 AND 150 + OR (c<=d-2 OR c>=d+2) + OR (e>a AND et1.c AND x.dt1.c AND x.d(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + a+b*2+c*3+d*4 + FROM t1 + WHERE b>c + OR (e>c OR e=d+2) + ORDER BY 3,1,2 +---- +45 values hashing to c53f1f88bc7b92d941462d1081bacb46 + +query I nosort +SELECT a+b*2+c*3+d*4 + FROM t1 + WHERE c BETWEEN b-2 AND d+2 + ORDER BY 1 +---- +22 values hashing to 59cac8a106613a4b6a96e597e54b11bc + +query I nosort +SELECT a-b + FROM t1 + WHERE c>d + ORDER BY 1 +---- +14 values hashing to 28d7a52ffd1e2866a0fa7582a43ec38e + +query IIIIIII nosort +SELECT a+b*2+c*3, + d, + e, + a+b*2+c*3+d*4+e*5, + abs(a), + (SELECT count(*) FROM t1 AS x WHERE x.bb + AND d NOT BETWEEN 110 AND 150 + ORDER BY 1,4,5,2,6,7,3 +---- +119 values hashing to 3a6edab399d6a254ca226d567f101ed2 + +query IIIII nosort +SELECT CASE a+1 WHEN b THEN 111 WHEN c THEN 222 + WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, + a, + abs(a), + c, + d-e + FROM t1 + ORDER BY 5,4,1,2,3 +---- +150 values hashing to 33c133cd531a8c83b0e12c1bf2816a47 + +query IIIIIII nosort +SELECT a+b*2+c*3+d*4, + CASE a+1 WHEN b THEN 111 WHEN c THEN 222 + WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, + a+b*2+c*3, + (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.d(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END + FROM t1 + WHERE (a>b-2 AND ab + ORDER BY 1 +---- +18 values hashing to a5e48a0153bf4c438302b48fadaaa38e + +query IIIIIII nosort +SELECT CASE a+1 WHEN b THEN 111 WHEN c THEN 222 + WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, + a+b*2+c*3+d*4+e*5, + a+b*2, + a+b*2+c*3, + a+b*2+c*3+d*4, + (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.d(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.db-2 AND at1.c AND x.dc + OR d NOT BETWEEN 110 AND 150 + ORDER BY 2,3,6,7,4,1,5 +---- +182 values hashing to 9bb679937b36be78dd530a683782d10a + +query IIII nosort +SELECT b-c, + a+b*2+c*3+d*4, + c-d, + a-b + FROM t1 + ORDER BY 2,4,3,1 +---- +120 values hashing to 7c9d31e357ba5e9ca4d8d2ef8f56117a + +query IIII nosort +SELECT CASE WHEN ac OR et1.c AND x.d=d+2) + OR c BETWEEN b-2 AND d+2 + OR (a>b-2 AND ac + ORDER BY 4,6,1,3,7,2,5 +---- +98 values hashing to 8420ffda963b1647bef090ee5739449a + +query I nosort +SELECT (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.dd + ORDER BY 1 +---- +25 values hashing to 3a8c1f92b5515a90e97181b7aaf6970b + +query I nosort +SELECT c + FROM t1 + ORDER BY 1 +---- +30 values hashing to 70364ca416eb4255377b03cd243b032a + +query IIII nosort +SELECT a+b*2, + a+b*2+c*3, + a-b, + (SELECT count(*) FROM t1 AS x WHERE x.bt1.c AND x.db-2 AND a(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END + FROM t1 + ORDER BY 3,2,1 +---- +90 values hashing to fb63c0da23b6869a02b06048ea39681c + +query I nosort +SELECT (SELECT count(*) FROM t1 AS x WHERE x.bb + ORDER BY 1 +---- +0 +1 + +query IIIIII nosort +SELECT a+b*2+c*3, + c, + CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + b, + b-c, + CASE WHEN at1.c AND x.dt1.c AND x.de + OR c BETWEEN b-2 AND d+2 + ORDER BY 4,1,5,6,3,2 +---- +144 values hashing to 87705ab033397683288724d8d8a8303e + +query II nosort +SELECT CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + a+b*2+c*3+d*4+e*5 + FROM t1 + WHERE (e>c OR ea AND e(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + a + FROM t1 + WHERE b>c + AND c BETWEEN b-2 AND d+2 + AND (e>c OR e(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END + FROM t1 + WHERE (c<=d-2 OR c>=d+2) + OR a>b + ORDER BY 2,3,4,1 +---- +96 values hashing to 045d2c4fc1e63a274a28e442878914b1 + +query IIIIII nosort +SELECT a+b*2+c*3, + d-e, + a+b*2+c*3+d*4, + d, + CASE a+1 WHEN b THEN 111 WHEN c THEN 222 + WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, + abs(a) + FROM t1 + WHERE b>c + AND (e>c OR et1.c AND x.dt1.c AND x.db + AND (c<=d-2 OR c>=d+2) + ORDER BY 3,1,2 +---- +30 values hashing to 6ad8accda9cddcf28817fbf053942483 + +query I nosort +SELECT b + FROM t1 + WHERE (a>b-2 AND at1.c AND x.da AND e=d+2) + ORDER BY 5,3,2,1,4 +---- +15 values hashing to 49314335687b2ed3cd15a37ace339ff2 + +query III nosort +SELECT a+b*2+c*3+d*4+e*5, + a-b, + a+b*2+c*3 + FROM t1 + ORDER BY 2,3,1 +---- +90 values hashing to eb08dc2a0f14d493bfe5f8cf91fb03ba + +query III nosort +SELECT CASE a+1 WHEN b THEN 111 WHEN c THEN 222 + WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, + CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.dd + ORDER BY 2,3,1 +---- +42 values hashing to 0b30094aec5125c1843b3e6e1e41a6e8 + +query II nosort +SELECT d, + CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END + FROM t1 + ORDER BY 1,2 +---- +60 values hashing to 91d685ea328c85b4182c8973881038bf + +query IIII nosort +SELECT c-d, + CASE a+1 WHEN b THEN 111 WHEN c THEN 222 + WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, + b-c, + b + FROM t1 + WHERE (a>b-2 AND a=d+2) + ORDER BY 3,4,2,1 +---- +100 values hashing to 028c01fd1a3fde99ed6dcf60c1113942 + +query IIIIII nosort +SELECT abs(b-c), + c, + b, + (a+b+c+d+e)/5, + (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.de + ORDER BY 6,5,3,1,2,4 +---- +96 values hashing to d43f79239513169ba12520f7a149dee7 + +query I nosort +SELECT b-c + FROM t1 + WHERE EXISTS(SELECT 1 FROM t1 AS x WHERE x.b(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + a+b*2, + CASE a+1 WHEN b THEN 111 WHEN c THEN 222 + WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, + (a+b+c+d+e)/5, + abs(a), + abs(b-c), + c-d + FROM t1 + ORDER BY 3,7,1,4,6,2,5 +---- +210 values hashing to 83f9eb2c991235ceaf943aab7abde5f6 + +query III nosort +SELECT a, + (SELECT count(*) FROM t1 AS x WHERE x.bc OR et1.c AND x.d(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + b-c, + a+b*2+c*3+d*4, + (a+b+c+d+e)/5 + FROM t1 + WHERE EXISTS(SELECT 1 FROM t1 AS x WHERE x.b=d+2) + ORDER BY 5,1,2,4,3,6,7 +---- +105 values hashing to 6f1348d248b462331e2adebdb5140a95 + +query I nosort +SELECT CASE a+1 WHEN b THEN 111 WHEN c THEN 222 + WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END + FROM t1 + WHERE (a>b-2 AND ac OR ed + ORDER BY 2,1 +---- +1826 +333 +1529 +555 + +query IIIIIII nosort +SELECT (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.dc + ORDER BY 4,2,6,5,3,7,1 +---- +98 values hashing to 9672e04e6af85e083efc6d3a01ad003c + +query IIII nosort +SELECT a+b*2, + a-b, + a+b*2+c*3+d*4+e*5, + (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.d(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + (a+b+c+d+e)/5, + d, + d-e + FROM t1 + WHERE (c<=d-2 OR c>=d+2) + OR d NOT BETWEEN 110 AND 150 + OR (e>c OR et1.c AND x.d(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + c, + d + FROM t1 + WHERE (a>b-2 AND ae + AND a>b + ORDER BY 1,2,3 +---- +30 values hashing to 0c419a3b667dc7ff35fb414aaaaa747d + +query II nosort +SELECT e, + a+b*2+c*3 + FROM t1 + WHERE (e>a AND ec + OR (e>c OR ec + AND (e>a AND e(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + a+b*2+c*3+d*4, + a, + abs(a), + a-b + FROM t1 + WHERE (a>b-2 AND a(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + b-c, + (SELECT count(*) FROM t1 AS x WHERE x.bt1.c AND x.d=d+2) + ORDER BY 1 +---- +10 values hashing to 957f34bd4f6530b19d41aade9e48d932 + +query IIIII nosort +SELECT (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.d(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + (SELECT count(*) FROM t1 AS x WHERE x.be + OR a>b + ORDER BY 4,3,2,1,5 +---- +125 values hashing to 9fcf17184ac87f3ca33f5aa74b552242 + +query IIII nosort +SELECT (a+b+c+d+e)/5, + CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + abs(a), + a+b*2 + FROM t1 + WHERE EXISTS(SELECT 1 FROM t1 AS x WHERE x.b(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + CASE WHEN ad + OR e+d BETWEEN a+b-10 AND c+130 + ORDER BY 7,3,6,5,2,1,4 +---- +119 values hashing to 2dfa1a701af66a88618468f9f2eca6d7 + +query IIII nosort +SELECT abs(a), + c, + CASE a+1 WHEN b THEN 111 WHEN c THEN 222 + WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, + d-e + FROM t1 + WHERE e+d BETWEEN a+b-10 AND c+130 + AND (a>b-2 AND a(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + a+b*2+c*3+d*4, + (a+b+c+d+e)/5, + a+b*2+c*3+d*4+e*5 + FROM t1 + ORDER BY 1,6,5,3,4,2 +---- +180 values hashing to 149fa3187b59deeaf8ca7bc9937e9c50 + +query I nosort +SELECT CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END + FROM t1 + WHERE (e>c OR ee + AND (a>b-2 AND ab-2 AND ac OR ec OR e=d+2) + ORDER BY 1 +---- +30 values hashing to d1361dd52a9236110ba64b28a64f850d + +query IIII nosort +SELECT (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.d(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + a+b*2 + FROM t1 + ORDER BY 1,3,4,2 +---- +120 values hashing to 9d8ae71d1d4851666a75fec8bc675773 + +query IIIIII nosort +SELECT c-d, + a+b*2+c*3+d*4+e*5, + b, + (a+b+c+d+e)/5, + a, + (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.de + ORDER BY 4,5,6,1,3,2 +---- +96 values hashing to a762a09cf2fc3bb7b96a1bacd3516820 + +query IIIII nosort +SELECT a+b*2+c*3+d*4+e*5, + d-e, + (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.d(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + c-d, + e, + abs(a), + d + FROM t1 + WHERE EXISTS(SELECT 1 FROM t1 AS x WHERE x.ba AND ec OR ea AND et1.c AND x.dt1.c AND x.d(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + b + FROM t1 + WHERE e+d BETWEEN a+b-10 AND c+130 + ORDER BY 1,4,3,5,2 +---- +30 values hashing to b72fdab2abc695b36a856741c6479ebf + +query II nosort +SELECT a, + c + FROM t1 + WHERE d>e + OR b>c + OR e+d BETWEEN a+b-10 AND c+130 + ORDER BY 1,2 +---- +50 values hashing to 522548ede2edcdbad05472fed877bcf0 + +query IIIIIII nosort +SELECT a+b*2+c*3+d*4, + c-d, + CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + a+b*2, + b, + b-c, + (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.dc + ORDER BY 1,6,5,3,4,2 +---- +84 values hashing to 0ecaed2bac05ece627b8a5c6f2cb4b2e + +query I nosort +SELECT a+b*2+c*3+d*4 + FROM t1 + ORDER BY 1 +---- +30 values hashing to a97f06c7abca35ed0602e7a54b6ca0ac + +query IIIIIII nosort +SELECT CASE WHEN ac + AND (e>a AND ed + ORDER BY 1,2,3 +---- +-2 +3 +191 + +query IIIIIII nosort +SELECT (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.db-2 AND a=d+2) + OR d>e + ORDER BY 3,5,6,2,1,7,4 +---- +196 values hashing to ab60be6b2b2d576e28c474ce597e7441 + +query IIII nosort +SELECT CASE WHEN a(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END + FROM t1 + WHERE (a>b-2 AND ae + ORDER BY 1,4,2,3 +---- +116 values hashing to 2a17d36050e5bdef7be9ed7b01e0a9c9 + +query IIIIIII nosort +SELECT b, + CASE a+1 WHEN b THEN 111 WHEN c THEN 222 + WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, + c-d, + a+b*2+c*3+d*4+e*5, + b-c, + a+b*2, + d-e + FROM t1 + WHERE (c<=d-2 OR c>=d+2) + AND (e>a AND et1.c AND x.da AND e=d+2) + ORDER BY 1 +---- +27 values hashing to 4f0b87d21ae9d581463d0337566933ca + +query IIII nosort +SELECT a+b*2+c*3+d*4+e*5, + d-e, + abs(a), + c-d + FROM t1 + ORDER BY 2,3,4,1 +---- +120 values hashing to a4578cf950facb85e767ae2f602ba469 + +query II nosort +SELECT a+b*2+c*3+d*4+e*5, + c + FROM t1 + WHERE d>e + OR (e>c OR ed + ORDER BY 5,4,3,2,1,6 +---- +84 values hashing to 14526e3289f9c25f8ddec1f33ed95aa2 + +query I nosort +SELECT a+b*2+c*3+d*4+e*5 + FROM t1 + WHERE c>d + OR e+d BETWEEN a+b-10 AND c+130 + ORDER BY 1 +---- +17 values hashing to fd124b0d49b605a982ab65f59bf5aac4 + +query I nosort +SELECT CASE WHEN ae + OR (e>a AND ed + AND b>c + AND (a>b-2 AND ab-2 AND ac OR eb-2 AND ad + AND d NOT BETWEEN 110 AND 150 + AND a>b + ORDER BY 1 +---- +1 +2 +2 +3 +3 +4 + +query IIII nosort +SELECT CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.d(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + CASE a+1 WHEN b THEN 111 WHEN c THEN 222 + WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END + FROM t1 + WHERE c>d + ORDER BY 1,2,5,3,4,7,6 +---- +98 values hashing to 22e6c9d358a8b1d08d6e48554c7f9c03 + +query III nosort +SELECT abs(a), + a-b, + a+b*2+c*3 + FROM t1 + WHERE (a>b-2 AND a(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END + FROM t1 + WHERE (e>c OR eb + OR d NOT BETWEEN 110 AND 150 + ORDER BY 1,2,3 +---- +72 values hashing to d376c0c0a239bc9353aca7c75bfea493 + +query IIII nosort +SELECT b, + a+b*2+c*3, + CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + c-d + FROM t1 + WHERE EXISTS(SELECT 1 FROM t1 AS x WHERE x.bc OR e=d+2) + ORDER BY 1,3,2,4 +---- +120 values hashing to e4051c95ff9075750460d662b42d72d5 + +query II nosort +SELECT a-b, + CASE WHEN ad + AND b>c + ORDER BY 2,1 +---- +-3 +222 +-3 +222 +-1 +222 +-1 +222 + +query IIII nosort +SELECT c-d, + b-c, + abs(b-c), + CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END + FROM t1 + WHERE e+d BETWEEN a+b-10 AND c+130 + ORDER BY 1,3,4,2 +---- +24 values hashing to 7f41fdcc58ab92f66267d95eaee41293 + +query IIII nosort +SELECT a+b*2+c*3+d*4+e*5, + CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + b, + a+b*2+c*3 + FROM t1 + WHERE c BETWEEN b-2 AND d+2 + ORDER BY 3,4,2,1 +---- +88 values hashing to 8a7565aef4b4ff5dc5b2669162892999 + +query IIIIII nosort +SELECT (SELECT count(*) FROM t1 AS x WHERE x.bt1.c AND x.da AND ea AND e(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + CASE a+1 WHEN b THEN 111 WHEN c THEN 222 + WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, + abs(a), + c, + d + FROM t1 + WHERE (e>a AND ee + ORDER BY 2,5,1,4,3 +---- +80 values hashing to 90c813844bf5d6adeffa4f21f6ca28f2 + +query IIIIII nosort +SELECT e, + (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.dd + AND d>e + AND EXISTS(SELECT 1 FROM t1 AS x WHERE x.be + ORDER BY 3,4,1,5,2 +---- +80 values hashing to e86e8f12a1e9c6fcfe83ba56451cc897 + +query III nosort +SELECT b-c, + d-e, + abs(a) + FROM t1 + ORDER BY 1,3,2 +---- +90 values hashing to 9e6b6e593015eae16b128f67c55d6d78 + +query I nosort +SELECT e + FROM t1 + WHERE EXISTS(SELECT 1 FROM t1 AS x WHERE x.b=d+2) + AND (e>c OR e(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + a+b*2+c*3, + c-d + FROM t1 + ORDER BY 4,1,5,3,2 +---- +150 values hashing to 63a41e4b01b852b0ffe5c3d2e944e835 + +query IIIII nosort +SELECT c-d, + e, + a+b*2, + b, + abs(a) + FROM t1 + WHERE d NOT BETWEEN 110 AND 150 + OR (e>c OR et1.c AND x.d=d+2) + OR e+d BETWEEN a+b-10 AND c+130 + OR (e>c OR e=d+2) + AND d NOT BETWEEN 110 AND 150 + AND c>d + ORDER BY 3,4,6,5,1,2 +---- +30 values hashing to 05c651750e0c527bc2e97d4ddbe13bf0 + +query IIIIII nosort +SELECT a+b*2+c*3+d*4+e*5, + abs(b-c), + e, + CASE WHEN ae + AND b>c + AND c BETWEEN b-2 AND d+2 + ORDER BY 4,3,6,1,2,5 +---- +42 values hashing to bb2e37cf59a5b762b43ef4271a54e000 + +query IIIIII nosort +SELECT CASE a+1 WHEN b THEN 111 WHEN c THEN 222 + WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, + abs(b-c), + (SELECT count(*) FROM t1 AS x WHERE x.bt1.c AND x.d(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + b, + a-b, + CASE WHEN a=d+2) + ORDER BY 3,1,2 +---- +45 values hashing to 9bbac471733a3ae401dbe561ea2c5055 + +query IIIII nosort +SELECT a-b, + abs(a), + a, + e, + b-c + FROM t1 + ORDER BY 2,4,3,1,5 +---- +150 values hashing to 85a750970f2a3cfd014b8df3cb52a6f6 + +query III nosort +SELECT CASE WHEN a=d+2) + OR b>c + OR d>e + ORDER BY 3,2,1 +---- +78 values hashing to bbceeaaca7afd780d5aa5173c0f3df16 + +query IIII nosort +SELECT (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.d(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + a-b, + d-e + FROM t1 + ORDER BY 1,4,3,2 +---- +120 values hashing to 5d82db974f8caa9127d640fcf6cc1a40 + +query III nosort +SELECT (a+b+c+d+e)/5, + CASE WHEN a=d+2) + OR e+d BETWEEN a+b-10 AND c+130 + ORDER BY 3,2,1 +---- +54 values hashing to 851593a9a226d556e165b5765819e242 + +query IIIII nosort +SELECT CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.db-2 AND ab-2 AND ac OR et1.c AND x.dc + ORDER BY 6,2,5,4,3,1 +---- +84 values hashing to e05d2e123bb3c8af78b16346f8a4b290 + +query I nosort +SELECT d + FROM t1 + ORDER BY 1 +---- +30 values hashing to 0c542471646c50440dc6eda5bb1b61a8 + +query III nosort +SELECT CASE WHEN aa AND eb-2 AND ac + ORDER BY 1,3,2 +---- + +query IIIIII nosort +SELECT abs(a), + CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + c-d, + b-c, + b, + (a+b+c+d+e)/5 + FROM t1 + WHERE b>c + AND c BETWEEN b-2 AND d+2 + ORDER BY 4,2,5,6,1,3 +---- +48 values hashing to 04bb6be1da657237947cd4ab3392c384 + +query IIIIII nosort +SELECT a+b*2+c*3+d*4+e*5, + a+b*2, + a+b*2+c*3+d*4, + CASE a+1 WHEN b THEN 111 WHEN c THEN 222 + WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, + abs(b-c), + (SELECT count(*) FROM t1 AS x WHERE x.bb-2 AND ac + OR (e>a AND e=d+2) + AND c>d + AND (a>b-2 AND ab-2 AND ac + OR a>b + OR (a>b-2 AND at1.c AND x.dt1.c AND x.dd + AND d>e + ORDER BY 1 +---- +1828 +2125 +2226 + +query IIIIII nosort +SELECT (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.d(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + b, + a+b*2+c*3 + FROM t1 + ORDER BY 4,2,1,3,5,6 +---- +180 values hashing to e80b8346172b01fad12a7248e5bbc7a4 + +query IIIIII nosort +SELECT (SELECT count(*) FROM t1 AS x WHERE x.bb + OR b>c + OR e+d BETWEEN a+b-10 AND c+130 + ORDER BY 2,1,3,6,4,5 +---- +168 values hashing to 18cbf31793b3aca41197e3f46d641650 + +query II nosort +SELECT a, + c-d + FROM t1 + ORDER BY 1,2 +---- +60 values hashing to b22ea8da7d71e791d7a5b66555b3a4c4 + +query I nosort +SELECT (a+b+c+d+e)/5 + FROM t1 + ORDER BY 1 +---- +30 values hashing to 8d2279ba80763220505cecac39786e90 + +query II nosort +SELECT a+b*2+c*3, + CASE a+1 WHEN b THEN 111 WHEN c THEN 222 + WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END + FROM t1 + WHERE d NOT BETWEEN 110 AND 150 + AND a>b + ORDER BY 1,2 +---- +34 values hashing to 0628c0094e162251c0635877ab466eba + +query I nosort +SELECT abs(b-c) + FROM t1 + WHERE b>c + ORDER BY 1 +---- +14 values hashing to 32902ce891f5ed9983da19527e07808b + +query II nosort +SELECT CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + b-c + FROM t1 + WHERE b>c + OR d NOT BETWEEN 110 AND 150 + ORDER BY 2,1 +---- +52 values hashing to b2f2322e57f6b0850906b8c53b5a2ff9 + +query II nosort +SELECT a+b*2+c*3+d*4+e*5, + abs(a) + FROM t1 + WHERE d>e + AND b>c + ORDER BY 2,1 +---- +16 values hashing to 12f8d853019df95cb95b40b12e8f9502 + +query IIIIII nosort +SELECT CASE a+1 WHEN b THEN 111 WHEN c THEN 222 + WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, + a+b*2, + CASE WHEN ac OR ed + ORDER BY 1,5,2,6,3,4 +---- +66 values hashing to cd02907c94bef262defa2744db1d76fe + +query IIII nosort +SELECT a, + (SELECT count(*) FROM t1 AS x WHERE x.bb-2 AND ad + ORDER BY 1,2,3 +---- +51 values hashing to 4f655063e72bf8214c8975e0d0e231da + +query I nosort +SELECT a+b*2+c*3+d*4 + FROM t1 + WHERE d NOT BETWEEN 110 AND 150 + ORDER BY 1 +---- +22 values hashing to 986d884c71dc223ac25f3dd12e7d7540 + +query IIIII nosort +SELECT c-d, + abs(a), + (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.dd + AND (e>c OR eb-2 AND ac OR et1.c AND x.de + OR (e>a AND ea AND ee + OR a>b + ORDER BY 2,1,3 +---- +81 values hashing to 389ca962469d417d7d784deab102aa5c + +query IIIII nosort +SELECT a+b*2+c*3, + c, + abs(a), + a+b*2+c*3+d*4+e*5, + CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END + FROM t1 + WHERE (e>a AND ee + OR e+d BETWEEN a+b-10 AND c+130 + ORDER BY 3,4,2,5,1 +---- +100 values hashing to ae8f5af162e72304474e2e771076f23d + +query IIIIII nosort +SELECT a-b, + c-d, + CASE a+1 WHEN b THEN 111 WHEN c THEN 222 + WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, + b-c, + e, + c + FROM t1 + WHERE (e>a AND ee + OR (c<=d-2 OR c>=d+2) + OR (e>c OR eb-2 AND ad + OR c BETWEEN b-2 AND d+2 + ORDER BY 1,2 +---- +56 values hashing to 954fd515b57c6e2aca8a512c3caebd11 + +query II nosort +SELECT a+b*2+c*3+d*4, + (a+b+c+d+e)/5 + FROM t1 + WHERE e+d BETWEEN a+b-10 AND c+130 + ORDER BY 2,1 +---- +12 values hashing to ab6ddb0019d35b32de0f257c78d20c9b + +query IIIII nosort +SELECT (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.d=d+2) + OR d>e + OR (a>b-2 AND ac OR e(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + e, + a+b*2, + abs(b-c) + FROM t1 + WHERE e+d BETWEEN a+b-10 AND c+130 + OR c>d + OR (a>b-2 AND ab + ORDER BY 2,1 +---- +60 values hashing to c9e7690c4046a45d8d94c281e987f883 + +query I nosort +SELECT a-b + FROM t1 + WHERE (a>b-2 AND a(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END + FROM t1 + ORDER BY 3,2,5,7,1,6,4 +---- +210 values hashing to 9c29cdd6374772e5c26eae66ae64c8f1 + +query IIIIII nosort +SELECT d, + CASE WHEN aa AND ec OR e(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END + FROM t1 + WHERE EXISTS(SELECT 1 FROM t1 AS x WHERE x.ba AND eb-2 AND ab-2 AND ac + OR c>d + ORDER BY 2,1 +---- +48 values hashing to 90d735f794a41b2883dfdd912dba4f9b + +query II nosort +SELECT a+b*2+c*3+d*4+e*5, + abs(b-c) + FROM t1 + ORDER BY 2,1 +---- +60 values hashing to 1d73e78ee7cae0bf0f75c7981d0eccbc + +query IIII nosort +SELECT d-e, + a+b*2+c*3, + a-b, + CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END + FROM t1 + WHERE d>e + OR (e>a AND e=d+2) + ORDER BY 3,4,1,2 +---- +88 values hashing to e1744981c67868b64dd4f2f8bd8f9849 + +query IIIIII nosort +SELECT d, + d-e, + CASE WHEN ab + OR b>c + ORDER BY 3,1,5,6,4,2 +---- +156 values hashing to d8680cf0d12c8706c82bb5ef1ad597f0 + +query III nosort +SELECT abs(b-c), + CASE WHEN a=d+2) + OR c>d + ORDER BY 1,2,5,3,4 +---- +115 values hashing to 4f24f48edeed6bafc24320280f45feca + +query IIIII nosort +SELECT abs(b-c), + c-d, + CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + a+b*2+c*3, + (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.de + AND c BETWEEN b-2 AND d+2 + ORDER BY 1,2,5,3,4 +---- +10 values hashing to d1f0237fc8125db019f7ae5fc6432c34 + +query III nosort +SELECT b, + (SELECT count(*) FROM t1 AS x WHERE x.be + OR (a>b-2 AND a(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + b + FROM t1 + ORDER BY 3,1,2,5,4 +---- +150 values hashing to 563e461ea233b38ad878b56e5d269fba + +query IIIIII nosort +SELECT a+b*2, + a+b*2+c*3+d*4, + CASE WHEN ac OR eb + OR d NOT BETWEEN 110 AND 150 + ORDER BY 1,4,7,6,5,3,2 +---- +168 values hashing to d460bea3b5d3f177ff5befb82bf9b9c1 + +query IIIIII nosort +SELECT a+b*2+c*3+d*4, + CASE WHEN a(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + a+b*2+c*3+d*4+e*5, + a+b*2+c*3, + (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.dd + AND c BETWEEN b-2 AND d+2 + AND (e>c OR e(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + d + FROM t1 + WHERE (e>c OR eb + ORDER BY 5,2,4,1,3,6 +---- +168 values hashing to 23425d8f076e222594024d8bf9b642ec + +query IIIII nosort +SELECT a+b*2, + abs(a), + d, + (SELECT count(*) FROM t1 AS x WHERE x.bc + ORDER BY 5,1,3,2,4 +---- +70 values hashing to 5b3117153cd6e1dc100280e8fa82eb28 + +query IIIIII nosort +SELECT (SELECT count(*) FROM t1 AS x WHERE x.bt1.c AND x.db + AND e+d BETWEEN a+b-10 AND c+130 + AND (c<=d-2 OR c>=d+2) + ORDER BY 1,2 +---- +1 +108 + +query I nosort +SELECT a + FROM t1 + WHERE (e>c OR et1.c AND x.de + AND (c<=d-2 OR c>=d+2) + AND (e>a AND ec + AND (a>b-2 AND aa AND e(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + abs(a) + FROM t1 + WHERE c>d + AND b>c + ORDER BY 2,1 +---- +1240 +121 +1390 +138 +1430 +142 +382 +191 + +query IIIIII nosort +SELECT e, + a+b*2+c*3+d*4+e*5, + d-e, + b-c, + a+b*2+c*3+d*4, + abs(b-c) + FROM t1 + WHERE (e>a AND ee + ORDER BY 1 +---- +16 values hashing to 952e6c754c450612dd99b9d315977052 + +query I nosort +SELECT a+b*2+c*3+d*4 + FROM t1 + WHERE b>c + ORDER BY 1 +---- +14 values hashing to 840c9b8b71971d5911654f07be8e4708 + +query IIIII nosort +SELECT d-e, + (SELECT count(*) FROM t1 AS x WHERE x.bc + ORDER BY 3,6,2,1,5,4 +---- +84 values hashing to a0e691ea866b76ed4cc40d7ce202b53e + +query I nosort +SELECT b-c + FROM t1 + ORDER BY 1 +---- +30 values hashing to 970be304ddec1d2bede8d8e2f14368c6 + +query IIIIII nosort +SELECT abs(b-c), + (a+b+c+d+e)/5, + (SELECT count(*) FROM t1 AS x WHERE x.bb + ORDER BY 3,4,6,1,2,5 +---- +114 values hashing to febb658aae6d009e8938057c8e3daa16 + +query II nosort +SELECT d, + abs(b-c) + FROM t1 + WHERE (e>c OR ec + ORDER BY 2,1 +---- +26 values hashing to 6673d5d82c58407244159d79db5fcf0e + +query IIII nosort +SELECT CASE WHEN ae + OR c BETWEEN b-2 AND d+2 + ORDER BY 1,4,3,2 +---- +92 values hashing to e17ecafd5a53c4ca237b9d25520aebd8 + +query III nosort +SELECT a+b*2+c*3+d*4+e*5, + abs(a), + b-c + FROM t1 + WHERE (c<=d-2 OR c>=d+2) + ORDER BY 1,3,2 +---- +45 values hashing to 3b82e1c6f07bf10caed84828ec3568ca + +query I nosort +SELECT c + FROM t1 + WHERE b>c + ORDER BY 1 +---- +14 values hashing to 18666cb3224ae801a1972a186fe5843f + +query IIIIIII nosort +SELECT CASE a+1 WHEN b THEN 111 WHEN c THEN 222 + WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, + a, + a+b*2, + c, + a-b, + (SELECT count(*) FROM t1 AS x WHERE x.bc + ORDER BY 6,1,5,7,4,3,2 +---- +98 values hashing to 73fcbe214cbf5ab7cc9bcf09d8b85acf + +query IIIIIII nosort +SELECT (SELECT count(*) FROM t1 AS x WHERE x.b(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + d, + CASE a+1 WHEN b THEN 111 WHEN c THEN 222 + WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, + a+b*2+c*3+d*4+e*5, + (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.dt1.c AND x.dc + AND a>b + AND (c<=d-2 OR c>=d+2) + ORDER BY 5,1,3,6,2,4 +---- +24 values hashing to 651f715b7e5976e9d63b17b91ea8d333 + +query IIIIII nosort +SELECT a+b*2+c*3+d*4, + a-b, + a+b*2, + abs(a), + CASE a+1 WHEN b THEN 111 WHEN c THEN 222 + WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, + a+b*2+c*3 + FROM t1 + ORDER BY 1,5,4,2,6,3 +---- +180 values hashing to b5ab822caa140090fa0cd1d265333e1c + +query IIII nosort +SELECT a+b*2+c*3+d*4, + abs(b-c), + b-c, + CASE a+1 WHEN b THEN 111 WHEN c THEN 222 + WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END + FROM t1 + WHERE d>e + ORDER BY 3,1,2,4 +---- +64 values hashing to 40f0d6be4ced8de2eb7231e0a581b408 + +query II nosort +SELECT abs(b-c), + b-c + FROM t1 + WHERE e+d BETWEEN a+b-10 AND c+130 + AND (a>b-2 AND at1.c AND x.da AND eb + AND c>d + ORDER BY 2,1 +---- + +query IIIIII nosort +SELECT a+b*2+c*3+d*4+e*5, + c, + e, + a+b*2+c*3, + abs(b-c), + CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END + FROM t1 + WHERE (a>b-2 AND ae + AND (e>c OR ec + OR EXISTS(SELECT 1 FROM t1 AS x WHERE x.bt1.c AND x.de + OR d NOT BETWEEN 110 AND 150 + OR c BETWEEN b-2 AND d+2 + ORDER BY 3,4,2,1 +---- +116 values hashing to 8a927705b4fec3a4b0d85784481196d6 + +query I nosort +SELECT CASE WHEN ac + OR c BETWEEN b-2 AND d+2 + OR d NOT BETWEEN 110 AND 150 + ORDER BY 1 +---- +29 values hashing to f81c86b5ccfceb91643fed162f9e5413 + +query IIIII nosort +SELECT (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.dt1.c AND x.d=d+2) + AND a>b + AND (e>a AND ee + OR b>c + OR (a>b-2 AND a(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END + FROM t1 + WHERE b>c + OR d NOT BETWEEN 110 AND 150 + OR e+d BETWEEN a+b-10 AND c+130 + ORDER BY 3,2,1 +---- +84 values hashing to 38047852bbef0987776d99a21d30ff30 + +query IIIIII nosort +SELECT CASE a+1 WHEN b THEN 111 WHEN c THEN 222 + WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, + e, + d-e, + b, + c, + b-c + FROM t1 + ORDER BY 3,5,6,2,4,1 +---- +180 values hashing to aab6e51c445fb06f5af7263688587491 + +query II nosort +SELECT a+b*2, + b + FROM t1 + ORDER BY 1,2 +---- +60 values hashing to 93d843e5c13d5f55222d50bb9152eb1e + +query I nosort +SELECT a+b*2+c*3+d*4 + FROM t1 + ORDER BY 1 +---- +30 values hashing to a97f06c7abca35ed0602e7a54b6ca0ac + +query IIII nosort +SELECT (SELECT count(*) FROM t1 AS x WHERE x.b=d+2) + ORDER BY 4,3,2,1 +---- +60 values hashing to e3257bfeb0e05898a093d9dd74a5c6f2 + +query IIIIIII nosort +SELECT (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.d(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + a+b*2+c*3+d*4+e*5, + a+b*2+c*3, + c-d + FROM t1 + WHERE (a>b-2 AND ab + AND (e>a AND e=d+2) + ORDER BY 3,1,5,4,2 +---- + +query III nosort +SELECT b, + CASE WHEN ae + ORDER BY 1 +---- +10 values hashing to aa2c9e190b3da5017e764235b4370941 + +query IIIII nosort +SELECT c, + (a+b+c+d+e)/5, + a-b, + CASE a+1 WHEN b THEN 111 WHEN c THEN 222 + WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, + (SELECT count(*) FROM t1 AS x WHERE x.bc + AND (a>b-2 AND ac OR e(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + a-b + FROM t1 + WHERE EXISTS(SELECT 1 FROM t1 AS x WHERE x.bc + OR a>b + ORDER BY 1,3,2 +---- +90 values hashing to 430c4c38368b95466b685c4e550fd8f9 + +query IIIIII nosort +SELECT a+b*2+c*3+d*4, + d-e, + a, + CASE a+1 WHEN b THEN 111 WHEN c THEN 222 + WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, + (a+b+c+d+e)/5, + abs(b-c) + FROM t1 + ORDER BY 2,4,3,1,5,6 +---- +180 values hashing to 0f795dad72b6ea42fe6e007088398156 + +query IIII nosort +SELECT a+b*2+c*3+d*4, + a+b*2, + e, + (a+b+c+d+e)/5 + FROM t1 + WHERE e+d BETWEEN a+b-10 AND c+130 + AND (e>c OR eb + AND (a>b-2 AND at1.c AND x.db-2 AND ac + ORDER BY 2,1,3,7,5,4,6 +---- +154 values hashing to b9a9dc5ffa8928273db7bcd669c53cd7 + +query IIIII nosort +SELECT abs(a), + e, + (SELECT count(*) FROM t1 AS x WHERE x.bt1.c AND x.db + ORDER BY 4,1,5,2,3 +---- +95 values hashing to 19afe88a8ec0b6ac1a596dcfbe7a73ef + +query IIIII nosort +SELECT (a+b+c+d+e)/5, + b, + a+b*2+c*3+d*4+e*5, + c, + d-e + FROM t1 + WHERE (a>b-2 AND ad + ORDER BY 2,5,3,4,1 +---- +100 values hashing to d6ab882caeb85ea55130fe69c466a44e + +query II nosort +SELECT abs(b-c), + c-d + FROM t1 + WHERE d NOT BETWEEN 110 AND 150 + ORDER BY 1,2 +---- +44 values hashing to 018884fc71c9cebc4bb35146e7140fc4 + +query III nosort +SELECT c, + a+b*2+c*3+d*4+e*5, + abs(a) + FROM t1 + WHERE e+d BETWEEN a+b-10 AND c+130 + AND (e>a AND et1.c AND x.dt1.c AND x.dc + OR d NOT BETWEEN 110 AND 150 + OR EXISTS(SELECT 1 FROM t1 AS x WHERE x.bd + AND (c<=d-2 OR c>=d+2) + AND (e>c OR eb-2 AND ac OR ed + ORDER BY 3,4,2,1 +---- +20 values hashing to c7b97476a8b2de6d251ac49288730b61 + +query III nosort +SELECT (a+b+c+d+e)/5, + a+b*2, + (SELECT count(*) FROM t1 AS x WHERE x.ba AND ed + ORDER BY 2,1,3 +---- +45 values hashing to 311eac4b65f312512b9dab39b0e930f1 + +query II nosort +SELECT a+b*2, + a + FROM t1 + WHERE c BETWEEN b-2 AND d+2 + OR (e>c OR ea AND et1.c AND x.da AND ec OR ec + ORDER BY 2,3,1,4,5 +---- +65 values hashing to 2fd8bd04880dbafe31b9a7c85fce3d0e + +query IIIII nosort +SELECT d-e, + CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + abs(b-c), + (a+b+c+d+e)/5, + c-d + FROM t1 + WHERE a>b + ORDER BY 1,3,2,4,5 +---- +95 values hashing to aac8ab5a470f3df896b0eae56bbde7a3 + +query IIIIIII nosort +SELECT b, + a, + abs(b-c), + a+b*2+c*3+d*4+e*5, + CASE a+1 WHEN b THEN 111 WHEN c THEN 222 + WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, + abs(a), + a+b*2 + FROM t1 + ORDER BY 4,1,2,7,5,3,6 +---- +210 values hashing to 4973d50dd296f034d899cf6e73423904 + +query II nosort +SELECT e, + CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END + FROM t1 + ORDER BY 2,1 +---- +60 values hashing to b4271452f1ca2257b0b5b6b13b626884 + +query IIIII nosort +SELECT b, + c-d, + CASE WHEN a(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END + FROM t1 + WHERE (e>c OR ed + OR (e>a AND e(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + a+b*2+c*3, + a+b*2+c*3+d*4 + FROM t1 + WHERE (c<=d-2 OR c>=d+2) + ORDER BY 2,4,3,1 +---- +60 values hashing to d2507af6237b5dfa47976be28455cdc2 + +query III nosort +SELECT CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + b-c, + CASE WHEN ad + ORDER BY 2,1,3 +---- +42 values hashing to ba254e8d09c76b7cbc07d9d591025883 + +query IIIII nosort +SELECT a+b*2+c*3, + d, + a, + a+b*2+c*3+d*4, + (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.dt1.c AND x.db + AND e+d BETWEEN a+b-10 AND c+130 + AND (e>a AND e(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + a+b*2+c*3+d*4, + c-d + FROM t1 + WHERE d NOT BETWEEN 110 AND 150 + OR (e>c OR ea AND ec OR et1.c AND x.dd + AND (e>c OR e=d+2) + ORDER BY 1,2,5,3,4 +---- +75 values hashing to 91e95036e8737e2902f3561cf2148b7c + +query IIIIIII nosort +SELECT abs(b-c), + a+b*2, + CASE WHEN a(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + (SELECT count(*) FROM t1 AS x WHERE x.bt1.c AND x.dt1.c AND x.db + AND c BETWEEN b-2 AND d+2 + ORDER BY 5,6,3,7,2,4,1 +---- +105 values hashing to 32404e31bbeb9f3a9e286caaf42683bf + +query III nosort +SELECT CASE a+1 WHEN b THEN 111 WHEN c THEN 222 + WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, + e, + abs(a) + FROM t1 + ORDER BY 3,1,2 +---- +90 values hashing to 5efa9ce21ccae8f703640e43d2d946c0 + +query I nosort +SELECT e + FROM t1 + WHERE c>d + OR d NOT BETWEEN 110 AND 150 + ORDER BY 1 +---- +27 values hashing to d8936a5a1a3837cd7f42c18b75761e64 + +query IIIIIII nosort +SELECT a+b*2+c*3, + b, + (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.de + OR c>d + OR e+d BETWEEN a+b-10 AND c+130 + ORDER BY 6,2,1,7,5,4,3 +---- +175 values hashing to 1086608e130bcb51302b4bfea65791e1 + +query III nosort +SELECT b-c, + (a+b+c+d+e)/5, + CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END + FROM t1 + WHERE b>c + ORDER BY 1,2,3 +---- +42 values hashing to fd6fa77bdab5731313460a6946f62f9c + +query IIIIIII nosort +SELECT a+b*2+c*3+d*4+e*5, + d-e, + b, + CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + a-b, + CASE a+1 WHEN b THEN 111 WHEN c THEN 222 + WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, + a+b*2+c*3+d*4 + FROM t1 + WHERE c BETWEEN b-2 AND d+2 + AND (e>a AND ee + ORDER BY 3,4,1,5,7,6,2 +---- +14 values hashing to 21927ded75a33b0171059772011e3c39 + +query IIIIIII nosort +SELECT e, + (SELECT count(*) FROM t1 AS x WHERE x.bc + AND d>e + ORDER BY 1,6,2,4,3,7,5 +---- +56 values hashing to 8f75e59b84b486d20c41620c1756b110 + +query IIIII nosort +SELECT b-c, + c, + CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + a+b*2, + (SELECT count(*) FROM t1 AS x WHERE x.b=d+2) + AND (e>c OR ec + ORDER BY 6,3,5,2,1,4 +---- +174 values hashing to 96589425bb0eb66f4f90e1e5a55c016a + +query II nosort +SELECT c, + CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END + FROM t1 + WHERE EXISTS(SELECT 1 FROM t1 AS x WHERE x.bb-2 AND ad + ORDER BY 2,1 +---- +60 values hashing to c44e044af3e6b6a0496d51ab6945c210 + +query I nosort +SELECT a+b*2+c*3+d*4+e*5 + FROM t1 + WHERE a>b + ORDER BY 1 +---- +19 values hashing to 48eb7e59034740832c393d911a912d77 + +query IIII nosort +SELECT (a+b+c+d+e)/5, + a+b*2+c*3+d*4, + d-e, + CASE a+1 WHEN b THEN 111 WHEN c THEN 222 + WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END + FROM t1 + WHERE d NOT BETWEEN 110 AND 150 + OR a>b + OR c BETWEEN b-2 AND d+2 + ORDER BY 1,4,2,3 +---- +112 values hashing to 206a85e9f59a2b97c6c2e3b771da6364 + +query I nosort +SELECT b-c + FROM t1 + WHERE d>e + ORDER BY 1 +---- +16 values hashing to c5cb15074dbce6c2853b664f05e5a06a + +query II nosort +SELECT (SELECT count(*) FROM t1 AS x WHERE x.bc OR ec + ORDER BY 1 +---- +28 values hashing to 500599c81c6d8eaa90fb53c0b081fa78 + +query IIIIIII nosort +SELECT e, + b, + a+b*2+c*3+d*4+e*5, + CASE WHEN ae + OR d NOT BETWEEN 110 AND 150 + OR c BETWEEN b-2 AND d+2 + ORDER BY 2,5,3,1,7,6,4 +---- +203 values hashing to 69f1ab3523d66c81419f77f0fdbf1df0 + +query III nosort +SELECT a+b*2+c*3, + d-e, + a-b + FROM t1 + WHERE (e>a AND ee + OR (e>c OR e(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END + FROM t1 + ORDER BY 2,5,4,3,1 +---- +150 values hashing to 1ed27c9e9967fcf30b0548861bbd897d + +query III nosort +SELECT a, + (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.dc + OR EXISTS(SELECT 1 FROM t1 AS x WHERE x.bt1.c AND x.db + ORDER BY 4,3,2,1 +---- +76 values hashing to 398f40cd078cf29a60f7cac9350455b5 + +query III nosort +SELECT d, + c, + a + FROM t1 + WHERE EXISTS(SELECT 1 FROM t1 AS x WHERE x.be + AND a>b + ORDER BY 3,2,1 +---- +30 values hashing to c3498c035170a43e2fdea03d899bdbf0 + +query I nosort +SELECT CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END + FROM t1 + WHERE b>c + ORDER BY 1 +---- +14 values hashing to af1d86a32171d08bae1f8f3033e8a3dc + +query IIII nosort +SELECT c-d, + b-c, + CASE WHEN ab + AND (a>b-2 AND at1.c AND x.d(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + d, + b + FROM t1 + WHERE c BETWEEN b-2 AND d+2 + OR (e>a AND ec OR et1.c AND x.dd + OR c BETWEEN b-2 AND d+2 + OR EXISTS(SELECT 1 FROM t1 AS x WHERE x.b(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END + FROM t1 + WHERE (e>a AND ec + ORDER BY 2,1 +---- +36 values hashing to 05293d133ca2cac2f19e4e30db84dfda + +query I nosort +SELECT (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.dc OR ee + ORDER BY 1 +---- +0 +0 +0 + +query IIII nosort +SELECT a+b*2+c*3+d*4+e*5, + (SELECT count(*) FROM t1 AS x WHERE x.bd + ORDER BY 1,3,2,4 +---- +108 values hashing to a55defafbbd45ee8744132dd35910cbf + +query IIIIII nosort +SELECT CASE a+1 WHEN b THEN 111 WHEN c THEN 222 + WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, + abs(b-c), + c, + CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + a+b*2, + d + FROM t1 + ORDER BY 3,1,2,5,4,6 +---- +180 values hashing to d24051044659497869bcab93873c4188 + +query IIIIII nosort +SELECT (SELECT count(*) FROM t1 AS x WHERE x.bb + OR (e>a AND ee + OR e+d BETWEEN a+b-10 AND c+130 + OR EXISTS(SELECT 1 FROM t1 AS x WHERE x.bt1.c AND x.d(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + b-c, + (a+b+c+d+e)/5 + FROM t1 + ORDER BY 1,3,6,2,5,4 +---- +180 values hashing to 76cb0f185711243083f4b8769f948815 + +query IIIII nosort +SELECT CASE a+1 WHEN b THEN 111 WHEN c THEN 222 + WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, + c-d, + abs(b-c), + a+b*2+c*3, + (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.db-2 AND ab + ORDER BY 4,1,5,3,2 +---- +35 values hashing to 3af25b67f93d88c1a5f7c4641a52f3f5 + +query IIIII nosort +SELECT b, + a, + (a+b+c+d+e)/5, + b-c, + e + FROM t1 + WHERE (c<=d-2 OR c>=d+2) + OR a>b + ORDER BY 3,1,2,5,4 +---- +120 values hashing to 9fc494d65a15058f4386b7654088f517 + +query IIIII nosort +SELECT b, + d-e, + (a+b+c+d+e)/5, + CASE WHEN aa AND e(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + b-c, + c, + a+b*2+c*3+d*4+e*5 + FROM t1 + WHERE EXISTS(SELECT 1 FROM t1 AS x WHERE x.bt1.c AND x.d=d+2) + OR d NOT BETWEEN 110 AND 150 + ORDER BY 1 +---- +24 values hashing to 27eeb568907f3b4f8a48a13652124dd5 + +query IIIII nosort +SELECT b-c, + a+b*2+c*3+d*4+e*5, + CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + d, + (SELECT count(*) FROM t1 AS x WHERE x.bc + ORDER BY 5,4,3,1,2 +---- +70 values hashing to 2fc87ee25975a40d8f08b0d9bf0d3d90 + +query II nosort +SELECT d-e, + abs(a) + FROM t1 + WHERE b>c + OR a>b + ORDER BY 1,2 +---- +52 values hashing to e6db37d26bb91829602e9d68636d1265 + +query IIII nosort +SELECT CASE a+1 WHEN b THEN 111 WHEN c THEN 222 + WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, + c, + CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + a+b*2+c*3+d*4 + FROM t1 + WHERE c>d + ORDER BY 2,1,4,3 +---- +56 values hashing to 21573d64e6cae82382f9e87571cb6cbb + +query I nosort +SELECT a+b*2+c*3+d*4+e*5 + FROM t1 + ORDER BY 1 +---- +30 values hashing to 9a0d83a47e9ea85f0da38e0f9ca27f2e + +query II nosort +SELECT a, + (a+b+c+d+e)/5 + FROM t1 + ORDER BY 1,2 +---- +60 values hashing to 46131633c62f2d9e6f547c327a590045 + +query IIIII nosort +SELECT CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + a+b*2+c*3+d*4+e*5, + abs(a), + (SELECT count(*) FROM t1 AS x WHERE x.b=d+2) + ORDER BY 5,3,1,2,4 +---- +75 values hashing to 810738d2ed0af0a3f1387238b5a684c0 + +query II nosort +SELECT c, + CASE a+1 WHEN b THEN 111 WHEN c THEN 222 + WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END + FROM t1 + WHERE c BETWEEN b-2 AND d+2 + AND c>d + ORDER BY 1,2 +---- +22 values hashing to 5084ee86fa8b2112bfe752d383673d51 + +query III nosort +SELECT a+b*2, + a-b, + CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END + FROM t1 + WHERE (e>a AND ee + ORDER BY 3,1,2 +---- +666 +-3 +440 +743 +-4 +490 + +query III nosort +SELECT c, + d-e, + (a+b+c+d+e)/5 + FROM t1 + WHERE e+d BETWEEN a+b-10 AND c+130 + OR d NOT BETWEEN 110 AND 150 + OR (e>c OR e(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + abs(b-c) + FROM t1 + WHERE d>e + ORDER BY 2,3,1 +---- +48 values hashing to d0ea668a25e020372a556318afe192ab + +query IIIII nosort +SELECT (SELECT count(*) FROM t1 AS x WHERE x.bc OR ea AND e(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + a, + (a+b+c+d+e)/5, + CASE WHEN a(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + a + FROM t1 + ORDER BY 3,4,2,1,5 +---- +150 values hashing to f5251080e285634a78600eb37689b6bd + +query II nosort +SELECT a+b*2+c*3, + a+b*2+c*3+d*4 + FROM t1 + WHERE b>c + AND a>b + ORDER BY 1,2 +---- +14 values hashing to 09449abc628f43f2b2cfd09cb028fcbd + +query IIIIII nosort +SELECT CASE a+1 WHEN b THEN 111 WHEN c THEN 222 + WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, + a+b*2+c*3+d*4+e*5, + d-e, + c-d, + (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.dc + ORDER BY 6,5,3,2,4,1 +---- +84 values hashing to 4eacead92f2a04db9b0334482576382b + +query II nosort +SELECT CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + a-b + FROM t1 + WHERE EXISTS(SELECT 1 FROM t1 AS x WHERE x.be + ORDER BY 1,2 +---- +58 values hashing to 0ca31be7aa54df86423f9f699007a2df + +query I nosort +SELECT a-b + FROM t1 + WHERE EXISTS(SELECT 1 FROM t1 AS x WHERE x.bt1.c AND x.dc + ORDER BY 1,4,2,5,6,3 +---- +174 values hashing to 742703bb047dc6b6254470d20be52ae0 + +query IIIII nosort +SELECT CASE WHEN ab-2 AND ac + OR c>d + ORDER BY 3,5,6,4,2,1 +---- +144 values hashing to 02ea802456562964743e691697e71348 + +query III nosort +SELECT CASE a+1 WHEN b THEN 111 WHEN c THEN 222 + WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, + a, + (a+b+c+d+e)/5 + FROM t1 + WHERE EXISTS(SELECT 1 FROM t1 AS x WHERE x.b(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + e + FROM t1 + WHERE b>c + AND EXISTS(SELECT 1 FROM t1 AS x WHERE x.bd + ORDER BY 1,2 +---- +382 +192 +1240 +120 +1390 +135 +1430 +144 + +query II nosort +SELECT abs(a), + a-b + FROM t1 + WHERE d NOT BETWEEN 110 AND 150 + AND c BETWEEN b-2 AND d+2 + AND (e>a AND ee + OR b>c + OR d NOT BETWEEN 110 AND 150 + ORDER BY 2,1 +---- +58 values hashing to 51eb92d661a225afae03f1e126f36433 + +query IIIIII nosort +SELECT (SELECT count(*) FROM t1 AS x WHERE x.bt1.c AND x.dc + AND EXISTS(SELECT 1 FROM t1 AS x WHERE x.bc OR ec + OR c BETWEEN b-2 AND d+2 + OR (e>c OR ec OR e(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + a+b*2+c*3, + d, + b + FROM t1 + ORDER BY 2,1,3,4 +---- +120 values hashing to 7cc11574f6ea460034eb783876fd7af5 + +query I nosort +SELECT c-d + FROM t1 + WHERE (a>b-2 AND at1.c AND x.dd + AND EXISTS(SELECT 1 FROM t1 AS x WHERE x.bb + ORDER BY 1,3,2 +---- +57 values hashing to ef45e87dcde7a60906a6839e404a6b19 + +query IIIII nosort +SELECT d, + a+b*2+c*3, + a+b*2, + (a+b+c+d+e)/5, + a+b*2+c*3+d*4 + FROM t1 + WHERE (e>a AND ee + AND d NOT BETWEEN 110 AND 150 + ORDER BY 1,2,3,5,4 +---- +10 values hashing to e577677386407b04f8bdb559232e1085 + +query IIIIIII nosort +SELECT CASE WHEN at1.c AND x.d(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + abs(a), + c + FROM t1 + WHERE e+d BETWEEN a+b-10 AND c+130 + AND b>c + AND (e>a AND ea AND ec + AND (c<=d-2 OR c>=d+2) + ORDER BY 1,2 +---- +193 +222 + +query II nosort +SELECT b-c, + c + FROM t1 + ORDER BY 1,2 +---- +60 values hashing to 5dbfa03f06c7e5ccaaab18dc8fe14c36 + +query IIIIII nosort +SELECT CASE a+1 WHEN b THEN 111 WHEN c THEN 222 + WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, + CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + a+b*2+c*3+d*4+e*5, + a+b*2+c*3+d*4, + a+b*2+c*3, + c-d + FROM t1 + WHERE (e>a AND ec OR ed + ORDER BY 3,2,6,5,4,1 +---- +180 values hashing to 97f125b8bdce9deb0111aa11307179d3 + +query I nosort +SELECT d + FROM t1 + WHERE d>e + ORDER BY 1 +---- +16 values hashing to 8e559d439152e33138660c7aa7710793 + +query IIII nosort +SELECT a+b*2+c*3+d*4+e*5, + a, + CASE a+1 WHEN b THEN 111 WHEN c THEN 222 + WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, + a-b + FROM t1 + ORDER BY 4,3,2,1 +---- +120 values hashing to f614d7af58f04a09e4b5dda636fb7790 + +query IIIIII nosort +SELECT abs(a), + e, + c-d, + (SELECT count(*) FROM t1 AS x WHERE x.bt1.c AND x.dc + ORDER BY 5,3,6,1,4,2 +---- +48 values hashing to 603d52ce942c28eb4f224d7e9ea74524 + +query IIII nosort +SELECT CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + CASE WHEN ab + ORDER BY 1,3,4,2 +---- +76 values hashing to 10d6eaf3cbdaaff42d6460c350423046 + +query III nosort +SELECT abs(a), + a+b*2+c*3, + (a+b+c+d+e)/5 + FROM t1 + ORDER BY 3,1,2 +---- +90 values hashing to a94a0b4568605d51d7e9a369e55805d8 + +query IIIIII nosort +SELECT c-d, + CASE WHEN aa AND ec + OR c BETWEEN b-2 AND d+2 + OR (a>b-2 AND ab + OR c BETWEEN b-2 AND d+2 + OR (a>b-2 AND ae + OR (e>a AND eb-2 AND at1.c AND x.d(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + c, + e + FROM t1 + WHERE e+d BETWEEN a+b-10 AND c+130 + OR (e>c OR ec OR ee + ORDER BY 1,2,3 +---- +48 values hashing to 40e60735f1fdf2e1d665a6c00b9bd1d3 + +query IIIII nosort +SELECT (SELECT count(*) FROM t1 AS x WHERE x.b(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + c-d + FROM t1 + WHERE a>b + OR e+d BETWEEN a+b-10 AND c+130 + ORDER BY 5,3,1,4,2 +---- +115 values hashing to 87b7852145d2cd4b4aef60d7fde294ca + +query IIIIII nosort +SELECT b-c, + (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.dt1.c AND x.db + ORDER BY 1,2,3 +---- +57 values hashing to c8d389e6c270e554bc93a318ef21e848 + +query II nosort +SELECT CASE a+1 WHEN b THEN 111 WHEN c THEN 222 + WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, + abs(b-c) + FROM t1 + WHERE d NOT BETWEEN 110 AND 150 + ORDER BY 2,1 +---- +44 values hashing to 892187bfe8f83478b3118df7af04c478 + +query III nosort +SELECT a+b*2+c*3+d*4+e*5, + a, + a+b*2 + FROM t1 + WHERE (c<=d-2 OR c>=d+2) + ORDER BY 2,1,3 +---- +45 values hashing to b667af4ebb350909eba296967ceeb7db + +query I nosort +SELECT b + FROM t1 + WHERE a>b + OR EXISTS(SELECT 1 FROM t1 AS x WHERE x.bc OR ee + ORDER BY 3,4,1,5,6,2 +---- +96 values hashing to a2adef429b6e4247068b4049bbe324c2 + +query IIII nosort +SELECT c-d, + c, + abs(a), + a+b*2+c*3 + FROM t1 + WHERE c BETWEEN b-2 AND d+2 + AND (e>c OR e=d+2) + AND (e>a AND et1.c AND x.db-2 AND a(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + c-d + FROM t1 + ORDER BY 4,3,5,6,2,1,7 +---- +210 values hashing to 97070114fe06bdcda7ac636afcb1201d + +query IIIII nosort +SELECT a, + d-e, + c, + a+b*2, + e + FROM t1 + WHERE a>b + OR c>d + OR (c<=d-2 OR c>=d+2) + ORDER BY 2,3,5,4,1 +---- +140 values hashing to 9644b07604668d80e82ada3908306f8b + +query IIIIIII nosort +SELECT CASE a+1 WHEN b THEN 111 WHEN c THEN 222 + WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, + b-c, + e, + (SELECT count(*) FROM t1 AS x WHERE x.ba AND ec OR et1.c AND x.dc OR e=d+2) + ORDER BY 5,3,4,6,1,2 +---- +90 values hashing to 81d55ba8fc8d4f980c895049d3ced18b + +query IIIIII nosort +SELECT a-b, + b, + a+b*2+c*3+d*4+e*5, + d-e, + CASE a+1 WHEN b THEN 111 WHEN c THEN 222 + WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, + c-d + FROM t1 + ORDER BY 5,2,1,4,3,6 +---- +180 values hashing to 8290882412be354b12366d09fa630d1e + +query IIII nosort +SELECT abs(b-c), + (SELECT count(*) FROM t1 AS x WHERE x.ba AND ee + ORDER BY 2,1,4,3 +---- +1 +24 +-1 +2226 +2 +29 +2 +2476 + +query IIIIIII nosort +SELECT (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.de + OR (c<=d-2 OR c>=d+2) + ORDER BY 7,3,2,4,6,1,5 +---- +154 values hashing to ead80733a2080af9498e2ac38198e68e + +query IIIII nosort +SELECT d, + (a+b+c+d+e)/5, + d-e, + a, + CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END + FROM t1 + WHERE (e>a AND e=d+2) + AND a>b + ORDER BY 5,2,1,4,3 +---- + +query IIII nosort +SELECT (SELECT count(*) FROM t1 AS x WHERE x.bd + ORDER BY 1,2,3,4 +---- +40 values hashing to ce114edef775ad5ff5fdc63fd86c4a61 + +query III nosort +SELECT (SELECT count(*) FROM t1 AS x WHERE x.be + ORDER BY 1 +---- +16 values hashing to 952e6c754c450612dd99b9d315977052 + +query I nosort +SELECT (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.dt1.c AND x.dc OR e=d+2) + OR c BETWEEN b-2 AND d+2 + ORDER BY 1 +---- +27 values hashing to 65b034305850359755cf9f64c93c650b + +query I nosort +SELECT a+b*2 + FROM t1 + WHERE EXISTS(SELECT 1 FROM t1 AS x WHERE x.bt1.c AND x.da AND eb + AND e+d BETWEEN a+b-10 AND c+130 + ORDER BY 5,6,1,2,4,3 +---- +105 +106 +109 +1612 +107 +-1 + +query IIII nosort +SELECT (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.de + AND b>c + ORDER BY 2,1 +---- +1226 +4 +1272 +5 + +query IIIIIII nosort +SELECT (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.d(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + d, + a+b*2+c*3+d*4, + abs(a) + FROM t1 + WHERE (c<=d-2 OR c>=d+2) + ORDER BY 2,5,1,3,7,6,4 +---- +105 values hashing to b3e0305b909d1f2abf1dc3c1745ac029 + +query III nosort +SELECT a+b*2+c*3+d*4+e*5, + a-b, + a+b*2+c*3+d*4 + FROM t1 + WHERE b>c + AND a>b + ORDER BY 1,3,2 +---- +21 values hashing to 6e285698d68e49feed2cfcec62881d8f + +query III nosort +SELECT b, + d, + b-c + FROM t1 + WHERE c BETWEEN b-2 AND d+2 + OR e+d BETWEEN a+b-10 AND c+130 + ORDER BY 3,1,2 +---- +72 values hashing to db08ffa5ab591ad342518407f8decdc7 + +query IIIIII nosort +SELECT CASE WHEN aa AND e=d+2) + ORDER BY 4,3,1,5,6,2 +---- +18 values hashing to 76184d922629d1e6f7e15aab28e5b2fb + +query I nosort +SELECT (a+b+c+d+e)/5 + FROM t1 + WHERE d NOT BETWEEN 110 AND 150 + AND (e>a AND e=d+2) + AND (a>b-2 AND ab + AND b>c + AND (e>c OR et1.c AND x.dc + OR d NOT BETWEEN 110 AND 150 + OR (e>a AND eb-2 AND a(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + CASE WHEN ab-2 AND ae + OR b>c + ORDER BY 4,2,1,6,5,3 +---- +144 values hashing to a794024d0a6d2be248d44841cdc86d7e + +query IIIIIII nosort +SELECT a+b*2+c*3+d*4+e*5, + CASE WHEN ad + OR e+d BETWEEN a+b-10 AND c+130 + OR (e>a AND ee + AND e+d BETWEEN a+b-10 AND c+130 + AND a>b + ORDER BY 1 +---- + +query IIII nosort +SELECT a+b*2+c*3, + d, + e, + a+b*2+c*3+d*4 + FROM t1 + WHERE d>e + AND c BETWEEN b-2 AND d+2 + AND (a>b-2 AND a(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + e, + a+b*2+c*3+d*4, + a, + a+b*2+c*3, + (a+b+c+d+e)/5 + FROM t1 + WHERE b>c + ORDER BY 7,4,2,6,5,3,1 +---- +98 values hashing to 1a15f531b014dbe47026fef24f6aecb2 + +query IIIIII nosort +SELECT CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + b-c, + a, + (a+b+c+d+e)/5, + c, + a+b*2 + FROM t1 + WHERE d>e + AND EXISTS(SELECT 1 FROM t1 AS x WHERE x.bb + AND (e>a AND ee + AND (a>b-2 AND at1.c AND x.d=d+2) + ORDER BY 1 +---- +1 +3 +5 + +query I nosort +SELECT a-b + FROM t1 + WHERE (e>c OR ea AND e=d+2) + AND (e>c OR et1.c AND x.d=d+2) + AND a>b + AND (e>c OR eb + ORDER BY 2,1 +---- +60 values hashing to 467e5d25c71478e4f23e2aadc3c9a524 + +query IIIIII nosort +SELECT abs(b-c), + CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + (SELECT count(*) FROM t1 AS x WHERE x.bc OR e=d+2) + ORDER BY 5,6,2,4,3,1 +---- +180 values hashing to 9d090400bed173943daf9f4bed32cdab + +query II nosort +SELECT abs(a), + (a+b+c+d+e)/5 + FROM t1 + WHERE d NOT BETWEEN 110 AND 150 + AND c BETWEEN b-2 AND d+2 + AND d>e + ORDER BY 2,1 +---- +20 values hashing to 1f44c045307d237a4088fc48e14eba67 + +query III nosort +SELECT CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + a+b*2+c*3+d*4+e*5, + a+b*2+c*3+d*4 + FROM t1 + WHERE (a>b-2 AND at1.c AND x.dc OR eb + ORDER BY 1 +---- +28 values hashing to a76dc8384405fa57100e5dffbbd99b99 + +query IIIII nosort +SELECT c-d, + CASE a+1 WHEN b THEN 111 WHEN c THEN 222 + WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, + c, + (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.db-2 AND a(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + CASE WHEN at1.c AND x.dc + ORDER BY 1 +---- +14 values hashing to e353df4d3a72978b3f4fd672cd9bf5fd + +query IIII nosort +SELECT b-c, + a, + a+b*2+c*3+d*4, + d + FROM t1 + WHERE (a>b-2 AND ad + AND d>e + ORDER BY 4,2,3,1 +---- +12 values hashing to 8ffc4e78f33b8122501c601b2692870a + +query IIIIIII nosort +SELECT (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.de + ORDER BY 3,4,2,6,5,7,1 +---- +112 values hashing to 3a34b6923ab936224547f54261b88bd9 + +query IIIIII nosort +SELECT a, + CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + (a+b+c+d+e)/5, + (SELECT count(*) FROM t1 AS x WHERE x.ba AND et1.c AND x.d=d+2) + OR c>d + OR b>c + ORDER BY 4,2,3,5,1 +---- +135 values hashing to 4305481e9a7ca71ef955b400497b8a93 + +query IIIII nosort +SELECT b-c, + CASE WHEN ab-2 AND at1.c AND x.dt1.c AND x.dd + ORDER BY 3,1,2 +---- +90 values hashing to 4f5f0d9293917c38b9f4b02cd5186710 + +query IIII nosort +SELECT a+b*2, + (SELECT count(*) FROM t1 AS x WHERE x.b(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END + FROM t1 + WHERE (a>b-2 AND ac + ORDER BY 3,1,2,4 +---- +76 values hashing to ea6edb85e6478b917bdf5a7a0901f86b + +query IIII nosort +SELECT (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.db + ORDER BY 3,4,2,1 +---- +68 values hashing to efb249f37bdc0e2144ea0f8a265caab5 + +query III nosort +SELECT e, + d-e, + a+b*2+c*3 + FROM t1 + ORDER BY 2,3,1 +---- +90 values hashing to 77b9f35e0dae20699e29f95090443b31 + +query IIIIIII nosort +SELECT a-b, + e, + a, + CASE a+1 WHEN b THEN 111 WHEN c THEN 222 + WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, + c-d, + abs(a), + a+b*2+c*3 + FROM t1 + WHERE (e>c OR e=d+2) + OR (e>a AND et1.c AND x.d=d+2) + ORDER BY 3,4,1,2 +---- +60 values hashing to d5adb2536f4ed1202bbffe836134c8b8 + +query I nosort +SELECT (SELECT count(*) FROM t1 AS x WHERE x.bc OR eb-2 AND ab-2 AND ae + ORDER BY 1 +---- +26 values hashing to 94e65afbe9fac7f180c1e29f697217ae + +query IIIII nosort +SELECT abs(b-c), + a+b*2, + CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + CASE WHEN at1.c AND x.db + ORDER BY 2,4,1,3 +---- +76 values hashing to c842520d07c8a4805c0e9c46781e4e44 + +query IIIII nosort +SELECT CASE WHEN ac OR ee + AND c>d + ORDER BY 3,5,1,2,4,6,7 +---- +42 values hashing to 8a2061b95c0b1ec21cb1a6a698c4b102 + +query IIIIII nosort +SELECT d-e, + CASE WHEN ac + ORDER BY 1,4,6,3,5,2 +---- +84 values hashing to 01735d043bb36ecd392f6788eca95cf8 + +query IIIIII nosort +SELECT (a+b+c+d+e)/5, + c-d, + (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.de + ORDER BY 1,6,2,5,4,3 +---- +96 values hashing to 521dca6d96de8a96e1ee4b3bfd22ca84 + +query I nosort +SELECT (SELECT count(*) FROM t1 AS x WHERE x.ba AND e(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + (SELECT count(*) FROM t1 AS x WHERE x.bt1.c AND x.d=d+2) + ORDER BY 2,4,3,1 +---- +116 values hashing to 7475b1713d2bb04b2f15460ec5487648 + +query II nosort +SELECT CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.dd + ORDER BY 2,1 +---- +28 values hashing to 7bb527bc1d2528e5b09d04fcd8e6a1fb + +query IIIIIII nosort +SELECT (a+b+c+d+e)/5, + abs(b-c), + a+b*2+c*3+d*4, + d, + CASE WHEN ab + OR b>c + OR c>d + ORDER BY 1,4,5,2,6,7,3 +---- +203 values hashing to ecb118bb9e9db9c6c1db84c7e8cb1b33 + +query IIIIII nosort +SELECT abs(a), + c, + a+b*2, + a+b*2+c*3+d*4, + d, + a + FROM t1 + WHERE EXISTS(SELECT 1 FROM t1 AS x WHERE x.b(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END + FROM t1 + WHERE (e>a AND ee + ORDER BY 1,2 +---- +-1 +440 +2 +490 + +query III nosort +SELECT a-b, + c-d, + b + FROM t1 + WHERE (e>a AND e(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + a+b*2, + CASE WHEN at1.c AND x.d(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + e, + (a+b+c+d+e)/5, + a+b*2+c*3+d*4 + FROM t1 + WHERE (a>b-2 AND ae + AND (a>b-2 AND aa AND eb-2 AND ad + AND (e>c OR e(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + CASE WHEN aa AND ed + ORDER BY 1,5,4,6,3,2,7 +---- +14 values hashing to 36b2a781a944b283d58e7a573cab851b + +query IIIIII nosort +SELECT (a+b+c+d+e)/5, + a+b*2, + CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + b-c, + d-e, + b + FROM t1 + ORDER BY 6,1,4,3,5,2 +---- +180 values hashing to 6f2020f467ce29412c031650b8237f76 + +query IIIIII nosort +SELECT d, + c, + CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + a, + c-d, + a-b + FROM t1 + ORDER BY 6,4,3,2,5,1 +---- +180 values hashing to 0dcd430be5b1500b15daaa5fbb28fb46 + +query IIII nosort +SELECT a, + CASE WHEN ac + OR (e>c OR eb-2 AND ac OR ee + ORDER BY 3,2,1 +---- +81 values hashing to e402ef9e6993672296cd0149b030ea63 + +query IIIIII nosort +SELECT a+b*2+c*3+d*4+e*5, + CASE WHEN at1.c AND x.de + AND EXISTS(SELECT 1 FROM t1 AS x WHERE x.b(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END + FROM t1 + WHERE a>b + AND (e>a AND e=d+2) + ORDER BY 1,2,3 +---- + +query IIIIIII nosort +SELECT e, + (a+b+c+d+e)/5, + a+b*2, + a, + CASE a+1 WHEN b THEN 111 WHEN c THEN 222 + WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, + abs(b-c), + (SELECT count(*) FROM t1 AS x WHERE x.bb-2 AND ad + ORDER BY 1,3,4,2 +---- +56 values hashing to cc7ce87dc30f7946610a5123e11cb223 + +query IIIIII nosort +SELECT b, + abs(b-c), + d, + a-b, + d-e, + c + FROM t1 + WHERE c BETWEEN b-2 AND d+2 + ORDER BY 2,5,1,4,6,3 +---- +132 values hashing to 6ce5ff5deff42e42bea3970fee72519b + +query IIII nosort +SELECT b-c, + CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + a, + d + FROM t1 + WHERE (a>b-2 AND a=d+2) + OR a>b + ORDER BY 1,2 +---- +52 values hashing to 645a7d1f1ea6951d2ea4ad569bb7fb6d + +query IIIIIII nosort +SELECT a, + b, + abs(b-c), + e, + a+b*2, + d-e, + (a+b+c+d+e)/5 + FROM t1 + WHERE b>c + AND c>d + ORDER BY 6,1,7,2,5,4,3 +---- +28 values hashing to 0b0814cb234a17e666c66c7674f50432 + +query IIIIIII nosort +SELECT b, + a-b, + e, + d, + abs(a), + (SELECT count(*) FROM t1 AS x WHERE x.bt1.c AND x.de + ORDER BY 2,1,5,3,6,4,7 +---- +105 values hashing to ad1f447f56a3bc9d467abea530124a7c + +query II nosort +SELECT CASE a+1 WHEN b THEN 111 WHEN c THEN 222 + WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, + c-d + FROM t1 + WHERE (c<=d-2 OR c>=d+2) + ORDER BY 2,1 +---- +30 values hashing to 8d21e20a71a7efb567bf98815988b2ca + +query IIIIIII nosort +SELECT abs(b-c), + e, + a-b, + d-e, + (SELECT count(*) FROM t1 AS x WHERE x.bc + OR c>d + OR e+d BETWEEN a+b-10 AND c+130 + ORDER BY 6,5,7,2,3,1,4 +---- +182 values hashing to 1e66a41fd384508140aef80d5ac47ef4 + +query IIIII nosort +SELECT c-d, + CASE a+1 WHEN b THEN 111 WHEN c THEN 222 + WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, + d, + a+b*2+c*3, + CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END + FROM t1 + WHERE EXISTS(SELECT 1 FROM t1 AS x WHERE x.bc + AND c>d + ORDER BY 3,4,1,2,5 +---- +20 values hashing to cfb7c2f188b2c59ec68ec61e00d4ec65 + +query IIIII nosort +SELECT b, + a-b, + a+b*2+c*3+d*4+e*5, + (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.dd + ORDER BY 1,2,3,5,4 +---- +45 values hashing to 170723580d1cb9c1114c2269200ebca6 + +query IIIIIII nosort +SELECT CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + (SELECT count(*) FROM t1 AS x WHERE x.bt1.c AND x.db-2 AND ad + ORDER BY 5,2,3,1,4 +---- +100 values hashing to fa488a9496d55b35f2ff191b3ad1a2d8 + +query I nosort +SELECT a+b*2 + FROM t1 + WHERE (a>b-2 AND ac + ORDER BY 1 +---- +416 +428 +475 +502 +595 +685 + +query IIII nosort +SELECT abs(b-c), + d-e, + a+b*2, + CASE a+1 WHEN b THEN 111 WHEN c THEN 222 + WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END + FROM t1 + WHERE (c<=d-2 OR c>=d+2) + OR d NOT BETWEEN 110 AND 150 + OR c>d + ORDER BY 4,2,3,1 +---- +112 values hashing to 740c8b35a809b741f6b92e076bb4bec9 + +query IIII nosort +SELECT b-c, + CASE WHEN a(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END + FROM t1 + WHERE (e>a AND e(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + c + FROM t1 + WHERE EXISTS(SELECT 1 FROM t1 AS x WHERE x.b=d+2) + ORDER BY 2,3,1 +---- +45 values hashing to f0eaad06d4e85740bf5623d60f120f17 + +query II nosort +SELECT (SELECT count(*) FROM t1 AS x WHERE x.b(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + d-e, + (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.de + ORDER BY 3,2,1 +---- +30 values hashing to 2901062890d6f99efdf4d841b7f489d0 + +query III nosort +SELECT CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + c-d, + e + FROM t1 + WHERE (e>a AND ec OR et1.c AND x.da AND ec OR e(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END + FROM t1 + ORDER BY 1,5,3,6,4,2 +---- +180 values hashing to 9e77f9ed9bd331d9f1eeb06feec44f16 + +query IIII nosort +SELECT a+b*2, + d, + abs(a), + CASE a+1 WHEN b THEN 111 WHEN c THEN 222 + WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END + FROM t1 + WHERE b>c + OR (c<=d-2 OR c>=d+2) + OR (e>c OR ea AND e(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + abs(b-c), + abs(a) + FROM t1 + WHERE (e>c OR ee + AND c BETWEEN b-2 AND d+2 + ORDER BY 3,1,2 +---- +45 values hashing to 102582469cb62371cfbc186e014c296e + +query IIIII nosort +SELECT c, + CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + d-e, + CASE a+1 WHEN b THEN 111 WHEN c THEN 222 + WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, + CASE WHEN ac + AND a>b + ORDER BY 3,4,2,5,1 +---- +35 values hashing to 7cb0b4009eb9e0011b93c5af70485d17 + +query I nosort +SELECT CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END + FROM t1 + WHERE a>b + AND c>d + AND d>e + ORDER BY 1 +---- +364 +426 +1300 + +query II nosort +SELECT d, + c + FROM t1 + WHERE c BETWEEN b-2 AND d+2 + AND d>e + ORDER BY 1,2 +---- +30 values hashing to 06a7d44acf151628b3050a8ebc708745 + +query IIIIII nosort +SELECT a, + c-d, + c, + (a+b+c+d+e)/5, + abs(b-c), + b + FROM t1 + ORDER BY 1,2,5,4,6,3 +---- +180 values hashing to 9df8e505f6af7d80e748782b27be48b2 + +query IIIII nosort +SELECT a+b*2+c*3+d*4, + d, + abs(a), + c-d, + a + FROM t1 + ORDER BY 1,3,4,2,5 +---- +150 values hashing to 9d11482f04d6dd368144c2aceb19836e + +query IIIIIII nosort +SELECT c, + CASE a+1 WHEN b THEN 111 WHEN c THEN 222 + WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, + e, + a, + d-e, + b-c, + d + FROM t1 + WHERE d NOT BETWEEN 110 AND 150 + ORDER BY 1,7,6,2,3,4,5 +---- +154 values hashing to 6950c3ac5c51bd413a03bd20fdf5c976 + +query IIII nosort +SELECT CASE a+1 WHEN b THEN 111 WHEN c THEN 222 + WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, + d, + b-c, + c + FROM t1 + ORDER BY 3,1,2,4 +---- +120 values hashing to 0c20126a16dd6d7a591cb8c94260de86 + +query I nosort +SELECT c + FROM t1 + WHERE b>c + OR (e>c OR ec OR e=d+2) + OR EXISTS(SELECT 1 FROM t1 AS x WHERE x.b(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + d-e, + c, + abs(a) + FROM t1 + WHERE (e>a AND eb-2 AND at1.c AND x.d(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + e + FROM t1 + ORDER BY 1,5,4,3,2 +---- +150 values hashing to 37ae594d2c57e581ced3eaa5665cc2db + +query IIIIII nosort +SELECT CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + a+b*2+c*3, + e, + d, + b-c, + a + FROM t1 + WHERE e+d BETWEEN a+b-10 AND c+130 + OR (a>b-2 AND ab + OR b>c + ORDER BY 1,2 +---- +52 values hashing to fde099baa23ed9f3ff2a2988e2603220 + +query IIIIII nosort +SELECT b-c, + CASE a+1 WHEN b THEN 111 WHEN c THEN 222 + WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, + a, + a+b*2, + a+b*2+c*3, + e + FROM t1 + WHERE (e>c OR e(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + abs(b-c), + abs(a), + b, + CASE WHEN ae + ORDER BY 1,5,3,2,4 +---- +50 values hashing to 6d4c0ad38c9599f7bdb7ced14ae8b892 + +query IIII nosort +SELECT CASE a+1 WHEN b THEN 111 WHEN c THEN 222 + WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, + CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + d-e, + a+b*2+c*3+d*4 + FROM t1 + WHERE (e>a AND et1.c AND x.de + OR a>b + ORDER BY 2,3,1,4 +---- +108 values hashing to 51ad3b8a1b881292bb3b372941aa523b + +query IIIIII nosort +SELECT b, + CASE a+1 WHEN b THEN 111 WHEN c THEN 222 + WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, + abs(b-c), + a-b, + abs(a), + (a+b+c+d+e)/5 + FROM t1 + WHERE (e>a AND ed + ORDER BY 5,4,2,3,1,6 +---- +12 values hashing to f218928f7ff745a50e68c3871945867e + +query I nosort +SELECT e + FROM t1 + WHERE (e>c OR e=d+2) + OR (e>a AND eb-2 AND ac OR eb-2 AND ae + OR (e>c OR e=d+2) + OR d NOT BETWEEN 110 AND 150 + ORDER BY 1 +---- +24 values hashing to 72a0bad4364ab5cec9197874c8214b90 + +query IIIIIII nosort +SELECT (a+b+c+d+e)/5, + d, + a+b*2, + (SELECT count(*) FROM t1 AS x WHERE x.b(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END + FROM t1 + ORDER BY 6,7,2,4,1,5,3 +---- +210 values hashing to 7ffed25a409fdd72f938a3e0fee5ef7b + +query IIIIIII nosort +SELECT d, + CASE WHEN ab + OR d NOT BETWEEN 110 AND 150 + OR b>c + ORDER BY 4,6,1,2,3,5 +---- +168 values hashing to 1293b2b1eae0693b834b1a25534ecbf6 + +query IIIIII nosort +SELECT e, + CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + b, + a+b*2+c*3+d*4+e*5, + (SELECT count(*) FROM t1 AS x WHERE x.b=d+2) + ORDER BY 4,2,1,6,5,3 +---- +78 values hashing to e662492b4b865e6d9fd38fb95f92da0a + +query IIIIII nosort +SELECT b-c, + a+b*2+c*3, + a+b*2, + c-d, + (a+b+c+d+e)/5, + a-b + FROM t1 + WHERE e+d BETWEEN a+b-10 AND c+130 + AND d NOT BETWEEN 110 AND 150 + AND d>e + ORDER BY 6,1,5,3,2,4 +---- + +query IIIII nosort +SELECT CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + abs(a), + a+b*2, + a, + d-e + FROM t1 + WHERE (e>c OR e=d+2) + ORDER BY 4,2,3,5,1 +---- +150 values hashing to 6065f66c11928caa117acd16babff4dd + +query III nosort +SELECT a+b*2+c*3+d*4+e*5, + b, + a-b + FROM t1 + ORDER BY 1,2,3 +---- +90 values hashing to 99b07f07bebaeafdec57423602e76a03 + +query IIIIII nosort +SELECT (a+b+c+d+e)/5, + c-d, + (SELECT count(*) FROM t1 AS x WHERE x.bt1.c AND x.d=d+2) + OR d>e + ORDER BY 2,1,3,5,6,4 +---- +138 values hashing to 99d143bc2979104655dbd53c1ebb9daf + +query II nosort +SELECT d, + a+b*2+c*3+d*4 + FROM t1 + ORDER BY 1,2 +---- +60 values hashing to 53a93bddba583cbe7defea013e483a67 + +query IIIIIII nosort +SELECT abs(a), + CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + a+b*2+c*3+d*4, + e, + d, + a, + b-c + FROM t1 + WHERE e+d BETWEEN a+b-10 AND c+130 + OR (e>c OR eb + OR b>c + OR (c<=d-2 OR c>=d+2) + ORDER BY 2,1 +---- +56 values hashing to bf65a13599405ccdb81b751e0eaf27c3 + +query I nosort +SELECT a-b + FROM t1 + WHERE d NOT BETWEEN 110 AND 150 + AND (e>c OR eb + ORDER BY 1 +---- +16 values hashing to 069bf04f1be08ea67a9cba4d0956654b + +query III nosort +SELECT a, + (a+b+c+d+e)/5, + c + FROM t1 + WHERE a>b + OR c BETWEEN b-2 AND d+2 + OR (e>c OR ec + AND a>b + AND c>d + ORDER BY 4,2,1,7,5,6,3 +---- + +query I nosort +SELECT a+b*2 + FROM t1 + WHERE a>b + ORDER BY 1 +---- +19 values hashing to b35d36526e48396f7cd935a35558bee5 + +query II nosort +SELECT (a+b+c+d+e)/5, + d-e + FROM t1 + WHERE c BETWEEN b-2 AND d+2 + ORDER BY 2,1 +---- +44 values hashing to 92f9e63f8b59a420e62314c4205c9e7f + +query I nosort +SELECT d + FROM t1 + WHERE e+d BETWEEN a+b-10 AND c+130 + OR (e>a AND eb-2 AND aa AND ec + ORDER BY 1,2 +---- +28 values hashing to 287303499a01f42db629b309cc2a7bf5 + +query II nosort +SELECT b-c, + a+b*2+c*3+d*4 + FROM t1 + WHERE c BETWEEN b-2 AND d+2 + AND EXISTS(SELECT 1 FROM t1 AS x WHERE x.bt1.c AND x.d(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END + FROM t1 + ORDER BY 2,3,4,1 +---- +120 values hashing to 3ce25b7100fcbfe7c7142b3160cb9ebf + +query I nosort +SELECT abs(b-c) + FROM t1 + WHERE c BETWEEN b-2 AND d+2 + ORDER BY 1 +---- +22 values hashing to a2ba0b24ef26c9654b970fe085456049 + +query IIIIII nosort +SELECT a+b*2+c*3, + a+b*2+c*3+d*4+e*5, + b, + abs(a), + (a+b+c+d+e)/5, + abs(b-c) + FROM t1 + WHERE (e>a AND e(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + a+b*2, + d + FROM t1 + WHERE (a>b-2 AND ab + ORDER BY 1,3,4,5,2 +---- +115 values hashing to 5d36f45159c9d74c2031ff38615d53af + +query IIIIIII nosort +SELECT d-e, + CASE a+1 WHEN b THEN 111 WHEN c THEN 222 + WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, + c-d, + (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.da AND ec OR e(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + c-d, + d-e + FROM t1 + WHERE d>e + AND (e>c OR ea AND e(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + abs(b-c), + CASE a+1 WHEN b THEN 111 WHEN c THEN 222 + WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END + FROM t1 + WHERE d>e + OR EXISTS(SELECT 1 FROM t1 AS x WHERE x.bd + OR (c<=d-2 OR c>=d+2) + ORDER BY 2,3,1 +---- +90 values hashing to faddb4b17fdd475b0069e959e1fd775b + +query II nosort +SELECT CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + a+b*2 + FROM t1 + WHERE (e>c OR ea AND e(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + (a+b+c+d+e)/5, + abs(b-c) + FROM t1 + WHERE e+d BETWEEN a+b-10 AND c+130 + AND c>d + ORDER BY 1,3,5,2,6,4 +---- +18 values hashing to 195ca5c056027e19b7098549fb30a259 + +query I nosort +SELECT a+b*2 + FROM t1 + WHERE c>d + OR e+d BETWEEN a+b-10 AND c+130 + OR (c<=d-2 OR c>=d+2) + ORDER BY 1 +---- +24 values hashing to 853518e87c34debe4bc0fa37ef0bfc3e + +query II nosort +SELECT c, + (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.dc + AND (e>a AND ee + ORDER BY 1,2 +---- +247 +0 + +query IIIIII nosort +SELECT a-b, + d, + d-e, + a, + CASE WHEN ab + ORDER BY 3,5,4,2,1,6 +---- +114 values hashing to a182ab374cf9de5884edf48ee0c3c177 + +query IIII nosort +SELECT a+b*2+c*3+d*4+e*5, + b, + (SELECT count(*) FROM t1 AS x WHERE x.ba AND e(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + a+b*2+c*3 + FROM t1 + WHERE c BETWEEN b-2 AND d+2 + ORDER BY 1,3,2,5,4,7,6 +---- +154 values hashing to 50e2f80bf6231e054e926c9951e17478 + +query II nosort +SELECT d-e, + a+b*2+c*3 + FROM t1 + ORDER BY 2,1 +---- +60 values hashing to 66a495f8d2f4e26e2f3cd7a2b8bbbbe1 + +query II nosort +SELECT CASE WHEN a=d+2) + OR d>e + ORDER BY 3,1,2,4 +---- +88 values hashing to 8fe84624e1e5fa5f699f29a4bcb25bc1 + +query IIIIII nosort +SELECT c-d, + CASE WHEN ac OR e(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + a+b*2+c*3, + a+b*2+c*3+d*4+e*5 + FROM t1 + WHERE c BETWEEN b-2 AND d+2 + ORDER BY 5,2,4,1,3,6 +---- +132 values hashing to 96d9a79e7b27fe306bc987a453cfcebe + +query III nosort +SELECT a, + a+b*2+c*3, + (a+b+c+d+e)/5 + FROM t1 + ORDER BY 2,3,1 +---- +90 values hashing to a94a0b4568605d51d7e9a369e55805d8 + +query I nosort +SELECT c + FROM t1 + WHERE EXISTS(SELECT 1 FROM t1 AS x WHERE x.b(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END + FROM t1 +---- +30 values hashing to efdbaa4d180e7867bec1c4d897bd25b9 + +query IIIIIII rowsort +SELECT e, + abs(a), + b, + abs(b-c), + CASE WHEN ab +---- +119 values hashing to 46c6841abfae8913a6759ec6f454ab0f + +query III rowsort +SELECT abs(b-c), + b, + a+b*2+c*3+d*4 + FROM t1 + WHERE coalesce(a,b,c,d,e)<>0 + AND (a>b-2 AND at1.c AND x.db-2 AND ab-2 AND ab +---- +391 +475 +502 +544 +595 +685 + +query IIIIIII rowsort +SELECT c, + CASE WHEN a=d+2) + AND coalesce(a,b,c,d,e)<>0 + AND c>d +---- +35 values hashing to b523d6b6df543010b45626657adada9d + +query IIIIIII rowsort +SELECT d, + (SELECT count(*) FROM t1 AS x WHERE x.bc + AND (e>c OR e0 +---- +189 values hashing to e421c85cd0132772b0b7762c78066abb + +query IIII rowsort +SELECT (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.dd + AND c BETWEEN b-2 AND d+2 +---- +24 values hashing to 83cde3379decb55b28d3ac450c6f9881 + +query IIII rowsort +SELECT a+b*2+c*3+d*4+e*5, + abs(a), + d, + CASE WHEN ac OR et1.c AND x.d0 + OR b>c + OR b IS NOT NULL +---- +90 values hashing to 7be06d7255991a0b921d169b65e408c0 + +query IIIIIII rowsort +SELECT CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + b, + a+b*2+c*3+d*4, + CASE WHEN a0 + OR b>c + OR a>b +---- +90 values hashing to f2ff447495c871e67c605d2c0b5e70ec + +query III rowsort +SELECT (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.d(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END + FROM t1 + WHERE c>d +---- +65 values hashing to 5ed50f9b86136acfad54696420ffa1f0 + +query IIIII rowsort +SELECT e, + CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + d-e, + d, + a+b*2+c*3+d*4 + FROM t1 +---- +150 values hashing to a030f689f5a0035d4db42d5da9f4b7a7 + +query III rowsort +SELECT e, + a, + (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.dc OR ea AND e(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + CASE WHEN at1.c AND x.dd +---- +45 values hashing to a15fae7379de155bbaeb251f575a7db0 + +query IIII rowsort +SELECT abs(b-c), + (SELECT count(*) FROM t1 AS x WHERE x.b(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END + FROM t1 + WHERE a IS NULL + OR d NOT BETWEEN 110 AND 150 +---- +72 values hashing to 12fdbfddf3f67b7da4a8224b4e2798a6 + +query IIIII rowsort +SELECT a, + c-d, + a+b*2+c*3, + a+b*2+c*3+d*4, + (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.db-2 AND ac + AND coalesce(a,b,c,d,e)<>0 + AND (e>a AND e(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END + FROM t1 + WHERE e+d BETWEEN a+b-10 AND c+130 + AND EXISTS(SELECT 1 FROM t1 AS x WHERE x.b(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + abs(a), + CASE a+1 WHEN b THEN 111 WHEN c THEN 222 + WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, + a+b*2, + a, + d-e, + d + FROM t1 + WHERE a IS NULL + AND d>e +---- +1120 +NULL +555 +NULL +NULL +4 +114 + +query IIII rowsort +SELECT (a+b+c+d+e)/5, + c-d, + e, + a + FROM t1 + WHERE d NOT BETWEEN 110 AND 150 + OR (a>b-2 AND a0 + OR d NOT BETWEEN 110 AND 150 +---- +60 values hashing to 56503929d5f9ae519d6cd57dbc46fd31 + +query IIII rowsort +SELECT e, + a+b*2, + c, + b-c + FROM t1 + WHERE a>b +---- +68 values hashing to 002e43f0dae181922fce672d6b46bce4 + +query IIIIII rowsort +SELECT c, + b-c, + (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.dc + AND (e>a AND e(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + abs(a), + a+b*2+c*3+d*4+e*5, + a-b, + a+b*2, + c + FROM t1 +---- +180 values hashing to 0e9c742378241574ced59b33a5434334 + +query IIIII rowsort +SELECT c-d, + b-c, + a+b*2+c*3, + abs(a), + a+b*2+c*3+d*4 + FROM t1 +---- +150 values hashing to 7fe27233559679a19eeea3d0344a0a75 + +query I rowsort +SELECT d + FROM t1 + WHERE c>d + AND (c<=d-2 OR c>=d+2) + AND (e>c OR ec +---- +13 values hashing to 26ce2a46fa9ea4ff61793fcfe9ac0168 + +query I rowsort +SELECT CASE a+1 WHEN b THEN 111 WHEN c THEN 222 + WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END + FROM t1 +---- +30 values hashing to 0075716954dbc259c5e8ac65568a6fa7 + +query IIIIIII rowsort +SELECT CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + a+b*2+c*3+d*4, + abs(b-c), + (SELECT count(*) FROM t1 AS x WHERE x.b0 +---- +210 values hashing to 782245bb6ba30992ede7e5b5f0b3a770 + +query III rowsort +SELECT (a+b+c+d+e)/5, + e, + (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.db-2 AND aa AND e(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + a+b*2, + CASE a+1 WHEN b THEN 111 WHEN c THEN 222 + WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END + FROM t1 + WHERE a IS NULL +---- +10 values hashing to f4e0215d63da3cf742c6994add1a57ab + +query III rowsort +SELECT c, + a+b*2+c*3+d*4+e*5, + c-d + FROM t1 +---- +90 values hashing to 506e2afe06127463d88f196da2943a89 + +query IIII rowsort +SELECT a+b*2, + d, + abs(b-c), + e + FROM t1 + WHERE (c<=d-2 OR c>=d+2) + AND d>e +---- +20 values hashing to 43c185bc3c298eb1f985ac13c0bafe63 + +query I rowsort +SELECT c-d + FROM t1 + WHERE c>d +---- +13 values hashing to 4f440d60ba96ec329ca81db364624811 + +query II rowsort +SELECT a-b, + CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END + FROM t1 + WHERE (c<=d-2 OR c>=d+2) + OR c>d + OR (e>c OR e=d+2) + AND c BETWEEN b-2 AND d+2 + AND coalesce(a,b,c,d,e)<>0 +---- +36 values hashing to d2d3b4e04efb177f21490dcb8d52ada5 + +query III rowsort +SELECT a+b*2+c*3, + b, + (SELECT count(*) FROM t1 AS x WHERE x.bb +---- +54 values hashing to b8c57644f5bc8e0f2140fe80814027d3 + +query I rowsort +SELECT CASE a+1 WHEN b THEN 111 WHEN c THEN 222 + WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END + FROM t1 + WHERE (e>c OR et1.c AND x.da AND ea AND eb-2 AND ac +---- +75 values hashing to 0fad8b78ab2dd2f61c26a27190ce19c0 + +query I rowsort +SELECT c-d + FROM t1 + WHERE EXISTS(SELECT 1 FROM t1 AS x WHERE x.bt1.c AND x.d(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + c-d + FROM t1 + WHERE d>e + OR a>b + OR EXISTS(SELECT 1 FROM t1 AS x WHERE x.bd +---- +13 values hashing to a9f003d45f26b5b6764ef22f16260fdf + +query I rowsort +SELECT (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.dc + AND b IS NOT NULL + AND (a>b-2 AND ab + OR EXISTS(SELECT 1 FROM t1 AS x WHERE x.be +---- +81 values hashing to daf8222f368b8af911b2ea0205aff651 + +query II rowsort +SELECT d-e, + abs(a) + FROM t1 + WHERE (e>c OR et1.c AND x.db + AND b>c + AND (c<=d-2 OR c>=d+2) +---- +333 +1391 +23 +2 + +query IIIIII rowsort +SELECT a+b*2+c*3+d*4+e*5, + abs(b-c), + (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.dd +---- +78 values hashing to d3cef94ca3dc1b45729489b9ffa60d3f + +query III rowsort +SELECT CASE a+1 WHEN b THEN 111 WHEN c THEN 222 + WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, + b-c, + a+b*2 + FROM t1 + WHERE c BETWEEN b-2 AND d+2 + AND a>b +---- +24 values hashing to 66a81d76eae1ab608302f07cd95c35e2 + +query IIII rowsort +SELECT a-b, + (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.dc OR e(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END + FROM t1 + WHERE a>b + AND coalesce(a,b,c,d,e)<>0 +---- +17 values hashing to baeb6fdb5d575870fddf7d11fa9e02f3 + +query III rowsort +SELECT a+b*2+c*3+d*4+e*5, + abs(b-c), + a+b*2 + FROM t1 + WHERE (a>b-2 AND aa AND ea AND ec + AND a>b + AND e+d BETWEEN a+b-10 AND c+130 +---- + +query IIIIIII rowsort +SELECT (SELECT count(*) FROM t1 AS x WHERE x.b(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + b + FROM t1 +---- +210 values hashing to 9b296f0c2d63eb2d8663ebbf98fe7462 + +query II rowsort +SELECT d-e, + abs(b-c) + FROM t1 + WHERE b IS NOT NULL +---- +54 values hashing to d476ace2c3b8cf05ff5893bf63e088e9 + +query III rowsort +SELECT CASE a+1 WHEN b THEN 111 WHEN c THEN 222 + WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, + a, + CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END + FROM t1 + WHERE (e>c OR eb-2 AND aa AND e(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + abs(b-c) + FROM t1 + WHERE d NOT BETWEEN 110 AND 150 + OR c BETWEEN b-2 AND d+2 +---- +66 values hashing to d667c19a8db947e8d78da6f211a32b33 + +query II rowsort +SELECT c, + CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END + FROM t1 + WHERE e+d BETWEEN a+b-10 AND c+130 + OR a>b +---- +36 values hashing to b3abed6fa7975f32cea35c1c82052613 + +query III rowsort +SELECT b-c, + CASE WHEN ab-2 AND ae + AND (c<=d-2 OR c>=d+2) + AND a>b +---- +21 values hashing to ddf3c7563b358cce0af4f01125706ce0 + +query IIIII rowsort +SELECT CASE a+1 WHEN b THEN 111 WHEN c THEN 222 + WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, + e, + d-e, + (a+b+c+d+e)/5, + a-b + FROM t1 + WHERE EXISTS(SELECT 1 FROM t1 AS x WHERE x.bd +---- +55 values hashing to 4d1e4b4b34120f5c6bb0c0e4fe30fdbd + +query IIIIIII rowsort +SELECT CASE a+1 WHEN b THEN 111 WHEN c THEN 222 + WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, + a+b*2+c*3, + CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + e, + d, + c-d, + a + FROM t1 + WHERE EXISTS(SELECT 1 FROM t1 AS x WHERE x.bt1.c AND x.d(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + CASE a+1 WHEN b THEN 111 WHEN c THEN 222 + WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END + FROM t1 + WHERE (c<=d-2 OR c>=d+2) + OR d>e +---- +96 values hashing to 5d1b031c85c8e443a475c8bf4d3c62ac + +query I rowsort +SELECT d-e + FROM t1 + WHERE EXISTS(SELECT 1 FROM t1 AS x WHERE x.b0 + AND c BETWEEN b-2 AND d+2 +---- +14 values hashing to eb0d3d5abd4ff4a559c13f43d12f55fc + +query IIIIIII rowsort +SELECT (SELECT count(*) FROM t1 AS x WHERE x.b(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + a, + (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.db-2 AND aa AND eb +---- + +query IIII rowsort +SELECT c-d, + (SELECT count(*) FROM t1 AS x WHERE x.bb-2 AND ae +---- +12 values hashing to 383eb65446347ea6e607173208759bd4 + +query IIII rowsort +SELECT CASE a+1 WHEN b THEN 111 WHEN c THEN 222 + WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, + b, + d-e, + a+b*2+c*3+d*4 + FROM t1 +---- +120 values hashing to 063f5e8d2c0f3169b9c191380f3d3322 + +query IIII rowsort +SELECT d, + b-c, + abs(b-c), + b + FROM t1 + WHERE c BETWEEN b-2 AND d+2 +---- +60 values hashing to 1d4f85009c12a1a99a445c4d2f49a07e + +query II rowsort +SELECT (SELECT count(*) FROM t1 AS x WHERE x.bc OR et1.c AND x.db +---- +102 values hashing to 90fa34da0f47adbe685546e0538a64b5 + +query I rowsort +SELECT d + FROM t1 + WHERE (e>c OR e=d+2) +---- +-2 +333 + +query IIIII rowsort +SELECT a+b*2+c*3, + CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + a+b*2, + d, + c + FROM t1 + WHERE c BETWEEN b-2 AND d+2 + OR a>b + OR (a>b-2 AND at1.c AND x.db + OR (e>c OR ec + OR (a>b-2 AND at1.c AND x.dc +---- +26 values hashing to f9aa7b0682d2155a61d91f6c3e3aa0f6 + +query IIIII rowsort +SELECT CASE WHEN a0 + AND c BETWEEN b-2 AND d+2 +---- +75 values hashing to 20ec583d2295fd5f84a509c8bb33045d + +query III rowsort +SELECT b-c, + CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + d-e + FROM t1 + WHERE EXISTS(SELECT 1 FROM t1 AS x WHERE x.bd + AND a>b +---- +15 values hashing to 4ae979f02ba8355cc00e1b6009f7f07c + +query IIIIII rowsort +SELECT d-e, + (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.d0 +---- +180 values hashing to 47d6e3c44547d5c5dcbd19d1dd9f15d5 + +query I rowsort +SELECT a + FROM t1 + WHERE (e>c OR e(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + a + FROM t1 + WHERE b IS NOT NULL +---- +135 values hashing to 15138e5915e2fe5ed2c0c820de7579ce + +query III rowsort +SELECT a+b*2+c*3, + d-e, + (a+b+c+d+e)/5 + FROM t1 + WHERE coalesce(a,b,c,d,e)<>0 + AND (e>c OR e(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + a-b, + (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.db + OR b IS NOT NULL +---- +135 values hashing to 9e262611553407ecce8e397969dd1bce + +query I rowsort +SELECT abs(b-c) + FROM t1 + WHERE b IS NOT NULL + AND e+d BETWEEN a+b-10 AND c+130 +---- +1 +4 + +query IIIIIII rowsort +SELECT a+b*2+c*3+d*4+e*5, + a+b*2, + d, + a+b*2+c*3+d*4, + a-b, + b-c, + a + FROM t1 + WHERE b>c + OR a IS NULL +---- +105 values hashing to 53754235cfffd05233b4d3a2403881a5 + +query I rowsort +SELECT a+b*2+c*3 + FROM t1 + WHERE a>b +---- +17 values hashing to e237372cbf981454a9240fd99e73b8e4 + +query IIIIIII rowsort +SELECT a+b*2, + a, + b, + c, + abs(b-c), + abs(a), + d + FROM t1 +---- +210 values hashing to b34e0001ad4bdd914341ae317c613e1c + +query II rowsort +SELECT b-c, + abs(a) + FROM t1 + WHERE b IS NOT NULL + OR e+d BETWEEN a+b-10 AND c+130 + OR c BETWEEN b-2 AND d+2 +---- +54 values hashing to 3755533386c14db52aa1ef57fb5c7dfe + +query IIII rowsort +SELECT c-d, + b-c, + CASE a+1 WHEN b THEN 111 WHEN c THEN 222 + WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, + c + FROM t1 + WHERE d NOT BETWEEN 110 AND 150 + AND (a>b-2 AND ab +---- +12 values hashing to 9d90bcb98a18bc4f2c6c648b57d9a0b5 + +query IIIIII rowsort +SELECT a+b*2+c*3+d*4+e*5, + d-e, + (SELECT count(*) FROM t1 AS x WHERE x.b=d+2) + OR e+d BETWEEN a+b-10 AND c+130 + OR a>b +---- +132 values hashing to 1438bde5aab9a47b1027ed6cd08d3080 + +query IIIIIII rowsort +SELECT abs(a), + d, + e, + a+b*2+c*3+d*4, + CASE a+1 WHEN b THEN 111 WHEN c THEN 222 + WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, + b-c, + a + FROM t1 + WHERE c BETWEEN b-2 AND d+2 + AND EXISTS(SELECT 1 FROM t1 AS x WHERE x.b0 +---- +150 values hashing to 2187ecb4988b726899c40305e68659be + +query IIII rowsort +SELECT a+b*2+c*3+d*4, + b, + (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.d=d+2) + OR (e>c OR ed +---- +104 values hashing to a14dd901528761d99a178f3831e86c6f + +query IIIII rowsort +SELECT (a+b+c+d+e)/5, + c-d, + CASE a+1 WHEN b THEN 111 WHEN c THEN 222 + WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, + a+b*2+c*3, + d-e + FROM t1 + WHERE a>b + AND (e>c OR e(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + abs(b-c) + FROM t1 + WHERE c BETWEEN b-2 AND d+2 + AND a IS NULL + AND d>e +---- +NULL +NULL +114 +1120 +1 + +query IIIIIII rowsort +SELECT d, + b-c, + CASE a+1 WHEN b THEN 111 WHEN c THEN 222 + WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, + (SELECT count(*) FROM t1 AS x WHERE x.b=d+2) +---- +70 values hashing to b0d4bbdac1bb95cff2c4e05adbb5da90 + +query IIIIII rowsort +SELECT (SELECT count(*) FROM t1 AS x WHERE x.b(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + a+b*2+c*3+d*4+e*5, + a+b*2+c*3, + b-c, + e + FROM t1 +---- +180 values hashing to a0916b6a52dd9dbdcc5e8e5abbf13dc2 + +query IIIII rowsort +SELECT a+b*2+c*3+d*4, + CASE a+1 WHEN b THEN 111 WHEN c THEN 222 + WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, + (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.d(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + (SELECT count(*) FROM t1 AS x WHERE x.be + OR coalesce(a,b,c,d,e)<>0 +---- +150 values hashing to 7513fd547e90170855946a451500730f + +query IIII rowsort +SELECT a+b*2+c*3+d*4, + CASE WHEN ab-2 AND a=d+2) +---- + +query IIIII rowsort +SELECT a+b*2+c*3+d*4+e*5, + d-e, + CASE a+1 WHEN b THEN 111 WHEN c THEN 222 + WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, + a+b*2+c*3, + (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.d(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + a+b*2+c*3, + e, + (SELECT count(*) FROM t1 AS x WHERE x.bd +---- +39 values hashing to 68c3d5e1a20acbe40e43b4cb004bd223 + +query III rowsort +SELECT abs(b-c), + (a+b+c+d+e)/5, + d + FROM t1 + WHERE (e>a AND e=d+2) +---- +10 values hashing to f4e6e43c2b8b813ce50d6662923d4fc0 + +query IIIIII rowsort +SELECT CASE a+1 WHEN b THEN 111 WHEN c THEN 222 + WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, + a+b*2+c*3+d*4+e*5, + c-d, + b-c, + (SELECT count(*) FROM t1 AS x WHERE x.be + AND coalesce(a,b,c,d,e)<>0 +---- +45 values hashing to c9265d596fbcbad28442ec6b998fb740 + +query II rowsort +SELECT a+b*2+c*3+d*4, + (SELECT count(*) FROM t1 AS x WHERE x.be +---- +18 values hashing to da91174780bb14b5dedff6e117705ee5 + +query IIIIII rowsort +SELECT abs(a), + (a+b+c+d+e)/5, + a+b*2, + c, + b, + d + FROM t1 + WHERE e+d BETWEEN a+b-10 AND c+130 + AND (c<=d-2 OR c>=d+2) +---- +12 values hashing to a84ed43f5c663d693a9c3bea9318231a + +query II rowsort +SELECT d-e, + a + FROM t1 + WHERE b>c + AND (e>c OR eb-2 AND a0 + AND d>e + AND d NOT BETWEEN 110 AND 150 +---- +42 values hashing to c39888e7e799f07421b58acd0c14b335 + +query I rowsort +SELECT CASE WHEN a=d+2) + AND b IS NOT NULL + AND c>d +---- +12 values hashing to d1f97e065d3318f1c905ff5f404c259e + +query III rowsort +SELECT a, + (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.db +---- +51 values hashing to c3ff7d2b20e04fd75f074ea1f41137bc + +query IIIIIII rowsort +SELECT c-d, + d-e, + a-b, + (a+b+c+d+e)/5, + b, + a, + abs(b-c) + FROM t1 + WHERE d>e + AND b IS NOT NULL + AND coalesce(a,b,c,d,e)<>0 +---- +77 values hashing to fcdd05c347f43f87c33b71e758491765 + +query IIII rowsort +SELECT a, + d, + a-b, + CASE WHEN a(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + a+b*2+c*3+d*4+e*5 + FROM t1 +---- +120 values hashing to ed44bad18fcadef3387f16249b2c8188 + +query IIIIII rowsort +SELECT b, + CASE a+1 WHEN b THEN 111 WHEN c THEN 222 + WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, + CASE WHEN at1.c AND x.db +---- +102 values hashing to 35b3e42da41d41da850ff27225d1add2 + +query III rowsort +SELECT (a+b+c+d+e)/5, + CASE a+1 WHEN b THEN 111 WHEN c THEN 222 + WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, + b + FROM t1 + WHERE a>b +---- +51 values hashing to b86029f47418c16af4cf2b938795cf9d + +query II rowsort +SELECT abs(a), + CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END + FROM t1 + WHERE d NOT BETWEEN 110 AND 150 +---- +34 values hashing to b9f27e2692846c7cf82160112dc817a1 + +query III rowsort +SELECT a-b, + b-c, + abs(b-c) + FROM t1 +---- +90 values hashing to c67a9b35c13fbe0e2c787e8b298e0cc7 + +query I rowsort +SELECT c + FROM t1 + WHERE (e>c OR eb +---- +25 values hashing to 12ac2528d0176d140f899db83beeae4a + +query IIIIII rowsort +SELECT (a+b+c+d+e)/5, + c-d, + CASE WHEN a(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + a, + c + FROM t1 + WHERE (e>c OR eb-2 AND ae + AND b>c +---- +5 + +query I rowsort +SELECT a+b*2 + FROM t1 + WHERE (e>c OR ee +---- +44 values hashing to 6eb821a9c64425c2015710ca063f859d + +query I rowsort +SELECT d + FROM t1 + WHERE e+d BETWEEN a+b-10 AND c+130 + OR b>c + OR c>d +---- +23 values hashing to 83c121f8dfa4054cd315db02a5a0da66 + +query IIIII rowsort +SELECT c, + e, + CASE WHEN ab +---- +85 values hashing to 6916e65d511015d6aa52a62b4a666ba3 + +query III rowsort +SELECT CASE a+1 WHEN b THEN 111 WHEN c THEN 222 + WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, + b-c, + e + FROM t1 + WHERE d NOT BETWEEN 110 AND 150 + OR a>b +---- +72 values hashing to 20a4b8aec8f3063b4950f5c7d01cf17c + +query IIIIIII rowsort +SELECT b, + d, + a, + c, + CASE WHEN ae + OR a IS NULL +---- +84 values hashing to 5bce68a9cb274f51217904d5c72a6671 + +query IIII rowsort +SELECT a+b*2+c*3+d*4, + c, + c-d, + b-c + FROM t1 + WHERE c BETWEEN b-2 AND d+2 + OR a>b + OR b IS NOT NULL +---- +108 values hashing to 2d4310983fffbe49ff8a05e91ff7336c + +query IIIII rowsort +SELECT abs(b-c), + b-c, + a+b*2, + (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.dt1.c AND x.d=d+2) +---- +14 values hashing to 08aca67746baa979d75bd8d3a8f212cf + +query II rowsort +SELECT d-e, + (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.dc OR eb-2 AND aa AND ed +---- +1 +1 + +query IIIII rowsort +SELECT CASE WHEN a0 +---- +150 values hashing to 362a2f78bba70bae1f727da6185db9e1 + +query IIII rowsort +SELECT (a+b+c+d+e)/5, + a+b*2+c*3+d*4+e*5, + (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.dc OR e0 + OR EXISTS(SELECT 1 FROM t1 AS x WHERE x.bt1.c AND x.d(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END + FROM t1 + WHERE (e>c OR ec + OR b IS NOT NULL + OR (e>c OR et1.c AND x.d(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END + FROM t1 +---- +30 values hashing to efdbaa4d180e7867bec1c4d897bd25b9 + +query I rowsort +SELECT d-e + FROM t1 +---- +30 values hashing to 9e2d6381b04ea314cd79c5fc9325b30e + +query IIIIII rowsort +SELECT b-c, + CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + CASE WHEN at1.c AND x.dc OR ec +---- +36 values hashing to 942b2c182279b08bb67984c403d5f2e3 + +query II rowsort +SELECT (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.d0 + AND d>e +---- +11 values hashing to 968b47b57dececa1c36ea07df5744ccb + +query IIIIII rowsort +SELECT d-e, + CASE WHEN a(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + abs(b-c) + FROM t1 + WHERE coalesce(a,b,c,d,e)<>0 + OR c BETWEEN b-2 AND d+2 + OR (c<=d-2 OR c>=d+2) +---- +180 values hashing to 2960873e6fcd668c017046579722e727 + +query IIIIIII rowsort +SELECT abs(a), + (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.dt1.c AND x.d(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + CASE a+1 WHEN b THEN 111 WHEN c THEN 222 + WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END + FROM t1 +---- +210 values hashing to 95e81aefa1435b01ca795dd01fa37055 + +query III rowsort +SELECT c-d, + a-b, + CASE a+1 WHEN b THEN 111 WHEN c THEN 222 + WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END + FROM t1 +---- +90 values hashing to 4ee92dc4498bf0bde48f9fe510e0eefb + +query IIIIIII rowsort +SELECT b, + a+b*2+c*3+d*4, + c-d, + a, + b-c, + a+b*2, + d-e + FROM t1 + WHERE (e>a AND et1.c AND x.dc OR e0 +---- +30 values hashing to 5597b8fa34613aadc270053ea54637e5 + +query IIIIII rowsort +SELECT a+b*2+c*3+d*4, + b, + a-b, + e, + c, + (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.db + OR b IS NOT NULL +---- +162 values hashing to 86497e82dae5464fd3ffbb6a17945399 + +query IIIIII rowsort +SELECT CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + d, + CASE a+1 WHEN b THEN 111 WHEN c THEN 222 + WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, + a+b*2, + e, + a+b*2+c*3+d*4+e*5 + FROM t1 + WHERE d NOT BETWEEN 110 AND 150 + OR e+d BETWEEN a+b-10 AND c+130 + OR a>b +---- +150 values hashing to 352a74ab89b39257e03af042d19053ca + +query II rowsort +SELECT d, + CASE a+1 WHEN b THEN 111 WHEN c THEN 222 + WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END + FROM t1 + WHERE b>c + OR EXISTS(SELECT 1 FROM t1 AS x WHERE x.bb + OR e+d BETWEEN a+b-10 AND c+130 + OR d NOT BETWEEN 110 AND 150 +---- +150 values hashing to 8b990284f465e87fb0bacddac6be6b32 + +query IIII rowsort +SELECT CASE a+1 WHEN b THEN 111 WHEN c THEN 222 + WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, + e, + b-c, + CASE WHEN ac OR e(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END + FROM t1 + WHERE c>d + OR EXISTS(SELECT 1 FROM t1 AS x WHERE x.ba AND ea AND e(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + d-e, + c-d + FROM t1 +---- +90 values hashing to 3c2e29c1a62828371d108fc2db0e9637 + +query IIIIII rowsort +SELECT (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.d0 +---- +180 values hashing to f26f35b2777ee4f09e0e1e36a80f73df + +query IIII rowsort +SELECT c, + a+b*2, + (SELECT count(*) FROM t1 AS x WHERE x.bc + OR c>d + OR a>b +---- +112 values hashing to e7ee87f5a21f10c5ba46c5523a4e3fc1 + +query IIIIIII rowsort +SELECT (SELECT count(*) FROM t1 AS x WHERE x.bt1.c AND x.da AND e(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + CASE WHEN a=d+2) +---- +70 values hashing to 29806c31c20e32638f689ff9b0074bbc + +query III rowsort +SELECT d, + abs(a), + (SELECT count(*) FROM t1 AS x WHERE x.bb +---- + +query IIIIII rowsort +SELECT b-c, + c-d, + d, + (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.d(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + a+b*2+c*3+d*4 + FROM t1 + WHERE (c<=d-2 OR c>=d+2) +---- +60 values hashing to 1d97218927132ea6eeb68998798765dd + +query IIIII rowsort +SELECT a, + a+b*2+c*3, + a+b*2+c*3+d*4, + (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.de +---- +135 values hashing to 951e266b40b8150f48baec623f0a686d + +query IIIII rowsort +SELECT a+b*2+c*3+d*4+e*5, + CASE WHEN a(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + b, + abs(b-c) + FROM t1 + WHERE (c<=d-2 OR c>=d+2) + AND c>d + AND a IS NULL +---- + +query III rowsort +SELECT a+b*2+c*3+d*4, + (SELECT count(*) FROM t1 AS x WHERE x.bt1.c AND x.d(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END + FROM t1 + WHERE (e>a AND e=d+2) + OR c BETWEEN b-2 AND d+2 +---- +95 values hashing to 9c84288c31e030804a75653e160c1629 + +query II rowsort +SELECT e, + (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.dt1.c AND x.d(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END + FROM t1 + WHERE a IS NULL +---- +10 values hashing to 7ee51b913f9e7c82957dd58131b1b053 + +query II rowsort +SELECT d, + c-d + FROM t1 +---- +60 values hashing to 91395206c5a9ae2e3ba90eaaf9fbcad3 + +query II rowsort +SELECT CASE a+1 WHEN b THEN 111 WHEN c THEN 222 + WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, + a + FROM t1 + WHERE b>c + AND a>b + AND coalesce(a,b,c,d,e)<>0 +---- +12 values hashing to d8e53c3de9f066cbd7c55b75853ee395 + +query IIIIIII rowsort +SELECT (SELECT count(*) FROM t1 AS x WHERE x.b(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END + FROM t1 +---- +210 values hashing to 61699457c79288b3b884493fcc1312c0 + +query IIIIIII rowsort +SELECT e, + d-e, + a+b*2+c*3+d*4, + c, + d, + a-b, + abs(b-c) + FROM t1 + WHERE e+d BETWEEN a+b-10 AND c+130 +---- +14 values hashing to 524440442f030d3deaeba575dcdfa474 + +query III rowsort +SELECT abs(b-c), + d, + (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.d=d+2) +---- +30 values hashing to af433230b7fed89ab6f38404c00cf2a1 + +query IIII rowsort +SELECT c-d, + a+b*2+c*3, + (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.dd + OR a IS NULL + OR (e>c OR et1.c AND x.dc OR ee +---- +11 values hashing to 91e1a4121a8a99224ec3880f8f82538f + +query IIIII rowsort +SELECT (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.d=d+2) + AND (e>c OR et1.c AND x.db + OR a IS NULL + OR b IS NOT NULL +---- +189 values hashing to 1a6eadef60af9a484ef356b4dbe18111 + +query IIII rowsort +SELECT a+b*2+c*3, + d-e, + (a+b+c+d+e)/5, + a+b*2+c*3+d*4+e*5 + FROM t1 +---- +120 values hashing to d5410dc1707e456075f961d75c8373e3 + +query IIIIII rowsort +SELECT (SELECT count(*) FROM t1 AS x WHERE x.b(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + CASE WHEN ac +---- +78 values hashing to f52714b3be854536a6021f8399270892 + +query I rowsort +SELECT (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.da AND e(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END + FROM t1 + WHERE d NOT BETWEEN 110 AND 150 +---- +51 values hashing to 3f10f53291c4c4332957f5fbb29105f3 + +query III rowsort +SELECT d-e, + d, + CASE WHEN aa AND eb-2 AND a(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + CASE a+1 WHEN b THEN 111 WHEN c THEN 222 + WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, + abs(a) + FROM t1 + WHERE (c<=d-2 OR c>=d+2) + AND d NOT BETWEEN 110 AND 150 + AND d>e +---- +20 values hashing to 3cde23794ae5812c647b191dce114ef9 + +query IIIII rowsort +SELECT b, + CASE a+1 WHEN b THEN 111 WHEN c THEN 222 + WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, + CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + (a+b+c+d+e)/5, + a+b*2+c*3 + FROM t1 + WHERE coalesce(a,b,c,d,e)<>0 + AND (e>a AND ec OR e(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + a+b*2+c*3+d*4+e*5 + FROM t1 +---- +90 values hashing to caf4160422e6c04f33f5dee76a5ee6ba + +query IIII rowsort +SELECT d-e, + d, + c, + b-c + FROM t1 + WHERE a IS NULL + AND b>c +---- + +query IIIII rowsort +SELECT abs(a), + a+b*2, + a+b*2+c*3, + c-d, + CASE WHEN a0 +---- +90 values hashing to fe561dee28440461c7db2b4bbe966e6d + +query I rowsort +SELECT c-d + FROM t1 +---- +30 values hashing to 5597b8fa34613aadc270053ea54637e5 + +query IIIIIII rowsort +SELECT abs(a), + a+b*2+c*3, + a+b*2, + c, + d, + a-b, + a+b*2+c*3+d*4+e*5 + FROM t1 + WHERE b IS NOT NULL +---- +189 values hashing to e3666393489dac8e3e03edb06718f10f + +query IIIII rowsort +SELECT a, + a-b, + a+b*2, + a+b*2+c*3, + (a+b+c+d+e)/5 + FROM t1 +---- +150 values hashing to 2f3a15a8e97ebcf855a829bc06b4b32c + +query II rowsort +SELECT d, + (SELECT count(*) FROM t1 AS x WHERE x.b0 +---- +60 values hashing to b3bf42b26da3b06aa3b50178db6c5697 + +query III rowsort +SELECT a, + a+b*2+c*3, + d-e + FROM t1 + WHERE d>e + AND b IS NOT NULL +---- +33 values hashing to 3a32b8d5a3ecfe962caef1637978eb7e + +query IIIII rowsort +SELECT b, + d-e, + (a+b+c+d+e)/5, + d, + a + FROM t1 + WHERE e+d BETWEEN a+b-10 AND c+130 +---- +10 values hashing to de89b94580a889b31f615d74825bf75b + +query IIIIII rowsort +SELECT CASE WHEN ab + OR b>c + OR c BETWEEN b-2 AND d+2 +---- +162 values hashing to 5387d6edebdd989ccaefbb09e17a4489 + +query IIIIII rowsort +SELECT d, + b-c, + a+b*2+c*3, + abs(a), + CASE a+1 WHEN b THEN 111 WHEN c THEN 222 + WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, + b + FROM t1 + WHERE (e>a AND ee + OR (c<=d-2 OR c>=d+2) +---- +96 values hashing to 00c6ced20f2eeff721db25271eae6fb3 + +query I rowsort +SELECT a+b*2 + FROM t1 + WHERE (c<=d-2 OR c>=d+2) + AND e+d BETWEEN a+b-10 AND c+130 +---- +317 +385 + +query IIIII rowsort +SELECT CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + c, + (SELECT count(*) FROM t1 AS x WHERE x.be + OR (c<=d-2 OR c>=d+2) +---- +80 values hashing to 53ec7c69fa7066b8d13cba3190a01566 + +query IIII rowsort +SELECT d, + a-b, + b-c, + c + FROM t1 + WHERE c BETWEEN b-2 AND d+2 + AND a>b +---- +32 values hashing to f82ab87aa91c92197efafacd537934bc + +query III rowsort +SELECT a+b*2+c*3+d*4, + e, + (SELECT count(*) FROM t1 AS x WHERE x.bt1.c AND x.d(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END + FROM t1 + WHERE EXISTS(SELECT 1 FROM t1 AS x WHERE x.bc +---- +130 values hashing to 32e82da0c738e8e4864716e5bce71c70 + +query II rowsort +SELECT abs(b-c), + (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.db +---- +34 values hashing to 17af39f9188adb8ce97fb72e6c8356ee + +query I rowsort +SELECT (SELECT count(*) FROM t1 AS x WHERE x.bd +---- +26 values hashing to 7423c13b5fcb65e9953181f0cea5a006 + +query III rowsort +SELECT CASE a+1 WHEN b THEN 111 WHEN c THEN 222 + WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, + CASE WHEN at1.c AND x.db +---- +54 values hashing to 24f085b29e652f1489e82b92cd2a3f18 + +query III rowsort +SELECT a-b, + a+b*2+c*3+d*4+e*5, + a+b*2 + FROM t1 + WHERE c>d + AND b>c + AND (c<=d-2 OR c>=d+2) +---- +-3 +2878 +579 + +query IIIIII rowsort +SELECT CASE a+1 WHEN b THEN 111 WHEN c THEN 222 + WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, + CASE WHEN ae + AND a>b + AND b>c +---- +555 +333 +3 +2323 +1391 +2 + +query I rowsort +SELECT abs(b-c) + FROM t1 +---- +30 values hashing to c289bcde2e1a495d6cc09dde069c6c87 + +query III rowsort +SELECT abs(a), + d-e, + a+b*2+c*3 + FROM t1 + WHERE EXISTS(SELECT 1 FROM t1 AS x WHERE x.bb-2 AND ac OR et1.c AND x.dc + OR (c<=d-2 OR c>=d+2) + OR d NOT BETWEEN 110 AND 150 +---- +150 values hashing to f046070b061166d9a9445ac1be175e05 + +query III rowsort +SELECT e, + b, + (a+b+c+d+e)/5 + FROM t1 + WHERE (e>a AND ec +---- +42 values hashing to 4415e43a6216d494659df3c3af052083 + +query IIIIII rowsort +SELECT (SELECT count(*) FROM t1 AS x WHERE x.ba AND ec OR eb + OR (a>b-2 AND at1.c AND x.dd + AND (a>b-2 AND ac +---- +10 values hashing to 5bdbcd20f9b8b742c3afd186710bd1ba + +query IIIIII rowsort +SELECT a+b*2+c*3+d*4+e*5, + CASE a+1 WHEN b THEN 111 WHEN c THEN 222 + WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, + abs(b-c), + CASE WHEN ad +---- +48 values hashing to a4d0a38ede3fe0f188f7321970a8f4dd + +query IIIII rowsort +SELECT (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.db-2 AND ad +---- +26 values hashing to 663683e4f7954e2f02d662e397617a1a + +query IIIIIII rowsort +SELECT a+b*2+c*3+d*4+e*5, + b-c, + b, + a, + c, + CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + (a+b+c+d+e)/5 + FROM t1 +---- +210 values hashing to d8d3fdc7da9f9940577c907ddc46ffce + +query IIIII rowsort +SELECT abs(b-c), + d, + c-d, + (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.dt1.c AND x.dd + OR c BETWEEN b-2 AND d+2 +---- +18 values hashing to ed081fa5a86710d0e9371bd21e57b60e + +query IIIII rowsort +SELECT b-c, + c-d, + d-e, + (a+b+c+d+e)/5, + d + FROM t1 + WHERE coalesce(a,b,c,d,e)<>0 +---- +150 values hashing to 3c56becf91b5255ea828187ff5b098f4 + +query IIIIII rowsort +SELECT b, + e, + a+b*2+c*3+d*4+e*5, + d-e, + (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.de + AND coalesce(a,b,c,d,e)<>0 +---- +49 values hashing to e5f10ba8d31c39afeed33abfce4615f4 + +query IIIIIII rowsort +SELECT CASE a+1 WHEN b THEN 111 WHEN c THEN 222 + WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, + b, + a+b*2, + abs(b-c), + abs(a), + b-c, + d + FROM t1 + WHERE c BETWEEN b-2 AND d+2 + AND (e>a AND ee + AND e+d BETWEEN a+b-10 AND c+130 +---- +127 + +query IIIIII rowsort +SELECT (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.db +---- +108 values hashing to aca58d046c3974c5452267788f36253d + +query III rowsort +SELECT (SELECT count(*) FROM t1 AS x WHERE x.bt1.c AND x.de + OR (e>c OR e0 +---- +90 values hashing to 831ec57d0eab9076adedbe5a7b29e5bf + +query I rowsort +SELECT a-b + FROM t1 + WHERE (e>a AND et1.c AND x.d0 +---- +150 values hashing to c76015113477b90a604969958de72e28 + +query IIIII rowsort +SELECT e, + b, + CASE a+1 WHEN b THEN 111 WHEN c THEN 222 + WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, + c-d, + CASE WHEN at1.c AND x.d0 + AND (e>c OR ee + AND a>b + AND a IS NULL +---- + +query IIII rowsort +SELECT (a+b+c+d+e)/5, + CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + a+b*2+c*3, + d + FROM t1 + WHERE (e>a AND eb +---- +108 values hashing to 978db612dff384a225a87254a55c893f + +query IIIIIII rowsort +SELECT (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.d(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + a+b*2+c*3, + CASE a+1 WHEN b THEN 111 WHEN c THEN 222 + WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, + e, + b-c, + c-d + FROM t1 + WHERE EXISTS(SELECT 1 FROM t1 AS x WHERE x.b0 + AND (e>c OR e(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + a+b*2+c*3+d*4, + (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.da AND et1.c AND x.d=d+2) +---- +20 values hashing to 8b8de03297a4e9b601746a08dccab3da + +query IIII rowsort +SELECT a, + CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + abs(b-c), + c-d + FROM t1 + WHERE a>b +---- +68 values hashing to 059bff8962702d7f8ec171a2b6710523 + +query IIIIII rowsort +SELECT c-d, + a+b*2+c*3, + d-e, + a+b*2+c*3+d*4, + b-c, + (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.da AND ec OR e(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END + FROM t1 + WHERE a IS NULL + OR c BETWEEN b-2 AND d+2 + OR a>b +---- +120 values hashing to 3fb73a6642c453dc019d87cb69d8ce65 + +query I rowsort +SELECT e + FROM t1 + WHERE c>d + AND coalesce(a,b,c,d,e)<>0 + AND a>b +---- +132 +173 +180 +189 +210 + +query IIIIII rowsort +SELECT d-e, + a, + (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.db-2 AND ab-2 AND a0 +---- +120 values hashing to f4530e16c6d59dfaeee60435bf008b02 + +query III rowsort +SELECT (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.d=d+2) + OR a>b +---- +66 values hashing to affa3f7c8cca946ae71f450ca6822fc1 + +query IIII rowsort +SELECT a, + e, + (SELECT count(*) FROM t1 AS x WHERE x.ba AND et1.c AND x.d=d+2) +---- +40 values hashing to a24ad9a2815293e785c73b1daaa0e8ad + +query III rowsort +SELECT b, + c-d, + a+b*2+c*3+d*4+e*5 + FROM t1 +---- +90 values hashing to b4c390cf4b2cfb24ddd6e3f132c39aaa + +query III rowsort +SELECT a, + a+b*2, + a-b + FROM t1 +---- +90 values hashing to 49d12b03e799cc0ee6e76a2a9f7c33a8 + +query IIIII rowsort +SELECT e, + (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.dd + OR e+d BETWEEN a+b-10 AND c+130 + OR d>e +---- +100 values hashing to df3961211ec3a646a12da616ad3fadc0 + +query IIIII rowsort +SELECT c-d, + a-b, + (a+b+c+d+e)/5, + b-c, + CASE WHEN ab + AND a IS NULL +---- + +query I rowsort +SELECT a+b*2+c*3+d*4+e*5 + FROM t1 + WHERE EXISTS(SELECT 1 FROM t1 AS x WHERE x.bc + OR a IS NULL + OR b IS NOT NULL +---- +108 values hashing to 7e30de55cc8c8fecffab160dec37f6cf + +query III rowsort +SELECT (a+b+c+d+e)/5, + abs(b-c), + d + FROM t1 + WHERE a>b + OR a IS NULL + OR b>c +---- +78 values hashing to 63edb99176cba2defed12c703539f05a + +query IIIII rowsort +SELECT CASE a+1 WHEN b THEN 111 WHEN c THEN 222 + WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, + d, + a-b, + abs(b-c), + (a+b+c+d+e)/5 + FROM t1 + WHERE b IS NOT NULL + OR d NOT BETWEEN 110 AND 150 +---- +145 values hashing to 63be192e3efa764f76ad645bbc0072f1 + +query IIII rowsort +SELECT d, + d-e, + (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.d(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END + FROM t1 + WHERE b>c + OR c BETWEEN b-2 AND d+2 +---- +92 values hashing to a5b6a8f716fa56ad6172f74a7ea0e544 + +query IIIIIII rowsort +SELECT a+b*2, + (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.dt1.c AND x.dc OR ec +---- +39 values hashing to 0a7270cbb622612fe7d21399b291ea34 + +query IIIIIII rowsort +SELECT c, + b, + a+b*2+c*3, + a+b*2+c*3+d*4+e*5, + CASE a+1 WHEN b THEN 111 WHEN c THEN 222 + WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, + (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.d0 + AND e+d BETWEEN a+b-10 AND c+130 +---- +106 +105 +635 +1612 +333 +0 +333 + +query IIIIIII rowsort +SELECT c-d, + a-b, + a+b*2+c*3+d*4+e*5, + CASE WHEN ab-2 AND ac + AND b IS NOT NULL +---- +42 values hashing to 292d19ab365220a4c3e6c8d933cded12 + +query IIIIII rowsort +SELECT a-b, + b, + a+b*2, + a+b*2+c*3+d*4+e*5, + d-e, + CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END + FROM t1 + WHERE e+d BETWEEN a+b-10 AND c+130 + OR d>e +---- +72 values hashing to 3e177272e34b49de0d456303ee9c5a3e + +query II rowsort +SELECT (a+b+c+d+e)/5, + CASE WHEN ad +---- +26 values hashing to bbcf40e5d9193aabcea50a283e717c13 + +query IIIIII rowsort +SELECT a+b*2+c*3, + a+b*2+c*3+d*4, + CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + abs(a), + b, + (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.db-2 AND ae + OR a>b +---- +138 values hashing to 36061e61f6fb65be552999cbc8a62109 + +query IIIIIII rowsort +SELECT (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.da AND e(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + abs(a), + a + FROM t1 +---- +180 values hashing to 4a8f3f5cc7acabba999f282a682e4df3 + +query II rowsort +SELECT a+b*2+c*3, + (a+b+c+d+e)/5 + FROM t1 + WHERE (e>c OR ec OR ec OR e0 +---- +150 values hashing to 2ebddea9b425cce206f5389f0b39fd13 + +query IIIIIII rowsort +SELECT b, + (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.db-2 AND a(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END + FROM t1 + WHERE (e>a AND et1.c AND x.de +---- +72 values hashing to 880fbd81a41a9c85a5eae4cce9eb38a7 + +query I rowsort +SELECT d + FROM t1 + WHERE c>d + OR b>c +---- +22 values hashing to 37894839dede35f650b00286a84a36c1 + +query IIIIIII rowsort +SELECT d-e, + CASE WHEN a=d+2) +---- +70 values hashing to dc257c0ed350a49a5fc2d03ed4017bce + +query IIIIII rowsort +SELECT e, + (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.dc + OR a>b +---- +144 values hashing to 9bef3a2da8ca8adaf6ac27a55656e1d4 + +query IIIIIII rowsort +SELECT a+b*2+c*3, + (a+b+c+d+e)/5, + b-c, + e, + abs(b-c), + c-d, + b + FROM t1 + WHERE e+d BETWEEN a+b-10 AND c+130 + AND (e>c OR ec +---- +760 +127 +4 +126 +4 +-3 +129 + +query IIIII rowsort +SELECT a+b*2+c*3+d*4+e*5, + c, + abs(a), + a+b*2+c*3+d*4, + CASE a+1 WHEN b THEN 111 WHEN c THEN 222 + WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END + FROM t1 + WHERE c BETWEEN b-2 AND d+2 + AND b>c +---- +25 values hashing to a319c940b7c0dad8385a5d2d235e0ac9 + +query III rowsort +SELECT a+b*2+c*3, + a+b*2+c*3+d*4+e*5, + CASE a+1 WHEN b THEN 111 WHEN c THEN 222 + WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END + FROM t1 + WHERE d>e + AND coalesce(a,b,c,d,e)<>0 +---- +33 values hashing to cccc2fc956ba31f21063f4ed5504c7d5 + +query IIIIII rowsort +SELECT e, + d-e, + CASE WHEN a(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END + FROM t1 + WHERE d>e + OR c BETWEEN b-2 AND d+2 + OR (e>a AND ec + OR c BETWEEN b-2 AND d+2 +---- +69 values hashing to 59bf333ae0b98d58bcae7a31cd5557cc + +query I rowsort +SELECT CASE WHEN ac OR ee + OR e+d BETWEEN a+b-10 AND c+130 + OR coalesce(a,b,c,d,e)<>0 +---- +90 values hashing to bf0b1691880199579089ce2f5732550a + +query IIII rowsort +SELECT c-d, + CASE a+1 WHEN b THEN 111 WHEN c THEN 222 + WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, + d, + a-b + FROM t1 +---- +120 values hashing to 2e71f1d3ef553efa731e74493491b43e + +query IIIII rowsort +SELECT CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + a-b, + d-e, + c, + a+b*2 + FROM t1 + WHERE (a>b-2 AND ae + OR e+d BETWEEN a+b-10 AND c+130 +---- +24 values hashing to 39f21bf43fd60cb6f414344a0ebf8c6e + +query III rowsort +SELECT b, + CASE WHEN a(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END + FROM t1 +---- +150 values hashing to f04293c115149822ce94d0701e876523 + +query IIIIII rowsort +SELECT abs(b-c), + a-b, + (SELECT count(*) FROM t1 AS x WHERE x.b(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END + FROM t1 + WHERE (e>a AND eb-2 AND ad +---- +65 values hashing to 7d1010ffd2bac09eacbd2c9fba7ac5e3 + +query III rowsort +SELECT a-b, + abs(b-c), + (SELECT count(*) FROM t1 AS x WHERE x.bb-2 AND at1.c AND x.de + OR (a>b-2 AND a0 + AND (c<=d-2 OR c>=d+2) +---- + +query IIIIII rowsort +SELECT c-d, + b-c, + CASE WHEN a(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END + FROM t1 + WHERE c BETWEEN b-2 AND d+2 + AND (a>b-2 AND ae +---- +18 values hashing to 0863cee9de2d56270775813a3a17b7e5 + +query IIIIII rowsort +SELECT a+b*2+c*3+d*4+e*5, + abs(a), + a-b, + a+b*2, + b, + c-d + FROM t1 + WHERE a>b + AND c BETWEEN b-2 AND d+2 +---- +48 values hashing to 94f74078907e78ef572fa0e510484e77 + +query IIIIII rowsort +SELECT c-d, + e, + a+b*2+c*3+d*4, + c, + a, + (SELECT count(*) FROM t1 AS x WHERE x.b0 + OR b>c + OR a>b +---- +210 values hashing to c3a28a29943cda0b0369096bc4217587 + +query IIIIII rowsort +SELECT d, + c, + a+b*2+c*3+d*4, + CASE a+1 WHEN b THEN 111 WHEN c THEN 222 + WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, + abs(a), + e + FROM t1 +---- +180 values hashing to 5654e95b1947f195d63ec22ce973e453 + +query IIIII rowsort +SELECT a+b*2+c*3+d*4+e*5, + CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + e, + d, + a+b*2+c*3+d*4 + FROM t1 + WHERE (c<=d-2 OR c>=d+2) + OR (e>a AND et1.c AND x.d(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + (a+b+c+d+e)/5, + a-b, + abs(a), + CASE a+1 WHEN b THEN 111 WHEN c THEN 222 + WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END + FROM t1 +---- +210 values hashing to c3150ef8bcd2ba7d6850a2e90e8429d2 + +query II rowsort +SELECT c-d, + a+b*2+c*3+d*4 + FROM t1 + WHERE d>e + OR a IS NULL + OR EXISTS(SELECT 1 FROM t1 AS x WHERE x.bt1.c AND x.dc + AND d>e + AND EXISTS(SELECT 1 FROM t1 AS x WHERE x.b(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + abs(b-c) + FROM t1 + WHERE coalesce(a,b,c,d,e)<>0 + AND c>d +---- +78 values hashing to aea9f3b24ac690b7ca61dde6e38d4087 + +query I rowsort +SELECT a+b*2+c*3 + FROM t1 + WHERE coalesce(a,b,c,d,e)<>0 +---- +30 values hashing to 445b0172de37f3ca0ed777000309cef8 + +query IIIIIII rowsort +SELECT CASE WHEN ab-2 AND a0 +---- +90 values hashing to b695930cba779990506825371a4cb6f0 + +query IIIII rowsort +SELECT (SELECT count(*) FROM t1 AS x WHERE x.b=d+2) + AND c BETWEEN b-2 AND d+2 + AND d>e +---- +20 values hashing to f36747a922a64a45b6021838f71a7404 + +query IIII rowsort +SELECT abs(b-c), + a+b*2+c*3+d*4, + e, + b-c + FROM t1 + WHERE a IS NULL + OR coalesce(a,b,c,d,e)<>0 + OR b>c +---- +120 values hashing to a66e96aaa5e2333eada2f94e14e11d19 + +query II rowsort +SELECT (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.de +---- +22 values hashing to 6d5296bf2990e2c542cb932b111e58b0 + +query IIIII rowsort +SELECT CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + a+b*2+c*3, + c-d, + d-e, + a+b*2 + FROM t1 + WHERE d>e + OR (e>c OR et1.c AND x.dd + OR (c<=d-2 OR c>=d+2) + OR EXISTS(SELECT 1 FROM t1 AS x WHERE x.bc OR ee +---- +66 values hashing to 29bf444784eb00e33aec085b59443fcf + +query II rowsort +SELECT CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + a+b*2+c*3+d*4 + FROM t1 +---- +60 values hashing to 9dab3921e761fb6aeea4e154dd53814c + +query II rowsort +SELECT e, + c-d + FROM t1 +---- +60 values hashing to 52b55195fd2cbf5a5724611d48a47b4d + +query I rowsort +SELECT d + FROM t1 + WHERE c BETWEEN b-2 AND d+2 + OR c>d +---- +18 values hashing to 10a54676f8fc9c6839ddbb6078163c29 + +query I rowsort +SELECT abs(a) + FROM t1 +---- +30 values hashing to 9a6afb6b859fc856aafb6a7af11a38e4 + +query IIIII rowsort +SELECT a+b*2+c*3+d*4+e*5, + (SELECT count(*) FROM t1 AS x WHERE x.b(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + a + FROM t1 + WHERE (a>b-2 AND ae +---- +2728 +14 +184 +364 +182 + +query II rowsort +SELECT a, + a-b + FROM t1 + WHERE EXISTS(SELECT 1 FROM t1 AS x WHERE x.b(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.d(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + CASE WHEN ab-2 AND a=d+2) + AND c BETWEEN b-2 AND d+2 + AND b IS NOT NULL +---- +36 values hashing to 94312feb4471e360fb2f52d49629c3c6 + +query III rowsort +SELECT d-e, + CASE WHEN ab +---- +85 values hashing to 80d90d98b5254af7ad522b74fdb17712 + +query IIIIII rowsort +SELECT (SELECT count(*) FROM t1 AS x WHERE x.bt1.c AND x.db +---- +68 values hashing to abcb35b2a0d7934c081beb8189cf1b95 + +query IIIII rowsort +SELECT CASE WHEN ad +---- +78 values hashing to 1b520683f74b5530a6d329a42c3b086c + +query IIIIIII rowsort +SELECT b, + c, + abs(b-c), + CASE WHEN ab-2 AND ac +---- +105 values hashing to 93621982a8d1f310b8a2c14097620bf2 + +query IIIII rowsort +SELECT (a+b+c+d+e)/5, + a+b*2+c*3+d*4, + abs(a), + b-c, + (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.dc OR ec +---- +78 values hashing to 1dcb8480bfa52a7ff3eeadb8e5f9d6b7 + +query IIIIII rowsort +SELECT b-c, + a+b*2+c*3+d*4+e*5, + (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.d=d+2) + OR d NOT BETWEEN 110 AND 150 +---- +38 values hashing to 87d92ebb256f91f8fcff006e1de357c6 + +query IIII rowsort +SELECT abs(a), + a+b*2+c*3+d*4, + d, + CASE WHEN ac + OR c>d + OR d NOT BETWEEN 110 AND 150 +---- +130 values hashing to 22615879d395d9f85a5d5410a52cbade + +query II rowsort +SELECT a+b*2+c*3, + (a+b+c+d+e)/5 + FROM t1 + WHERE (e>a AND e(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.dc OR eb-2 AND at1.c AND x.db + AND (c<=d-2 OR c>=d+2) + AND b>c +---- +234 +-2 +232 +3473 + +query IIIIIII rowsort +SELECT CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + a+b*2, + CASE a+1 WHEN b THEN 111 WHEN c THEN 222 + WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, + (a+b+c+d+e)/5, + abs(a), + abs(b-c), + c-d + FROM t1 +---- +210 values hashing to 3c8f4a1535d3f43a24c81afe21c184e4 + +query II rowsort +SELECT a+b*2+c*3+d*4+e*5, + (SELECT count(*) FROM t1 AS x WHERE x.bb +---- +105 + +query IIII rowsort +SELECT CASE a+1 WHEN b THEN 111 WHEN c THEN 222 + WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, + d, + CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + b-c + FROM t1 +---- +120 values hashing to 901ba045211faeea092345b7ad51c0d5 + +query II rowsort +SELECT (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.de + OR a IS NULL +---- +24 values hashing to e2a022b7bd74795bc490bcc51a206498 + +query I rowsort +SELECT abs(b-c) + FROM t1 + WHERE b IS NOT NULL + OR (c<=d-2 OR c>=d+2) + OR d>e +---- +28 values hashing to 13f8270a8f89d6e944f5090daeadabd0 + +query III rowsort +SELECT a, + CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + (SELECT count(*) FROM t1 AS x WHERE x.bc OR e(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END + FROM t1 + WHERE e+d BETWEEN a+b-10 AND c+130 + AND b IS NOT NULL + AND (e>a AND ea AND e=d+2) +---- +-1 +-3 +1 +1 +-3 +-2 + +query IIIII rowsort +SELECT a, + b-c, + c-d, + CASE WHEN ae + AND c BETWEEN b-2 AND d+2 + AND a>b +---- +25 values hashing to 419cd8bb5dda32eae9bca394f90dde33 + +query IIII rowsort +SELECT CASE WHEN ac OR eb + OR b>c +---- +72 values hashing to f845b36d538bfc88079f0cb5eef060a2 + +query IIII rowsort +SELECT a-b, + b, + CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + CASE WHEN a=d+2) +---- +40 values hashing to 80e350db406b6c89ef984d914c33e892 + +query I rowsort +SELECT abs(b-c) + FROM t1 + WHERE a IS NULL + AND e+d BETWEEN a+b-10 AND c+130 +---- + +query IIIII rowsort +SELECT (SELECT count(*) FROM t1 AS x WHERE x.bt1.c AND x.dd + AND EXISTS(SELECT 1 FROM t1 AS x WHERE x.bt1.c AND x.dc OR e0 + AND e+d BETWEEN a+b-10 AND c+130 +---- +14 values hashing to e86dd9a09988eb25ea97879396caf6b1 + +query IIII rowsort +SELECT e, + a+b*2+c*3, + abs(b-c), + a+b*2+c*3+d*4 + FROM t1 + WHERE coalesce(a,b,c,d,e)<>0 + AND (a>b-2 AND a0 + OR (e>c OR e(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END + FROM t1 +---- +60 values hashing to 18f2933597761b47c2c692da942192f4 + +query II rowsort +SELECT a+b*2+c*3, + b-c + FROM t1 + WHERE (e>c OR e(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END + FROM t1 + WHERE b>c + AND d NOT BETWEEN 110 AND 150 + AND coalesce(a,b,c,d,e)<>0 +---- +24 values hashing to 47e330569be3eb481186c0d6c28073c5 + +query I rowsort +SELECT a+b*2 + FROM t1 +---- +30 values hashing to fbca95e5a969d3d61cef1ebdfb618461 + +query I rowsort +SELECT d-e + FROM t1 + WHERE e+d BETWEEN a+b-10 AND c+130 + OR (c<=d-2 OR c>=d+2) +---- +10 values hashing to 6e82ac65b16043b22b77cce5a6b54b85 + +query I rowsort +SELECT (a+b+c+d+e)/5 + FROM t1 + WHERE coalesce(a,b,c,d,e)<>0 + AND (e>a AND e(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + e, + b-c + FROM t1 + WHERE (a>b-2 AND a0 +---- +40 values hashing to 37f20a64c7fb356dece2c07d46d1ab67 + +query II rowsort +SELECT a+b*2, + (a+b+c+d+e)/5 + FROM t1 + WHERE b IS NOT NULL + AND c>d + AND c BETWEEN b-2 AND d+2 +---- +20 values hashing to 5f495935b071bd704ed9f2508972775f + +query IIIIII rowsort +SELECT c, + a+b*2+c*3+d*4, + b, + abs(b-c), + (a+b+c+d+e)/5, + abs(a) + FROM t1 +---- +180 values hashing to f54645bfc786b7ace563665760407aba + +query II rowsort +SELECT c-d, + abs(a) + FROM t1 +---- +60 values hashing to fe78e4b1ff081fd27c3224d12fcc9ce5 + +query IIII rowsort +SELECT a-b, + a+b*2+c*3+d*4, + c, + (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.d=d+2) + AND c>d +---- +20 values hashing to a6f5b07700b91337d455fc7b74670969 + +query IIIIIII rowsort +SELECT d-e, + (a+b+c+d+e)/5, + CASE a+1 WHEN b THEN 111 WHEN c THEN 222 + WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, + abs(b-c), + a+b*2+c*3, + (SELECT count(*) FROM t1 AS x WHERE x.be + OR d NOT BETWEEN 110 AND 150 + OR e+d BETWEEN a+b-10 AND c+130 +---- +147 values hashing to 940512b6145ce091c8d1f82874510cfb + +query III rowsort +SELECT c, + b-c, + a+b*2+c*3 + FROM t1 + WHERE (c<=d-2 OR c>=d+2) + OR d NOT BETWEEN 110 AND 150 + OR c BETWEEN b-2 AND d+2 +---- +72 values hashing to 0f242e9e2f56c89d9c9be56b8e43ccd9 + +query II rowsort +SELECT b, + (a+b+c+d+e)/5 + FROM t1 + WHERE e+d BETWEEN a+b-10 AND c+130 +---- +105 +107 +129 +127 + +query IIIIII rowsort +SELECT CASE WHEN a(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.db-2 AND at1.c AND x.d(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + c-d + FROM t1 + WHERE EXISTS(SELECT 1 FROM t1 AS x WHERE x.bt1.c AND x.d0 + OR a IS NULL +---- +60 values hashing to 7a1089974412491aad2bf8edc19d0344 + +query IIIIII rowsort +SELECT d-e, + a+b*2+c*3+d*4+e*5, + b-c, + a, + d, + b + FROM t1 + WHERE b IS NOT NULL + OR d NOT BETWEEN 110 AND 150 +---- +174 values hashing to 03fe0d3bbd39567ee4199b3e3b15c9e0 + +query IIIIIII rowsort +SELECT a, + CASE a+1 WHEN b THEN 111 WHEN c THEN 222 + WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, + b, + (a+b+c+d+e)/5, + (SELECT count(*) FROM t1 AS x WHERE x.bc +---- +91 values hashing to 126317fd31fb97a1f067200b291595e8 + +query II rowsort +SELECT CASE WHEN a=d+2) +---- +60 values hashing to 85fd30e621d2979629fdff750ef890c6 + +query II rowsort +SELECT (SELECT count(*) FROM t1 AS x WHERE x.b(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END + FROM t1 + WHERE c BETWEEN b-2 AND d+2 + OR a IS NULL + OR (c<=d-2 OR c>=d+2) +---- +38 values hashing to 2cb9992dd2e1efb568d5c05c75270eae + +query II rowsort +SELECT CASE a+1 WHEN b THEN 111 WHEN c THEN 222 + WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, + b + FROM t1 + WHERE e+d BETWEEN a+b-10 AND c+130 +---- +333 +105 +333 +129 + +query III rowsort +SELECT a+b*2, + (SELECT count(*) FROM t1 AS x WHERE x.b(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + a+b*2+c*3+d*4 + FROM t1 + WHERE d>e + OR c BETWEEN b-2 AND d+2 +---- +68 values hashing to 85ffb6504ac3b87c0fb31d02076bb13e + +query I rowsort +SELECT c-d + FROM t1 + WHERE a>b +---- +17 values hashing to 339d4bd65b5ceb69bc4f771072510b73 + +query IIIIIII rowsort +SELECT (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.de +---- +119 values hashing to c1050f64689e52b52a4fd459eef9efca + +query IIIIIII rowsort +SELECT a+b*2, + CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + b-c, + c-d, + (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.dt1.c AND x.dc + OR c BETWEEN b-2 AND d+2 +---- +46 values hashing to 18f24ebfbe56b03b99e19ec7f35bee15 + +query IIII rowsort +SELECT (SELECT count(*) FROM t1 AS x WHERE x.bb-2 AND a(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END + FROM t1 + WHERE c BETWEEN b-2 AND d+2 + OR d NOT BETWEEN 110 AND 150 +---- +44 values hashing to 436aec0b8f293a2a9e9f2d2d27d983e8 + +query IIII rowsort +SELECT a, + CASE WHEN ad + OR (e>c OR eb-2 AND a(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + b-c, + a-b, + b + FROM t1 + WHERE a>b + OR (a>b-2 AND ae +---- +161 values hashing to f5decf8ff88f038062422376c736ce1e + +query I rowsort +SELECT (SELECT count(*) FROM t1 AS x WHERE x.b=d+2) +---- +-1 +107 +2 +127 + +query III rowsort +SELECT (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.d(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + b + FROM t1 + WHERE coalesce(a,b,c,d,e)<>0 + AND d NOT BETWEEN 110 AND 150 +---- +51 values hashing to fe6b57844f6bca2c80db86f273233b7f + +query I rowsort +SELECT a+b*2+c*3+d*4 + FROM t1 + WHERE d>e + OR e+d BETWEEN a+b-10 AND c+130 +---- +12 values hashing to 3297975eebdf7bdaa556ca71560c6bad + +query IIII rowsort +SELECT a+b*2+c*3+d*4+e*5, + e, + a+b*2, + (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.d(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END + FROM t1 + WHERE b>c + AND (e>c OR et1.c AND x.dc + AND (e>c OR e0 +---- +9 values hashing to 8b75136b2b51c77345c03804ec1cda5c + +query IIIIII rowsort +SELECT CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + e, + c-d, + b, + CASE WHEN ac +---- +36 values hashing to 1dfab01a2a3cde1a0fb099a13ee8f260 + +query IIIIIII rowsort +SELECT e, + a+b*2+c*3, + a+b*2, + a, + abs(b-c), + CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + b + FROM t1 + WHERE b>c +---- +91 values hashing to 2510a4574e6b6031bf8b31706569fd18 + +query I rowsort +SELECT e + FROM t1 + WHERE b>c +---- +13 values hashing to 4d4acfcd99942f84e7e344dc0cf97feb + +query II rowsort +SELECT abs(b-c), + (SELECT count(*) FROM t1 AS x WHERE x.be + OR EXISTS(SELECT 1 FROM t1 AS x WHERE x.b0 +---- +150 values hashing to 7a10803f8ac1862746a5dfd7761068ec + +query IIII rowsort +SELECT CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.d(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + b, + (a+b+c+d+e)/5 + FROM t1 + WHERE (e>c OR et1.c AND x.d=d+2) +---- +70 values hashing to a30d10c6e226154b4f8a0a602394c523 + +query III rowsort +SELECT c, + a+b*2+c*3, + (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.d(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + c-d + FROM t1 + WHERE (e>c OR ec +---- +36 values hashing to 79335442c361dccabc252e74f3e843e2 + +query III rowsort +SELECT d-e, + (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.db + OR e+d BETWEEN a+b-10 AND c+130 + OR (e>c OR e(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + CASE a+1 WHEN b THEN 111 WHEN c THEN 222 + WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END + FROM t1 +---- +90 values hashing to 68d0758e12aa7de3bf098c50b1020325 + +query II rowsort +SELECT b, + a-b + FROM t1 + WHERE d NOT BETWEEN 110 AND 150 + AND a>b + AND d>e +---- +10 values hashing to 3c965ff7e782f60c038c785b61f762ec + +query I rowsort +SELECT b + FROM t1 + WHERE EXISTS(SELECT 1 FROM t1 AS x WHERE x.b(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + a+b*2+c*3+d*4+e*5, + a+b*2, + a+b*2+c*3+d*4 + FROM t1 +---- +210 values hashing to 211250250d77b776c079d3ae1530f040 + +query IIII rowsort +SELECT a+b*2, + a-b, + b, + d + FROM t1 + WHERE d>e + OR d NOT BETWEEN 110 AND 150 + OR (c<=d-2 OR c>=d+2) +---- +88 values hashing to 5cede43346ad9a3e7df350a2905a234e + +query III rowsort +SELECT a+b*2+c*3+d*4+e*5, + a+b*2+c*3+d*4, + a+b*2+c*3 + FROM t1 + WHERE e+d BETWEEN a+b-10 AND c+130 + OR (a>b-2 AND a(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END + FROM t1 + WHERE e+d BETWEEN a+b-10 AND c+130 + AND c>d + AND b>c +---- + +query IIIIII rowsort +SELECT c-d, + a, + a+b*2, + abs(a), + (a+b+c+d+e)/5, + c + FROM t1 + WHERE a IS NULL + OR (c<=d-2 OR c>=d+2) + OR b>c +---- +126 values hashing to a0c2526cbe79a2234e194925721595ac + +query III rowsort +SELECT b-c, + a+b*2, + a+b*2+c*3 + FROM t1 + WHERE coalesce(a,b,c,d,e)<>0 + OR a IS NULL + OR d NOT BETWEEN 110 AND 150 +---- +90 values hashing to e930affe853f103637032aeca0d8bbed + +query I rowsort +SELECT e + FROM t1 + WHERE (e>a AND ec OR e(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + b + FROM t1 + WHERE EXISTS(SELECT 1 FROM t1 AS x WHERE x.b=d+2) +---- +168 values hashing to e1a831887ece1fd1a76178b4e62c96d3 + +query IIIIIII rowsort +SELECT (SELECT count(*) FROM t1 AS x WHERE x.bb + OR d>e +---- +154 values hashing to b3c2481d8ea84ad257e77907a46f4575 + +query IIIII rowsort +SELECT a, + CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + CASE WHEN a(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + (SELECT count(*) FROM t1 AS x WHERE x.bd + OR EXISTS(SELECT 1 FROM t1 AS x WHERE x.b0 + AND c>d + AND (c<=d-2 OR c>=d+2) +---- +20 values hashing to 8f4e8cad16d912e4afabac29308ba86b + +query IIIIII rowsort +SELECT a+b*2+c*3+d*4, + a+b*2+c*3+d*4+e*5, + b, + a-b, + a, + a+b*2+c*3 + FROM t1 + WHERE a IS NULL + OR b>c +---- +90 values hashing to aae88e03ac5ada995ab449e794fe5dbd + +query IIIIII rowsort +SELECT a+b*2+c*3+d*4, + a-b, + b-c, + b, + (a+b+c+d+e)/5, + (SELECT count(*) FROM t1 AS x WHERE x.b=d+2) +---- +60 values hashing to fccfe38217c9336da83a72e1e38466e9 + +query IIIIIII rowsort +SELECT (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.d(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + c-d + FROM t1 + WHERE d NOT BETWEEN 110 AND 150 +---- +51 values hashing to 9f89c5db1a39fdf0128d784a415b7aec + +query I rowsort +SELECT d + FROM t1 + WHERE coalesce(a,b,c,d,e)<>0 + AND d NOT BETWEEN 110 AND 150 +---- +17 values hashing to 6753fb8eb6def51fd8dded76e76af57a + +query II rowsort +SELECT (SELECT count(*) FROM t1 AS x WHERE x.b=d+2) +---- +20 values hashing to aa007d94cb84743d77f13a517ac1c0a2 + +query II rowsort +SELECT abs(b-c), + c-d + FROM t1 + WHERE b IS NOT NULL +---- +54 values hashing to 0769f1f2c8be954b6c9fa17d55b37ee4 + +query IIIIII rowsort +SELECT b, + c, + e, + abs(a), + (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.d(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + a+b*2+c*3 + FROM t1 +---- +150 values hashing to 47c99b2a96a0b1135bfe580e677eeea1 + +query IIII rowsort +SELECT CASE a+1 WHEN b THEN 111 WHEN c THEN 222 + WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, + c-d, + a+b*2+c*3+d*4+e*5, + d + FROM t1 +---- +120 values hashing to 48c8a67b9e81a901a1f13db6fda04911 + +query III rowsort +SELECT a-b, + (a+b+c+d+e)/5, + abs(a) + FROM t1 + WHERE EXISTS(SELECT 1 FROM t1 AS x WHERE x.bb-2 AND at1.c AND x.dt1.c AND x.db + AND d>e + AND (a>b-2 AND a(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + c-d + FROM t1 + WHERE (e>a AND e0 +---- +120 values hashing to 8ab46353ee866e071bf1b7af72db7e40 + +query IIIIII rowsort +SELECT d, + c-d, + CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + a+b*2+c*3+d*4, + (a+b+c+d+e)/5, + (SELECT count(*) FROM t1 AS x WHERE x.bd + AND b IS NOT NULL + AND a>b +---- +30 values hashing to fdd011a2e0a18abb3227e4326df8ecdd + +query IIIIIII rowsort +SELECT a-b, + (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.d(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + e, + (a+b+c+d+e)/5, + d-e + FROM t1 +---- +210 values hashing to 51eb4c6f118a3cd801249a8cd6d255c6 + +query IIII rowsort +SELECT a, + abs(a), + a+b*2+c*3+d*4+e*5, + a+b*2 + FROM t1 + WHERE (c<=d-2 OR c>=d+2) + OR c>d +---- +72 values hashing to 082358e17e9e36e6e9d5b0c79eee1ea6 + +query II rowsort +SELECT c, + CASE a+1 WHEN b THEN 111 WHEN c THEN 222 + WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END + FROM t1 +---- +60 values hashing to 19f43f5d16381a382e6f42d423819d43 + +query IIIII rowsort +SELECT b-c, + a+b*2+c*3+d*4, + b, + c-d, + a+b*2+c*3 + FROM t1 + WHERE d>e + AND c>d + AND coalesce(a,b,c,d,e)<>0 +---- +25 values hashing to 299e3455af3896f73b4c030343e18557 + +query IIIIII rowsort +SELECT b, + (a+b+c+d+e)/5, + a-b, + a+b*2+c*3+d*4+e*5, + CASE WHEN ae +---- +66 values hashing to 63f9ad9303fb8a4a7b347b0e62fdff94 + +query IIIII rowsort +SELECT c, + (SELECT count(*) FROM t1 AS x WHERE x.bt1.c AND x.dt1.c AND x.de +---- +33 values hashing to ea6c8f3411332788326ec19211e7f3ca + +query III rowsort +SELECT a, + c-d, + abs(a) + FROM t1 + WHERE d>e +---- +33 values hashing to a1f305de18a165327a59c4b3250a373e + +query IIIII rowsort +SELECT abs(b-c), + a-b, + c-d, + CASE a+1 WHEN b THEN 111 WHEN c THEN 222 + WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, + b-c + FROM t1 +---- +150 values hashing to 2b4eff4fda2993558a9c12090b664627 + +query IIIII rowsort +SELECT CASE a+1 WHEN b THEN 111 WHEN c THEN 222 + WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, + (SELECT count(*) FROM t1 AS x WHERE x.bc + OR d NOT BETWEEN 110 AND 150 + OR (a>b-2 AND a(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END + FROM t1 + WHERE (a>b-2 AND ad +---- +119 values hashing to 7343926d6c48db22db873f7d5ee38428 + +query I rowsort +SELECT CASE a+1 WHEN b THEN 111 WHEN c THEN 222 + WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END + FROM t1 + WHERE c BETWEEN b-2 AND d+2 +---- +15 values hashing to a879d0436172411bd1ff79ad23bcf6c5 + +query IIIIIII rowsort +SELECT c-d, + (SELECT count(*) FROM t1 AS x WHERE x.bt1.c AND x.dt1.c AND x.d0 +---- +60 values hashing to b339e36127a64202a49f498513dd40e3 + +query IIIII rowsort +SELECT b, + d-e, + a+b*2+c*3+d*4, + (SELECT count(*) FROM t1 AS x WHERE x.be +---- +112 +4 +NULL +1 +444 + +query IIII rowsort +SELECT e, + a+b*2, + CASE WHEN a(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + b, + e, + c-d, + b-c, + d + FROM t1 + WHERE d>e + AND a>b + AND d NOT BETWEEN 110 AND 150 +---- +35 values hashing to be86deef0c7e820d495982d5c6b880da + +query IIIII rowsort +SELECT CASE WHEN a(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + c, + (a+b+c+d+e)/5 + FROM t1 + WHERE EXISTS(SELECT 1 FROM t1 AS x WHERE x.bb +---- +34 values hashing to d2068136b2985ee7c04a8c9b78209dad + +query IIIIIII rowsort +SELECT (a+b+c+d+e)/5, + abs(b-c), + c-d, + CASE a+1 WHEN b THEN 111 WHEN c THEN 222 + WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, + a, + b, + abs(a) + FROM t1 + WHERE c>d + OR c BETWEEN b-2 AND d+2 +---- +126 values hashing to adb8714e6ea266fe29ae95aa6fd92d4d + +query II rowsort +SELECT CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + b + FROM t1 + WHERE a IS NULL +---- +1120 +112 +NULL +206 + +query IIII rowsort +SELECT (a+b+c+d+e)/5, + (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.db-2 AND a=d+2) + AND (e>a AND et1.c AND x.da AND eb + OR c BETWEEN b-2 AND d+2 +---- +162 values hashing to a0366f44c0f21a5de9e307e2f3a2b965 + +query IIII rowsort +SELECT a-b, + c-d, + (SELECT count(*) FROM t1 AS x WHERE x.bd +---- +39 values hashing to b3af61dbda8d2d8b5489597c7f233424 + +query IIII rowsort +SELECT (a+b+c+d+e)/5, + abs(b-c), + a+b*2+c*3, + a+b*2+c*3+d*4 + FROM t1 +---- +120 values hashing to cca0428a4957294dfd510fc7266ea92d + +query II rowsort +SELECT a-b, + CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END + FROM t1 + WHERE d>e +---- +22 values hashing to efc2b46a59d1aa24c732442ab6e2e534 + +query I rowsort +SELECT a-b + FROM t1 + WHERE (e>c OR e0 + AND (e>c OR eb-2 AND aa AND et1.c AND x.d(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + a + FROM t1 + WHERE (c<=d-2 OR c>=d+2) +---- +70 values hashing to 25f32304c1bc47764dd68ff331ed7b3d + +query III rowsort +SELECT a, + a+b*2+c*3+d*4, + d + FROM t1 + WHERE b IS NOT NULL +---- +81 values hashing to 43ef865ccee93beaef9b0531bbe27ea1 + +query IIIII rowsort +SELECT a+b*2+c*3+d*4, + (a+b+c+d+e)/5, + (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.d0 + AND d>e +---- +55 values hashing to 629632d72a0b69e9ce52cf46e7961dc2 + +query IIIIIII rowsort +SELECT e, + abs(a), + (SELECT count(*) FROM t1 AS x WHERE x.b(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + a, + (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.d=d+2) +---- +133 values hashing to 4c7875a7b6b7999ecba73c9123945b6f + +query IIIIIII rowsort +SELECT abs(b-c), + CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + abs(a), + (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.dd +---- +91 values hashing to 1039be830093d12f37a63093d04e1547 + +query IIIIIII rowsort +SELECT (SELECT count(*) FROM t1 AS x WHERE x.bt1.c AND x.d(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + d-e, + abs(b-c), + (a+b+c+d+e)/5 + FROM t1 +---- +210 values hashing to b2e9cef39d103d581c325552c1fad51e + +query IIIII rowsort +SELECT a+b*2+c*3+d*4, + d-e, + c-d, + abs(a), + CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END + FROM t1 + WHERE EXISTS(SELECT 1 FROM t1 AS x WHERE x.b=d+2) +---- +40 values hashing to 0a56263b4e542487aed6eda155f85f2a + +query IIIIII rowsort +SELECT (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.d(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + (a+b+c+d+e)/5, + CASE WHEN ad + OR b>c +---- +132 values hashing to 677b478959906ed745c9582fe57c8429 + +query IIIIII rowsort +SELECT b, + a+b*2, + b-c, + a, + CASE WHEN a=d+2) +---- +60 values hashing to 43cc8289cc0d7aa27dd7ca100b418c79 + +query I rowsort +SELECT a+b*2+c*3+d*4 + FROM t1 + WHERE (a>b-2 AND ae + AND EXISTS(SELECT 1 FROM t1 AS x WHERE x.bt1.c AND x.db-2 AND ad + AND d NOT BETWEEN 110 AND 150 +---- +-2 +-2 +-4 +1 +2 +3 +NULL +NULL + +query II rowsort +SELECT (a+b+c+d+e)/5, + c-d + FROM t1 + WHERE (c<=d-2 OR c>=d+2) + AND d NOT BETWEEN 110 AND 150 +---- +16 values hashing to 2c838c66b1922cc5ef8d87bbd634c2e1 + +query I rowsort +SELECT a-b + FROM t1 + WHERE b IS NOT NULL + AND c>d +---- +11 values hashing to a727bc0a71dc5f6847d30cb017bdbf58 + +query I rowsort +SELECT CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END + FROM t1 + WHERE a>b + OR c>d +---- +25 values hashing to 41af91f684d2199c66e7c6d300ada96b + +query IIIIIII rowsort +SELECT a+b*2+c*3+d*4+e*5, + abs(a), + e, + a+b*2+c*3, + abs(b-c), + a-b, + CASE WHEN ac OR e(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + b, + d, + c-d, + a+b*2 + FROM t1 + WHERE a>b + OR (c<=d-2 OR c>=d+2) + OR a IS NULL +---- +144 values hashing to ce0260b129a5febb9ede5c74aea550c5 + +query II rowsort +SELECT b-c, + a+b*2 + FROM t1 + WHERE EXISTS(SELECT 1 FROM t1 AS x WHERE x.be + OR c BETWEEN b-2 AND d+2 + OR (e>a AND ea AND eb +---- +80 values hashing to 782160babf2c361f1ed87683e525e840 + +query IIIIIII rowsort +SELECT b, + CASE a+1 WHEN b THEN 111 WHEN c THEN 222 + WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, + d, + a-b, + a+b*2, + a+b*2+c*3, + (SELECT count(*) FROM t1 AS x WHERE x.bt1.c AND x.da AND ea AND eb-2 AND ae + AND b IS NOT NULL +---- +15 values hashing to 7c787a6339d303da1db7c981873e544b + +query IIII rowsort +SELECT CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + a, + abs(a), + CASE WHEN a0 + AND d NOT BETWEEN 110 AND 150 + AND b IS NOT NULL +---- +60 values hashing to 2007f05c0a6e062701e09fdfa0713122 + +query IIIIII rowsort +SELECT a+b*2+c*3, + a+b*2+c*3+d*4+e*5, + a+b*2+c*3+d*4, + (SELECT count(*) FROM t1 AS x WHERE x.b0 +---- +180 values hashing to 9b776a59385a5b6e30c0e39547af4166 + +query III rowsort +SELECT a+b*2+c*3+d*4+e*5, + a-b, + abs(a) + FROM t1 +---- +90 values hashing to fef98e4832a2f229da033f1bc8cf44b0 + +query II rowsort +SELECT a+b*2+c*3+d*4, + CASE WHEN ae +---- +44 values hashing to 0a0d670d28969de28ede7d2e1e51ba1f + +query III rowsort +SELECT d, + CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + abs(b-c) + FROM t1 + WHERE b>c + AND d>e + AND coalesce(a,b,c,d,e)<>0 +---- +12 values hashing to 09562012bae47f170d9275f0d6912571 + +query IIIIIII rowsort +SELECT d-e, + (SELECT count(*) FROM t1 AS x WHERE x.b=d+2) + OR a IS NULL + OR d NOT BETWEEN 110 AND 150 +---- +140 values hashing to 7b013cbc35b21bdb59f96aff7f278d57 + +query IIIII rowsort +SELECT CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + c-d, + d-e, + CASE a+1 WHEN b THEN 111 WHEN c THEN 222 + WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, + CASE WHEN at1.c AND x.da AND et1.c AND x.db-2 AND at1.c AND x.dc OR et1.c AND x.dd +---- +78 values hashing to e47956172c8fa5c59837e680b8bf0cc7 + +query IIII rowsort +SELECT CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + c, + a+b*2, + a+b*2+c*3 + FROM t1 + WHERE (e>c OR et1.c AND x.d=d+2) + OR (e>a AND e(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + c-d, + a+b*2+c*3+d*4 + FROM t1 + WHERE a IS NULL + AND c>d + AND (e>a AND ec OR eb + OR a IS NULL +---- +38 values hashing to c780d393ba03d9efcbfb54dfb435ce6b + +query III rowsort +SELECT CASE a+1 WHEN b THEN 111 WHEN c THEN 222 + WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, + a, + c-d + FROM t1 + WHERE EXISTS(SELECT 1 FROM t1 AS x WHERE x.bc +---- +39 values hashing to 43e0495dd149fef637b37182902a70b0 + +query IIII rowsort +SELECT e, + (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.de +---- +44 values hashing to a0bbce0efbadffac94910fe5daccf705 + +query IIIIIII rowsort +SELECT a-b, + (a+b+c+d+e)/5, + CASE a+1 WHEN b THEN 111 WHEN c THEN 222 + WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, + abs(b-c), + (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.dt1.c AND x.d=d+2) + OR c>d + OR a IS NULL +---- +95 values hashing to 3e4cd208357eddf8ec1f9c0f4886f421 + +query II rowsort +SELECT b-c, + abs(a) + FROM t1 +---- +60 values hashing to f81a96674d5188e29e9a2725a491cbee + +query IIIII rowsort +SELECT d, + (SELECT count(*) FROM t1 AS x WHERE x.bc + OR d NOT BETWEEN 110 AND 150 +---- +120 values hashing to a8ac31c7c91b1d87db3fcf5623afa85b + +query II rowsort +SELECT a, + c + FROM t1 + WHERE d>e + AND b>c +---- +127 +125 +138 +137 +234 +231 +245 +247 + +query I rowsort +SELECT b-c + FROM t1 + WHERE EXISTS(SELECT 1 FROM t1 AS x WHERE x.b=d+2) +---- +28 values hashing to 1ff878f032c5cfd9be2e7d1739fd5bb1 + +query I rowsort +SELECT (SELECT count(*) FROM t1 AS x WHERE x.bc OR ec +---- +39 values hashing to 3a3a06de0e9583c7ab3290f3dec6e38f + +query II rowsort +SELECT CASE a+1 WHEN b THEN 111 WHEN c THEN 222 + WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, + a+b*2 + FROM t1 +---- +60 values hashing to 268ffae5bbd280974bcf34ff00a53ce8 + +query IIII rowsort +SELECT CASE WHEN a0 + OR a IS NULL + OR EXISTS(SELECT 1 FROM t1 AS x WHERE x.be + AND a IS NULL +---- +NULL + +query IIIII rowsort +SELECT a+b*2+c*3, + a+b*2+c*3+d*4, + CASE WHEN a(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + c-d, + a+b*2+c*3+d*4, + (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.d(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + abs(a), + a, + (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.da AND eb-2 AND at1.c AND x.dc +---- +26 values hashing to ac1ac27954b3ddbc82d232af3766a94b + +query I rowsort +SELECT a+b*2+c*3 + FROM t1 + WHERE EXISTS(SELECT 1 FROM t1 AS x WHERE x.b0 + OR (e>c OR ec OR ed +---- + +query IIIII rowsort +SELECT CASE a+1 WHEN b THEN 111 WHEN c THEN 222 + WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, + c, + a+b*2+c*3, + d, + d-e + FROM t1 + WHERE (e>a AND ec +---- +-4 +1 +2 +3 +NULL + +query II rowsort +SELECT abs(a), + (SELECT count(*) FROM t1 AS x WHERE x.b0 +---- +120 values hashing to 8af952a15dc09ac334e0d82042a24df9 + +query I rowsort +SELECT a + FROM t1 +---- +30 values hashing to 9a6afb6b859fc856aafb6a7af11a38e4 + +query I rowsort +SELECT CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END + FROM t1 + WHERE b IS NOT NULL + OR c BETWEEN b-2 AND d+2 + OR (e>c OR e0 + AND a>b + AND b IS NOT NULL +---- +51 values hashing to fb13c2384756bc5e8255d1d7d244b5a8 + +query IIIIIII rowsort +SELECT a-b, + a+b*2+c*3, + c-d, + a+b*2+c*3+d*4, + (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.d=d+2) + AND c>d +---- + +query IIIIII rowsort +SELECT e, + b-c, + (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.d(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + b, + d + FROM t1 + WHERE EXISTS(SELECT 1 FROM t1 AS x WHERE x.b=d+2) + AND b IS NOT NULL +---- +36 values hashing to 06e77c39107ea08444e134ef0f89067a + +query I rowsort +SELECT CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END + FROM t1 + WHERE c BETWEEN b-2 AND d+2 +---- +15 values hashing to 24301db3251cc0181759db55e6ca955d + +query III rowsort +SELECT c-d, + CASE a+1 WHEN b THEN 111 WHEN c THEN 222 + WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, + CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END + FROM t1 + WHERE b>c +---- +39 values hashing to 03a1cfda7ff971e7feec2aae616af091 + +query IIIII rowsort +SELECT a+b*2+c*3+d*4, + a, + abs(b-c), + d-e, + a+b*2 + FROM t1 + WHERE b IS NOT NULL + AND a>b + AND c BETWEEN b-2 AND d+2 +---- +40 values hashing to 367c01752379b26b48a5796d10d16ee8 + +query I rowsort +SELECT a+b*2+c*3 + FROM t1 + WHERE EXISTS(SELECT 1 FROM t1 AS x WHERE x.be +---- +26 values hashing to 5c41d2c888f71bdfb301a5449bb2316d + +query IIIIII rowsort +SELECT c-d, + CASE a+1 WHEN b THEN 111 WHEN c THEN 222 + WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, + a+b*2+c*3+d*4, + a+b*2, + c, + CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END + FROM t1 + WHERE c BETWEEN b-2 AND d+2 + OR coalesce(a,b,c,d,e)<>0 +---- +180 values hashing to 90084eaaa4371d329e7a2ac1a0ed1c5f + +query I rowsort +SELECT a+b*2 + FROM t1 + WHERE (e>a AND eb-2 AND aa AND ec OR e(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END + FROM t1 + WHERE c>d + OR (c<=d-2 OR c>=d+2) + OR e+d BETWEEN a+b-10 AND c+130 +---- +36 values hashing to 1fa798dc51e11d6e3131bf0c82349e7d + +query III rowsort +SELECT (a+b+c+d+e)/5, + CASE a+1 WHEN b THEN 111 WHEN c THEN 222 + WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, + b + FROM t1 +---- +90 values hashing to 1db270b129edfe2a9cbfb25cb5406519 + +query IIIIII rowsort +SELECT CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + a+b*2+c*3+d*4+e*5, + CASE WHEN at1.c AND x.da AND ec OR ee + AND b IS NOT NULL + AND (e>a AND eb +---- +34 values hashing to 61ae510be58bcd19ca005e792d30db99 + +query IIIIII rowsort +SELECT d-e, + (SELECT count(*) FROM t1 AS x WHERE x.b(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + b, + a+b*2+c*3+d*4+e*5 + FROM t1 + WHERE a>b + OR b>c + OR c BETWEEN b-2 AND d+2 +---- +162 values hashing to d3bb54ee120d9244f04682c3992fe447 + +query I rowsort +SELECT a-b + FROM t1 +---- +30 values hashing to a8508bcdf86e494dd5feccb5ca8d9768 + +query IIII rowsort +SELECT c-d, + (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.dc + AND a IS NULL +---- + +query III rowsort +SELECT abs(b-c), + c, + a+b*2+c*3+d*4+e*5 + FROM t1 +---- +90 values hashing to 4a1cb86e3b2d0a16b93a4a43e4862ea7 + +query II rowsort +SELECT abs(a), + d + FROM t1 + WHERE c BETWEEN b-2 AND d+2 + AND d NOT BETWEEN 110 AND 150 + AND c>d +---- +12 values hashing to 1db451b4f2b6f6a00ca68c20c8f5a10a + +query IIIII rowsort +SELECT d-e, + c-d, + a+b*2+c*3+d*4+e*5, + a+b*2+c*3+d*4, + a + FROM t1 + WHERE e+d BETWEEN a+b-10 AND c+130 +---- +10 values hashing to 0f2bcf5dd0b4e7c0d86e4dea51b3669d + +query IIIIIII rowsort +SELECT a+b*2+c*3+d*4+e*5, + CASE WHEN ab-2 AND ac +---- +12 values hashing to 29cac38b69c814d477ac32eec447ae65 + +query II rowsort +SELECT a+b*2+c*3+d*4+e*5, + abs(a) + FROM t1 + WHERE a>b + OR (e>c OR e0 + AND (e>c OR eb-2 AND a0 + AND (a>b-2 AND aa AND e(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + c-d, + a-b, + (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.dt1.c AND x.db-2 AND ab +---- +40 values hashing to 4ff7b2fb85463226b58936d09fcc37e8 + +query IIIII rowsort +SELECT abs(a), + a+b*2, + CASE a+1 WHEN b THEN 111 WHEN c THEN 222 + WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, + (SELECT count(*) FROM t1 AS x WHERE x.b0 +---- +30 values hashing to 5597b8fa34613aadc270053ea54637e5 + +query IIIII rowsort +SELECT b, + b-c, + a+b*2+c*3+d*4+e*5, + abs(a), + CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END + FROM t1 + WHERE b IS NOT NULL + AND coalesce(a,b,c,d,e)<>0 +---- +135 values hashing to 75d9abddd431af42ba006b25f9f77c64 + +query I rowsort +SELECT e + FROM t1 + WHERE (c<=d-2 OR c>=d+2) + OR b IS NOT NULL +---- +28 values hashing to d2d7ee3c92135bb07a4e693017a465fa + +query IIIIIII rowsort +SELECT (SELECT count(*) FROM t1 AS x WHERE x.b(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END + FROM t1 + WHERE c BETWEEN b-2 AND d+2 +---- +105 values hashing to a1b6d1f25e288ac504cdf45104e5bcea + +query IIII rowsort +SELECT abs(a), + a-b, + a+b*2+c*3+d*4, + a+b*2 + FROM t1 + WHERE coalesce(a,b,c,d,e)<>0 +---- +120 values hashing to cae2effd4f5bfa6d7cc193ec4fec967d + +query IIIII rowsort +SELECT (SELECT count(*) FROM t1 AS x WHERE x.bb + OR d NOT BETWEEN 110 AND 150 +---- +120 values hashing to 47ef020bd750bd779fc3a87e56ca1e40 + +query III rowsort +SELECT abs(a), + (SELECT count(*) FROM t1 AS x WHERE x.ba AND ec OR ec + OR d>e +---- +120 values hashing to 094387372652ced028edd125dc034efc + +query IIIII rowsort +SELECT e, + b-c, + abs(b-c), + c, + c-d + FROM t1 + WHERE a>b +---- +85 values hashing to cf909c6ca2632f334d02ace97fe65161 + +query IIIIIII rowsort +SELECT b, + a-b, + d, + a+b*2, + CASE a+1 WHEN b THEN 111 WHEN c THEN 222 + WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, + b-c, + a+b*2+c*3 + FROM t1 + WHERE d NOT BETWEEN 110 AND 150 +---- +119 values hashing to 46dcc426265c9c6d3e5a95476b486aea + +query IIIIII rowsort +SELECT d-e, + a-b, + CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + a+b*2, + abs(b-c), + c-d + FROM t1 + WHERE (e>a AND ed +---- +90 values hashing to 24562a4b1a2aff1a1a2f2cf5c4224a17 + +query I rowsort +SELECT a+b*2 + FROM t1 + WHERE c>d + OR a>b + OR d>e +---- +28 values hashing to 2fcc0f3b5e0753a1f915168aa80928cb + +query IIII rowsort +SELECT c-d, + b-c, + e, + a+b*2+c*3+d*4+e*5 + FROM t1 + WHERE d>e +---- +44 values hashing to 2a856cf96ef2c2ee896fde7ac15baf59 + +query I rowsort +SELECT e + FROM t1 + WHERE a>b + OR coalesce(a,b,c,d,e)<>0 +---- +30 values hashing to b9f09a0d6206ee3b897ed8a2dc580e1d + +query IIII rowsort +SELECT a+b*2+c*3+d*4, + a+b*2+c*3, + CASE a+1 WHEN b THEN 111 WHEN c THEN 222 + WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, + b + FROM t1 + WHERE EXISTS(SELECT 1 FROM t1 AS x WHERE x.bb + AND e+d BETWEEN a+b-10 AND c+130 +---- + +query I rowsort +SELECT c + FROM t1 + WHERE c>d + OR EXISTS(SELECT 1 FROM t1 AS x WHERE x.b=d+2) +---- +29 values hashing to 725eda52ed4dea9e7b98db61d7453ca7 + +query IIIIII rowsort +SELECT e, + a+b*2+c*3+d*4+e*5, + (a+b+c+d+e)/5, + CASE a+1 WHEN b THEN 111 WHEN c THEN 222 + WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, + a, + b-c + FROM t1 + WHERE a>b + AND EXISTS(SELECT 1 FROM t1 AS x WHERE x.be +---- +36 values hashing to 36e5ee818c5f66d85faa44d5c242e3a3 + +query IIII rowsort +SELECT e, + (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.d=d+2) + AND (e>a AND e(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + abs(b-c), + abs(a) + FROM t1 + WHERE a>b + OR c>d +---- +75 values hashing to b9e8c83a8bc74e55aa613fb8bbae83b5 + +query IIIIII rowsort +SELECT c, + b, + abs(b-c), + e, + d-e, + (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.d(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END + FROM t1 + WHERE (a>b-2 AND ac OR ea AND e(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + a-b, + abs(b-c), + CASE a+1 WHEN b THEN 111 WHEN c THEN 222 + WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END + FROM t1 + WHERE c BETWEEN b-2 AND d+2 + OR EXISTS(SELECT 1 FROM t1 AS x WHERE x.bt1.c AND x.d(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.d(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + a+b*2, + abs(b-c), + a+b*2+c*3+d*4 + FROM t1 + WHERE (a>b-2 AND ac OR ec +---- +125 values hashing to a4c2c5b599a12eb25e02a7a49e712b33 + +query IIIIIII rowsort +SELECT (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.d(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + a+b*2+c*3+d*4 + FROM t1 + WHERE d>e + OR b IS NOT NULL + OR d NOT BETWEEN 110 AND 150 +---- +203 values hashing to 1c10d302b1c0ebea0ed1b3f458977b97 + +query III rowsort +SELECT a+b*2+c*3+d*4+e*5, + c-d, + (SELECT count(*) FROM t1 AS x WHERE x.b=d+2) +---- +1612 +-2 +0 +1902 +-3 +3 + +query IIII rowsort +SELECT (a+b+c+d+e)/5, + (SELECT count(*) FROM t1 AS x WHERE x.b0 + OR b IS NOT NULL +---- +120 values hashing to 1851d361af710203059df04bf29673a7 + +query IIII rowsort +SELECT c, + a+b*2+c*3+d*4+e*5, + b, + a+b*2 + FROM t1 +---- +120 values hashing to 10ce41f677d9d05127e3b704d98bc101 + +query IIIIII rowsort +SELECT b-c, + b, + a+b*2, + (SELECT count(*) FROM t1 AS x WHERE x.b=d+2) +---- +60 values hashing to acdf487118a15ea371915fc5f0f267ff + +query IIIII rowsort +SELECT a, + (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.d0 +---- +10 values hashing to 40d0564520ae2c3653e39dbaed07d225 + +query IIIIII rowsort +SELECT b, + b-c, + e, + CASE WHEN a(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + a + FROM t1 + WHERE a IS NULL + OR (c<=d-2 OR c>=d+2) +---- +72 values hashing to 2f4add22910ef08e36f4a9b91127d083 + +query II rowsort +SELECT a-b, + d-e + FROM t1 +---- +60 values hashing to c60a057f1b0709ced3374a0ceb82507d + +query I rowsort +SELECT a+b*2+c*3+d*4+e*5 + FROM t1 + WHERE (a>b-2 AND ae + OR (c<=d-2 OR c>=d+2) +---- +32 values hashing to 9e90687d2b7ec623140ca90b9f8aa467 + +query IIIIIII rowsort +SELECT a-b, + a+b*2+c*3, + abs(b-c), + d, + (a+b+c+d+e)/5, + (SELECT count(*) FROM t1 AS x WHERE x.b(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END + FROM t1 + WHERE b IS NOT NULL +---- +189 values hashing to ca41f560b82abfc4ff509877b9d62b5d + +query I rowsort +SELECT a+b*2+c*3+d*4 + FROM t1 + WHERE (e>c OR eb-2 AND at1.c AND x.db +---- +102 values hashing to 4a7a447f6d5243f37593760f719d4ded + +query I rowsort +SELECT abs(a) + FROM t1 + WHERE EXISTS(SELECT 1 FROM t1 AS x WHERE x.b0 + AND a IS NULL +---- +NULL +NULL + +query IIIIIII rowsort +SELECT a+b*2+c*3+d*4, + c-d, + CASE a+1 WHEN b THEN 111 WHEN c THEN 222 + WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, + e, + CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + (a+b+c+d+e)/5, + b + FROM t1 + WHERE c>d +---- +91 values hashing to 8bc441725523cf82da0b2509fef56441 + +query IIII rowsort +SELECT a+b*2, + a-b, + a+b*2+c*3+d*4, + (SELECT count(*) FROM t1 AS x WHERE x.bb + AND c BETWEEN b-2 AND d+2 +---- +40 values hashing to 514495abd297c1a057a65b95c2ad204c + +query IIII rowsort +SELECT a-b, + CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + c-d, + b + FROM t1 +---- +120 values hashing to ab4368667b081082064b8857255d4dfb + +query III rowsort +SELECT c-d, + abs(b-c), + CASE WHEN ab +---- +30 values hashing to 7df01c794d7280c4cda156ce4cc15349 + +query II rowsort +SELECT b, + a + FROM t1 + WHERE (a>b-2 AND at1.c AND x.dc + OR (e>a AND e(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + e + FROM t1 + WHERE (c<=d-2 OR c>=d+2) + AND a>b + AND (e>c OR ec +---- +91 values hashing to f466adf4b72001a7e56f1288f645df0b + +query I rowsort +SELECT a+b*2+c*3 + FROM t1 + WHERE b IS NOT NULL + AND EXISTS(SELECT 1 FROM t1 AS x WHERE x.bb + AND (a>b-2 AND ad +---- +14 values hashing to 060c8961d4cff53963cd257a6eee9284 + +query III rowsort +SELECT (a+b+c+d+e)/5, + CASE a+1 WHEN b THEN 111 WHEN c THEN 222 + WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, + d-e + FROM t1 +---- +90 values hashing to bbd77b718f2719f7454986877792ef5e + +query IIII rowsort +SELECT CASE WHEN a(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + e, + a + FROM t1 +---- +120 values hashing to 3fa24bffa729a10cb7039b714b42e5d4 + +query III rowsort +SELECT b-c, + e, + CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END + FROM t1 + WHERE (c<=d-2 OR c>=d+2) + OR c>d +---- +54 values hashing to 881857dc2c171a5b5629a1b02f5ace04 + +query IIIIIII rowsort +SELECT (SELECT count(*) FROM t1 AS x WHERE x.b(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + CASE a+1 WHEN b THEN 111 WHEN c THEN 222 + WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, + CASE WHEN ac + OR c>d +---- +132 values hashing to 11730d9f03d7ecbc708a87dc3640c235 + +query IIIIII rowsort +SELECT e, + (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.dc + AND d>e +---- +12 values hashing to 9f73d785e22ab32232fd62d9ad1f340d + +query I rowsort +SELECT a+b*2 + FROM t1 + WHERE a>b + AND coalesce(a,b,c,d,e)<>0 + AND a IS NULL +---- + +query IIII rowsort +SELECT CASE WHEN ab-2 AND at1.c AND x.d0 + OR (a>b-2 AND at1.c AND x.dc +---- +26 values hashing to 153104bccece0f4b8983f53c4fce4711 + +query IIIIIII rowsort +SELECT b, + a+b*2+c*3, + (a+b+c+d+e)/5, + CASE WHEN ae +---- +77 values hashing to 6e95b47bb3fde264a5703ac9d978a586 + +query IIII rowsort +SELECT CASE WHEN ab + AND (e>a AND eb +---- +27 values hashing to c6c480f662d91f78cd743fd4c1283663 + +query IIIIIII rowsort +SELECT c, + b-c, + a+b*2+c*3+d*4, + (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.d0 + AND b IS NOT NULL +---- +189 values hashing to 3b5e129e362e947f42addc2454cc9d00 + +query IIIIII rowsort +SELECT a+b*2+c*3+d*4, + abs(b-c), + b-c, + d-e, + a+b*2, + a+b*2+c*3+d*4+e*5 + FROM t1 + WHERE e+d BETWEEN a+b-10 AND c+130 + OR b>c + OR c BETWEEN b-2 AND d+2 +---- +138 values hashing to 99547f63b16be41e4b6d1ce1ecd6bbba + +query IIIII rowsort +SELECT c-d, + CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + a-b, + c, + a+b*2+c*3+d*4 + FROM t1 +---- +150 values hashing to 0a190d0a39d0986d864cdafb35899dec + +query IIIII rowsort +SELECT d, + (SELECT count(*) FROM t1 AS x WHERE x.bc +---- +13 values hashing to bf5f4ef7a0280c43b79f03405b636d31 + +query I rowsort +SELECT d-e + FROM t1 + WHERE (e>a AND e=d+2) + AND (a>b-2 AND at1.c AND x.db-2 AND a(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + a-b, + CASE WHEN ab +---- +72 values hashing to 82acf3b1c44d191e300317b99459564f + +query I rowsort +SELECT a+b*2+c*3+d*4 + FROM t1 +---- +30 values hashing to fd6d6825820cf653aceb2d72af4a5983 + +query IIIII rowsort +SELECT c-d, + a, + b, + d, + b-c + FROM t1 +---- +150 values hashing to 805631fbc56c324b76a9e5def0b20628 + +query IIIII rowsort +SELECT a, + c, + a+b*2+c*3, + CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + (SELECT count(*) FROM t1 AS x WHERE x.b0 + AND (c<=d-2 OR c>=d+2) +---- +50 values hashing to 8b122e9905ab4554fac21a8adb7e15bb + +query IIII rowsort +SELECT (SELECT count(*) FROM t1 AS x WHERE x.bb-2 AND at1.c AND x.d0 + AND e+d BETWEEN a+b-10 AND c+130 +---- +10 values hashing to f554e1ec3679835b79c7b5798663cdfd + +query IIIII rowsort +SELECT a+b*2+c*3+d*4+e*5, + abs(a), + c, + CASE WHEN a0 + OR (c<=d-2 OR c>=d+2) +---- +150 values hashing to 549a029db9acfbfd3deb7f78189f3707 + +query IIIII rowsort +SELECT CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + a+b*2+c*3+d*4, + c, + d, + b + FROM t1 + WHERE b IS NOT NULL + AND c BETWEEN b-2 AND d+2 +---- +75 values hashing to b90bf883e6dde333753b1eb5b7b41d7b + +query IIIIII rowsort +SELECT CASE a+1 WHEN b THEN 111 WHEN c THEN 222 + WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, + a+b*2+c*3, + d, + abs(a), + (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.d(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + b-c, + a, + (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.d(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + c, + e + FROM t1 + WHERE coalesce(a,b,c,d,e)<>0 + OR EXISTS(SELECT 1 FROM t1 AS x WHERE x.bt1.c AND x.d=d+2) +---- +50 values hashing to 1a25f2981afcfe3b90b78e5f46d408dd + +query IIIII rowsort +SELECT abs(a), + (a+b+c+d+e)/5, + a, + (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.db-2 AND ac +---- +10 values hashing to 97311a820c01f81122bd9a43101bb2b3 + +query IIII rowsort +SELECT b-c, + a+b*2, + d, + abs(b-c) + FROM t1 + WHERE EXISTS(SELECT 1 FROM t1 AS x WHERE x.bc + AND (c<=d-2 OR c>=d+2) +---- +16 values hashing to 955f14c539e3692f1b86ab3a24683a19 + +query IIIII rowsort +SELECT d-e, + (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.dc +---- +65 values hashing to e3d9292d05db4167a92c6229e4caa760 + +query I rowsort +SELECT b-c + FROM t1 + WHERE c>d + OR d>e + OR EXISTS(SELECT 1 FROM t1 AS x WHERE x.b(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + a+b*2, + a-b + FROM t1 + WHERE d NOT BETWEEN 110 AND 150 + OR e+d BETWEEN a+b-10 AND c+130 +---- +72 values hashing to 370fe299a3734448a7be6672f01c3a94 + +query IIIII rowsort +SELECT abs(b-c), + d, + a+b*2+c*3+d*4+e*5, + b, + a + FROM t1 + WHERE (c<=d-2 OR c>=d+2) +---- +50 values hashing to 07bc5bca23ad9ae8a819dfac639082fd + +query IIII rowsort +SELECT CASE WHEN at1.c AND x.da AND ee +---- +60 values hashing to 82d16a26b3d57b3cc239c4f7a9593f7c + +query IIIIII rowsort +SELECT CASE WHEN aa AND ec OR eb +---- + +query IIIII rowsort +SELECT CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + a+b*2, + c-d, + b-c, + CASE WHEN a(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + b + FROM t1 + WHERE coalesce(a,b,c,d,e)<>0 + OR c>d +---- +90 values hashing to c5fa723aa4e2c42050943e4693f1e923 + +query IIIII rowsort +SELECT (SELECT count(*) FROM t1 AS x WHERE x.b(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END + FROM t1 + WHERE (e>c OR et1.c AND x.dd +---- +78 values hashing to eac728c6ddb91ccd31a0d1128417639c + +query II rowsort +SELECT d-e, + a+b*2+c*3+d*4 + FROM t1 + WHERE (c<=d-2 OR c>=d+2) + OR (e>c OR ec +---- +52 values hashing to 7315fb2782e02a62e78599ef812d5d8e + +query IIIIIII rowsort +SELECT abs(b-c), + a-b, + d-e, + CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + (SELECT count(*) FROM t1 AS x WHERE x.bd + OR b>c +---- +154 values hashing to 253db2ba2de764cddb828c61c33fa94b + +query IIIIII rowsort +SELECT b, + a-b, + a+b*2+c*3+d*4+e*5, + a+b*2+c*3, + c, + c-d + FROM t1 + WHERE e+d BETWEEN a+b-10 AND c+130 +---- +12 values hashing to 61f4eb32e9f9cee66661e5545d3b1c99 + +query IIII rowsort +SELECT a, + a+b*2, + a-b, + (SELECT count(*) FROM t1 AS x WHERE x.be +---- +68 values hashing to 17710e7f1160312d5f85b00b3baef24b + +query IIIIII rowsort +SELECT a+b*2+c*3, + (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.db +---- +119 values hashing to a928e4c940a05e1636f24ad9d8d056c5 + +query III rowsort +SELECT a-b, + abs(b-c), + a+b*2+c*3 + FROM t1 + WHERE (a>b-2 AND aa AND ed +---- +54 values hashing to 750a489b4c6cdcd65e8153612541edb4 + +query III rowsort +SELECT CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + (a+b+c+d+e)/5, + a+b*2+c*3+d*4+e*5 + FROM t1 +---- +90 values hashing to a3cc5ce52e625e50e112a70b5afa9d9f + +query IIIII rowsort +SELECT a+b*2, + e, + (SELECT count(*) FROM t1 AS x WHERE x.bt1.c AND x.d0 +---- +60 values hashing to 338667821f799dd406c1ce8fc2fcd75b + +query IIIIII rowsort +SELECT a+b*2+c*3+d*4+e*5, + CASE a+1 WHEN b THEN 111 WHEN c THEN 222 + WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, + abs(b-c), + (SELECT count(*) FROM t1 AS x WHERE x.bt1.c AND x.db +---- +17 values hashing to 4a6c075c0bc5ddff6a754adcddbe79f2 + +query III rowsort +SELECT (SELECT count(*) FROM t1 AS x WHERE x.be +---- +33 values hashing to 03629e50bc54a9c68b8e0642de1d4b7f + +query III rowsort +SELECT c, + b-c, + a+b*2+c*3 + FROM t1 + WHERE b>c + AND coalesce(a,b,c,d,e)<>0 +---- +39 values hashing to c01cb38d1477fb445451a60bccfb3148 + +query I rowsort +SELECT a + FROM t1 + WHERE a IS NULL + OR b IS NOT NULL +---- +27 values hashing to c6c480f662d91f78cd743fd4c1283663 + +query IIIIII rowsort +SELECT CASE a+1 WHEN b THEN 111 WHEN c THEN 222 + WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, + a-b, + b-c, + c-d, + abs(b-c), + (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.de + AND a>b +---- +36 values hashing to 64c7b21a3631601a574791d879f549c1 + +query II rowsort +SELECT b, + (a+b+c+d+e)/5 + FROM t1 + WHERE a>b +---- +34 values hashing to 69ba5ba7b54faa8998a04eb07686fe15 + +query I rowsort +SELECT (a+b+c+d+e)/5 + FROM t1 + WHERE e+d BETWEEN a+b-10 AND c+130 +---- +107 +127 + +query IIII rowsort +SELECT (SELECT count(*) FROM t1 AS x WHERE x.bb + AND c BETWEEN b-2 AND d+2 + AND (e>c OR e(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + c-d, + b, + a+b*2+c*3+d*4+e*5, + (SELECT count(*) FROM t1 AS x WHERE x.be + OR (a>b-2 AND ab +---- +51 values hashing to c1b4d722bbccd5388ce36d4da5a272fe + +query III rowsort +SELECT b, + d, + b-c + FROM t1 + WHERE a IS NULL + OR EXISTS(SELECT 1 FROM t1 AS x WHERE x.bt1.c AND x.d=d+2) +---- +70 values hashing to 9a7478a4b8f1a1d7ee51ac83087d9623 + +query I rowsort +SELECT CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END + FROM t1 + WHERE (a>b-2 AND ac OR e(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + c, + a, + a+b*2+c*3+d*4+e*5 + FROM t1 + WHERE (e>a AND ec + OR (c<=d-2 OR c>=d+2) +---- +133 values hashing to eb09696995447bcf7629e722d6bce242 + +query I rowsort +SELECT d-e + FROM t1 + WHERE coalesce(a,b,c,d,e)<>0 + AND e+d BETWEEN a+b-10 AND c+130 + AND a IS NULL +---- + +query IIIIIII rowsort +SELECT CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + a+b*2+c*3+d*4, + a+b*2+c*3+d*4+e*5, + a, + (a+b+c+d+e)/5, + e, + d + FROM t1 +---- +210 values hashing to 9b0beb9869ed0a96cfbcda0f59b83405 + +query I rowsort +SELECT a + FROM t1 +---- +30 values hashing to 9a6afb6b859fc856aafb6a7af11a38e4 + +query I rowsort +SELECT CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END + FROM t1 + WHERE c>d + OR EXISTS(SELECT 1 FROM t1 AS x WHERE x.bb-2 AND ac OR ee + OR a>b +---- +75 values hashing to a4ce622cd218c8c4279544e5142a5f17 + +query IIIIIII rowsort +SELECT CASE WHEN ac +---- +91 values hashing to 406047a5fba16f6298cc8865ceb16d6d + +query IIIII rowsort +SELECT a+b*2, + abs(b-c), + CASE WHEN a(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END + FROM t1 + WHERE (e>c OR eb-2 AND ab + AND e+d BETWEEN a+b-10 AND c+130 + AND d>e +---- + +query II rowsort +SELECT d, + b-c + FROM t1 + WHERE EXISTS(SELECT 1 FROM t1 AS x WHERE x.be +---- +22 values hashing to 59fc2a0cb9d6eb15500b2a01873c9267 + +query IIIIIII rowsort +SELECT b-c, + (SELECT count(*) FROM t1 AS x WHERE x.bd +---- +-2 +18 +208 +NULL +NULL +NULL +1 + +query III rowsort +SELECT b, + (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.d(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + d + FROM t1 + WHERE e+d BETWEEN a+b-10 AND c+130 + OR (e>a AND ec +---- +65 values hashing to 3e557fbf49bddf5af6346144a1ae8837 + +query IIIIII rowsort +SELECT a-b, + a, + a+b*2+c*3, + abs(a), + CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + b-c + FROM t1 + WHERE b IS NOT NULL + AND (e>c OR ed +---- +48 values hashing to 0e34bea3ef5254baecdfc598a768bad7 + +query IIIIIII rowsort +SELECT abs(b-c), + e, + a+b*2, + CASE WHEN a(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + abs(b-c), + (a+b+c+d+e)/5 + FROM t1 +---- +180 values hashing to 6def4225a77ed61ec70dfdfab8f4294a + +query IIII rowsort +SELECT b, + CASE WHEN a=d+2) + OR coalesce(a,b,c,d,e)<>0 +---- +120 values hashing to aa50fc18d4fe0a775060a5289c7df0f1 + +query IIII rowsort +SELECT abs(a), + c, + (a+b+c+d+e)/5, + CASE WHEN a(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + (a+b+c+d+e)/5 + FROM t1 + WHERE d>e +---- +77 values hashing to c2770ceec6cb227337e0706504a617e0 + +query IIIII rowsort +SELECT c, + a-b, + a+b*2+c*3+d*4+e*5, + e, + abs(a) + FROM t1 +---- +150 values hashing to a14b7f2ccb8b1fae67646b4fb3b5113b + +query IIII rowsort +SELECT CASE a+1 WHEN b THEN 111 WHEN c THEN 222 + WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, + b, + c, + a+b*2 + FROM t1 +---- +120 values hashing to 02413ad3886e868d10e60923c66d937b + +query IIII rowsort +SELECT a-b, + b-c, + a+b*2, + c-d + FROM t1 + WHERE c BETWEEN b-2 AND d+2 + OR d NOT BETWEEN 110 AND 150 +---- +88 values hashing to 812e25e42aa220948974f1eec8a1ddf1 + +query IIII rowsort +SELECT a+b*2+c*3, + a+b*2, + CASE WHEN ac OR ee + AND c>d + AND a IS NULL +---- + +query IIII rowsort +SELECT b, + a-b, + d-e, + (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.d0 + OR b>c +---- +150 values hashing to 1e4b4b28a8b6a2e471e50ea659610358 + +query IIIIIII rowsort +SELECT b-c, + a, + (a+b+c+d+e)/5, + c-d, + a+b*2+c*3, + CASE WHEN at1.c AND x.dc OR e(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + a+b*2+c*3+d*4+e*5, + a+b*2+c*3+d*4 + FROM t1 +---- +90 values hashing to ac4a1d203ab70c5087569113ced7147f + +query I rowsort +SELECT c + FROM t1 + WHERE EXISTS(SELECT 1 FROM t1 AS x WHERE x.bd + OR a>b +---- +29 values hashing to 725eda52ed4dea9e7b98db61d7453ca7 + +query III rowsort +SELECT a+b*2+c*3+d*4, + b, + abs(a) + FROM t1 +---- +90 values hashing to dfaa311be6dc8e4d21f0120e3a099cf0 + +query I rowsort +SELECT CASE a+1 WHEN b THEN 111 WHEN c THEN 222 + WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END + FROM t1 + WHERE b>c + AND c>d + AND EXISTS(SELECT 1 FROM t1 AS x WHERE x.b(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END + FROM t1 + WHERE b>c +---- +52 values hashing to 8a4f59d60224b0bb54df3d8b9940b67f + +query IIIII rowsort +SELECT (a+b+c+d+e)/5, + d-e, + a+b*2+c*3+d*4, + (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.db-2 AND ae + OR b>c +---- +100 values hashing to 8037b1bcfe636f3ff495bfd825d53e0d + +query III rowsort +SELECT CASE a+1 WHEN b THEN 111 WHEN c THEN 222 + WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, + a+b*2+c*3+d*4, + a+b*2 + FROM t1 + WHERE b>c +---- +39 values hashing to 841a895d7644c667c2fad00c7f68e8e5 + +query I rowsort +SELECT CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END + FROM t1 + WHERE (e>c OR ec + OR e+d BETWEEN a+b-10 AND c+130 +---- +25 values hashing to 152789c2cc255e73e1326c66cc7fb1e3 + +query III rowsort +SELECT d-e, + a, + d + FROM t1 + WHERE (e>c OR ec OR e(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + e + FROM t1 + WHERE b IS NOT NULL +---- +81 values hashing to 0640407785b3503fdb251a182b6d57ab + +query IIIII rowsort +SELECT d-e, + a-b, + c, + c-d, + CASE a+1 WHEN b THEN 111 WHEN c THEN 222 + WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END + FROM t1 +---- +150 values hashing to 632b4850194bf60509de90f1feabfb2a + +query IIIIII rowsort +SELECT abs(b-c), + a+b*2+c*3, + a+b*2+c*3+d*4, + abs(a), + a, + (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.dt1.c AND x.d(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END + FROM t1 + WHERE c BETWEEN b-2 AND d+2 + OR EXISTS(SELECT 1 FROM t1 AS x WHERE x.b(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + b-c + FROM t1 + WHERE c BETWEEN b-2 AND d+2 + AND c>d +---- +50 values hashing to ac4b616ec0c322bb2be9a742fbc3e1b4 + +query IIIII rowsort +SELECT d-e, + a, + a+b*2+c*3+d*4+e*5, + abs(a), + b + FROM t1 + WHERE (c<=d-2 OR c>=d+2) + AND c>d + AND d NOT BETWEEN 110 AND 150 +---- +20 values hashing to 02253cc820958e19bdcdc9135a965d7c + +query III rowsort +SELECT CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + a+b*2+c*3+d*4+e*5, + (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.dd +---- +24 values hashing to 82a9f46f2908306f2348047b589eeac0 + +query II rowsort +SELECT c-d, + e + FROM t1 + WHERE coalesce(a,b,c,d,e)<>0 +---- +60 values hashing to 588535d9ebc6d149a7057b9468ce599d + +query IIIII rowsort +SELECT a+b*2+c*3+d*4, + d-e, + abs(a), + a+b*2, + c + FROM t1 +---- +150 values hashing to 6e1d4a7fb7f2779d84fb3030fdecb95a + +query I rowsort +SELECT (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.d0 + OR (c<=d-2 OR c>=d+2) +---- +30 values hashing to ec9f02c46c399db521c47dd9cb6a40dd + +query IIIIII rowsort +SELECT a-b, + a+b*2+c*3+d*4+e*5, + a+b*2, + CASE WHEN a(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + (a+b+c+d+e)/5 + FROM t1 + WHERE (e>c OR ec OR ed +---- +78 values hashing to 601783bc6cee105e35b85bffdefdabf0 + +query IIIII rowsort +SELECT d, + b-c, + c-d, + a+b*2+c*3+d*4, + CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END + FROM t1 + WHERE (e>c OR ec + AND (e>a AND e0 +---- +180 values hashing to d18f2b7889b1931bf2ad6e5c5b5d4434 + +query IIIIIII rowsort +SELECT abs(b-c), + d, + abs(a), + a-b, + CASE a+1 WHEN b THEN 111 WHEN c THEN 222 + WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, + c-d, + CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END + FROM t1 + WHERE b>c + OR c>d +---- +154 values hashing to f2c0443c634f22d927709c9df7248cb4 + +query IIIIII rowsort +SELECT a+b*2+c*3+d*4+e*5, + CASE a+1 WHEN b THEN 111 WHEN c THEN 222 + WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, + b-c, + (SELECT count(*) FROM t1 AS x WHERE x.bb + AND c>d + AND b IS NOT NULL +---- +20 values hashing to bd0a4f265ee4fa29a213395d83a0776d + +query I rowsort +SELECT c + FROM t1 + WHERE (e>a AND e(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END + FROM t1 + WHERE EXISTS(SELECT 1 FROM t1 AS x WHERE x.be + AND c>d +---- +10 values hashing to 2832b4b5ac653f653d22d7f12a93cf9e + +query I rowsort +SELECT b-c + FROM t1 + WHERE (c<=d-2 OR c>=d+2) + AND d NOT BETWEEN 110 AND 150 + AND a>b +---- +-1 +-1 +-1 +-3 +1 + +query IIIII rowsort +SELECT e, + a-b, + b-c, + d-e, + (SELECT count(*) FROM t1 AS x WHERE x.ba AND e=d+2) + OR c BETWEEN b-2 AND d+2 +---- +95 values hashing to 451208c9117faf9f6575928cd5fcbcf3 + +query III rowsort +SELECT d-e, + a-b, + b-c + FROM t1 +---- +90 values hashing to 864c4406e97c2f59c84ce3ca396d1ab8 + +query I rowsort +SELECT c + FROM t1 + WHERE b>c + OR b IS NOT NULL + OR EXISTS(SELECT 1 FROM t1 AS x WHERE x.bd + OR d>e +---- +114 values hashing to e60614d0810e9d20d1ba7d5ec76faae4 + +query III rowsort +SELECT a+b*2+c*3, + CASE WHEN at1.c AND x.db-2 AND ad +---- +51 values hashing to 6257dc95c2d19fe398936dcf19cc0fd7 + +query IIIIIII rowsort +SELECT c, + a+b*2+c*3, + CASE WHEN at1.c AND x.d=d+2) + OR d NOT BETWEEN 110 AND 150 +---- +133 values hashing to 17d275371a37f40f92cc7a00385ceef1 + +query IIIII rowsort +SELECT a+b*2+c*3+d*4, + CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + abs(b-c), + e, + a+b*2+c*3+d*4+e*5 + FROM t1 + WHERE (e>c OR e=d+2) + OR c BETWEEN b-2 AND d+2 + OR a>b +---- +84 values hashing to dddaa7a5327df8e332800a2692c9fd3c + +query IIII rowsort +SELECT a+b*2+c*3+d*4, + (SELECT count(*) FROM t1 AS x WHERE x.bb-2 AND ac +---- +24 values hashing to 4322e1fd1ebd79c0adcf73292b568d18 + +query IIIIII rowsort +SELECT a+b*2+c*3, + a+b*2, + e, + c, + abs(a), + CASE WHEN ac OR ed +---- +48 values hashing to e123674e3f83b126ddc91ddfb4ec283e + +query IIIIII rowsort +SELECT d, + CASE WHEN at1.c AND x.dc OR ed +---- +52 values hashing to 953d2bddf44b39d6a8131c7e0d8527ab + +query I rowsort +SELECT (a+b+c+d+e)/5 + FROM t1 + WHERE (e>c OR e(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END + FROM t1 + WHERE c>d +---- +91 values hashing to 45e6f78c344e1febadcfb399ccdb77d0 + +query IIIIII rowsort +SELECT a+b*2+c*3, + CASE WHEN ae + AND EXISTS(SELECT 1 FROM t1 AS x WHERE x.b(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + (SELECT count(*) FROM t1 AS x WHERE x.b(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END + FROM t1 + WHERE a>b + OR c BETWEEN b-2 AND d+2 + OR e+d BETWEEN a+b-10 AND c+130 +---- +150 values hashing to 5db6c9ec6926b5c79fc5e8a4c523abc4 + +query I rowsort +SELECT (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.de +---- +11 values hashing to be1fb32359cadf053dc7743dd3945178 + +query III rowsort +SELECT a+b*2+c*3+d*4+e*5, + a+b*2+c*3, + d + FROM t1 + WHERE b>c + AND (c<=d-2 OR c>=d+2) +---- +12 values hashing to e170e72ed3c6c65f197d2de7a3c22834 + +query I rowsort +SELECT a-b + FROM t1 +---- +30 values hashing to a8508bcdf86e494dd5feccb5ca8d9768 + +query IIIII rowsort +SELECT c-d, + abs(a), + a, + CASE a+1 WHEN b THEN 111 WHEN c THEN 222 + WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, + b + FROM t1 + WHERE EXISTS(SELECT 1 FROM t1 AS x WHERE x.bc + OR c>d +---- +140 values hashing to d4f3b53d6c183b6326b0c2564db94ea0 + +query IIII rowsort +SELECT c-d, + (SELECT count(*) FROM t1 AS x WHERE x.bb-2 AND ac +---- +104 values hashing to cd111f29f5f7f36e2a77b27e33dbd004 + +query IIIIIII rowsort +SELECT CASE WHEN a(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + (a+b+c+d+e)/5 + FROM t1 + WHERE (a>b-2 AND aa AND e=d+2) + OR b>c +---- +57 values hashing to 886592d9da106aa25f38a55801e8ac69 + +query IIIIII rowsort +SELECT a-b, + d-e, + abs(b-c), + e, + a+b*2, + b-c + FROM t1 + WHERE a IS NULL + AND b>c + AND (a>b-2 AND ac + OR e+d BETWEEN a+b-10 AND c+130 + OR (a>b-2 AND ac + AND (a>b-2 AND at1.c AND x.da AND et1.c AND x.d(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END + FROM t1 + WHERE d>e + OR a IS NULL + OR d NOT BETWEEN 110 AND 150 +---- +105 values hashing to ab84430c78ddb8d0d0d19474da34643f + +query IIIII rowsort +SELECT abs(a), + d, + a+b*2+c*3, + (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.dd + AND a>b +---- + +query IIIIIII rowsort +SELECT abs(b-c), + (a+b+c+d+e)/5, + a-b, + c, + CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + b-c, + CASE WHEN a0 +---- +14 values hashing to 618c86d29c136607a70868aa0904aa06 + +query II rowsort +SELECT b-c, + abs(a) + FROM t1 + WHERE coalesce(a,b,c,d,e)<>0 + OR (e>a AND e=d+2) + OR (e>a AND e0 +---- +30 values hashing to c5a2b847c6c21100b32db39349809b0e + +query IIII rowsort +SELECT a+b*2+c*3+d*4+e*5, + a, + a+b*2+c*3+d*4, + CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END + FROM t1 + WHERE (c<=d-2 OR c>=d+2) + OR EXISTS(SELECT 1 FROM t1 AS x WHERE x.b0 +---- +NULL +NULL + +query IIIII rowsort +SELECT e, + a+b*2, + CASE WHEN at1.c AND x.d(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + d-e + FROM t1 +---- +210 values hashing to b4a7869dee46edfc2130eb57eeddd3e2 + +query IIIII rowsort +SELECT (a+b+c+d+e)/5, + a+b*2+c*3, + (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.dd +---- +40 values hashing to 37a6d88bfb16420fe6ffcfb0389bb483 + +query I rowsort +SELECT abs(a) + FROM t1 + WHERE c>d +---- +13 values hashing to 7d6be458c1183d1520b654a8117570fe + +query IIII rowsort +SELECT e, + a+b*2, + c, + d-e + FROM t1 +---- +120 values hashing to 8229fc62414ac478d35fc865e46beba5 + +query IIII rowsort +SELECT d-e, + d, + a, + a+b*2 + FROM t1 +---- +120 values hashing to 75f1c2193cc02c75e60ae3b6c925a916 + +query I rowsort +SELECT a + FROM t1 + WHERE c>d +---- +13 values hashing to 7d6be458c1183d1520b654a8117570fe + +query IIIIII rowsort +SELECT c-d, + a+b*2+c*3, + a+b*2+c*3+d*4+e*5, + a, + b, + a+b*2+c*3+d*4 + FROM t1 + WHERE d NOT BETWEEN 110 AND 150 +---- +102 values hashing to 12665cbcc870eefa3f4cc0d11a9991d5 + +query III rowsort +SELECT CASE WHEN a0 +---- +90 values hashing to 23c4156570b0b850e857e907cadd7306 + +query IIIII rowsort +SELECT (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.db-2 AND ac OR eb +---- +25 values hashing to 2378cc3c476ffe4a8e946543b42a9d9d + +query IIIII rowsort +SELECT a+b*2+c*3+d*4, + a+b*2+c*3+d*4+e*5, + CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.db + OR (a>b-2 AND a=d+2) + AND a IS NULL + AND c>d +---- + +query IIII rowsort +SELECT b, + d-e, + a+b*2, + b-c + FROM t1 +---- +120 values hashing to 373df092a93b28b07e7af72a6365b90e + +query IIIIII rowsort +SELECT c, + e, + a+b*2, + abs(b-c), + b-c, + a + FROM t1 + WHERE a IS NULL + AND (e>a AND ec +---- +91 values hashing to 0ad92c52d72f7b62755150d1cc34a4ef + +query IIIIIII rowsort +SELECT e, + b-c, + CASE a+1 WHEN b THEN 111 WHEN c THEN 222 + WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, + CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + a-b, + abs(b-c), + abs(a) + FROM t1 + WHERE d NOT BETWEEN 110 AND 150 + OR b>c +---- +168 values hashing to 8781330a228647b4efdfd2abbccd3f93 + +query IIIIIII rowsort +SELECT a-b, + c, + b, + b-c, + CASE a+1 WHEN b THEN 111 WHEN c THEN 222 + WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, + (a+b+c+d+e)/5, + d + FROM t1 + WHERE coalesce(a,b,c,d,e)<>0 + OR (c<=d-2 OR c>=d+2) +---- +210 values hashing to e7395b6a397534eb6c79b00a6cbf5faf + +query IIIII rowsort +SELECT abs(b-c), + d-e, + c-d, + a+b*2+c*3+d*4+e*5, + d + FROM t1 + WHERE coalesce(a,b,c,d,e)<>0 + OR c>d + OR d>e +---- +150 values hashing to 56327e383a710587cd5f4205603ee4bc + +query IIIIIII rowsort +SELECT a-b, + (a+b+c+d+e)/5, + abs(b-c), + c, + abs(a), + e, + (SELECT count(*) FROM t1 AS x WHERE x.ba AND e0 +---- +120 values hashing to 978da2a4ac397e44e638d685b7e1de7d + +query IIII rowsort +SELECT CASE a+1 WHEN b THEN 111 WHEN c THEN 222 + WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, + d, + (a+b+c+d+e)/5, + (SELECT count(*) FROM t1 AS x WHERE x.bb + AND (e>a AND eb-2 AND a0 + AND b IS NOT NULL +---- +27 values hashing to 726c5ed379e4b774e40e82e6dbdde380 + +query II rowsort +SELECT c-d, + abs(b-c) + FROM t1 + WHERE (c<=d-2 OR c>=d+2) + AND e+d BETWEEN a+b-10 AND c+130 + AND b IS NOT NULL +---- +-2 +1 +-3 +4 + +query IIIIII rowsort +SELECT (a+b+c+d+e)/5, + e, + c-d, + a+b*2+c*3, + CASE WHEN a0 + OR a IS NULL +---- +180 values hashing to 4a09d612e6ee25eb68bd8c0060901f36 + +query II rowsort +SELECT a-b, + a + FROM t1 + WHERE c>d +---- +26 values hashing to 9de411d9f4f9b07040f9b8f63b6e432c + +query IIIIII rowsort +SELECT (a+b+c+d+e)/5, + a+b*2+c*3+d*4+e*5, + d-e, + a+b*2, + CASE a+1 WHEN b THEN 111 WHEN c THEN 222 + WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, + c + FROM t1 + WHERE c BETWEEN b-2 AND d+2 + AND b>c + AND a>b +---- +232 +3473 +3 +698 +555 +231 + +query I rowsort +SELECT a+b*2+c*3 + FROM t1 + WHERE e+d BETWEEN a+b-10 AND c+130 + OR c>d + OR a IS NULL +---- +16 values hashing to 393ec0319f60a4bcad062e8ed256490f + diff --git a/tests/sqlite/select3.test b/tests/sqlite/select3.test new file mode 100644 index 0000000..480de02 --- /dev/null +++ b/tests/sqlite/select3.test @@ -0,0 +1,40769 @@ +hash-threshold 8 + +statement ok +CREATE TABLE t1(a INTEGER, b INTEGER, c INTEGER, d INTEGER, e INTEGER) + +statement ok +INSERT INTO t1(e,c,b,d,a) VALUES(NULL,102,NULL,101,104) + +statement ok +INSERT INTO t1(a,c,d,e,b) VALUES(107,106,108,109,105) + +statement ok +INSERT INTO t1(e,d,b,a,c) VALUES(110,114,112,NULL,113) + +statement ok +INSERT INTO t1(d,c,e,a,b) VALUES(116,119,117,115,NULL) + +statement ok +INSERT INTO t1(c,d,b,e,a) VALUES(123,122,124,NULL,121) + +statement ok +INSERT INTO t1(a,d,b,e,c) VALUES(127,128,129,126,125) + +statement ok +INSERT INTO t1(e,c,a,d,b) VALUES(132,134,131,133,130) + +statement ok +INSERT INTO t1(a,d,b,e,c) VALUES(138,136,139,135,137) + +statement ok +INSERT INTO t1(e,c,d,a,b) VALUES(144,141,140,142,143) + +statement ok +INSERT INTO t1(b,a,e,d,c) VALUES(145,149,146,NULL,147) + +statement ok +INSERT INTO t1(b,c,a,d,e) VALUES(151,150,153,NULL,NULL) + +statement ok +INSERT INTO t1(c,e,a,d,b) VALUES(155,157,159,NULL,158) + +statement ok +INSERT INTO t1(c,b,a,d,e) VALUES(161,160,163,164,162) + +statement ok +INSERT INTO t1(b,d,a,e,c) VALUES(167,NULL,168,165,166) + +statement ok +INSERT INTO t1(d,b,c,e,a) VALUES(171,170,172,173,174) + +statement ok +INSERT INTO t1(e,c,a,d,b) VALUES(177,176,179,NULL,175) + +statement ok +INSERT INTO t1(b,e,a,d,c) VALUES(181,180,182,183,184) + +statement ok +INSERT INTO t1(c,a,b,e,d) VALUES(187,188,186,189,185) + +statement ok +INSERT INTO t1(d,b,c,e,a) VALUES(190,194,193,192,191) + +statement ok +INSERT INTO t1(a,e,b,d,c) VALUES(199,197,198,196,195) + +statement ok +INSERT INTO t1(b,c,d,a,e) VALUES(NULL,202,203,201,204) + +statement ok +INSERT INTO t1(c,e,a,b,d) VALUES(208,NULL,NULL,206,207) + +statement ok +INSERT INTO t1(c,e,a,d,b) VALUES(214,210,213,212,211) + +statement ok +INSERT INTO t1(b,c,a,d,e) VALUES(218,215,216,217,219) + +statement ok +INSERT INTO t1(b,e,d,a,c) VALUES(223,221,222,220,224) + +statement ok +INSERT INTO t1(d,e,b,a,c) VALUES(226,227,228,229,225) + +statement ok +INSERT INTO t1(a,c,b,e,d) VALUES(234,231,232,230,233) + +statement ok +INSERT INTO t1(e,b,a,c,d) VALUES(237,236,239,NULL,238) + +statement ok +INSERT INTO t1(e,c,b,a,d) VALUES(NULL,244,240,243,NULL) + +statement ok +INSERT INTO t1(e,d,c,b,a) VALUES(246,248,247,249,245) + +query I rowsort x0 +SELECT CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END + FROM t1 +---- +30 values hashing to efdbaa4d180e7867bec1c4d897bd25b9 + +query I rowsort x0 +SELECT CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END + FROM t1 + ORDER BY 1 +---- +30 values hashing to efdbaa4d180e7867bec1c4d897bd25b9 + +query II rowsort x1 +SELECT a+b*2+c*3+d*4+e*5, + (a+b+c+d+e)/5 + FROM t1 +---- +60 values hashing to f5182c92f97475673097a499ce82ae64 + +query II rowsort x1 +SELECT a+b*2+c*3+d*4+e*5, + (a+b+c+d+e)/5 + FROM t1 + ORDER BY 1,2 +---- +60 values hashing to f5182c92f97475673097a499ce82ae64 + +query IIIII rowsort x2 +SELECT a+b*2+c*3+d*4+e*5, + CASE WHEN ae + AND (e>c OR ee + AND (e>c OR ec OR ee +---- +55 values hashing to 625899fde153a4e776b22705ac30f7fb + +query IIIII rowsort x2 +SELECT a+b*2+c*3+d*4+e*5, + CASE WHEN ac OR ee + ORDER BY 3,2,5,1,4 +---- +55 values hashing to 625899fde153a4e776b22705ac30f7fb + +query IIIII rowsort x2 +SELECT a+b*2+c*3+d*4+e*5, + CASE WHEN ac OR ee + AND EXISTS(SELECT 1 FROM t1 AS x WHERE x.bc OR ee + AND EXISTS(SELECT 1 FROM t1 AS x WHERE x.ba AND ea AND eb-2 AND aa AND ec +---- + +query IIII rowsort x5 +SELECT b, + a+b*2+c*3, + c-d, + CASE WHEN ab-2 AND aa AND ec + ORDER BY 3,2 +---- + +query IIII rowsort x5 +SELECT b, + a+b*2+c*3, + c-d, + CASE WHEN ac + AND (e>a AND eb-2 AND ac + AND (e>a AND eb-2 AND aa AND eb-2 AND ac +---- + +query IIII rowsort x5 +SELECT b, + a+b*2+c*3, + c-d, + CASE WHEN aa AND eb-2 AND ac + ORDER BY 1,2 +---- + +query IIII rowsort x5 +SELECT b, + a+b*2+c*3, + c-d, + CASE WHEN ac + AND (a>b-2 AND aa AND ec + AND (a>b-2 AND aa AND e(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + (a+b+c+d+e)/5, + d-e + FROM t1 + WHERE (c<=d-2 OR c>=d+2) + OR d>e +---- +80 values hashing to 1165928153cf03fadf7d270e4efc8a8b + +query IIIII rowsort x6 +SELECT e, + a, + CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + (a+b+c+d+e)/5, + d-e + FROM t1 + WHERE (c<=d-2 OR c>=d+2) + OR d>e + ORDER BY 3,1,5,2,4 +---- +80 values hashing to 1165928153cf03fadf7d270e4efc8a8b + +query IIIII rowsort x6 +SELECT e, + a, + CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + (a+b+c+d+e)/5, + d-e + FROM t1 + WHERE d>e + OR (c<=d-2 OR c>=d+2) +---- +80 values hashing to 1165928153cf03fadf7d270e4efc8a8b + +query IIIII rowsort x6 +SELECT e, + a, + CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + (a+b+c+d+e)/5, + d-e + FROM t1 + WHERE d>e + OR (c<=d-2 OR c>=d+2) + ORDER BY 4,1,5,3,2 +---- +80 values hashing to 1165928153cf03fadf7d270e4efc8a8b + +query I rowsort x7 +SELECT a+b*2+c*3+d*4+e*5 + FROM t1 +---- +30 values hashing to f54b614acd4cb798dba29ba05152f26d + +query I rowsort x7 +SELECT a+b*2+c*3+d*4+e*5 + FROM t1 + ORDER BY 1 +---- +30 values hashing to f54b614acd4cb798dba29ba05152f26d + +query I rowsort x8 +SELECT d-e + FROM t1 + WHERE b>c + OR a>b +---- +24 values hashing to b60e9de3a50740f40cca35b98a056b8c + +query I rowsort x8 +SELECT d-e + FROM t1 + WHERE b>c + OR a>b + ORDER BY 1 +---- +24 values hashing to b60e9de3a50740f40cca35b98a056b8c + +query I rowsort x9 +SELECT d + FROM t1 + WHERE a>b + OR d>e +---- +22 values hashing to 785796b507b0f3998ec9b04e74fa565b + +query I rowsort x9 +SELECT d + FROM t1 + WHERE a>b + OR d>e + ORDER BY 1 +---- +22 values hashing to 785796b507b0f3998ec9b04e74fa565b + +query I rowsort x9 +SELECT d + FROM t1 + WHERE d>e + OR a>b +---- +22 values hashing to 785796b507b0f3998ec9b04e74fa565b + +query I rowsort x9 +SELECT d + FROM t1 + WHERE d>e + OR a>b + ORDER BY 1 +---- +22 values hashing to 785796b507b0f3998ec9b04e74fa565b + +query IIIIIII rowsort x10 +SELECT abs(a), + (a+b+c+d+e)/5, + a+b*2+c*3+d*4, + c, + (SELECT count(*) FROM t1 AS x WHERE x.bb +---- +119 values hashing to de49937f8a76d58e90ee610d71c5d209 + +query IIIIIII rowsort x10 +SELECT abs(a), + (a+b+c+d+e)/5, + a+b*2+c*3+d*4, + c, + (SELECT count(*) FROM t1 AS x WHERE x.bb + ORDER BY 7,3,5,1,6 +---- +119 values hashing to de49937f8a76d58e90ee610d71c5d209 + +query III rowsort x11 +SELECT d, + a, + a+b*2+c*3+d*4+e*5 + FROM t1 +---- +90 values hashing to df4215319598e8101abcb5c7509649e8 + +query III rowsort x11 +SELECT d, + a, + a+b*2+c*3+d*4+e*5 + FROM t1 + ORDER BY 2,3 +---- +90 values hashing to df4215319598e8101abcb5c7509649e8 + +query III rowsort x12 +SELECT d-e, + c-d, + (a+b+c+d+e)/5 + FROM t1 + WHERE d NOT BETWEEN 110 AND 150 + OR e+d BETWEEN a+b-10 AND c+130 + OR b>c +---- +72 values hashing to 5026537fcfcc7d06e2928e16f9b160fc + +query III rowsort x12 +SELECT d-e, + c-d, + (a+b+c+d+e)/5 + FROM t1 + WHERE d NOT BETWEEN 110 AND 150 + OR e+d BETWEEN a+b-10 AND c+130 + OR b>c + ORDER BY 2,1,3 +---- +72 values hashing to 5026537fcfcc7d06e2928e16f9b160fc + +query III rowsort x12 +SELECT d-e, + c-d, + (a+b+c+d+e)/5 + FROM t1 + WHERE d NOT BETWEEN 110 AND 150 + OR b>c + OR e+d BETWEEN a+b-10 AND c+130 +---- +72 values hashing to 5026537fcfcc7d06e2928e16f9b160fc + +query III rowsort x12 +SELECT d-e, + c-d, + (a+b+c+d+e)/5 + FROM t1 + WHERE d NOT BETWEEN 110 AND 150 + OR b>c + OR e+d BETWEEN a+b-10 AND c+130 + ORDER BY 2,1,3 +---- +72 values hashing to 5026537fcfcc7d06e2928e16f9b160fc + +query III rowsort x12 +SELECT d-e, + c-d, + (a+b+c+d+e)/5 + FROM t1 + WHERE b>c + OR d NOT BETWEEN 110 AND 150 + OR e+d BETWEEN a+b-10 AND c+130 +---- +72 values hashing to 5026537fcfcc7d06e2928e16f9b160fc + +query III rowsort x12 +SELECT d-e, + c-d, + (a+b+c+d+e)/5 + FROM t1 + WHERE b>c + OR d NOT BETWEEN 110 AND 150 + OR e+d BETWEEN a+b-10 AND c+130 + ORDER BY 2,3,1 +---- +72 values hashing to 5026537fcfcc7d06e2928e16f9b160fc + +query III rowsort x12 +SELECT d-e, + c-d, + (a+b+c+d+e)/5 + FROM t1 + WHERE e+d BETWEEN a+b-10 AND c+130 + OR b>c + OR d NOT BETWEEN 110 AND 150 +---- +72 values hashing to 5026537fcfcc7d06e2928e16f9b160fc + +query III rowsort x12 +SELECT d-e, + c-d, + (a+b+c+d+e)/5 + FROM t1 + WHERE e+d BETWEEN a+b-10 AND c+130 + OR b>c + OR d NOT BETWEEN 110 AND 150 + ORDER BY 1,2 +---- +72 values hashing to 5026537fcfcc7d06e2928e16f9b160fc + +query IIIIII rowsort x13 +SELECT a+b*2+c*3, + CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + c, + (a+b+c+d+e)/5, + d-e, + a+b*2+c*3+d*4+e*5 + FROM t1 +---- +180 values hashing to 704e7ed2a17c496a3ca2ea1e4441eb40 + +query IIIIII rowsort x13 +SELECT a+b*2+c*3, + CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + c, + (a+b+c+d+e)/5, + d-e, + a+b*2+c*3+d*4+e*5 + FROM t1 + ORDER BY 4,5 +---- +180 values hashing to 704e7ed2a17c496a3ca2ea1e4441eb40 + +query IIIIII rowsort x14 +SELECT CASE WHEN ad +---- +78 values hashing to 014a4e77c58e1d60b4cbbcae9e6fd9f8 + +query IIIIII rowsort x14 +SELECT CASE WHEN ad + ORDER BY 1,5,3,2 +---- +78 values hashing to 014a4e77c58e1d60b4cbbcae9e6fd9f8 + +query II rowsort x15 +SELECT a+b*2+c*3+d*4, + (a+b+c+d+e)/5 + FROM t1 + WHERE (e>c OR ee + AND d NOT BETWEEN 110 AND 150 +---- +14 values hashing to 16eb6166e5b95fff42a33edd3a48d743 + +query II rowsort x15 +SELECT a+b*2+c*3+d*4, + (a+b+c+d+e)/5 + FROM t1 + WHERE (e>c OR ee + AND d NOT BETWEEN 110 AND 150 + ORDER BY 2,1 +---- +14 values hashing to 16eb6166e5b95fff42a33edd3a48d743 + +query II rowsort x15 +SELECT a+b*2+c*3+d*4, + (a+b+c+d+e)/5 + FROM t1 + WHERE (e>c OR ee +---- +14 values hashing to 16eb6166e5b95fff42a33edd3a48d743 + +query II rowsort x15 +SELECT a+b*2+c*3+d*4, + (a+b+c+d+e)/5 + FROM t1 + WHERE (e>c OR ee + ORDER BY 2,1 +---- +14 values hashing to 16eb6166e5b95fff42a33edd3a48d743 + +query II rowsort x15 +SELECT a+b*2+c*3+d*4, + (a+b+c+d+e)/5 + FROM t1 + WHERE d NOT BETWEEN 110 AND 150 + AND (e>c OR ee +---- +14 values hashing to 16eb6166e5b95fff42a33edd3a48d743 + +query II rowsort x15 +SELECT a+b*2+c*3+d*4, + (a+b+c+d+e)/5 + FROM t1 + WHERE d NOT BETWEEN 110 AND 150 + AND (e>c OR ee + ORDER BY 1,2 +---- +14 values hashing to 16eb6166e5b95fff42a33edd3a48d743 + +query IIIIII rowsort x16 +SELECT (SELECT count(*) FROM t1 AS x WHERE x.bb +---- +54 values hashing to 53281ade33cc2a4f0c7178ec3fb32ac9 + +query IIIIII rowsort x16 +SELECT (SELECT count(*) FROM t1 AS x WHERE x.bb + ORDER BY 5,1,3,4,2,6 +---- +54 values hashing to 53281ade33cc2a4f0c7178ec3fb32ac9 + +query IIIIII rowsort x16 +SELECT (SELECT count(*) FROM t1 AS x WHERE x.bb + AND d NOT BETWEEN 110 AND 150 +---- +54 values hashing to 53281ade33cc2a4f0c7178ec3fb32ac9 + +query IIIIII rowsort x16 +SELECT (SELECT count(*) FROM t1 AS x WHERE x.bb + AND d NOT BETWEEN 110 AND 150 + ORDER BY 6,5,1,2,4 +---- +54 values hashing to 53281ade33cc2a4f0c7178ec3fb32ac9 + +query IIIIII rowsort x16 +SELECT (SELECT count(*) FROM t1 AS x WHERE x.bb + AND d NOT BETWEEN 110 AND 150 + AND EXISTS(SELECT 1 FROM t1 AS x WHERE x.bb + AND d NOT BETWEEN 110 AND 150 + AND EXISTS(SELECT 1 FROM t1 AS x WHERE x.bb +---- +54 values hashing to 53281ade33cc2a4f0c7178ec3fb32ac9 + +query IIIIII rowsort x16 +SELECT (SELECT count(*) FROM t1 AS x WHERE x.bb + ORDER BY 4,3,1 +---- +54 values hashing to 53281ade33cc2a4f0c7178ec3fb32ac9 + +query IIIII rowsort x17 +SELECT a-b, + d, + c-d, + a+b*2+c*3+d*4, + CASE a+1 WHEN b THEN 111 WHEN c THEN 222 + WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END + FROM t1 + WHERE (e>c OR ec +---- +125 values hashing to 576840b23ec5d6d330aa4d3e0dc39f72 + +query IIIII rowsort x17 +SELECT a-b, + d, + c-d, + a+b*2+c*3+d*4, + CASE a+1 WHEN b THEN 111 WHEN c THEN 222 + WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END + FROM t1 + WHERE (e>c OR ec + ORDER BY 3,5,1,2 +---- +125 values hashing to 576840b23ec5d6d330aa4d3e0dc39f72 + +query IIIII rowsort x17 +SELECT a-b, + d, + c-d, + a+b*2+c*3+d*4, + CASE a+1 WHEN b THEN 111 WHEN c THEN 222 + WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END + FROM t1 + WHERE b>c + OR (e>c OR ec + OR (e>c OR e=d+2) +---- +50 values hashing to 8db9d8b1ba3193ca98ca00b75b91c254 + +query IIIII rowsort x18 +SELECT d-e, + CASE a+1 WHEN b THEN 111 WHEN c THEN 222 + WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, + a+b*2, + a+b*2+c*3+d*4, + b-c + FROM t1 + WHERE (c<=d-2 OR c>=d+2) + ORDER BY 3,1,4 +---- +50 values hashing to 8db9d8b1ba3193ca98ca00b75b91c254 + +query III rowsort x19 +SELECT CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + (SELECT count(*) FROM t1 AS x WHERE x.b(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + (SELECT count(*) FROM t1 AS x WHERE x.bc +---- +-2 +1902 +129 +127 +127 + +query IIIII rowsort x20 +SELECT a-b, + a+b*2+c*3+d*4+e*5, + b, + abs(a), + a + FROM t1 + WHERE e+d BETWEEN a+b-10 AND c+130 + AND EXISTS(SELECT 1 FROM t1 AS x WHERE x.bc + ORDER BY 3,2,4,5 +---- +-2 +1902 +129 +127 +127 + +query IIIII rowsort x20 +SELECT a-b, + a+b*2+c*3+d*4+e*5, + b, + abs(a), + a + FROM t1 + WHERE b>c + AND e+d BETWEEN a+b-10 AND c+130 + AND EXISTS(SELECT 1 FROM t1 AS x WHERE x.bc + AND e+d BETWEEN a+b-10 AND c+130 + AND EXISTS(SELECT 1 FROM t1 AS x WHERE x.bc + AND e+d BETWEEN a+b-10 AND c+130 +---- +-2 +1902 +129 +127 +127 + +query IIIII rowsort x20 +SELECT a-b, + a+b*2+c*3+d*4+e*5, + b, + abs(a), + a + FROM t1 + WHERE EXISTS(SELECT 1 FROM t1 AS x WHERE x.bc + AND e+d BETWEEN a+b-10 AND c+130 + ORDER BY 5,1,4,3,2 +---- +-2 +1902 +129 +127 +127 + +query IIIIIII rowsort x21 +SELECT CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + b, + c, + a+b*2+c*3, + a+b*2+c*3+d*4, + (SELECT count(*) FROM t1 AS x WHERE x.be + AND EXISTS(SELECT 1 FROM t1 AS x WHERE x.b(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + b, + c, + a+b*2+c*3, + a+b*2+c*3+d*4, + (SELECT count(*) FROM t1 AS x WHERE x.be + AND EXISTS(SELECT 1 FROM t1 AS x WHERE x.b(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + b, + c, + a+b*2+c*3, + a+b*2+c*3+d*4, + (SELECT count(*) FROM t1 AS x WHERE x.be +---- +49 values hashing to c6962d3e1379a8ba798e11d0212e4c52 + +query IIIIIII rowsort x21 +SELECT CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + b, + c, + a+b*2+c*3, + a+b*2+c*3+d*4, + (SELECT count(*) FROM t1 AS x WHERE x.be + ORDER BY 4,3,1 +---- +49 values hashing to c6962d3e1379a8ba798e11d0212e4c52 + +query IIIIIII rowsort x21 +SELECT CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + b, + c, + a+b*2+c*3, + a+b*2+c*3+d*4, + (SELECT count(*) FROM t1 AS x WHERE x.be +---- +49 values hashing to c6962d3e1379a8ba798e11d0212e4c52 + +query IIIIIII rowsort x21 +SELECT CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + b, + c, + a+b*2+c*3, + a+b*2+c*3+d*4, + (SELECT count(*) FROM t1 AS x WHERE x.be + ORDER BY 5,4,2 +---- +49 values hashing to c6962d3e1379a8ba798e11d0212e4c52 + +query III rowsort x22 +SELECT a, + (a+b+c+d+e)/5, + b + FROM t1 + WHERE c>d + AND (e>c OR ed + AND (e>c OR ec OR ed +---- +24 values hashing to 751c63ea90408c884abfeed87b4bb660 + +query III rowsort x22 +SELECT a, + (a+b+c+d+e)/5, + b + FROM t1 + WHERE (e>c OR ed + ORDER BY 3,1,2 +---- +24 values hashing to 751c63ea90408c884abfeed87b4bb660 + +query III rowsort x22 +SELECT a, + (a+b+c+d+e)/5, + b + FROM t1 + WHERE EXISTS(SELECT 1 FROM t1 AS x WHERE x.bd + AND (e>c OR ed + AND (e>c OR et1.c AND x.d(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + abs(b-c), + a+b*2+c*3 + FROM t1 + WHERE EXISTS(SELECT 1 FROM t1 AS x WHERE x.bc +---- +182 values hashing to a296d6044702bfcca834c0a3e55f6ba2 + +query IIIIIII rowsort x23 +SELECT (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.d(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + abs(b-c), + a+b*2+c*3 + FROM t1 + WHERE EXISTS(SELECT 1 FROM t1 AS x WHERE x.bc + ORDER BY 7,5,6 +---- +182 values hashing to a296d6044702bfcca834c0a3e55f6ba2 + +query IIIIIII rowsort x23 +SELECT (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.d(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + abs(b-c), + a+b*2+c*3 + FROM t1 + WHERE b>c + OR EXISTS(SELECT 1 FROM t1 AS x WHERE x.bt1.c AND x.d(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + abs(b-c), + a+b*2+c*3 + FROM t1 + WHERE b>c + OR EXISTS(SELECT 1 FROM t1 AS x WHERE x.ba AND ec + AND a>b +---- + +query II rowsort x24 +SELECT a+b*2+c*3, + (a+b+c+d+e)/5 + FROM t1 + WHERE (e>a AND ec + AND a>b + ORDER BY 2,1 +---- + +query II rowsort x24 +SELECT a+b*2+c*3, + (a+b+c+d+e)/5 + FROM t1 + WHERE b>c + AND a>b + AND (e>a AND ec + AND a>b + AND (e>a AND ec + AND (e>a AND eb +---- + +query II rowsort x24 +SELECT a+b*2+c*3, + (a+b+c+d+e)/5 + FROM t1 + WHERE b>c + AND (e>a AND eb + ORDER BY 2,1 +---- + +query IIII rowsort x25 +SELECT a+b*2+c*3, + abs(b-c), + d, + d-e + FROM t1 + WHERE e+d BETWEEN a+b-10 AND c+130 + AND d NOT BETWEEN 110 AND 150 + AND (e>a AND ea AND ea AND ea AND ea AND ea AND ea AND ea AND eb-2 AND ab + AND (c<=d-2 OR c>=d+2) +---- + +query III rowsort x26 +SELECT b-c, + b, + a+b*2+c*3+d*4 + FROM t1 + WHERE (a>b-2 AND ab + AND (c<=d-2 OR c>=d+2) + ORDER BY 3,1,2 +---- + +query III rowsort x26 +SELECT b-c, + b, + a+b*2+c*3+d*4 + FROM t1 + WHERE (a>b-2 AND a=d+2) + AND a>b +---- + +query III rowsort x26 +SELECT b-c, + b, + a+b*2+c*3+d*4 + FROM t1 + WHERE (a>b-2 AND a=d+2) + AND a>b + ORDER BY 3,1 +---- + +query III rowsort x26 +SELECT b-c, + b, + a+b*2+c*3+d*4 + FROM t1 + WHERE (c<=d-2 OR c>=d+2) + AND (a>b-2 AND ab +---- + +query III rowsort x26 +SELECT b-c, + b, + a+b*2+c*3+d*4 + FROM t1 + WHERE (c<=d-2 OR c>=d+2) + AND (a>b-2 AND ab + ORDER BY 1,2,3 +---- + +query III rowsort x26 +SELECT b-c, + b, + a+b*2+c*3+d*4 + FROM t1 + WHERE a>b + AND (c<=d-2 OR c>=d+2) + AND (a>b-2 AND ab + AND (c<=d-2 OR c>=d+2) + AND (a>b-2 AND ac +---- +65 values hashing to e7caf19cab674a9b810cf6eecbc4dd1f + +query IIIII rowsort x27 +SELECT CASE a+1 WHEN b THEN 111 WHEN c THEN 222 + WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, + a-b, + e, + d-e, + a+b*2+c*3+d*4+e*5 + FROM t1 + WHERE b>c + ORDER BY 2,3 +---- +65 values hashing to e7caf19cab674a9b810cf6eecbc4dd1f + +query I rowsort x28 +SELECT CASE WHEN at1.c AND x.de + OR (c<=d-2 OR c>=d+2) +---- +96 values hashing to 666008eb6a2f5ac71610c3222b7e526b + +query IIIIII rowsort x29 +SELECT a+b*2+c*3+d*4, + a-b, + abs(b-c), + (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.de + OR (c<=d-2 OR c>=d+2) + ORDER BY 6,5,3,4 +---- +96 values hashing to 666008eb6a2f5ac71610c3222b7e526b + +query III rowsort x30 +SELECT a-b, + a, + c + FROM t1 + WHERE c BETWEEN b-2 AND d+2 + AND a>b +---- +24 values hashing to ee8e768686f5954a5ddd0a36e7dc490e + +query III rowsort x30 +SELECT a-b, + a, + c + FROM t1 + WHERE c BETWEEN b-2 AND d+2 + AND a>b + ORDER BY 1,3,2 +---- +24 values hashing to ee8e768686f5954a5ddd0a36e7dc490e + +query III rowsort x30 +SELECT a-b, + a, + c + FROM t1 + WHERE a>b + AND c BETWEEN b-2 AND d+2 +---- +24 values hashing to ee8e768686f5954a5ddd0a36e7dc490e + +query III rowsort x30 +SELECT a-b, + a, + c + FROM t1 + WHERE a>b + AND c BETWEEN b-2 AND d+2 + ORDER BY 2,3,1 +---- +24 values hashing to ee8e768686f5954a5ddd0a36e7dc490e + +query IIIIII rowsort x31 +SELECT b-c, + CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + a+b*2+c*3, + b, + c-d, + a+b*2 + FROM t1 +---- +180 values hashing to e803e5295107a58c50597423e0b571b7 + +query IIIIII rowsort x31 +SELECT b-c, + CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + a+b*2+c*3, + b, + c-d, + a+b*2 + FROM t1 + ORDER BY 4,5,1,2,3 +---- +180 values hashing to e803e5295107a58c50597423e0b571b7 + +query IIIII rowsort x32 +SELECT d-e, + a+b*2+c*3+d*4+e*5, + CASE a+1 WHEN b THEN 111 WHEN c THEN 222 + WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, + a, + a+b*2+c*3+d*4 + FROM t1 + WHERE e+d BETWEEN a+b-10 AND c+130 +---- +10 values hashing to 804f8389c33b35bc51e0fc6d89adf857 + +query IIIII rowsort x32 +SELECT d-e, + a+b*2+c*3+d*4+e*5, + CASE a+1 WHEN b THEN 111 WHEN c THEN 222 + WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, + a, + a+b*2+c*3+d*4 + FROM t1 + WHERE e+d BETWEEN a+b-10 AND c+130 + ORDER BY 5,2,4 +---- +10 values hashing to 804f8389c33b35bc51e0fc6d89adf857 + +query I rowsort x33 +SELECT a+b*2 + FROM t1 + WHERE e+d BETWEEN a+b-10 AND c+130 + OR a>b +---- +18 values hashing to 5d782557f607a892c3a0d52c06aae3ca + +query I rowsort x33 +SELECT a+b*2 + FROM t1 + WHERE e+d BETWEEN a+b-10 AND c+130 + OR a>b + ORDER BY 1 +---- +18 values hashing to 5d782557f607a892c3a0d52c06aae3ca + +query I rowsort x33 +SELECT a+b*2 + FROM t1 + WHERE a>b + OR e+d BETWEEN a+b-10 AND c+130 +---- +18 values hashing to 5d782557f607a892c3a0d52c06aae3ca + +query I rowsort x33 +SELECT a+b*2 + FROM t1 + WHERE a>b + OR e+d BETWEEN a+b-10 AND c+130 + ORDER BY 1 +---- +18 values hashing to 5d782557f607a892c3a0d52c06aae3ca + +query IIIIII rowsort x34 +SELECT CASE a+1 WHEN b THEN 111 WHEN c THEN 222 + WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, + a+b*2+c*3+d*4+e*5, + a+b*2, + a, + d-e, + b + FROM t1 + WHERE d>e +---- +66 values hashing to 3bcdb2890ff4528da0929919501bb028 + +query IIIIII rowsort x34 +SELECT CASE a+1 WHEN b THEN 111 WHEN c THEN 222 + WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, + a+b*2+c*3+d*4+e*5, + a+b*2, + a, + d-e, + b + FROM t1 + WHERE d>e + ORDER BY 6,2,1,4,5,3 +---- +66 values hashing to 3bcdb2890ff4528da0929919501bb028 + +query IIIIII rowsort x35 +SELECT a+b*2+c*3+d*4+e*5, + b-c, + abs(a), + abs(b-c), + (a+b+c+d+e)/5, + CASE a+1 WHEN b THEN 111 WHEN c THEN 222 + WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END + FROM t1 + WHERE (e>a AND ec + OR (c<=d-2 OR c>=d+2) +---- +114 values hashing to 79b36002d97af06b70dbd04e09768ea6 + +query IIIIII rowsort x35 +SELECT a+b*2+c*3+d*4+e*5, + b-c, + abs(a), + abs(b-c), + (a+b+c+d+e)/5, + CASE a+1 WHEN b THEN 111 WHEN c THEN 222 + WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END + FROM t1 + WHERE (e>a AND ec + OR (c<=d-2 OR c>=d+2) + ORDER BY 2,4,5,3 +---- +114 values hashing to 79b36002d97af06b70dbd04e09768ea6 + +query IIIIII rowsort x35 +SELECT a+b*2+c*3+d*4+e*5, + b-c, + abs(a), + abs(b-c), + (a+b+c+d+e)/5, + CASE a+1 WHEN b THEN 111 WHEN c THEN 222 + WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END + FROM t1 + WHERE (c<=d-2 OR c>=d+2) + OR b>c + OR (e>a AND e=d+2) + OR b>c + OR (e>a AND ea AND e=d+2) +---- +33 values hashing to acb7faddee415dc26b2a6146b018a2e5 + +query III rowsort x36 +SELECT e, + a+b*2+c*3+d*4, + a+b*2+c*3+d*4+e*5 + FROM t1 + WHERE (e>a AND e=d+2) + ORDER BY 2,1 +---- +33 values hashing to acb7faddee415dc26b2a6146b018a2e5 + +query III rowsort x36 +SELECT e, + a+b*2+c*3+d*4, + a+b*2+c*3+d*4+e*5 + FROM t1 + WHERE (c<=d-2 OR c>=d+2) + OR (e>a AND e=d+2) + OR (e>a AND ee +---- +21 values hashing to 8604975782e66cb0d8a41bbc6616943b + +query III rowsort x37 +SELECT (a+b+c+d+e)/5, + d-e, + d + FROM t1 + WHERE d NOT BETWEEN 110 AND 150 + AND d>e + ORDER BY 1,2,3 +---- +21 values hashing to 8604975782e66cb0d8a41bbc6616943b + +query III rowsort x37 +SELECT (a+b+c+d+e)/5, + d-e, + d + FROM t1 + WHERE d>e + AND d NOT BETWEEN 110 AND 150 +---- +21 values hashing to 8604975782e66cb0d8a41bbc6616943b + +query III rowsort x37 +SELECT (a+b+c+d+e)/5, + d-e, + d + FROM t1 + WHERE d>e + AND d NOT BETWEEN 110 AND 150 + ORDER BY 2,3,1 +---- +21 values hashing to 8604975782e66cb0d8a41bbc6616943b + +query III rowsort x38 +SELECT a, + b-c, + CASE WHEN ab + OR c BETWEEN b-2 AND d+2 +---- +24 values hashing to e06610bd9fa1097f42e363fcc8d6546f + +query I rowsort x40 +SELECT a-b + FROM t1 + WHERE a>b + OR c BETWEEN b-2 AND d+2 + ORDER BY 1 +---- +24 values hashing to e06610bd9fa1097f42e363fcc8d6546f + +query I rowsort x41 +SELECT a+b*2+c*3+d*4 + FROM t1 + WHERE d NOT BETWEEN 110 AND 150 + AND b>c + AND c>d +---- +1918 + +query I rowsort x41 +SELECT a+b*2+c*3+d*4 + FROM t1 + WHERE d NOT BETWEEN 110 AND 150 + AND b>c + AND c>d + ORDER BY 1 +---- +1918 + +query I rowsort x41 +SELECT a+b*2+c*3+d*4 + FROM t1 + WHERE c>d + AND b>c + AND d NOT BETWEEN 110 AND 150 +---- +1918 + +query I rowsort x41 +SELECT a+b*2+c*3+d*4 + FROM t1 + WHERE c>d + AND b>c + AND d NOT BETWEEN 110 AND 150 + ORDER BY 1 +---- +1918 + +query I rowsort x41 +SELECT a+b*2+c*3+d*4 + FROM t1 + WHERE d NOT BETWEEN 110 AND 150 + AND c>d + AND b>c +---- +1918 + +query I rowsort x41 +SELECT a+b*2+c*3+d*4 + FROM t1 + WHERE d NOT BETWEEN 110 AND 150 + AND c>d + AND b>c + ORDER BY 1 +---- +1918 + +query I rowsort x42 +SELECT a+b*2+c*3 + FROM t1 +---- +30 values hashing to 445b0172de37f3ca0ed777000309cef8 + +query I rowsort x42 +SELECT a+b*2+c*3 + FROM t1 + ORDER BY 1 +---- +30 values hashing to 445b0172de37f3ca0ed777000309cef8 + +query III rowsort x43 +SELECT b, + a+b*2, + a + FROM t1 + WHERE b>c + AND (a>b-2 AND ac + AND (a>b-2 AND ab-2 AND ac +---- +139 +416 +138 +143 +428 +142 + +query III rowsort x43 +SELECT b, + a+b*2, + a + FROM t1 + WHERE c BETWEEN b-2 AND d+2 + AND (a>b-2 AND ac + ORDER BY 1,3 +---- +139 +416 +138 +143 +428 +142 + +query III rowsort x43 +SELECT b, + a+b*2, + a + FROM t1 + WHERE c BETWEEN b-2 AND d+2 + AND b>c + AND (a>b-2 AND ac + AND (a>b-2 AND at1.c AND x.d=d+2) +---- +56 values hashing to a50fc61a88af6982597f73b3314f59da + +query IIIIIII rowsort x44 +SELECT abs(a), + CASE a+1 WHEN b THEN 111 WHEN c THEN 222 + WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, + a+b*2+c*3+d*4, + c-d, + a+b*2+c*3+d*4+e*5, + (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.d=d+2) + ORDER BY 4,2 +---- +56 values hashing to a50fc61a88af6982597f73b3314f59da + +query IIIIIII rowsort x44 +SELECT abs(a), + CASE a+1 WHEN b THEN 111 WHEN c THEN 222 + WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, + a+b*2+c*3+d*4, + c-d, + a+b*2+c*3+d*4+e*5, + (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.d=d+2) + AND EXISTS(SELECT 1 FROM t1 AS x WHERE x.bt1.c AND x.d=d+2) + AND EXISTS(SELECT 1 FROM t1 AS x WHERE x.bt1.c AND x.d(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END + FROM t1 +---- +150 values hashing to 0791d44e972a767c2504291f010d4972 + +query IIIII rowsort x45 +SELECT c-d, + d-e, + a+b*2+c*3, + (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.d(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END + FROM t1 + ORDER BY 1,4,3 +---- +150 values hashing to 0791d44e972a767c2504291f010d4972 + +query IIIIII rowsort x46 +SELECT c-d, + d-e, + (SELECT count(*) FROM t1 AS x WHERE x.b(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + abs(b-c), + abs(a) + FROM t1 + WHERE (c<=d-2 OR c>=d+2) + AND e+d BETWEEN a+b-10 AND c+130 +---- +12 values hashing to 9eaadc75d7510bdbda42f0e20cb844ce + +query IIIIII rowsort x46 +SELECT c-d, + d-e, + (SELECT count(*) FROM t1 AS x WHERE x.b(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + abs(b-c), + abs(a) + FROM t1 + WHERE (c<=d-2 OR c>=d+2) + AND e+d BETWEEN a+b-10 AND c+130 + ORDER BY 1,3,2,5,4,6 +---- +12 values hashing to 9eaadc75d7510bdbda42f0e20cb844ce + +query IIIIII rowsort x47 +SELECT b-c, + a+b*2+c*3, + abs(b-c), + e, + CASE a+1 WHEN b THEN 111 WHEN c THEN 222 + WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, + a+b*2 + FROM t1 + WHERE d NOT BETWEEN 110 AND 150 + AND (a>b-2 AND ab-2 AND ab-2 AND ab-2 AND a(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + a+b*2+c*3, + a + FROM t1 + WHERE EXISTS(SELECT 1 FROM t1 AS x WHERE x.b(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + a+b*2+c*3, + a + FROM t1 + WHERE EXISTS(SELECT 1 FROM t1 AS x WHERE x.b=d+2) + OR c BETWEEN b-2 AND d+2 +---- +114 values hashing to 0446a9accb80cccec6bc4d954353b3d5 + +query IIIIII rowsort x49 +SELECT (SELECT count(*) FROM t1 AS x WHERE x.b=d+2) + OR c BETWEEN b-2 AND d+2 + ORDER BY 4,1,3 +---- +114 values hashing to 0446a9accb80cccec6bc4d954353b3d5 + +query IIIIII rowsort x49 +SELECT (SELECT count(*) FROM t1 AS x WHERE x.b=d+2) +---- +114 values hashing to 0446a9accb80cccec6bc4d954353b3d5 + +query IIIIII rowsort x49 +SELECT (SELECT count(*) FROM t1 AS x WHERE x.b=d+2) + ORDER BY 3,2,1,6 +---- +114 values hashing to 0446a9accb80cccec6bc4d954353b3d5 + +query IIIII rowsort x50 +SELECT c, + (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.da AND et1.c AND x.da AND et1.c AND x.da AND et1.c AND x.da AND et1.c AND x.dt1.c AND x.d(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + a+b*2+c*3+d*4+e*5 + FROM t1 +---- +60 values hashing to 0bdb710608975d536cdcc249e7766277 + +query II rowsort x53 +SELECT CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + a+b*2+c*3+d*4+e*5 + FROM t1 + ORDER BY 2,1 +---- +60 values hashing to 0bdb710608975d536cdcc249e7766277 + +query IIIIII rowsort x54 +SELECT a+b*2+c*3+d*4, + a-b, + (SELECT count(*) FROM t1 AS x WHERE x.bc + OR d NOT BETWEEN 110 AND 150 + OR d>e +---- +156 values hashing to 0e7e4265ef0ff00ba6f163a5f391c6b6 + +query IIIIII rowsort x54 +SELECT a+b*2+c*3+d*4, + a-b, + (SELECT count(*) FROM t1 AS x WHERE x.bc + OR d NOT BETWEEN 110 AND 150 + OR d>e + ORDER BY 2,4,3,5 +---- +156 values hashing to 0e7e4265ef0ff00ba6f163a5f391c6b6 + +query IIIIII rowsort x54 +SELECT a+b*2+c*3+d*4, + a-b, + (SELECT count(*) FROM t1 AS x WHERE x.be + OR d NOT BETWEEN 110 AND 150 + OR b>c +---- +156 values hashing to 0e7e4265ef0ff00ba6f163a5f391c6b6 + +query IIIIII rowsort x54 +SELECT a+b*2+c*3+d*4, + a-b, + (SELECT count(*) FROM t1 AS x WHERE x.be + OR d NOT BETWEEN 110 AND 150 + OR b>c + ORDER BY 1,2,3 +---- +156 values hashing to 0e7e4265ef0ff00ba6f163a5f391c6b6 + +query IIIIII rowsort x54 +SELECT a+b*2+c*3+d*4, + a-b, + (SELECT count(*) FROM t1 AS x WHERE x.bc + OR d>e +---- +156 values hashing to 0e7e4265ef0ff00ba6f163a5f391c6b6 + +query IIIIII rowsort x54 +SELECT a+b*2+c*3+d*4, + a-b, + (SELECT count(*) FROM t1 AS x WHERE x.bc + OR d>e + ORDER BY 3,4,5,6,1,2 +---- +156 values hashing to 0e7e4265ef0ff00ba6f163a5f391c6b6 + +query I rowsort x55 +SELECT b-c + FROM t1 + WHERE EXISTS(SELECT 1 FROM t1 AS x WHERE x.bt1.c AND x.d(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END + FROM t1 + WHERE d NOT BETWEEN 110 AND 150 + OR c BETWEEN b-2 AND d+2 +---- +110 values hashing to eb1aebf3bea3b025c376cea652805430 + +query IIIII rowsort x57 +SELECT a+b*2+c*3+d*4, + (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.d(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END + FROM t1 + WHERE d NOT BETWEEN 110 AND 150 + OR c BETWEEN b-2 AND d+2 + ORDER BY 2,5 +---- +110 values hashing to eb1aebf3bea3b025c376cea652805430 + +query IIIII rowsort x57 +SELECT a+b*2+c*3+d*4, + (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.d(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END + FROM t1 + WHERE c BETWEEN b-2 AND d+2 + OR d NOT BETWEEN 110 AND 150 +---- +110 values hashing to eb1aebf3bea3b025c376cea652805430 + +query IIIII rowsort x57 +SELECT a+b*2+c*3+d*4, + (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.d(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END + FROM t1 + WHERE c BETWEEN b-2 AND d+2 + OR d NOT BETWEEN 110 AND 150 + ORDER BY 4,1,3 +---- +110 values hashing to eb1aebf3bea3b025c376cea652805430 + +query IIII rowsort x58 +SELECT b-c, + a+b*2, + c, + a+b*2+c*3+d*4 + FROM t1 +---- +120 values hashing to 06fab51c5d572097d0468c8bfc192e5e + +query IIII rowsort x58 +SELECT b-c, + a+b*2, + c, + a+b*2+c*3+d*4 + FROM t1 + ORDER BY 3,1 +---- +120 values hashing to 06fab51c5d572097d0468c8bfc192e5e + +query III rowsort x59 +SELECT CASE WHEN ab-2 AND ab + AND d>e +---- +333 +132 +391 +333 +182 +544 + +query III rowsort x59 +SELECT CASE WHEN ab-2 AND ab + AND d>e + ORDER BY 1,3,2 +---- +333 +132 +391 +333 +182 +544 + +query III rowsort x59 +SELECT CASE WHEN ae + AND a>b + AND (a>b-2 AND ae + AND a>b + AND (a>b-2 AND ae + AND (a>b-2 AND ab +---- +333 +132 +391 +333 +182 +544 + +query III rowsort x59 +SELECT CASE WHEN ae + AND (a>b-2 AND ab + ORDER BY 3,2,1 +---- +333 +132 +391 +333 +182 +544 + +query III rowsort x59 +SELECT CASE WHEN ab + AND (a>b-2 AND ae +---- +333 +132 +391 +333 +182 +544 + +query III rowsort x59 +SELECT CASE WHEN ab + AND (a>b-2 AND ae + ORDER BY 1,2 +---- +333 +132 +391 +333 +182 +544 + +query I rowsort x60 +SELECT CASE a+1 WHEN b THEN 111 WHEN c THEN 222 + WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END + FROM t1 +---- +30 values hashing to 0075716954dbc259c5e8ac65568a6fa7 + +query I rowsort x60 +SELECT CASE a+1 WHEN b THEN 111 WHEN c THEN 222 + WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END + FROM t1 + ORDER BY 1 +---- +30 values hashing to 0075716954dbc259c5e8ac65568a6fa7 + +query III rowsort x61 +SELECT (SELECT count(*) FROM t1 AS x WHERE x.bb-2 AND ab-2 AND a=d+2) + AND b>c + AND (e>a AND e=d+2) + AND b>c + AND (e>a AND ea AND e=d+2) + AND b>c +---- +1 +2878 +579 + +query III rowsort x62 +SELECT b-c, + a+b*2+c*3+d*4+e*5, + a+b*2 + FROM t1 + WHERE (e>a AND e=d+2) + AND b>c + ORDER BY 2,1 +---- +1 +2878 +579 + +query III rowsort x62 +SELECT b-c, + a+b*2+c*3+d*4+e*5, + a+b*2 + FROM t1 + WHERE (c<=d-2 OR c>=d+2) + AND (e>a AND ec +---- +1 +2878 +579 + +query III rowsort x62 +SELECT b-c, + a+b*2+c*3+d*4+e*5, + a+b*2 + FROM t1 + WHERE (c<=d-2 OR c>=d+2) + AND (e>a AND ec + ORDER BY 1,3,2 +---- +1 +2878 +579 + +query IIIIII rowsort x63 +SELECT CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + (a+b+c+d+e)/5, + a-b, + (SELECT count(*) FROM t1 AS x WHERE x.ba AND e(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + (a+b+c+d+e)/5, + a-b, + (SELECT count(*) FROM t1 AS x WHERE x.ba AND et1.c AND x.dc + AND c BETWEEN b-2 AND d+2 + AND (c<=d-2 OR c>=d+2) +---- +0 + +query I rowsort x65 +SELECT (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.dc + AND c BETWEEN b-2 AND d+2 + AND (c<=d-2 OR c>=d+2) + ORDER BY 1 +---- +0 + +query I rowsort x65 +SELECT (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.d=d+2) + AND b>c + AND c BETWEEN b-2 AND d+2 +---- +0 + +query I rowsort x65 +SELECT (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.d=d+2) + AND b>c + AND c BETWEEN b-2 AND d+2 + ORDER BY 1 +---- +0 + +query I rowsort x66 +SELECT e + FROM t1 + WHERE b>c + AND d>e +---- +126 +135 +230 +246 + +query I rowsort x66 +SELECT e + FROM t1 + WHERE b>c + AND d>e + ORDER BY 1 +---- +126 +135 +230 +246 + +query I rowsort x67 +SELECT abs(a) + FROM t1 + WHERE c BETWEEN b-2 AND d+2 +---- +15 values hashing to ee5e469b70e69479c72ba919407850bf + +query I rowsort x67 +SELECT abs(a) + FROM t1 + WHERE c BETWEEN b-2 AND d+2 + ORDER BY 1 +---- +15 values hashing to ee5e469b70e69479c72ba919407850bf + +query I rowsort x68 +SELECT d-e + FROM t1 + WHERE (a>b-2 AND ac OR eb-2 AND ac OR ec OR eb-2 AND ac OR eb-2 AND ab-2 AND ac OR eb-2 AND ac OR eb-2 AND ac OR eb-2 AND ac OR e(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END + FROM t1 + WHERE e+d BETWEEN a+b-10 AND c+130 + OR (e>c OR e(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END + FROM t1 + WHERE e+d BETWEEN a+b-10 AND c+130 + OR (e>c OR ee + AND (e>c OR ee + AND (e>c OR e(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + b-c + FROM t1 + WHERE (e>a AND eb +---- +100 values hashing to 35ca6f386a2103ff887bdabee6e9f57b + +query IIIII rowsort x72 +SELECT a, + abs(b-c), + a-b, + CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + b-c + FROM t1 + WHERE (e>a AND eb + ORDER BY 3,1,2 +---- +100 values hashing to 35ca6f386a2103ff887bdabee6e9f57b + +query IIIII rowsort x72 +SELECT a, + abs(b-c), + a-b, + CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + b-c + FROM t1 + WHERE a>b + OR (e>a AND e(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + b-c + FROM t1 + WHERE a>b + OR (e>a AND e(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + (SELECT count(*) FROM t1 AS x WHERE x.be +---- +63 values hashing to af765695bd98c6763d19286966e6a502 + +query IIIIIII rowsort x73 +SELECT abs(b-c), + d-e, + c-d, + c, + CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + (SELECT count(*) FROM t1 AS x WHERE x.be + ORDER BY 1,3,7,2,5,4,6 +---- +63 values hashing to af765695bd98c6763d19286966e6a502 + +query IIIIIII rowsort x73 +SELECT abs(b-c), + d-e, + c-d, + c, + CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + (SELECT count(*) FROM t1 AS x WHERE x.be + AND c BETWEEN b-2 AND d+2 +---- +63 values hashing to af765695bd98c6763d19286966e6a502 + +query IIIIIII rowsort x73 +SELECT abs(b-c), + d-e, + c-d, + c, + CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + (SELECT count(*) FROM t1 AS x WHERE x.be + AND c BETWEEN b-2 AND d+2 + ORDER BY 7,3,4,6,2,1,5 +---- +63 values hashing to af765695bd98c6763d19286966e6a502 + +query II rowsort x74 +SELECT a-b, + a+b*2+c*3 + FROM t1 + WHERE d NOT BETWEEN 110 AND 150 +---- +34 values hashing to 7321b17b6a187df6e53c93c4a884c4ef + +query II rowsort x74 +SELECT a-b, + a+b*2+c*3 + FROM t1 + WHERE d NOT BETWEEN 110 AND 150 + ORDER BY 1,2 +---- +34 values hashing to 7321b17b6a187df6e53c93c4a884c4ef + +query IIIII rowsort x75 +SELECT CASE a+1 WHEN b THEN 111 WHEN c THEN 222 + WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, + a-b, + a+b*2, + d-e, + b + FROM t1 + WHERE d>e + AND EXISTS(SELECT 1 FROM t1 AS x WHERE x.be + AND EXISTS(SELECT 1 FROM t1 AS x WHERE x.b(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + a+b*2+c*3+d*4, + a-b, + e + FROM t1 + WHERE (a>b-2 AND a(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + a+b*2+c*3+d*4, + a-b, + e + FROM t1 + WHERE (a>b-2 AND a(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END + FROM t1 +---- +150 values hashing to 38b77b849a6098cb98a50e86ed967db9 + +query IIIII rowsort x78 +SELECT a+b*2, + abs(a), + e, + a+b*2+c*3+d*4, + CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END + FROM t1 + ORDER BY 5,2 +---- +150 values hashing to 38b77b849a6098cb98a50e86ed967db9 + +query IIIIIII rowsort x79 +SELECT abs(b-c), + a+b*2+c*3+d*4, + CASE WHEN ab +---- +196 values hashing to ef668449d0dcfaf39a9176380099a7ba + +query IIIIIII rowsort x79 +SELECT abs(b-c), + a+b*2+c*3+d*4, + CASE WHEN ab + ORDER BY 4,2,5 +---- +196 values hashing to ef668449d0dcfaf39a9176380099a7ba + +query IIIIIII rowsort x79 +SELECT abs(b-c), + a+b*2+c*3+d*4, + CASE WHEN ab + OR d NOT BETWEEN 110 AND 150 +---- +196 values hashing to ef668449d0dcfaf39a9176380099a7ba + +query IIIIIII rowsort x79 +SELECT abs(b-c), + a+b*2+c*3+d*4, + CASE WHEN ab + OR d NOT BETWEEN 110 AND 150 + ORDER BY 1,6,7,5,3 +---- +196 values hashing to ef668449d0dcfaf39a9176380099a7ba + +query II rowsort x80 +SELECT c-d, + b-c + FROM t1 + WHERE a>b + OR c>d + OR d>e +---- +56 values hashing to 92f4dc74ff83b62db81402a1d57321c6 + +query II rowsort x80 +SELECT c-d, + b-c + FROM t1 + WHERE a>b + OR c>d + OR d>e + ORDER BY 1,2 +---- +56 values hashing to 92f4dc74ff83b62db81402a1d57321c6 + +query II rowsort x80 +SELECT c-d, + b-c + FROM t1 + WHERE d>e + OR c>d + OR a>b +---- +56 values hashing to 92f4dc74ff83b62db81402a1d57321c6 + +query II rowsort x80 +SELECT c-d, + b-c + FROM t1 + WHERE d>e + OR c>d + OR a>b + ORDER BY 2,1 +---- +56 values hashing to 92f4dc74ff83b62db81402a1d57321c6 + +query II rowsort x80 +SELECT c-d, + b-c + FROM t1 + WHERE d>e + OR a>b + OR c>d +---- +56 values hashing to 92f4dc74ff83b62db81402a1d57321c6 + +query II rowsort x80 +SELECT c-d, + b-c + FROM t1 + WHERE d>e + OR a>b + OR c>d + ORDER BY 1,2 +---- +56 values hashing to 92f4dc74ff83b62db81402a1d57321c6 + +query II rowsort x81 +SELECT abs(b-c), + a + FROM t1 + WHERE c>d +---- +26 values hashing to 5406a45aaa7e9eb6eac7c2ce28e885ff + +query II rowsort x81 +SELECT abs(b-c), + a + FROM t1 + WHERE c>d + ORDER BY 1,2 +---- +26 values hashing to 5406a45aaa7e9eb6eac7c2ce28e885ff + +query IIIII rowsort x82 +SELECT b-c, + (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.dc OR ec +---- +20 values hashing to 3938ff52656417a17bb221a7e4c3c1f8 + +query IIIII rowsort x82 +SELECT b-c, + (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.dc OR ec + ORDER BY 3,1,5,4,2 +---- +20 values hashing to 3938ff52656417a17bb221a7e4c3c1f8 + +query IIIII rowsort x82 +SELECT b-c, + (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.dc OR ec + AND c BETWEEN b-2 AND d+2 +---- +20 values hashing to 3938ff52656417a17bb221a7e4c3c1f8 + +query IIIII rowsort x82 +SELECT b-c, + (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.dc OR ec + AND c BETWEEN b-2 AND d+2 + ORDER BY 3,5,4,2,1 +---- +20 values hashing to 3938ff52656417a17bb221a7e4c3c1f8 + +query IIIII rowsort x82 +SELECT b-c, + (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.dc + AND (e>c OR et1.c AND x.dc + AND (e>c OR e(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + a, + d, + a+b*2+c*3, + CASE WHEN a(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + a, + d, + a+b*2+c*3, + CASE WHEN at1.c AND x.dt1.c AND x.dt1.c AND x.de +---- +22 values hashing to 447047f122de558251d285760d37a2b0 + +query II rowsort x87 +SELECT (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.de + ORDER BY 2,1 +---- +22 values hashing to 447047f122de558251d285760d37a2b0 + +query IIIIIII rowsort x88 +SELECT c-d, + a+b*2+c*3+d*4+e*5, + b-c, + (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.da AND et1.c AND x.da AND e(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + a + FROM t1 + WHERE (a>b-2 AND a(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + a + FROM t1 + WHERE (a>b-2 AND at1.c AND x.dt1.c AND x.dc + OR a>b + OR (c<=d-2 OR c>=d+2) +---- +130 values hashing to 2f5a32331489c99199941a8889b06f1d + +query IIIII rowsort x91 +SELECT c-d, + a+b*2+c*3+d*4, + abs(b-c), + CASE a+1 WHEN b THEN 111 WHEN c THEN 222 + WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, + abs(a) + FROM t1 + WHERE b>c + OR a>b + OR (c<=d-2 OR c>=d+2) + ORDER BY 2,4,5 +---- +130 values hashing to 2f5a32331489c99199941a8889b06f1d + +query IIIII rowsort x91 +SELECT c-d, + a+b*2+c*3+d*4, + abs(b-c), + CASE a+1 WHEN b THEN 111 WHEN c THEN 222 + WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, + abs(a) + FROM t1 + WHERE (c<=d-2 OR c>=d+2) + OR a>b + OR b>c +---- +130 values hashing to 2f5a32331489c99199941a8889b06f1d + +query IIIII rowsort x91 +SELECT c-d, + a+b*2+c*3+d*4, + abs(b-c), + CASE a+1 WHEN b THEN 111 WHEN c THEN 222 + WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, + abs(a) + FROM t1 + WHERE (c<=d-2 OR c>=d+2) + OR a>b + OR b>c + ORDER BY 4,5,1 +---- +130 values hashing to 2f5a32331489c99199941a8889b06f1d + +query IIIII rowsort x91 +SELECT c-d, + a+b*2+c*3+d*4, + abs(b-c), + CASE a+1 WHEN b THEN 111 WHEN c THEN 222 + WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, + abs(a) + FROM t1 + WHERE a>b + OR (c<=d-2 OR c>=d+2) + OR b>c +---- +130 values hashing to 2f5a32331489c99199941a8889b06f1d + +query IIIII rowsort x91 +SELECT c-d, + a+b*2+c*3+d*4, + abs(b-c), + CASE a+1 WHEN b THEN 111 WHEN c THEN 222 + WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, + abs(a) + FROM t1 + WHERE a>b + OR (c<=d-2 OR c>=d+2) + OR b>c + ORDER BY 1,5,3 +---- +130 values hashing to 2f5a32331489c99199941a8889b06f1d + +query IIIIIII rowsort x92 +SELECT d-e, + a+b*2+c*3+d*4+e*5, + a+b*2+c*3, + d, + (SELECT count(*) FROM t1 AS x WHERE x.b(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END + FROM t1 +---- +150 values hashing to 3cfed3855169db1b5c3661ccf5f0e01a + +query IIIII rowsort x95 +SELECT d, + a, + a+b*2+c*3, + a+b*2+c*3+d*4, + CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END + FROM t1 + ORDER BY 5,3,1,2,4 +---- +150 values hashing to 3cfed3855169db1b5c3661ccf5f0e01a + +query IIIII rowsort x96 +SELECT d-e, + abs(b-c), + CASE a+1 WHEN b THEN 111 WHEN c THEN 222 + WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, + b-c, + a+b*2+c*3+d*4+e*5 + FROM t1 + WHERE (c<=d-2 OR c>=d+2) + AND c>d +---- +25 values hashing to af6ddfcc0bc5a293d17b418913e3f6c2 + +query IIIII rowsort x96 +SELECT d-e, + abs(b-c), + CASE a+1 WHEN b THEN 111 WHEN c THEN 222 + WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, + b-c, + a+b*2+c*3+d*4+e*5 + FROM t1 + WHERE (c<=d-2 OR c>=d+2) + AND c>d + ORDER BY 5,1,4,2,3 +---- +25 values hashing to af6ddfcc0bc5a293d17b418913e3f6c2 + +query IIIII rowsort x96 +SELECT d-e, + abs(b-c), + CASE a+1 WHEN b THEN 111 WHEN c THEN 222 + WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, + b-c, + a+b*2+c*3+d*4+e*5 + FROM t1 + WHERE c>d + AND (c<=d-2 OR c>=d+2) +---- +25 values hashing to af6ddfcc0bc5a293d17b418913e3f6c2 + +query IIIII rowsort x96 +SELECT d-e, + abs(b-c), + CASE a+1 WHEN b THEN 111 WHEN c THEN 222 + WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, + b-c, + a+b*2+c*3+d*4+e*5 + FROM t1 + WHERE c>d + AND (c<=d-2 OR c>=d+2) + ORDER BY 1,4,3 +---- +25 values hashing to af6ddfcc0bc5a293d17b418913e3f6c2 + +query IIIII rowsort x97 +SELECT (a+b+c+d+e)/5, + d, + CASE WHEN ab-2 AND ab-2 AND ab-2 AND ab-2 AND a(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + a+b*2+c*3, + c-d + FROM t1 + WHERE e+d BETWEEN a+b-10 AND c+130 + OR a>b +---- +54 values hashing to f8c69dcb44782b0e6c9cbf8319f65a6c + +query III rowsort x98 +SELECT CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + a+b*2+c*3, + c-d + FROM t1 + WHERE e+d BETWEEN a+b-10 AND c+130 + OR a>b + ORDER BY 1,2,3 +---- +54 values hashing to f8c69dcb44782b0e6c9cbf8319f65a6c + +query III rowsort x98 +SELECT CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + a+b*2+c*3, + c-d + FROM t1 + WHERE a>b + OR e+d BETWEEN a+b-10 AND c+130 +---- +54 values hashing to f8c69dcb44782b0e6c9cbf8319f65a6c + +query III rowsort x98 +SELECT CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + a+b*2+c*3, + c-d + FROM t1 + WHERE a>b + OR e+d BETWEEN a+b-10 AND c+130 + ORDER BY 1,3 +---- +54 values hashing to f8c69dcb44782b0e6c9cbf8319f65a6c + +query IIIIII rowsort x99 +SELECT (SELECT count(*) FROM t1 AS x WHERE x.b(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + b-c, + d, + c, + a+b*2+c*3+d*4 + FROM t1 +---- +180 values hashing to cf32291913a803ba6d9011eefa055f2f + +query IIIIII rowsort x99 +SELECT (SELECT count(*) FROM t1 AS x WHERE x.b(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + b-c, + d, + c, + a+b*2+c*3+d*4 + FROM t1 + ORDER BY 4,3,5,2,6 +---- +180 values hashing to cf32291913a803ba6d9011eefa055f2f + +query IIII rowsort x100 +SELECT CASE a+1 WHEN b THEN 111 WHEN c THEN 222 + WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, + a+b*2+c*3, + a+b*2+c*3+d*4, + c-d + FROM t1 + WHERE (a>b-2 AND ab-2 AND ab-2 AND ab-2 AND ac + AND (e>a AND ec + AND (e>a AND ea AND ec +---- +14 values hashing to ba74bb26a6370037d533c7c849d06212 + +query IIIIIII rowsort x102 +SELECT (SELECT count(*) FROM t1 AS x WHERE x.ba AND ec + ORDER BY 2,7,3,5,4 +---- +14 values hashing to ba74bb26a6370037d533c7c849d06212 + +query IIIIII rowsort x103 +SELECT a+b*2+c*3, + b-c, + CASE WHEN a(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END + FROM t1 + WHERE (e>c OR e(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END + FROM t1 + WHERE (e>c OR ee + AND c>d +---- +15 values hashing to 3c7ff7791b22cfda8a728f67fd74be3a + +query III rowsort x109 +SELECT (a+b+c+d+e)/5, + abs(b-c), + a+b*2+c*3+d*4 + FROM t1 + WHERE c BETWEEN b-2 AND d+2 + AND d>e + AND c>d + ORDER BY 2,1 +---- +15 values hashing to 3c7ff7791b22cfda8a728f67fd74be3a + +query III rowsort x109 +SELECT (a+b+c+d+e)/5, + abs(b-c), + a+b*2+c*3+d*4 + FROM t1 + WHERE c>d + AND d>e + AND c BETWEEN b-2 AND d+2 +---- +15 values hashing to 3c7ff7791b22cfda8a728f67fd74be3a + +query III rowsort x109 +SELECT (a+b+c+d+e)/5, + abs(b-c), + a+b*2+c*3+d*4 + FROM t1 + WHERE c>d + AND d>e + AND c BETWEEN b-2 AND d+2 + ORDER BY 1,3,2 +---- +15 values hashing to 3c7ff7791b22cfda8a728f67fd74be3a + +query III rowsort x109 +SELECT (a+b+c+d+e)/5, + abs(b-c), + a+b*2+c*3+d*4 + FROM t1 + WHERE c>d + AND c BETWEEN b-2 AND d+2 + AND d>e +---- +15 values hashing to 3c7ff7791b22cfda8a728f67fd74be3a + +query III rowsort x109 +SELECT (a+b+c+d+e)/5, + abs(b-c), + a+b*2+c*3+d*4 + FROM t1 + WHERE c>d + AND c BETWEEN b-2 AND d+2 + AND d>e + ORDER BY 1,2 +---- +15 values hashing to 3c7ff7791b22cfda8a728f67fd74be3a + +query II rowsort x110 +SELECT a+b*2+c*3+d*4, + d + FROM t1 + WHERE c>d + AND c BETWEEN b-2 AND d+2 + AND (e>c OR ed + AND c BETWEEN b-2 AND d+2 + AND (e>c OR ec OR ed + AND c BETWEEN b-2 AND d+2 +---- +16 values hashing to 17d107726956412fb29fbcad81f2565a + +query II rowsort x110 +SELECT a+b*2+c*3+d*4, + d + FROM t1 + WHERE (e>c OR ed + AND c BETWEEN b-2 AND d+2 + ORDER BY 2,1 +---- +16 values hashing to 17d107726956412fb29fbcad81f2565a + +query II rowsort x110 +SELECT a+b*2+c*3+d*4, + d + FROM t1 + WHERE c BETWEEN b-2 AND d+2 + AND (e>c OR ed +---- +16 values hashing to 17d107726956412fb29fbcad81f2565a + +query II rowsort x110 +SELECT a+b*2+c*3+d*4, + d + FROM t1 + WHERE c BETWEEN b-2 AND d+2 + AND (e>c OR ed + ORDER BY 2,1 +---- +16 values hashing to 17d107726956412fb29fbcad81f2565a + +query IIIIII rowsort x111 +SELECT abs(a), + a+b*2+c*3+d*4, + (SELECT count(*) FROM t1 AS x WHERE x.b(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + c-d + FROM t1 + WHERE e+d BETWEEN a+b-10 AND c+130 +---- +12 values hashing to 36c8af2cf2c693cce358cd6042d0f3a0 + +query IIIIII rowsort x111 +SELECT abs(a), + a+b*2+c*3+d*4, + (SELECT count(*) FROM t1 AS x WHERE x.b(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + c-d + FROM t1 + WHERE e+d BETWEEN a+b-10 AND c+130 + ORDER BY 1,2,4,5,3 +---- +12 values hashing to 36c8af2cf2c693cce358cd6042d0f3a0 + +query III rowsort x112 +SELECT a, + (a+b+c+d+e)/5, + a-b + FROM t1 + WHERE a>b +---- +51 values hashing to 2abf69b4e4ff11844fc3e958d1984c2d + +query III rowsort x112 +SELECT a, + (a+b+c+d+e)/5, + a-b + FROM t1 + WHERE a>b + ORDER BY 2,3 +---- +51 values hashing to 2abf69b4e4ff11844fc3e958d1984c2d + +query III rowsort x113 +SELECT c-d, + CASE a+1 WHEN b THEN 111 WHEN c THEN 222 + WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, + b + FROM t1 + WHERE (e>a AND ea AND et1.c AND x.dd + AND EXISTS(SELECT 1 FROM t1 AS x WHERE x.bt1.c AND x.dd + AND EXISTS(SELECT 1 FROM t1 AS x WHERE x.bt1.c AND x.dd + AND EXISTS(SELECT 1 FROM t1 AS x WHERE x.bt1.c AND x.dd + AND EXISTS(SELECT 1 FROM t1 AS x WHERE x.bt1.c AND x.dd +---- +50 values hashing to a7c4bfdcb5d86488e2bf8c50a2cf6e10 + +query IIIII rowsort x115 +SELECT CASE WHEN at1.c AND x.dd + ORDER BY 1,2 +---- +50 values hashing to a7c4bfdcb5d86488e2bf8c50a2cf6e10 + +query IIIIIII rowsort x116 +SELECT a+b*2+c*3+d*4, + a+b*2+c*3, + CASE a+1 WHEN b THEN 111 WHEN c THEN 222 + WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, + e, + (SELECT count(*) FROM t1 AS x WHERE x.be + OR c BETWEEN b-2 AND d+2 + OR (c<=d-2 OR c>=d+2) +---- +140 values hashing to e4345f4fe95219d9c12d3c40f128f3b5 + +query IIIIIII rowsort x116 +SELECT a+b*2+c*3+d*4, + a+b*2+c*3, + CASE a+1 WHEN b THEN 111 WHEN c THEN 222 + WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, + e, + (SELECT count(*) FROM t1 AS x WHERE x.be + OR c BETWEEN b-2 AND d+2 + OR (c<=d-2 OR c>=d+2) + ORDER BY 1,5,2,3,4 +---- +140 values hashing to e4345f4fe95219d9c12d3c40f128f3b5 + +query IIIIIII rowsort x116 +SELECT a+b*2+c*3+d*4, + a+b*2+c*3, + CASE a+1 WHEN b THEN 111 WHEN c THEN 222 + WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, + e, + (SELECT count(*) FROM t1 AS x WHERE x.b=d+2) + OR c BETWEEN b-2 AND d+2 + OR d>e +---- +140 values hashing to e4345f4fe95219d9c12d3c40f128f3b5 + +query IIIIIII rowsort x116 +SELECT a+b*2+c*3+d*4, + a+b*2+c*3, + CASE a+1 WHEN b THEN 111 WHEN c THEN 222 + WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, + e, + (SELECT count(*) FROM t1 AS x WHERE x.b=d+2) + OR c BETWEEN b-2 AND d+2 + OR d>e + ORDER BY 4,2,5,1,3,7 +---- +140 values hashing to e4345f4fe95219d9c12d3c40f128f3b5 + +query IIIIIII rowsort x116 +SELECT a+b*2+c*3+d*4, + a+b*2+c*3, + CASE a+1 WHEN b THEN 111 WHEN c THEN 222 + WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, + e, + (SELECT count(*) FROM t1 AS x WHERE x.b=d+2) + OR d>e +---- +140 values hashing to e4345f4fe95219d9c12d3c40f128f3b5 + +query IIIIIII rowsort x116 +SELECT a+b*2+c*3+d*4, + a+b*2+c*3, + CASE a+1 WHEN b THEN 111 WHEN c THEN 222 + WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, + e, + (SELECT count(*) FROM t1 AS x WHERE x.b=d+2) + OR d>e + ORDER BY 1,6,2,4,5,7 +---- +140 values hashing to e4345f4fe95219d9c12d3c40f128f3b5 + +query II rowsort x117 +SELECT a+b*2+c*3+d*4, + CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END + FROM t1 +---- +60 values hashing to 131d71f5c4130dea41c5210e648c5aab + +query II rowsort x117 +SELECT a+b*2+c*3+d*4, + CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END + FROM t1 + ORDER BY 1,2 +---- +60 values hashing to 131d71f5c4130dea41c5210e648c5aab + +query II rowsort x118 +SELECT a+b*2, + b + FROM t1 +---- +60 values hashing to e8512cacb92561411fed57fc3eb48ebd + +query II rowsort x118 +SELECT a+b*2, + b + FROM t1 + ORDER BY 2,1 +---- +60 values hashing to e8512cacb92561411fed57fc3eb48ebd + +query I rowsort x119 +SELECT (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.db-2 AND at1.c AND x.db-2 AND at1.c AND x.db-2 AND at1.c AND x.db-2 AND ac +---- +26 values hashing to f779b1cf0028b56f46858f31d9448ed0 + +query I rowsort x120 +SELECT d + FROM t1 + WHERE EXISTS(SELECT 1 FROM t1 AS x WHERE x.bc + ORDER BY 1 +---- +26 values hashing to f779b1cf0028b56f46858f31d9448ed0 + +query IIIIIII rowsort x121 +SELECT a+b*2, + d, + abs(b-c), + abs(a), + (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.da AND e=d+2) +---- +77 values hashing to 59e6659e16fd838c46645ad900800f8f + +query IIIIIII rowsort x121 +SELECT a+b*2, + d, + abs(b-c), + abs(a), + (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.da AND e=d+2) + ORDER BY 6,5,4,7,2 +---- +77 values hashing to 59e6659e16fd838c46645ad900800f8f + +query IIIIIII rowsort x122 +SELECT CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + a+b*2+c*3+d*4, + b, + a+b*2, + abs(a), + a, + a+b*2+c*3 + FROM t1 + WHERE (e>c OR e(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + a+b*2+c*3+d*4, + b, + a+b*2, + abs(a), + a, + a+b*2+c*3 + FROM t1 + WHERE (e>c OR e(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + a+b*2+c*3+d*4, + b, + a+b*2, + abs(a), + a, + a+b*2+c*3 + FROM t1 + WHERE e+d BETWEEN a+b-10 AND c+130 + OR (e>c OR e(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + a+b*2+c*3+d*4, + b, + a+b*2, + abs(a), + a, + a+b*2+c*3 + FROM t1 + WHERE e+d BETWEEN a+b-10 AND c+130 + OR (e>c OR eb-2 AND ac +---- +45 values hashing to d50c41e742997d1380d4f4655a0dac15 + +query III rowsort x123 +SELECT c, + a+b*2, + abs(b-c) + FROM t1 + WHERE (a>b-2 AND ac + ORDER BY 1,3,2 +---- +45 values hashing to d50c41e742997d1380d4f4655a0dac15 + +query III rowsort x123 +SELECT c, + a+b*2, + abs(b-c) + FROM t1 + WHERE b>c + OR (a>b-2 AND ac + OR (a>b-2 AND ac OR ea AND ee +---- +44 values hashing to d45a7e6fff4e5feb24199a45099d3eae + +query II rowsort x124 +SELECT b-c, + b + FROM t1 + WHERE (e>c OR ea AND ee + ORDER BY 1,2 +---- +44 values hashing to d45a7e6fff4e5feb24199a45099d3eae + +query II rowsort x124 +SELECT b-c, + b + FROM t1 + WHERE (e>c OR ee + OR (e>a AND ec OR ee + OR (e>a AND ea AND ee + OR (e>c OR ea AND ee + OR (e>c OR ed +---- +65 values hashing to e7e1c21489377c85cf0f1d00fcaad3fa + +query IIIII rowsort x126 +SELECT abs(a), + (SELECT count(*) FROM t1 AS x WHERE x.bd + ORDER BY 3,4,5,2,1 +---- +65 values hashing to e7e1c21489377c85cf0f1d00fcaad3fa + +query I rowsort x127 +SELECT a+b*2+c*3 + FROM t1 + WHERE c BETWEEN b-2 AND d+2 +---- +15 values hashing to 11ccac364a64300285613ac5a623182e + +query I rowsort x127 +SELECT a+b*2+c*3 + FROM t1 + WHERE c BETWEEN b-2 AND d+2 + ORDER BY 1 +---- +15 values hashing to 11ccac364a64300285613ac5a623182e + +query I rowsort x128 +SELECT (a+b+c+d+e)/5 + FROM t1 +---- +30 values hashing to 74b4b1d1e049d57b3610b70a67a1c32f + +query I rowsort x128 +SELECT (a+b+c+d+e)/5 + FROM t1 + ORDER BY 1 +---- +30 values hashing to 74b4b1d1e049d57b3610b70a67a1c32f + +query II rowsort x129 +SELECT a+b*2+c*3+d*4, + abs(a) + FROM t1 + WHERE c BETWEEN b-2 AND d+2 +---- +30 values hashing to a512bc577af89b7ed951794c489cba1a + +query II rowsort x129 +SELECT a+b*2+c*3+d*4, + abs(a) + FROM t1 + WHERE c BETWEEN b-2 AND d+2 + ORDER BY 1,2 +---- +30 values hashing to a512bc577af89b7ed951794c489cba1a + +query II rowsort x130 +SELECT a+b*2+c*3+d*4, + CASE a+1 WHEN b THEN 111 WHEN c THEN 222 + WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END + FROM t1 + WHERE (e>c OR ea AND ec OR ea AND eb-2 AND ab-2 AND ab-2 AND ab-2 AND ae + AND (c<=d-2 OR c>=d+2) +---- +20 values hashing to 6c24959fa9cfa848ca2180d31d069f83 + +query IIII rowsort x132 +SELECT CASE a+1 WHEN b THEN 111 WHEN c THEN 222 + WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, + b, + a-b, + a+b*2+c*3+d*4 + FROM t1 + WHERE d>e + AND (c<=d-2 OR c>=d+2) + ORDER BY 1,4,2 +---- +20 values hashing to 6c24959fa9cfa848ca2180d31d069f83 + +query IIII rowsort x132 +SELECT CASE a+1 WHEN b THEN 111 WHEN c THEN 222 + WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, + b, + a-b, + a+b*2+c*3+d*4 + FROM t1 + WHERE (c<=d-2 OR c>=d+2) + AND d>e +---- +20 values hashing to 6c24959fa9cfa848ca2180d31d069f83 + +query IIII rowsort x132 +SELECT CASE a+1 WHEN b THEN 111 WHEN c THEN 222 + WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, + b, + a-b, + a+b*2+c*3+d*4 + FROM t1 + WHERE (c<=d-2 OR c>=d+2) + AND d>e + ORDER BY 2,1 +---- +20 values hashing to 6c24959fa9cfa848ca2180d31d069f83 + +query IIII rowsort x133 +SELECT CASE a+1 WHEN b THEN 111 WHEN c THEN 222 + WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, + c, + b-c, + d + FROM t1 + WHERE c BETWEEN b-2 AND d+2 + AND b>c + AND e+d BETWEEN a+b-10 AND c+130 +---- + +query IIII rowsort x133 +SELECT CASE a+1 WHEN b THEN 111 WHEN c THEN 222 + WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, + c, + b-c, + d + FROM t1 + WHERE c BETWEEN b-2 AND d+2 + AND b>c + AND e+d BETWEEN a+b-10 AND c+130 + ORDER BY 2,3,4,1 +---- + +query IIII rowsort x133 +SELECT CASE a+1 WHEN b THEN 111 WHEN c THEN 222 + WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, + c, + b-c, + d + FROM t1 + WHERE e+d BETWEEN a+b-10 AND c+130 + AND c BETWEEN b-2 AND d+2 + AND b>c +---- + +query IIII rowsort x133 +SELECT CASE a+1 WHEN b THEN 111 WHEN c THEN 222 + WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, + c, + b-c, + d + FROM t1 + WHERE e+d BETWEEN a+b-10 AND c+130 + AND c BETWEEN b-2 AND d+2 + AND b>c + ORDER BY 2,3 +---- + +query IIII rowsort x133 +SELECT CASE a+1 WHEN b THEN 111 WHEN c THEN 222 + WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, + c, + b-c, + d + FROM t1 + WHERE b>c + AND e+d BETWEEN a+b-10 AND c+130 + AND c BETWEEN b-2 AND d+2 +---- + +query IIII rowsort x133 +SELECT CASE a+1 WHEN b THEN 111 WHEN c THEN 222 + WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, + c, + b-c, + d + FROM t1 + WHERE b>c + AND e+d BETWEEN a+b-10 AND c+130 + AND c BETWEEN b-2 AND d+2 + ORDER BY 2,4,1 +---- + +query III rowsort x134 +SELECT CASE WHEN aa AND ea AND eb +---- +51 values hashing to f14a84ddf75757708d0d8b009027f493 + +query III rowsort x135 +SELECT c-d, + a+b*2+c*3, + d + FROM t1 + WHERE a>b + ORDER BY 3,2 +---- +51 values hashing to f14a84ddf75757708d0d8b009027f493 + +query IIIIIII rowsort x136 +SELECT (a+b+c+d+e)/5, + a+b*2+c*3+d*4+e*5, + abs(a), + b-c, + c, + a-b, + CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END + FROM t1 + WHERE (e>c OR e(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END + FROM t1 + WHERE (e>c OR e=d+2) +---- +20 values hashing to 8d6eac4282d6882511230a20417bf479 + +query II rowsort x137 +SELECT a+b*2+c*3, + a+b*2 + FROM t1 + WHERE (c<=d-2 OR c>=d+2) + ORDER BY 2,1 +---- +20 values hashing to 8d6eac4282d6882511230a20417bf479 + +query IIIIIII rowsort x138 +SELECT a+b*2+c*3+d*4, + a+b*2+c*3, + c, + b, + d-e, + (a+b+c+d+e)/5, + b-c + FROM t1 + WHERE (c<=d-2 OR c>=d+2) +---- +70 values hashing to 03b9c6bc33a4aba7ddad83b45e0f1b1a + +query IIIIIII rowsort x138 +SELECT a+b*2+c*3+d*4, + a+b*2+c*3, + c, + b, + d-e, + (a+b+c+d+e)/5, + b-c + FROM t1 + WHERE (c<=d-2 OR c>=d+2) + ORDER BY 1,2,4,6 +---- +70 values hashing to 03b9c6bc33a4aba7ddad83b45e0f1b1a + +query III rowsort x139 +SELECT (SELECT count(*) FROM t1 AS x WHERE x.bc OR ee +---- +21 values hashing to f0c4dfe1769211bf0c301c9007bc5454 + +query III rowsort x139 +SELECT (SELECT count(*) FROM t1 AS x WHERE x.bc OR ee + ORDER BY 2,3 +---- +21 values hashing to f0c4dfe1769211bf0c301c9007bc5454 + +query III rowsort x139 +SELECT (SELECT count(*) FROM t1 AS x WHERE x.bc OR ee + AND d NOT BETWEEN 110 AND 150 +---- +21 values hashing to f0c4dfe1769211bf0c301c9007bc5454 + +query III rowsort x139 +SELECT (SELECT count(*) FROM t1 AS x WHERE x.bc OR ee + AND d NOT BETWEEN 110 AND 150 + ORDER BY 3,2 +---- +21 values hashing to f0c4dfe1769211bf0c301c9007bc5454 + +query III rowsort x139 +SELECT (SELECT count(*) FROM t1 AS x WHERE x.be + AND d NOT BETWEEN 110 AND 150 + AND (e>c OR ee + AND d NOT BETWEEN 110 AND 150 + AND (e>c OR ee + AND (e>c OR ee + AND (e>c OR et1.c AND x.dt1.c AND x.d(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + e, + a-b, + d, + CASE a+1 WHEN b THEN 111 WHEN c THEN 222 + WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END + FROM t1 + WHERE a>b + AND c BETWEEN b-2 AND d+2 +---- +48 values hashing to 8673acc669acd16171dbeb21976d6d8f + +query IIIIII rowsort x141 +SELECT a+b*2+c*3, + CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + e, + a-b, + d, + CASE a+1 WHEN b THEN 111 WHEN c THEN 222 + WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END + FROM t1 + WHERE a>b + AND c BETWEEN b-2 AND d+2 + ORDER BY 4,6,1,2,5,3 +---- +48 values hashing to 8673acc669acd16171dbeb21976d6d8f + +query IIIIII rowsort x141 +SELECT a+b*2+c*3, + CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + e, + a-b, + d, + CASE a+1 WHEN b THEN 111 WHEN c THEN 222 + WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END + FROM t1 + WHERE c BETWEEN b-2 AND d+2 + AND a>b +---- +48 values hashing to 8673acc669acd16171dbeb21976d6d8f + +query IIIIII rowsort x141 +SELECT a+b*2+c*3, + CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + e, + a-b, + d, + CASE a+1 WHEN b THEN 111 WHEN c THEN 222 + WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END + FROM t1 + WHERE c BETWEEN b-2 AND d+2 + AND a>b + ORDER BY 6,5,2,3 +---- +48 values hashing to 8673acc669acd16171dbeb21976d6d8f + +query IIIIIII rowsort x142 +SELECT b-c, + c-d, + a+b*2+c*3+d*4+e*5, + a, + a+b*2+c*3, + a-b, + a+b*2+c*3+d*4 + FROM t1 + WHERE (e>c OR ec + OR (a>b-2 AND ac OR ec + OR (a>b-2 AND ac + OR (e>c OR eb-2 AND ac + OR (e>c OR eb-2 AND ac + OR (a>b-2 AND ac OR ec + OR (a>b-2 AND ac OR et1.c AND x.db-2 AND at1.c AND x.db-2 AND at1.c AND x.db-2 AND at1.c AND x.db-2 AND ac +---- +15 values hashing to 8b91e8ae95a1c510da23999745a6f6f0 + +query III rowsort x144 +SELECT a+b*2+c*3, + e, + a-b + FROM t1 + WHERE c BETWEEN b-2 AND d+2 + AND b>c + ORDER BY 3,2,1 +---- +15 values hashing to 8b91e8ae95a1c510da23999745a6f6f0 + +query III rowsort x144 +SELECT a+b*2+c*3, + e, + a-b + FROM t1 + WHERE b>c + AND c BETWEEN b-2 AND d+2 +---- +15 values hashing to 8b91e8ae95a1c510da23999745a6f6f0 + +query III rowsort x144 +SELECT a+b*2+c*3, + e, + a-b + FROM t1 + WHERE b>c + AND c BETWEEN b-2 AND d+2 + ORDER BY 1,3 +---- +15 values hashing to 8b91e8ae95a1c510da23999745a6f6f0 + +query IIIII rowsort x145 +SELECT a+b*2+c*3+d*4, + CASE WHEN at1.c AND x.dt1.c AND x.db +---- +17 values hashing to cdbf29686df3708c211f3102ab678908 + +query I rowsort x147 +SELECT c + FROM t1 + WHERE a>b + ORDER BY 1 +---- +17 values hashing to cdbf29686df3708c211f3102ab678908 + +query IIIII rowsort x148 +SELECT a-b, + CASE WHEN aa AND ea AND ea AND ea AND ec OR ec OR ec OR ec OR e(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + d-e, + b-c + FROM t1 +---- +180 values hashing to 1c5b84d965d2d9ba73b93a2dd0b2f2c9 + +query IIIIII rowsort x151 +SELECT CASE WHEN a(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + d-e, + b-c + FROM t1 + ORDER BY 2,1,6,4 +---- +180 values hashing to 1c5b84d965d2d9ba73b93a2dd0b2f2c9 + +query IIII rowsort x152 +SELECT abs(a), + a-b, + c, + abs(b-c) + FROM t1 + WHERE d>e +---- +44 values hashing to a43d58e83bb23ff1ad69780741f5418a + +query IIII rowsort x152 +SELECT abs(a), + a-b, + c, + abs(b-c) + FROM t1 + WHERE d>e + ORDER BY 2,3,4 +---- +44 values hashing to a43d58e83bb23ff1ad69780741f5418a + +query II rowsort x153 +SELECT c, + (SELECT count(*) FROM t1 AS x WHERE x.bc +---- +65 values hashing to 64385d2a13bc167ba111420e6febb518 + +query IIIII rowsort x155 +SELECT b, + (a+b+c+d+e)/5, + a+b*2+c*3+d*4+e*5, + a+b*2+c*3+d*4, + abs(b-c) + FROM t1 + WHERE b>c + ORDER BY 2,3 +---- +65 values hashing to 64385d2a13bc167ba111420e6febb518 + +query I rowsort x156 +SELECT (SELECT count(*) FROM t1 AS x WHERE x.bc +---- +13 values hashing to 0172871a347e8b585d40146ff17403ac + +query I rowsort x156 +SELECT (SELECT count(*) FROM t1 AS x WHERE x.bc + ORDER BY 1 +---- +13 values hashing to 0172871a347e8b585d40146ff17403ac + +query II rowsort x157 +SELECT a+b*2+c*3+d*4, + b + FROM t1 + WHERE e+d BETWEEN a+b-10 AND c+130 +---- +1067 +105 +1272 +129 + +query II rowsort x157 +SELECT a+b*2+c*3+d*4, + b + FROM t1 + WHERE e+d BETWEEN a+b-10 AND c+130 + ORDER BY 2,1 +---- +1067 +105 +1272 +129 + +query III rowsort x158 +SELECT e, + b-c, + (SELECT count(*) FROM t1 AS x WHERE x.b=d+2) +---- +95 values hashing to 093a5214968b2e0db5693baf3ed91467 + +query IIIII rowsort x159 +SELECT a+b*2+c*3+d*4, + d, + b, + a, + a+b*2+c*3+d*4+e*5 + FROM t1 + WHERE d NOT BETWEEN 110 AND 150 + OR (c<=d-2 OR c>=d+2) + ORDER BY 5,3,2,1,4 +---- +95 values hashing to 093a5214968b2e0db5693baf3ed91467 + +query IIIII rowsort x159 +SELECT a+b*2+c*3+d*4, + d, + b, + a, + a+b*2+c*3+d*4+e*5 + FROM t1 + WHERE (c<=d-2 OR c>=d+2) + OR d NOT BETWEEN 110 AND 150 +---- +95 values hashing to 093a5214968b2e0db5693baf3ed91467 + +query IIIII rowsort x159 +SELECT a+b*2+c*3+d*4, + d, + b, + a, + a+b*2+c*3+d*4+e*5 + FROM t1 + WHERE (c<=d-2 OR c>=d+2) + OR d NOT BETWEEN 110 AND 150 + ORDER BY 2,3,5,1 +---- +95 values hashing to 093a5214968b2e0db5693baf3ed91467 + +query I rowsort x160 +SELECT b-c + FROM t1 +---- +30 values hashing to c5a2b847c6c21100b32db39349809b0e + +query I rowsort x160 +SELECT b-c + FROM t1 + ORDER BY 1 +---- +30 values hashing to c5a2b847c6c21100b32db39349809b0e + +query IIIIII rowsort x161 +SELECT (a+b+c+d+e)/5, + b-c, + a+b*2+c*3+d*4+e*5, + a, + CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + a-b + FROM t1 +---- +180 values hashing to 7203b58cd5de45742814c45174042c36 + +query IIIIII rowsort x161 +SELECT (a+b+c+d+e)/5, + b-c, + a+b*2+c*3+d*4+e*5, + a, + CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + a-b + FROM t1 + ORDER BY 5,1 +---- +180 values hashing to 7203b58cd5de45742814c45174042c36 + +query IIIIII rowsort x162 +SELECT c, + CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + CASE a+1 WHEN b THEN 111 WHEN c THEN 222 + WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, + b-c, + d-e, + a+b*2+c*3 + FROM t1 +---- +180 values hashing to f6654e4c0575740d1cc8c217e7653f7b + +query IIIIII rowsort x162 +SELECT c, + CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + CASE a+1 WHEN b THEN 111 WHEN c THEN 222 + WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, + b-c, + d-e, + a+b*2+c*3 + FROM t1 + ORDER BY 3,6,2,1,4,5 +---- +180 values hashing to f6654e4c0575740d1cc8c217e7653f7b + +query III rowsort x163 +SELECT abs(a), + (SELECT count(*) FROM t1 AS x WHERE x.bd +---- +39 values hashing to a245f46b4eb4e5f324e4ff1557631696 + +query III rowsort x163 +SELECT abs(a), + (SELECT count(*) FROM t1 AS x WHERE x.bd + ORDER BY 2,1 +---- +39 values hashing to a245f46b4eb4e5f324e4ff1557631696 + +query IIIIIII rowsort x164 +SELECT c, + abs(b-c), + a+b*2+c*3+d*4, + CASE WHEN ac OR ec OR eb +---- +119 values hashing to d65bf72c8bcb9166838b483257204296 + +query IIIIIII rowsort x165 +SELECT a+b*2, + c-d, + d-e, + abs(a), + a-b, + c, + b + FROM t1 + WHERE a>b + ORDER BY 1,6,2,5,3 +---- +119 values hashing to d65bf72c8bcb9166838b483257204296 + +query IIIIIII rowsort x166 +SELECT abs(b-c), + c, + a+b*2, + (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.dc OR ea AND ed +---- +182 values hashing to 1067074122ea0e1f2c7d65cce15d84a3 + +query IIIIIII rowsort x166 +SELECT abs(b-c), + c, + a+b*2, + (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.dc OR ea AND ed + ORDER BY 2,7,6,5,4,1,3 +---- +182 values hashing to 1067074122ea0e1f2c7d65cce15d84a3 + +query IIIIIII rowsort x166 +SELECT abs(b-c), + c, + a+b*2, + (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.da AND ec OR ed +---- +182 values hashing to 1067074122ea0e1f2c7d65cce15d84a3 + +query IIIIIII rowsort x166 +SELECT abs(b-c), + c, + a+b*2, + (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.da AND ec OR ed + ORDER BY 6,3 +---- +182 values hashing to 1067074122ea0e1f2c7d65cce15d84a3 + +query IIIIII rowsort x167 +SELECT d-e, + e, + a+b*2, + a+b*2+c*3+d*4, + abs(a), + abs(b-c) + FROM t1 + WHERE c>d + OR d NOT BETWEEN 110 AND 150 + OR a>b +---- +168 values hashing to b33485d8023787693e3e116f2f1847a4 + +query IIIIII rowsort x167 +SELECT d-e, + e, + a+b*2, + a+b*2+c*3+d*4, + abs(a), + abs(b-c) + FROM t1 + WHERE c>d + OR d NOT BETWEEN 110 AND 150 + OR a>b + ORDER BY 1,3,6,4,2 +---- +168 values hashing to b33485d8023787693e3e116f2f1847a4 + +query IIIIII rowsort x167 +SELECT d-e, + e, + a+b*2, + a+b*2+c*3+d*4, + abs(a), + abs(b-c) + FROM t1 + WHERE c>d + OR a>b + OR d NOT BETWEEN 110 AND 150 +---- +168 values hashing to b33485d8023787693e3e116f2f1847a4 + +query IIIIII rowsort x167 +SELECT d-e, + e, + a+b*2, + a+b*2+c*3+d*4, + abs(a), + abs(b-c) + FROM t1 + WHERE c>d + OR a>b + OR d NOT BETWEEN 110 AND 150 + ORDER BY 1,5,2 +---- +168 values hashing to b33485d8023787693e3e116f2f1847a4 + +query IIIIII rowsort x167 +SELECT d-e, + e, + a+b*2, + a+b*2+c*3+d*4, + abs(a), + abs(b-c) + FROM t1 + WHERE a>b + OR c>d + OR d NOT BETWEEN 110 AND 150 +---- +168 values hashing to b33485d8023787693e3e116f2f1847a4 + +query IIIIII rowsort x167 +SELECT d-e, + e, + a+b*2, + a+b*2+c*3+d*4, + abs(a), + abs(b-c) + FROM t1 + WHERE a>b + OR c>d + OR d NOT BETWEEN 110 AND 150 + ORDER BY 6,1 +---- +168 values hashing to b33485d8023787693e3e116f2f1847a4 + +query I rowsort x168 +SELECT d-e + FROM t1 + WHERE d>e + OR c BETWEEN b-2 AND d+2 +---- +17 values hashing to 045f09dca5d37db611533eab1971b231 + +query I rowsort x168 +SELECT d-e + FROM t1 + WHERE d>e + OR c BETWEEN b-2 AND d+2 + ORDER BY 1 +---- +17 values hashing to 045f09dca5d37db611533eab1971b231 + +query I rowsort x168 +SELECT d-e + FROM t1 + WHERE c BETWEEN b-2 AND d+2 + OR d>e +---- +17 values hashing to 045f09dca5d37db611533eab1971b231 + +query I rowsort x168 +SELECT d-e + FROM t1 + WHERE c BETWEEN b-2 AND d+2 + OR d>e + ORDER BY 1 +---- +17 values hashing to 045f09dca5d37db611533eab1971b231 + +query III rowsort x169 +SELECT (a+b+c+d+e)/5, + c, + a+b*2+c*3+d*4 + FROM t1 + WHERE (e>a AND ea AND ea AND ee + AND b>c +---- +-4 + +query I rowsort x170 +SELECT a-b + FROM t1 + WHERE (e>a AND ee + AND b>c + ORDER BY 1 +---- +-4 + +query I rowsort x170 +SELECT a-b + FROM t1 + WHERE (e>a AND ec + AND d>e +---- +-4 + +query I rowsort x170 +SELECT a-b + FROM t1 + WHERE (e>a AND ec + AND d>e + ORDER BY 1 +---- +-4 + +query I rowsort x170 +SELECT a-b + FROM t1 + WHERE d>e + AND b>c + AND (e>a AND ee + AND b>c + AND (e>a AND ec + AND d>e + AND (e>a AND ec + AND d>e + AND (e>a AND ec OR eb-2 AND ae +---- +15 values hashing to a4e27795a1a90b88b4bee4165129ad4b + +query IIIII rowsort x173 +SELECT abs(b-c), + a+b*2+c*3+d*4+e*5, + CASE a+1 WHEN b THEN 111 WHEN c THEN 222 + WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, + d, + d-e + FROM t1 + WHERE (e>c OR eb-2 AND ae + ORDER BY 2,4,5 +---- +15 values hashing to a4e27795a1a90b88b4bee4165129ad4b + +query IIIII rowsort x173 +SELECT abs(b-c), + a+b*2+c*3+d*4+e*5, + CASE a+1 WHEN b THEN 111 WHEN c THEN 222 + WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, + d, + d-e + FROM t1 + WHERE d>e + AND (e>c OR eb-2 AND ae + AND (e>c OR eb-2 AND ab-2 AND ac OR ee +---- +15 values hashing to a4e27795a1a90b88b4bee4165129ad4b + +query IIIII rowsort x173 +SELECT abs(b-c), + a+b*2+c*3+d*4+e*5, + CASE a+1 WHEN b THEN 111 WHEN c THEN 222 + WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, + d, + d-e + FROM t1 + WHERE (a>b-2 AND ac OR ee + ORDER BY 2,4,3,5,1 +---- +15 values hashing to a4e27795a1a90b88b4bee4165129ad4b + +query III rowsort x174 +SELECT a+b*2+c*3, + a+b*2+c*3+d*4+e*5, + c-d + FROM t1 + WHERE (a>b-2 AND ab-2 AND at1.c AND x.dt1.c AND x.dt1.c AND x.db + AND (a>b-2 AND at1.c AND x.db + AND (a>b-2 AND at1.c AND x.db + AND (a>b-2 AND at1.c AND x.db + AND (a>b-2 AND at1.c AND x.db-2 AND ab +---- +-3 +180 +0 +-4 +132 +0 + +query III rowsort x176 +SELECT b-c, + e, + (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.db-2 AND ab + ORDER BY 2,3 +---- +-3 +180 +0 +-4 +132 +0 + +query III rowsort x176 +SELECT b-c, + e, + (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.db-2 AND ab + AND c BETWEEN b-2 AND d+2 +---- +-3 +180 +0 +-4 +132 +0 + +query III rowsort x176 +SELECT b-c, + e, + (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.db-2 AND ab + AND c BETWEEN b-2 AND d+2 + ORDER BY 2,1,3 +---- +-3 +180 +0 +-4 +132 +0 + +query IIIII rowsort x177 +SELECT c-d, + abs(b-c), + a+b*2+c*3+d*4, + a+b*2+c*3, + d-e + FROM t1 + WHERE c BETWEEN b-2 AND d+2 +---- +75 values hashing to 1ad85c88d1fdbc2acc6b8554c4efc1b9 + +query IIIII rowsort x177 +SELECT c-d, + abs(b-c), + a+b*2+c*3+d*4, + a+b*2+c*3, + d-e + FROM t1 + WHERE c BETWEEN b-2 AND d+2 + ORDER BY 3,1,4,2,5 +---- +75 values hashing to 1ad85c88d1fdbc2acc6b8554c4efc1b9 + +query II rowsort x178 +SELECT CASE a+1 WHEN b THEN 111 WHEN c THEN 222 + WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, + a+b*2+c*3 + FROM t1 + WHERE d NOT BETWEEN 110 AND 150 + OR EXISTS(SELECT 1 FROM t1 AS x WHERE x.bc OR ec OR e(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + (SELECT count(*) FROM t1 AS x WHERE x.bt1.c AND x.dd + AND b>c + AND (e>c OR e(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + (SELECT count(*) FROM t1 AS x WHERE x.bt1.c AND x.dd + AND b>c + AND (e>c OR e(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + (SELECT count(*) FROM t1 AS x WHERE x.bt1.c AND x.dd + AND (e>c OR ec +---- +1390 +5 +0 +136 +1430 +6 +0 +140 + +query IIII rowsort x180 +SELECT CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + (SELECT count(*) FROM t1 AS x WHERE x.bt1.c AND x.dd + AND (e>c OR ec + ORDER BY 1,2 +---- +1390 +5 +0 +136 +1430 +6 +0 +140 + +query IIII rowsort x180 +SELECT CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + (SELECT count(*) FROM t1 AS x WHERE x.bt1.c AND x.dc OR ed + AND b>c +---- +1390 +5 +0 +136 +1430 +6 +0 +140 + +query IIII rowsort x180 +SELECT CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + (SELECT count(*) FROM t1 AS x WHERE x.bt1.c AND x.dc OR ed + AND b>c + ORDER BY 1,3,2,4 +---- +1390 +5 +0 +136 +1430 +6 +0 +140 + +query IIII rowsort x180 +SELECT CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + (SELECT count(*) FROM t1 AS x WHERE x.bt1.c AND x.dc OR ec + AND c>d +---- +1390 +5 +0 +136 +1430 +6 +0 +140 + +query IIII rowsort x180 +SELECT CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + (SELECT count(*) FROM t1 AS x WHERE x.bt1.c AND x.dc OR ec + AND c>d + ORDER BY 2,3,1,4 +---- +1390 +5 +0 +136 +1430 +6 +0 +140 + +query III rowsort x181 +SELECT a+b*2+c*3+d*4+e*5, + b, + e + FROM t1 + WHERE d>e + OR e+d BETWEEN a+b-10 AND c+130 +---- +36 values hashing to 04fbc8747ced76bd5e39372d36c6cd56 + +query III rowsort x181 +SELECT a+b*2+c*3+d*4+e*5, + b, + e + FROM t1 + WHERE d>e + OR e+d BETWEEN a+b-10 AND c+130 + ORDER BY 1,2 +---- +36 values hashing to 04fbc8747ced76bd5e39372d36c6cd56 + +query III rowsort x181 +SELECT a+b*2+c*3+d*4+e*5, + b, + e + FROM t1 + WHERE e+d BETWEEN a+b-10 AND c+130 + OR d>e +---- +36 values hashing to 04fbc8747ced76bd5e39372d36c6cd56 + +query III rowsort x181 +SELECT a+b*2+c*3+d*4+e*5, + b, + e + FROM t1 + WHERE e+d BETWEEN a+b-10 AND c+130 + OR d>e + ORDER BY 1,2,3 +---- +36 values hashing to 04fbc8747ced76bd5e39372d36c6cd56 + +query IIIII rowsort x182 +SELECT abs(a), + c, + c-d, + a-b, + abs(b-c) + FROM t1 +---- +150 values hashing to c7973f84ec584b5205e6e5bde1b29849 + +query IIIII rowsort x182 +SELECT abs(a), + c, + c-d, + a-b, + abs(b-c) + FROM t1 + ORDER BY 3,2,4 +---- +150 values hashing to c7973f84ec584b5205e6e5bde1b29849 + +query IIII rowsort x183 +SELECT a+b*2+c*3, + e, + a+b*2, + b-c + FROM t1 +---- +120 values hashing to f21f802495ad9e86d9467f0a8a89233a + +query IIII rowsort x183 +SELECT a+b*2+c*3, + e, + a+b*2, + b-c + FROM t1 + ORDER BY 2,4,3 +---- +120 values hashing to f21f802495ad9e86d9467f0a8a89233a + +query IIII rowsort x184 +SELECT CASE a+1 WHEN b THEN 111 WHEN c THEN 222 + WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, + CASE WHEN at1.c AND x.da AND ed +---- +56 values hashing to eb34893f0f45a3fe06872613f6814573 + +query IIII rowsort x184 +SELECT CASE a+1 WHEN b THEN 111 WHEN c THEN 222 + WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, + CASE WHEN at1.c AND x.da AND ed + ORDER BY 3,1,2,4 +---- +56 values hashing to eb34893f0f45a3fe06872613f6814573 + +query IIII rowsort x184 +SELECT CASE a+1 WHEN b THEN 111 WHEN c THEN 222 + WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, + CASE WHEN at1.c AND x.dd + OR (e>a AND et1.c AND x.dd + OR (e>a AND et1.c AND x.dt1.c AND x.d(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + a+b*2, + e, + abs(b-c), + c, + a-b + FROM t1 + WHERE c BETWEEN b-2 AND d+2 + AND c>d +---- +70 values hashing to 1c2143bbb23c135b0863948fe892809c + +query IIIIIII rowsort x187 +SELECT (a+b+c+d+e)/5, + CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + a+b*2, + e, + abs(b-c), + c, + a-b + FROM t1 + WHERE c BETWEEN b-2 AND d+2 + AND c>d + ORDER BY 7,5 +---- +70 values hashing to 1c2143bbb23c135b0863948fe892809c + +query IIIIIII rowsort x187 +SELECT (a+b+c+d+e)/5, + CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + a+b*2, + e, + abs(b-c), + c, + a-b + FROM t1 + WHERE c>d + AND c BETWEEN b-2 AND d+2 +---- +70 values hashing to 1c2143bbb23c135b0863948fe892809c + +query IIIIIII rowsort x187 +SELECT (a+b+c+d+e)/5, + CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + a+b*2, + e, + abs(b-c), + c, + a-b + FROM t1 + WHERE c>d + AND c BETWEEN b-2 AND d+2 + ORDER BY 4,6,2,7 +---- +70 values hashing to 1c2143bbb23c135b0863948fe892809c + +query IIIIIII rowsort x188 +SELECT b, + b-c, + e, + c, + CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + a+b*2+c*3, + a+b*2+c*3+d*4+e*5 + FROM t1 + WHERE c>d +---- +91 values hashing to f3fb9861505a2282b1406a8e7b28909c + +query IIIIIII rowsort x188 +SELECT b, + b-c, + e, + c, + CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + a+b*2+c*3, + a+b*2+c*3+d*4+e*5 + FROM t1 + WHERE c>d + ORDER BY 6,1,5 +---- +91 values hashing to f3fb9861505a2282b1406a8e7b28909c + +query IIIIIII rowsort x189 +SELECT (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.dd + AND (a>b-2 AND at1.c AND x.dd + AND (a>b-2 AND at1.c AND x.dc OR et1.c AND x.dc OR et1.c AND x.dc OR et1.c AND x.dc OR eb-2 AND ab-2 AND ab-2 AND ab-2 AND ab-2 AND ab-2 AND aa AND ea AND ea AND ea AND e(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + d, + (SELECT count(*) FROM t1 AS x WHERE x.b(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + d, + (SELECT count(*) FROM t1 AS x WHERE x.bb-2 AND ac + OR a>b +---- +144 values hashing to b0cf50305beafb1e2ef15470d870665d + +query IIIIII rowsort x196 +SELECT CASE WHEN ab-2 AND ac + OR a>b + ORDER BY 4,2,1,3,5 +---- +144 values hashing to b0cf50305beafb1e2ef15470d870665d + +query IIIIII rowsort x196 +SELECT CASE WHEN ab + OR (a>b-2 AND ac +---- +144 values hashing to b0cf50305beafb1e2ef15470d870665d + +query IIIIII rowsort x196 +SELECT CASE WHEN ab + OR (a>b-2 AND ac + ORDER BY 4,1,5,6,2,3 +---- +144 values hashing to b0cf50305beafb1e2ef15470d870665d + +query IIIIII rowsort x196 +SELECT CASE WHEN ac + OR a>b + OR (a>b-2 AND ac + OR a>b + OR (a>b-2 AND a(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + b, + abs(a) + FROM t1 + WHERE (e>a AND e(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + b, + abs(a) + FROM t1 + WHERE (e>a AND et1.c AND x.dc OR et1.c AND x.dc OR et1.c AND x.dc OR et1.c AND x.dc OR et1.c AND x.dc OR et1.c AND x.dc OR et1.c AND x.dc OR et1.c AND x.dc OR ee + AND (e>a AND ee + AND (e>a AND ea AND ee +---- +1338 +444 +220 +1484 +444 +245 + +query III rowsort x199 +SELECT a+b*2+c*3, + CASE a+1 WHEN b THEN 111 WHEN c THEN 222 + WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, + a + FROM t1 + WHERE (e>a AND ee + ORDER BY 3,1 +---- +1338 +444 +220 +1484 +444 +245 + +query IIIII rowsort x200 +SELECT (SELECT count(*) FROM t1 AS x WHERE x.bt1.c AND x.dc OR et1.c AND x.dc OR et1.c AND x.dc OR et1.c AND x.dc OR ed +---- +26 values hashing to d9568f9745f48f39ac8f2365d73421e8 + +query II rowsort x201 +SELECT c, + CASE WHEN ad + ORDER BY 1,2 +---- +26 values hashing to d9568f9745f48f39ac8f2365d73421e8 + +query III rowsort x202 +SELECT a, + a+b*2+c*3, + (SELECT count(*) FROM t1 AS x WHERE x.bb +---- +51 values hashing to e11ff5467dcf535c8d18a66d2118b20f + +query III rowsort x202 +SELECT a, + a+b*2+c*3, + (SELECT count(*) FROM t1 AS x WHERE x.bb + ORDER BY 1,2,3 +---- +51 values hashing to e11ff5467dcf535c8d18a66d2118b20f + +query IIIIIII rowsort x203 +SELECT a+b*2+c*3+d*4+e*5, + a, + abs(b-c), + c, + b, + CASE a+1 WHEN b THEN 111 WHEN c THEN 222 + WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, + (a+b+c+d+e)/5 + FROM t1 +---- +210 values hashing to 68f3c01251d7d0155ebc39d74552c468 + +query IIIIIII rowsort x203 +SELECT a+b*2+c*3+d*4+e*5, + a, + abs(b-c), + c, + b, + CASE a+1 WHEN b THEN 111 WHEN c THEN 222 + WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, + (a+b+c+d+e)/5 + FROM t1 + ORDER BY 3,6,4,7,1 +---- +210 values hashing to 68f3c01251d7d0155ebc39d74552c468 + +query IIIII rowsort x204 +SELECT c-d, + CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + a-b, + c, + (a+b+c+d+e)/5 + FROM t1 + WHERE EXISTS(SELECT 1 FROM t1 AS x WHERE x.b(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + a-b, + c, + (a+b+c+d+e)/5 + FROM t1 + WHERE EXISTS(SELECT 1 FROM t1 AS x WHERE x.b(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + c-d + FROM t1 +---- +90 values hashing to 8b14a16082dc488eda882a71c9d2446a + +query III rowsort x206 +SELECT CASE WHEN a(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + c-d + FROM t1 + ORDER BY 3,1 +---- +90 values hashing to 8b14a16082dc488eda882a71c9d2446a + +query IIIIIII rowsort x207 +SELECT d, + a+b*2+c*3+d*4+e*5, + CASE WHEN ad + OR c BETWEEN b-2 AND d+2 +---- +126 values hashing to 64d37da8e34e3aa76ea008b07eea3b9e + +query IIIIIII rowsort x207 +SELECT d, + a+b*2+c*3+d*4+e*5, + CASE WHEN ad + OR c BETWEEN b-2 AND d+2 + ORDER BY 5,7 +---- +126 values hashing to 64d37da8e34e3aa76ea008b07eea3b9e + +query III rowsort x208 +SELECT (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.dt1.c AND x.da AND ea AND et1.c AND x.dt1.c AND x.dt1.c AND x.dt1.c AND x.dt1.c AND x.dd + OR (e>c OR et1.c AND x.dd + OR (e>c OR et1.c AND x.dc OR ed +---- +156 values hashing to 206d0bc80a26b970f06e318d7e9bd644 + +query IIIIII rowsort x214 +SELECT c, + a, + (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.dc OR ed + ORDER BY 5,3,6,1 +---- +156 values hashing to 206d0bc80a26b970f06e318d7e9bd644 + +query I rowsort x215 +SELECT d-e + FROM t1 + WHERE b>c + OR (c<=d-2 OR c>=d+2) +---- +19 values hashing to 7b54a5de170e892819f38d8939bfcdec + +query I rowsort x215 +SELECT d-e + FROM t1 + WHERE b>c + OR (c<=d-2 OR c>=d+2) + ORDER BY 1 +---- +19 values hashing to 7b54a5de170e892819f38d8939bfcdec + +query I rowsort x215 +SELECT d-e + FROM t1 + WHERE (c<=d-2 OR c>=d+2) + OR b>c +---- +19 values hashing to 7b54a5de170e892819f38d8939bfcdec + +query I rowsort x215 +SELECT d-e + FROM t1 + WHERE (c<=d-2 OR c>=d+2) + OR b>c + ORDER BY 1 +---- +19 values hashing to 7b54a5de170e892819f38d8939bfcdec + +query IIIIII rowsort x216 +SELECT c-d, + abs(a), + b-c, + b, + a+b*2+c*3+d*4, + c + FROM t1 + WHERE EXISTS(SELECT 1 FROM t1 AS x WHERE x.be + AND (c<=d-2 OR c>=d+2) +---- +30 values hashing to ed58ee197e5adb321f7c6370392528e1 + +query IIIIII rowsort x216 +SELECT c-d, + abs(a), + b-c, + b, + a+b*2+c*3+d*4, + c + FROM t1 + WHERE EXISTS(SELECT 1 FROM t1 AS x WHERE x.be + AND (c<=d-2 OR c>=d+2) + ORDER BY 4,3,6,5,2,1 +---- +30 values hashing to ed58ee197e5adb321f7c6370392528e1 + +query IIIIII rowsort x216 +SELECT c-d, + abs(a), + b-c, + b, + a+b*2+c*3+d*4, + c + FROM t1 + WHERE (c<=d-2 OR c>=d+2) + AND EXISTS(SELECT 1 FROM t1 AS x WHERE x.be +---- +30 values hashing to ed58ee197e5adb321f7c6370392528e1 + +query IIIIII rowsort x216 +SELECT c-d, + abs(a), + b-c, + b, + a+b*2+c*3+d*4, + c + FROM t1 + WHERE (c<=d-2 OR c>=d+2) + AND EXISTS(SELECT 1 FROM t1 AS x WHERE x.be + ORDER BY 3,4,5 +---- +30 values hashing to ed58ee197e5adb321f7c6370392528e1 + +query IIIIII rowsort x216 +SELECT c-d, + abs(a), + b-c, + b, + a+b*2+c*3+d*4, + c + FROM t1 + WHERE d>e + AND (c<=d-2 OR c>=d+2) + AND EXISTS(SELECT 1 FROM t1 AS x WHERE x.be + AND (c<=d-2 OR c>=d+2) + AND EXISTS(SELECT 1 FROM t1 AS x WHERE x.bt1.c AND x.d=d+2) +---- +50 values hashing to bb84b24e592ceb4ae7edb4cfd9c05746 + +query IIIII rowsort x217 +SELECT abs(b-c), + d, + c-d, + (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.d=d+2) + ORDER BY 2,5,1,4,3 +---- +50 values hashing to bb84b24e592ceb4ae7edb4cfd9c05746 + +query IIIIIII rowsort x218 +SELECT c-d, + a+b*2+c*3+d*4+e*5, + c, + abs(b-c), + e, + d, + d-e + FROM t1 + WHERE EXISTS(SELECT 1 FROM t1 AS x WHERE x.bd +---- +196 values hashing to e48e30f893e08742181bb5a88cbe9a37 + +query IIIIIII rowsort x218 +SELECT c-d, + a+b*2+c*3+d*4+e*5, + c, + abs(b-c), + e, + d, + d-e + FROM t1 + WHERE EXISTS(SELECT 1 FROM t1 AS x WHERE x.bd + ORDER BY 3,4,5,2 +---- +196 values hashing to e48e30f893e08742181bb5a88cbe9a37 + +query IIIIII rowsort x219 +SELECT (a+b+c+d+e)/5, + d-e, + a-b, + abs(a), + b, + b-c + FROM t1 + WHERE c BETWEEN b-2 AND d+2 +---- +90 values hashing to afa30011e6f2bf13350422b6fbcd727d + +query IIIIII rowsort x219 +SELECT (a+b+c+d+e)/5, + d-e, + a-b, + abs(a), + b, + b-c + FROM t1 + WHERE c BETWEEN b-2 AND d+2 + ORDER BY 4,6,1,5,2 +---- +90 values hashing to afa30011e6f2bf13350422b6fbcd727d + +query I rowsort x220 +SELECT (a+b+c+d+e)/5 + FROM t1 +---- +30 values hashing to 74b4b1d1e049d57b3610b70a67a1c32f + +query I rowsort x220 +SELECT (a+b+c+d+e)/5 + FROM t1 + ORDER BY 1 +---- +30 values hashing to 74b4b1d1e049d57b3610b70a67a1c32f + +query IIIIII rowsort x221 +SELECT d, + c-d, + c, + (SELECT count(*) FROM t1 AS x WHERE x.b(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + a-b + FROM t1 +---- +180 values hashing to 3c2b8c60f9c069d2fec20be5436bcaef + +query IIIIII rowsort x221 +SELECT d, + c-d, + c, + (SELECT count(*) FROM t1 AS x WHERE x.b(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + a-b + FROM t1 + ORDER BY 2,5,3,1,4 +---- +180 values hashing to 3c2b8c60f9c069d2fec20be5436bcaef + +query II rowsort x222 +SELECT abs(a), + abs(b-c) + FROM t1 + WHERE (a>b-2 AND ac +---- +30 values hashing to 22e9f0aee0362e751bbd3b8ee9e4132b + +query II rowsort x222 +SELECT abs(a), + abs(b-c) + FROM t1 + WHERE (a>b-2 AND ac + ORDER BY 2,1 +---- +30 values hashing to 22e9f0aee0362e751bbd3b8ee9e4132b + +query II rowsort x222 +SELECT abs(a), + abs(b-c) + FROM t1 + WHERE b>c + OR (a>b-2 AND ac + OR (a>b-2 AND at1.c AND x.d=d+2) +---- +50 values hashing to 6f2760ad04a095b47a38304a0ce7cdad + +query IIIII rowsort x223 +SELECT e, + c, + abs(b-c), + (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.d=d+2) + ORDER BY 3,1 +---- +50 values hashing to 6f2760ad04a095b47a38304a0ce7cdad + +query III rowsort x224 +SELECT c, + a+b*2, + CASE WHEN a=d+2) +---- +30 values hashing to 9dd3f8305d9a0c3356085f5f4b3dce73 + +query III rowsort x224 +SELECT c, + a+b*2, + CASE WHEN a=d+2) + ORDER BY 3,2 +---- +30 values hashing to 9dd3f8305d9a0c3356085f5f4b3dce73 + +query IIII rowsort x225 +SELECT c-d, + d-e, + (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.dd +---- +52 values hashing to bb512ea3d271ac62b90c40752e35f14b + +query IIII rowsort x225 +SELECT c-d, + d-e, + (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.dd + ORDER BY 3,1,2 +---- +52 values hashing to bb512ea3d271ac62b90c40752e35f14b + +query IIIIIII rowsort x226 +SELECT b, + CASE a+1 WHEN b THEN 111 WHEN c THEN 222 + WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, + b-c, + CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + a, + abs(a), + d-e + FROM t1 +---- +210 values hashing to b5cbf607833bf9a5fdc632fb91e9ff71 + +query IIIIIII rowsort x226 +SELECT b, + CASE a+1 WHEN b THEN 111 WHEN c THEN 222 + WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, + b-c, + CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + a, + abs(a), + d-e + FROM t1 + ORDER BY 5,4,2,7,3 +---- +210 values hashing to b5cbf607833bf9a5fdc632fb91e9ff71 + +query I rowsort x227 +SELECT a + FROM t1 + WHERE (c<=d-2 OR c>=d+2) +---- +10 values hashing to 7e883b178d4e5791c14e6a7e2bac0d0d + +query I rowsort x227 +SELECT a + FROM t1 + WHERE (c<=d-2 OR c>=d+2) + ORDER BY 1 +---- +10 values hashing to 7e883b178d4e5791c14e6a7e2bac0d0d + +query II rowsort x228 +SELECT abs(b-c), + b + FROM t1 + WHERE c BETWEEN b-2 AND d+2 + OR (a>b-2 AND ab-2 AND ab-2 AND ab-2 AND ab-2 AND ab-2 AND ab-2 AND ab-2 AND at1.c AND x.da AND et1.c AND x.da AND et1.c AND x.da AND et1.c AND x.da AND et1.c AND x.da AND et1.c AND x.da AND ec OR ec OR ec +---- +39 values hashing to c87739d1c8a83e2c24c60f3aa8b27352 + +query III rowsort x231 +SELECT d, + CASE a+1 WHEN b THEN 111 WHEN c THEN 222 + WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, + d-e + FROM t1 + WHERE b>c + ORDER BY 3,2 +---- +39 values hashing to c87739d1c8a83e2c24c60f3aa8b27352 + +query IIIII rowsort x232 +SELECT e, + CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.d=d+2) + AND c>d +---- +25 values hashing to f97cdad01f826c602da43c95709d7b37 + +query IIIII rowsort x232 +SELECT e, + CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.d=d+2) + AND c>d + ORDER BY 4,1,3,2,5 +---- +25 values hashing to f97cdad01f826c602da43c95709d7b37 + +query IIIIIII rowsort x233 +SELECT a, + d-e, + c-d, + (SELECT count(*) FROM t1 AS x WHERE x.bb-2 AND ab-2 AND a(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + d, + (SELECT count(*) FROM t1 AS x WHERE x.b(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + d, + (SELECT count(*) FROM t1 AS x WHERE x.bd +---- + +query II rowsort x235 +SELECT b, + a+b*2 + FROM t1 + WHERE e+d BETWEEN a+b-10 AND c+130 + AND c>d + ORDER BY 1,2 +---- + +query II rowsort x235 +SELECT b, + a+b*2 + FROM t1 + WHERE c>d + AND e+d BETWEEN a+b-10 AND c+130 +---- + +query II rowsort x235 +SELECT b, + a+b*2 + FROM t1 + WHERE c>d + AND e+d BETWEEN a+b-10 AND c+130 + ORDER BY 2,1 +---- + +query IIII rowsort x236 +SELECT a+b*2+c*3, + a+b*2+c*3+d*4+e*5, + a+b*2+c*3+d*4, + CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END + FROM t1 + WHERE c BETWEEN b-2 AND d+2 +---- +60 values hashing to d644984b6f9054a9563f45bc047ccb8e + +query IIII rowsort x236 +SELECT a+b*2+c*3, + a+b*2+c*3+d*4+e*5, + a+b*2+c*3+d*4, + CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END + FROM t1 + WHERE c BETWEEN b-2 AND d+2 + ORDER BY 3,1,4,2 +---- +60 values hashing to d644984b6f9054a9563f45bc047ccb8e + +query IIIIII rowsort x237 +SELECT b-c, + a+b*2+c*3+d*4, + (a+b+c+d+e)/5, + CASE a+1 WHEN b THEN 111 WHEN c THEN 222 + WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, + (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.de + AND EXISTS(SELECT 1 FROM t1 AS x WHERE x.bt1.c AND x.de + AND EXISTS(SELECT 1 FROM t1 AS x WHERE x.bt1.c AND x.de + AND d NOT BETWEEN 110 AND 150 +---- +42 values hashing to 330177bd106f9db2a147541d0a83c95d + +query IIIIII rowsort x237 +SELECT b-c, + a+b*2+c*3+d*4, + (a+b+c+d+e)/5, + CASE a+1 WHEN b THEN 111 WHEN c THEN 222 + WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, + (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.de + AND d NOT BETWEEN 110 AND 150 + ORDER BY 6,4,1 +---- +42 values hashing to 330177bd106f9db2a147541d0a83c95d + +query II rowsort x238 +SELECT a, + b + FROM t1 + WHERE EXISTS(SELECT 1 FROM t1 AS x WHERE x.bb +---- +54 values hashing to a09cfc6ea15c7f2923bb3bf3c08114d5 + +query II rowsort x238 +SELECT a, + b + FROM t1 + WHERE EXISTS(SELECT 1 FROM t1 AS x WHERE x.bb + ORDER BY 2,1 +---- +54 values hashing to a09cfc6ea15c7f2923bb3bf3c08114d5 + +query II rowsort x238 +SELECT a, + b + FROM t1 + WHERE a>b + OR EXISTS(SELECT 1 FROM t1 AS x WHERE x.bb + OR EXISTS(SELECT 1 FROM t1 AS x WHERE x.ba AND ea AND ea AND ea AND e(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + a+b*2+c*3 + FROM t1 + WHERE (c<=d-2 OR c>=d+2) + AND EXISTS(SELECT 1 FROM t1 AS x WHERE x.b(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + a+b*2+c*3 + FROM t1 + WHERE (c<=d-2 OR c>=d+2) + AND EXISTS(SELECT 1 FROM t1 AS x WHERE x.b(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + a+b*2+c*3 + FROM t1 + WHERE EXISTS(SELECT 1 FROM t1 AS x WHERE x.b=d+2) +---- +16 values hashing to cd57c9637cf1dd8a14c62b351d7876c7 + +query II rowsort x240 +SELECT CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + a+b*2+c*3 + FROM t1 + WHERE EXISTS(SELECT 1 FROM t1 AS x WHERE x.b=d+2) + ORDER BY 2,1 +---- +16 values hashing to cd57c9637cf1dd8a14c62b351d7876c7 + +query III rowsort x241 +SELECT b, + (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.db + AND d>e + AND c BETWEEN b-2 AND d+2 +---- +15 values hashing to 549ef6c7a2e8518af80a4c5c167ccb57 + +query III rowsort x241 +SELECT b, + (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.db + AND d>e + AND c BETWEEN b-2 AND d+2 + ORDER BY 2,1,3 +---- +15 values hashing to 549ef6c7a2e8518af80a4c5c167ccb57 + +query III rowsort x241 +SELECT b, + (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.de + AND c BETWEEN b-2 AND d+2 + AND a>b +---- +15 values hashing to 549ef6c7a2e8518af80a4c5c167ccb57 + +query III rowsort x241 +SELECT b, + (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.de + AND c BETWEEN b-2 AND d+2 + AND a>b + ORDER BY 2,3,1 +---- +15 values hashing to 549ef6c7a2e8518af80a4c5c167ccb57 + +query III rowsort x241 +SELECT b, + (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.de + AND a>b + AND c BETWEEN b-2 AND d+2 +---- +15 values hashing to 549ef6c7a2e8518af80a4c5c167ccb57 + +query III rowsort x241 +SELECT b, + (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.de + AND a>b + AND c BETWEEN b-2 AND d+2 + ORDER BY 3,2 +---- +15 values hashing to 549ef6c7a2e8518af80a4c5c167ccb57 + +query I rowsort x242 +SELECT CASE WHEN aa AND e=d+2) + AND c BETWEEN b-2 AND d+2 +---- +222 + +query I rowsort x242 +SELECT CASE WHEN aa AND e=d+2) + AND c BETWEEN b-2 AND d+2 + ORDER BY 1 +---- +222 + +query I rowsort x242 +SELECT CASE WHEN aa AND e=d+2) +---- +222 + +query I rowsort x242 +SELECT CASE WHEN aa AND e=d+2) + ORDER BY 1 +---- +222 + +query IIII rowsort x243 +SELECT CASE WHEN ab-2 AND ab-2 AND at1.c AND x.da AND et1.c AND x.da AND ee +---- +77 values hashing to 0d8574644a00abf2c52da416b02ea014 + +query IIIIIII rowsort x245 +SELECT abs(a), + c, + a+b*2+c*3, + d, + a+b*2+c*3+d*4+e*5, + a+b*2+c*3+d*4, + CASE a+1 WHEN b THEN 111 WHEN c THEN 222 + WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END + FROM t1 + WHERE d>e + ORDER BY 6,2,7,3,5,1 +---- +77 values hashing to 0d8574644a00abf2c52da416b02ea014 + +query I rowsort x246 +SELECT c-d + FROM t1 +---- +30 values hashing to 5597b8fa34613aadc270053ea54637e5 + +query I rowsort x246 +SELECT c-d + FROM t1 + ORDER BY 1 +---- +30 values hashing to 5597b8fa34613aadc270053ea54637e5 + +query IIII rowsort x247 +SELECT (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.dt1.c AND x.d(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + b-c + FROM t1 + WHERE (c<=d-2 OR c>=d+2) + AND c>d +---- +10 values hashing to 993ada4aa33fed5a3c3cc14c7f0355a2 + +query II rowsort x248 +SELECT CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + b-c + FROM t1 + WHERE (c<=d-2 OR c>=d+2) + AND c>d + ORDER BY 1,2 +---- +10 values hashing to 993ada4aa33fed5a3c3cc14c7f0355a2 + +query II rowsort x248 +SELECT CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + b-c + FROM t1 + WHERE c>d + AND (c<=d-2 OR c>=d+2) +---- +10 values hashing to 993ada4aa33fed5a3c3cc14c7f0355a2 + +query II rowsort x248 +SELECT CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + b-c + FROM t1 + WHERE c>d + AND (c<=d-2 OR c>=d+2) + ORDER BY 2,1 +---- +10 values hashing to 993ada4aa33fed5a3c3cc14c7f0355a2 + +query III rowsort x249 +SELECT CASE WHEN ac OR ec + AND d NOT BETWEEN 110 AND 150 +---- +15 values hashing to efd797723366531db1bebf903a6d7592 + +query III rowsort x249 +SELECT CASE WHEN ac OR ec + AND d NOT BETWEEN 110 AND 150 + ORDER BY 1,2 +---- +15 values hashing to efd797723366531db1bebf903a6d7592 + +query III rowsort x249 +SELECT CASE WHEN ac OR ec +---- +15 values hashing to efd797723366531db1bebf903a6d7592 + +query III rowsort x249 +SELECT CASE WHEN ac OR ec + ORDER BY 2,1,3 +---- +15 values hashing to efd797723366531db1bebf903a6d7592 + +query III rowsort x249 +SELECT CASE WHEN ac + AND (e>c OR ec + AND (e>c OR ea AND eb-2 AND aa AND eb-2 AND ab-2 AND aa AND eb-2 AND aa AND eb-2 AND aa AND eb-2 AND aa AND ec +---- +78 values hashing to 029db106a359201924a20c5e7ff377e2 + +query IIIIII rowsort x251 +SELECT a+b*2+c*3, + a+b*2+c*3+d*4+e*5, + a, + CASE a+1 WHEN b THEN 111 WHEN c THEN 222 + WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, + d, + c-d + FROM t1 + WHERE b>c + ORDER BY 1,3,5,6,4 +---- +78 values hashing to 029db106a359201924a20c5e7ff377e2 + +query IIIIII rowsort x252 +SELECT CASE WHEN aa AND eb + AND d>e +---- + +query IIIIII rowsort x252 +SELECT CASE WHEN aa AND eb + AND d>e + ORDER BY 6,3 +---- + +query IIIIII rowsort x252 +SELECT CASE WHEN ab + AND d>e + AND (e>a AND eb + AND d>e + AND (e>a AND ea AND ec +---- +16 +2878 +193 +579 +26 +3706 +247 +743 + +query IIII rowsort x253 +SELECT (SELECT count(*) FROM t1 AS x WHERE x.ba AND ec + ORDER BY 2,4 +---- +16 +2878 +193 +579 +26 +3706 +247 +743 + +query IIIII rowsort x254 +SELECT abs(a), + a+b*2+c*3, + a+b*2, + e, + b + FROM t1 + WHERE (c<=d-2 OR c>=d+2) + AND d NOT BETWEEN 110 AND 150 +---- +40 values hashing to e5463f71a41e13dccc88ded91f689791 + +query IIIII rowsort x254 +SELECT abs(a), + a+b*2+c*3, + a+b*2, + e, + b + FROM t1 + WHERE (c<=d-2 OR c>=d+2) + AND d NOT BETWEEN 110 AND 150 + ORDER BY 5,4,1,2,3 +---- +40 values hashing to e5463f71a41e13dccc88ded91f689791 + +query IIIII rowsort x255 +SELECT a-b, + a+b*2+c*3, + (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.dt1.c AND x.dt1.c AND x.dc + OR c BETWEEN b-2 AND d+2 +---- +92 values hashing to 10918894cdc2e2486b0c6db84bc930f2 + +query IIII rowsort x257 +SELECT a+b*2, + d-e, + (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.dc + OR c BETWEEN b-2 AND d+2 + ORDER BY 1,2,3,4 +---- +92 values hashing to 10918894cdc2e2486b0c6db84bc930f2 + +query IIII rowsort x257 +SELECT a+b*2, + d-e, + (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.dc +---- +92 values hashing to 10918894cdc2e2486b0c6db84bc930f2 + +query IIII rowsort x257 +SELECT a+b*2, + d-e, + (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.dc + ORDER BY 3,2,4 +---- +92 values hashing to 10918894cdc2e2486b0c6db84bc930f2 + +query I rowsort x258 +SELECT b + FROM t1 + WHERE c BETWEEN b-2 AND d+2 + AND EXISTS(SELECT 1 FROM t1 AS x WHERE x.bc OR ed + OR d>e +---- +52 values hashing to 8016ab331d3de23b9d9d86ef15ff6188 + +query II rowsort x259 +SELECT abs(a), + CASE WHEN ac OR ed + OR d>e + ORDER BY 1,2 +---- +52 values hashing to 8016ab331d3de23b9d9d86ef15ff6188 + +query II rowsort x259 +SELECT abs(a), + CASE WHEN ae + OR c>d + OR (e>c OR ee + OR c>d + OR (e>c OR ee + OR (e>c OR ed +---- +52 values hashing to 8016ab331d3de23b9d9d86ef15ff6188 + +query II rowsort x259 +SELECT abs(a), + CASE WHEN ae + OR (e>c OR ed + ORDER BY 1,2 +---- +52 values hashing to 8016ab331d3de23b9d9d86ef15ff6188 + +query IIIII rowsort x260 +SELECT CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + CASE WHEN ad + AND EXISTS(SELECT 1 FROM t1 AS x WHERE x.b(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + CASE WHEN ad + AND EXISTS(SELECT 1 FROM t1 AS x WHERE x.b(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + CASE WHEN ad +---- +55 values hashing to 48231c3bc55f491fbef643fb9e0ff0dd + +query IIIII rowsort x260 +SELECT CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + CASE WHEN ad + ORDER BY 5,4,3,1,2 +---- +55 values hashing to 48231c3bc55f491fbef643fb9e0ff0dd + +query IIII rowsort x261 +SELECT a+b*2+c*3, + d, + b-c, + (SELECT count(*) FROM t1 AS x WHERE x.bb +---- +119 values hashing to d681beba9c51dcdbdb73c28c06816f1a + +query IIIIIII rowsort x262 +SELECT b, + a+b*2+c*3+d*4, + a+b*2+c*3+d*4+e*5, + CASE WHEN ab + ORDER BY 3,4,7,5,2,1,6 +---- +119 values hashing to d681beba9c51dcdbdb73c28c06816f1a + +query IIII rowsort x263 +SELECT (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.db +---- +68 values hashing to 4df88795d28642e3011ed7c43bbfacb3 + +query IIII rowsort x263 +SELECT (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.db + ORDER BY 1,2 +---- +68 values hashing to 4df88795d28642e3011ed7c43bbfacb3 + +query IIIII rowsort x264 +SELECT (SELECT count(*) FROM t1 AS x WHERE x.bb-2 AND ab-2 AND ab-2 AND ab-2 AND at1.c AND x.dt1.c AND x.db + AND EXISTS(SELECT 1 FROM t1 AS x WHERE x.bb + AND EXISTS(SELECT 1 FROM t1 AS x WHERE x.bb +---- + +query IIII rowsort x266 +SELECT e, + a+b*2+c*3, + abs(a), + CASE WHEN ab + ORDER BY 4,2 +---- + +query IIII rowsort x266 +SELECT e, + a+b*2+c*3, + abs(a), + CASE WHEN ab + AND EXISTS(SELECT 1 FROM t1 AS x WHERE x.bb + AND EXISTS(SELECT 1 FROM t1 AS x WHERE x.bb + AND e+d BETWEEN a+b-10 AND c+130 +---- + +query IIII rowsort x266 +SELECT e, + a+b*2+c*3, + abs(a), + CASE WHEN ab + AND e+d BETWEEN a+b-10 AND c+130 + ORDER BY 3,4,1 +---- + +query IIIII rowsort x267 +SELECT e, + a+b*2+c*3, + CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + a-b, + b-c + FROM t1 + WHERE (a>b-2 AND ac OR e(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + a-b, + b-c + FROM t1 + WHERE (a>b-2 AND ac OR e(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + a-b, + b-c + FROM t1 + WHERE (e>c OR eb-2 AND a(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + a-b, + b-c + FROM t1 + WHERE (e>c OR eb-2 AND a=d+2) +---- +50 values hashing to 811663651ce5d74b26e6f8a0ab084a54 + +query IIIII rowsort x268 +SELECT CASE WHEN a=d+2) + ORDER BY 4,1,5,3 +---- +50 values hashing to 811663651ce5d74b26e6f8a0ab084a54 + +query I rowsort x269 +SELECT d + FROM t1 + WHERE d NOT BETWEEN 110 AND 150 + AND (e>a AND ea AND ea AND ea AND et1.c AND x.de + AND c>d + AND (e>a AND et1.c AND x.de + AND c>d + AND (e>a AND et1.c AND x.da AND ee + AND c>d +---- +224 +222 +221 +1 +666 +-1 +0 + +query IIIIIII rowsort x270 +SELECT c, + (a+b+c+d+e)/5, + e, + d-e, + a+b*2, + b-c, + (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.da AND ee + AND c>d + ORDER BY 6,3,4 +---- +224 +222 +221 +1 +666 +-1 +0 + +query IIIIIII rowsort x270 +SELECT c, + (a+b+c+d+e)/5, + e, + d-e, + a+b*2, + b-c, + (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.da AND ed + AND d>e +---- +224 +222 +221 +1 +666 +-1 +0 + +query IIIIIII rowsort x270 +SELECT c, + (a+b+c+d+e)/5, + e, + d-e, + a+b*2, + b-c, + (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.da AND ed + AND d>e + ORDER BY 2,1 +---- +224 +222 +221 +1 +666 +-1 +0 + +query IIIIIII rowsort x270 +SELECT c, + (a+b+c+d+e)/5, + e, + d-e, + a+b*2, + b-c, + (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.de + AND (e>a AND ed +---- +224 +222 +221 +1 +666 +-1 +0 + +query IIIIIII rowsort x270 +SELECT c, + (a+b+c+d+e)/5, + e, + d-e, + a+b*2, + b-c, + (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.de + AND (e>a AND ed + ORDER BY 5,1,6,2,3 +---- +224 +222 +221 +1 +666 +-1 +0 + +query I rowsort x271 +SELECT CASE WHEN ac OR ec OR ec OR ec OR ec OR ec OR e(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END + FROM t1 +---- +60 values hashing to beed70047ae1fe6e957f8b195a17c63d + +query II rowsort x272 +SELECT e, + CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END + FROM t1 + ORDER BY 2,1 +---- +60 values hashing to beed70047ae1fe6e957f8b195a17c63d + +query IIII rowsort x273 +SELECT a, + b-c, + (a+b+c+d+e)/5, + c + FROM t1 + WHERE (c<=d-2 OR c>=d+2) +---- +40 values hashing to 38f9a6f093c1ee7b2fc4271c752ed1cc + +query IIII rowsort x273 +SELECT a, + b-c, + (a+b+c+d+e)/5, + c + FROM t1 + WHERE (c<=d-2 OR c>=d+2) + ORDER BY 1,4,2 +---- +40 values hashing to 38f9a6f093c1ee7b2fc4271c752ed1cc + +query IIIII rowsort x274 +SELECT a, + c-d, + abs(b-c), + a+b*2+c*3, + a+b*2+c*3+d*4+e*5 + FROM t1 + WHERE (c<=d-2 OR c>=d+2) + AND c BETWEEN b-2 AND d+2 + AND (e>a AND e=d+2) + AND c BETWEEN b-2 AND d+2 + AND (e>a AND e=d+2) + AND (e>a AND e=d+2) + AND (e>a AND ea AND e=d+2) +---- +220 +2 +1 +1338 +3331 + +query IIIII rowsort x274 +SELECT a, + c-d, + abs(b-c), + a+b*2+c*3, + a+b*2+c*3+d*4+e*5 + FROM t1 + WHERE c BETWEEN b-2 AND d+2 + AND (e>a AND e=d+2) + ORDER BY 3,4 +---- +220 +2 +1 +1338 +3331 + +query IIIII rowsort x275 +SELECT (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.d=d+2) +---- +50 values hashing to cc044b3e1bb23780c4122968965b9354 + +query IIIII rowsort x275 +SELECT (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.d=d+2) + ORDER BY 5,2 +---- +50 values hashing to cc044b3e1bb23780c4122968965b9354 + +query I rowsort x276 +SELECT a-b + FROM t1 + WHERE (c<=d-2 OR c>=d+2) +---- +10 values hashing to efa8813bb3fe4fd95c76a8b4cec1fef1 + +query I rowsort x276 +SELECT a-b + FROM t1 + WHERE (c<=d-2 OR c>=d+2) + ORDER BY 1 +---- +10 values hashing to efa8813bb3fe4fd95c76a8b4cec1fef1 + +query IIIIIII rowsort x277 +SELECT (a+b+c+d+e)/5, + a+b*2+c*3+d*4+e*5, + c-d, + CASE WHEN ab +---- +51 values hashing to ce8fbf8484882a4861b010d1bdd692a0 + +query III rowsort x278 +SELECT c, + CASE a+1 WHEN b THEN 111 WHEN c THEN 222 + WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, + a+b*2+c*3 + FROM t1 + WHERE a>b + ORDER BY 1,3 +---- +51 values hashing to ce8fbf8484882a4861b010d1bdd692a0 + +query IIII rowsort x279 +SELECT CASE WHEN ad +---- +196 values hashing to fe3b7834bf1f16af9a218035e03b116c + +query IIIIIII rowsort x281 +SELECT d, + (a+b+c+d+e)/5, + d-e, + b-c, + b, + a+b*2+c*3+d*4+e*5, + a+b*2 + FROM t1 + WHERE EXISTS(SELECT 1 FROM t1 AS x WHERE x.bd + ORDER BY 1,5,2,3,4,6,7 +---- +196 values hashing to fe3b7834bf1f16af9a218035e03b116c + +query IIIIIII rowsort x281 +SELECT d, + (a+b+c+d+e)/5, + d-e, + b-c, + b, + a+b*2+c*3+d*4+e*5, + a+b*2 + FROM t1 + WHERE c>d + OR EXISTS(SELECT 1 FROM t1 AS x WHERE x.bd + OR EXISTS(SELECT 1 FROM t1 AS x WHERE x.bb + OR e+d BETWEEN a+b-10 AND c+130 +---- +108 values hashing to 9d92cdd25b06773d672e7c3859697c55 + +query IIIIII rowsort x282 +SELECT a+b*2, + b, + abs(b-c), + d-e, + a, + c-d + FROM t1 + WHERE a>b + OR e+d BETWEEN a+b-10 AND c+130 + ORDER BY 2,3,5 +---- +108 values hashing to 9d92cdd25b06773d672e7c3859697c55 + +query IIIIII rowsort x282 +SELECT a+b*2, + b, + abs(b-c), + d-e, + a, + c-d + FROM t1 + WHERE e+d BETWEEN a+b-10 AND c+130 + OR a>b +---- +108 values hashing to 9d92cdd25b06773d672e7c3859697c55 + +query IIIIII rowsort x282 +SELECT a+b*2, + b, + abs(b-c), + d-e, + a, + c-d + FROM t1 + WHERE e+d BETWEEN a+b-10 AND c+130 + OR a>b + ORDER BY 2,6,5,1,3,4 +---- +108 values hashing to 9d92cdd25b06773d672e7c3859697c55 + +query I rowsort x283 +SELECT d-e + FROM t1 + WHERE (a>b-2 AND ab-2 AND ab-2 AND ab-2 AND ab-2 AND ab-2 AND a(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + a-b, + e, + c-d, + (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.db + OR (e>a AND e(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + a-b, + e, + c-d, + (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.db + OR (e>a AND eb + AND (a>b-2 AND ab + AND (a>b-2 AND ab + AND (a>b-2 AND ab + AND (a>b-2 AND ab-2 AND ab +---- +21 values hashing to 7913e005ffff21245fdcea9c3d34fb63 + +query IIIIIII rowsort x287 +SELECT (SELECT count(*) FROM t1 AS x WHERE x.bb-2 AND ab + ORDER BY 1,3,4,5,6,2,7 +---- +21 values hashing to 7913e005ffff21245fdcea9c3d34fb63 + +query III rowsort x288 +SELECT b, + CASE WHEN a(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + b, + a+b*2+c*3+d*4, + (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.d(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + b, + a+b*2+c*3+d*4, + (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.dd + AND (a>b-2 AND ae +---- +131 +333 +138 +222 +182 +333 + +query II rowsort x292 +SELECT abs(a), + CASE WHEN ad + AND (a>b-2 AND ae + ORDER BY 1,2 +---- +131 +333 +138 +222 +182 +333 + +query II rowsort x292 +SELECT abs(a), + CASE WHEN ae + AND (a>b-2 AND ad +---- +131 +333 +138 +222 +182 +333 + +query II rowsort x292 +SELECT abs(a), + CASE WHEN ae + AND (a>b-2 AND ad + ORDER BY 1,2 +---- +131 +333 +138 +222 +182 +333 + +query II rowsort x292 +SELECT abs(a), + CASE WHEN ad + AND d>e + AND (a>b-2 AND ad + AND d>e + AND (a>b-2 AND a(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END + FROM t1 + WHERE (c<=d-2 OR c>=d+2) +---- +20 values hashing to 313e2f24fcde36abf536de1a90a3fd55 + +query II rowsort x295 +SELECT c-d, + CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END + FROM t1 + WHERE (c<=d-2 OR c>=d+2) + ORDER BY 2,1 +---- +20 values hashing to 313e2f24fcde36abf536de1a90a3fd55 + +query IIIIIII rowsort x296 +SELECT d, + d-e, + CASE a+1 WHEN b THEN 111 WHEN c THEN 222 + WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, + (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.dt1.c AND x.dt1.c AND x.d(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + a+b*2+c*3+d*4 + FROM t1 + WHERE d NOT BETWEEN 110 AND 150 + OR (e>c OR ec +---- +108 values hashing to f17c6b3e60c3a1d7881ff9c7defa63c5 + +query IIII rowsort x297 +SELECT c, + (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.d(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + a+b*2+c*3+d*4 + FROM t1 + WHERE d NOT BETWEEN 110 AND 150 + OR (e>c OR ec + ORDER BY 4,2,3,1 +---- +108 values hashing to f17c6b3e60c3a1d7881ff9c7defa63c5 + +query IIII rowsort x297 +SELECT c, + (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.d(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + a+b*2+c*3+d*4 + FROM t1 + WHERE b>c + OR d NOT BETWEEN 110 AND 150 + OR (e>c OR et1.c AND x.d(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + a+b*2+c*3+d*4 + FROM t1 + WHERE b>c + OR d NOT BETWEEN 110 AND 150 + OR (e>c OR et1.c AND x.d(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + a+b*2+c*3+d*4 + FROM t1 + WHERE (e>c OR ec +---- +108 values hashing to f17c6b3e60c3a1d7881ff9c7defa63c5 + +query IIII rowsort x297 +SELECT c, + (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.d(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + a+b*2+c*3+d*4 + FROM t1 + WHERE (e>c OR ec + ORDER BY 2,1 +---- +108 values hashing to f17c6b3e60c3a1d7881ff9c7defa63c5 + +query IIII rowsort x297 +SELECT c, + (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.d(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + a+b*2+c*3+d*4 + FROM t1 + WHERE (e>c OR ec + OR d NOT BETWEEN 110 AND 150 +---- +108 values hashing to f17c6b3e60c3a1d7881ff9c7defa63c5 + +query IIII rowsort x297 +SELECT c, + (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.d(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + a+b*2+c*3+d*4 + FROM t1 + WHERE (e>c OR ec + OR d NOT BETWEEN 110 AND 150 + ORDER BY 4,3 +---- +108 values hashing to f17c6b3e60c3a1d7881ff9c7defa63c5 + +query II rowsort x298 +SELECT e, + a-b + FROM t1 + WHERE (a>b-2 AND ac +---- +30 values hashing to f86eeb8a5ace713028dbbf2ca99dbad7 + +query II rowsort x298 +SELECT e, + a-b + FROM t1 + WHERE (a>b-2 AND ac + ORDER BY 2,1 +---- +30 values hashing to f86eeb8a5ace713028dbbf2ca99dbad7 + +query II rowsort x298 +SELECT e, + a-b + FROM t1 + WHERE b>c + OR (a>b-2 AND ac + OR (a>b-2 AND at1.c AND x.dd +---- +52 values hashing to 78e7b83e6942df2d1bfd868316d31335 + +query IIII rowsort x300 +SELECT a, + (SELECT count(*) FROM t1 AS x WHERE x.bt1.c AND x.dd + ORDER BY 4,3 +---- +52 values hashing to 78e7b83e6942df2d1bfd868316d31335 + +query IIIIII rowsort x301 +SELECT a-b, + abs(a), + e, + (SELECT count(*) FROM t1 AS x WHERE x.b(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END + FROM t1 + WHERE a>b +---- +17 values hashing to baeb6fdb5d575870fddf7d11fa9e02f3 + +query I rowsort x302 +SELECT CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END + FROM t1 + WHERE a>b + ORDER BY 1 +---- +17 values hashing to baeb6fdb5d575870fddf7d11fa9e02f3 + +query IIII rowsort x303 +SELECT c-d, + d, + CASE a+1 WHEN b THEN 111 WHEN c THEN 222 + WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, + d-e + FROM t1 +---- +120 values hashing to 0249d9b05d5c103df774e762f761cffb + +query IIII rowsort x303 +SELECT c-d, + d, + CASE a+1 WHEN b THEN 111 WHEN c THEN 222 + WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, + d-e + FROM t1 + ORDER BY 4,2,1 +---- +120 values hashing to 0249d9b05d5c103df774e762f761cffb + +query IIIII rowsort x304 +SELECT CASE a+1 WHEN b THEN 111 WHEN c THEN 222 + WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, + c, + b, + a-b, + (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.de + AND (e>a AND ec OR et1.c AND x.de + AND (e>a AND ec OR et1.c AND x.dc OR ee + AND (e>a AND et1.c AND x.dc OR ee + AND (e>a AND et1.c AND x.dd +---- +78 values hashing to f5801c819d7fc8338357d6aeedca106d + +query IIIIII rowsort x306 +SELECT (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.dd + ORDER BY 4,5,6,3,2,1 +---- +78 values hashing to f5801c819d7fc8338357d6aeedca106d + +query IIII rowsort x307 +SELECT a+b*2+c*3+d*4, + CASE a+1 WHEN b THEN 111 WHEN c THEN 222 + WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, + a+b*2+c*3, + (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.dt1.c AND x.d(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + d-e, + CASE a+1 WHEN b THEN 111 WHEN c THEN 222 + WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, + e, + a+b*2+c*3 + FROM t1 +---- +180 values hashing to e13410f526aa235c1220c611a43aeab1 + +query IIIIII rowsort x308 +SELECT a-b, + CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + d-e, + CASE a+1 WHEN b THEN 111 WHEN c THEN 222 + WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, + e, + a+b*2+c*3 + FROM t1 + ORDER BY 6,1 +---- +180 values hashing to e13410f526aa235c1220c611a43aeab1 + +query III rowsort x309 +SELECT a-b, + a+b*2, + c + FROM t1 +---- +90 values hashing to c6af1ce8e7751994c9acfbf36e97f991 + +query III rowsort x309 +SELECT a-b, + a+b*2, + c + FROM t1 + ORDER BY 3,1 +---- +90 values hashing to c6af1ce8e7751994c9acfbf36e97f991 + +query III rowsort x310 +SELECT d-e, + (a+b+c+d+e)/5, + a+b*2 + FROM t1 + WHERE c BETWEEN b-2 AND d+2 + AND a>b +---- +24 values hashing to 5d0a46c407293e78a2ca3cf0c3cd5c49 + +query III rowsort x310 +SELECT d-e, + (a+b+c+d+e)/5, + a+b*2 + FROM t1 + WHERE c BETWEEN b-2 AND d+2 + AND a>b + ORDER BY 3,2 +---- +24 values hashing to 5d0a46c407293e78a2ca3cf0c3cd5c49 + +query III rowsort x311 +SELECT (SELECT count(*) FROM t1 AS x WHERE x.bt1.c AND x.dc + AND d>e + AND d NOT BETWEEN 110 AND 150 +---- +23 +0 +233 +26 +0 +248 + +query III rowsort x311 +SELECT (SELECT count(*) FROM t1 AS x WHERE x.bt1.c AND x.dc + AND d>e + AND d NOT BETWEEN 110 AND 150 + ORDER BY 3,2 +---- +23 +0 +233 +26 +0 +248 + +query III rowsort x311 +SELECT (SELECT count(*) FROM t1 AS x WHERE x.bt1.c AND x.de + AND b>c +---- +23 +0 +233 +26 +0 +248 + +query III rowsort x311 +SELECT (SELECT count(*) FROM t1 AS x WHERE x.bt1.c AND x.de + AND b>c + ORDER BY 3,2,1 +---- +23 +0 +233 +26 +0 +248 + +query III rowsort x311 +SELECT (SELECT count(*) FROM t1 AS x WHERE x.bt1.c AND x.dc + AND d NOT BETWEEN 110 AND 150 + AND d>e +---- +23 +0 +233 +26 +0 +248 + +query III rowsort x311 +SELECT (SELECT count(*) FROM t1 AS x WHERE x.bt1.c AND x.dc + AND d NOT BETWEEN 110 AND 150 + AND d>e + ORDER BY 3,1 +---- +23 +0 +233 +26 +0 +248 + +query II rowsort x312 +SELECT a+b*2+c*3, + abs(a) + FROM t1 + WHERE d NOT BETWEEN 110 AND 150 + OR e+d BETWEEN a+b-10 AND c+130 + OR (c<=d-2 OR c>=d+2) +---- +38 values hashing to 8c7d032b253042442e7800e69dca3de8 + +query II rowsort x312 +SELECT a+b*2+c*3, + abs(a) + FROM t1 + WHERE d NOT BETWEEN 110 AND 150 + OR e+d BETWEEN a+b-10 AND c+130 + OR (c<=d-2 OR c>=d+2) + ORDER BY 1,2 +---- +38 values hashing to 8c7d032b253042442e7800e69dca3de8 + +query II rowsort x312 +SELECT a+b*2+c*3, + abs(a) + FROM t1 + WHERE d NOT BETWEEN 110 AND 150 + OR (c<=d-2 OR c>=d+2) + OR e+d BETWEEN a+b-10 AND c+130 +---- +38 values hashing to 8c7d032b253042442e7800e69dca3de8 + +query II rowsort x312 +SELECT a+b*2+c*3, + abs(a) + FROM t1 + WHERE d NOT BETWEEN 110 AND 150 + OR (c<=d-2 OR c>=d+2) + OR e+d BETWEEN a+b-10 AND c+130 + ORDER BY 1,2 +---- +38 values hashing to 8c7d032b253042442e7800e69dca3de8 + +query II rowsort x312 +SELECT a+b*2+c*3, + abs(a) + FROM t1 + WHERE (c<=d-2 OR c>=d+2) + OR e+d BETWEEN a+b-10 AND c+130 + OR d NOT BETWEEN 110 AND 150 +---- +38 values hashing to 8c7d032b253042442e7800e69dca3de8 + +query II rowsort x312 +SELECT a+b*2+c*3, + abs(a) + FROM t1 + WHERE (c<=d-2 OR c>=d+2) + OR e+d BETWEEN a+b-10 AND c+130 + OR d NOT BETWEEN 110 AND 150 + ORDER BY 2,1 +---- +38 values hashing to 8c7d032b253042442e7800e69dca3de8 + +query IIIIII rowsort x313 +SELECT b-c, + (SELECT count(*) FROM t1 AS x WHERE x.bc +---- +144 values hashing to 5d554a6a785e45be7fb99898e93d8d94 + +query IIIIII rowsort x313 +SELECT b-c, + (SELECT count(*) FROM t1 AS x WHERE x.bc + ORDER BY 5,3,4,1 +---- +144 values hashing to 5d554a6a785e45be7fb99898e93d8d94 + +query IIIIII rowsort x313 +SELECT b-c, + (SELECT count(*) FROM t1 AS x WHERE x.bc + OR e+d BETWEEN a+b-10 AND c+130 + OR d NOT BETWEEN 110 AND 150 +---- +144 values hashing to 5d554a6a785e45be7fb99898e93d8d94 + +query IIIIII rowsort x313 +SELECT b-c, + (SELECT count(*) FROM t1 AS x WHERE x.bc + OR e+d BETWEEN a+b-10 AND c+130 + OR d NOT BETWEEN 110 AND 150 + ORDER BY 2,6,5,1,3,4 +---- +144 values hashing to 5d554a6a785e45be7fb99898e93d8d94 + +query IIIIII rowsort x313 +SELECT b-c, + (SELECT count(*) FROM t1 AS x WHERE x.bc + OR e+d BETWEEN a+b-10 AND c+130 +---- +144 values hashing to 5d554a6a785e45be7fb99898e93d8d94 + +query IIIIII rowsort x313 +SELECT b-c, + (SELECT count(*) FROM t1 AS x WHERE x.bc + OR e+d BETWEEN a+b-10 AND c+130 + ORDER BY 5,6,1 +---- +144 values hashing to 5d554a6a785e45be7fb99898e93d8d94 + +query IIII rowsort x314 +SELECT (a+b+c+d+e)/5, + c-d, + CASE WHEN ab-2 AND ad +---- +16 values hashing to d67cabf96d0b47633cd08730637b2048 + +query IIII rowsort x314 +SELECT (a+b+c+d+e)/5, + c-d, + CASE WHEN ab-2 AND ad + ORDER BY 3,2,1 +---- +16 values hashing to d67cabf96d0b47633cd08730637b2048 + +query IIII rowsort x314 +SELECT (a+b+c+d+e)/5, + c-d, + CASE WHEN ad + AND (a>b-2 AND ad + AND (a>b-2 AND at1.c AND x.d=d+2) + AND c>d + AND (e>a AND et1.c AND x.d=d+2) + AND c>d + AND (e>a AND et1.c AND x.d=d+2) + AND (e>a AND ed +---- +0 +444 +0 +444 + +query II rowsort x315 +SELECT (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.d=d+2) + AND (e>a AND ed + ORDER BY 2,1 +---- +0 +444 +0 +444 + +query II rowsort x315 +SELECT (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.da AND e=d+2) + AND c>d +---- +0 +444 +0 +444 + +query II rowsort x315 +SELECT (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.da AND e=d+2) + AND c>d + ORDER BY 2,1 +---- +0 +444 +0 +444 + +query II rowsort x315 +SELECT (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.dd + AND (c<=d-2 OR c>=d+2) + AND (e>a AND et1.c AND x.dd + AND (c<=d-2 OR c>=d+2) + AND (e>a AND e(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + (SELECT count(*) FROM t1 AS x WHERE x.b(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + (SELECT count(*) FROM t1 AS x WHERE x.bt1.c AND x.dc +---- +0 +127 +4 + +query III rowsort x317 +SELECT (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.dc + ORDER BY 3,1 +---- +0 +127 +4 + +query II rowsort x318 +SELECT a+b*2+c*3+d*4, + a + FROM t1 + WHERE (c<=d-2 OR c>=d+2) +---- +20 values hashing to a883dad8b02e10bdbbfcd41a959944b3 + +query II rowsort x318 +SELECT a+b*2+c*3+d*4, + a + FROM t1 + WHERE (c<=d-2 OR c>=d+2) + ORDER BY 2,1 +---- +20 values hashing to a883dad8b02e10bdbbfcd41a959944b3 + +query IIII rowsort x319 +SELECT CASE WHEN at1.c AND x.dc OR ed +---- +104 values hashing to 39510fb3ed1150a561a8d542151b4a24 + +query IIII rowsort x319 +SELECT CASE WHEN at1.c AND x.dc OR ed + ORDER BY 3,4 +---- +104 values hashing to 39510fb3ed1150a561a8d542151b4a24 + +query IIII rowsort x319 +SELECT CASE WHEN at1.c AND x.dd + OR (e>c OR et1.c AND x.dd + OR (e>c OR et1.c AND x.db +---- +17 values hashing to dd282b8dd7664ec4babf6af25299c8f4 + +query I rowsort x320 +SELECT (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.db + ORDER BY 1 +---- +17 values hashing to dd282b8dd7664ec4babf6af25299c8f4 + +query II rowsort x321 +SELECT a+b*2+c*3+d*4+e*5, + (SELECT count(*) FROM t1 AS x WHERE x.bt1.c AND x.dc +---- +91 values hashing to 11d5fc8b50cf11747fb09838a6179a62 + +query IIIIIII rowsort x322 +SELECT e, + (SELECT count(*) FROM t1 AS x WHERE x.bt1.c AND x.dc + ORDER BY 5,1,3 +---- +91 values hashing to 11d5fc8b50cf11747fb09838a6179a62 + +query IIII rowsort x323 +SELECT d, + a+b*2+c*3, + a, + e + FROM t1 + WHERE c BETWEEN b-2 AND d+2 + OR c>d + OR (e>a AND ed + OR (e>a AND ea AND ed + OR c BETWEEN b-2 AND d+2 +---- +72 values hashing to e48615ff8ca5cfc049146260f31d5352 + +query IIII rowsort x323 +SELECT d, + a+b*2+c*3, + a, + e + FROM t1 + WHERE (e>a AND ed + OR c BETWEEN b-2 AND d+2 + ORDER BY 2,1,4,3 +---- +72 values hashing to e48615ff8ca5cfc049146260f31d5352 + +query IIII rowsort x323 +SELECT d, + a+b*2+c*3, + a, + e + FROM t1 + WHERE c>d + OR (e>a AND ed + OR (e>a AND ea AND ed +---- +72 values hashing to e48615ff8ca5cfc049146260f31d5352 + +query IIII rowsort x323 +SELECT d, + a+b*2+c*3, + a, + e + FROM t1 + WHERE c BETWEEN b-2 AND d+2 + OR (e>a AND ed + ORDER BY 1,3,2 +---- +72 values hashing to e48615ff8ca5cfc049146260f31d5352 + +query IIIII rowsort x324 +SELECT b-c, + b, + d-e, + (a+b+c+d+e)/5, + c + FROM t1 +---- +150 values hashing to 8c15f4a29de572fba8a576d3bee6210d + +query IIIII rowsort x324 +SELECT b-c, + b, + d-e, + (a+b+c+d+e)/5, + c + FROM t1 + ORDER BY 5,1,2 +---- +150 values hashing to 8c15f4a29de572fba8a576d3bee6210d + +query I rowsort x325 +SELECT CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END + FROM t1 +---- +30 values hashing to efdbaa4d180e7867bec1c4d897bd25b9 + +query I rowsort x325 +SELECT CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END + FROM t1 + ORDER BY 1 +---- +30 values hashing to efdbaa4d180e7867bec1c4d897bd25b9 + +query I rowsort x326 +SELECT a+b*2 + FROM t1 + WHERE d>e +---- +11 values hashing to 894d1073493aea169dfee5237f6088b5 + +query I rowsort x326 +SELECT a+b*2 + FROM t1 + WHERE d>e + ORDER BY 1 +---- +11 values hashing to 894d1073493aea169dfee5237f6088b5 + +query IIIIII rowsort x327 +SELECT abs(b-c), + CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.d(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.d(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.d(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.d(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.d(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.d(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.d(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.db-2 AND ab-2 AND ab-2 AND ab-2 AND ac OR ec OR ea AND ea AND eb-2 AND ab-2 AND ac +---- +52 values hashing to 46cb487ee40100f4b5738b678e5ca30d + +query II rowsort x334 +SELECT c, + a+b*2+c*3+d*4+e*5 + FROM t1 + WHERE EXISTS(SELECT 1 FROM t1 AS x WHERE x.bc + ORDER BY 2,1 +---- +52 values hashing to 46cb487ee40100f4b5738b678e5ca30d + +query II rowsort x334 +SELECT c, + a+b*2+c*3+d*4+e*5 + FROM t1 + WHERE b>c + OR EXISTS(SELECT 1 FROM t1 AS x WHERE x.bc + OR EXISTS(SELECT 1 FROM t1 AS x WHERE x.bc OR eb +---- +84 values hashing to 4ed78bf4242fcd95e3948b18cc96105c + +query III rowsort x335 +SELECT (a+b+c+d+e)/5, + d, + abs(b-c) + FROM t1 + WHERE EXISTS(SELECT 1 FROM t1 AS x WHERE x.bc OR eb + ORDER BY 1,3 +---- +84 values hashing to 4ed78bf4242fcd95e3948b18cc96105c + +query III rowsort x335 +SELECT (a+b+c+d+e)/5, + d, + abs(b-c) + FROM t1 + WHERE a>b + OR EXISTS(SELECT 1 FROM t1 AS x WHERE x.bc OR eb + OR EXISTS(SELECT 1 FROM t1 AS x WHERE x.bc OR eb + OR (e>c OR eb + OR (e>c OR eb + OR b>c + OR (a>b-2 AND ab + OR b>c + OR (a>b-2 AND ac + OR a>b + OR (a>b-2 AND ac + OR a>b + OR (a>b-2 AND ab-2 AND ab + OR b>c +---- +144 values hashing to b29aa2f0959d342b1fe6a5111224dc65 + +query IIIIII rowsort x336 +SELECT abs(a), + d, + (a+b+c+d+e)/5, + CASE a+1 WHEN b THEN 111 WHEN c THEN 222 + WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, + a+b*2+c*3+d*4, + (SELECT count(*) FROM t1 AS x WHERE x.bb-2 AND ab + OR b>c + ORDER BY 5,1,2,6,3 +---- +144 values hashing to b29aa2f0959d342b1fe6a5111224dc65 + +query II rowsort x337 +SELECT abs(a), + a+b*2+c*3 + FROM t1 + WHERE d>e +---- +22 values hashing to 5473c9f8d1216beb4e678b45e690a858 + +query II rowsort x337 +SELECT abs(a), + a+b*2+c*3 + FROM t1 + WHERE d>e + ORDER BY 1,2 +---- +22 values hashing to 5473c9f8d1216beb4e678b45e690a858 + +query IIIIII rowsort x338 +SELECT a+b*2+c*3, + CASE a+1 WHEN b THEN 111 WHEN c THEN 222 + WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, + a-b, + a, + abs(b-c), + (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.dc +---- +78 values hashing to 2456c9c4aabea692d43cdaba4f819e77 + +query IIIIII rowsort x338 +SELECT a+b*2+c*3, + CASE a+1 WHEN b THEN 111 WHEN c THEN 222 + WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, + a-b, + a, + abs(b-c), + (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.dc + ORDER BY 1,6,4 +---- +78 values hashing to 2456c9c4aabea692d43cdaba4f819e77 + +query IIIII rowsort x339 +SELECT b, + b-c, + (SELECT count(*) FROM t1 AS x WHERE x.ba AND eb-2 AND aa AND eb-2 AND ab-2 AND aa AND eb-2 AND aa AND eb-2 AND aa AND eb-2 AND aa AND e(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + e + FROM t1 + WHERE b>c + OR d NOT BETWEEN 110 AND 150 +---- +144 values hashing to e2b60e10831969a097fab3dcf057ee30 + +query IIIIII rowsort x340 +SELECT a+b*2, + abs(b-c), + abs(a), + a+b*2+c*3+d*4, + CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + e + FROM t1 + WHERE b>c + OR d NOT BETWEEN 110 AND 150 + ORDER BY 2,4,3 +---- +144 values hashing to e2b60e10831969a097fab3dcf057ee30 + +query IIIIII rowsort x341 +SELECT d-e, + abs(a), + CASE a+1 WHEN b THEN 111 WHEN c THEN 222 + WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, + (a+b+c+d+e)/5, + (SELECT count(*) FROM t1 AS x WHERE x.bt1.c AND x.de + AND (a>b-2 AND at1.c AND x.de + AND (a>b-2 AND at1.c AND x.db-2 AND ae +---- +1096 +0 +793 +0 +827 +0 + +query II rowsort x343 +SELECT a+b*2+c*3, + (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.db-2 AND ae + ORDER BY 2,1 +---- +1096 +0 +793 +0 +827 +0 + +query II rowsort x343 +SELECT a+b*2+c*3, + (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.de + AND (a>b-2 AND at1.c AND x.de + AND (a>b-2 AND at1.c AND x.db-2 AND ae + AND c BETWEEN b-2 AND d+2 +---- +1096 +0 +793 +0 +827 +0 + +query II rowsort x343 +SELECT a+b*2+c*3, + (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.db-2 AND ae + AND c BETWEEN b-2 AND d+2 + ORDER BY 1,2 +---- +1096 +0 +793 +0 +827 +0 + +query III rowsort x344 +SELECT CASE WHEN ac OR ec + OR EXISTS(SELECT 1 FROM t1 AS x WHERE x.bc OR ec + OR EXISTS(SELECT 1 FROM t1 AS x WHERE x.bc + OR EXISTS(SELECT 1 FROM t1 AS x WHERE x.bc OR ec + OR EXISTS(SELECT 1 FROM t1 AS x WHERE x.bc OR ec + OR (e>c OR ec + OR (e>c OR e=d+2) + AND c BETWEEN b-2 AND d+2 +---- +1 +1 +1 +1 +1 +3 + +query I rowsort x346 +SELECT abs(b-c) + FROM t1 + WHERE (c<=d-2 OR c>=d+2) + AND c BETWEEN b-2 AND d+2 + ORDER BY 1 +---- +1 +1 +1 +1 +1 +3 + +query IIII rowsort x347 +SELECT CASE a+1 WHEN b THEN 111 WHEN c THEN 222 + WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, + a+b*2+c*3+d*4, + c, + a+b*2+c*3+d*4+e*5 + FROM t1 + WHERE d>e + OR (e>a AND e=d+2) +---- +64 values hashing to a2a925c021960551d590b7672c6f3d05 + +query IIII rowsort x347 +SELECT CASE a+1 WHEN b THEN 111 WHEN c THEN 222 + WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, + a+b*2+c*3+d*4, + c, + a+b*2+c*3+d*4+e*5 + FROM t1 + WHERE d>e + OR (e>a AND e=d+2) + ORDER BY 2,4,3 +---- +64 values hashing to a2a925c021960551d590b7672c6f3d05 + +query IIII rowsort x347 +SELECT CASE a+1 WHEN b THEN 111 WHEN c THEN 222 + WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, + a+b*2+c*3+d*4, + c, + a+b*2+c*3+d*4+e*5 + FROM t1 + WHERE (c<=d-2 OR c>=d+2) + OR d>e + OR (e>a AND e=d+2) + OR d>e + OR (e>a AND ee + OR (a>b-2 AND ad +---- +92 values hashing to c87852d64a0a0f7ad0c1cdde418d2c5b + +query IIII rowsort x348 +SELECT a+b*2+c*3+d*4+e*5, + CASE WHEN ae + OR (a>b-2 AND ad + ORDER BY 2,3 +---- +92 values hashing to c87852d64a0a0f7ad0c1cdde418d2c5b + +query IIII rowsort x348 +SELECT a+b*2+c*3+d*4+e*5, + CASE WHEN ab-2 AND ad + OR d>e +---- +92 values hashing to c87852d64a0a0f7ad0c1cdde418d2c5b + +query IIII rowsort x348 +SELECT a+b*2+c*3+d*4+e*5, + CASE WHEN ab-2 AND ad + OR d>e + ORDER BY 1,2 +---- +92 values hashing to c87852d64a0a0f7ad0c1cdde418d2c5b + +query IIII rowsort x348 +SELECT a+b*2+c*3+d*4+e*5, + CASE WHEN ae + OR c>d + OR (a>b-2 AND ae + OR c>d + OR (a>b-2 AND ab-2 AND ab-2 AND ab-2 AND ab-2 AND ac OR ec OR ec OR ec OR ed +---- +13 values hashing to 7744fc7874118e6abe7e080d62e702a2 + +query I rowsort x351 +SELECT b-c + FROM t1 + WHERE c>d + ORDER BY 1 +---- +13 values hashing to 7744fc7874118e6abe7e080d62e702a2 + +query II rowsort x352 +SELECT a+b*2+c*3+d*4, + c + FROM t1 + WHERE b>c +---- +26 values hashing to 150f26c4261044e7d668047611de3015 + +query II rowsort x352 +SELECT a+b*2+c*3+d*4, + c + FROM t1 + WHERE b>c + ORDER BY 1,2 +---- +26 values hashing to 150f26c4261044e7d668047611de3015 + +query IIIIIII rowsort x353 +SELECT a+b*2+c*3+d*4, + c-d, + a+b*2+c*3, + d, + d-e, + (SELECT count(*) FROM t1 AS x WHERE x.bt1.c AND x.de + OR b>c +---- +80 values hashing to 31be87cb325fc0c5d4fadb3f90b0212f + +query IIII rowsort x354 +SELECT a+b*2+c*3+d*4+e*5, + (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.de + OR b>c + ORDER BY 3,2 +---- +80 values hashing to 31be87cb325fc0c5d4fadb3f90b0212f + +query IIII rowsort x354 +SELECT a+b*2+c*3+d*4+e*5, + (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.dc + OR d>e +---- +80 values hashing to 31be87cb325fc0c5d4fadb3f90b0212f + +query IIII rowsort x354 +SELECT a+b*2+c*3+d*4+e*5, + (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.dc + OR d>e + ORDER BY 1,4,2 +---- +80 values hashing to 31be87cb325fc0c5d4fadb3f90b0212f + +query II rowsort x355 +SELECT a+b*2+c*3, + c-d + FROM t1 + WHERE EXISTS(SELECT 1 FROM t1 AS x WHERE x.bc +---- +26 values hashing to e67a059f451c8f90e1551f297d5424b1 + +query II rowsort x355 +SELECT a+b*2+c*3, + c-d + FROM t1 + WHERE EXISTS(SELECT 1 FROM t1 AS x WHERE x.bc + ORDER BY 2,1 +---- +26 values hashing to e67a059f451c8f90e1551f297d5424b1 + +query II rowsort x355 +SELECT a+b*2+c*3, + c-d + FROM t1 + WHERE b>c + AND EXISTS(SELECT 1 FROM t1 AS x WHERE x.bc + AND EXISTS(SELECT 1 FROM t1 AS x WHERE x.b(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + abs(a), + a+b*2+c*3+d*4+e*5, + b, + (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.da AND ee +---- +78 values hashing to 6ed7f32c0f6fca261a27bd3012c9991d + +query IIIIII rowsort x358 +SELECT abs(b-c), + CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + abs(a), + a+b*2+c*3+d*4+e*5, + b, + (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.da AND ee + ORDER BY 3,4,6 +---- +78 values hashing to 6ed7f32c0f6fca261a27bd3012c9991d + +query IIIIII rowsort x358 +SELECT abs(b-c), + CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + abs(a), + a+b*2+c*3+d*4+e*5, + b, + (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.de + OR (e>a AND e(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + abs(a), + a+b*2+c*3+d*4+e*5, + b, + (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.de + OR (e>a AND e(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + abs(a), + a+b*2+c*3+d*4+e*5, + b, + (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.da AND ee +---- +78 values hashing to 6ed7f32c0f6fca261a27bd3012c9991d + +query IIIIII rowsort x358 +SELECT abs(b-c), + CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + abs(a), + a+b*2+c*3+d*4+e*5, + b, + (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.da AND ee + ORDER BY 6,2,3,5,4,1 +---- +78 values hashing to 6ed7f32c0f6fca261a27bd3012c9991d + +query III rowsort x359 +SELECT b, + a-b, + a+b*2 + FROM t1 + WHERE (a>b-2 AND ab-2 AND ab-2 AND ab-2 AND a=d+2) + OR d NOT BETWEEN 110 AND 150 + OR a>b +---- +156 values hashing to dc0420665219b1dbdb6c215345b1e791 + +query IIIIII rowsort x360 +SELECT CASE a+1 WHEN b THEN 111 WHEN c THEN 222 + WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, + b, + CASE WHEN a=d+2) + OR d NOT BETWEEN 110 AND 150 + OR a>b + ORDER BY 3,5,6,2,1,4 +---- +156 values hashing to dc0420665219b1dbdb6c215345b1e791 + +query IIIIII rowsort x360 +SELECT CASE a+1 WHEN b THEN 111 WHEN c THEN 222 + WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, + b, + CASE WHEN a=d+2) + OR a>b +---- +156 values hashing to dc0420665219b1dbdb6c215345b1e791 + +query IIIIII rowsort x360 +SELECT CASE a+1 WHEN b THEN 111 WHEN c THEN 222 + WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, + b, + CASE WHEN a=d+2) + OR a>b + ORDER BY 4,1,3 +---- +156 values hashing to dc0420665219b1dbdb6c215345b1e791 + +query IIIIII rowsort x360 +SELECT CASE a+1 WHEN b THEN 111 WHEN c THEN 222 + WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, + b, + CASE WHEN ab + OR d NOT BETWEEN 110 AND 150 + OR (c<=d-2 OR c>=d+2) +---- +156 values hashing to dc0420665219b1dbdb6c215345b1e791 + +query IIIIII rowsort x360 +SELECT CASE a+1 WHEN b THEN 111 WHEN c THEN 222 + WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, + b, + CASE WHEN ab + OR d NOT BETWEEN 110 AND 150 + OR (c<=d-2 OR c>=d+2) + ORDER BY 5,6,2,3 +---- +156 values hashing to dc0420665219b1dbdb6c215345b1e791 + +query III rowsort x361 +SELECT a+b*2+c*3, + d-e, + abs(a) + FROM t1 + WHERE b>c + AND c BETWEEN b-2 AND d+2 +---- +15 values hashing to eb595e9f255d651bde844105fc08fb57 + +query III rowsort x361 +SELECT a+b*2+c*3, + d-e, + abs(a) + FROM t1 + WHERE b>c + AND c BETWEEN b-2 AND d+2 + ORDER BY 2,3,1 +---- +15 values hashing to eb595e9f255d651bde844105fc08fb57 + +query III rowsort x361 +SELECT a+b*2+c*3, + d-e, + abs(a) + FROM t1 + WHERE c BETWEEN b-2 AND d+2 + AND b>c +---- +15 values hashing to eb595e9f255d651bde844105fc08fb57 + +query III rowsort x361 +SELECT a+b*2+c*3, + d-e, + abs(a) + FROM t1 + WHERE c BETWEEN b-2 AND d+2 + AND b>c + ORDER BY 3,1,2 +---- +15 values hashing to eb595e9f255d651bde844105fc08fb57 + +query IIIIIII rowsort x362 +SELECT abs(b-c), + (SELECT count(*) FROM t1 AS x WHERE x.b(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + CASE a+1 WHEN b THEN 111 WHEN c THEN 222 + WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, + d-e + FROM t1 + WHERE d>e +---- +77 values hashing to 590bb43a66b49eaea7d40168ab95b87b + +query IIIIIII rowsort x362 +SELECT abs(b-c), + (SELECT count(*) FROM t1 AS x WHERE x.b(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + CASE a+1 WHEN b THEN 111 WHEN c THEN 222 + WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, + d-e + FROM t1 + WHERE d>e + ORDER BY 3,7,1,6,2,4,5 +---- +77 values hashing to 590bb43a66b49eaea7d40168ab95b87b + +query IIIIIII rowsort x363 +SELECT b, + (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.db + OR b>c + OR (e>c OR et1.c AND x.db + OR b>c + OR (e>c OR et1.c AND x.dc + OR (e>c OR eb +---- +189 values hashing to 3b74f944eef581369645e0018a91984a + +query IIIIIII rowsort x363 +SELECT b, + (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.dc + OR (e>c OR eb + ORDER BY 4,5,3,7,6,1 +---- +189 values hashing to 3b74f944eef581369645e0018a91984a + +query IIIIIII rowsort x363 +SELECT b, + (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.dc OR eb + OR b>c +---- +189 values hashing to 3b74f944eef581369645e0018a91984a + +query IIIIIII rowsort x363 +SELECT b, + (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.dc OR eb + OR b>c + ORDER BY 4,7,1,5,6,2,3 +---- +189 values hashing to 3b74f944eef581369645e0018a91984a + +query IIII rowsort x364 +SELECT a, + CASE a+1 WHEN b THEN 111 WHEN c THEN 222 + WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, + e, + (SELECT count(*) FROM t1 AS x WHERE x.ba AND e=d+2) + OR (e>c OR ea AND e=d+2) + OR (e>c OR ea AND ec OR e=d+2) +---- +92 values hashing to f1d5c3beb375b47a05c92982d6c6752e + +query IIII rowsort x364 +SELECT a, + CASE a+1 WHEN b THEN 111 WHEN c THEN 222 + WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, + e, + (SELECT count(*) FROM t1 AS x WHERE x.ba AND ec OR e=d+2) + ORDER BY 1,4,3,2 +---- +92 values hashing to f1d5c3beb375b47a05c92982d6c6752e + +query IIII rowsort x364 +SELECT a, + CASE a+1 WHEN b THEN 111 WHEN c THEN 222 + WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, + e, + (SELECT count(*) FROM t1 AS x WHERE x.bc OR ea AND e=d+2) +---- +92 values hashing to f1d5c3beb375b47a05c92982d6c6752e + +query IIII rowsort x364 +SELECT a, + CASE a+1 WHEN b THEN 111 WHEN c THEN 222 + WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, + e, + (SELECT count(*) FROM t1 AS x WHERE x.bc OR ea AND e=d+2) + ORDER BY 1,2,4,3 +---- +92 values hashing to f1d5c3beb375b47a05c92982d6c6752e + +query IIII rowsort x364 +SELECT a, + CASE a+1 WHEN b THEN 111 WHEN c THEN 222 + WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, + e, + (SELECT count(*) FROM t1 AS x WHERE x.b=d+2) + OR (e>c OR ea AND e=d+2) + OR (e>c OR ea AND et1.c AND x.d=d+2) +---- +30 values hashing to d28f6b944184a7946ea3cb47cd5f761f + +query IIIII rowsort x368 +SELECT a+b*2, + b-c, + d, + (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.d=d+2) + ORDER BY 2,5,3,4,1 +---- +30 values hashing to d28f6b944184a7946ea3cb47cd5f761f + +query II rowsort x369 +SELECT c-d, + abs(a) + FROM t1 + WHERE (c<=d-2 OR c>=d+2) + AND c>d + AND b>c +---- +3 +191 + +query II rowsort x369 +SELECT c-d, + abs(a) + FROM t1 + WHERE (c<=d-2 OR c>=d+2) + AND c>d + AND b>c + ORDER BY 1,2 +---- +3 +191 + +query II rowsort x369 +SELECT c-d, + abs(a) + FROM t1 + WHERE c>d + AND b>c + AND (c<=d-2 OR c>=d+2) +---- +3 +191 + +query II rowsort x369 +SELECT c-d, + abs(a) + FROM t1 + WHERE c>d + AND b>c + AND (c<=d-2 OR c>=d+2) + ORDER BY 1,2 +---- +3 +191 + +query II rowsort x369 +SELECT c-d, + abs(a) + FROM t1 + WHERE b>c + AND c>d + AND (c<=d-2 OR c>=d+2) +---- +3 +191 + +query II rowsort x369 +SELECT c-d, + abs(a) + FROM t1 + WHERE b>c + AND c>d + AND (c<=d-2 OR c>=d+2) + ORDER BY 1,2 +---- +3 +191 + +query IIIIII rowsort x370 +SELECT a+b*2+c*3, + a+b*2, + c, + abs(b-c), + e, + b + FROM t1 + WHERE (e>c OR ec + AND c BETWEEN b-2 AND d+2 +---- +24 values hashing to 1612c366f1cbda32215c903e5addbbc5 + +query IIIIII rowsort x370 +SELECT a+b*2+c*3, + a+b*2, + c, + abs(b-c), + e, + b + FROM t1 + WHERE (e>c OR ec + AND c BETWEEN b-2 AND d+2 + ORDER BY 4,5,1,3 +---- +24 values hashing to 1612c366f1cbda32215c903e5addbbc5 + +query IIIII rowsort x371 +SELECT (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.dc OR et1.c AND x.dc OR et1.c AND x.dc OR et1.c AND x.dc OR ec + AND (a>b-2 AND ac + AND (a>b-2 AND ab-2 AND ac +---- +12 values hashing to fc68cd4e373c05bcb81c6c05f548e955 + +query IIIIII rowsort x372 +SELECT a+b*2+c*3+d*4+e*5, + abs(b-c), + e, + c-d, + a-b, + d + FROM t1 + WHERE c BETWEEN b-2 AND d+2 + AND (a>b-2 AND ac + ORDER BY 4,2,1,5 +---- +12 values hashing to fc68cd4e373c05bcb81c6c05f548e955 + +query IIIIII rowsort x372 +SELECT a+b*2+c*3+d*4+e*5, + abs(b-c), + e, + c-d, + a-b, + d + FROM t1 + WHERE (a>b-2 AND ac + AND c BETWEEN b-2 AND d+2 +---- +12 values hashing to fc68cd4e373c05bcb81c6c05f548e955 + +query IIIIII rowsort x372 +SELECT a+b*2+c*3+d*4+e*5, + abs(b-c), + e, + c-d, + a-b, + d + FROM t1 + WHERE (a>b-2 AND ac + AND c BETWEEN b-2 AND d+2 + ORDER BY 4,6,3,5,2,1 +---- +12 values hashing to fc68cd4e373c05bcb81c6c05f548e955 + +query IIIII rowsort x373 +SELECT b-c, + a+b*2+c*3, + d, + abs(b-c), + CASE a+1 WHEN b THEN 111 WHEN c THEN 222 + WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END + FROM t1 + WHERE (e>c OR ec OR e(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END + FROM t1 + WHERE b>c + OR (c<=d-2 OR c>=d+2) +---- +19 values hashing to 95973221897dd8239e748cb04834188e + +query I rowsort x374 +SELECT CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END + FROM t1 + WHERE b>c + OR (c<=d-2 OR c>=d+2) + ORDER BY 1 +---- +19 values hashing to 95973221897dd8239e748cb04834188e + +query I rowsort x374 +SELECT CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END + FROM t1 + WHERE (c<=d-2 OR c>=d+2) + OR b>c +---- +19 values hashing to 95973221897dd8239e748cb04834188e + +query I rowsort x374 +SELECT CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END + FROM t1 + WHERE (c<=d-2 OR c>=d+2) + OR b>c + ORDER BY 1 +---- +19 values hashing to 95973221897dd8239e748cb04834188e + +query III rowsort x375 +SELECT abs(b-c), + abs(a), + a+b*2+c*3+d*4 + FROM t1 + WHERE c>d + OR a>b +---- +75 values hashing to c4c0451bbe21c32530175a6b4771b20d + +query III rowsort x375 +SELECT abs(b-c), + abs(a), + a+b*2+c*3+d*4 + FROM t1 + WHERE c>d + OR a>b + ORDER BY 2,1 +---- +75 values hashing to c4c0451bbe21c32530175a6b4771b20d + +query III rowsort x375 +SELECT abs(b-c), + abs(a), + a+b*2+c*3+d*4 + FROM t1 + WHERE a>b + OR c>d +---- +75 values hashing to c4c0451bbe21c32530175a6b4771b20d + +query III rowsort x375 +SELECT abs(b-c), + abs(a), + a+b*2+c*3+d*4 + FROM t1 + WHERE a>b + OR c>d + ORDER BY 2,3,1 +---- +75 values hashing to c4c0451bbe21c32530175a6b4771b20d + +query II rowsort x376 +SELECT b, + a+b*2+c*3+d*4+e*5 + FROM t1 + WHERE EXISTS(SELECT 1 FROM t1 AS x WHERE x.be +---- +22 values hashing to 1b1a4ed3e2cc298486d6232c92ea123d + +query II rowsort x376 +SELECT b, + a+b*2+c*3+d*4+e*5 + FROM t1 + WHERE EXISTS(SELECT 1 FROM t1 AS x WHERE x.be + ORDER BY 1,2 +---- +22 values hashing to 1b1a4ed3e2cc298486d6232c92ea123d + +query II rowsort x376 +SELECT b, + a+b*2+c*3+d*4+e*5 + FROM t1 + WHERE d>e + AND EXISTS(SELECT 1 FROM t1 AS x WHERE x.be + AND EXISTS(SELECT 1 FROM t1 AS x WHERE x.bb-2 AND ac OR eb-2 AND ac OR eb-2 AND ac OR eb-2 AND ac OR ec OR eb-2 AND ac OR eb-2 AND ac OR ec +---- +36 values hashing to 5da6112e69defbda6b432d8087c0cef0 + +query IIII rowsort x378 +SELECT a+b*2+c*3+d*4+e*5, + d, + a-b, + (a+b+c+d+e)/5 + FROM t1 + WHERE (e>c OR ec + ORDER BY 2,4,3 +---- +36 values hashing to 5da6112e69defbda6b432d8087c0cef0 + +query IIIIII rowsort x379 +SELECT a+b*2, + abs(a), + (SELECT count(*) FROM t1 AS x WHERE x.b=d+2) +---- +60 values hashing to f54c5084014bab5297db4be7e349c915 + +query IIIIII rowsort x379 +SELECT a+b*2, + abs(a), + (SELECT count(*) FROM t1 AS x WHERE x.b=d+2) + ORDER BY 3,4,2,5,1,6 +---- +60 values hashing to f54c5084014bab5297db4be7e349c915 + +query IIIIIII rowsort x380 +SELECT c-d, + CASE WHEN a(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END + FROM t1 + WHERE c BETWEEN b-2 AND d+2 +---- +90 values hashing to e07de53c370dbbe83225474f68b6d765 + +query IIIIII rowsort x381 +SELECT e, + d-e, + abs(b-c), + c, + CASE a+1 WHEN b THEN 111 WHEN c THEN 222 + WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, + CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END + FROM t1 + WHERE c BETWEEN b-2 AND d+2 + ORDER BY 1,4 +---- +90 values hashing to e07de53c370dbbe83225474f68b6d765 + +query IIII rowsort x382 +SELECT (SELECT count(*) FROM t1 AS x WHERE x.bt1.c AND x.db-2 AND at1.c AND x.db-2 AND at1.c AND x.db-2 AND at1.c AND x.db-2 AND a=d+2) + OR e+d BETWEEN a+b-10 AND c+130 + OR (e>c OR e=d+2) + OR e+d BETWEEN a+b-10 AND c+130 + OR (e>c OR e=d+2) + OR (e>c OR e=d+2) + OR (e>c OR ec OR e=d+2) +---- +92 values hashing to 7eeafa7a3807fccc9b73e72a4b93bc31 + +query IIII rowsort x386 +SELECT a+b*2+c*3+d*4, + (a+b+c+d+e)/5, + abs(b-c), + CASE WHEN ac OR e=d+2) + ORDER BY 3,4,2 +---- +92 values hashing to 7eeafa7a3807fccc9b73e72a4b93bc31 + +query IIIIIII rowsort x387 +SELECT (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.d(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + c + FROM t1 + WHERE (e>c OR et1.c AND x.d(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + c + FROM t1 + WHERE (e>c OR ee + OR (a>b-2 AND ae + OR (a>b-2 AND ab-2 AND ae +---- +16 values hashing to 22c25adf7bd218113a71af4a3991a638 + +query I rowsort x388 +SELECT c + FROM t1 + WHERE (a>b-2 AND ae + ORDER BY 1 +---- +16 values hashing to 22c25adf7bd218113a71af4a3991a638 + +query I rowsort x389 +SELECT e + FROM t1 + WHERE (a>b-2 AND ab-2 AND aa AND e=d+2) +---- +22 values hashing to 7771e6d165f91614cbc1d5b976de4da8 + +query II rowsort x390 +SELECT a+b*2+c*3, + d-e + FROM t1 + WHERE (e>a AND e=d+2) + ORDER BY 1,2 +---- +22 values hashing to 7771e6d165f91614cbc1d5b976de4da8 + +query II rowsort x390 +SELECT a+b*2+c*3, + d-e + FROM t1 + WHERE (c<=d-2 OR c>=d+2) + OR (e>a AND e=d+2) + OR (e>a AND ed +---- +66 values hashing to 0e5e006f2b6d0a931c6bba059b6d2c67 + +query III rowsort x392 +SELECT d, + c, + a+b*2+c*3+d*4 + FROM t1 + WHERE d NOT BETWEEN 110 AND 150 + OR c>d + ORDER BY 1,2,3 +---- +66 values hashing to 0e5e006f2b6d0a931c6bba059b6d2c67 + +query III rowsort x392 +SELECT d, + c, + a+b*2+c*3+d*4 + FROM t1 + WHERE c>d + OR d NOT BETWEEN 110 AND 150 +---- +66 values hashing to 0e5e006f2b6d0a931c6bba059b6d2c67 + +query III rowsort x392 +SELECT d, + c, + a+b*2+c*3+d*4 + FROM t1 + WHERE c>d + OR d NOT BETWEEN 110 AND 150 + ORDER BY 2,3,1 +---- +66 values hashing to 0e5e006f2b6d0a931c6bba059b6d2c67 + +query I rowsort x393 +SELECT (a+b+c+d+e)/5 + FROM t1 +---- +30 values hashing to 74b4b1d1e049d57b3610b70a67a1c32f + +query I rowsort x393 +SELECT (a+b+c+d+e)/5 + FROM t1 + ORDER BY 1 +---- +30 values hashing to 74b4b1d1e049d57b3610b70a67a1c32f + +query II rowsort x394 +SELECT CASE WHEN aa AND e=d+2) +---- +222 +-1 +222 +1 + +query II rowsort x394 +SELECT CASE WHEN aa AND e=d+2) + ORDER BY 1,2 +---- +222 +-1 +222 +1 + +query II rowsort x394 +SELECT CASE WHEN a=d+2) + AND (e>a AND e=d+2) + AND (e>a AND e=d+2) + AND EXISTS(SELECT 1 FROM t1 AS x WHERE x.ba AND e=d+2) + AND EXISTS(SELECT 1 FROM t1 AS x WHERE x.ba AND eb-2 AND ab-2 AND ab-2 AND ab-2 AND a=d+2) + AND d NOT BETWEEN 110 AND 150 +---- +24 values hashing to 9216376f4a9807e2185398d8d74076b0 + +query III rowsort x396 +SELECT c, + a, + a+b*2+c*3 + FROM t1 + WHERE (c<=d-2 OR c>=d+2) + AND d NOT BETWEEN 110 AND 150 + ORDER BY 3,2 +---- +24 values hashing to 9216376f4a9807e2185398d8d74076b0 + +query IIIIIII rowsort x397 +SELECT (SELECT count(*) FROM t1 AS x WHERE x.b(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END + FROM t1 + WHERE (c<=d-2 OR c>=d+2) + OR a>b + OR (a>b-2 AND a(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END + FROM t1 + WHERE (c<=d-2 OR c>=d+2) + OR a>b + OR (a>b-2 AND a(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END + FROM t1 + WHERE a>b + OR (c<=d-2 OR c>=d+2) + OR (a>b-2 AND a(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END + FROM t1 + WHERE a>b + OR (c<=d-2 OR c>=d+2) + OR (a>b-2 AND a(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END + FROM t1 + WHERE a>b + OR (a>b-2 AND a=d+2) +---- +168 values hashing to f3642d300b7a87ccfe2cd4bf73a7004d + +query IIIIIII rowsort x397 +SELECT (SELECT count(*) FROM t1 AS x WHERE x.b(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END + FROM t1 + WHERE a>b + OR (a>b-2 AND a=d+2) + ORDER BY 3,1,4,5,2,7 +---- +168 values hashing to f3642d300b7a87ccfe2cd4bf73a7004d + +query IIIIIII rowsort x397 +SELECT (SELECT count(*) FROM t1 AS x WHERE x.b(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END + FROM t1 + WHERE (a>b-2 AND a=d+2) + OR a>b +---- +168 values hashing to f3642d300b7a87ccfe2cd4bf73a7004d + +query IIIIIII rowsort x397 +SELECT (SELECT count(*) FROM t1 AS x WHERE x.b(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END + FROM t1 + WHERE (a>b-2 AND a=d+2) + OR a>b + ORDER BY 7,1 +---- +168 values hashing to f3642d300b7a87ccfe2cd4bf73a7004d + +query IIIIIII rowsort x398 +SELECT c, + a, + CASE WHEN ac + AND d NOT BETWEEN 110 AND 150 +---- +42 values hashing to f283e84994d04c83261c13fad2061bd1 + +query IIIIIII rowsort x398 +SELECT c, + a, + CASE WHEN ac + AND d NOT BETWEEN 110 AND 150 + ORDER BY 1,2,5,7,3,4,6 +---- +42 values hashing to f283e84994d04c83261c13fad2061bd1 + +query IIIIIII rowsort x398 +SELECT c, + a, + CASE WHEN ac +---- +42 values hashing to f283e84994d04c83261c13fad2061bd1 + +query IIIIIII rowsort x398 +SELECT c, + a, + CASE WHEN ac + ORDER BY 2,3,7,4,1 +---- +42 values hashing to f283e84994d04c83261c13fad2061bd1 + +query II rowsort x399 +SELECT abs(a), + b + FROM t1 + WHERE b>c +---- +26 values hashing to 82a4fb50dd6aa553926a6d4ec2774a55 + +query II rowsort x399 +SELECT abs(a), + b + FROM t1 + WHERE b>c + ORDER BY 2,1 +---- +26 values hashing to 82a4fb50dd6aa553926a6d4ec2774a55 + +query II rowsort x400 +SELECT CASE a+1 WHEN b THEN 111 WHEN c THEN 222 + WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, + (a+b+c+d+e)/5 + FROM t1 + WHERE EXISTS(SELECT 1 FROM t1 AS x WHERE x.ba AND ea AND ea AND ea AND ec + OR (c<=d-2 OR c>=d+2) + OR c BETWEEN b-2 AND d+2 +---- +48 values hashing to 64376dd8151d8a271afd6fbfd3904ec9 + +query II rowsort x401 +SELECT d, + CASE WHEN ac + OR (c<=d-2 OR c>=d+2) + OR c BETWEEN b-2 AND d+2 + ORDER BY 1,2 +---- +48 values hashing to 64376dd8151d8a271afd6fbfd3904ec9 + +query II rowsort x401 +SELECT d, + CASE WHEN ac + OR c BETWEEN b-2 AND d+2 + OR (c<=d-2 OR c>=d+2) +---- +48 values hashing to 64376dd8151d8a271afd6fbfd3904ec9 + +query II rowsort x401 +SELECT d, + CASE WHEN ac + OR c BETWEEN b-2 AND d+2 + OR (c<=d-2 OR c>=d+2) + ORDER BY 2,1 +---- +48 values hashing to 64376dd8151d8a271afd6fbfd3904ec9 + +query II rowsort x401 +SELECT d, + CASE WHEN a=d+2) + OR c BETWEEN b-2 AND d+2 + OR b>c +---- +48 values hashing to 64376dd8151d8a271afd6fbfd3904ec9 + +query II rowsort x401 +SELECT d, + CASE WHEN a=d+2) + OR c BETWEEN b-2 AND d+2 + OR b>c + ORDER BY 2,1 +---- +48 values hashing to 64376dd8151d8a271afd6fbfd3904ec9 + +query I rowsort x402 +SELECT c + FROM t1 + WHERE (a>b-2 AND ab-2 AND ab-2 AND ab-2 AND a(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + (SELECT count(*) FROM t1 AS x WHERE x.bt1.c AND x.db-2 AND ac + OR (c<=d-2 OR c>=d+2) +---- +126 values hashing to a02687520314ff075ab8bb20ad78dc8b + +query IIIIII rowsort x403 +SELECT CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + (SELECT count(*) FROM t1 AS x WHERE x.bt1.c AND x.db-2 AND ac + OR (c<=d-2 OR c>=d+2) + ORDER BY 6,3,1 +---- +126 values hashing to a02687520314ff075ab8bb20ad78dc8b + +query IIIIII rowsort x403 +SELECT CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + (SELECT count(*) FROM t1 AS x WHERE x.bt1.c AND x.dc + OR (a>b-2 AND a=d+2) +---- +126 values hashing to a02687520314ff075ab8bb20ad78dc8b + +query IIIIII rowsort x403 +SELECT CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + (SELECT count(*) FROM t1 AS x WHERE x.bt1.c AND x.dc + OR (a>b-2 AND a=d+2) + ORDER BY 2,6,4,3,1,5 +---- +126 values hashing to a02687520314ff075ab8bb20ad78dc8b + +query IIIIII rowsort x403 +SELECT CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + (SELECT count(*) FROM t1 AS x WHERE x.bt1.c AND x.db-2 AND a=d+2) + OR b>c +---- +126 values hashing to a02687520314ff075ab8bb20ad78dc8b + +query IIIIII rowsort x403 +SELECT CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + (SELECT count(*) FROM t1 AS x WHERE x.bt1.c AND x.db-2 AND a=d+2) + OR b>c + ORDER BY 2,4,5,3,6 +---- +126 values hashing to a02687520314ff075ab8bb20ad78dc8b + +query IIIIII rowsort x404 +SELECT a+b*2+c*3+d*4+e*5, + c-d, + CASE WHEN ab + AND (e>a AND eb + AND (e>a AND e(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + a + FROM t1 + WHERE d NOT BETWEEN 110 AND 150 + OR EXISTS(SELECT 1 FROM t1 AS x WHERE x.b(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + a + FROM t1 + WHERE d NOT BETWEEN 110 AND 150 + OR EXISTS(SELECT 1 FROM t1 AS x WHERE x.bt1.c AND x.da AND eb-2 AND at1.c AND x.da AND eb-2 AND a(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + b, + a-b, + CASE WHEN a(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + b, + a-b, + CASE WHEN at1.c AND x.dt1.c AND x.da AND ea AND e(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END + FROM t1 + WHERE d NOT BETWEEN 110 AND 150 + AND (e>a AND e(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END + FROM t1 + WHERE d NOT BETWEEN 110 AND 150 + AND (e>a AND e(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END + FROM t1 + WHERE (e>a AND e(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END + FROM t1 + WHERE (e>a AND e(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END + FROM t1 +---- +150 values hashing to 597fcab4085e4e5afa17f258fc54a550 + +query IIIII rowsort x414 +SELECT abs(b-c), + b-c, + c-d, + a+b*2+c*3+d*4, + CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END + FROM t1 + ORDER BY 1,4,2,5 +---- +150 values hashing to 597fcab4085e4e5afa17f258fc54a550 + +query III rowsort x415 +SELECT b-c, + c, + CASE a+1 WHEN b THEN 111 WHEN c THEN 222 + WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END + FROM t1 + WHERE (a>b-2 AND ac OR eb-2 AND ac OR ec OR eb-2 AND ac OR eb-2 AND ab-2 AND ab-2 AND aa AND ea AND ea AND ea AND ec +---- +65 values hashing to ff90a655b6029f653cd5895fca7421dd + +query IIIII rowsort x418 +SELECT (SELECT count(*) FROM t1 AS x WHERE x.bc + ORDER BY 4,2,5 +---- +65 values hashing to ff90a655b6029f653cd5895fca7421dd + +query IIIIIII rowsort x419 +SELECT (a+b+c+d+e)/5, + a+b*2+c*3, + a+b*2+c*3+d*4+e*5, + (SELECT count(*) FROM t1 AS x WHERE x.bt1.c AND x.da AND et1.c AND x.da AND eb-2 AND ab +---- +19 values hashing to b9dfd9f7189c9f709aacb42c2b916f5a + +query I rowsort x420 +SELECT e + FROM t1 + WHERE (a>b-2 AND ab + ORDER BY 1 +---- +19 values hashing to b9dfd9f7189c9f709aacb42c2b916f5a + +query I rowsort x420 +SELECT e + FROM t1 + WHERE a>b + OR (a>b-2 AND ab + OR (a>b-2 AND ab + OR d>e + OR c BETWEEN b-2 AND d+2 +---- +25 values hashing to 7f750fc69a9dd4473b56b4b994a5bea5 + +query I rowsort x421 +SELECT c-d + FROM t1 + WHERE a>b + OR d>e + OR c BETWEEN b-2 AND d+2 + ORDER BY 1 +---- +25 values hashing to 7f750fc69a9dd4473b56b4b994a5bea5 + +query I rowsort x421 +SELECT c-d + FROM t1 + WHERE c BETWEEN b-2 AND d+2 + OR d>e + OR a>b +---- +25 values hashing to 7f750fc69a9dd4473b56b4b994a5bea5 + +query I rowsort x421 +SELECT c-d + FROM t1 + WHERE c BETWEEN b-2 AND d+2 + OR d>e + OR a>b + ORDER BY 1 +---- +25 values hashing to 7f750fc69a9dd4473b56b4b994a5bea5 + +query I rowsort x421 +SELECT c-d + FROM t1 + WHERE a>b + OR c BETWEEN b-2 AND d+2 + OR d>e +---- +25 values hashing to 7f750fc69a9dd4473b56b4b994a5bea5 + +query I rowsort x421 +SELECT c-d + FROM t1 + WHERE a>b + OR c BETWEEN b-2 AND d+2 + OR d>e + ORDER BY 1 +---- +25 values hashing to 7f750fc69a9dd4473b56b4b994a5bea5 + +query I rowsort x422 +SELECT a+b*2+c*3+d*4 + FROM t1 +---- +30 values hashing to fd6d6825820cf653aceb2d72af4a5983 + +query I rowsort x422 +SELECT a+b*2+c*3+d*4 + FROM t1 + ORDER BY 1 +---- +30 values hashing to fd6d6825820cf653aceb2d72af4a5983 + +query IIIII rowsort x423 +SELECT c, + (SELECT count(*) FROM t1 AS x WHERE x.b(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END + FROM t1 + WHERE d>e +---- +66 values hashing to 5d035933803dd1c0ade45030c603f484 + +query IIIIII rowsort x424 +SELECT abs(a), + (a+b+c+d+e)/5, + a+b*2+c*3+d*4+e*5, + CASE a+1 WHEN b THEN 111 WHEN c THEN 222 + WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, + (SELECT count(*) FROM t1 AS x WHERE x.b(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END + FROM t1 + WHERE d>e + ORDER BY 2,4,5,1,3 +---- +66 values hashing to 5d035933803dd1c0ade45030c603f484 + +query IIIIIII rowsort x425 +SELECT abs(b-c), + b-c, + a+b*2+c*3, + a-b, + e, + a+b*2, + CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END + FROM t1 + WHERE e+d BETWEEN a+b-10 AND c+130 + OR (e>c OR e(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END + FROM t1 + WHERE e+d BETWEEN a+b-10 AND c+130 + OR (e>c OR e(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END + FROM t1 + WHERE (e>c OR e(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END + FROM t1 + WHERE (e>c OR ec + AND (e>c OR ec + AND (e>c OR ec OR ec + AND EXISTS(SELECT 1 FROM t1 AS x WHERE x.bc OR ec + AND EXISTS(SELECT 1 FROM t1 AS x WHERE x.bc OR ec +---- +18 values hashing to e18fbd84f978f4686ff46e6767805336 + +query II rowsort x427 +SELECT CASE a+1 WHEN b THEN 111 WHEN c THEN 222 + WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, + c + FROM t1 + WHERE EXISTS(SELECT 1 FROM t1 AS x WHERE x.bc OR ec + ORDER BY 1,2 +---- +18 values hashing to e18fbd84f978f4686ff46e6767805336 + +query II rowsort x427 +SELECT CASE a+1 WHEN b THEN 111 WHEN c THEN 222 + WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, + c + FROM t1 + WHERE (e>c OR ec +---- +18 values hashing to e18fbd84f978f4686ff46e6767805336 + +query II rowsort x427 +SELECT CASE a+1 WHEN b THEN 111 WHEN c THEN 222 + WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, + c + FROM t1 + WHERE (e>c OR ec + ORDER BY 1,2 +---- +18 values hashing to e18fbd84f978f4686ff46e6767805336 + +query IIIIII rowsort x428 +SELECT abs(a), + b-c, + a, + d-e, + a+b*2, + CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END + FROM t1 + WHERE d NOT BETWEEN 110 AND 150 +---- +102 values hashing to 3be3307b0e0eb44f8b0f04f87f4143a1 + +query IIIIII rowsort x428 +SELECT abs(a), + b-c, + a, + d-e, + a+b*2, + CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END + FROM t1 + WHERE d NOT BETWEEN 110 AND 150 + ORDER BY 5,4,3,6,2,1 +---- +102 values hashing to 3be3307b0e0eb44f8b0f04f87f4143a1 + +query II rowsort x429 +SELECT e, + abs(b-c) + FROM t1 + WHERE (a>b-2 AND ac +---- +30 values hashing to cb35c15d7e6b47bea3efc0c18a1204e9 + +query II rowsort x429 +SELECT e, + abs(b-c) + FROM t1 + WHERE (a>b-2 AND ac + ORDER BY 1,2 +---- +30 values hashing to cb35c15d7e6b47bea3efc0c18a1204e9 + +query II rowsort x429 +SELECT e, + abs(b-c) + FROM t1 + WHERE b>c + OR (a>b-2 AND ac + OR (a>b-2 AND ac + OR e+d BETWEEN a+b-10 AND c+130 +---- +28 values hashing to dacd5810c0d7ccff31f735ce660f8e90 + +query II rowsort x431 +SELECT CASE a+1 WHEN b THEN 111 WHEN c THEN 222 + WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, + d-e + FROM t1 + WHERE b>c + OR e+d BETWEEN a+b-10 AND c+130 + ORDER BY 2,1 +---- +28 values hashing to dacd5810c0d7ccff31f735ce660f8e90 + +query II rowsort x431 +SELECT CASE a+1 WHEN b THEN 111 WHEN c THEN 222 + WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, + d-e + FROM t1 + WHERE e+d BETWEEN a+b-10 AND c+130 + OR b>c +---- +28 values hashing to dacd5810c0d7ccff31f735ce660f8e90 + +query II rowsort x431 +SELECT CASE a+1 WHEN b THEN 111 WHEN c THEN 222 + WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, + d-e + FROM t1 + WHERE e+d BETWEEN a+b-10 AND c+130 + OR b>c + ORDER BY 1,2 +---- +28 values hashing to dacd5810c0d7ccff31f735ce660f8e90 + +query IIIIIII rowsort x432 +SELECT c-d, + (SELECT count(*) FROM t1 AS x WHERE x.ba AND ea AND eb +---- +34 values hashing to a1b967905b56cc832158ad15962a643c + +query II rowsort x433 +SELECT d, + c + FROM t1 + WHERE a>b + ORDER BY 2,1 +---- +34 values hashing to a1b967905b56cc832158ad15962a643c + +query III rowsort x434 +SELECT CASE a+1 WHEN b THEN 111 WHEN c THEN 222 + WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, + e, + d-e + FROM t1 + WHERE (a>b-2 AND ad + OR a>b +---- +75 values hashing to 241dcbe326d0c1903875caff29d3f486 + +query III rowsort x434 +SELECT CASE a+1 WHEN b THEN 111 WHEN c THEN 222 + WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, + e, + d-e + FROM t1 + WHERE (a>b-2 AND ad + OR a>b + ORDER BY 3,2 +---- +75 values hashing to 241dcbe326d0c1903875caff29d3f486 + +query III rowsort x434 +SELECT CASE a+1 WHEN b THEN 111 WHEN c THEN 222 + WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, + e, + d-e + FROM t1 + WHERE (a>b-2 AND ab + OR c>d +---- +75 values hashing to 241dcbe326d0c1903875caff29d3f486 + +query III rowsort x434 +SELECT CASE a+1 WHEN b THEN 111 WHEN c THEN 222 + WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, + e, + d-e + FROM t1 + WHERE (a>b-2 AND ab + OR c>d + ORDER BY 2,1 +---- +75 values hashing to 241dcbe326d0c1903875caff29d3f486 + +query III rowsort x434 +SELECT CASE a+1 WHEN b THEN 111 WHEN c THEN 222 + WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, + e, + d-e + FROM t1 + WHERE a>b + OR (a>b-2 AND ad +---- +75 values hashing to 241dcbe326d0c1903875caff29d3f486 + +query III rowsort x434 +SELECT CASE a+1 WHEN b THEN 111 WHEN c THEN 222 + WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, + e, + d-e + FROM t1 + WHERE a>b + OR (a>b-2 AND ad + ORDER BY 2,1,3 +---- +75 values hashing to 241dcbe326d0c1903875caff29d3f486 + +query II rowsort x435 +SELECT e, + abs(b-c) + FROM t1 + WHERE b>c + OR c BETWEEN b-2 AND d+2 +---- +46 values hashing to cabfa8d4539ca6b4f80fa6163c666cce + +query II rowsort x435 +SELECT e, + abs(b-c) + FROM t1 + WHERE b>c + OR c BETWEEN b-2 AND d+2 + ORDER BY 2,1 +---- +46 values hashing to cabfa8d4539ca6b4f80fa6163c666cce + +query II rowsort x436 +SELECT b-c, + a+b*2+c*3+d*4 + FROM t1 + WHERE d NOT BETWEEN 110 AND 150 + AND e+d BETWEEN a+b-10 AND c+130 +---- +-1 +1067 + +query II rowsort x436 +SELECT b-c, + a+b*2+c*3+d*4 + FROM t1 + WHERE d NOT BETWEEN 110 AND 150 + AND e+d BETWEEN a+b-10 AND c+130 + ORDER BY 2,1 +---- +-1 +1067 + +query IIII rowsort x437 +SELECT c, + a-b, + b-c, + (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.da AND ee + AND c BETWEEN b-2 AND d+2 +---- +224 +-3 +-1 +0 +247 +-4 +2 +0 + +query IIII rowsort x437 +SELECT c, + a-b, + b-c, + (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.da AND ee + AND c BETWEEN b-2 AND d+2 + ORDER BY 3,2,4,1 +---- +224 +-3 +-1 +0 +247 +-4 +2 +0 + +query IIII rowsort x437 +SELECT c, + a-b, + b-c, + (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.da AND ee +---- +224 +-3 +-1 +0 +247 +-4 +2 +0 + +query IIII rowsort x437 +SELECT c, + a-b, + b-c, + (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.da AND ee + ORDER BY 4,2,3 +---- +224 +-3 +-1 +0 +247 +-4 +2 +0 + +query IIII rowsort x437 +SELECT c, + a-b, + b-c, + (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.da AND ee +---- +224 +-3 +-1 +0 +247 +-4 +2 +0 + +query IIII rowsort x437 +SELECT c, + a-b, + b-c, + (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.da AND ee + ORDER BY 3,2,1,4 +---- +224 +-3 +-1 +0 +247 +-4 +2 +0 + +query IIIIII rowsort x438 +SELECT d, + CASE WHEN at1.c AND x.d=d+2) +---- +168 values hashing to e31984607cdf6ff4640d14d3d9473720 + +query IIIIII rowsort x438 +SELECT d, + CASE WHEN at1.c AND x.d=d+2) + ORDER BY 2,5,6,1,3,4 +---- +168 values hashing to e31984607cdf6ff4640d14d3d9473720 + +query IIII rowsort x439 +SELECT a+b*2+c*3, + CASE a+1 WHEN b THEN 111 WHEN c THEN 222 + WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, + (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.d=d+2) + OR c>d + OR d>e +---- +84 values hashing to 7b429b731ffc2d6828c13b5243bbfe2d + +query IIII rowsort x439 +SELECT a+b*2+c*3, + CASE a+1 WHEN b THEN 111 WHEN c THEN 222 + WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, + (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.d=d+2) + OR c>d + OR d>e + ORDER BY 1,4,2,3 +---- +84 values hashing to 7b429b731ffc2d6828c13b5243bbfe2d + +query IIII rowsort x439 +SELECT a+b*2+c*3, + CASE a+1 WHEN b THEN 111 WHEN c THEN 222 + WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, + (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.de + OR c>d + OR (c<=d-2 OR c>=d+2) +---- +84 values hashing to 7b429b731ffc2d6828c13b5243bbfe2d + +query IIII rowsort x439 +SELECT a+b*2+c*3, + CASE a+1 WHEN b THEN 111 WHEN c THEN 222 + WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, + (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.de + OR c>d + OR (c<=d-2 OR c>=d+2) + ORDER BY 1,3 +---- +84 values hashing to 7b429b731ffc2d6828c13b5243bbfe2d + +query IIIII rowsort x440 +SELECT d, + c-d, + c, + abs(a), + a-b + FROM t1 + WHERE b>c + AND a>b + AND c>d +---- + +query IIIII rowsort x440 +SELECT d, + c-d, + c, + abs(a), + a-b + FROM t1 + WHERE b>c + AND a>b + AND c>d + ORDER BY 1,4,2 +---- + +query IIIII rowsort x440 +SELECT d, + c-d, + c, + abs(a), + a-b + FROM t1 + WHERE b>c + AND c>d + AND a>b +---- + +query IIIII rowsort x440 +SELECT d, + c-d, + c, + abs(a), + a-b + FROM t1 + WHERE b>c + AND c>d + AND a>b + ORDER BY 2,1,5 +---- + +query IIIII rowsort x440 +SELECT d, + c-d, + c, + abs(a), + a-b + FROM t1 + WHERE c>d + AND a>b + AND b>c +---- + +query IIIII rowsort x440 +SELECT d, + c-d, + c, + abs(a), + a-b + FROM t1 + WHERE c>d + AND a>b + AND b>c + ORDER BY 4,5,1,2,3 +---- + +query II rowsort x441 +SELECT a-b, + c + FROM t1 +---- +60 values hashing to 6e429924a0921c1dece0ca0dbe37acdf + +query II rowsort x441 +SELECT a-b, + c + FROM t1 + ORDER BY 2,1 +---- +60 values hashing to 6e429924a0921c1dece0ca0dbe37acdf + +query I rowsort x442 +SELECT e + FROM t1 + WHERE b>c + AND d NOT BETWEEN 110 AND 150 + AND a>b +---- +197 +227 +230 + +query I rowsort x442 +SELECT e + FROM t1 + WHERE b>c + AND d NOT BETWEEN 110 AND 150 + AND a>b + ORDER BY 1 +---- +197 +227 +230 + +query I rowsort x442 +SELECT e + FROM t1 + WHERE b>c + AND a>b + AND d NOT BETWEEN 110 AND 150 +---- +197 +227 +230 + +query I rowsort x442 +SELECT e + FROM t1 + WHERE b>c + AND a>b + AND d NOT BETWEEN 110 AND 150 + ORDER BY 1 +---- +197 +227 +230 + +query III rowsort x443 +SELECT a+b*2, + a+b*2+c*3+d*4, + a+b*2+c*3 + FROM t1 + WHERE c BETWEEN b-2 AND d+2 + AND d NOT BETWEEN 110 AND 150 + AND a>b +---- +21 values hashing to 46fba0cfd195e857073f018503f70144 + +query III rowsort x443 +SELECT a+b*2, + a+b*2+c*3+d*4, + a+b*2+c*3 + FROM t1 + WHERE c BETWEEN b-2 AND d+2 + AND d NOT BETWEEN 110 AND 150 + AND a>b + ORDER BY 1,3 +---- +21 values hashing to 46fba0cfd195e857073f018503f70144 + +query III rowsort x443 +SELECT a+b*2, + a+b*2+c*3+d*4, + a+b*2+c*3 + FROM t1 + WHERE d NOT BETWEEN 110 AND 150 + AND a>b + AND c BETWEEN b-2 AND d+2 +---- +21 values hashing to 46fba0cfd195e857073f018503f70144 + +query III rowsort x443 +SELECT a+b*2, + a+b*2+c*3+d*4, + a+b*2+c*3 + FROM t1 + WHERE d NOT BETWEEN 110 AND 150 + AND a>b + AND c BETWEEN b-2 AND d+2 + ORDER BY 3,2,1 +---- +21 values hashing to 46fba0cfd195e857073f018503f70144 + +query III rowsort x443 +SELECT a+b*2, + a+b*2+c*3+d*4, + a+b*2+c*3 + FROM t1 + WHERE d NOT BETWEEN 110 AND 150 + AND c BETWEEN b-2 AND d+2 + AND a>b +---- +21 values hashing to 46fba0cfd195e857073f018503f70144 + +query III rowsort x443 +SELECT a+b*2, + a+b*2+c*3+d*4, + a+b*2+c*3 + FROM t1 + WHERE d NOT BETWEEN 110 AND 150 + AND c BETWEEN b-2 AND d+2 + AND a>b + ORDER BY 1,2,3 +---- +21 values hashing to 46fba0cfd195e857073f018503f70144 + +query IIIII rowsort x444 +SELECT abs(a), + a+b*2, + d, + CASE a+1 WHEN b THEN 111 WHEN c THEN 222 + WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, + CASE WHEN ab-2 AND ac +---- +30 values hashing to ff7a47e2effec928f49caa98e41fbf53 + +query IIIII rowsort x444 +SELECT abs(a), + a+b*2, + d, + CASE a+1 WHEN b THEN 111 WHEN c THEN 222 + WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, + CASE WHEN ab-2 AND ac + ORDER BY 5,3,2,4,1 +---- +30 values hashing to ff7a47e2effec928f49caa98e41fbf53 + +query IIIII rowsort x444 +SELECT abs(a), + a+b*2, + d, + CASE a+1 WHEN b THEN 111 WHEN c THEN 222 + WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, + CASE WHEN ac + AND (a>b-2 AND ac + AND (a>b-2 AND aa AND ea AND ea AND ea AND ec +---- +39 values hashing to 96d628587b05021711e636831fb1226e + +query III rowsort x446 +SELECT c, + a+b*2+c*3, + d + FROM t1 + WHERE b>c + ORDER BY 1,2 +---- +39 values hashing to 96d628587b05021711e636831fb1226e + +query III rowsort x447 +SELECT a+b*2+c*3+d*4, + e, + c-d + FROM t1 +---- +90 values hashing to ff40c38c1c2a4e69dc1ecb22894659f8 + +query III rowsort x447 +SELECT a+b*2+c*3+d*4, + e, + c-d + FROM t1 + ORDER BY 3,2 +---- +90 values hashing to ff40c38c1c2a4e69dc1ecb22894659f8 + +query II rowsort x448 +SELECT (SELECT count(*) FROM t1 AS x WHERE x.bb-2 AND ab-2 AND ab-2 AND ab-2 AND ad + AND a>b + AND d>e +---- +18 values hashing to 17c53007ab36ea380c2c286e078e5d87 + +query IIIIII rowsort x450 +SELECT a-b, + a+b*2+c*3+d*4, + CASE WHEN ad + AND a>b + AND d>e + ORDER BY 4,6,1 +---- +18 values hashing to 17c53007ab36ea380c2c286e078e5d87 + +query IIIIII rowsort x450 +SELECT a-b, + a+b*2+c*3+d*4, + CASE WHEN ab + AND d>e + AND c>d +---- +18 values hashing to 17c53007ab36ea380c2c286e078e5d87 + +query IIIIII rowsort x450 +SELECT a-b, + a+b*2+c*3+d*4, + CASE WHEN ab + AND d>e + AND c>d + ORDER BY 5,1,4,6,3,2 +---- +18 values hashing to 17c53007ab36ea380c2c286e078e5d87 + +query IIIIII rowsort x450 +SELECT a-b, + a+b*2+c*3+d*4, + CASE WHEN ad + AND d>e + AND a>b +---- +18 values hashing to 17c53007ab36ea380c2c286e078e5d87 + +query IIIIII rowsort x450 +SELECT a-b, + a+b*2+c*3+d*4, + CASE WHEN ad + AND d>e + AND a>b + ORDER BY 1,4,5 +---- +18 values hashing to 17c53007ab36ea380c2c286e078e5d87 + +query IIII rowsort x451 +SELECT c-d, + (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.dt1.c AND x.d=d+2) +---- +20 values hashing to 92db286438e1a83f0e6c91f86f4c49fd + +query II rowsort x452 +SELECT a-b, + a+b*2+c*3 + FROM t1 + WHERE e+d BETWEEN a+b-10 AND c+130 + OR (c<=d-2 OR c>=d+2) + ORDER BY 1,2 +---- +20 values hashing to 92db286438e1a83f0e6c91f86f4c49fd + +query II rowsort x452 +SELECT a-b, + a+b*2+c*3 + FROM t1 + WHERE (c<=d-2 OR c>=d+2) + OR e+d BETWEEN a+b-10 AND c+130 +---- +20 values hashing to 92db286438e1a83f0e6c91f86f4c49fd + +query II rowsort x452 +SELECT a-b, + a+b*2+c*3 + FROM t1 + WHERE (c<=d-2 OR c>=d+2) + OR e+d BETWEEN a+b-10 AND c+130 + ORDER BY 1,2 +---- +20 values hashing to 92db286438e1a83f0e6c91f86f4c49fd + +query II rowsort x453 +SELECT (SELECT count(*) FROM t1 AS x WHERE x.be +---- +22 values hashing to 5a69bb44147ee819d934f1d387083d8a + +query II rowsort x453 +SELECT (SELECT count(*) FROM t1 AS x WHERE x.be + ORDER BY 1,2 +---- +22 values hashing to 5a69bb44147ee819d934f1d387083d8a + +query I rowsort x454 +SELECT d + FROM t1 +---- +30 values hashing to 169a721efb38857a8de46fcd1500025a + +query I rowsort x454 +SELECT d + FROM t1 + ORDER BY 1 +---- +30 values hashing to 169a721efb38857a8de46fcd1500025a + +query II rowsort x455 +SELECT c-d, + CASE a+1 WHEN b THEN 111 WHEN c THEN 222 + WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END + FROM t1 + WHERE EXISTS(SELECT 1 FROM t1 AS x WHERE x.ba AND eb +---- + +query IIIIIII rowsort x456 +SELECT a, + d-e, + c-d, + (SELECT count(*) FROM t1 AS x WHERE x.ba AND eb + ORDER BY 3,5,4,7,6 +---- + +query IIIIIII rowsort x456 +SELECT a, + d-e, + c-d, + (SELECT count(*) FROM t1 AS x WHERE x.ba AND eb + AND d NOT BETWEEN 110 AND 150 +---- + +query IIIIIII rowsort x456 +SELECT a, + d-e, + c-d, + (SELECT count(*) FROM t1 AS x WHERE x.ba AND eb + AND d NOT BETWEEN 110 AND 150 + ORDER BY 5,6,3,1,4,7,2 +---- + +query IIIIIII rowsort x456 +SELECT a, + d-e, + c-d, + (SELECT count(*) FROM t1 AS x WHERE x.bb + AND d NOT BETWEEN 110 AND 150 + AND (e>a AND eb + AND d NOT BETWEEN 110 AND 150 + AND (e>a AND eb + AND (e>a AND eb + AND (e>a AND ee + OR d NOT BETWEEN 110 AND 150 + OR c>d +---- +24 values hashing to 23f1fc77fb5b86515652f9873b16e3d5 + +query I rowsort x457 +SELECT abs(a) + FROM t1 + WHERE d>e + OR d NOT BETWEEN 110 AND 150 + OR c>d + ORDER BY 1 +---- +24 values hashing to 23f1fc77fb5b86515652f9873b16e3d5 + +query I rowsort x457 +SELECT abs(a) + FROM t1 + WHERE d>e + OR c>d + OR d NOT BETWEEN 110 AND 150 +---- +24 values hashing to 23f1fc77fb5b86515652f9873b16e3d5 + +query I rowsort x457 +SELECT abs(a) + FROM t1 + WHERE d>e + OR c>d + OR d NOT BETWEEN 110 AND 150 + ORDER BY 1 +---- +24 values hashing to 23f1fc77fb5b86515652f9873b16e3d5 + +query I rowsort x457 +SELECT abs(a) + FROM t1 + WHERE c>d + OR d>e + OR d NOT BETWEEN 110 AND 150 +---- +24 values hashing to 23f1fc77fb5b86515652f9873b16e3d5 + +query I rowsort x457 +SELECT abs(a) + FROM t1 + WHERE c>d + OR d>e + OR d NOT BETWEEN 110 AND 150 + ORDER BY 1 +---- +24 values hashing to 23f1fc77fb5b86515652f9873b16e3d5 + +query II rowsort x458 +SELECT a+b*2, + a+b*2+c*3+d*4 + FROM t1 + WHERE c BETWEEN b-2 AND d+2 + OR (c<=d-2 OR c>=d+2) + OR (e>c OR e=d+2) + OR (e>c OR ec OR e=d+2) + OR c BETWEEN b-2 AND d+2 +---- +50 values hashing to dcd5b5784df088d48900687d4319f5c1 + +query II rowsort x458 +SELECT a+b*2, + a+b*2+c*3+d*4 + FROM t1 + WHERE (e>c OR e=d+2) + OR c BETWEEN b-2 AND d+2 + ORDER BY 1,2 +---- +50 values hashing to dcd5b5784df088d48900687d4319f5c1 + +query II rowsort x458 +SELECT a+b*2, + a+b*2+c*3+d*4 + FROM t1 + WHERE (c<=d-2 OR c>=d+2) + OR (e>c OR e=d+2) + OR (e>c OR ec + AND c BETWEEN b-2 AND d+2 + AND (e>a AND ec + AND c BETWEEN b-2 AND d+2 + AND (e>a AND ea AND ec +---- +2 +743 +111 +246 +26 + +query IIIII rowsort x459 +SELECT d-e, + a+b*2, + CASE WHEN aa AND ec + ORDER BY 1,2 +---- +2 +743 +111 +246 +26 + +query IIIII rowsort x459 +SELECT d-e, + a+b*2, + CASE WHEN aa AND ec + AND c BETWEEN b-2 AND d+2 +---- +2 +743 +111 +246 +26 + +query IIIII rowsort x459 +SELECT d-e, + a+b*2, + CASE WHEN aa AND ec + AND c BETWEEN b-2 AND d+2 + ORDER BY 1,2,5 +---- +2 +743 +111 +246 +26 + +query IIIII rowsort x459 +SELECT d-e, + a+b*2, + CASE WHEN ac + AND (e>a AND ec + AND (e>a AND eb + AND (e>c OR e=d+2) +---- +15 values hashing to 20cea9b1e26190fa19ea3589c0dee2ba + +query III rowsort x460 +SELECT CASE WHEN ab + AND (e>c OR e=d+2) + ORDER BY 2,3 +---- +15 values hashing to 20cea9b1e26190fa19ea3589c0dee2ba + +query III rowsort x460 +SELECT CASE WHEN a=d+2) + AND a>b + AND (e>c OR e=d+2) + AND a>b + AND (e>c OR ec OR e=d+2) + AND a>b +---- +15 values hashing to 20cea9b1e26190fa19ea3589c0dee2ba + +query III rowsort x460 +SELECT CASE WHEN ac OR e=d+2) + AND a>b + ORDER BY 2,1 +---- +15 values hashing to 20cea9b1e26190fa19ea3589c0dee2ba + +query III rowsort x460 +SELECT CASE WHEN ac OR eb + AND (c<=d-2 OR c>=d+2) +---- +15 values hashing to 20cea9b1e26190fa19ea3589c0dee2ba + +query III rowsort x460 +SELECT CASE WHEN ac OR eb + AND (c<=d-2 OR c>=d+2) + ORDER BY 1,2 +---- +15 values hashing to 20cea9b1e26190fa19ea3589c0dee2ba + +query IIIIIII rowsort x461 +SELECT e, + CASE WHEN ab-2 AND ac OR eb-2 AND ac OR eb-2 AND ac OR eb-2 AND ac OR ec OR eb-2 AND ac OR eb-2 AND ac OR ec OR et1.c AND x.d=d+2) + AND c>d +---- +20 values hashing to e5b274399969a4489a0918946194021c + +query IIII rowsort x463 +SELECT a-b, + (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.d=d+2) + AND c>d + ORDER BY 4,2,3,1 +---- +20 values hashing to e5b274399969a4489a0918946194021c + +query IIII rowsort x463 +SELECT a-b, + (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.dd + AND (c<=d-2 OR c>=d+2) +---- +20 values hashing to e5b274399969a4489a0918946194021c + +query IIII rowsort x463 +SELECT a-b, + (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.dd + AND (c<=d-2 OR c>=d+2) + ORDER BY 3,4,2,1 +---- +20 values hashing to e5b274399969a4489a0918946194021c + +query IIIIII rowsort x464 +SELECT a, + a+b*2+c*3+d*4, + (a+b+c+d+e)/5, + CASE WHEN ad + AND (e>c OR ed + AND (e>c OR ec OR ed +---- +48 values hashing to ca3c93506e17359073b5710039fd37ae + +query IIIIII rowsort x464 +SELECT a, + a+b*2+c*3+d*4, + (a+b+c+d+e)/5, + CASE WHEN ac OR ed + ORDER BY 6,1,2,5,3,4 +---- +48 values hashing to ca3c93506e17359073b5710039fd37ae + +query III rowsort x465 +SELECT b, + b-c, + a+b*2+c*3+d*4+e*5 + FROM t1 + WHERE (c<=d-2 OR c>=d+2) + AND d>e + AND (a>b-2 AND a=d+2) + AND d>e + AND (a>b-2 AND ab-2 AND ae + AND (c<=d-2 OR c>=d+2) +---- + +query III rowsort x465 +SELECT b, + b-c, + a+b*2+c*3+d*4+e*5 + FROM t1 + WHERE (a>b-2 AND ae + AND (c<=d-2 OR c>=d+2) + ORDER BY 2,1 +---- + +query III rowsort x465 +SELECT b, + b-c, + a+b*2+c*3+d*4+e*5 + FROM t1 + WHERE d>e + AND (a>b-2 AND a=d+2) +---- + +query III rowsort x465 +SELECT b, + b-c, + a+b*2+c*3+d*4+e*5 + FROM t1 + WHERE d>e + AND (a>b-2 AND a=d+2) + ORDER BY 3,1,2 +---- + +query IIIII rowsort x466 +SELECT abs(a), + abs(b-c), + d-e, + CASE WHEN at1.c AND x.dd + AND b>c + AND e+d BETWEEN a+b-10 AND c+130 +---- + +query IIIII rowsort x466 +SELECT abs(a), + abs(b-c), + d-e, + CASE WHEN at1.c AND x.dd + AND b>c + AND e+d BETWEEN a+b-10 AND c+130 + ORDER BY 1,4,2 +---- + +query IIIII rowsort x466 +SELECT abs(a), + abs(b-c), + d-e, + CASE WHEN at1.c AND x.dd + AND b>c +---- + +query IIIII rowsort x466 +SELECT abs(a), + abs(b-c), + d-e, + CASE WHEN at1.c AND x.dd + AND b>c + ORDER BY 3,5 +---- + +query IIIII rowsort x466 +SELECT abs(a), + abs(b-c), + d-e, + CASE WHEN at1.c AND x.dc + AND c>d + AND e+d BETWEEN a+b-10 AND c+130 +---- + +query IIIII rowsort x466 +SELECT abs(a), + abs(b-c), + d-e, + CASE WHEN at1.c AND x.dc + AND c>d + AND e+d BETWEEN a+b-10 AND c+130 + ORDER BY 4,3,1,2 +---- + +query IIIII rowsort x467 +SELECT a-b, + a+b*2+c*3+d*4, + a+b*2+c*3+d*4+e*5, + b, + abs(a) + FROM t1 +---- +150 values hashing to 1b1550ce6f1c4cf9076f497c85f31201 + +query IIIII rowsort x467 +SELECT a-b, + a+b*2+c*3+d*4, + a+b*2+c*3+d*4+e*5, + b, + abs(a) + FROM t1 + ORDER BY 3,2,4,1,5 +---- +150 values hashing to 1b1550ce6f1c4cf9076f497c85f31201 + +query III rowsort x468 +SELECT CASE WHEN ab-2 AND ab-2 AND ab +---- +34 values hashing to 5d338a9ebf9ddb3c72dc89eb65b687c6 + +query II rowsort x469 +SELECT CASE WHEN ab + ORDER BY 2,1 +---- +34 values hashing to 5d338a9ebf9ddb3c72dc89eb65b687c6 + +query IIIIIII rowsort x470 +SELECT a+b*2, + a+b*2+c*3+d*4, + a+b*2+c*3, + abs(b-c), + b-c, + a+b*2+c*3+d*4+e*5, + abs(a) + FROM t1 + WHERE d NOT BETWEEN 110 AND 150 +---- +119 values hashing to 8753a74c6c3016be41f58f809c138c99 + +query IIIIIII rowsort x470 +SELECT a+b*2, + a+b*2+c*3+d*4, + a+b*2+c*3, + abs(b-c), + b-c, + a+b*2+c*3+d*4+e*5, + abs(a) + FROM t1 + WHERE d NOT BETWEEN 110 AND 150 + ORDER BY 3,7,6,1 +---- +119 values hashing to 8753a74c6c3016be41f58f809c138c99 + +query IIIIIII rowsort x471 +SELECT b-c, + (a+b+c+d+e)/5, + abs(a), + abs(b-c), + d, + d-e, + CASE a+1 WHEN b THEN 111 WHEN c THEN 222 + WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END + FROM t1 + WHERE d>e +---- +77 values hashing to f74a17597a51a27cb8d52e6d651824a8 + +query IIIIIII rowsort x471 +SELECT b-c, + (a+b+c+d+e)/5, + abs(a), + abs(b-c), + d, + d-e, + CASE a+1 WHEN b THEN 111 WHEN c THEN 222 + WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END + FROM t1 + WHERE d>e + ORDER BY 1,4,5 +---- +77 values hashing to f74a17597a51a27cb8d52e6d651824a8 + +query I rowsort x472 +SELECT b-c + FROM t1 + WHERE e+d BETWEEN a+b-10 AND c+130 +---- +-1 +4 + +query I rowsort x472 +SELECT b-c + FROM t1 + WHERE e+d BETWEEN a+b-10 AND c+130 + ORDER BY 1 +---- +-1 +4 + +query IIIIIII rowsort x473 +SELECT CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + (SELECT count(*) FROM t1 AS x WHERE x.b(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + (SELECT count(*) FROM t1 AS x WHERE x.b(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + (SELECT count(*) FROM t1 AS x WHERE x.b(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + (SELECT count(*) FROM t1 AS x WHERE x.bt1.c AND x.dt1.c AND x.d(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + c-d, + a + FROM t1 + WHERE a>b + AND EXISTS(SELECT 1 FROM t1 AS x WHERE x.b(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + c-d, + a + FROM t1 + WHERE a>b + AND EXISTS(SELECT 1 FROM t1 AS x WHERE x.b(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + c-d, + a + FROM t1 + WHERE EXISTS(SELECT 1 FROM t1 AS x WHERE x.bb +---- + +query IIIIII rowsort x476 +SELECT a+b*2, + a+b*2+c*3+d*4, + d, + CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + c-d, + a + FROM t1 + WHERE EXISTS(SELECT 1 FROM t1 AS x WHERE x.bb + ORDER BY 1,2,5,3,6 +---- + +query IIIIII rowsort x476 +SELECT a+b*2, + a+b*2+c*3+d*4, + d, + CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + c-d, + a + FROM t1 + WHERE EXISTS(SELECT 1 FROM t1 AS x WHERE x.bb + AND e+d BETWEEN a+b-10 AND c+130 +---- + +query IIIIII rowsort x476 +SELECT a+b*2, + a+b*2+c*3+d*4, + d, + CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + c-d, + a + FROM t1 + WHERE EXISTS(SELECT 1 FROM t1 AS x WHERE x.bb + AND e+d BETWEEN a+b-10 AND c+130 + ORDER BY 2,1 +---- + +query IIIIII rowsort x476 +SELECT a+b*2, + a+b*2+c*3+d*4, + d, + CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + c-d, + a + FROM t1 + WHERE a>b + AND e+d BETWEEN a+b-10 AND c+130 + AND EXISTS(SELECT 1 FROM t1 AS x WHERE x.b(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + c-d, + a + FROM t1 + WHERE a>b + AND e+d BETWEEN a+b-10 AND c+130 + AND EXISTS(SELECT 1 FROM t1 AS x WHERE x.b(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + e, + c + FROM t1 + WHERE EXISTS(SELECT 1 FROM t1 AS x WHERE x.b(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + e, + c + FROM t1 + WHERE EXISTS(SELECT 1 FROM t1 AS x WHERE x.b(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + e, + c + FROM t1 + WHERE e+d BETWEEN a+b-10 AND c+130 + OR EXISTS(SELECT 1 FROM t1 AS x WHERE x.b(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + e, + c + FROM t1 + WHERE e+d BETWEEN a+b-10 AND c+130 + OR EXISTS(SELECT 1 FROM t1 AS x WHERE x.b(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + e, + c + FROM t1 + WHERE e+d BETWEEN a+b-10 AND c+130 + OR c BETWEEN b-2 AND d+2 + OR EXISTS(SELECT 1 FROM t1 AS x WHERE x.b(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + e, + c + FROM t1 + WHERE e+d BETWEEN a+b-10 AND c+130 + OR c BETWEEN b-2 AND d+2 + OR EXISTS(SELECT 1 FROM t1 AS x WHERE x.bd + OR d>e + OR (e>a AND ed + OR d>e + OR (e>a AND ea AND ed + OR d>e +---- +57 values hashing to 7ece664b68f1d5dd5df20c38b45bf700 + +query III rowsort x478 +SELECT b-c, + c-d, + a+b*2 + FROM t1 + WHERE (e>a AND ed + OR d>e + ORDER BY 2,1 +---- +57 values hashing to 7ece664b68f1d5dd5df20c38b45bf700 + +query III rowsort x478 +SELECT b-c, + c-d, + a+b*2 + FROM t1 + WHERE (e>a AND ee + OR c>d +---- +57 values hashing to 7ece664b68f1d5dd5df20c38b45bf700 + +query III rowsort x478 +SELECT b-c, + c-d, + a+b*2 + FROM t1 + WHERE (e>a AND ee + OR c>d + ORDER BY 1,2 +---- +57 values hashing to 7ece664b68f1d5dd5df20c38b45bf700 + +query III rowsort x478 +SELECT b-c, + c-d, + a+b*2 + FROM t1 + WHERE c>d + OR (e>a AND ee +---- +57 values hashing to 7ece664b68f1d5dd5df20c38b45bf700 + +query III rowsort x478 +SELECT b-c, + c-d, + a+b*2 + FROM t1 + WHERE c>d + OR (e>a AND ee + ORDER BY 2,1,3 +---- +57 values hashing to 7ece664b68f1d5dd5df20c38b45bf700 + +query IIIIII rowsort x479 +SELECT c, + a+b*2+c*3, + a, + d, + a+b*2, + b + FROM t1 + WHERE (e>c OR ec OR e(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + a+b*2, + d, + a + FROM t1 +---- +150 values hashing to 9ee680f1a55fdef2116dcd0ea18d205a + +query IIIII rowsort x480 +SELECT d-e, + CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + a+b*2, + d, + a + FROM t1 + ORDER BY 5,1 +---- +150 values hashing to 9ee680f1a55fdef2116dcd0ea18d205a + +query IIIII rowsort x481 +SELECT abs(a), + b-c, + a-b, + a, + d-e + FROM t1 +---- +150 values hashing to e7378b047d883082b38d789060e0ef95 + +query IIIII rowsort x481 +SELECT abs(a), + b-c, + a-b, + a, + d-e + FROM t1 + ORDER BY 4,5,3 +---- +150 values hashing to e7378b047d883082b38d789060e0ef95 + +query IIIIIII rowsort x482 +SELECT b, + c-d, + CASE WHEN a(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + (SELECT count(*) FROM t1 AS x WHERE x.b(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + (SELECT count(*) FROM t1 AS x WHERE x.b(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + c-d, + a, + CASE WHEN ae +---- +77 values hashing to 16093e77f72d0aa3214799803026d32d + +query IIIIIII rowsort x483 +SELECT abs(b-c), + d-e, + b, + CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + c-d, + a, + CASE WHEN ae + ORDER BY 6,4,5,1,7,2,3 +---- +77 values hashing to 16093e77f72d0aa3214799803026d32d + +query IIIIII rowsort x484 +SELECT b-c, + d-e, + (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.dc OR et1.c AND x.dc OR ea AND eb + OR (c<=d-2 OR c>=d+2) +---- +161 values hashing to 44ac998ab65c19bee4410d6d64048302 + +query IIIIIII rowsort x485 +SELECT d, + a+b*2+c*3+d*4+e*5, + a+b*2+c*3, + CASE WHEN aa AND eb + OR (c<=d-2 OR c>=d+2) + ORDER BY 5,6,4,3,1,7 +---- +161 values hashing to 44ac998ab65c19bee4410d6d64048302 + +query IIIIIII rowsort x485 +SELECT d, + a+b*2+c*3+d*4+e*5, + a+b*2+c*3, + CASE WHEN aa AND e=d+2) + OR a>b +---- +161 values hashing to 44ac998ab65c19bee4410d6d64048302 + +query IIIIIII rowsort x485 +SELECT d, + a+b*2+c*3+d*4+e*5, + a+b*2+c*3, + CASE WHEN aa AND e=d+2) + OR a>b + ORDER BY 5,6,1,2,7,3,4 +---- +161 values hashing to 44ac998ab65c19bee4410d6d64048302 + +query IIIIII rowsort x486 +SELECT CASE WHEN a(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END + FROM t1 + WHERE c BETWEEN b-2 AND d+2 + AND d>e + AND (e>a AND e(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END + FROM t1 + WHERE c BETWEEN b-2 AND d+2 + AND d>e + AND (e>a AND e(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END + FROM t1 + WHERE d>e + AND c BETWEEN b-2 AND d+2 + AND (e>a AND e(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END + FROM t1 + WHERE d>e + AND c BETWEEN b-2 AND d+2 + AND (e>a AND e(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END + FROM t1 + WHERE (e>a AND ee + AND c BETWEEN b-2 AND d+2 +---- +12 values hashing to f2c764c5c74ab5249e4c5d2a30b60401 + +query IIIIII rowsort x486 +SELECT CASE WHEN a(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END + FROM t1 + WHERE (e>a AND ee + AND c BETWEEN b-2 AND d+2 + ORDER BY 4,3 +---- +12 values hashing to f2c764c5c74ab5249e4c5d2a30b60401 + +query IIIIII rowsort x486 +SELECT CASE WHEN a(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END + FROM t1 + WHERE c BETWEEN b-2 AND d+2 + AND (e>a AND ee +---- +12 values hashing to f2c764c5c74ab5249e4c5d2a30b60401 + +query IIIIII rowsort x486 +SELECT CASE WHEN a(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END + FROM t1 + WHERE c BETWEEN b-2 AND d+2 + AND (e>a AND ee + ORDER BY 5,2,3 +---- +12 values hashing to f2c764c5c74ab5249e4c5d2a30b60401 + +query I rowsort x487 +SELECT a-b + FROM t1 + WHERE c BETWEEN b-2 AND d+2 +---- +15 values hashing to 0462df69a372162bd2326b32559acd24 + +query I rowsort x487 +SELECT a-b + FROM t1 + WHERE c BETWEEN b-2 AND d+2 + ORDER BY 1 +---- +15 values hashing to 0462df69a372162bd2326b32559acd24 + +query IIIIIII rowsort x488 +SELECT a-b, + (a+b+c+d+e)/5, + CASE a+1 WHEN b THEN 111 WHEN c THEN 222 + WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, + abs(b-c), + (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.db-2 AND at1.c AND x.db-2 AND ad +---- +140 values hashing to 16f5a6bc5dd998e2e3b84b3a5f72fefe + +query IIIII rowsort x490 +SELECT d-e, + abs(a), + a, + abs(b-c), + a+b*2+c*3 + FROM t1 + WHERE EXISTS(SELECT 1 FROM t1 AS x WHERE x.bd + ORDER BY 5,2 +---- +140 values hashing to 16f5a6bc5dd998e2e3b84b3a5f72fefe + +query I rowsort x491 +SELECT abs(a) + FROM t1 + WHERE d NOT BETWEEN 110 AND 150 + AND (c<=d-2 OR c>=d+2) +---- +107 +163 +188 +191 +213 +216 +220 +234 + +query I rowsort x491 +SELECT abs(a) + FROM t1 + WHERE d NOT BETWEEN 110 AND 150 + AND (c<=d-2 OR c>=d+2) + ORDER BY 1 +---- +107 +163 +188 +191 +213 +216 +220 +234 + +query I rowsort x491 +SELECT abs(a) + FROM t1 + WHERE (c<=d-2 OR c>=d+2) + AND d NOT BETWEEN 110 AND 150 +---- +107 +163 +188 +191 +213 +216 +220 +234 + +query I rowsort x491 +SELECT abs(a) + FROM t1 + WHERE (c<=d-2 OR c>=d+2) + AND d NOT BETWEEN 110 AND 150 + ORDER BY 1 +---- +107 +163 +188 +191 +213 +216 +220 +234 + +query IIIIIII rowsort x492 +SELECT a+b*2+c*3+d*4, + CASE WHEN ac OR ec OR ea AND ea AND et1.c AND x.da AND eb +---- + +query IIIIII rowsort x494 +SELECT CASE a+1 WHEN b THEN 111 WHEN c THEN 222 + WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, + CASE WHEN at1.c AND x.da AND eb + ORDER BY 3,2 +---- + +query IIIIII rowsort x494 +SELECT CASE a+1 WHEN b THEN 111 WHEN c THEN 222 + WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, + CASE WHEN at1.c AND x.db + AND (e>a AND et1.c AND x.db + AND (e>a AND ec + OR (c<=d-2 OR c>=d+2) + OR a>b +---- +130 values hashing to 0011ef36e28a0677318e32f0b4bb6169 + +query IIIII rowsort x495 +SELECT abs(b-c), + a+b*2, + abs(a), + d-e, + CASE WHEN ac + OR (c<=d-2 OR c>=d+2) + OR a>b + ORDER BY 3,2,5,1 +---- +130 values hashing to 0011ef36e28a0677318e32f0b4bb6169 + +query IIIII rowsort x495 +SELECT abs(b-c), + a+b*2, + abs(a), + d-e, + CASE WHEN ab + OR (c<=d-2 OR c>=d+2) + OR b>c +---- +130 values hashing to 0011ef36e28a0677318e32f0b4bb6169 + +query IIIII rowsort x495 +SELECT abs(b-c), + a+b*2, + abs(a), + d-e, + CASE WHEN ab + OR (c<=d-2 OR c>=d+2) + OR b>c + ORDER BY 1,4 +---- +130 values hashing to 0011ef36e28a0677318e32f0b4bb6169 + +query IIIII rowsort x495 +SELECT abs(b-c), + a+b*2, + abs(a), + d-e, + CASE WHEN ac + OR a>b + OR (c<=d-2 OR c>=d+2) +---- +130 values hashing to 0011ef36e28a0677318e32f0b4bb6169 + +query IIIII rowsort x495 +SELECT abs(b-c), + a+b*2, + abs(a), + d-e, + CASE WHEN ac + OR a>b + OR (c<=d-2 OR c>=d+2) + ORDER BY 3,4,1 +---- +130 values hashing to 0011ef36e28a0677318e32f0b4bb6169 + +query IIIII rowsort x496 +SELECT a+b*2, + CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.d(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.dt1.c AND x.db + AND (c<=d-2 OR c>=d+2) +---- +10 values hashing to 7d54f2060f72872c2e80edaef61163c1 + +query II rowsort x498 +SELECT (SELECT count(*) FROM t1 AS x WHERE x.bt1.c AND x.db + AND (c<=d-2 OR c>=d+2) + ORDER BY 1,2 +---- +10 values hashing to 7d54f2060f72872c2e80edaef61163c1 + +query II rowsort x498 +SELECT (SELECT count(*) FROM t1 AS x WHERE x.bt1.c AND x.d=d+2) + AND a>b +---- +10 values hashing to 7d54f2060f72872c2e80edaef61163c1 + +query II rowsort x498 +SELECT (SELECT count(*) FROM t1 AS x WHERE x.bt1.c AND x.d=d+2) + AND a>b + ORDER BY 2,1 +---- +10 values hashing to 7d54f2060f72872c2e80edaef61163c1 + +query IIIIII rowsort x499 +SELECT a+b*2, + abs(a), + CASE WHEN a=d+2) + AND d>e + AND (e>c OR e=d+2) + AND d>e + AND (e>c OR ec OR e=d+2) + AND d>e +---- +30 values hashing to 00e154afdc515fe6805c2adeead80dc8 + +query IIIIII rowsort x500 +SELECT CASE a+1 WHEN b THEN 111 WHEN c THEN 222 + WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, + a+b*2+c*3+d*4, + a, + CASE WHEN ac OR e=d+2) + AND d>e + ORDER BY 4,1,2,6 +---- +30 values hashing to 00e154afdc515fe6805c2adeead80dc8 + +query IIIII rowsort x501 +SELECT b-c, + c-d, + (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.de +---- +55 values hashing to 9ee42810091de9e456cdf451707dfb19 + +query IIIII rowsort x501 +SELECT b-c, + c-d, + (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.de + ORDER BY 4,1 +---- +55 values hashing to 9ee42810091de9e456cdf451707dfb19 + +query IIIIII rowsort x502 +SELECT abs(a), + a+b*2, + c-d, + abs(b-c), + a+b*2+c*3, + a-b + FROM t1 + WHERE b>c +---- +78 values hashing to 05c3a0c169dae692b136ec4da7900710 + +query IIIIII rowsort x502 +SELECT abs(a), + a+b*2, + c-d, + abs(b-c), + a+b*2+c*3, + a-b + FROM t1 + WHERE b>c + ORDER BY 3,2 +---- +78 values hashing to 05c3a0c169dae692b136ec4da7900710 + +query III rowsort x503 +SELECT CASE WHEN aa AND ea AND ea AND ea AND e(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END + FROM t1 + WHERE (e>a AND eb-2 AND a(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END + FROM t1 + WHERE (e>a AND eb-2 AND a(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END + FROM t1 + WHERE (a>b-2 AND aa AND e(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END + FROM t1 + WHERE (a>b-2 AND aa AND ec + OR (e>c OR ec + OR (e>c OR ec OR ec +---- +25 values hashing to 64a52fdf762f93fa572da96c506b2fe2 + +query I rowsort x506 +SELECT a+b*2+c*3 + FROM t1 + WHERE e+d BETWEEN a+b-10 AND c+130 + OR (e>c OR ec + ORDER BY 1 +---- +25 values hashing to 64a52fdf762f93fa572da96c506b2fe2 + +query I rowsort x506 +SELECT a+b*2+c*3 + FROM t1 + WHERE (e>c OR ec + OR e+d BETWEEN a+b-10 AND c+130 +---- +25 values hashing to 64a52fdf762f93fa572da96c506b2fe2 + +query I rowsort x506 +SELECT a+b*2+c*3 + FROM t1 + WHERE (e>c OR ec + OR e+d BETWEEN a+b-10 AND c+130 + ORDER BY 1 +---- +25 values hashing to 64a52fdf762f93fa572da96c506b2fe2 + +query II rowsort x507 +SELECT a, + CASE WHEN ac OR e=d+2) +---- +40 values hashing to fae5120fb39277696b35aa3553bfd248 + +query IIIII rowsort x508 +SELECT a, + CASE WHEN ac OR e=d+2) + ORDER BY 2,1,3,4,5 +---- +40 values hashing to fae5120fb39277696b35aa3553bfd248 + +query IIIII rowsort x508 +SELECT a, + CASE WHEN a=d+2) + AND (e>c OR e=d+2) + AND (e>c OR et1.c AND x.db-2 AND at1.c AND x.db-2 AND at1.c AND x.db-2 AND at1.c AND x.db-2 AND at1.c AND x.db-2 AND at1.c AND x.db-2 AND at1.c AND x.db-2 AND at1.c AND x.db-2 AND ab-2 AND ab +---- +12 values hashing to a55c98f195d20b15999740a67127a991 + +query IIII rowsort x512 +SELECT CASE a+1 WHEN b THEN 111 WHEN c THEN 222 + WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, + a+b*2+c*3, + c-d, + e + FROM t1 + WHERE d NOT BETWEEN 110 AND 150 + AND (a>b-2 AND ab + ORDER BY 3,2,1,4 +---- +12 values hashing to a55c98f195d20b15999740a67127a991 + +query IIII rowsort x512 +SELECT CASE a+1 WHEN b THEN 111 WHEN c THEN 222 + WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, + a+b*2+c*3, + c-d, + e + FROM t1 + WHERE (a>b-2 AND ab + AND d NOT BETWEEN 110 AND 150 +---- +12 values hashing to a55c98f195d20b15999740a67127a991 + +query IIII rowsort x512 +SELECT CASE a+1 WHEN b THEN 111 WHEN c THEN 222 + WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, + a+b*2+c*3, + c-d, + e + FROM t1 + WHERE (a>b-2 AND ab + AND d NOT BETWEEN 110 AND 150 + ORDER BY 2,4,3 +---- +12 values hashing to a55c98f195d20b15999740a67127a991 + +query IIIIIII rowsort x513 +SELECT (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.dt1.c AND x.dc +---- +65 values hashing to 3008ddf6b506ac06a02ab54f4a4dbab7 + +query IIIII rowsort x514 +SELECT (SELECT count(*) FROM t1 AS x WHERE x.bc + ORDER BY 3,2,1,5,4 +---- +65 values hashing to 3008ddf6b506ac06a02ab54f4a4dbab7 + +query IIIII rowsort x514 +SELECT (SELECT count(*) FROM t1 AS x WHERE x.bc + AND EXISTS(SELECT 1 FROM t1 AS x WHERE x.bc + AND EXISTS(SELECT 1 FROM t1 AS x WHERE x.bt1.c AND x.d(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + a+b*2+c*3+d*4+e*5 + FROM t1 + WHERE (e>a AND ec OR ec +---- +175 values hashing to e99a4f7e39ea9b3735fc5ef9e055f336 + +query IIIIIII rowsort x515 +SELECT e, + abs(a), + (SELECT count(*) FROM t1 AS x WHERE x.bt1.c AND x.d(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + a+b*2+c*3+d*4+e*5 + FROM t1 + WHERE (e>a AND ec OR ec + ORDER BY 5,4,3,6,2,1,7 +---- +175 values hashing to e99a4f7e39ea9b3735fc5ef9e055f336 + +query IIIIIII rowsort x515 +SELECT e, + abs(a), + (SELECT count(*) FROM t1 AS x WHERE x.bt1.c AND x.d(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + a+b*2+c*3+d*4+e*5 + FROM t1 + WHERE (e>c OR ec + OR (e>a AND et1.c AND x.d(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + a+b*2+c*3+d*4+e*5 + FROM t1 + WHERE (e>c OR ec + OR (e>a AND et1.c AND x.d(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + a+b*2+c*3+d*4+e*5 + FROM t1 + WHERE b>c + OR (e>c OR ea AND et1.c AND x.d(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + a+b*2+c*3+d*4+e*5 + FROM t1 + WHERE b>c + OR (e>c OR ea AND et1.c AND x.d(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + a+b*2+c*3+d*4+e*5 + FROM t1 + WHERE (e>c OR ea AND ec +---- +175 values hashing to e99a4f7e39ea9b3735fc5ef9e055f336 + +query IIIIIII rowsort x515 +SELECT e, + abs(a), + (SELECT count(*) FROM t1 AS x WHERE x.bt1.c AND x.d(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + a+b*2+c*3+d*4+e*5 + FROM t1 + WHERE (e>c OR ea AND ec + ORDER BY 5,3 +---- +175 values hashing to e99a4f7e39ea9b3735fc5ef9e055f336 + +query IIII rowsort x516 +SELECT a+b*2+c*3+d*4, + b-c, + c-d, + a + FROM t1 + WHERE b>c + OR (e>c OR e=d+2) +---- +104 values hashing to 33946dd780d80a44b8a5a40324ac28c1 + +query IIII rowsort x516 +SELECT a+b*2+c*3+d*4, + b-c, + c-d, + a + FROM t1 + WHERE b>c + OR (e>c OR e=d+2) + ORDER BY 3,4,2,1 +---- +104 values hashing to 33946dd780d80a44b8a5a40324ac28c1 + +query IIII rowsort x516 +SELECT a+b*2+c*3+d*4, + b-c, + c-d, + a + FROM t1 + WHERE (e>c OR ec + OR (c<=d-2 OR c>=d+2) +---- +104 values hashing to 33946dd780d80a44b8a5a40324ac28c1 + +query IIII rowsort x516 +SELECT a+b*2+c*3+d*4, + b-c, + c-d, + a + FROM t1 + WHERE (e>c OR ec + OR (c<=d-2 OR c>=d+2) + ORDER BY 2,3 +---- +104 values hashing to 33946dd780d80a44b8a5a40324ac28c1 + +query IIII rowsort x516 +SELECT a+b*2+c*3+d*4, + b-c, + c-d, + a + FROM t1 + WHERE b>c + OR (c<=d-2 OR c>=d+2) + OR (e>c OR ec + OR (c<=d-2 OR c>=d+2) + OR (e>c OR e=d+2) + OR b>c + OR (e>c OR e=d+2) + OR b>c + OR (e>c OR et1.c AND x.d=d+2) + AND b>c + AND c BETWEEN b-2 AND d+2 +---- +0 +698 +231 +233 +230 + +query IIIII rowsort x518 +SELECT (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.d=d+2) + AND b>c + AND c BETWEEN b-2 AND d+2 + ORDER BY 5,1,4,2 +---- +0 +698 +231 +233 +230 + +query IIIII rowsort x518 +SELECT (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.dc + AND (c<=d-2 OR c>=d+2) + AND c BETWEEN b-2 AND d+2 +---- +0 +698 +231 +233 +230 + +query IIIII rowsort x518 +SELECT (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.dc + AND (c<=d-2 OR c>=d+2) + AND c BETWEEN b-2 AND d+2 + ORDER BY 5,1,3 +---- +0 +698 +231 +233 +230 + +query IIIII rowsort x518 +SELECT (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.dc + AND c BETWEEN b-2 AND d+2 + AND (c<=d-2 OR c>=d+2) +---- +0 +698 +231 +233 +230 + +query IIIII rowsort x518 +SELECT (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.dc + AND c BETWEEN b-2 AND d+2 + AND (c<=d-2 OR c>=d+2) + ORDER BY 3,2 +---- +0 +698 +231 +233 +230 + +query IIIIII rowsort x519 +SELECT (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.d(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + c + FROM t1 +---- +180 values hashing to ea162126b301a546664c33ff053c4566 + +query IIIIII rowsort x519 +SELECT (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.d(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + c + FROM t1 + ORDER BY 4,2,1,6 +---- +180 values hashing to ea162126b301a546664c33ff053c4566 + +query IIIIIII rowsort x520 +SELECT b-c, + abs(a), + CASE a+1 WHEN b THEN 111 WHEN c THEN 222 + WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, + a-b, + CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + a+b*2+c*3+d*4, + e + FROM t1 + WHERE d>e + OR a>b + OR e+d BETWEEN a+b-10 AND c+130 +---- +154 values hashing to ed3dbfdce513c2b78ba7fd5300dd487d + +query IIIIIII rowsort x520 +SELECT b-c, + abs(a), + CASE a+1 WHEN b THEN 111 WHEN c THEN 222 + WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, + a-b, + CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + a+b*2+c*3+d*4, + e + FROM t1 + WHERE d>e + OR a>b + OR e+d BETWEEN a+b-10 AND c+130 + ORDER BY 5,3 +---- +154 values hashing to ed3dbfdce513c2b78ba7fd5300dd487d + +query IIIIIII rowsort x520 +SELECT b-c, + abs(a), + CASE a+1 WHEN b THEN 111 WHEN c THEN 222 + WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, + a-b, + CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + a+b*2+c*3+d*4, + e + FROM t1 + WHERE e+d BETWEEN a+b-10 AND c+130 + OR a>b + OR d>e +---- +154 values hashing to ed3dbfdce513c2b78ba7fd5300dd487d + +query IIIIIII rowsort x520 +SELECT b-c, + abs(a), + CASE a+1 WHEN b THEN 111 WHEN c THEN 222 + WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, + a-b, + CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + a+b*2+c*3+d*4, + e + FROM t1 + WHERE e+d BETWEEN a+b-10 AND c+130 + OR a>b + OR d>e + ORDER BY 5,4 +---- +154 values hashing to ed3dbfdce513c2b78ba7fd5300dd487d + +query IIIIIII rowsort x520 +SELECT b-c, + abs(a), + CASE a+1 WHEN b THEN 111 WHEN c THEN 222 + WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, + a-b, + CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + a+b*2+c*3+d*4, + e + FROM t1 + WHERE a>b + OR d>e + OR e+d BETWEEN a+b-10 AND c+130 +---- +154 values hashing to ed3dbfdce513c2b78ba7fd5300dd487d + +query IIIIIII rowsort x520 +SELECT b-c, + abs(a), + CASE a+1 WHEN b THEN 111 WHEN c THEN 222 + WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, + a-b, + CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + a+b*2+c*3+d*4, + e + FROM t1 + WHERE a>b + OR d>e + OR e+d BETWEEN a+b-10 AND c+130 + ORDER BY 6,1,3,5,7,4 +---- +154 values hashing to ed3dbfdce513c2b78ba7fd5300dd487d + +query IIII rowsort x521 +SELECT c-d, + (SELECT count(*) FROM t1 AS x WHERE x.b(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + CASE a+1 WHEN b THEN 111 WHEN c THEN 222 + WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END + FROM t1 + WHERE d NOT BETWEEN 110 AND 150 + OR e+d BETWEEN a+b-10 AND c+130 +---- +72 values hashing to 4d667e79e731c3952e5378b96fd2a448 + +query IIII rowsort x521 +SELECT c-d, + (SELECT count(*) FROM t1 AS x WHERE x.b(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + CASE a+1 WHEN b THEN 111 WHEN c THEN 222 + WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END + FROM t1 + WHERE d NOT BETWEEN 110 AND 150 + OR e+d BETWEEN a+b-10 AND c+130 + ORDER BY 2,4,1,3 +---- +72 values hashing to 4d667e79e731c3952e5378b96fd2a448 + +query IIII rowsort x521 +SELECT c-d, + (SELECT count(*) FROM t1 AS x WHERE x.b(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + CASE a+1 WHEN b THEN 111 WHEN c THEN 222 + WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END + FROM t1 + WHERE e+d BETWEEN a+b-10 AND c+130 + OR d NOT BETWEEN 110 AND 150 +---- +72 values hashing to 4d667e79e731c3952e5378b96fd2a448 + +query IIII rowsort x521 +SELECT c-d, + (SELECT count(*) FROM t1 AS x WHERE x.b(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + CASE a+1 WHEN b THEN 111 WHEN c THEN 222 + WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END + FROM t1 + WHERE e+d BETWEEN a+b-10 AND c+130 + OR d NOT BETWEEN 110 AND 150 + ORDER BY 3,2,1,4 +---- +72 values hashing to 4d667e79e731c3952e5378b96fd2a448 + +query II rowsort x522 +SELECT e, + b + FROM t1 +---- +60 values hashing to aea68eb2207c713683774d94afe4f14d + +query II rowsort x522 +SELECT e, + b + FROM t1 + ORDER BY 1,2 +---- +60 values hashing to aea68eb2207c713683774d94afe4f14d + +query IIIIII rowsort x523 +SELECT c, + (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.dt1.c AND x.db-2 AND a=d+2) + OR b>c +---- +42 values hashing to 84d2510a39db3f4308120d8b0ab47b9d + +query II rowsort x525 +SELECT a, + b-c + FROM t1 + WHERE (a>b-2 AND a=d+2) + OR b>c + ORDER BY 1,2 +---- +42 values hashing to 84d2510a39db3f4308120d8b0ab47b9d + +query II rowsort x525 +SELECT a, + b-c + FROM t1 + WHERE b>c + OR (a>b-2 AND a=d+2) +---- +42 values hashing to 84d2510a39db3f4308120d8b0ab47b9d + +query II rowsort x525 +SELECT a, + b-c + FROM t1 + WHERE b>c + OR (a>b-2 AND a=d+2) + ORDER BY 2,1 +---- +42 values hashing to 84d2510a39db3f4308120d8b0ab47b9d + +query II rowsort x525 +SELECT a, + b-c + FROM t1 + WHERE (a>b-2 AND ac + OR (c<=d-2 OR c>=d+2) +---- +42 values hashing to 84d2510a39db3f4308120d8b0ab47b9d + +query II rowsort x525 +SELECT a, + b-c + FROM t1 + WHERE (a>b-2 AND ac + OR (c<=d-2 OR c>=d+2) + ORDER BY 1,2 +---- +42 values hashing to 84d2510a39db3f4308120d8b0ab47b9d + +query III rowsort x526 +SELECT c-d, + (SELECT count(*) FROM t1 AS x WHERE x.b(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END + FROM t1 + WHERE (e>c OR e(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END + FROM t1 + WHERE (e>c OR eb-2 AND ab-2 AND a=d+2) + AND (a>b-2 AND a=d+2) + AND (a>b-2 AND ab-2 AND a=d+2) +---- + +query IIIIII rowsort x528 +SELECT c, + CASE WHEN ab-2 AND a=d+2) + ORDER BY 2,6,1 +---- + +query IIII rowsort x529 +SELECT c, + CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + a+b*2+c*3+d*4, + c-d + FROM t1 + WHERE (e>a AND ec OR e(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + a+b*2+c*3+d*4, + c-d + FROM t1 + WHERE (e>a AND ec OR e(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + a+b*2+c*3+d*4, + c-d + FROM t1 + WHERE (e>c OR ea AND e(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + a+b*2+c*3+d*4, + c-d + FROM t1 + WHERE (e>c OR ea AND e(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + a+b*2+c*3+d*4, + c-d + FROM t1 + WHERE (e>c OR ea AND e(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + a+b*2+c*3+d*4, + c-d + FROM t1 + WHERE (e>c OR ea AND e(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + a+b*2+c*3+d*4, + c-d + FROM t1 + WHERE (e>a AND ec OR e(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + a+b*2+c*3+d*4, + c-d + FROM t1 + WHERE (e>a AND ec OR ee + OR (e>c OR ee + OR (e>c OR ec OR ee +---- +21 values hashing to b84ff2c254f6ba4bcd8942c4ceb7e064 + +query I rowsort x530 +SELECT b + FROM t1 + WHERE (e>c OR ee + ORDER BY 1 +---- +21 values hashing to b84ff2c254f6ba4bcd8942c4ceb7e064 + +query III rowsort x531 +SELECT abs(a), + CASE WHEN a(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END + FROM t1 +---- +90 values hashing to 774ffc972efa8f12fb5270b9a2811464 + +query III rowsort x531 +SELECT abs(a), + CASE WHEN a(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END + FROM t1 + ORDER BY 1,2,3 +---- +90 values hashing to 774ffc972efa8f12fb5270b9a2811464 + +query IIII rowsort x532 +SELECT c, + a+b*2+c*3+d*4+e*5, + b-c, + a + FROM t1 + WHERE a>b + OR c>d + OR e+d BETWEEN a+b-10 AND c+130 +---- +104 values hashing to 9d70636a8311231198a150a2ac8bb8f9 + +query IIII rowsort x532 +SELECT c, + a+b*2+c*3+d*4+e*5, + b-c, + a + FROM t1 + WHERE a>b + OR c>d + OR e+d BETWEEN a+b-10 AND c+130 + ORDER BY 4,3 +---- +104 values hashing to 9d70636a8311231198a150a2ac8bb8f9 + +query IIII rowsort x532 +SELECT c, + a+b*2+c*3+d*4+e*5, + b-c, + a + FROM t1 + WHERE a>b + OR e+d BETWEEN a+b-10 AND c+130 + OR c>d +---- +104 values hashing to 9d70636a8311231198a150a2ac8bb8f9 + +query IIII rowsort x532 +SELECT c, + a+b*2+c*3+d*4+e*5, + b-c, + a + FROM t1 + WHERE a>b + OR e+d BETWEEN a+b-10 AND c+130 + OR c>d + ORDER BY 3,1,4 +---- +104 values hashing to 9d70636a8311231198a150a2ac8bb8f9 + +query IIII rowsort x533 +SELECT (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.dc + AND d NOT BETWEEN 110 AND 150 +---- +24 values hashing to 4eefd8751c9e5d963858bd7c3e44d8de + +query IIII rowsort x533 +SELECT (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.dc + AND d NOT BETWEEN 110 AND 150 + ORDER BY 1,4 +---- +24 values hashing to 4eefd8751c9e5d963858bd7c3e44d8de + +query IIII rowsort x533 +SELECT (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.dc +---- +24 values hashing to 4eefd8751c9e5d963858bd7c3e44d8de + +query IIII rowsort x533 +SELECT (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.dc + ORDER BY 2,1,4,3 +---- +24 values hashing to 4eefd8751c9e5d963858bd7c3e44d8de + +query II rowsort x534 +SELECT CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + (a+b+c+d+e)/5 + FROM t1 + WHERE EXISTS(SELECT 1 FROM t1 AS x WHERE x.b(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + (a+b+c+d+e)/5 + FROM t1 + WHERE EXISTS(SELECT 1 FROM t1 AS x WHERE x.bc OR ec OR ec OR ec OR ee + OR (a>b-2 AND ae + OR (a>b-2 AND ab-2 AND ae +---- +64 values hashing to e06b774130bc687e564232bbcf51a91e + +query IIII rowsort x537 +SELECT c, + a+b*2+c*3+d*4+e*5, + d-e, + (a+b+c+d+e)/5 + FROM t1 + WHERE (a>b-2 AND ae + ORDER BY 3,1 +---- +64 values hashing to e06b774130bc687e564232bbcf51a91e + +query IIIIII rowsort x538 +SELECT d, + a+b*2+c*3+d*4+e*5, + (a+b+c+d+e)/5, + e, + CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + a + FROM t1 + WHERE e+d BETWEEN a+b-10 AND c+130 + OR d>e +---- +72 values hashing to 9eb6d54a1620a7b85e6d7b7044fcaef0 + +query IIIIII rowsort x538 +SELECT d, + a+b*2+c*3+d*4+e*5, + (a+b+c+d+e)/5, + e, + CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + a + FROM t1 + WHERE e+d BETWEEN a+b-10 AND c+130 + OR d>e + ORDER BY 5,6,3,4,1 +---- +72 values hashing to 9eb6d54a1620a7b85e6d7b7044fcaef0 + +query IIIIII rowsort x538 +SELECT d, + a+b*2+c*3+d*4+e*5, + (a+b+c+d+e)/5, + e, + CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + a + FROM t1 + WHERE d>e + OR e+d BETWEEN a+b-10 AND c+130 +---- +72 values hashing to 9eb6d54a1620a7b85e6d7b7044fcaef0 + +query IIIIII rowsort x538 +SELECT d, + a+b*2+c*3+d*4+e*5, + (a+b+c+d+e)/5, + e, + CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + a + FROM t1 + WHERE d>e + OR e+d BETWEEN a+b-10 AND c+130 + ORDER BY 2,5,4,3 +---- +72 values hashing to 9eb6d54a1620a7b85e6d7b7044fcaef0 + +query IIIIIII rowsort x539 +SELECT e, + a, + (SELECT count(*) FROM t1 AS x WHERE x.b=d+2) + AND (a>b-2 AND a=d+2) + AND (a>b-2 AND ab-2 AND a=d+2) +---- + +query IIIIIII rowsort x539 +SELECT e, + a, + (SELECT count(*) FROM t1 AS x WHERE x.bb-2 AND a=d+2) + ORDER BY 2,3,1,5,4,6,7 +---- + +query IIII rowsort x540 +SELECT (SELECT count(*) FROM t1 AS x WHERE x.bc OR ec OR et1.c AND x.db + AND (e>c OR et1.c AND x.db + AND (e>c OR et1.c AND x.dc OR eb +---- +32 values hashing to 9240066ab585efc3f0b28794f435c20b + +query IIII rowsort x542 +SELECT b, + a+b*2+c*3+d*4, + (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.dc OR eb + ORDER BY 2,3,1 +---- +32 values hashing to 9240066ab585efc3f0b28794f435c20b + +query IIII rowsort x542 +SELECT b, + a+b*2+c*3+d*4, + (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.db + AND (e>c OR et1.c AND x.db + AND (e>c OR eb-2 AND ab-2 AND a(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + d-e, + a, + c + FROM t1 + WHERE d NOT BETWEEN 110 AND 150 + OR d>e +---- +147 values hashing to ddce6438f6ded8f787d7c7c9142766c8 + +query IIIIIII rowsort x545 +SELECT b, + abs(a), + a+b*2, + CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + d-e, + a, + c + FROM t1 + WHERE d NOT BETWEEN 110 AND 150 + OR d>e + ORDER BY 5,2,1,7,3,4 +---- +147 values hashing to ddce6438f6ded8f787d7c7c9142766c8 + +query IIIIIII rowsort x545 +SELECT b, + abs(a), + a+b*2, + CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + d-e, + a, + c + FROM t1 + WHERE d>e + OR d NOT BETWEEN 110 AND 150 +---- +147 values hashing to ddce6438f6ded8f787d7c7c9142766c8 + +query IIIIIII rowsort x545 +SELECT b, + abs(a), + a+b*2, + CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + d-e, + a, + c + FROM t1 + WHERE d>e + OR d NOT BETWEEN 110 AND 150 + ORDER BY 5,4 +---- +147 values hashing to ddce6438f6ded8f787d7c7c9142766c8 + +query I rowsort x546 +SELECT c-d + FROM t1 +---- +30 values hashing to 5597b8fa34613aadc270053ea54637e5 + +query I rowsort x546 +SELECT c-d + FROM t1 + ORDER BY 1 +---- +30 values hashing to 5597b8fa34613aadc270053ea54637e5 + +query IIIIIII rowsort x547 +SELECT c, + (SELECT count(*) FROM t1 AS x WHERE x.b(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + b-c, + a+b*2, + a, + (a+b+c+d+e)/5 + FROM t1 + WHERE b>c +---- +91 values hashing to b18e90ba041643b851f2789fb293e177 + +query IIIIIII rowsort x547 +SELECT c, + (SELECT count(*) FROM t1 AS x WHERE x.b(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + b-c, + a+b*2, + a, + (a+b+c+d+e)/5 + FROM t1 + WHERE b>c + ORDER BY 1,4,2,6,7,3,5 +---- +91 values hashing to b18e90ba041643b851f2789fb293e177 + +query II rowsort x548 +SELECT CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + e + FROM t1 + WHERE d>e +---- +22 values hashing to 72d2ab4ad233ab33010bd2c5d1749440 + +query II rowsort x548 +SELECT CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + e + FROM t1 + WHERE d>e + ORDER BY 1,2 +---- +22 values hashing to 72d2ab4ad233ab33010bd2c5d1749440 + +query II rowsort x549 +SELECT (a+b+c+d+e)/5, + a-b + FROM t1 + WHERE EXISTS(SELECT 1 FROM t1 AS x WHERE x.bt1.c AND x.dt1.c AND x.dc + OR c BETWEEN b-2 AND d+2 +---- +115 values hashing to bd1ad3e6a227b77b65945fd596e52c3d + +query IIIII rowsort x551 +SELECT (SELECT count(*) FROM t1 AS x WHERE x.bc + OR c BETWEEN b-2 AND d+2 + ORDER BY 4,2,1,3 +---- +115 values hashing to bd1ad3e6a227b77b65945fd596e52c3d + +query IIIII rowsort x551 +SELECT (SELECT count(*) FROM t1 AS x WHERE x.bc +---- +115 values hashing to bd1ad3e6a227b77b65945fd596e52c3d + +query IIIII rowsort x551 +SELECT (SELECT count(*) FROM t1 AS x WHERE x.bc + ORDER BY 4,1,2,3,5 +---- +115 values hashing to bd1ad3e6a227b77b65945fd596e52c3d + +query IIIIII rowsort x552 +SELECT (a+b+c+d+e)/5, + a+b*2+c*3+d*4+e*5, + a+b*2+c*3, + CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.dc OR ed + OR e+d BETWEEN a+b-10 AND c+130 +---- +156 values hashing to d3db380510f107abcd9c2a05962f73f7 + +query IIIIII rowsort x552 +SELECT (a+b+c+d+e)/5, + a+b*2+c*3+d*4+e*5, + a+b*2+c*3, + CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.dc OR ed + OR e+d BETWEEN a+b-10 AND c+130 + ORDER BY 4,6,1 +---- +156 values hashing to d3db380510f107abcd9c2a05962f73f7 + +query IIIIII rowsort x552 +SELECT (a+b+c+d+e)/5, + a+b*2+c*3+d*4+e*5, + a+b*2+c*3, + CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.dc OR ed +---- +156 values hashing to d3db380510f107abcd9c2a05962f73f7 + +query IIIIII rowsort x552 +SELECT (a+b+c+d+e)/5, + a+b*2+c*3+d*4+e*5, + a+b*2+c*3, + CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.dc OR ed + ORDER BY 1,4,6,5,3,2 +---- +156 values hashing to d3db380510f107abcd9c2a05962f73f7 + +query IIIIII rowsort x553 +SELECT b-c, + a+b*2+c*3+d*4+e*5, + abs(a), + d, + a+b*2, + c-d + FROM t1 + WHERE (e>c OR ec OR e(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + CASE WHEN a(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + CASE WHEN at1.c AND x.dd +---- +13 values hashing to 6e6a0a6e4c35b3bbdf0c9dcc6d9ee805 + +query I rowsort x555 +SELECT (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.dd + ORDER BY 1 +---- +13 values hashing to 6e6a0a6e4c35b3bbdf0c9dcc6d9ee805 + +query I rowsort x556 +SELECT d-e + FROM t1 +---- +30 values hashing to 9e2d6381b04ea314cd79c5fc9325b30e + +query I rowsort x556 +SELECT d-e + FROM t1 + ORDER BY 1 +---- +30 values hashing to 9e2d6381b04ea314cd79c5fc9325b30e + +query IIIIIII rowsort x557 +SELECT c, + (SELECT count(*) FROM t1 AS x WHERE x.b(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + CASE a+1 WHEN b THEN 111 WHEN c THEN 222 + WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END + FROM t1 +---- +150 values hashing to 9e0e10ca0afcd1880c61c538aa2b92c4 + +query IIIII rowsort x558 +SELECT (a+b+c+d+e)/5, + a+b*2+c*3, + a+b*2, + CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + CASE a+1 WHEN b THEN 111 WHEN c THEN 222 + WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END + FROM t1 + ORDER BY 5,2,1,3,4 +---- +150 values hashing to 9e0e10ca0afcd1880c61c538aa2b92c4 + +query IIIIIII rowsort x559 +SELECT b-c, + CASE a+1 WHEN b THEN 111 WHEN c THEN 222 + WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, + a+b*2, + (a+b+c+d+e)/5, + d-e, + CASE WHEN ab-2 AND ab-2 AND ab-2 AND ab-2 AND ab-2 AND ab-2 AND a(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END + FROM t1 + WHERE a>b + OR EXISTS(SELECT 1 FROM t1 AS x WHERE x.b(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END + FROM t1 + WHERE a>b + OR EXISTS(SELECT 1 FROM t1 AS x WHERE x.b(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END + FROM t1 + WHERE EXISTS(SELECT 1 FROM t1 AS x WHERE x.bb +---- +54 values hashing to 05003b5eabd6b2f7219b7c465b3e72fa + +query II rowsort x561 +SELECT a+b*2+c*3+d*4+e*5, + CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END + FROM t1 + WHERE EXISTS(SELECT 1 FROM t1 AS x WHERE x.bb + ORDER BY 2,1 +---- +54 values hashing to 05003b5eabd6b2f7219b7c465b3e72fa + +query IIIII rowsort x562 +SELECT c-d, + abs(a), + b, + CASE WHEN ae + OR (e>c OR ee + OR (e>c OR ee + OR (e>c OR ee + OR (e>c OR e(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + d-e, + d, + a+b*2+c*3, + a-b, + c-d, + a+b*2+c*3+d*4 + FROM t1 + WHERE d NOT BETWEEN 110 AND 150 + OR (a>b-2 AND a(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + d-e, + d, + a+b*2+c*3, + a-b, + c-d, + a+b*2+c*3+d*4 + FROM t1 + WHERE d NOT BETWEEN 110 AND 150 + OR (a>b-2 AND a(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + d-e, + d, + a+b*2+c*3, + a-b, + c-d, + a+b*2+c*3+d*4 + FROM t1 + WHERE (a>b-2 AND a(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + d-e, + d, + a+b*2+c*3, + a-b, + c-d, + a+b*2+c*3+d*4 + FROM t1 + WHERE (a>b-2 AND ad + AND (e>a AND ed + AND (e>a AND e(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + a+b*2+c*3+d*4+e*5, + CASE WHEN a(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + a+b*2+c*3+d*4+e*5, + CASE WHEN a(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + a+b*2+c*3+d*4, + d-e + FROM t1 +---- +150 values hashing to b1e6017bcd974b8b6dfea93e886e7860 + +query IIIII rowsort x566 +SELECT c-d, + c, + CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + a+b*2+c*3+d*4, + d-e + FROM t1 + ORDER BY 5,3,2,4 +---- +150 values hashing to b1e6017bcd974b8b6dfea93e886e7860 + +query III rowsort x567 +SELECT CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + abs(a), + b-c + FROM t1 +---- +90 values hashing to 26cd92291109a2b8b185dc4cf12c1eb0 + +query III rowsort x567 +SELECT CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + abs(a), + b-c + FROM t1 + ORDER BY 3,1,2 +---- +90 values hashing to 26cd92291109a2b8b185dc4cf12c1eb0 + +query IIIII rowsort x568 +SELECT c-d, + b-c, + CASE WHEN ae + OR e+d BETWEEN a+b-10 AND c+130 +---- +60 values hashing to 787fde79bb821591a7414b43c68a481a + +query IIIII rowsort x568 +SELECT c-d, + b-c, + CASE WHEN ae + OR e+d BETWEEN a+b-10 AND c+130 + ORDER BY 4,1,5,3 +---- +60 values hashing to 787fde79bb821591a7414b43c68a481a + +query IIIII rowsort x568 +SELECT c-d, + b-c, + CASE WHEN ae +---- +60 values hashing to 787fde79bb821591a7414b43c68a481a + +query IIIII rowsort x568 +SELECT c-d, + b-c, + CASE WHEN ae + ORDER BY 1,4,3,2 +---- +60 values hashing to 787fde79bb821591a7414b43c68a481a + +query III rowsort x569 +SELECT c, + abs(b-c), + c-d + FROM t1 +---- +90 values hashing to 41eddffbb1026fde489f8ddf1b8edefe + +query III rowsort x569 +SELECT c, + abs(b-c), + c-d + FROM t1 + ORDER BY 3,2,1 +---- +90 values hashing to 41eddffbb1026fde489f8ddf1b8edefe + +query IIII rowsort x570 +SELECT abs(b-c), + a+b*2+c*3+d*4, + a+b*2, + (a+b+c+d+e)/5 + FROM t1 + WHERE c>d +---- +52 values hashing to 3d0071aa52b76cfd5320ac97977aa574 + +query IIII rowsort x570 +SELECT abs(b-c), + a+b*2+c*3+d*4, + a+b*2, + (a+b+c+d+e)/5 + FROM t1 + WHERE c>d + ORDER BY 2,1,4,3 +---- +52 values hashing to 3d0071aa52b76cfd5320ac97977aa574 + +query III rowsort x571 +SELECT (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.dt1.c AND x.db-2 AND ab-2 AND ab-2 AND ab-2 AND ab-2 AND ab-2 AND ab-2 AND ab-2 AND a(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.d=d+2) +---- +35 values hashing to 831bf1ee380966afc5246d9d7f22ddcc + +query IIIII rowsort x574 +SELECT c, + CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.d=d+2) + ORDER BY 3,4,1 +---- +35 values hashing to 831bf1ee380966afc5246d9d7f22ddcc + +query IIIII rowsort x574 +SELECT c, + CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.d=d+2) + AND d NOT BETWEEN 110 AND 150 +---- +35 values hashing to 831bf1ee380966afc5246d9d7f22ddcc + +query IIIII rowsort x574 +SELECT c, + CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.d=d+2) + AND d NOT BETWEEN 110 AND 150 + ORDER BY 4,1,3,2,5 +---- +35 values hashing to 831bf1ee380966afc5246d9d7f22ddcc + +query IIIII rowsort x574 +SELECT c, + CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.d=d+2) +---- +35 values hashing to 831bf1ee380966afc5246d9d7f22ddcc + +query IIIII rowsort x574 +SELECT c, + CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.d=d+2) + ORDER BY 2,5,4 +---- +35 values hashing to 831bf1ee380966afc5246d9d7f22ddcc + +query IIIII rowsort x575 +SELECT a+b*2+c*3, + CASE a+1 WHEN b THEN 111 WHEN c THEN 222 + WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, + d-e, + b-c, + a + FROM t1 +---- +150 values hashing to b08d384a8ae66fff46482ed9d1f3539a + +query IIIII rowsort x575 +SELECT a+b*2+c*3, + CASE a+1 WHEN b THEN 111 WHEN c THEN 222 + WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, + d-e, + b-c, + a + FROM t1 + ORDER BY 1,2,4,3,5 +---- +150 values hashing to b08d384a8ae66fff46482ed9d1f3539a + +query III rowsort x576 +SELECT e, + d, + (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.da AND et1.c AND x.da AND e=d+2) +---- +60 values hashing to e35119f8f9d05653a965303acf684221 + +query IIIIII rowsort x577 +SELECT a+b*2+c*3+d*4+e*5, + a, + CASE a+1 WHEN b THEN 111 WHEN c THEN 222 + WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, + (SELECT count(*) FROM t1 AS x WHERE x.b=d+2) + ORDER BY 6,2,1 +---- +60 values hashing to e35119f8f9d05653a965303acf684221 + +query III rowsort x578 +SELECT CASE a+1 WHEN b THEN 111 WHEN c THEN 222 + WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, + a-b, + a + FROM t1 + WHERE d>e + OR e+d BETWEEN a+b-10 AND c+130 + OR a>b +---- +66 values hashing to 42d7ccf4a35710e53f6fc55ab6fe39b2 + +query III rowsort x578 +SELECT CASE a+1 WHEN b THEN 111 WHEN c THEN 222 + WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, + a-b, + a + FROM t1 + WHERE d>e + OR e+d BETWEEN a+b-10 AND c+130 + OR a>b + ORDER BY 2,3,1 +---- +66 values hashing to 42d7ccf4a35710e53f6fc55ab6fe39b2 + +query III rowsort x578 +SELECT CASE a+1 WHEN b THEN 111 WHEN c THEN 222 + WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, + a-b, + a + FROM t1 + WHERE e+d BETWEEN a+b-10 AND c+130 + OR d>e + OR a>b +---- +66 values hashing to 42d7ccf4a35710e53f6fc55ab6fe39b2 + +query III rowsort x578 +SELECT CASE a+1 WHEN b THEN 111 WHEN c THEN 222 + WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, + a-b, + a + FROM t1 + WHERE e+d BETWEEN a+b-10 AND c+130 + OR d>e + OR a>b + ORDER BY 1,2,3 +---- +66 values hashing to 42d7ccf4a35710e53f6fc55ab6fe39b2 + +query III rowsort x578 +SELECT CASE a+1 WHEN b THEN 111 WHEN c THEN 222 + WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, + a-b, + a + FROM t1 + WHERE e+d BETWEEN a+b-10 AND c+130 + OR a>b + OR d>e +---- +66 values hashing to 42d7ccf4a35710e53f6fc55ab6fe39b2 + +query III rowsort x578 +SELECT CASE a+1 WHEN b THEN 111 WHEN c THEN 222 + WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, + a-b, + a + FROM t1 + WHERE e+d BETWEEN a+b-10 AND c+130 + OR a>b + OR d>e + ORDER BY 2,3 +---- +66 values hashing to 42d7ccf4a35710e53f6fc55ab6fe39b2 + +query III rowsort x579 +SELECT a+b*2+c*3, + b-c, + a+b*2+c*3+d*4+e*5 + FROM t1 + WHERE (c<=d-2 OR c>=d+2) +---- +30 values hashing to 0737ede50d772682aae2bc5274742144 + +query III rowsort x579 +SELECT a+b*2+c*3, + b-c, + a+b*2+c*3+d*4+e*5 + FROM t1 + WHERE (c<=d-2 OR c>=d+2) + ORDER BY 1,2,3 +---- +30 values hashing to 0737ede50d772682aae2bc5274742144 + +query IIIII rowsort x580 +SELECT CASE a+1 WHEN b THEN 111 WHEN c THEN 222 + WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, + (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.dt1.c AND x.de + AND b>c + AND (a>b-2 AND ae + AND b>c + AND (a>b-2 AND ab-2 AND ac + AND d>e +---- +137 +2 + +query II rowsort x581 +SELECT (a+b+c+d+e)/5, + abs(b-c) + FROM t1 + WHERE (a>b-2 AND ac + AND d>e + ORDER BY 1,2 +---- +137 +2 + +query II rowsort x581 +SELECT (a+b+c+d+e)/5, + abs(b-c) + FROM t1 + WHERE d>e + AND (a>b-2 AND ac +---- +137 +2 + +query II rowsort x581 +SELECT (a+b+c+d+e)/5, + abs(b-c) + FROM t1 + WHERE d>e + AND (a>b-2 AND ac + ORDER BY 1,2 +---- +137 +2 + +query IIII rowsort x582 +SELECT abs(a), + a+b*2+c*3+d*4+e*5, + (a+b+c+d+e)/5, + a-b + FROM t1 + WHERE e+d BETWEEN a+b-10 AND c+130 +---- +107 +1612 +107 +2 +127 +1902 +127 +-2 + +query IIII rowsort x582 +SELECT abs(a), + a+b*2+c*3+d*4+e*5, + (a+b+c+d+e)/5, + a-b + FROM t1 + WHERE e+d BETWEEN a+b-10 AND c+130 + ORDER BY 2,4,3 +---- +107 +1612 +107 +2 +127 +1902 +127 +-2 + +query I rowsort x583 +SELECT d + FROM t1 + WHERE EXISTS(SELECT 1 FROM t1 AS x WHERE x.be + AND (e>c OR ee + AND (e>c OR ec OR ee +---- +11 values hashing to 5fb1f7f101ae97ec369e8865b2f70e95 + +query I rowsort x583 +SELECT d + FROM t1 + WHERE EXISTS(SELECT 1 FROM t1 AS x WHERE x.bc OR ee + ORDER BY 1 +---- +11 values hashing to 5fb1f7f101ae97ec369e8865b2f70e95 + +query I rowsort x583 +SELECT d + FROM t1 + WHERE d>e + AND (e>c OR ee + AND (e>c OR ee + AND EXISTS(SELECT 1 FROM t1 AS x WHERE x.bc OR ee + AND EXISTS(SELECT 1 FROM t1 AS x WHERE x.bc OR e(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + a+b*2+c*3+d*4, + a-b, + b-c + FROM t1 + WHERE e+d BETWEEN a+b-10 AND c+130 + OR (e>c OR e(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + a+b*2+c*3+d*4, + a-b, + b-c + FROM t1 + WHERE e+d BETWEEN a+b-10 AND c+130 + OR (e>c OR e(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + a+b*2+c*3+d*4, + a-b, + b-c + FROM t1 + WHERE (e>c OR e(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + a+b*2+c*3+d*4, + a-b, + b-c + FROM t1 + WHERE (e>c OR ec + AND a>b +---- +12 values hashing to 2c0f6ec6275ba6c5272610a42842bac0 + +query II rowsort x585 +SELECT a+b*2+c*3, + a+b*2+c*3+d*4 + FROM t1 + WHERE b>c + AND a>b + ORDER BY 1,2 +---- +12 values hashing to 2c0f6ec6275ba6c5272610a42842bac0 + +query II rowsort x585 +SELECT a+b*2+c*3, + a+b*2+c*3+d*4 + FROM t1 + WHERE a>b + AND b>c +---- +12 values hashing to 2c0f6ec6275ba6c5272610a42842bac0 + +query II rowsort x585 +SELECT a+b*2+c*3, + a+b*2+c*3+d*4 + FROM t1 + WHERE a>b + AND b>c + ORDER BY 2,1 +---- +12 values hashing to 2c0f6ec6275ba6c5272610a42842bac0 + +query II rowsort x586 +SELECT d, + abs(b-c) + FROM t1 +---- +60 values hashing to 00d4ab74410d8ac671760d7198435203 + +query II rowsort x586 +SELECT d, + abs(b-c) + FROM t1 + ORDER BY 2,1 +---- +60 values hashing to 00d4ab74410d8ac671760d7198435203 + +query IIIIIII rowsort x587 +SELECT abs(b-c), + c-d, + a+b*2+c*3+d*4+e*5, + CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + b-c, + a-b, + e + FROM t1 + WHERE c BETWEEN b-2 AND d+2 +---- +105 values hashing to 3e83008eb896a69947fcb2f5c00261ba + +query IIIIIII rowsort x587 +SELECT abs(b-c), + c-d, + a+b*2+c*3+d*4+e*5, + CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + b-c, + a-b, + e + FROM t1 + WHERE c BETWEEN b-2 AND d+2 + ORDER BY 7,6,5,3 +---- +105 values hashing to 3e83008eb896a69947fcb2f5c00261ba + +query IIIII rowsort x588 +SELECT b-c, + (SELECT count(*) FROM t1 AS x WHERE x.bb-2 AND ab-2 AND ab + AND c>d +---- +222 +333 +444 +555 + +query I rowsort x589 +SELECT CASE a+1 WHEN b THEN 111 WHEN c THEN 222 + WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END + FROM t1 + WHERE d NOT BETWEEN 110 AND 150 + AND a>b + AND c>d + ORDER BY 1 +---- +222 +333 +444 +555 + +query I rowsort x589 +SELECT CASE a+1 WHEN b THEN 111 WHEN c THEN 222 + WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END + FROM t1 + WHERE a>b + AND d NOT BETWEEN 110 AND 150 + AND c>d +---- +222 +333 +444 +555 + +query I rowsort x589 +SELECT CASE a+1 WHEN b THEN 111 WHEN c THEN 222 + WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END + FROM t1 + WHERE a>b + AND d NOT BETWEEN 110 AND 150 + AND c>d + ORDER BY 1 +---- +222 +333 +444 +555 + +query I rowsort x589 +SELECT CASE a+1 WHEN b THEN 111 WHEN c THEN 222 + WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END + FROM t1 + WHERE c>d + AND d NOT BETWEEN 110 AND 150 + AND a>b +---- +222 +333 +444 +555 + +query I rowsort x589 +SELECT CASE a+1 WHEN b THEN 111 WHEN c THEN 222 + WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END + FROM t1 + WHERE c>d + AND d NOT BETWEEN 110 AND 150 + AND a>b + ORDER BY 1 +---- +222 +333 +444 +555 + +query IIIIII rowsort x590 +SELECT (SELECT count(*) FROM t1 AS x WHERE x.b(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + d, + b-c + FROM t1 + WHERE (a>b-2 AND a=d+2) + OR c>d +---- +132 values hashing to d647e0271e7dcd20be4b01806dc9049c + +query IIIIII rowsort x590 +SELECT (SELECT count(*) FROM t1 AS x WHERE x.b(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + d, + b-c + FROM t1 + WHERE (a>b-2 AND a=d+2) + OR c>d + ORDER BY 3,6,5,1 +---- +132 values hashing to d647e0271e7dcd20be4b01806dc9049c + +query IIIIII rowsort x590 +SELECT (SELECT count(*) FROM t1 AS x WHERE x.b(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + d, + b-c + FROM t1 + WHERE c>d + OR (a>b-2 AND a=d+2) +---- +132 values hashing to d647e0271e7dcd20be4b01806dc9049c + +query IIIIII rowsort x590 +SELECT (SELECT count(*) FROM t1 AS x WHERE x.b(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + d, + b-c + FROM t1 + WHERE c>d + OR (a>b-2 AND a=d+2) + ORDER BY 1,3,4,6,5,2 +---- +132 values hashing to d647e0271e7dcd20be4b01806dc9049c + +query IIIIII rowsort x590 +SELECT (SELECT count(*) FROM t1 AS x WHERE x.b(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + d, + b-c + FROM t1 + WHERE (c<=d-2 OR c>=d+2) + OR (a>b-2 AND ad +---- +132 values hashing to d647e0271e7dcd20be4b01806dc9049c + +query IIIIII rowsort x590 +SELECT (SELECT count(*) FROM t1 AS x WHERE x.b(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + d, + b-c + FROM t1 + WHERE (c<=d-2 OR c>=d+2) + OR (a>b-2 AND ad + ORDER BY 5,1 +---- +132 values hashing to d647e0271e7dcd20be4b01806dc9049c + +query IIII rowsort x591 +SELECT CASE a+1 WHEN b THEN 111 WHEN c THEN 222 + WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, + d-e, + a+b*2, + CASE WHEN a=d+2) +---- +20 values hashing to 6fd9b50aa7457890a85c270b8a4f1525 + +query II rowsort x592 +SELECT b-c, + a+b*2+c*3 + FROM t1 + WHERE (c<=d-2 OR c>=d+2) + ORDER BY 2,1 +---- +20 values hashing to 6fd9b50aa7457890a85c270b8a4f1525 + +query IIIIII rowsort x593 +SELECT a+b*2+c*3+d*4+e*5, + abs(a), + abs(b-c), + a-b, + CASE a+1 WHEN b THEN 111 WHEN c THEN 222 + WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, + c-d + FROM t1 + WHERE e+d BETWEEN a+b-10 AND c+130 + OR d>e +---- +72 values hashing to ead099d9e1a14c3c5109d016773391b0 + +query IIIIII rowsort x593 +SELECT a+b*2+c*3+d*4+e*5, + abs(a), + abs(b-c), + a-b, + CASE a+1 WHEN b THEN 111 WHEN c THEN 222 + WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, + c-d + FROM t1 + WHERE e+d BETWEEN a+b-10 AND c+130 + OR d>e + ORDER BY 5,2,1,3 +---- +72 values hashing to ead099d9e1a14c3c5109d016773391b0 + +query IIIIII rowsort x593 +SELECT a+b*2+c*3+d*4+e*5, + abs(a), + abs(b-c), + a-b, + CASE a+1 WHEN b THEN 111 WHEN c THEN 222 + WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, + c-d + FROM t1 + WHERE d>e + OR e+d BETWEEN a+b-10 AND c+130 +---- +72 values hashing to ead099d9e1a14c3c5109d016773391b0 + +query IIIIII rowsort x593 +SELECT a+b*2+c*3+d*4+e*5, + abs(a), + abs(b-c), + a-b, + CASE a+1 WHEN b THEN 111 WHEN c THEN 222 + WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, + c-d + FROM t1 + WHERE d>e + OR e+d BETWEEN a+b-10 AND c+130 + ORDER BY 1,4,3 +---- +72 values hashing to ead099d9e1a14c3c5109d016773391b0 + +query III rowsort x594 +SELECT a, + a+b*2+c*3, + abs(a) + FROM t1 + WHERE e+d BETWEEN a+b-10 AND c+130 +---- +107 +635 +107 +127 +760 +127 + +query III rowsort x594 +SELECT a, + a+b*2+c*3, + abs(a) + FROM t1 + WHERE e+d BETWEEN a+b-10 AND c+130 + ORDER BY 3,1,2 +---- +107 +635 +107 +127 +760 +127 + +query IIIIII rowsort x595 +SELECT a+b*2+c*3+d*4, + a, + e, + CASE WHEN ac + OR d>e +---- +120 values hashing to 49200402fefc8a32ee212ece11bbc9b2 + +query IIIIII rowsort x595 +SELECT a+b*2+c*3+d*4, + a, + e, + CASE WHEN ac + OR d>e + ORDER BY 2,1,3,5,6,4 +---- +120 values hashing to 49200402fefc8a32ee212ece11bbc9b2 + +query III rowsort x596 +SELECT CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + e, + abs(a) + FROM t1 +---- +90 values hashing to ee68c9fb4d87c760d5e873f2e913c5a4 + +query III rowsort x596 +SELECT CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + e, + abs(a) + FROM t1 + ORDER BY 2,1,3 +---- +90 values hashing to ee68c9fb4d87c760d5e873f2e913c5a4 + +query I rowsort x597 +SELECT (SELECT count(*) FROM t1 AS x WHERE x.bb-2 AND ab-2 AND a(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + a-b, + a+b*2+c*3+d*4, + CASE WHEN a(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + a-b, + a+b*2+c*3+d*4, + CASE WHEN ab-2 AND ab-2 AND at1.c AND x.dc +---- +25 values hashing to f67c91cee8cbcab4101b0c4e9ea42a8b + +query IIIII rowsort x601 +SELECT abs(a), + CASE WHEN at1.c AND x.dc + ORDER BY 3,2,4,5,1 +---- +25 values hashing to f67c91cee8cbcab4101b0c4e9ea42a8b + +query IIIII rowsort x601 +SELECT abs(a), + CASE WHEN at1.c AND x.dc + AND c BETWEEN b-2 AND d+2 +---- +25 values hashing to f67c91cee8cbcab4101b0c4e9ea42a8b + +query IIIII rowsort x601 +SELECT abs(a), + CASE WHEN at1.c AND x.dc + AND c BETWEEN b-2 AND d+2 + ORDER BY 3,1,2,5 +---- +25 values hashing to f67c91cee8cbcab4101b0c4e9ea42a8b + +query IIIIII rowsort x602 +SELECT a+b*2+c*3, + abs(a), + a+b*2, + b, + e, + CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END + FROM t1 + WHERE EXISTS(SELECT 1 FROM t1 AS x WHERE x.b(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END + FROM t1 + WHERE EXISTS(SELECT 1 FROM t1 AS x WHERE x.bc OR ec OR ec OR ec OR ee + OR b>c +---- +60 values hashing to 59d499d10435c069fa6a84e2d995bf33 + +query III rowsort x604 +SELECT a-b, + a+b*2, + a + FROM t1 + WHERE d>e + OR b>c + ORDER BY 3,1 +---- +60 values hashing to 59d499d10435c069fa6a84e2d995bf33 + +query III rowsort x604 +SELECT a-b, + a+b*2, + a + FROM t1 + WHERE b>c + OR d>e +---- +60 values hashing to 59d499d10435c069fa6a84e2d995bf33 + +query III rowsort x604 +SELECT a-b, + a+b*2, + a + FROM t1 + WHERE b>c + OR d>e + ORDER BY 2,3,1 +---- +60 values hashing to 59d499d10435c069fa6a84e2d995bf33 + +query IIIIII rowsort x605 +SELECT e, + b, + a+b*2+c*3, + a+b*2, + CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + (a+b+c+d+e)/5 + FROM t1 + WHERE c BETWEEN b-2 AND d+2 + AND c>d +---- +60 values hashing to c211130e730d38e13bad6ff26cee19a9 + +query IIIIII rowsort x605 +SELECT e, + b, + a+b*2+c*3, + a+b*2, + CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + (a+b+c+d+e)/5 + FROM t1 + WHERE c BETWEEN b-2 AND d+2 + AND c>d + ORDER BY 5,4,3,6,2 +---- +60 values hashing to c211130e730d38e13bad6ff26cee19a9 + +query IIIIII rowsort x605 +SELECT e, + b, + a+b*2+c*3, + a+b*2, + CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + (a+b+c+d+e)/5 + FROM t1 + WHERE c>d + AND c BETWEEN b-2 AND d+2 +---- +60 values hashing to c211130e730d38e13bad6ff26cee19a9 + +query IIIIII rowsort x605 +SELECT e, + b, + a+b*2+c*3, + a+b*2, + CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + (a+b+c+d+e)/5 + FROM t1 + WHERE c>d + AND c BETWEEN b-2 AND d+2 + ORDER BY 1,2 +---- +60 values hashing to c211130e730d38e13bad6ff26cee19a9 + +query I rowsort x606 +SELECT a + FROM t1 +---- +30 values hashing to 9a6afb6b859fc856aafb6a7af11a38e4 + +query I rowsort x606 +SELECT a + FROM t1 + ORDER BY 1 +---- +30 values hashing to 9a6afb6b859fc856aafb6a7af11a38e4 + +query IIII rowsort x607 +SELECT a, + (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.dd + AND EXISTS(SELECT 1 FROM t1 AS x WHERE x.bt1.c AND x.dd + AND EXISTS(SELECT 1 FROM t1 AS x WHERE x.bt1.c AND x.dd +---- +44 values hashing to 2a90f8140851a46adb39b25b04957845 + +query IIII rowsort x607 +SELECT a, + (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.dd + ORDER BY 4,2,3,1 +---- +44 values hashing to 2a90f8140851a46adb39b25b04957845 + +query IIIIIII rowsort x608 +SELECT d-e, + e, + b, + c, + abs(b-c), + a+b*2+c*3+d*4, + (a+b+c+d+e)/5 + FROM t1 + WHERE b>c + OR a>b + OR (e>c OR ec + OR a>b + OR (e>c OR ec + OR (e>c OR eb +---- +189 values hashing to 9f4ad7fd9a7988f4345043e6a470f0eb + +query IIIIIII rowsort x608 +SELECT d-e, + e, + b, + c, + abs(b-c), + a+b*2+c*3+d*4, + (a+b+c+d+e)/5 + FROM t1 + WHERE b>c + OR (e>c OR eb + ORDER BY 4,7,1,2,6 +---- +189 values hashing to 9f4ad7fd9a7988f4345043e6a470f0eb + +query IIIIIII rowsort x608 +SELECT d-e, + e, + b, + c, + abs(b-c), + a+b*2+c*3+d*4, + (a+b+c+d+e)/5 + FROM t1 + WHERE (e>c OR eb + OR b>c +---- +189 values hashing to 9f4ad7fd9a7988f4345043e6a470f0eb + +query IIIIIII rowsort x608 +SELECT d-e, + e, + b, + c, + abs(b-c), + a+b*2+c*3+d*4, + (a+b+c+d+e)/5 + FROM t1 + WHERE (e>c OR eb + OR b>c + ORDER BY 7,2,6,1,5,4,3 +---- +189 values hashing to 9f4ad7fd9a7988f4345043e6a470f0eb + +query IIIIII rowsort x609 +SELECT c, + a+b*2+c*3+d*4, + (a+b+c+d+e)/5, + a+b*2+c*3+d*4+e*5, + a+b*2, + d-e + FROM t1 + WHERE c>d + AND e+d BETWEEN a+b-10 AND c+130 + AND (e>a AND ed + AND e+d BETWEEN a+b-10 AND c+130 + AND (e>a AND ea AND ed + AND e+d BETWEEN a+b-10 AND c+130 +---- + +query IIIIII rowsort x609 +SELECT c, + a+b*2+c*3+d*4, + (a+b+c+d+e)/5, + a+b*2+c*3+d*4+e*5, + a+b*2, + d-e + FROM t1 + WHERE (e>a AND ed + AND e+d BETWEEN a+b-10 AND c+130 + ORDER BY 4,6,2,1,5,3 +---- + +query IIII rowsort x610 +SELECT (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.de +---- +44 values hashing to b0e581470db2e8b2cc006ff316140cf7 + +query IIII rowsort x610 +SELECT (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.de + ORDER BY 4,2,1 +---- +44 values hashing to b0e581470db2e8b2cc006ff316140cf7 + +query I rowsort x611 +SELECT b + FROM t1 +---- +30 values hashing to 9697cb5cadc4331af70386531f7792a9 + +query I rowsort x611 +SELECT b + FROM t1 + ORDER BY 1 +---- +30 values hashing to 9697cb5cadc4331af70386531f7792a9 + +query II rowsort x612 +SELECT d, + a+b*2 + FROM t1 + WHERE e+d BETWEEN a+b-10 AND c+130 + AND d>e + AND c BETWEEN b-2 AND d+2 +---- + +query II rowsort x612 +SELECT d, + a+b*2 + FROM t1 + WHERE e+d BETWEEN a+b-10 AND c+130 + AND d>e + AND c BETWEEN b-2 AND d+2 + ORDER BY 1,2 +---- + +query II rowsort x612 +SELECT d, + a+b*2 + FROM t1 + WHERE e+d BETWEEN a+b-10 AND c+130 + AND c BETWEEN b-2 AND d+2 + AND d>e +---- + +query II rowsort x612 +SELECT d, + a+b*2 + FROM t1 + WHERE e+d BETWEEN a+b-10 AND c+130 + AND c BETWEEN b-2 AND d+2 + AND d>e + ORDER BY 2,1 +---- + +query II rowsort x612 +SELECT d, + a+b*2 + FROM t1 + WHERE c BETWEEN b-2 AND d+2 + AND e+d BETWEEN a+b-10 AND c+130 + AND d>e +---- + +query II rowsort x612 +SELECT d, + a+b*2 + FROM t1 + WHERE c BETWEEN b-2 AND d+2 + AND e+d BETWEEN a+b-10 AND c+130 + AND d>e + ORDER BY 2,1 +---- + +query II rowsort x613 +SELECT a+b*2+c*3+d*4, + a + FROM t1 + WHERE c BETWEEN b-2 AND d+2 + OR (e>a AND ec +---- +46 values hashing to 4e3336bea5bf7984bcab041050e540ec + +query II rowsort x613 +SELECT a+b*2+c*3+d*4, + a + FROM t1 + WHERE c BETWEEN b-2 AND d+2 + OR (e>a AND ec + ORDER BY 2,1 +---- +46 values hashing to 4e3336bea5bf7984bcab041050e540ec + +query II rowsort x613 +SELECT a+b*2+c*3+d*4, + a + FROM t1 + WHERE c BETWEEN b-2 AND d+2 + OR b>c + OR (e>a AND ec + OR (e>a AND e(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + c-d + FROM t1 + WHERE c>d +---- +65 values hashing to d0755f06ce4481afa6b7f87a5410f7ae + +query IIIII rowsort x615 +SELECT a+b*2+c*3+d*4, + e, + abs(b-c), + CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + c-d + FROM t1 + WHERE c>d + ORDER BY 1,2,3,5,4 +---- +65 values hashing to d0755f06ce4481afa6b7f87a5410f7ae + +query IIII rowsort x616 +SELECT abs(b-c), + d-e, + a+b*2+c*3+d*4, + (a+b+c+d+e)/5 + FROM t1 + WHERE a>b + AND (c<=d-2 OR c>=d+2) +---- +20 values hashing to 2106e5a753ac202c6064546142a3578f + +query IIII rowsort x616 +SELECT abs(b-c), + d-e, + a+b*2+c*3+d*4, + (a+b+c+d+e)/5 + FROM t1 + WHERE a>b + AND (c<=d-2 OR c>=d+2) + ORDER BY 1,3,4,2 +---- +20 values hashing to 2106e5a753ac202c6064546142a3578f + +query IIIIII rowsort x617 +SELECT CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + a+b*2+c*3+d*4, + a-b, + b-c, + abs(b-c), + (a+b+c+d+e)/5 + FROM t1 + WHERE (e>c OR e(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + a+b*2+c*3+d*4, + a-b, + b-c, + abs(b-c), + (a+b+c+d+e)/5 + FROM t1 + WHERE (e>c OR ea AND ea AND ea AND ea AND e(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + e + FROM t1 + WHERE (a>b-2 AND a(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + e + FROM t1 + WHERE (a>b-2 AND ac + OR (c<=d-2 OR c>=d+2) +---- +95 values hashing to 7811b63159124b3a5f973e1d6733e15e + +query IIIII rowsort x620 +SELECT (SELECT count(*) FROM t1 AS x WHERE x.bc + OR (c<=d-2 OR c>=d+2) + ORDER BY 1,5,3,4 +---- +95 values hashing to 7811b63159124b3a5f973e1d6733e15e + +query IIIII rowsort x620 +SELECT (SELECT count(*) FROM t1 AS x WHERE x.b=d+2) + OR b>c +---- +95 values hashing to 7811b63159124b3a5f973e1d6733e15e + +query IIIII rowsort x620 +SELECT (SELECT count(*) FROM t1 AS x WHERE x.b=d+2) + OR b>c + ORDER BY 4,2,5,3 +---- +95 values hashing to 7811b63159124b3a5f973e1d6733e15e + +query IIII rowsort x621 +SELECT a+b*2+c*3+d*4, + abs(b-c), + (a+b+c+d+e)/5, + c + FROM t1 + WHERE (c<=d-2 OR c>=d+2) + AND b>c + AND EXISTS(SELECT 1 FROM t1 AS x WHERE x.b=d+2) + AND b>c + AND EXISTS(SELECT 1 FROM t1 AS x WHERE x.b=d+2) + AND b>c +---- +16 values hashing to 42d8187b851bde596da680e62bd20ad1 + +query IIII rowsort x621 +SELECT a+b*2+c*3+d*4, + abs(b-c), + (a+b+c+d+e)/5, + c + FROM t1 + WHERE EXISTS(SELECT 1 FROM t1 AS x WHERE x.b=d+2) + AND b>c + ORDER BY 4,3,2 +---- +16 values hashing to 42d8187b851bde596da680e62bd20ad1 + +query IIII rowsort x621 +SELECT a+b*2+c*3+d*4, + abs(b-c), + (a+b+c+d+e)/5, + c + FROM t1 + WHERE EXISTS(SELECT 1 FROM t1 AS x WHERE x.bc + AND (c<=d-2 OR c>=d+2) +---- +16 values hashing to 42d8187b851bde596da680e62bd20ad1 + +query IIII rowsort x621 +SELECT a+b*2+c*3+d*4, + abs(b-c), + (a+b+c+d+e)/5, + c + FROM t1 + WHERE EXISTS(SELECT 1 FROM t1 AS x WHERE x.bc + AND (c<=d-2 OR c>=d+2) + ORDER BY 3,1,4 +---- +16 values hashing to 42d8187b851bde596da680e62bd20ad1 + +query IIIII rowsort x622 +SELECT e, + d-e, + abs(a), + b-c, + (a+b+c+d+e)/5 + FROM t1 +---- +150 values hashing to 27f32d662f3d6d294760141373c8ce9e + +query IIIII rowsort x622 +SELECT e, + d-e, + abs(a), + b-c, + (a+b+c+d+e)/5 + FROM t1 + ORDER BY 5,3,4 +---- +150 values hashing to 27f32d662f3d6d294760141373c8ce9e + +query I rowsort x623 +SELECT a+b*2+c*3 + FROM t1 + WHERE (a>b-2 AND ab-2 AND ab + OR d>e + OR (c<=d-2 OR c>=d+2) +---- +125 values hashing to 53f534fc08db58afb6497d397bd5bb95 + +query IIIII rowsort x624 +SELECT a+b*2, + d, + e, + a+b*2+c*3+d*4+e*5, + a+b*2+c*3+d*4 + FROM t1 + WHERE a>b + OR d>e + OR (c<=d-2 OR c>=d+2) + ORDER BY 2,4 +---- +125 values hashing to 53f534fc08db58afb6497d397bd5bb95 + +query IIIII rowsort x624 +SELECT a+b*2, + d, + e, + a+b*2+c*3+d*4+e*5, + a+b*2+c*3+d*4 + FROM t1 + WHERE (c<=d-2 OR c>=d+2) + OR a>b + OR d>e +---- +125 values hashing to 53f534fc08db58afb6497d397bd5bb95 + +query IIIII rowsort x624 +SELECT a+b*2, + d, + e, + a+b*2+c*3+d*4+e*5, + a+b*2+c*3+d*4 + FROM t1 + WHERE (c<=d-2 OR c>=d+2) + OR a>b + OR d>e + ORDER BY 1,3,2,5,4 +---- +125 values hashing to 53f534fc08db58afb6497d397bd5bb95 + +query IIIII rowsort x624 +SELECT a+b*2, + d, + e, + a+b*2+c*3+d*4+e*5, + a+b*2+c*3+d*4 + FROM t1 + WHERE d>e + OR (c<=d-2 OR c>=d+2) + OR a>b +---- +125 values hashing to 53f534fc08db58afb6497d397bd5bb95 + +query IIIII rowsort x624 +SELECT a+b*2, + d, + e, + a+b*2+c*3+d*4+e*5, + a+b*2+c*3+d*4 + FROM t1 + WHERE d>e + OR (c<=d-2 OR c>=d+2) + OR a>b + ORDER BY 1,2,5,4,3 +---- +125 values hashing to 53f534fc08db58afb6497d397bd5bb95 + +query IIII rowsort x625 +SELECT b, + (a+b+c+d+e)/5, + a+b*2+c*3+d*4, + e + FROM t1 + WHERE (e>c OR ec OR et1.c AND x.d(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + a+b*2+c*3+d*4, + CASE WHEN a=d+2) +---- +10 values hashing to 99ad44057ef6c31bb7427cf8ad3c0d26 + +query IIIII rowsort x626 +SELECT e, + (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.d(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + a+b*2+c*3+d*4, + CASE WHEN a=d+2) + ORDER BY 2,1,3 +---- +10 values hashing to 99ad44057ef6c31bb7427cf8ad3c0d26 + +query IIIII rowsort x626 +SELECT e, + (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.d(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + a+b*2+c*3+d*4, + CASE WHEN a=d+2) + AND e+d BETWEEN a+b-10 AND c+130 +---- +10 values hashing to 99ad44057ef6c31bb7427cf8ad3c0d26 + +query IIIII rowsort x626 +SELECT e, + (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.d(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + a+b*2+c*3+d*4, + CASE WHEN a=d+2) + AND e+d BETWEEN a+b-10 AND c+130 + ORDER BY 3,4,1,5 +---- +10 values hashing to 99ad44057ef6c31bb7427cf8ad3c0d26 + +query IIII rowsort x627 +SELECT c-d, + c, + abs(a), + a+b*2+c*3 + FROM t1 + WHERE c BETWEEN b-2 AND d+2 + AND (e>c OR ec OR ec OR ec OR et1.c AND x.db-2 AND at1.c AND x.db-2 AND ae + OR (a>b-2 AND ad +---- +161 values hashing to 0075fc322441a6991573270f863c003e + +query IIIIIII rowsort x630 +SELECT CASE WHEN ae + OR (a>b-2 AND ad + ORDER BY 7,6,2 +---- +161 values hashing to 0075fc322441a6991573270f863c003e + +query IIIIIII rowsort x630 +SELECT CASE WHEN ae + OR c>d + OR (a>b-2 AND ae + OR c>d + OR (a>b-2 AND ad + OR d>e + OR (a>b-2 AND ad + OR d>e + OR (a>b-2 AND a(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + b, + abs(a) + FROM t1 +---- +180 values hashing to b995fd3ed3a0e0bb771def6e5722bb0a + +query IIIIII rowsort x631 +SELECT a+b*2+c*3, + a+b*2+c*3+d*4+e*5, + CASE WHEN a(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + b, + abs(a) + FROM t1 + ORDER BY 1,2,5,4,3 +---- +180 values hashing to b995fd3ed3a0e0bb771def6e5722bb0a + +query III rowsort x632 +SELECT CASE WHEN ab-2 AND ab-2 AND at1.c AND x.dd +---- +78 values hashing to eac728c6ddb91ccd31a0d1128417639c + +query IIIIII rowsort x633 +SELECT CASE a+1 WHEN b THEN 111 WHEN c THEN 222 + WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, + a+b*2+c*3, + (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.dd + ORDER BY 2,4,5,6 +---- +78 values hashing to eac728c6ddb91ccd31a0d1128417639c + +query I rowsort x634 +SELECT a-b + FROM t1 + WHERE e+d BETWEEN a+b-10 AND c+130 + OR (a>b-2 AND ac OR eb-2 AND ac OR eb-2 AND ac OR eb-2 AND ac OR eb-2 AND ac OR eb-2 AND ac OR e(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + (a+b+c+d+e)/5 + FROM t1 + WHERE (a>b-2 AND a(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + (a+b+c+d+e)/5 + FROM t1 + WHERE (a>b-2 AND ab-2 AND ab + AND c BETWEEN b-2 AND d+2 +---- +1325 +391 +444 +4 +1828 +544 +333 +14 + +query IIII rowsort x636 +SELECT a+b*2+c*3+d*4, + a+b*2, + CASE a+1 WHEN b THEN 111 WHEN c THEN 222 + WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, + (SELECT count(*) FROM t1 AS x WHERE x.bb-2 AND ab + AND c BETWEEN b-2 AND d+2 + ORDER BY 3,2 +---- +1325 +391 +444 +4 +1828 +544 +333 +14 + +query IIII rowsort x636 +SELECT a+b*2+c*3+d*4, + a+b*2, + CASE a+1 WHEN b THEN 111 WHEN c THEN 222 + WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, + (SELECT count(*) FROM t1 AS x WHERE x.bb + AND c BETWEEN b-2 AND d+2 + AND (a>b-2 AND ab + AND c BETWEEN b-2 AND d+2 + AND (a>b-2 AND ab-2 AND ab +---- +1325 +391 +444 +4 +1828 +544 +333 +14 + +query IIII rowsort x636 +SELECT a+b*2+c*3+d*4, + a+b*2, + CASE a+1 WHEN b THEN 111 WHEN c THEN 222 + WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, + (SELECT count(*) FROM t1 AS x WHERE x.bb-2 AND ab + ORDER BY 2,4,3,1 +---- +1325 +391 +444 +4 +1828 +544 +333 +14 + +query IIII rowsort x636 +SELECT a+b*2+c*3+d*4, + a+b*2, + CASE a+1 WHEN b THEN 111 WHEN c THEN 222 + WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, + (SELECT count(*) FROM t1 AS x WHERE x.bb + AND (a>b-2 AND ab + AND (a>b-2 AND ab +---- +16 values hashing to 7d839bd833a63d8738f66b90ff985dab + +query I rowsort x637 +SELECT e + FROM t1 + WHERE EXISTS(SELECT 1 FROM t1 AS x WHERE x.bb + ORDER BY 1 +---- +16 values hashing to 7d839bd833a63d8738f66b90ff985dab + +query I rowsort x637 +SELECT e + FROM t1 + WHERE a>b + AND EXISTS(SELECT 1 FROM t1 AS x WHERE x.bb + AND EXISTS(SELECT 1 FROM t1 AS x WHERE x.bc +---- +135 values hashing to e7aa3c5e3a24b65ef956b409a661d477 + +query IIIII rowsort x638 +SELECT e, + CASE WHEN ac + ORDER BY 4,1 +---- +135 values hashing to e7aa3c5e3a24b65ef956b409a661d477 + +query IIIII rowsort x638 +SELECT e, + CASE WHEN ac + OR EXISTS(SELECT 1 FROM t1 AS x WHERE x.bc + OR EXISTS(SELECT 1 FROM t1 AS x WHERE x.bc + OR e+d BETWEEN a+b-10 AND c+130 +---- +135 values hashing to e7aa3c5e3a24b65ef956b409a661d477 + +query IIIII rowsort x638 +SELECT e, + CASE WHEN ac + OR e+d BETWEEN a+b-10 AND c+130 + ORDER BY 1,5,3,4,2 +---- +135 values hashing to e7aa3c5e3a24b65ef956b409a661d477 + +query II rowsort x639 +SELECT d-e, + CASE a+1 WHEN b THEN 111 WHEN c THEN 222 + WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END + FROM t1 + WHERE (e>a AND ee +---- +52 values hashing to f1d3044a0e85a2767084245edcb2f4a6 + +query II rowsort x639 +SELECT d-e, + CASE a+1 WHEN b THEN 111 WHEN c THEN 222 + WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END + FROM t1 + WHERE (e>a AND ee + ORDER BY 2,1 +---- +52 values hashing to f1d3044a0e85a2767084245edcb2f4a6 + +query II rowsort x639 +SELECT d-e, + CASE a+1 WHEN b THEN 111 WHEN c THEN 222 + WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END + FROM t1 + WHERE d>e + OR (e>a AND ee + OR (e>a AND ee + OR (e>a AND ee + OR (e>a AND eb + OR e+d BETWEEN a+b-10 AND c+130 +---- +75 values hashing to cf041186510209396f2e00bd4f59e36f + +query III rowsort x640 +SELECT c, + (SELECT count(*) FROM t1 AS x WHERE x.bb + OR e+d BETWEEN a+b-10 AND c+130 + ORDER BY 2,3,1 +---- +75 values hashing to cf041186510209396f2e00bd4f59e36f + +query III rowsort x640 +SELECT c, + (SELECT count(*) FROM t1 AS x WHERE x.bb + OR e+d BETWEEN a+b-10 AND c+130 + OR d NOT BETWEEN 110 AND 150 +---- +75 values hashing to cf041186510209396f2e00bd4f59e36f + +query III rowsort x640 +SELECT c, + (SELECT count(*) FROM t1 AS x WHERE x.bb + OR e+d BETWEEN a+b-10 AND c+130 + OR d NOT BETWEEN 110 AND 150 + ORDER BY 1,3,2 +---- +75 values hashing to cf041186510209396f2e00bd4f59e36f + +query IIIIII rowsort x641 +SELECT c, + d, + a+b*2+c*3+d*4+e*5, + d-e, + b-c, + a+b*2 + FROM t1 +---- +180 values hashing to efbf7446555a01f143d113eadb8baae3 + +query IIIIII rowsort x641 +SELECT c, + d, + a+b*2+c*3+d*4+e*5, + d-e, + b-c, + a+b*2 + FROM t1 + ORDER BY 5,4,3 +---- +180 values hashing to efbf7446555a01f143d113eadb8baae3 + +query IIIIIII rowsort x642 +SELECT b, + CASE WHEN a(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + c-d + FROM t1 +---- +210 values hashing to 7de752c4774915444d60e77708b2048c + +query IIIIIII rowsort x642 +SELECT b, + CASE WHEN a(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + c-d + FROM t1 + ORDER BY 1,6,5,4,7,2 +---- +210 values hashing to 7de752c4774915444d60e77708b2048c + +query IIIIII rowsort x643 +SELECT a+b*2+c*3+d*4+e*5, + a+b*2, + (a+b+c+d+e)/5, + a+b*2+c*3+d*4, + c, + c-d + FROM t1 + WHERE (e>a AND eb-2 AND aa AND eb-2 AND ab + OR (c<=d-2 OR c>=d+2) +---- +66 values hashing to 7cbbec5d5fa1bb9944f843aa4c37f973 + +query III rowsort x644 +SELECT CASE WHEN ab + OR (c<=d-2 OR c>=d+2) + ORDER BY 2,3 +---- +66 values hashing to 7cbbec5d5fa1bb9944f843aa4c37f973 + +query III rowsort x644 +SELECT CASE WHEN a=d+2) + OR e+d BETWEEN a+b-10 AND c+130 + OR a>b +---- +66 values hashing to 7cbbec5d5fa1bb9944f843aa4c37f973 + +query III rowsort x644 +SELECT CASE WHEN a=d+2) + OR e+d BETWEEN a+b-10 AND c+130 + OR a>b + ORDER BY 1,3,2 +---- +66 values hashing to 7cbbec5d5fa1bb9944f843aa4c37f973 + +query IIIIII rowsort x645 +SELECT (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.dt1.c AND x.dt1.c AND x.dt1.c AND x.db-2 AND ab-2 AND ae +---- +9 values hashing to b54db3efe6d10d8d5c23d5b40a6e98f4 + +query I rowsort x647 +SELECT e + FROM t1 + WHERE c BETWEEN b-2 AND d+2 + AND d>e + ORDER BY 1 +---- +9 values hashing to b54db3efe6d10d8d5c23d5b40a6e98f4 + +query I rowsort x647 +SELECT e + FROM t1 + WHERE d>e + AND c BETWEEN b-2 AND d+2 +---- +9 values hashing to b54db3efe6d10d8d5c23d5b40a6e98f4 + +query I rowsort x647 +SELECT e + FROM t1 + WHERE d>e + AND c BETWEEN b-2 AND d+2 + ORDER BY 1 +---- +9 values hashing to b54db3efe6d10d8d5c23d5b40a6e98f4 + +query II rowsort x648 +SELECT a+b*2, + abs(a) + FROM t1 + WHERE d NOT BETWEEN 110 AND 150 +---- +34 values hashing to 431dcbdecbfe1b6d6b282b2f49c172ac + +query II rowsort x648 +SELECT a+b*2, + abs(a) + FROM t1 + WHERE d NOT BETWEEN 110 AND 150 + ORDER BY 1,2 +---- +34 values hashing to 431dcbdecbfe1b6d6b282b2f49c172ac + +query III rowsort x649 +SELECT (SELECT count(*) FROM t1 AS x WHERE x.ba AND ea AND ea AND ea AND et1.c AND x.d(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + d, + a+b*2+c*3+d*4, + abs(a) + FROM t1 + WHERE (c<=d-2 OR c>=d+2) +---- +70 values hashing to 6e510133a22ce9d30f9d1179329b8878 + +query IIIIIII rowsort x650 +SELECT (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.d(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + d, + a+b*2+c*3+d*4, + abs(a) + FROM t1 + WHERE (c<=d-2 OR c>=d+2) + ORDER BY 3,7 +---- +70 values hashing to 6e510133a22ce9d30f9d1179329b8878 + +query IIIIII rowsort x651 +SELECT a+b*2+c*3, + d, + a+b*2, + c-d, + e, + b-c + FROM t1 +---- +180 values hashing to bc4513b12162a93825e9bfea4fe97a1d + +query IIIIII rowsort x651 +SELECT a+b*2+c*3, + d, + a+b*2, + c-d, + e, + b-c + FROM t1 + ORDER BY 4,2,5 +---- +180 values hashing to bc4513b12162a93825e9bfea4fe97a1d + +query III rowsort x652 +SELECT a+b*2+c*3+d*4, + abs(a), + d-e + FROM t1 + WHERE (e>a AND ec OR ea AND ec OR ec OR ea AND ec OR ea AND et1.c AND x.dt1.c AND x.dc +---- +333 +3 +129 + +query III rowsort x655 +SELECT CASE a+1 WHEN b THEN 111 WHEN c THEN 222 + WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, + (SELECT count(*) FROM t1 AS x WHERE x.bc + ORDER BY 2,3 +---- +333 +3 +129 + +query III rowsort x655 +SELECT CASE a+1 WHEN b THEN 111 WHEN c THEN 222 + WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, + (SELECT count(*) FROM t1 AS x WHERE x.bc +---- +333 +3 +129 + +query III rowsort x655 +SELECT CASE a+1 WHEN b THEN 111 WHEN c THEN 222 + WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, + (SELECT count(*) FROM t1 AS x WHERE x.bc + ORDER BY 1,3,2 +---- +333 +3 +129 + +query III rowsort x655 +SELECT CASE a+1 WHEN b THEN 111 WHEN c THEN 222 + WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, + (SELECT count(*) FROM t1 AS x WHERE x.bc + AND e+d BETWEEN a+b-10 AND c+130 +---- +333 +3 +129 + +query III rowsort x655 +SELECT CASE a+1 WHEN b THEN 111 WHEN c THEN 222 + WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, + (SELECT count(*) FROM t1 AS x WHERE x.bc + AND e+d BETWEEN a+b-10 AND c+130 + ORDER BY 1,2,3 +---- +333 +3 +129 + +query IIIII rowsort x656 +SELECT c, + a+b*2, + (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.d(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + abs(b-c) + FROM t1 + WHERE (e>c OR eb-2 AND at1.c AND x.d(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + abs(b-c) + FROM t1 + WHERE (e>c OR eb-2 AND at1.c AND x.d(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + abs(b-c) + FROM t1 + WHERE (a>b-2 AND ac OR et1.c AND x.d(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + abs(b-c) + FROM t1 + WHERE (a>b-2 AND ac OR eb-2 AND ab-2 AND at1.c AND x.dc + AND (e>a AND et1.c AND x.dc + AND (e>a AND et1.c AND x.dc + AND (e>a AND et1.c AND x.dc + AND (e>a AND et1.c AND x.da AND ec +---- +0 +579 +0 +743 + +query II rowsort x658 +SELECT (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.da AND ec + ORDER BY 1,2 +---- +0 +579 +0 +743 + +query I rowsort x659 +SELECT CASE WHEN ac + OR c BETWEEN b-2 AND d+2 + OR c>d +---- +50 values hashing to 8b693107f5d03208df22ebd40471e4c5 + +query II rowsort x661 +SELECT CASE WHEN ac + OR c BETWEEN b-2 AND d+2 + OR c>d + ORDER BY 1,2 +---- +50 values hashing to 8b693107f5d03208df22ebd40471e4c5 + +query II rowsort x661 +SELECT CASE WHEN ac + OR c>d + OR c BETWEEN b-2 AND d+2 +---- +50 values hashing to 8b693107f5d03208df22ebd40471e4c5 + +query II rowsort x661 +SELECT CASE WHEN ac + OR c>d + OR c BETWEEN b-2 AND d+2 + ORDER BY 1,2 +---- +50 values hashing to 8b693107f5d03208df22ebd40471e4c5 + +query II rowsort x661 +SELECT CASE WHEN ad + OR b>c + OR c BETWEEN b-2 AND d+2 +---- +50 values hashing to 8b693107f5d03208df22ebd40471e4c5 + +query II rowsort x661 +SELECT CASE WHEN ad + OR b>c + OR c BETWEEN b-2 AND d+2 + ORDER BY 1,2 +---- +50 values hashing to 8b693107f5d03208df22ebd40471e4c5 + +query III rowsort x662 +SELECT d-e, + a, + e + FROM t1 + WHERE (c<=d-2 OR c>=d+2) +---- +30 values hashing to 6d73a828975e3289a657efba0304054c + +query III rowsort x662 +SELECT d-e, + a, + e + FROM t1 + WHERE (c<=d-2 OR c>=d+2) + ORDER BY 3,2,1 +---- +30 values hashing to 6d73a828975e3289a657efba0304054c + +query I rowsort x663 +SELECT a+b*2 + FROM t1 +---- +30 values hashing to fbca95e5a969d3d61cef1ebdfb618461 + +query I rowsort x663 +SELECT a+b*2 + FROM t1 + ORDER BY 1 +---- +30 values hashing to fbca95e5a969d3d61cef1ebdfb618461 + +query III rowsort x664 +SELECT d, + a+b*2+c*3+d*4+e*5, + b-c + FROM t1 + WHERE (c<=d-2 OR c>=d+2) + AND d>e + AND d NOT BETWEEN 110 AND 150 +---- +12 values hashing to 4b4ca058935d839f72f52963e0da4925 + +query III rowsort x664 +SELECT d, + a+b*2+c*3+d*4+e*5, + b-c + FROM t1 + WHERE (c<=d-2 OR c>=d+2) + AND d>e + AND d NOT BETWEEN 110 AND 150 + ORDER BY 1,3 +---- +12 values hashing to 4b4ca058935d839f72f52963e0da4925 + +query III rowsort x664 +SELECT d, + a+b*2+c*3+d*4+e*5, + b-c + FROM t1 + WHERE d>e + AND (c<=d-2 OR c>=d+2) + AND d NOT BETWEEN 110 AND 150 +---- +12 values hashing to 4b4ca058935d839f72f52963e0da4925 + +query III rowsort x664 +SELECT d, + a+b*2+c*3+d*4+e*5, + b-c + FROM t1 + WHERE d>e + AND (c<=d-2 OR c>=d+2) + AND d NOT BETWEEN 110 AND 150 + ORDER BY 2,1 +---- +12 values hashing to 4b4ca058935d839f72f52963e0da4925 + +query IIIIIII rowsort x665 +SELECT d-e, + CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + e, + a+b*2+c*3+d*4, + a, + a+b*2+c*3, + (a+b+c+d+e)/5 + FROM t1 + WHERE b>c +---- +91 values hashing to 18f349038c355a58d26ec68d72766f74 + +query IIIIIII rowsort x665 +SELECT d-e, + CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + e, + a+b*2+c*3+d*4, + a, + a+b*2+c*3, + (a+b+c+d+e)/5 + FROM t1 + WHERE b>c + ORDER BY 5,6,2,4 +---- +91 values hashing to 18f349038c355a58d26ec68d72766f74 + +query IIII rowsort x666 +SELECT (SELECT count(*) FROM t1 AS x WHERE x.bc +---- +52 values hashing to b425d3cd6fe34fd738c34e0c2c726c94 + +query IIII rowsort x667 +SELECT a+b*2+c*3, + a-b, + e, + d-e + FROM t1 + WHERE b>c + ORDER BY 3,1 +---- +52 values hashing to b425d3cd6fe34fd738c34e0c2c726c94 + +query IIIIIII rowsort x668 +SELECT a+b*2+c*3, + abs(b-c), + e, + (a+b+c+d+e)/5, + b, + d, + c-d + FROM t1 + WHERE (a>b-2 AND ab +---- +133 values hashing to 35456f0028870395a71bdffc4cf633ec + +query IIIIIII rowsort x668 +SELECT a+b*2+c*3, + abs(b-c), + e, + (a+b+c+d+e)/5, + b, + d, + c-d + FROM t1 + WHERE (a>b-2 AND ab + ORDER BY 2,6,3,1,5,4,7 +---- +133 values hashing to 35456f0028870395a71bdffc4cf633ec + +query IIIII rowsort x669 +SELECT CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + d, + a+b*2+c*3+d*4, + a, + a+b*2+c*3+d*4+e*5 + FROM t1 + WHERE e+d BETWEEN a+b-10 AND c+130 +---- +10 values hashing to 8831886a230ed0211a4e484d7642fe2e + +query IIIII rowsort x669 +SELECT CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + d, + a+b*2+c*3+d*4, + a, + a+b*2+c*3+d*4+e*5 + FROM t1 + WHERE e+d BETWEEN a+b-10 AND c+130 + ORDER BY 4,5,1,3,2 +---- +10 values hashing to 8831886a230ed0211a4e484d7642fe2e + +query IIIIII rowsort x670 +SELECT (a+b+c+d+e)/5, + abs(a), + (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.de + OR EXISTS(SELECT 1 FROM t1 AS x WHERE x.bt1.c AND x.de + OR EXISTS(SELECT 1 FROM t1 AS x WHERE x.bt1.c AND x.de +---- +156 values hashing to 4432156680365971a3e4cbf671510d6d + +query IIIIII rowsort x670 +SELECT (a+b+c+d+e)/5, + abs(a), + (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.de + ORDER BY 3,4 +---- +156 values hashing to 4432156680365971a3e4cbf671510d6d + +query IIII rowsort x671 +SELECT CASE a+1 WHEN b THEN 111 WHEN c THEN 222 + WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, + CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + a+b*2+c*3+d*4+e*5, + (SELECT count(*) FROM t1 AS x WHERE x.bc +---- +52 values hashing to 65fa8f30fe3b38c1f63914b24dd0ae36 + +query IIII rowsort x671 +SELECT CASE a+1 WHEN b THEN 111 WHEN c THEN 222 + WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, + CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + a+b*2+c*3+d*4+e*5, + (SELECT count(*) FROM t1 AS x WHERE x.bc + ORDER BY 1,3 +---- +52 values hashing to 65fa8f30fe3b38c1f63914b24dd0ae36 + +query IIII rowsort x672 +SELECT b-c, + c-d, + c, + CASE a+1 WHEN b THEN 111 WHEN c THEN 222 + WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END + FROM t1 +---- +120 values hashing to ee5ebd71e2885766385292465c73b289 + +query IIII rowsort x672 +SELECT b-c, + c-d, + c, + CASE a+1 WHEN b THEN 111 WHEN c THEN 222 + WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END + FROM t1 + ORDER BY 1,3,4 +---- +120 values hashing to ee5ebd71e2885766385292465c73b289 + +query IIII rowsort x673 +SELECT a-b, + c, + (SELECT count(*) FROM t1 AS x WHERE x.bt1.c AND x.dt1.c AND x.de + AND (e>c OR e=d+2) +---- +15 values hashing to 4935fb89cfb41e1c3e07004dd65f5c35 + +query III rowsort x674 +SELECT d, + b-c, + (a+b+c+d+e)/5 + FROM t1 + WHERE d>e + AND (e>c OR e=d+2) + ORDER BY 2,3,1 +---- +15 values hashing to 4935fb89cfb41e1c3e07004dd65f5c35 + +query III rowsort x674 +SELECT d, + b-c, + (a+b+c+d+e)/5 + FROM t1 + WHERE d>e + AND (c<=d-2 OR c>=d+2) + AND (e>c OR ee + AND (c<=d-2 OR c>=d+2) + AND (e>c OR e=d+2) + AND (e>c OR ee +---- +15 values hashing to 4935fb89cfb41e1c3e07004dd65f5c35 + +query III rowsort x674 +SELECT d, + b-c, + (a+b+c+d+e)/5 + FROM t1 + WHERE (c<=d-2 OR c>=d+2) + AND (e>c OR ee + ORDER BY 1,2 +---- +15 values hashing to 4935fb89cfb41e1c3e07004dd65f5c35 + +query IIIIII rowsort x675 +SELECT a+b*2+c*3+d*4, + (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.d(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + CASE a+1 WHEN b THEN 111 WHEN c THEN 222 + WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, + abs(a) + FROM t1 + WHERE (a>b-2 AND at1.c AND x.d(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + CASE a+1 WHEN b THEN 111 WHEN c THEN 222 + WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, + abs(a) + FROM t1 + WHERE (a>b-2 AND at1.c AND x.de +---- +54 values hashing to 70cd18685ab99a2b7c3fc0b4491b7cdb + +query IIIIII rowsort x676 +SELECT a, + CASE WHEN at1.c AND x.de + ORDER BY 1,5,3,6,2 +---- +54 values hashing to 70cd18685ab99a2b7c3fc0b4491b7cdb + +query IIIIII rowsort x676 +SELECT a, + CASE WHEN at1.c AND x.de + AND c BETWEEN b-2 AND d+2 +---- +54 values hashing to 70cd18685ab99a2b7c3fc0b4491b7cdb + +query IIIIII rowsort x676 +SELECT a, + CASE WHEN at1.c AND x.de + AND c BETWEEN b-2 AND d+2 + ORDER BY 1,2 +---- +54 values hashing to 70cd18685ab99a2b7c3fc0b4491b7cdb + +query I rowsort x677 +SELECT e + FROM t1 + WHERE (e>c OR ee + AND d NOT BETWEEN 110 AND 150 +---- +162 +180 +210 +221 +230 +237 +246 + +query I rowsort x677 +SELECT e + FROM t1 + WHERE (e>c OR ee + AND d NOT BETWEEN 110 AND 150 + ORDER BY 1 +---- +162 +180 +210 +221 +230 +237 +246 + +query I rowsort x677 +SELECT e + FROM t1 + WHERE d>e + AND d NOT BETWEEN 110 AND 150 + AND (e>c OR ee + AND d NOT BETWEEN 110 AND 150 + AND (e>c OR ec OR ee +---- +162 +180 +210 +221 +230 +237 +246 + +query I rowsort x677 +SELECT e + FROM t1 + WHERE d NOT BETWEEN 110 AND 150 + AND (e>c OR ee + ORDER BY 1 +---- +162 +180 +210 +221 +230 +237 +246 + +query I rowsort x677 +SELECT e + FROM t1 + WHERE (e>c OR ee +---- +162 +180 +210 +221 +230 +237 +246 + +query I rowsort x677 +SELECT e + FROM t1 + WHERE (e>c OR ee + ORDER BY 1 +---- +162 +180 +210 +221 +230 +237 +246 + +query IIIIII rowsort x678 +SELECT a+b*2+c*3, + CASE a+1 WHEN b THEN 111 WHEN c THEN 222 + WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, + a+b*2+c*3+d*4+e*5, + a-b, + (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.da AND et1.c AND x.da AND et1.c AND x.da AND et1.c AND x.da AND e(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + (a+b+c+d+e)/5 + FROM t1 + WHERE e+d BETWEEN a+b-10 AND c+130 +---- +1050 +107 +1290 +127 + +query II rowsort x679 +SELECT CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + (a+b+c+d+e)/5 + FROM t1 + WHERE e+d BETWEEN a+b-10 AND c+130 + ORDER BY 1,2 +---- +1050 +107 +1290 +127 + +query IIIII rowsort x680 +SELECT c, + a+b*2+c*3+d*4+e*5, + (a+b+c+d+e)/5, + abs(b-c), + b + FROM t1 +---- +150 values hashing to 08650458538a7f599e07dc060bd0d5a8 + +query IIIII rowsort x680 +SELECT c, + a+b*2+c*3+d*4+e*5, + (a+b+c+d+e)/5, + abs(b-c), + b + FROM t1 + ORDER BY 2,4,1,3,5 +---- +150 values hashing to 08650458538a7f599e07dc060bd0d5a8 + +query IIII rowsort x681 +SELECT a+b*2, + c-d, + CASE a+1 WHEN b THEN 111 WHEN c THEN 222 + WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, + CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END + FROM t1 +---- +120 values hashing to e4765bbd17a313f600b42a1fdae917ae + +query IIII rowsort x681 +SELECT a+b*2, + c-d, + CASE a+1 WHEN b THEN 111 WHEN c THEN 222 + WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, + CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END + FROM t1 + ORDER BY 2,3,4 +---- +120 values hashing to e4765bbd17a313f600b42a1fdae917ae + +query III rowsort x682 +SELECT b-c, + (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.db + AND (e>a AND e=d+2) +---- + +query III rowsort x682 +SELECT b-c, + (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.db + AND (e>a AND e=d+2) + ORDER BY 2,1 +---- + +query III rowsort x682 +SELECT b-c, + (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.d=d+2) + AND (e>a AND eb +---- + +query III rowsort x682 +SELECT b-c, + (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.d=d+2) + AND (e>a AND eb + ORDER BY 3,1,2 +---- + +query III rowsort x682 +SELECT b-c, + (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.db + AND (c<=d-2 OR c>=d+2) + AND (e>a AND et1.c AND x.db + AND (c<=d-2 OR c>=d+2) + AND (e>a AND et1.c AND x.dt1.c AND x.db-2 AND ae +---- +105 values hashing to 6db0595048bb4b87385375c23fbb03e9 + +query IIIII rowsort x687 +SELECT c, + a+b*2+c*3+d*4+e*5, + b-c, + a, + d-e + FROM t1 + WHERE c BETWEEN b-2 AND d+2 + OR (a>b-2 AND ae + ORDER BY 3,5,4,2 +---- +105 values hashing to 6db0595048bb4b87385375c23fbb03e9 + +query IIIII rowsort x687 +SELECT c, + a+b*2+c*3+d*4+e*5, + b-c, + a, + d-e + FROM t1 + WHERE (a>b-2 AND ae +---- +105 values hashing to 6db0595048bb4b87385375c23fbb03e9 + +query IIIII rowsort x687 +SELECT c, + a+b*2+c*3+d*4+e*5, + b-c, + a, + d-e + FROM t1 + WHERE (a>b-2 AND ae + ORDER BY 3,2,5,1,4 +---- +105 values hashing to 6db0595048bb4b87385375c23fbb03e9 + +query IIIII rowsort x687 +SELECT c, + a+b*2+c*3+d*4+e*5, + b-c, + a, + d-e + FROM t1 + WHERE (a>b-2 AND ae + OR c BETWEEN b-2 AND d+2 +---- +105 values hashing to 6db0595048bb4b87385375c23fbb03e9 + +query IIIII rowsort x687 +SELECT c, + a+b*2+c*3+d*4+e*5, + b-c, + a, + d-e + FROM t1 + WHERE (a>b-2 AND ae + OR c BETWEEN b-2 AND d+2 + ORDER BY 5,3 +---- +105 values hashing to 6db0595048bb4b87385375c23fbb03e9 + +query IIIII rowsort x688 +SELECT a, + (a+b+c+d+e)/5, + b-c, + a+b*2, + CASE WHEN ab +---- +85 values hashing to 4805fd0e5a976f4378ba55c5494b747e + +query IIIII rowsort x688 +SELECT a, + (a+b+c+d+e)/5, + b-c, + a+b*2, + CASE WHEN ab + ORDER BY 1,2 +---- +85 values hashing to 4805fd0e5a976f4378ba55c5494b747e + +query I rowsort x689 +SELECT a+b*2 + FROM t1 + WHERE b>c + OR a>b +---- +24 values hashing to e71470a4cbcc21748346c6f62f1c096d + +query I rowsort x689 +SELECT a+b*2 + FROM t1 + WHERE b>c + OR a>b + ORDER BY 1 +---- +24 values hashing to e71470a4cbcc21748346c6f62f1c096d + +query I rowsort x689 +SELECT a+b*2 + FROM t1 + WHERE a>b + OR b>c +---- +24 values hashing to e71470a4cbcc21748346c6f62f1c096d + +query I rowsort x689 +SELECT a+b*2 + FROM t1 + WHERE a>b + OR b>c + ORDER BY 1 +---- +24 values hashing to e71470a4cbcc21748346c6f62f1c096d + +query IIII rowsort x690 +SELECT b-c, + a+b*2, + a+b*2+c*3+d*4, + d-e + FROM t1 +---- +120 values hashing to 6e54ebf916f41ecf931f4532456d3be2 + +query IIII rowsort x690 +SELECT b-c, + a+b*2, + a+b*2+c*3+d*4, + d-e + FROM t1 + ORDER BY 4,3 +---- +120 values hashing to 6e54ebf916f41ecf931f4532456d3be2 + +query IIII rowsort x691 +SELECT abs(b-c), + (SELECT count(*) FROM t1 AS x WHERE x.bb +---- +68 values hashing to 06c7ceeead894606cbb65850934466f4 + +query IIII rowsort x691 +SELECT abs(b-c), + (SELECT count(*) FROM t1 AS x WHERE x.bb + ORDER BY 3,4 +---- +68 values hashing to 06c7ceeead894606cbb65850934466f4 + +query I rowsort x692 +SELECT a+b*2+c*3+d*4 + FROM t1 + WHERE c>d + AND (c<=d-2 OR c>=d+2) + AND d>e +---- +2125 +2226 + +query I rowsort x692 +SELECT a+b*2+c*3+d*4 + FROM t1 + WHERE c>d + AND (c<=d-2 OR c>=d+2) + AND d>e + ORDER BY 1 +---- +2125 +2226 + +query I rowsort x692 +SELECT a+b*2+c*3+d*4 + FROM t1 + WHERE d>e + AND c>d + AND (c<=d-2 OR c>=d+2) +---- +2125 +2226 + +query I rowsort x692 +SELECT a+b*2+c*3+d*4 + FROM t1 + WHERE d>e + AND c>d + AND (c<=d-2 OR c>=d+2) + ORDER BY 1 +---- +2125 +2226 + +query I rowsort x692 +SELECT a+b*2+c*3+d*4 + FROM t1 + WHERE c>d + AND d>e + AND (c<=d-2 OR c>=d+2) +---- +2125 +2226 + +query I rowsort x692 +SELECT a+b*2+c*3+d*4 + FROM t1 + WHERE c>d + AND d>e + AND (c<=d-2 OR c>=d+2) + ORDER BY 1 +---- +2125 +2226 + +query II rowsort x693 +SELECT b-c, + CASE WHEN ae +---- +22 values hashing to 8555b014659201768f0fe7baf9967e06 + +query II rowsort x693 +SELECT b-c, + CASE WHEN ae + ORDER BY 1,2 +---- +22 values hashing to 8555b014659201768f0fe7baf9967e06 + +query II rowsort x694 +SELECT a+b*2+c*3, + (SELECT count(*) FROM t1 AS x WHERE x.bt1.c AND x.dc OR ed +---- + +query IIIIIII rowsort x697 +SELECT abs(a), + a+b*2+c*3+d*4, + b, + (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.dc OR ed + ORDER BY 5,3,1,4,2,6 +---- + +query IIIIIII rowsort x697 +SELECT abs(a), + a+b*2+c*3+d*4, + b, + (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.dc OR ed +---- + +query IIIIIII rowsort x697 +SELECT abs(a), + a+b*2+c*3+d*4, + b, + (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.dc OR ed + ORDER BY 6,5,4,7,1,3 +---- + +query IIIIIII rowsort x697 +SELECT abs(a), + a+b*2+c*3+d*4, + b, + (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.dd + AND (e>c OR et1.c AND x.dd + AND (e>c OR eb-2 AND ab-2 AND ab-2 AND aa AND eb-2 AND aa AND ea AND eb-2 AND aa AND eb-2 AND ab-2 AND aa AND eb-2 AND aa AND e(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END + FROM t1 + WHERE b>c + OR c BETWEEN b-2 AND d+2 + OR EXISTS(SELECT 1 FROM t1 AS x WHERE x.b(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END + FROM t1 + WHERE b>c + OR c BETWEEN b-2 AND d+2 + OR EXISTS(SELECT 1 FROM t1 AS x WHERE x.b(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END + FROM t1 + WHERE b>c + OR EXISTS(SELECT 1 FROM t1 AS x WHERE x.b(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END + FROM t1 + WHERE b>c + OR EXISTS(SELECT 1 FROM t1 AS x WHERE x.bc OR ec OR ec OR ec OR e(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + CASE WHEN aa AND eb +---- +60 values hashing to b670a82934f4611abfa49da6ac4c7700 + +query III rowsort x702 +SELECT (a+b+c+d+e)/5, + CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + CASE WHEN aa AND eb + ORDER BY 3,1 +---- +60 values hashing to b670a82934f4611abfa49da6ac4c7700 + +query IIIIII rowsort x703 +SELECT d, + e, + a+b*2+c*3+d*4+e*5, + c, + CASE a+1 WHEN b THEN 111 WHEN c THEN 222 + WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, + b + FROM t1 + WHERE b>c + OR (c<=d-2 OR c>=d+2) +---- +114 values hashing to 78365d176362a43babd7bf2b93ff7edd + +query IIIIII rowsort x703 +SELECT d, + e, + a+b*2+c*3+d*4+e*5, + c, + CASE a+1 WHEN b THEN 111 WHEN c THEN 222 + WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, + b + FROM t1 + WHERE b>c + OR (c<=d-2 OR c>=d+2) + ORDER BY 5,6,4 +---- +114 values hashing to 78365d176362a43babd7bf2b93ff7edd + +query IIII rowsort x704 +SELECT (a+b+c+d+e)/5, + d, + c-d, + abs(b-c) + FROM t1 + WHERE e+d BETWEEN a+b-10 AND c+130 + OR c>d +---- +60 values hashing to 87c38a4989a95b372a49f40afe4b6ee7 + +query IIII rowsort x704 +SELECT (a+b+c+d+e)/5, + d, + c-d, + abs(b-c) + FROM t1 + WHERE e+d BETWEEN a+b-10 AND c+130 + OR c>d + ORDER BY 3,2,4,1 +---- +60 values hashing to 87c38a4989a95b372a49f40afe4b6ee7 + +query IIII rowsort x704 +SELECT (a+b+c+d+e)/5, + d, + c-d, + abs(b-c) + FROM t1 + WHERE c>d + OR e+d BETWEEN a+b-10 AND c+130 +---- +60 values hashing to 87c38a4989a95b372a49f40afe4b6ee7 + +query IIII rowsort x704 +SELECT (a+b+c+d+e)/5, + d, + c-d, + abs(b-c) + FROM t1 + WHERE c>d + OR e+d BETWEEN a+b-10 AND c+130 + ORDER BY 1,4,2 +---- +60 values hashing to 87c38a4989a95b372a49f40afe4b6ee7 + +query IIIIII rowsort x705 +SELECT CASE a+1 WHEN b THEN 111 WHEN c THEN 222 + WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, + CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + a+b*2, + (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.de + AND c BETWEEN b-2 AND d+2 + AND (c<=d-2 OR c>=d+2) +---- +24 values hashing to 96313609120ed6ed43f19282bb33448a + +query IIIIII rowsort x705 +SELECT CASE a+1 WHEN b THEN 111 WHEN c THEN 222 + WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, + CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + a+b*2, + (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.de + AND c BETWEEN b-2 AND d+2 + AND (c<=d-2 OR c>=d+2) + ORDER BY 5,4 +---- +24 values hashing to 96313609120ed6ed43f19282bb33448a + +query IIIIII rowsort x705 +SELECT CASE a+1 WHEN b THEN 111 WHEN c THEN 222 + WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, + CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + a+b*2, + (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.d=d+2) + AND c BETWEEN b-2 AND d+2 + AND d>e +---- +24 values hashing to 96313609120ed6ed43f19282bb33448a + +query IIIIII rowsort x705 +SELECT CASE a+1 WHEN b THEN 111 WHEN c THEN 222 + WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, + CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + a+b*2, + (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.d=d+2) + AND c BETWEEN b-2 AND d+2 + AND d>e + ORDER BY 6,3,4 +---- +24 values hashing to 96313609120ed6ed43f19282bb33448a + +query I rowsort x706 +SELECT CASE WHEN aa AND ea AND eb +---- +85 values hashing to 936fa92f2a3e8f45419618b59f6a8858 + +query IIIII rowsort x708 +SELECT abs(b-c), + d, + d-e, + c-d, + e + FROM t1 + WHERE a>b + ORDER BY 4,1,5,2 +---- +85 values hashing to 936fa92f2a3e8f45419618b59f6a8858 + +query IIII rowsort x709 +SELECT (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.d=d+2) + OR e+d BETWEEN a+b-10 AND c+130 +---- +40 values hashing to 0bcf1508dc78bc1867e520ca3db7355d + +query IIII rowsort x709 +SELECT (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.d=d+2) + OR e+d BETWEEN a+b-10 AND c+130 + ORDER BY 4,1,3,2 +---- +40 values hashing to 0bcf1508dc78bc1867e520ca3db7355d + +query IIII rowsort x709 +SELECT (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.d=d+2) +---- +40 values hashing to 0bcf1508dc78bc1867e520ca3db7355d + +query IIII rowsort x709 +SELECT (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.d=d+2) + ORDER BY 4,2,3 +---- +40 values hashing to 0bcf1508dc78bc1867e520ca3db7355d + +query III rowsort x710 +SELECT a, + CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + a+b*2+c*3+d*4 + FROM t1 +---- +90 values hashing to 1c204adbdc05d0927b60e997937fe50a + +query III rowsort x710 +SELECT a, + CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + a+b*2+c*3+d*4 + FROM t1 + ORDER BY 2,3,1 +---- +90 values hashing to 1c204adbdc05d0927b60e997937fe50a + +query I rowsort x711 +SELECT a+b*2+c*3+d*4 + FROM t1 + WHERE (e>c OR ec + OR d NOT BETWEEN 110 AND 150 +---- +27 values hashing to ccb5588394c5680f5305fcb9ef5b3e2e + +query I rowsort x711 +SELECT a+b*2+c*3+d*4 + FROM t1 + WHERE (e>c OR ec + OR d NOT BETWEEN 110 AND 150 + ORDER BY 1 +---- +27 values hashing to ccb5588394c5680f5305fcb9ef5b3e2e + +query I rowsort x711 +SELECT a+b*2+c*3+d*4 + FROM t1 + WHERE d NOT BETWEEN 110 AND 150 + OR b>c + OR (e>c OR ec + OR (e>c OR ec OR ec +---- +27 values hashing to ccb5588394c5680f5305fcb9ef5b3e2e + +query I rowsort x711 +SELECT a+b*2+c*3+d*4 + FROM t1 + WHERE (e>c OR ec + ORDER BY 1 +---- +27 values hashing to ccb5588394c5680f5305fcb9ef5b3e2e + +query III rowsort x712 +SELECT a, + a+b*2, + abs(b-c) + FROM t1 + WHERE EXISTS(SELECT 1 FROM t1 AS x WHERE x.bt1.c AND x.db +---- +80 values hashing to 6ef54925015c9504f804e0fdb4d91037 + +query IIIII rowsort x714 +SELECT (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.db + ORDER BY 4,5,1,2 +---- +80 values hashing to 6ef54925015c9504f804e0fdb4d91037 + +query IIIII rowsort x714 +SELECT (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.db + AND EXISTS(SELECT 1 FROM t1 AS x WHERE x.bt1.c AND x.db + AND EXISTS(SELECT 1 FROM t1 AS x WHERE x.bt1.c AND x.dd + OR d>e +---- +95 values hashing to bed7235daff0f9f53011e8f710309332 + +query IIIII rowsort x715 +SELECT (a+b+c+d+e)/5, + CASE a+1 WHEN b THEN 111 WHEN c THEN 222 + WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, + (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.dd + OR d>e + ORDER BY 1,3,4 +---- +95 values hashing to bed7235daff0f9f53011e8f710309332 + +query IIII rowsort x716 +SELECT b-c, + a+b*2, + (a+b+c+d+e)/5, + a + FROM t1 + WHERE d NOT BETWEEN 110 AND 150 + AND a>b + AND EXISTS(SELECT 1 FROM t1 AS x WHERE x.bb + AND EXISTS(SELECT 1 FROM t1 AS x WHERE x.bb + AND d NOT BETWEEN 110 AND 150 +---- +36 values hashing to 9b60c80f1253128bfdf084e82443c834 + +query IIII rowsort x716 +SELECT b-c, + a+b*2, + (a+b+c+d+e)/5, + a + FROM t1 + WHERE EXISTS(SELECT 1 FROM t1 AS x WHERE x.bb + AND d NOT BETWEEN 110 AND 150 + ORDER BY 2,1,3,4 +---- +36 values hashing to 9b60c80f1253128bfdf084e82443c834 + +query IIII rowsort x716 +SELECT b-c, + a+b*2, + (a+b+c+d+e)/5, + a + FROM t1 + WHERE a>b + AND EXISTS(SELECT 1 FROM t1 AS x WHERE x.bb + AND EXISTS(SELECT 1 FROM t1 AS x WHERE x.bb-2 AND ab-2 AND ad + AND (e>c OR ed + AND (e>c OR ec OR ed +---- +40 values hashing to c3933b6e8cb7e7bff2b8e6232d42043a + +query IIIII rowsort x719 +SELECT (a+b+c+d+e)/5, + a, + b-c, + (SELECT count(*) FROM t1 AS x WHERE x.bc OR ed + ORDER BY 3,2,4 +---- +40 values hashing to c3933b6e8cb7e7bff2b8e6232d42043a + +query I rowsort x720 +SELECT CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END + FROM t1 + WHERE c BETWEEN b-2 AND d+2 +---- +15 values hashing to 24301db3251cc0181759db55e6ca955d + +query I rowsort x720 +SELECT CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END + FROM t1 + WHERE c BETWEEN b-2 AND d+2 + ORDER BY 1 +---- +15 values hashing to 24301db3251cc0181759db55e6ca955d + +query IIIIIII rowsort x721 +SELECT a-b, + (a+b+c+d+e)/5, + b, + CASE a+1 WHEN b THEN 111 WHEN c THEN 222 + WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, + CASE WHEN ac + AND c>d + AND e+d BETWEEN a+b-10 AND c+130 +---- + +query IIIIIII rowsort x721 +SELECT a-b, + (a+b+c+d+e)/5, + b, + CASE a+1 WHEN b THEN 111 WHEN c THEN 222 + WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, + CASE WHEN ac + AND c>d + AND e+d BETWEEN a+b-10 AND c+130 + ORDER BY 5,2,7,3,4 +---- + +query IIIIIII rowsort x721 +SELECT a-b, + (a+b+c+d+e)/5, + b, + CASE a+1 WHEN b THEN 111 WHEN c THEN 222 + WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, + CASE WHEN ad + AND b>c + AND e+d BETWEEN a+b-10 AND c+130 +---- + +query IIIIIII rowsort x721 +SELECT a-b, + (a+b+c+d+e)/5, + b, + CASE a+1 WHEN b THEN 111 WHEN c THEN 222 + WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, + CASE WHEN ad + AND b>c + AND e+d BETWEEN a+b-10 AND c+130 + ORDER BY 5,4 +---- + +query IIIIIII rowsort x721 +SELECT a-b, + (a+b+c+d+e)/5, + b, + CASE a+1 WHEN b THEN 111 WHEN c THEN 222 + WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, + CASE WHEN ac + AND c>d +---- + +query IIIIIII rowsort x721 +SELECT a-b, + (a+b+c+d+e)/5, + b, + CASE a+1 WHEN b THEN 111 WHEN c THEN 222 + WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, + CASE WHEN ac + AND c>d + ORDER BY 4,6,3,1,7,2,5 +---- + +query II rowsort x722 +SELECT e, + (a+b+c+d+e)/5 + FROM t1 +---- +60 values hashing to d498732e2676d6a2598a7fc7eb42e20c + +query II rowsort x722 +SELECT e, + (a+b+c+d+e)/5 + FROM t1 + ORDER BY 2,1 +---- +60 values hashing to d498732e2676d6a2598a7fc7eb42e20c + +query IIIIIII rowsort x723 +SELECT (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.dd +---- +91 values hashing to 33c48df60edc29d417900f70ffaa09c1 + +query IIIIIII rowsort x723 +SELECT (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.dd + ORDER BY 2,3,7,5,4,6 +---- +91 values hashing to 33c48df60edc29d417900f70ffaa09c1 + +query IIIIIII rowsort x724 +SELECT e, + c, + c-d, + abs(a), + (SELECT count(*) FROM t1 AS x WHERE x.b(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + (SELECT count(*) FROM t1 AS x WHERE x.bt1.c AND x.d(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + (SELECT count(*) FROM t1 AS x WHERE x.bt1.c AND x.d(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END + FROM t1 + WHERE a>b + AND (e>a AND e=d+2) +---- + +query III rowsort x728 +SELECT a-b, + a+b*2+c*3+d*4+e*5, + CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END + FROM t1 + WHERE a>b + AND (e>a AND e=d+2) + ORDER BY 3,2,1 +---- + +query III rowsort x728 +SELECT a-b, + a+b*2+c*3+d*4+e*5, + CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END + FROM t1 + WHERE (c<=d-2 OR c>=d+2) + AND (e>a AND eb +---- + +query III rowsort x728 +SELECT a-b, + a+b*2+c*3+d*4+e*5, + CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END + FROM t1 + WHERE (c<=d-2 OR c>=d+2) + AND (e>a AND eb + ORDER BY 2,3,1 +---- + +query III rowsort x728 +SELECT a-b, + a+b*2+c*3+d*4+e*5, + CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END + FROM t1 + WHERE a>b + AND (c<=d-2 OR c>=d+2) + AND (e>a AND e(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END + FROM t1 + WHERE a>b + AND (c<=d-2 OR c>=d+2) + AND (e>a AND ea AND ea AND eb-2 AND ab + OR d>e +---- +115 values hashing to bb21d817f25fca8477eb01b4fedb58c7 + +query IIIII rowsort x731 +SELECT e, + b, + CASE a+1 WHEN b THEN 111 WHEN c THEN 222 + WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, + (a+b+c+d+e)/5, + a+b*2 + FROM t1 + WHERE (a>b-2 AND ab + OR d>e + ORDER BY 3,1 +---- +115 values hashing to bb21d817f25fca8477eb01b4fedb58c7 + +query IIIII rowsort x731 +SELECT e, + b, + CASE a+1 WHEN b THEN 111 WHEN c THEN 222 + WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, + (a+b+c+d+e)/5, + a+b*2 + FROM t1 + WHERE a>b + OR (a>b-2 AND ae +---- +115 values hashing to bb21d817f25fca8477eb01b4fedb58c7 + +query IIIII rowsort x731 +SELECT e, + b, + CASE a+1 WHEN b THEN 111 WHEN c THEN 222 + WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, + (a+b+c+d+e)/5, + a+b*2 + FROM t1 + WHERE a>b + OR (a>b-2 AND ae + ORDER BY 3,2,4,5,1 +---- +115 values hashing to bb21d817f25fca8477eb01b4fedb58c7 + +query IIIII rowsort x731 +SELECT e, + b, + CASE a+1 WHEN b THEN 111 WHEN c THEN 222 + WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, + (a+b+c+d+e)/5, + a+b*2 + FROM t1 + WHERE d>e + OR a>b + OR (a>b-2 AND ae + OR a>b + OR (a>b-2 AND at1.c AND x.dc + AND d NOT BETWEEN 110 AND 150 + AND (c<=d-2 OR c>=d+2) +---- +21 values hashing to 66cd7aeef4414a02b7f5507993fab335 + +query IIIIIII rowsort x732 +SELECT b-c, + d, + a+b*2+c*3+d*4+e*5, + (a+b+c+d+e)/5, + a+b*2, + (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.dc + AND d NOT BETWEEN 110 AND 150 + AND (c<=d-2 OR c>=d+2) + ORDER BY 4,3 +---- +21 values hashing to 66cd7aeef4414a02b7f5507993fab335 + +query IIIIIII rowsort x732 +SELECT b-c, + d, + a+b*2+c*3+d*4+e*5, + (a+b+c+d+e)/5, + a+b*2, + (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.dc + AND (c<=d-2 OR c>=d+2) +---- +21 values hashing to 66cd7aeef4414a02b7f5507993fab335 + +query IIIIIII rowsort x732 +SELECT b-c, + d, + a+b*2+c*3+d*4+e*5, + (a+b+c+d+e)/5, + a+b*2, + (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.dc + AND (c<=d-2 OR c>=d+2) + ORDER BY 4,1,2,7 +---- +21 values hashing to 66cd7aeef4414a02b7f5507993fab335 + +query IIIIIII rowsort x732 +SELECT b-c, + d, + a+b*2+c*3+d*4+e*5, + (a+b+c+d+e)/5, + a+b*2, + (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.d=d+2) + AND d NOT BETWEEN 110 AND 150 + AND b>c +---- +21 values hashing to 66cd7aeef4414a02b7f5507993fab335 + +query IIIIIII rowsort x732 +SELECT b-c, + d, + a+b*2+c*3+d*4+e*5, + (a+b+c+d+e)/5, + a+b*2, + (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.d=d+2) + AND d NOT BETWEEN 110 AND 150 + AND b>c + ORDER BY 4,1,5,6,2 +---- +21 values hashing to 66cd7aeef4414a02b7f5507993fab335 + +query IIIIIII rowsort x732 +SELECT b-c, + d, + a+b*2+c*3+d*4+e*5, + (a+b+c+d+e)/5, + a+b*2, + (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.dc + AND (c<=d-2 OR c>=d+2) + AND d NOT BETWEEN 110 AND 150 +---- +21 values hashing to 66cd7aeef4414a02b7f5507993fab335 + +query IIIIIII rowsort x732 +SELECT b-c, + d, + a+b*2+c*3+d*4+e*5, + (a+b+c+d+e)/5, + a+b*2, + (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.dc + AND (c<=d-2 OR c>=d+2) + AND d NOT BETWEEN 110 AND 150 + ORDER BY 1,2,5,3,7,4,6 +---- +21 values hashing to 66cd7aeef4414a02b7f5507993fab335 + +query II rowsort x733 +SELECT c-d, + b + FROM t1 + WHERE c BETWEEN b-2 AND d+2 +---- +30 values hashing to 5c44e220765931661a93eef7d781f382 + +query II rowsort x733 +SELECT c-d, + b + FROM t1 + WHERE c BETWEEN b-2 AND d+2 + ORDER BY 1,2 +---- +30 values hashing to 5c44e220765931661a93eef7d781f382 + +query I rowsort x734 +SELECT a+b*2 + FROM t1 +---- +30 values hashing to fbca95e5a969d3d61cef1ebdfb618461 + +query I rowsort x734 +SELECT a+b*2 + FROM t1 + ORDER BY 1 +---- +30 values hashing to fbca95e5a969d3d61cef1ebdfb618461 + +query III rowsort x735 +SELECT e, + b-c, + a-b + FROM t1 +---- +90 values hashing to 54548edc6b7e3210f1a87b87028507eb + +query III rowsort x735 +SELECT e, + b-c, + a-b + FROM t1 + ORDER BY 3,2 +---- +90 values hashing to 54548edc6b7e3210f1a87b87028507eb + +query IIII rowsort x736 +SELECT c-d, + CASE WHEN aa AND ee + OR EXISTS(SELECT 1 FROM t1 AS x WHERE x.ba AND ee + OR EXISTS(SELECT 1 FROM t1 AS x WHERE x.ba AND ee +---- +104 values hashing to 0fe9466f8bc2d8db37e18a838d56e649 + +query IIII rowsort x736 +SELECT c-d, + CASE WHEN aa AND ee + ORDER BY 4,3,2,1 +---- +104 values hashing to 0fe9466f8bc2d8db37e18a838d56e649 + +query IIII rowsort x736 +SELECT c-d, + CASE WHEN ae + OR EXISTS(SELECT 1 FROM t1 AS x WHERE x.ba AND ee + OR EXISTS(SELECT 1 FROM t1 AS x WHERE x.ba AND et1.c AND x.db + AND c>d +---- +25 values hashing to a2167941ad5156924d8b2030b57290cc + +query IIIII rowsort x737 +SELECT abs(a), + d, + a+b*2+c*3, + (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.db + AND c>d + ORDER BY 3,2,1,4,5 +---- +25 values hashing to a2167941ad5156924d8b2030b57290cc + +query IIIII rowsort x737 +SELECT abs(a), + d, + a+b*2+c*3, + (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.dd + AND a>b +---- +25 values hashing to a2167941ad5156924d8b2030b57290cc + +query IIIII rowsort x737 +SELECT abs(a), + d, + a+b*2+c*3, + (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.dd + AND a>b + ORDER BY 3,5,1,2,4 +---- +25 values hashing to a2167941ad5156924d8b2030b57290cc + +query IIIII rowsort x737 +SELECT abs(a), + d, + a+b*2+c*3, + (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.dd + AND a>b + AND c BETWEEN b-2 AND d+2 +---- +25 values hashing to a2167941ad5156924d8b2030b57290cc + +query IIIII rowsort x737 +SELECT abs(a), + d, + a+b*2+c*3, + (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.dd + AND a>b + AND c BETWEEN b-2 AND d+2 + ORDER BY 5,1,2,4,3 +---- +25 values hashing to a2167941ad5156924d8b2030b57290cc + +query III rowsort x738 +SELECT a, + CASE WHEN ae + AND (a>b-2 AND ae + AND (a>b-2 AND ad +---- +78 values hashing to abb56a92bf0cb2eeb79cb083d30f4461 + +query IIIIII rowsort x739 +SELECT a+b*2+c*3+d*4, + a, + e, + a+b*2+c*3+d*4+e*5, + d, + CASE a+1 WHEN b THEN 111 WHEN c THEN 222 + WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END + FROM t1 + WHERE c>d + ORDER BY 4,3,6 +---- +78 values hashing to abb56a92bf0cb2eeb79cb083d30f4461 + +query II rowsort x740 +SELECT a+b*2+c*3+d*4, + a+b*2+c*3 + FROM t1 + WHERE a>b + OR EXISTS(SELECT 1 FROM t1 AS x WHERE x.bb + OR EXISTS(SELECT 1 FROM t1 AS x WHERE x.bc OR ec OR et1.c AND x.db-2 AND at1.c AND x.db-2 AND at1.c AND x.db-2 AND at1.c AND x.db-2 AND ac OR ec OR ec OR ec OR eb +---- +68 values hashing to e51724a26aa401a907517e31686c8aa8 + +query IIII rowsort x745 +SELECT b-c, + abs(b-c), + a+b*2+c*3, + a+b*2+c*3+d*4+e*5 + FROM t1 + WHERE a>b + ORDER BY 3,2,1,4 +---- +68 values hashing to e51724a26aa401a907517e31686c8aa8 + +query II rowsort x746 +SELECT CASE a+1 WHEN b THEN 111 WHEN c THEN 222 + WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, + (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.dc OR ee + AND (c<=d-2 OR c>=d+2) +---- +10 values hashing to 46db9015ef52a10b49c8e03ba9ef9196 + +query II rowsort x746 +SELECT CASE a+1 WHEN b THEN 111 WHEN c THEN 222 + WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, + (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.dc OR ee + AND (c<=d-2 OR c>=d+2) + ORDER BY 1,2 +---- +10 values hashing to 46db9015ef52a10b49c8e03ba9ef9196 + +query II rowsort x746 +SELECT CASE a+1 WHEN b THEN 111 WHEN c THEN 222 + WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, + (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.de + AND (e>c OR e=d+2) +---- +10 values hashing to 46db9015ef52a10b49c8e03ba9ef9196 + +query II rowsort x746 +SELECT CASE a+1 WHEN b THEN 111 WHEN c THEN 222 + WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, + (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.de + AND (e>c OR e=d+2) + ORDER BY 2,1 +---- +10 values hashing to 46db9015ef52a10b49c8e03ba9ef9196 + +query II rowsort x746 +SELECT CASE a+1 WHEN b THEN 111 WHEN c THEN 222 + WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, + (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.d=d+2) + AND d>e + AND (e>c OR et1.c AND x.d=d+2) + AND d>e + AND (e>c OR e=d+2) +---- +10 values hashing to efa8813bb3fe4fd95c76a8b4cec1fef1 + +query I rowsort x747 +SELECT a-b + FROM t1 + WHERE (c<=d-2 OR c>=d+2) + ORDER BY 1 +---- +10 values hashing to efa8813bb3fe4fd95c76a8b4cec1fef1 + +query II rowsort x748 +SELECT (a+b+c+d+e)/5, + c + FROM t1 + WHERE e+d BETWEEN a+b-10 AND c+130 + OR d>e +---- +24 values hashing to 5c25c8944f53227053854fc9e1ad5d04 + +query II rowsort x748 +SELECT (a+b+c+d+e)/5, + c + FROM t1 + WHERE e+d BETWEEN a+b-10 AND c+130 + OR d>e + ORDER BY 1,2 +---- +24 values hashing to 5c25c8944f53227053854fc9e1ad5d04 + +query II rowsort x748 +SELECT (a+b+c+d+e)/5, + c + FROM t1 + WHERE d>e + OR e+d BETWEEN a+b-10 AND c+130 +---- +24 values hashing to 5c25c8944f53227053854fc9e1ad5d04 + +query II rowsort x748 +SELECT (a+b+c+d+e)/5, + c + FROM t1 + WHERE d>e + OR e+d BETWEEN a+b-10 AND c+130 + ORDER BY 1,2 +---- +24 values hashing to 5c25c8944f53227053854fc9e1ad5d04 + +query IIIII rowsort x749 +SELECT abs(a), + abs(b-c), + CASE a+1 WHEN b THEN 111 WHEN c THEN 222 + WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, + (SELECT count(*) FROM t1 AS x WHERE x.bc + AND (e>a AND ec + AND (e>a AND ea AND ec +---- +16 +222 +26 +111 + +query II rowsort x751 +SELECT (SELECT count(*) FROM t1 AS x WHERE x.ba AND ec + ORDER BY 2,1 +---- +16 +222 +26 +111 + +query IIIIII rowsort x752 +SELECT a, + c, + c-d, + (a+b+c+d+e)/5, + e, + d + FROM t1 + WHERE (c<=d-2 OR c>=d+2) +---- +60 values hashing to 40bddf4ca96e21e4b7d5a9be8dbf5c68 + +query IIIIII rowsort x752 +SELECT a, + c, + c-d, + (a+b+c+d+e)/5, + e, + d + FROM t1 + WHERE (c<=d-2 OR c>=d+2) + ORDER BY 3,6,1,5,2,4 +---- +60 values hashing to 40bddf4ca96e21e4b7d5a9be8dbf5c68 + +query IIII rowsort x753 +SELECT CASE a+1 WHEN b THEN 111 WHEN c THEN 222 + WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, + a-b, + abs(a), + b + FROM t1 + WHERE d>e +---- +44 values hashing to 7034369d38673d6b059070a0e839c554 + +query IIII rowsort x753 +SELECT CASE a+1 WHEN b THEN 111 WHEN c THEN 222 + WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, + a-b, + abs(a), + b + FROM t1 + WHERE d>e + ORDER BY 3,1 +---- +44 values hashing to 7034369d38673d6b059070a0e839c554 + +query IIIIIII rowsort x754 +SELECT CASE WHEN ac OR ec OR ec OR ec OR ec +---- +91 values hashing to 4d1ba48d653a04c1964aca0a76d2fa66 + +query IIIIIII rowsort x756 +SELECT b-c, + d-e, + CASE a+1 WHEN b THEN 111 WHEN c THEN 222 + WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, + CASE WHEN ac + ORDER BY 4,5,2 +---- +91 values hashing to 4d1ba48d653a04c1964aca0a76d2fa66 + +query IIIII rowsort x757 +SELECT CASE a+1 WHEN b THEN 111 WHEN c THEN 222 + WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, + abs(b-c), + (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.dc OR eb-2 AND at1.c AND x.dc OR eb-2 AND at1.c AND x.dc OR eb-2 AND at1.c AND x.dc OR eb-2 AND at1.c AND x.db-2 AND ac OR et1.c AND x.db-2 AND ac OR ea AND ea AND eb-2 AND ab-2 AND ab-2 AND ab-2 AND at1.c AND x.da AND et1.c AND x.da AND et1.c AND x.da AND et1.c AND x.da AND et1.c AND x.da AND et1.c AND x.da AND e=d+2) +---- +24 values hashing to acc553f142405b2316a0d6f67b8c087f + +query III rowsort x763 +SELECT c, + d, + a + FROM t1 + WHERE d NOT BETWEEN 110 AND 150 + AND (c<=d-2 OR c>=d+2) + ORDER BY 1,2,3 +---- +24 values hashing to acc553f142405b2316a0d6f67b8c087f + +query III rowsort x764 +SELECT d, + (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.da AND ec OR et1.c AND x.da AND ec OR et1.c AND x.dc OR ea AND et1.c AND x.dc OR ea AND et1.c AND x.dc OR ea AND et1.c AND x.dc OR ea AND ec +---- +78 values hashing to 15f8a87acd557eff36b6b45cf6145a89 + +query IIIIII rowsort x765 +SELECT a+b*2+c*3+d*4+e*5, + b, + abs(b-c), + abs(a), + a+b*2+c*3+d*4, + a+b*2 + FROM t1 + WHERE b>c + ORDER BY 4,5,6,3,1,2 +---- +78 values hashing to 15f8a87acd557eff36b6b45cf6145a89 + +query III rowsort x766 +SELECT a+b*2+c*3+d*4, + CASE WHEN a(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + a+b*2+c*3+d*4+e*5, + b, + a+b*2+c*3, + (SELECT count(*) FROM t1 AS x WHERE x.b(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + a+b*2+c*3+d*4+e*5, + b, + a+b*2+c*3, + (SELECT count(*) FROM t1 AS x WHERE x.be + OR b>c +---- +40 values hashing to a066bcf112057385006c3ee80251128d + +query II rowsort x770 +SELECT (SELECT count(*) FROM t1 AS x WHERE x.be + OR b>c + ORDER BY 1,2 +---- +40 values hashing to a066bcf112057385006c3ee80251128d + +query II rowsort x770 +SELECT (SELECT count(*) FROM t1 AS x WHERE x.bc + OR d>e +---- +40 values hashing to a066bcf112057385006c3ee80251128d + +query II rowsort x770 +SELECT (SELECT count(*) FROM t1 AS x WHERE x.bc + OR d>e + ORDER BY 1,2 +---- +40 values hashing to a066bcf112057385006c3ee80251128d + +query IIIIIII rowsort x771 +SELECT a+b*2+c*3, + a, + d, + a+b*2, + abs(a), + (SELECT count(*) FROM t1 AS x WHERE x.b(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + abs(b-c) + FROM t1 + WHERE d NOT BETWEEN 110 AND 150 +---- +51 values hashing to 2ef29759ecbd012e176e97d752db71f4 + +query III rowsort x772 +SELECT CASE WHEN a(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + abs(b-c) + FROM t1 + WHERE d NOT BETWEEN 110 AND 150 + ORDER BY 2,3 +---- +51 values hashing to 2ef29759ecbd012e176e97d752db71f4 + +query IIIIIII rowsort x773 +SELECT c, + (SELECT count(*) FROM t1 AS x WHERE x.bd + OR (e>c OR ed + OR (e>c OR ec OR ed +---- +26 values hashing to bbf5d06f9b3cf6ed2e0c96d97cb93393 + +query I rowsort x774 +SELECT abs(b-c) + FROM t1 + WHERE (e>c OR ed + ORDER BY 1 +---- +26 values hashing to bbf5d06f9b3cf6ed2e0c96d97cb93393 + +query I rowsort x775 +SELECT CASE a+1 WHEN b THEN 111 WHEN c THEN 222 + WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END + FROM t1 +---- +30 values hashing to 0075716954dbc259c5e8ac65568a6fa7 + +query I rowsort x775 +SELECT CASE a+1 WHEN b THEN 111 WHEN c THEN 222 + WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END + FROM t1 + ORDER BY 1 +---- +30 values hashing to 0075716954dbc259c5e8ac65568a6fa7 + +query IIIII rowsort x776 +SELECT a+b*2+c*3, + (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.d=d+2) +---- +50 values hashing to c0abef7fc17bf093b41ad295ca250beb + +query IIIII rowsort x776 +SELECT a+b*2+c*3, + (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.d=d+2) + ORDER BY 5,1,4,3,2 +---- +50 values hashing to c0abef7fc17bf093b41ad295ca250beb + +query I rowsort x777 +SELECT CASE WHEN ac +---- +13 values hashing to d271a615af2e7875654b988689524a23 + +query I rowsort x777 +SELECT CASE WHEN ac + ORDER BY 1 +---- +13 values hashing to d271a615af2e7875654b988689524a23 + +query III rowsort x778 +SELECT (a+b+c+d+e)/5, + b, + b-c + FROM t1 + WHERE (c<=d-2 OR c>=d+2) + AND (a>b-2 AND a=d+2) + AND (a>b-2 AND a=d+2) + AND c BETWEEN b-2 AND d+2 + AND (a>b-2 AND a=d+2) + AND c BETWEEN b-2 AND d+2 + AND (a>b-2 AND a(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + a-b + FROM t1 + WHERE d NOT BETWEEN 110 AND 150 + OR EXISTS(SELECT 1 FROM t1 AS x WHERE x.b(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + a-b + FROM t1 + WHERE d NOT BETWEEN 110 AND 150 + OR EXISTS(SELECT 1 FROM t1 AS x WHERE x.bt1.c AND x.dt1.c AND x.db +---- +90 values hashing to 626ef6252ef34893711614adade69fcc + +query IIIII rowsort x782 +SELECT b-c, + abs(b-c), + d-e, + d, + a+b*2+c*3+d*4+e*5 + FROM t1 + WHERE e+d BETWEEN a+b-10 AND c+130 + OR a>b + ORDER BY 2,3,4 +---- +90 values hashing to 626ef6252ef34893711614adade69fcc + +query IIIII rowsort x782 +SELECT b-c, + abs(b-c), + d-e, + d, + a+b*2+c*3+d*4+e*5 + FROM t1 + WHERE a>b + OR e+d BETWEEN a+b-10 AND c+130 +---- +90 values hashing to 626ef6252ef34893711614adade69fcc + +query IIIII rowsort x782 +SELECT b-c, + abs(b-c), + d-e, + d, + a+b*2+c*3+d*4+e*5 + FROM t1 + WHERE a>b + OR e+d BETWEEN a+b-10 AND c+130 + ORDER BY 2,4 +---- +90 values hashing to 626ef6252ef34893711614adade69fcc + +query IIIIII rowsort x783 +SELECT b-c, + a+b*2+c*3, + a+b*2, + c-d, + (a+b+c+d+e)/5, + a-b + FROM t1 + WHERE e+d BETWEEN a+b-10 AND c+130 + AND d>e + AND d NOT BETWEEN 110 AND 150 +---- + +query IIIIII rowsort x783 +SELECT b-c, + a+b*2+c*3, + a+b*2, + c-d, + (a+b+c+d+e)/5, + a-b + FROM t1 + WHERE e+d BETWEEN a+b-10 AND c+130 + AND d>e + AND d NOT BETWEEN 110 AND 150 + ORDER BY 2,1,5,3,6 +---- + +query IIIIII rowsort x783 +SELECT b-c, + a+b*2+c*3, + a+b*2, + c-d, + (a+b+c+d+e)/5, + a-b + FROM t1 + WHERE d NOT BETWEEN 110 AND 150 + AND e+d BETWEEN a+b-10 AND c+130 + AND d>e +---- + +query IIIIII rowsort x783 +SELECT b-c, + a+b*2+c*3, + a+b*2, + c-d, + (a+b+c+d+e)/5, + a-b + FROM t1 + WHERE d NOT BETWEEN 110 AND 150 + AND e+d BETWEEN a+b-10 AND c+130 + AND d>e + ORDER BY 1,4,3,5,6 +---- + +query IIIIII rowsort x783 +SELECT b-c, + a+b*2+c*3, + a+b*2, + c-d, + (a+b+c+d+e)/5, + a-b + FROM t1 + WHERE d>e + AND e+d BETWEEN a+b-10 AND c+130 + AND d NOT BETWEEN 110 AND 150 +---- + +query IIIIII rowsort x783 +SELECT b-c, + a+b*2+c*3, + a+b*2, + c-d, + (a+b+c+d+e)/5, + a-b + FROM t1 + WHERE d>e + AND e+d BETWEEN a+b-10 AND c+130 + AND d NOT BETWEEN 110 AND 150 + ORDER BY 3,6,5,2,4 +---- + +query IIIIII rowsort x783 +SELECT b-c, + a+b*2+c*3, + a+b*2, + c-d, + (a+b+c+d+e)/5, + a-b + FROM t1 + WHERE d NOT BETWEEN 110 AND 150 + AND d>e + AND e+d BETWEEN a+b-10 AND c+130 +---- + +query IIIIII rowsort x783 +SELECT b-c, + a+b*2+c*3, + a+b*2, + c-d, + (a+b+c+d+e)/5, + a-b + FROM t1 + WHERE d NOT BETWEEN 110 AND 150 + AND d>e + AND e+d BETWEEN a+b-10 AND c+130 + ORDER BY 6,4,5,2,3,1 +---- + +query III rowsort x784 +SELECT b, + abs(a), + a+b*2+c*3+d*4+e*5 + FROM t1 +---- +90 values hashing to 1040bcfbc48b8da482563e6bf55c8020 + +query III rowsort x784 +SELECT b, + abs(a), + a+b*2+c*3+d*4+e*5 + FROM t1 + ORDER BY 2,3 +---- +90 values hashing to 1040bcfbc48b8da482563e6bf55c8020 + +query IIIII rowsort x785 +SELECT a+b*2+c*3+d*4+e*5, + e, + (SELECT count(*) FROM t1 AS x WHERE x.bd + AND b>c +---- +20 values hashing to 4aa57bffd9ad259bf18a44fc63809db3 + +query IIIII rowsort x785 +SELECT a+b*2+c*3+d*4+e*5, + e, + (SELECT count(*) FROM t1 AS x WHERE x.bd + AND b>c + ORDER BY 1,4,3,2 +---- +20 values hashing to 4aa57bffd9ad259bf18a44fc63809db3 + +query IIIII rowsort x785 +SELECT a+b*2+c*3+d*4+e*5, + e, + (SELECT count(*) FROM t1 AS x WHERE x.bc + AND c>d +---- +20 values hashing to 4aa57bffd9ad259bf18a44fc63809db3 + +query IIIII rowsort x785 +SELECT a+b*2+c*3+d*4+e*5, + e, + (SELECT count(*) FROM t1 AS x WHERE x.bc + AND c>d + ORDER BY 1,3 +---- +20 values hashing to 4aa57bffd9ad259bf18a44fc63809db3 + +query II rowsort x786 +SELECT b, + a+b*2 + FROM t1 + WHERE d NOT BETWEEN 110 AND 150 + OR b>c + OR c BETWEEN b-2 AND d+2 +---- +52 values hashing to 6edf7153843e52137e6df1f9451808b2 + +query II rowsort x786 +SELECT b, + a+b*2 + FROM t1 + WHERE d NOT BETWEEN 110 AND 150 + OR b>c + OR c BETWEEN b-2 AND d+2 + ORDER BY 1,2 +---- +52 values hashing to 6edf7153843e52137e6df1f9451808b2 + +query II rowsort x786 +SELECT b, + a+b*2 + FROM t1 + WHERE c BETWEEN b-2 AND d+2 + OR d NOT BETWEEN 110 AND 150 + OR b>c +---- +52 values hashing to 6edf7153843e52137e6df1f9451808b2 + +query II rowsort x786 +SELECT b, + a+b*2 + FROM t1 + WHERE c BETWEEN b-2 AND d+2 + OR d NOT BETWEEN 110 AND 150 + OR b>c + ORDER BY 1,2 +---- +52 values hashing to 6edf7153843e52137e6df1f9451808b2 + +query II rowsort x786 +SELECT b, + a+b*2 + FROM t1 + WHERE c BETWEEN b-2 AND d+2 + OR b>c + OR d NOT BETWEEN 110 AND 150 +---- +52 values hashing to 6edf7153843e52137e6df1f9451808b2 + +query II rowsort x786 +SELECT b, + a+b*2 + FROM t1 + WHERE c BETWEEN b-2 AND d+2 + OR b>c + OR d NOT BETWEEN 110 AND 150 + ORDER BY 2,1 +---- +52 values hashing to 6edf7153843e52137e6df1f9451808b2 + +query II rowsort x786 +SELECT b, + a+b*2 + FROM t1 + WHERE d NOT BETWEEN 110 AND 150 + OR c BETWEEN b-2 AND d+2 + OR b>c +---- +52 values hashing to 6edf7153843e52137e6df1f9451808b2 + +query II rowsort x786 +SELECT b, + a+b*2 + FROM t1 + WHERE d NOT BETWEEN 110 AND 150 + OR c BETWEEN b-2 AND d+2 + OR b>c + ORDER BY 1,2 +---- +52 values hashing to 6edf7153843e52137e6df1f9451808b2 + +query IIII rowsort x787 +SELECT CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + c-d, + (a+b+c+d+e)/5, + d + FROM t1 + WHERE (e>c OR e(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + c-d, + (a+b+c+d+e)/5, + d + FROM t1 + WHERE (e>c OR ec OR eb + AND d NOT BETWEEN 110 AND 150 +---- +10 values hashing to f18663fb394835caeb11f30bbb756057 + +query I rowsort x788 +SELECT a-b + FROM t1 + WHERE (e>c OR eb + AND d NOT BETWEEN 110 AND 150 + ORDER BY 1 +---- +10 values hashing to f18663fb394835caeb11f30bbb756057 + +query I rowsort x788 +SELECT a-b + FROM t1 + WHERE (e>c OR eb +---- +10 values hashing to f18663fb394835caeb11f30bbb756057 + +query I rowsort x788 +SELECT a-b + FROM t1 + WHERE (e>c OR eb + ORDER BY 1 +---- +10 values hashing to f18663fb394835caeb11f30bbb756057 + +query I rowsort x788 +SELECT a-b + FROM t1 + WHERE a>b + AND (e>c OR eb + AND (e>c OR ed + AND e+d BETWEEN a+b-10 AND c+130 + AND EXISTS(SELECT 1 FROM t1 AS x WHERE x.bd + AND e+d BETWEEN a+b-10 AND c+130 + AND EXISTS(SELECT 1 FROM t1 AS x WHERE x.bd + AND e+d BETWEEN a+b-10 AND c+130 +---- + +query IIIIII rowsort x789 +SELECT CASE WHEN ad + AND e+d BETWEEN a+b-10 AND c+130 + ORDER BY 1,6 +---- + +query IIIIII rowsort x789 +SELECT CASE WHEN ad + AND EXISTS(SELECT 1 FROM t1 AS x WHERE x.bd + AND EXISTS(SELECT 1 FROM t1 AS x WHERE x.b(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END + FROM t1 + WHERE (a>b-2 AND ac OR ed +---- +-4 +1430 +1 +1300 +1 +1390 +3 +364 + +query II rowsort x790 +SELECT d-e, + CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END + FROM t1 + WHERE (a>b-2 AND ac OR ed + ORDER BY 2,1 +---- +-4 +1430 +1 +1300 +1 +1390 +3 +364 + +query II rowsort x790 +SELECT d-e, + CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END + FROM t1 + WHERE (e>c OR ed + AND (a>b-2 AND a(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END + FROM t1 + WHERE (e>c OR ed + AND (a>b-2 AND ab + AND c>d + AND c BETWEEN b-2 AND d+2 +---- +25 values hashing to d782d4b19976325c2cb7b97f99c702cb + +query IIIII rowsort x793 +SELECT abs(b-c), + abs(a), + d-e, + (a+b+c+d+e)/5, + a + FROM t1 + WHERE a>b + AND c>d + AND c BETWEEN b-2 AND d+2 + ORDER BY 3,1,5,2 +---- +25 values hashing to d782d4b19976325c2cb7b97f99c702cb + +query IIIII rowsort x793 +SELECT abs(b-c), + abs(a), + d-e, + (a+b+c+d+e)/5, + a + FROM t1 + WHERE a>b + AND c BETWEEN b-2 AND d+2 + AND c>d +---- +25 values hashing to d782d4b19976325c2cb7b97f99c702cb + +query IIIII rowsort x793 +SELECT abs(b-c), + abs(a), + d-e, + (a+b+c+d+e)/5, + a + FROM t1 + WHERE a>b + AND c BETWEEN b-2 AND d+2 + AND c>d + ORDER BY 3,1,5,2 +---- +25 values hashing to d782d4b19976325c2cb7b97f99c702cb + +query IIIII rowsort x793 +SELECT abs(b-c), + abs(a), + d-e, + (a+b+c+d+e)/5, + a + FROM t1 + WHERE c BETWEEN b-2 AND d+2 + AND a>b + AND c>d +---- +25 values hashing to d782d4b19976325c2cb7b97f99c702cb + +query IIIII rowsort x793 +SELECT abs(b-c), + abs(a), + d-e, + (a+b+c+d+e)/5, + a + FROM t1 + WHERE c BETWEEN b-2 AND d+2 + AND a>b + AND c>d + ORDER BY 5,1,4 +---- +25 values hashing to d782d4b19976325c2cb7b97f99c702cb + +query IIIII rowsort x793 +SELECT abs(b-c), + abs(a), + d-e, + (a+b+c+d+e)/5, + a + FROM t1 + WHERE c>d + AND c BETWEEN b-2 AND d+2 + AND a>b +---- +25 values hashing to d782d4b19976325c2cb7b97f99c702cb + +query IIIII rowsort x793 +SELECT abs(b-c), + abs(a), + d-e, + (a+b+c+d+e)/5, + a + FROM t1 + WHERE c>d + AND c BETWEEN b-2 AND d+2 + AND a>b + ORDER BY 4,1,3 +---- +25 values hashing to d782d4b19976325c2cb7b97f99c702cb + +query I rowsort x794 +SELECT d-e + FROM t1 +---- +30 values hashing to 9e2d6381b04ea314cd79c5fc9325b30e + +query I rowsort x794 +SELECT d-e + FROM t1 + ORDER BY 1 +---- +30 values hashing to 9e2d6381b04ea314cd79c5fc9325b30e + +query IIIII rowsort x795 +SELECT CASE WHEN aa AND eb-2 AND aa AND eb-2 AND ab-2 AND aa AND eb-2 AND aa AND ea AND eb +---- +40 values hashing to 9102a4c60187cf2a5da79119275168f3 + +query II rowsort x797 +SELECT e, + (SELECT count(*) FROM t1 AS x WHERE x.ba AND eb + ORDER BY 2,1 +---- +40 values hashing to 9102a4c60187cf2a5da79119275168f3 + +query II rowsort x797 +SELECT e, + (SELECT count(*) FROM t1 AS x WHERE x.bb + OR (e>a AND eb + OR (e>a AND ee + OR d NOT BETWEEN 110 AND 150 + OR c>d +---- +120 values hashing to 7f568c528311be6ed6eec5ebe0e3ef6a + +query IIIII rowsort x798 +SELECT abs(a), + d-e, + a+b*2+c*3, + abs(b-c), + b + FROM t1 + WHERE d>e + OR d NOT BETWEEN 110 AND 150 + OR c>d + ORDER BY 4,1,5 +---- +120 values hashing to 7f568c528311be6ed6eec5ebe0e3ef6a + +query IIIII rowsort x798 +SELECT abs(a), + d-e, + a+b*2+c*3, + abs(b-c), + b + FROM t1 + WHERE d>e + OR c>d + OR d NOT BETWEEN 110 AND 150 +---- +120 values hashing to 7f568c528311be6ed6eec5ebe0e3ef6a + +query IIIII rowsort x798 +SELECT abs(a), + d-e, + a+b*2+c*3, + abs(b-c), + b + FROM t1 + WHERE d>e + OR c>d + OR d NOT BETWEEN 110 AND 150 + ORDER BY 1,2,4 +---- +120 values hashing to 7f568c528311be6ed6eec5ebe0e3ef6a + +query IIIII rowsort x798 +SELECT abs(a), + d-e, + a+b*2+c*3, + abs(b-c), + b + FROM t1 + WHERE c>d + OR d NOT BETWEEN 110 AND 150 + OR d>e +---- +120 values hashing to 7f568c528311be6ed6eec5ebe0e3ef6a + +query IIIII rowsort x798 +SELECT abs(a), + d-e, + a+b*2+c*3, + abs(b-c), + b + FROM t1 + WHERE c>d + OR d NOT BETWEEN 110 AND 150 + OR d>e + ORDER BY 1,3 +---- +120 values hashing to 7f568c528311be6ed6eec5ebe0e3ef6a + +query IIIIIII rowsort x799 +SELECT (SELECT count(*) FROM t1 AS x WHERE x.bt1.c AND x.d=d+2) +---- +70 values hashing to d354893ad347c5d343981e64288646e8 + +query IIIIIII rowsort x799 +SELECT (SELECT count(*) FROM t1 AS x WHERE x.bt1.c AND x.d=d+2) + ORDER BY 4,1,5,2,6,3 +---- +70 values hashing to d354893ad347c5d343981e64288646e8 + +query IIIIII rowsort x800 +SELECT (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.db-2 AND at1.c AND x.db-2 AND at1.c AND x.db-2 AND at1.c AND x.db-2 AND at1.c AND x.db-2 AND at1.c AND x.db-2 AND a(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + a+b*2+c*3+d*4+e*5 + FROM t1 +---- +180 values hashing to 36e748eb3b5f1beac4d5c62c3fb4b854 + +query IIIIII rowsort x801 +SELECT d, + c-d, + a+b*2+c*3, + c, + CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + a+b*2+c*3+d*4+e*5 + FROM t1 + ORDER BY 2,5,6,3,1 +---- +180 values hashing to 36e748eb3b5f1beac4d5c62c3fb4b854 + +query IIIIIII rowsort x802 +SELECT CASE a+1 WHEN b THEN 111 WHEN c THEN 222 + WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, + CASE WHEN ad + OR EXISTS(SELECT 1 FROM t1 AS x WHERE x.bd + OR EXISTS(SELECT 1 FROM t1 AS x WHERE x.bd +---- +196 values hashing to 5403ef2d6951bd8fa174d4149c728d2c + +query IIIIIII rowsort x802 +SELECT CASE a+1 WHEN b THEN 111 WHEN c THEN 222 + WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, + CASE WHEN ad + ORDER BY 7,4,3,5,2,6,1 +---- +196 values hashing to 5403ef2d6951bd8fa174d4149c728d2c + +query IIIIIII rowsort x803 +SELECT a+b*2+c*3+d*4+e*5, + b-c, + abs(a), + d, + abs(b-c), + c, + d-e + FROM t1 +---- +210 values hashing to b047d56f74f0ab55f66fea22b4c3b64d + +query IIIIIII rowsort x803 +SELECT a+b*2+c*3+d*4+e*5, + b-c, + abs(a), + d, + abs(b-c), + c, + d-e + FROM t1 + ORDER BY 4,3,5,2,6,7 +---- +210 values hashing to b047d56f74f0ab55f66fea22b4c3b64d + +query IIIII rowsort x804 +SELECT a+b*2, + a, + CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + e, + c-d + FROM t1 + WHERE c BETWEEN b-2 AND d+2 + OR (a>b-2 AND a(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + e, + c-d + FROM t1 + WHERE c BETWEEN b-2 AND d+2 + OR (a>b-2 AND a(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + e, + c-d + FROM t1 + WHERE (a>b-2 AND a(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + e, + c-d + FROM t1 + WHERE (a>b-2 AND a(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + e, + c-d + FROM t1 + WHERE c BETWEEN b-2 AND d+2 + OR d NOT BETWEEN 110 AND 150 + OR (a>b-2 AND a(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + e, + c-d + FROM t1 + WHERE c BETWEEN b-2 AND d+2 + OR d NOT BETWEEN 110 AND 150 + OR (a>b-2 AND ab-2 AND ab-2 AND a(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + CASE a+1 WHEN b THEN 111 WHEN c THEN 222 + WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, + (SELECT count(*) FROM t1 AS x WHERE x.be + OR b>c + OR c BETWEEN b-2 AND d+2 +---- +96 values hashing to 44da1927a8f7dc680350aa237e4bf11f + +query IIII rowsort x806 +SELECT a+b*2+c*3+d*4+e*5, + CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + CASE a+1 WHEN b THEN 111 WHEN c THEN 222 + WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, + (SELECT count(*) FROM t1 AS x WHERE x.be + OR b>c + OR c BETWEEN b-2 AND d+2 + ORDER BY 3,2,4 +---- +96 values hashing to 44da1927a8f7dc680350aa237e4bf11f + +query IIII rowsort x806 +SELECT a+b*2+c*3+d*4+e*5, + CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + CASE a+1 WHEN b THEN 111 WHEN c THEN 222 + WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, + (SELECT count(*) FROM t1 AS x WHERE x.bc + OR d>e +---- +96 values hashing to 44da1927a8f7dc680350aa237e4bf11f + +query IIII rowsort x806 +SELECT a+b*2+c*3+d*4+e*5, + CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + CASE a+1 WHEN b THEN 111 WHEN c THEN 222 + WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, + (SELECT count(*) FROM t1 AS x WHERE x.bc + OR d>e + ORDER BY 1,4,2 +---- +96 values hashing to 44da1927a8f7dc680350aa237e4bf11f + +query IIII rowsort x806 +SELECT a+b*2+c*3+d*4+e*5, + CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + CASE a+1 WHEN b THEN 111 WHEN c THEN 222 + WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, + (SELECT count(*) FROM t1 AS x WHERE x.be + OR b>c +---- +96 values hashing to 44da1927a8f7dc680350aa237e4bf11f + +query IIII rowsort x806 +SELECT a+b*2+c*3+d*4+e*5, + CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + CASE a+1 WHEN b THEN 111 WHEN c THEN 222 + WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, + (SELECT count(*) FROM t1 AS x WHERE x.be + OR b>c + ORDER BY 3,2 +---- +96 values hashing to 44da1927a8f7dc680350aa237e4bf11f + +query IIIIIII rowsort x807 +SELECT b, + a+b*2+c*3+d*4, + d-e, + CASE a+1 WHEN b THEN 111 WHEN c THEN 222 + WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, + (a+b+c+d+e)/5, + a+b*2, + a-b + FROM t1 + WHERE c BETWEEN b-2 AND d+2 +---- +105 values hashing to 54c654e1e6431af9fd26b5eb45fdfe9b + +query IIIIIII rowsort x807 +SELECT b, + a+b*2+c*3+d*4, + d-e, + CASE a+1 WHEN b THEN 111 WHEN c THEN 222 + WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, + (a+b+c+d+e)/5, + a+b*2, + a-b + FROM t1 + WHERE c BETWEEN b-2 AND d+2 + ORDER BY 5,6,1,3,7 +---- +105 values hashing to 54c654e1e6431af9fd26b5eb45fdfe9b + +query IIII rowsort x808 +SELECT a+b*2+c*3+d*4, + a+b*2+c*3, + c, + CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END + FROM t1 + WHERE (e>c OR e(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END + FROM t1 + WHERE (e>c OR ea AND ea AND eb-2 AND ac + AND a>b +---- +159 +475 +168 +502 +199 +595 +229 +685 + +query II rowsort x812 +SELECT abs(a), + a+b*2 + FROM t1 + WHERE (a>b-2 AND ac + AND a>b + ORDER BY 1,2 +---- +159 +475 +168 +502 +199 +595 +229 +685 + +query II rowsort x812 +SELECT abs(a), + a+b*2 + FROM t1 + WHERE a>b + AND b>c + AND (a>b-2 AND ab + AND b>c + AND (a>b-2 AND ac + AND a>b + AND (a>b-2 AND ac + AND a>b + AND (a>b-2 AND a=d+2) + OR d>e +---- +64 values hashing to 3566124dacd2c12176bfda780e1a9b96 + +query IIII rowsort x814 +SELECT abs(b-c), + a+b*2+c*3+d*4+e*5, + b, + d-e + FROM t1 + WHERE (c<=d-2 OR c>=d+2) + OR d>e + ORDER BY 4,2 +---- +64 values hashing to 3566124dacd2c12176bfda780e1a9b96 + +query IIII rowsort x814 +SELECT abs(b-c), + a+b*2+c*3+d*4+e*5, + b, + d-e + FROM t1 + WHERE d>e + OR (c<=d-2 OR c>=d+2) +---- +64 values hashing to 3566124dacd2c12176bfda780e1a9b96 + +query IIII rowsort x814 +SELECT abs(b-c), + a+b*2+c*3+d*4+e*5, + b, + d-e + FROM t1 + WHERE d>e + OR (c<=d-2 OR c>=d+2) + ORDER BY 4,1,3 +---- +64 values hashing to 3566124dacd2c12176bfda780e1a9b96 + +query IIIII rowsort x815 +SELECT CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + (SELECT count(*) FROM t1 AS x WHERE x.b(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + (SELECT count(*) FROM t1 AS x WHERE x.bt1.c AND x.db + OR (a>b-2 AND at1.c AND x.db + OR (a>b-2 AND at1.c AND x.db-2 AND ab +---- +57 values hashing to 881ebccd5da31eb464ebc33480b921bd + +query III rowsort x817 +SELECT (a+b+c+d+e)/5, + CASE WHEN at1.c AND x.db-2 AND ab + ORDER BY 1,2 +---- +57 values hashing to 881ebccd5da31eb464ebc33480b921bd + +query IIIIII rowsort x818 +SELECT (SELECT count(*) FROM t1 AS x WHERE x.b(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + b, + d-e, + abs(b-c), + d + FROM t1 + WHERE d NOT BETWEEN 110 AND 150 + OR c BETWEEN b-2 AND d+2 +---- +132 values hashing to 2fad9b201c26f61f51170e12cdacb20d + +query IIIIII rowsort x818 +SELECT (SELECT count(*) FROM t1 AS x WHERE x.b(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + b, + d-e, + abs(b-c), + d + FROM t1 + WHERE d NOT BETWEEN 110 AND 150 + OR c BETWEEN b-2 AND d+2 + ORDER BY 3,4,6 +---- +132 values hashing to 2fad9b201c26f61f51170e12cdacb20d + +query IIIIII rowsort x818 +SELECT (SELECT count(*) FROM t1 AS x WHERE x.b(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + b, + d-e, + abs(b-c), + d + FROM t1 + WHERE c BETWEEN b-2 AND d+2 + OR d NOT BETWEEN 110 AND 150 +---- +132 values hashing to 2fad9b201c26f61f51170e12cdacb20d + +query IIIIII rowsort x818 +SELECT (SELECT count(*) FROM t1 AS x WHERE x.b(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + b, + d-e, + abs(b-c), + d + FROM t1 + WHERE c BETWEEN b-2 AND d+2 + OR d NOT BETWEEN 110 AND 150 + ORDER BY 6,4 +---- +132 values hashing to 2fad9b201c26f61f51170e12cdacb20d + +query IIIIIII rowsort x819 +SELECT d-e, + (a+b+c+d+e)/5, + CASE a+1 WHEN b THEN 111 WHEN c THEN 222 + WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, + CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + a-b, + a+b*2+c*3+d*4, + abs(a) + FROM t1 +---- +210 values hashing to bad1bff3c68810098c882b1301d57d5b + +query IIIIIII rowsort x819 +SELECT d-e, + (a+b+c+d+e)/5, + CASE a+1 WHEN b THEN 111 WHEN c THEN 222 + WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, + CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + a-b, + a+b*2+c*3+d*4, + abs(a) + FROM t1 + ORDER BY 7,6,2,1,3,4 +---- +210 values hashing to bad1bff3c68810098c882b1301d57d5b + +query IIIII rowsort x820 +SELECT c-d, + CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + (a+b+c+d+e)/5, + abs(a), + d + FROM t1 +---- +150 values hashing to a2c1f470369263777dccdd62b6cc58a3 + +query IIIII rowsort x820 +SELECT c-d, + CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + (a+b+c+d+e)/5, + abs(a), + d + FROM t1 + ORDER BY 1,2 +---- +150 values hashing to a2c1f470369263777dccdd62b6cc58a3 + +query II rowsort x821 +SELECT CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + (SELECT count(*) FROM t1 AS x WHERE x.b(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + (SELECT count(*) FROM t1 AS x WHERE x.b(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END + FROM t1 + WHERE (c<=d-2 OR c>=d+2) + OR b>c + OR c BETWEEN b-2 AND d+2 +---- +96 values hashing to ec09cfec9014af043b24a1141a68712f + +query IIII rowsort x822 +SELECT a, + d-e, + c, + CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END + FROM t1 + WHERE (c<=d-2 OR c>=d+2) + OR b>c + OR c BETWEEN b-2 AND d+2 + ORDER BY 1,2 +---- +96 values hashing to ec09cfec9014af043b24a1141a68712f + +query IIII rowsort x822 +SELECT a, + d-e, + c, + CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END + FROM t1 + WHERE c BETWEEN b-2 AND d+2 + OR b>c + OR (c<=d-2 OR c>=d+2) +---- +96 values hashing to ec09cfec9014af043b24a1141a68712f + +query IIII rowsort x822 +SELECT a, + d-e, + c, + CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END + FROM t1 + WHERE c BETWEEN b-2 AND d+2 + OR b>c + OR (c<=d-2 OR c>=d+2) + ORDER BY 2,4 +---- +96 values hashing to ec09cfec9014af043b24a1141a68712f + +query IIIIII rowsort x823 +SELECT e, + a+b*2, + CASE WHEN ac OR ec OR ec OR ec OR ec OR ec OR eb-2 AND ab-2 AND ab +---- +119 values hashing to b5a3a414af9dfc13a52235ebb2e2a5cd + +query IIIIIII rowsort x826 +SELECT d-e, + d, + a+b*2, + a+b*2+c*3, + CASE WHEN ab + ORDER BY 1,5,7,6,4,3 +---- +119 values hashing to b5a3a414af9dfc13a52235ebb2e2a5cd + +query III rowsort x827 +SELECT a, + d-e, + e + FROM t1 + WHERE d NOT BETWEEN 110 AND 150 +---- +51 values hashing to da371f3bfca30ba9e03f2c8a0a03051d + +query III rowsort x827 +SELECT a, + d-e, + e + FROM t1 + WHERE d NOT BETWEEN 110 AND 150 + ORDER BY 2,1,3 +---- +51 values hashing to da371f3bfca30ba9e03f2c8a0a03051d + +query I rowsort x828 +SELECT e + FROM t1 + WHERE (a>b-2 AND ac +---- +15 values hashing to 7b91d490207e5d46d4cdedd249b0649a + +query I rowsort x828 +SELECT e + FROM t1 + WHERE (a>b-2 AND ac + ORDER BY 1 +---- +15 values hashing to 7b91d490207e5d46d4cdedd249b0649a + +query I rowsort x828 +SELECT e + FROM t1 + WHERE b>c + OR (a>b-2 AND ac + OR (a>b-2 AND a(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + (SELECT count(*) FROM t1 AS x WHERE x.be + AND e+d BETWEEN a+b-10 AND c+130 +---- +1290 +3 +1272 +1902 +-2 + +query IIIII rowsort x829 +SELECT CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + (SELECT count(*) FROM t1 AS x WHERE x.be + AND e+d BETWEEN a+b-10 AND c+130 + ORDER BY 2,4 +---- +1290 +3 +1272 +1902 +-2 + +query IIIIII rowsort x830 +SELECT d, + a+b*2, + abs(a), + abs(b-c), + a-b, + CASE WHEN ae + OR (e>a AND ee + OR (e>a AND ea AND ee +---- +78 values hashing to 42734ac27e5bd09a22c811113ba2cd6e + +query IIIIII rowsort x830 +SELECT d, + a+b*2, + abs(a), + abs(b-c), + a-b, + CASE WHEN aa AND ee + ORDER BY 5,1,6,2 +---- +78 values hashing to 42734ac27e5bd09a22c811113ba2cd6e + +query IIIIII rowsort x830 +SELECT d, + a+b*2, + abs(a), + abs(b-c), + a-b, + CASE WHEN ae + OR (e>a AND ee + OR (e>a AND ee + OR e+d BETWEEN a+b-10 AND c+130 + OR (e>a AND ee + OR e+d BETWEEN a+b-10 AND c+130 + OR (e>a AND et1.c AND x.dt1.c AND x.d(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + (a+b+c+d+e)/5, + a+b*2+c*3, + abs(b-c), + d, + CASE a+1 WHEN b THEN 111 WHEN c THEN 222 + WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END + FROM t1 + WHERE a>b + OR (c<=d-2 OR c>=d+2) +---- +154 values hashing to 9ad59033307ede2ebfba5c59c8379741 + +query IIIIIII rowsort x832 +SELECT a+b*2+c*3+d*4, + CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + (a+b+c+d+e)/5, + a+b*2+c*3, + abs(b-c), + d, + CASE a+1 WHEN b THEN 111 WHEN c THEN 222 + WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END + FROM t1 + WHERE a>b + OR (c<=d-2 OR c>=d+2) + ORDER BY 4,6,5,3 +---- +154 values hashing to 9ad59033307ede2ebfba5c59c8379741 + +query IIIIII rowsort x833 +SELECT b-c, + a+b*2+c*3+d*4+e*5, + d-e, + a+b*2+c*3, + a+b*2, + e + FROM t1 + WHERE EXISTS(SELECT 1 FROM t1 AS x WHERE x.ba AND ea AND ea AND ea AND e(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END + FROM t1 +---- +210 values hashing to 177a4f862e7e470622e4e575024da470 + +query IIIIIII rowsort x834 +SELECT b-c, + e, + d, + abs(a), + abs(b-c), + (SELECT count(*) FROM t1 AS x WHERE x.b(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END + FROM t1 + ORDER BY 1,6,5,2,3,7 +---- +210 values hashing to 177a4f862e7e470622e4e575024da470 + +query IIIII rowsort x835 +SELECT a, + (a+b+c+d+e)/5, + (SELECT count(*) FROM t1 AS x WHERE x.bc +---- +78 values hashing to edbe7006d53a6726fff6226000ae6c1c + +query IIIIII rowsort x836 +SELECT b-c, + b, + a-b, + c-d, + d-e, + e + FROM t1 + WHERE b>c + ORDER BY 3,1,4,2,6,5 +---- +78 values hashing to edbe7006d53a6726fff6226000ae6c1c + +query II rowsort x837 +SELECT abs(a), + d-e + FROM t1 + WHERE (a>b-2 AND ac +---- +12 values hashing to 66f5b8188cd6c0e53ad39ec35e860eb6 + +query II rowsort x837 +SELECT abs(a), + d-e + FROM t1 + WHERE (a>b-2 AND ac + ORDER BY 1,2 +---- +12 values hashing to 66f5b8188cd6c0e53ad39ec35e860eb6 + +query II rowsort x837 +SELECT abs(a), + d-e + FROM t1 + WHERE b>c + AND (a>b-2 AND ac + AND (a>b-2 AND aa AND ea AND e(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + d, + CASE a+1 WHEN b THEN 111 WHEN c THEN 222 + WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, + (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.d(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + d, + CASE a+1 WHEN b THEN 111 WHEN c THEN 222 + WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, + (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.db + AND EXISTS(SELECT 1 FROM t1 AS x WHERE x.bb + AND EXISTS(SELECT 1 FROM t1 AS x WHERE x.bt1.c AND x.dt1.c AND x.d=d+2) +---- +76 values hashing to 74b9ca76cf42eeb436c8f3d99d5026a5 + +query IIII rowsort x844 +SELECT a-b, + e, + c, + a+b*2+c*3+d*4 + FROM t1 + WHERE e+d BETWEEN a+b-10 AND c+130 + OR d NOT BETWEEN 110 AND 150 + OR (c<=d-2 OR c>=d+2) + ORDER BY 2,3 +---- +76 values hashing to 74b9ca76cf42eeb436c8f3d99d5026a5 + +query IIII rowsort x844 +SELECT a-b, + e, + c, + a+b*2+c*3+d*4 + FROM t1 + WHERE (c<=d-2 OR c>=d+2) + OR d NOT BETWEEN 110 AND 150 + OR e+d BETWEEN a+b-10 AND c+130 +---- +76 values hashing to 74b9ca76cf42eeb436c8f3d99d5026a5 + +query IIII rowsort x844 +SELECT a-b, + e, + c, + a+b*2+c*3+d*4 + FROM t1 + WHERE (c<=d-2 OR c>=d+2) + OR d NOT BETWEEN 110 AND 150 + OR e+d BETWEEN a+b-10 AND c+130 + ORDER BY 4,1 +---- +76 values hashing to 74b9ca76cf42eeb436c8f3d99d5026a5 + +query IIII rowsort x844 +SELECT a-b, + e, + c, + a+b*2+c*3+d*4 + FROM t1 + WHERE (c<=d-2 OR c>=d+2) + OR e+d BETWEEN a+b-10 AND c+130 + OR d NOT BETWEEN 110 AND 150 +---- +76 values hashing to 74b9ca76cf42eeb436c8f3d99d5026a5 + +query IIII rowsort x844 +SELECT a-b, + e, + c, + a+b*2+c*3+d*4 + FROM t1 + WHERE (c<=d-2 OR c>=d+2) + OR e+d BETWEEN a+b-10 AND c+130 + OR d NOT BETWEEN 110 AND 150 + ORDER BY 4,3,1,2 +---- +76 values hashing to 74b9ca76cf42eeb436c8f3d99d5026a5 + +query IIIIII rowsort x845 +SELECT d, + a+b*2+c*3+d*4, + e, + (a+b+c+d+e)/5, + d-e, + (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.dt1.c AND x.dc +---- +65 values hashing to 700b1ea08f8a70f8aca21e66948e013f + +query IIIII rowsort x846 +SELECT abs(b-c), + abs(a), + d-e, + CASE WHEN ac + ORDER BY 4,1 +---- +65 values hashing to 700b1ea08f8a70f8aca21e66948e013f + +query IIIIIII rowsort x847 +SELECT CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + (a+b+c+d+e)/5, + CASE a+1 WHEN b THEN 111 WHEN c THEN 222 + WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, + abs(a), + a-b, + d, + a+b*2+c*3 + FROM t1 +---- +210 values hashing to abe084b1d76cf674445ef239229bbc0a + +query IIIIIII rowsort x847 +SELECT CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + (a+b+c+d+e)/5, + CASE a+1 WHEN b THEN 111 WHEN c THEN 222 + WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, + abs(a), + a-b, + d, + a+b*2+c*3 + FROM t1 + ORDER BY 4,3,5,6,2,7,1 +---- +210 values hashing to abe084b1d76cf674445ef239229bbc0a + +query IIIII rowsort x848 +SELECT b-c, + d-e, + CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.d(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.dt1.c AND x.da AND et1.c AND x.da AND et1.c AND x.da AND e=d+2) + OR d>e +---- +96 values hashing to 9e505d055e1630da12139a6616c91e0f + +query IIIIII rowsort x851 +SELECT CASE a+1 WHEN b THEN 111 WHEN c THEN 222 + WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, + (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.da AND e=d+2) + OR d>e + ORDER BY 2,3 +---- +96 values hashing to 9e505d055e1630da12139a6616c91e0f + +query IIIIII rowsort x851 +SELECT CASE a+1 WHEN b THEN 111 WHEN c THEN 222 + WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, + (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.da AND ee + OR (c<=d-2 OR c>=d+2) +---- +96 values hashing to 9e505d055e1630da12139a6616c91e0f + +query IIIIII rowsort x851 +SELECT CASE a+1 WHEN b THEN 111 WHEN c THEN 222 + WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, + (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.da AND ee + OR (c<=d-2 OR c>=d+2) + ORDER BY 3,4 +---- +96 values hashing to 9e505d055e1630da12139a6616c91e0f + +query IIIIII rowsort x851 +SELECT CASE a+1 WHEN b THEN 111 WHEN c THEN 222 + WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, + (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.de + OR (c<=d-2 OR c>=d+2) + OR (e>a AND et1.c AND x.de + OR (c<=d-2 OR c>=d+2) + OR (e>a AND e(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END + FROM t1 + WHERE e+d BETWEEN a+b-10 AND c+130 + OR d>e + OR d NOT BETWEEN 110 AND 150 +---- +105 values hashing to 898b1396ba944fbd4d391be2eb9eceb9 + +query IIIII rowsort x852 +SELECT b, + d, + b-c, + CASE a+1 WHEN b THEN 111 WHEN c THEN 222 + WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, + CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END + FROM t1 + WHERE e+d BETWEEN a+b-10 AND c+130 + OR d>e + OR d NOT BETWEEN 110 AND 150 + ORDER BY 4,1,3,2,5 +---- +105 values hashing to 898b1396ba944fbd4d391be2eb9eceb9 + +query IIIII rowsort x852 +SELECT b, + d, + b-c, + CASE a+1 WHEN b THEN 111 WHEN c THEN 222 + WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, + CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END + FROM t1 + WHERE d NOT BETWEEN 110 AND 150 + OR e+d BETWEEN a+b-10 AND c+130 + OR d>e +---- +105 values hashing to 898b1396ba944fbd4d391be2eb9eceb9 + +query IIIII rowsort x852 +SELECT b, + d, + b-c, + CASE a+1 WHEN b THEN 111 WHEN c THEN 222 + WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, + CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END + FROM t1 + WHERE d NOT BETWEEN 110 AND 150 + OR e+d BETWEEN a+b-10 AND c+130 + OR d>e + ORDER BY 4,3 +---- +105 values hashing to 898b1396ba944fbd4d391be2eb9eceb9 + +query IIIII rowsort x852 +SELECT b, + d, + b-c, + CASE a+1 WHEN b THEN 111 WHEN c THEN 222 + WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, + CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END + FROM t1 + WHERE d>e + OR e+d BETWEEN a+b-10 AND c+130 + OR d NOT BETWEEN 110 AND 150 +---- +105 values hashing to 898b1396ba944fbd4d391be2eb9eceb9 + +query IIIII rowsort x852 +SELECT b, + d, + b-c, + CASE a+1 WHEN b THEN 111 WHEN c THEN 222 + WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, + CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END + FROM t1 + WHERE d>e + OR e+d BETWEEN a+b-10 AND c+130 + OR d NOT BETWEEN 110 AND 150 + ORDER BY 4,3,1 +---- +105 values hashing to 898b1396ba944fbd4d391be2eb9eceb9 + +query IIIII rowsort x852 +SELECT b, + d, + b-c, + CASE a+1 WHEN b THEN 111 WHEN c THEN 222 + WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, + CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END + FROM t1 + WHERE d NOT BETWEEN 110 AND 150 + OR d>e + OR e+d BETWEEN a+b-10 AND c+130 +---- +105 values hashing to 898b1396ba944fbd4d391be2eb9eceb9 + +query IIIII rowsort x852 +SELECT b, + d, + b-c, + CASE a+1 WHEN b THEN 111 WHEN c THEN 222 + WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, + CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END + FROM t1 + WHERE d NOT BETWEEN 110 AND 150 + OR d>e + OR e+d BETWEEN a+b-10 AND c+130 + ORDER BY 3,4,5,1 +---- +105 values hashing to 898b1396ba944fbd4d391be2eb9eceb9 + +query IIIII rowsort x853 +SELECT abs(a), + CASE WHEN ad +---- +65 values hashing to 55e12f994d85d5bb430f97aeb458f0ad + +query IIIII rowsort x853 +SELECT abs(a), + CASE WHEN ad + ORDER BY 3,2 +---- +65 values hashing to 55e12f994d85d5bb430f97aeb458f0ad + +query IIIII rowsort x854 +SELECT d, + b-c, + e, + abs(a), + (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.dd + AND EXISTS(SELECT 1 FROM t1 AS x WHERE x.be +---- +25 values hashing to efe072d229c48fafc64d6801a2353477 + +query IIIII rowsort x854 +SELECT d, + b-c, + e, + abs(a), + (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.dd + AND EXISTS(SELECT 1 FROM t1 AS x WHERE x.be + ORDER BY 1,5 +---- +25 values hashing to efe072d229c48fafc64d6801a2353477 + +query IIIII rowsort x854 +SELECT d, + b-c, + e, + abs(a), + (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.de + AND EXISTS(SELECT 1 FROM t1 AS x WHERE x.bd +---- +25 values hashing to efe072d229c48fafc64d6801a2353477 + +query IIIII rowsort x854 +SELECT d, + b-c, + e, + abs(a), + (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.de + AND EXISTS(SELECT 1 FROM t1 AS x WHERE x.bd + ORDER BY 4,3,2,5 +---- +25 values hashing to efe072d229c48fafc64d6801a2353477 + +query IIIII rowsort x854 +SELECT d, + b-c, + e, + abs(a), + (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.dd + AND d>e +---- +25 values hashing to efe072d229c48fafc64d6801a2353477 + +query IIIII rowsort x854 +SELECT d, + b-c, + e, + abs(a), + (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.dd + AND d>e + ORDER BY 5,3,4,1 +---- +25 values hashing to efe072d229c48fafc64d6801a2353477 + +query II rowsort x855 +SELECT CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + (SELECT count(*) FROM t1 AS x WHERE x.be +---- +46 values hashing to 3cc7fbe290b9c568f60dabcc1daa4652 + +query II rowsort x855 +SELECT CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + (SELECT count(*) FROM t1 AS x WHERE x.be + ORDER BY 2,1 +---- +46 values hashing to 3cc7fbe290b9c568f60dabcc1daa4652 + +query II rowsort x855 +SELECT CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + (SELECT count(*) FROM t1 AS x WHERE x.be + OR d NOT BETWEEN 110 AND 150 + OR c BETWEEN b-2 AND d+2 +---- +46 values hashing to 3cc7fbe290b9c568f60dabcc1daa4652 + +query II rowsort x855 +SELECT CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + (SELECT count(*) FROM t1 AS x WHERE x.be + OR d NOT BETWEEN 110 AND 150 + OR c BETWEEN b-2 AND d+2 + ORDER BY 2,1 +---- +46 values hashing to 3cc7fbe290b9c568f60dabcc1daa4652 + +query II rowsort x855 +SELECT CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + (SELECT count(*) FROM t1 AS x WHERE x.be + OR d NOT BETWEEN 110 AND 150 +---- +46 values hashing to 3cc7fbe290b9c568f60dabcc1daa4652 + +query II rowsort x855 +SELECT CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + (SELECT count(*) FROM t1 AS x WHERE x.be + OR d NOT BETWEEN 110 AND 150 + ORDER BY 1,2 +---- +46 values hashing to 3cc7fbe290b9c568f60dabcc1daa4652 + +query IIIIIII rowsort x856 +SELECT (SELECT count(*) FROM t1 AS x WHERE x.bb-2 AND ab-2 AND ab-2 AND ab-2 AND ab-2 AND ab-2 AND a(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END + FROM t1 + WHERE b>c + AND d>e + AND EXISTS(SELECT 1 FROM t1 AS x WHERE x.b(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END + FROM t1 + WHERE b>c + AND d>e + AND EXISTS(SELECT 1 FROM t1 AS x WHERE x.b(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END + FROM t1 + WHERE EXISTS(SELECT 1 FROM t1 AS x WHERE x.bc + AND d>e +---- +127 +1290 +137 +1390 +232 +468 +247 +490 + +query II rowsort x859 +SELECT (a+b+c+d+e)/5, + CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END + FROM t1 + WHERE EXISTS(SELECT 1 FROM t1 AS x WHERE x.bc + AND d>e + ORDER BY 1,2 +---- +127 +1290 +137 +1390 +232 +468 +247 +490 + +query II rowsort x859 +SELECT (a+b+c+d+e)/5, + CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END + FROM t1 + WHERE d>e + AND b>c + AND EXISTS(SELECT 1 FROM t1 AS x WHERE x.b(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END + FROM t1 + WHERE d>e + AND b>c + AND EXISTS(SELECT 1 FROM t1 AS x WHERE x.b(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END + FROM t1 + WHERE d>e + AND EXISTS(SELECT 1 FROM t1 AS x WHERE x.bc +---- +127 +1290 +137 +1390 +232 +468 +247 +490 + +query II rowsort x859 +SELECT (a+b+c+d+e)/5, + CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END + FROM t1 + WHERE d>e + AND EXISTS(SELECT 1 FROM t1 AS x WHERE x.bc + ORDER BY 2,1 +---- +127 +1290 +137 +1390 +232 +468 +247 +490 + +query I rowsort x860 +SELECT a-b + FROM t1 +---- +30 values hashing to a8508bcdf86e494dd5feccb5ca8d9768 + +query I rowsort x860 +SELECT a-b + FROM t1 + ORDER BY 1 +---- +30 values hashing to a8508bcdf86e494dd5feccb5ca8d9768 + +query II rowsort x861 +SELECT CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + e + FROM t1 + WHERE c>d + OR d>e +---- +38 values hashing to 2a2598769a3b3b10efdd6fbbbcdb5d91 + +query II rowsort x861 +SELECT CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + e + FROM t1 + WHERE c>d + OR d>e + ORDER BY 1,2 +---- +38 values hashing to 2a2598769a3b3b10efdd6fbbbcdb5d91 + +query II rowsort x861 +SELECT CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + e + FROM t1 + WHERE d>e + OR c>d +---- +38 values hashing to 2a2598769a3b3b10efdd6fbbbcdb5d91 + +query II rowsort x861 +SELECT CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + e + FROM t1 + WHERE d>e + OR c>d + ORDER BY 2,1 +---- +38 values hashing to 2a2598769a3b3b10efdd6fbbbcdb5d91 + +query II rowsort x862 +SELECT (a+b+c+d+e)/5, + (SELECT count(*) FROM t1 AS x WHERE x.bb-2 AND ac OR ea AND eb-2 AND ac OR ea AND ea AND ec OR eb-2 AND aa AND ec OR eb-2 AND at1.c AND x.dc OR et1.c AND x.dc OR et1.c AND x.dc OR et1.c AND x.dc OR ec +---- +13 values hashing to 37b4d73e441261c2486e2c599c1c89f1 + +query I rowsort x866 +SELECT d-e + FROM t1 + WHERE b>c + ORDER BY 1 +---- +13 values hashing to 37b4d73e441261c2486e2c599c1c89f1 + +query IIIII rowsort x867 +SELECT abs(a), + a+b*2+c*3+d*4+e*5, + d-e, + (SELECT count(*) FROM t1 AS x WHERE x.b(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + abs(a), + d-e, + b, + e + FROM t1 + WHERE (e>c OR eb-2 AND a(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + abs(a), + d-e, + b, + e + FROM t1 + WHERE (e>c OR eb-2 AND a(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + abs(a), + d-e, + b, + e + FROM t1 + WHERE (a>b-2 AND ac OR e(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + abs(a), + d-e, + b, + e + FROM t1 + WHERE (a>b-2 AND ac OR e(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + abs(a), + d-e, + b, + e + FROM t1 + WHERE (e>c OR eb-2 AND a(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + abs(a), + d-e, + b, + e + FROM t1 + WHERE (e>c OR eb-2 AND ad + OR d>e +---- +38 values hashing to 38f3dc6640f3c6f990539ded2f42dd40 + +query II rowsort x869 +SELECT (SELECT count(*) FROM t1 AS x WHERE x.bd + OR d>e + ORDER BY 2,1 +---- +38 values hashing to 38f3dc6640f3c6f990539ded2f42dd40 + +query II rowsort x869 +SELECT (SELECT count(*) FROM t1 AS x WHERE x.be + OR c>d +---- +38 values hashing to 38f3dc6640f3c6f990539ded2f42dd40 + +query II rowsort x869 +SELECT (SELECT count(*) FROM t1 AS x WHERE x.be + OR c>d + ORDER BY 1,2 +---- +38 values hashing to 38f3dc6640f3c6f990539ded2f42dd40 + +query III rowsort x870 +SELECT b-c, + abs(b-c), + a+b*2 + FROM t1 +---- +90 values hashing to daca262d1b7c5c84e7776454aeae28b6 + +query III rowsort x870 +SELECT b-c, + abs(b-c), + a+b*2 + FROM t1 + ORDER BY 3,1 +---- +90 values hashing to daca262d1b7c5c84e7776454aeae28b6 + +query II rowsort x871 +SELECT (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.da AND et1.c AND x.da AND et1.c AND x.da AND et1.c AND x.da AND et1.c AND x.de + OR EXISTS(SELECT 1 FROM t1 AS x WHERE x.bt1.c AND x.de + OR EXISTS(SELECT 1 FROM t1 AS x WHERE x.bt1.c AND x.de +---- +78 values hashing to f5793db3d840c263516ce377d0018549 + +query III rowsort x872 +SELECT (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.de + ORDER BY 2,1 +---- +78 values hashing to f5793db3d840c263516ce377d0018549 + +query I rowsort x873 +SELECT CASE WHEN aa AND ed +---- +14 values hashing to f97f357089334d125cef4f36f7735b7d + +query I rowsort x873 +SELECT CASE WHEN aa AND ed + ORDER BY 1 +---- +14 values hashing to f97f357089334d125cef4f36f7735b7d + +query I rowsort x873 +SELECT CASE WHEN ad + OR (e>a AND ed + OR (e>a AND e(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + d, + abs(b-c), + c-d, + a+b*2 + FROM t1 + WHERE (e>c OR e(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + d, + abs(b-c), + c-d, + a+b*2 + FROM t1 + WHERE (e>c OR e=d+2) + AND c>d + AND (e>a AND e=d+2) + AND c>d + AND (e>a AND ed + AND (e>a AND e=d+2) +---- +14 values hashing to 8b5e382e90ee04d96e67c5207bff60a3 + +query IIIIIII rowsort x875 +SELECT (a+b+c+d+e)/5, + c-d, + a+b*2, + d, + CASE WHEN ad + AND (e>a AND e=d+2) + ORDER BY 5,2 +---- +14 values hashing to 8b5e382e90ee04d96e67c5207bff60a3 + +query IIIIIII rowsort x875 +SELECT (a+b+c+d+e)/5, + c-d, + a+b*2, + d, + CASE WHEN a=d+2) + AND (e>a AND ed +---- +14 values hashing to 8b5e382e90ee04d96e67c5207bff60a3 + +query IIIIIII rowsort x875 +SELECT (a+b+c+d+e)/5, + c-d, + a+b*2, + d, + CASE WHEN a=d+2) + AND (e>a AND ed + ORDER BY 4,5,1 +---- +14 values hashing to 8b5e382e90ee04d96e67c5207bff60a3 + +query IIIIIII rowsort x876 +SELECT CASE WHEN at1.c AND x.d(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END + FROM t1 +---- +210 values hashing to 50639da083e0dfcdd5c8e83a956b4426 + +query IIIIIII rowsort x876 +SELECT CASE WHEN at1.c AND x.d(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END + FROM t1 + ORDER BY 4,5 +---- +210 values hashing to 50639da083e0dfcdd5c8e83a956b4426 + +query IIIII rowsort x877 +SELECT a+b*2+c*3+d*4, + CASE WHEN a(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + (SELECT count(*) FROM t1 AS x WHERE x.be +---- +35 values hashing to f68c064171813788a6cf94f0b90aff35 + +query IIIII rowsort x877 +SELECT a+b*2+c*3+d*4, + CASE WHEN a(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + (SELECT count(*) FROM t1 AS x WHERE x.be + ORDER BY 4,5,3,2 +---- +35 values hashing to f68c064171813788a6cf94f0b90aff35 + +query IIIII rowsort x877 +SELECT a+b*2+c*3+d*4, + CASE WHEN a(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + (SELECT count(*) FROM t1 AS x WHERE x.be + AND d NOT BETWEEN 110 AND 150 +---- +35 values hashing to f68c064171813788a6cf94f0b90aff35 + +query IIIII rowsort x877 +SELECT a+b*2+c*3+d*4, + CASE WHEN a(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + (SELECT count(*) FROM t1 AS x WHERE x.be + AND d NOT BETWEEN 110 AND 150 + ORDER BY 5,2,4,1 +---- +35 values hashing to f68c064171813788a6cf94f0b90aff35 + +query II rowsort x878 +SELECT (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.dt1.c AND x.da AND ea AND ea AND ea AND e(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END + FROM t1 +---- +30 values hashing to efdbaa4d180e7867bec1c4d897bd25b9 + +query I rowsort x882 +SELECT CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END + FROM t1 + ORDER BY 1 +---- +30 values hashing to efdbaa4d180e7867bec1c4d897bd25b9 + +query IIIIII rowsort x883 +SELECT a+b*2+c*3+d*4, + a+b*2, + (SELECT count(*) FROM t1 AS x WHERE x.b(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + a+b*2+c*3+d*4+e*5 + FROM t1 +---- +180 values hashing to 42336e6173780b5bf485e01d7ad7e2d6 + +query IIIIII rowsort x883 +SELECT a+b*2+c*3+d*4, + a+b*2, + (SELECT count(*) FROM t1 AS x WHERE x.b(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + a+b*2+c*3+d*4+e*5 + FROM t1 + ORDER BY 2,1,4 +---- +180 values hashing to 42336e6173780b5bf485e01d7ad7e2d6 + +query I rowsort x884 +SELECT e + FROM t1 + WHERE EXISTS(SELECT 1 FROM t1 AS x WHERE x.ba AND eb-2 AND aa AND eb-2 AND ab-2 AND aa AND eb-2 AND aa AND eb-2 AND aa AND eb-2 AND aa AND ea AND eb-2 AND aa AND eb-2 AND ab-2 AND ac OR ed +---- +81 values hashing to c79f665e7971df459923fc66824c7e23 + +query III rowsort x887 +SELECT (SELECT count(*) FROM t1 AS x WHERE x.bb-2 AND ac OR ed + ORDER BY 1,2 +---- +81 values hashing to c79f665e7971df459923fc66824c7e23 + +query III rowsort x887 +SELECT (SELECT count(*) FROM t1 AS x WHERE x.bb-2 AND ad + OR (e>c OR eb-2 AND ad + OR (e>c OR ed + OR (e>c OR eb-2 AND ad + OR (e>c OR eb-2 AND ac OR ed + OR (a>b-2 AND ac OR ed + OR (a>b-2 AND ae +---- +33 values hashing to 842ca7ca664eef175a333bdc30730d09 + +query III rowsort x888 +SELECT CASE WHEN ae + ORDER BY 2,1 +---- +33 values hashing to 842ca7ca664eef175a333bdc30730d09 + +query IIIII rowsort x889 +SELECT a, + abs(b-c), + c, + CASE a+1 WHEN b THEN 111 WHEN c THEN 222 + WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, + a+b*2+c*3+d*4+e*5 + FROM t1 + WHERE (a>b-2 AND ac OR eb-2 AND ac OR ec OR eb-2 AND ac OR eb-2 AND ac +---- +26 values hashing to 7fd49e95ee3c9c5ebd63030470d8b287 + +query II rowsort x891 +SELECT (a+b+c+d+e)/5, + (SELECT count(*) FROM t1 AS x WHERE x.bc + ORDER BY 1,2 +---- +26 values hashing to 7fd49e95ee3c9c5ebd63030470d8b287 + +query IIIII rowsort x892 +SELECT a-b, + b-c, + d, + abs(b-c), + e + FROM t1 + WHERE (e>a AND ea AND ee +---- +77 values hashing to 43cba760bf35fce24ea8939d5b17b80e + +query IIIIIII rowsort x895 +SELECT b-c, + c-d, + CASE WHEN ae + ORDER BY 2,7,4,3,6 +---- +77 values hashing to 43cba760bf35fce24ea8939d5b17b80e + +query I rowsort x896 +SELECT CASE WHEN a=d+2) + AND EXISTS(SELECT 1 FROM t1 AS x WHERE x.bd +---- +222 +222 +333 +333 + +query I rowsort x896 +SELECT CASE WHEN a=d+2) + AND EXISTS(SELECT 1 FROM t1 AS x WHERE x.bd + ORDER BY 1 +---- +222 +222 +333 +333 + +query I rowsort x896 +SELECT CASE WHEN a=d+2) + AND c>d +---- +222 +222 +333 +333 + +query I rowsort x896 +SELECT CASE WHEN a=d+2) + AND c>d + ORDER BY 1 +---- +222 +222 +333 +333 + +query I rowsort x896 +SELECT CASE WHEN a=d+2) + AND c>d + AND EXISTS(SELECT 1 FROM t1 AS x WHERE x.b=d+2) + AND c>d + AND EXISTS(SELECT 1 FROM t1 AS x WHERE x.bd + AND EXISTS(SELECT 1 FROM t1 AS x WHERE x.b=d+2) +---- +222 +222 +333 +333 + +query I rowsort x896 +SELECT CASE WHEN ad + AND EXISTS(SELECT 1 FROM t1 AS x WHERE x.b=d+2) + ORDER BY 1 +---- +222 +222 +333 +333 + +query IIII rowsort x897 +SELECT abs(b-c), + c, + e, + c-d + FROM t1 + WHERE (c<=d-2 OR c>=d+2) + AND (a>b-2 AND a=d+2) + AND (a>b-2 AND ac + AND c BETWEEN b-2 AND d+2 + AND (a>b-2 AND ac + AND c BETWEEN b-2 AND d+2 + AND (a>b-2 AND ab-2 AND ac +---- +2 +111 +827 +-1 +2 +111 +851 +-1 + +query IIII rowsort x899 +SELECT abs(b-c), + CASE a+1 WHEN b THEN 111 WHEN c THEN 222 + WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, + a+b*2+c*3, + a-b + FROM t1 + WHERE (a>b-2 AND ac + ORDER BY 1,3 +---- +2 +111 +827 +-1 +2 +111 +851 +-1 + +query IIII rowsort x899 +SELECT abs(b-c), + CASE a+1 WHEN b THEN 111 WHEN c THEN 222 + WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, + a+b*2+c*3, + a-b + FROM t1 + WHERE c BETWEEN b-2 AND d+2 + AND (a>b-2 AND ac +---- +2 +111 +827 +-1 +2 +111 +851 +-1 + +query IIII rowsort x899 +SELECT abs(b-c), + CASE a+1 WHEN b THEN 111 WHEN c THEN 222 + WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, + a+b*2+c*3, + a-b + FROM t1 + WHERE c BETWEEN b-2 AND d+2 + AND (a>b-2 AND ac + ORDER BY 2,4,1,3 +---- +2 +111 +827 +-1 +2 +111 +851 +-1 + +query IIIII rowsort x900 +SELECT a+b*2+c*3+d*4+e*5, + d-e, + (SELECT count(*) FROM t1 AS x WHERE x.ba AND ea AND ea AND ea AND et1.c AND x.dc OR ea AND et1.c AND x.dc OR ea AND et1.c AND x.dd + OR d NOT BETWEEN 110 AND 150 + OR a>b +---- +140 values hashing to 4e028439887eb00b53e88ff660e4f6df + +query IIIII rowsort x907 +SELECT CASE a+1 WHEN b THEN 111 WHEN c THEN 222 + WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, + d, + d-e, + a+b*2+c*3, + (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.dd + OR d NOT BETWEEN 110 AND 150 + OR a>b + ORDER BY 3,5,2 +---- +140 values hashing to 4e028439887eb00b53e88ff660e4f6df + +query IIIII rowsort x907 +SELECT CASE a+1 WHEN b THEN 111 WHEN c THEN 222 + WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, + d, + d-e, + a+b*2+c*3, + (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.db + OR d NOT BETWEEN 110 AND 150 + OR c>d +---- +140 values hashing to 4e028439887eb00b53e88ff660e4f6df + +query IIIII rowsort x907 +SELECT CASE a+1 WHEN b THEN 111 WHEN c THEN 222 + WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, + d, + d-e, + a+b*2+c*3, + (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.db + OR d NOT BETWEEN 110 AND 150 + OR c>d + ORDER BY 4,3,2,5,1 +---- +140 values hashing to 4e028439887eb00b53e88ff660e4f6df + +query IIIII rowsort x907 +SELECT CASE a+1 WHEN b THEN 111 WHEN c THEN 222 + WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, + d, + d-e, + a+b*2+c*3, + (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.db + OR c>d + OR d NOT BETWEEN 110 AND 150 +---- +140 values hashing to 4e028439887eb00b53e88ff660e4f6df + +query IIIII rowsort x907 +SELECT CASE a+1 WHEN b THEN 111 WHEN c THEN 222 + WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, + d, + d-e, + a+b*2+c*3, + (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.db + OR c>d + OR d NOT BETWEEN 110 AND 150 + ORDER BY 5,1 +---- +140 values hashing to 4e028439887eb00b53e88ff660e4f6df + +query IIIII rowsort x907 +SELECT CASE a+1 WHEN b THEN 111 WHEN c THEN 222 + WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, + d, + d-e, + a+b*2+c*3, + (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.dd + OR a>b + OR d NOT BETWEEN 110 AND 150 +---- +140 values hashing to 4e028439887eb00b53e88ff660e4f6df + +query IIIII rowsort x907 +SELECT CASE a+1 WHEN b THEN 111 WHEN c THEN 222 + WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, + d, + d-e, + a+b*2+c*3, + (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.dd + OR a>b + OR d NOT BETWEEN 110 AND 150 + ORDER BY 3,1,2,5 +---- +140 values hashing to 4e028439887eb00b53e88ff660e4f6df + +query IIIIIII rowsort x908 +SELECT b, + b-c, + a-b, + e, + c-d, + a+b*2, + abs(b-c) + FROM t1 + WHERE c>d +---- +91 values hashing to 61af2b3e6246e6c0b52d25fa685fba31 + +query IIIIIII rowsort x908 +SELECT b, + b-c, + a-b, + e, + c-d, + a+b*2, + abs(b-c) + FROM t1 + WHERE c>d + ORDER BY 3,1,2,7,5,6 +---- +91 values hashing to 61af2b3e6246e6c0b52d25fa685fba31 + +query III rowsort x909 +SELECT b-c, + b, + CASE a+1 WHEN b THEN 111 WHEN c THEN 222 + WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END + FROM t1 + WHERE a>b + AND d NOT BETWEEN 110 AND 150 + AND (e>a AND eb + AND d NOT BETWEEN 110 AND 150 + AND (e>a AND ea AND eb + AND d NOT BETWEEN 110 AND 150 +---- + +query III rowsort x909 +SELECT b-c, + b, + CASE a+1 WHEN b THEN 111 WHEN c THEN 222 + WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END + FROM t1 + WHERE (e>a AND eb + AND d NOT BETWEEN 110 AND 150 + ORDER BY 3,1 +---- + +query III rowsort x909 +SELECT b-c, + b, + CASE a+1 WHEN b THEN 111 WHEN c THEN 222 + WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END + FROM t1 + WHERE d NOT BETWEEN 110 AND 150 + AND (e>a AND eb +---- + +query III rowsort x909 +SELECT b-c, + b, + CASE a+1 WHEN b THEN 111 WHEN c THEN 222 + WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END + FROM t1 + WHERE d NOT BETWEEN 110 AND 150 + AND (e>a AND eb + ORDER BY 1,3,2 +---- + +query III rowsort x909 +SELECT b-c, + b, + CASE a+1 WHEN b THEN 111 WHEN c THEN 222 + WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END + FROM t1 + WHERE d NOT BETWEEN 110 AND 150 + AND a>b + AND (e>a AND eb + AND (e>a AND ec OR ec OR e=d+2) + AND (e>a AND ed +---- +579 +1 +666 +1 + +query II rowsort x912 +SELECT a+b*2, + abs(b-c) + FROM t1 + WHERE (c<=d-2 OR c>=d+2) + AND (e>a AND ed + ORDER BY 2,1 +---- +579 +1 +666 +1 + +query II rowsort x912 +SELECT a+b*2, + abs(b-c) + FROM t1 + WHERE c>d + AND (e>a AND e=d+2) +---- +579 +1 +666 +1 + +query II rowsort x912 +SELECT a+b*2, + abs(b-c) + FROM t1 + WHERE c>d + AND (e>a AND e=d+2) + ORDER BY 2,1 +---- +579 +1 +666 +1 + +query II rowsort x912 +SELECT a+b*2, + abs(b-c) + FROM t1 + WHERE c>d + AND (c<=d-2 OR c>=d+2) + AND (e>a AND ed + AND (c<=d-2 OR c>=d+2) + AND (e>a AND et1.c AND x.d=d+2) + AND c BETWEEN b-2 AND d+2 +---- +42 values hashing to 9fc3445db9f74014fa1b0ad2c6bef7a0 + +query IIIIIII rowsort x914 +SELECT a+b*2+c*3+d*4, + a-b, + a, + (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.d=d+2) + AND c BETWEEN b-2 AND d+2 + ORDER BY 6,7,1,3 +---- +42 values hashing to 9fc3445db9f74014fa1b0ad2c6bef7a0 + +query I rowsort x915 +SELECT a+b*2+c*3 + FROM t1 +---- +30 values hashing to 445b0172de37f3ca0ed777000309cef8 + +query I rowsort x915 +SELECT a+b*2+c*3 + FROM t1 + ORDER BY 1 +---- +30 values hashing to 445b0172de37f3ca0ed777000309cef8 + +query II rowsort x916 +SELECT a+b*2, + CASE a+1 WHEN b THEN 111 WHEN c THEN 222 + WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END + FROM t1 + WHERE e+d BETWEEN a+b-10 AND c+130 + OR c>d + OR d>e +---- +40 values hashing to a4eb0104d41af22e42996fc476790ecb + +query II rowsort x916 +SELECT a+b*2, + CASE a+1 WHEN b THEN 111 WHEN c THEN 222 + WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END + FROM t1 + WHERE e+d BETWEEN a+b-10 AND c+130 + OR c>d + OR d>e + ORDER BY 1,2 +---- +40 values hashing to a4eb0104d41af22e42996fc476790ecb + +query II rowsort x916 +SELECT a+b*2, + CASE a+1 WHEN b THEN 111 WHEN c THEN 222 + WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END + FROM t1 + WHERE d>e + OR e+d BETWEEN a+b-10 AND c+130 + OR c>d +---- +40 values hashing to a4eb0104d41af22e42996fc476790ecb + +query II rowsort x916 +SELECT a+b*2, + CASE a+1 WHEN b THEN 111 WHEN c THEN 222 + WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END + FROM t1 + WHERE d>e + OR e+d BETWEEN a+b-10 AND c+130 + OR c>d + ORDER BY 2,1 +---- +40 values hashing to a4eb0104d41af22e42996fc476790ecb + +query II rowsort x916 +SELECT a+b*2, + CASE a+1 WHEN b THEN 111 WHEN c THEN 222 + WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END + FROM t1 + WHERE c>d + OR d>e + OR e+d BETWEEN a+b-10 AND c+130 +---- +40 values hashing to a4eb0104d41af22e42996fc476790ecb + +query II rowsort x916 +SELECT a+b*2, + CASE a+1 WHEN b THEN 111 WHEN c THEN 222 + WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END + FROM t1 + WHERE c>d + OR d>e + OR e+d BETWEEN a+b-10 AND c+130 + ORDER BY 1,2 +---- +40 values hashing to a4eb0104d41af22e42996fc476790ecb + +query IIII rowsort x917 +SELECT CASE WHEN ad + AND (a>b-2 AND ad + AND (a>b-2 AND ab-2 AND ad +---- +12 values hashing to 1035deb2c40a4b7e0f266141df5c98a3 + +query III rowsort x918 +SELECT a+b*2+c*3+d*4+e*5, + a+b*2+c*3, + c-d + FROM t1 + WHERE (a>b-2 AND ad + ORDER BY 3,1 +---- +12 values hashing to 1035deb2c40a4b7e0f266141df5c98a3 + +query IIII rowsort x919 +SELECT b, + a+b*2+c*3+d*4+e*5, + (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.d(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END + FROM t1 + WHERE a>b + AND c>d + AND (c<=d-2 OR c>=d+2) +---- +186 +2806 +0 +376 +211 +3175 +0 +426 + +query IIII rowsort x919 +SELECT b, + a+b*2+c*3+d*4+e*5, + (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.d(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END + FROM t1 + WHERE a>b + AND c>d + AND (c<=d-2 OR c>=d+2) + ORDER BY 3,4,2 +---- +186 +2806 +0 +376 +211 +3175 +0 +426 + +query IIII rowsort x919 +SELECT b, + a+b*2+c*3+d*4+e*5, + (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.d(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END + FROM t1 + WHERE a>b + AND (c<=d-2 OR c>=d+2) + AND c>d +---- +186 +2806 +0 +376 +211 +3175 +0 +426 + +query IIII rowsort x919 +SELECT b, + a+b*2+c*3+d*4+e*5, + (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.d(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END + FROM t1 + WHERE a>b + AND (c<=d-2 OR c>=d+2) + AND c>d + ORDER BY 2,4,3 +---- +186 +2806 +0 +376 +211 +3175 +0 +426 + +query IIII rowsort x919 +SELECT b, + a+b*2+c*3+d*4+e*5, + (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.d(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END + FROM t1 + WHERE (c<=d-2 OR c>=d+2) + AND a>b + AND c>d +---- +186 +2806 +0 +376 +211 +3175 +0 +426 + +query IIII rowsort x919 +SELECT b, + a+b*2+c*3+d*4+e*5, + (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.d(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END + FROM t1 + WHERE (c<=d-2 OR c>=d+2) + AND a>b + AND c>d + ORDER BY 4,2,1,3 +---- +186 +2806 +0 +376 +211 +3175 +0 +426 + +query IIII rowsort x919 +SELECT b, + a+b*2+c*3+d*4+e*5, + (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.d(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END + FROM t1 + WHERE c>d + AND a>b + AND (c<=d-2 OR c>=d+2) +---- +186 +2806 +0 +376 +211 +3175 +0 +426 + +query IIII rowsort x919 +SELECT b, + a+b*2+c*3+d*4+e*5, + (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.d(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END + FROM t1 + WHERE c>d + AND a>b + AND (c<=d-2 OR c>=d+2) + ORDER BY 1,4,3,2 +---- +186 +2806 +0 +376 +211 +3175 +0 +426 + +query III rowsort x920 +SELECT a-b, + c, + a+b*2 + FROM t1 + WHERE b>c + AND EXISTS(SELECT 1 FROM t1 AS x WHERE x.bc OR ec + AND EXISTS(SELECT 1 FROM t1 AS x WHERE x.bc OR ec OR ec +---- +27 values hashing to 70241e09ff2d5961d8dcfc8d2b3bfe57 + +query III rowsort x920 +SELECT a-b, + c, + a+b*2 + FROM t1 + WHERE (e>c OR ec + ORDER BY 3,2 +---- +27 values hashing to 70241e09ff2d5961d8dcfc8d2b3bfe57 + +query IIIIII rowsort x921 +SELECT CASE WHEN at1.c AND x.dt1.c AND x.d(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END + FROM t1 +---- +150 values hashing to ccd08e2cecb428df2a757b68bf4a0866 + +query IIIII rowsort x922 +SELECT a+b*2+c*3+d*4+e*5, + (a+b+c+d+e)/5, + abs(b-c), + abs(a), + CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END + FROM t1 + ORDER BY 2,5,1,3,4 +---- +150 values hashing to ccd08e2cecb428df2a757b68bf4a0866 + +query III rowsort x923 +SELECT (a+b+c+d+e)/5, + e, + c + FROM t1 +---- +90 values hashing to 9efd3afc3390d993ad116337cbd5ab05 + +query III rowsort x923 +SELECT (a+b+c+d+e)/5, + e, + c + FROM t1 + ORDER BY 2,3 +---- +90 values hashing to 9efd3afc3390d993ad116337cbd5ab05 + +query IIII rowsort x924 +SELECT d, + abs(b-c), + b, + b-c + FROM t1 + WHERE d NOT BETWEEN 110 AND 150 +---- +68 values hashing to 8050cded0b9f193897a5e53499364ff9 + +query IIII rowsort x924 +SELECT d, + abs(b-c), + b, + b-c + FROM t1 + WHERE d NOT BETWEEN 110 AND 150 + ORDER BY 2,4 +---- +68 values hashing to 8050cded0b9f193897a5e53499364ff9 + +query IIIIII rowsort x925 +SELECT b, + a+b*2, + a+b*2+c*3, + e, + a+b*2+c*3+d*4, + (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.de +---- +54 values hashing to 5708005ac18e323809f647804000a6c1 + +query IIIIII rowsort x925 +SELECT b, + a+b*2, + a+b*2+c*3, + e, + a+b*2+c*3+d*4, + (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.de + ORDER BY 5,6,3,1,2 +---- +54 values hashing to 5708005ac18e323809f647804000a6c1 + +query IIIIII rowsort x925 +SELECT b, + a+b*2, + a+b*2+c*3, + e, + a+b*2+c*3+d*4, + (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.de + AND c BETWEEN b-2 AND d+2 +---- +54 values hashing to 5708005ac18e323809f647804000a6c1 + +query IIIIII rowsort x925 +SELECT b, + a+b*2, + a+b*2+c*3, + e, + a+b*2+c*3+d*4, + (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.de + AND c BETWEEN b-2 AND d+2 + ORDER BY 3,6,1,2,4,5 +---- +54 values hashing to 5708005ac18e323809f647804000a6c1 + +query IIIIIII rowsort x926 +SELECT a+b*2+c*3+d*4, + CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + d-e, + d, + abs(b-c), + a+b*2+c*3, + a-b + FROM t1 + WHERE (a>b-2 AND a(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + d-e, + d, + abs(b-c), + a+b*2+c*3, + a-b + FROM t1 + WHERE (a>b-2 AND a(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + d-e, + d, + abs(b-c), + a+b*2+c*3, + a-b + FROM t1 + WHERE e+d BETWEEN a+b-10 AND c+130 + AND (a>b-2 AND a(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + d-e, + d, + abs(b-c), + a+b*2+c*3, + a-b + FROM t1 + WHERE e+d BETWEEN a+b-10 AND c+130 + AND (a>b-2 AND ab-2 AND ab +---- +18 values hashing to 60b7c84682b5d4d47d5bebed31838dbe + +query III rowsort x927 +SELECT abs(a), + a+b*2, + a-b + FROM t1 + WHERE EXISTS(SELECT 1 FROM t1 AS x WHERE x.bb-2 AND ab + ORDER BY 2,1 +---- +18 values hashing to 60b7c84682b5d4d47d5bebed31838dbe + +query III rowsort x927 +SELECT abs(a), + a+b*2, + a-b + FROM t1 + WHERE (a>b-2 AND ab +---- +18 values hashing to 60b7c84682b5d4d47d5bebed31838dbe + +query III rowsort x927 +SELECT abs(a), + a+b*2, + a-b + FROM t1 + WHERE (a>b-2 AND ab + ORDER BY 2,1 +---- +18 values hashing to 60b7c84682b5d4d47d5bebed31838dbe + +query III rowsort x927 +SELECT abs(a), + a+b*2, + a-b + FROM t1 + WHERE EXISTS(SELECT 1 FROM t1 AS x WHERE x.bb + AND (a>b-2 AND ab + AND (a>b-2 AND at1.c AND x.dd + OR c BETWEEN b-2 AND d+2 +---- +72 values hashing to 1d3de673e0723bd762f36310f29d99af + +query IIII rowsort x928 +SELECT d, + (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.dd + OR c BETWEEN b-2 AND d+2 + ORDER BY 4,1 +---- +72 values hashing to 1d3de673e0723bd762f36310f29d99af + +query IIII rowsort x928 +SELECT d, + (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.dd +---- +72 values hashing to 1d3de673e0723bd762f36310f29d99af + +query IIII rowsort x928 +SELECT d, + (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.dd + ORDER BY 4,2,3 +---- +72 values hashing to 1d3de673e0723bd762f36310f29d99af + +query IIIIII rowsort x929 +SELECT CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + (a+b+c+d+e)/5, + CASE a+1 WHEN b THEN 111 WHEN c THEN 222 + WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, + c, + a, + a+b*2+c*3+d*4 + FROM t1 + WHERE (e>a AND e(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + (a+b+c+d+e)/5, + CASE a+1 WHEN b THEN 111 WHEN c THEN 222 + WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, + c, + a, + a+b*2+c*3+d*4 + FROM t1 + WHERE (e>a AND e(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + (a+b+c+d+e)/5, + CASE a+1 WHEN b THEN 111 WHEN c THEN 222 + WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, + c, + a, + a+b*2+c*3+d*4 + FROM t1 + WHERE EXISTS(SELECT 1 FROM t1 AS x WHERE x.ba AND e(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + (a+b+c+d+e)/5, + CASE a+1 WHEN b THEN 111 WHEN c THEN 222 + WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, + c, + a, + a+b*2+c*3+d*4 + FROM t1 + WHERE EXISTS(SELECT 1 FROM t1 AS x WHERE x.ba AND ea AND ea AND ed + AND (e>c OR e=d+2) +---- +21 values hashing to a8129edd377d312f8163e2f45600237e + +query IIIIIII rowsort x932 +SELECT (a+b+c+d+e)/5, + e, + abs(a), + CASE a+1 WHEN b THEN 111 WHEN c THEN 222 + WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, + (SELECT count(*) FROM t1 AS x WHERE x.bd + AND (e>c OR e=d+2) + ORDER BY 6,1,2 +---- +21 values hashing to a8129edd377d312f8163e2f45600237e + +query IIIIIII rowsort x932 +SELECT (a+b+c+d+e)/5, + e, + abs(a), + CASE a+1 WHEN b THEN 111 WHEN c THEN 222 + WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, + (SELECT count(*) FROM t1 AS x WHERE x.b=d+2) + AND c>d + AND (e>c OR e=d+2) + AND c>d + AND (e>c OR e=d+2) + AND (e>c OR ed +---- +21 values hashing to a8129edd377d312f8163e2f45600237e + +query IIIIIII rowsort x932 +SELECT (a+b+c+d+e)/5, + e, + abs(a), + CASE a+1 WHEN b THEN 111 WHEN c THEN 222 + WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, + (SELECT count(*) FROM t1 AS x WHERE x.b=d+2) + AND (e>c OR ed + ORDER BY 4,5,3,1 +---- +21 values hashing to a8129edd377d312f8163e2f45600237e + +query IIIIII rowsort x933 +SELECT b-c, + d-e, + (a+b+c+d+e)/5, + CASE WHEN at1.c AND x.d=d+2) +---- +60 values hashing to 5ef0b993601e70b2f826cc8584a5d9fd + +query IIIIII rowsort x933 +SELECT b-c, + d-e, + (a+b+c+d+e)/5, + CASE WHEN at1.c AND x.d=d+2) + ORDER BY 3,5,6,4,2 +---- +60 values hashing to 5ef0b993601e70b2f826cc8584a5d9fd + +query II rowsort x934 +SELECT c, + a+b*2+c*3+d*4 + FROM t1 + WHERE c>d + AND a>b +---- +10 values hashing to 4696c13474a735611a80cd1ca030dd8c + +query II rowsort x934 +SELECT c, + a+b*2+c*3+d*4 + FROM t1 + WHERE c>d + AND a>b + ORDER BY 2,1 +---- +10 values hashing to 4696c13474a735611a80cd1ca030dd8c + +query II rowsort x934 +SELECT c, + a+b*2+c*3+d*4 + FROM t1 + WHERE a>b + AND c>d +---- +10 values hashing to 4696c13474a735611a80cd1ca030dd8c + +query II rowsort x934 +SELECT c, + a+b*2+c*3+d*4 + FROM t1 + WHERE a>b + AND c>d + ORDER BY 1,2 +---- +10 values hashing to 4696c13474a735611a80cd1ca030dd8c + +query IIII rowsort x935 +SELECT a+b*2+c*3+d*4+e*5, + c, + (a+b+c+d+e)/5, + (SELECT count(*) FROM t1 AS x WHERE x.bc + AND c BETWEEN b-2 AND d+2 +---- +20 values hashing to c5d849859f6eca128c22635ba6c3cb04 + +query IIII rowsort x935 +SELECT a+b*2+c*3+d*4+e*5, + c, + (a+b+c+d+e)/5, + (SELECT count(*) FROM t1 AS x WHERE x.bc + AND c BETWEEN b-2 AND d+2 + ORDER BY 4,2,1 +---- +20 values hashing to c5d849859f6eca128c22635ba6c3cb04 + +query IIII rowsort x935 +SELECT a+b*2+c*3+d*4+e*5, + c, + (a+b+c+d+e)/5, + (SELECT count(*) FROM t1 AS x WHERE x.bc +---- +20 values hashing to c5d849859f6eca128c22635ba6c3cb04 + +query IIII rowsort x935 +SELECT a+b*2+c*3+d*4+e*5, + c, + (a+b+c+d+e)/5, + (SELECT count(*) FROM t1 AS x WHERE x.bc + ORDER BY 4,3,1,2 +---- +20 values hashing to c5d849859f6eca128c22635ba6c3cb04 + +query I rowsort x936 +SELECT b-c + FROM t1 + WHERE a>b +---- +17 values hashing to acc51927d4c550f3c05c306b7914158e + +query I rowsort x936 +SELECT b-c + FROM t1 + WHERE a>b + ORDER BY 1 +---- +17 values hashing to acc51927d4c550f3c05c306b7914158e + +query IIIIIII rowsort x937 +SELECT abs(a), + b, + c, + CASE a+1 WHEN b THEN 111 WHEN c THEN 222 + WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, + a-b, + CASE WHEN ae + AND d NOT BETWEEN 110 AND 150 +---- +49 values hashing to 77efab7a5ab568021241d73b49ff1a6b + +query IIIIIII rowsort x937 +SELECT abs(a), + b, + c, + CASE a+1 WHEN b THEN 111 WHEN c THEN 222 + WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, + a-b, + CASE WHEN ae + AND d NOT BETWEEN 110 AND 150 + ORDER BY 3,6,4,5,2,7 +---- +49 values hashing to 77efab7a5ab568021241d73b49ff1a6b + +query IIIII rowsort x938 +SELECT (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.dd + AND b>c +---- +20 values hashing to 1939e130cceab074419ddaf68a054d49 + +query IIIII rowsort x938 +SELECT (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.dd + AND b>c + ORDER BY 1,4,5,3 +---- +20 values hashing to 1939e130cceab074419ddaf68a054d49 + +query IIIII rowsort x938 +SELECT (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.dc + AND c>d +---- +20 values hashing to 1939e130cceab074419ddaf68a054d49 + +query IIIII rowsort x938 +SELECT (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.dc + AND c>d + ORDER BY 1,2 +---- +20 values hashing to 1939e130cceab074419ddaf68a054d49 + +query I rowsort x939 +SELECT a + FROM t1 + WHERE c BETWEEN b-2 AND d+2 + AND e+d BETWEEN a+b-10 AND c+130 + AND c>d +---- + +query I rowsort x939 +SELECT a + FROM t1 + WHERE c BETWEEN b-2 AND d+2 + AND e+d BETWEEN a+b-10 AND c+130 + AND c>d + ORDER BY 1 +---- + +query I rowsort x939 +SELECT a + FROM t1 + WHERE c BETWEEN b-2 AND d+2 + AND c>d + AND e+d BETWEEN a+b-10 AND c+130 +---- + +query I rowsort x939 +SELECT a + FROM t1 + WHERE c BETWEEN b-2 AND d+2 + AND c>d + AND e+d BETWEEN a+b-10 AND c+130 + ORDER BY 1 +---- + +query I rowsort x939 +SELECT a + FROM t1 + WHERE e+d BETWEEN a+b-10 AND c+130 + AND c BETWEEN b-2 AND d+2 + AND c>d +---- + +query I rowsort x939 +SELECT a + FROM t1 + WHERE e+d BETWEEN a+b-10 AND c+130 + AND c BETWEEN b-2 AND d+2 + AND c>d + ORDER BY 1 +---- + +query II rowsort x940 +SELECT a+b*2+c*3+d*4, + a + FROM t1 +---- +60 values hashing to 1eff7d96438eb491cb4de14a09c1cccf + +query II rowsort x940 +SELECT a+b*2+c*3+d*4, + a + FROM t1 + ORDER BY 1,2 +---- +60 values hashing to 1eff7d96438eb491cb4de14a09c1cccf + +query IIII rowsort x941 +SELECT (SELECT count(*) FROM t1 AS x WHERE x.bt1.c AND x.dc + AND (e>c OR e=d+2) +---- +12 values hashing to 454c51d20bd07dcb7b5c6f56fb27e95e + +query IIII rowsort x941 +SELECT (SELECT count(*) FROM t1 AS x WHERE x.bt1.c AND x.dc + AND (e>c OR e=d+2) + ORDER BY 1,2 +---- +12 values hashing to 454c51d20bd07dcb7b5c6f56fb27e95e + +query IIII rowsort x941 +SELECT (SELECT count(*) FROM t1 AS x WHERE x.bt1.c AND x.d=d+2) + AND b>c + AND (e>c OR et1.c AND x.d=d+2) + AND b>c + AND (e>c OR et1.c AND x.dc + AND (c<=d-2 OR c>=d+2) + AND (e>c OR et1.c AND x.dc + AND (c<=d-2 OR c>=d+2) + AND (e>c OR et1.c AND x.dc OR e=d+2) + AND b>c +---- +12 values hashing to 454c51d20bd07dcb7b5c6f56fb27e95e + +query IIII rowsort x941 +SELECT (SELECT count(*) FROM t1 AS x WHERE x.bt1.c AND x.dc OR e=d+2) + AND b>c + ORDER BY 4,3,1 +---- +12 values hashing to 454c51d20bd07dcb7b5c6f56fb27e95e + +query IIIII rowsort x942 +SELECT CASE a+1 WHEN b THEN 111 WHEN c THEN 222 + WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, + d, + (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.dc +---- +65 values hashing to d9a717bcbc137be38ba100402163ea40 + +query IIIII rowsort x942 +SELECT CASE a+1 WHEN b THEN 111 WHEN c THEN 222 + WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, + d, + (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.dc + ORDER BY 3,2,4,5,1 +---- +65 values hashing to d9a717bcbc137be38ba100402163ea40 + +query IIIIIII rowsort x943 +SELECT abs(a), + a+b*2, + b, + d, + a-b, + (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.db-2 AND ab +---- +133 values hashing to d3c64f57fd93d0c41302271d82a32244 + +query IIIIIII rowsort x943 +SELECT abs(a), + a+b*2, + b, + d, + a-b, + (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.db-2 AND ab + ORDER BY 1,4,7 +---- +133 values hashing to d3c64f57fd93d0c41302271d82a32244 + +query IIIII rowsort x944 +SELECT a+b*2+c*3+d*4, + a-b, + e, + abs(a), + c + FROM t1 + WHERE a>b + AND c>d + AND d NOT BETWEEN 110 AND 150 +---- +20 values hashing to 52f547bc6b572a943b06156e2dc9c3a3 + +query IIIII rowsort x944 +SELECT a+b*2+c*3+d*4, + a-b, + e, + abs(a), + c + FROM t1 + WHERE a>b + AND c>d + AND d NOT BETWEEN 110 AND 150 + ORDER BY 2,3 +---- +20 values hashing to 52f547bc6b572a943b06156e2dc9c3a3 + +query IIIII rowsort x944 +SELECT a+b*2+c*3+d*4, + a-b, + e, + abs(a), + c + FROM t1 + WHERE a>b + AND d NOT BETWEEN 110 AND 150 + AND c>d +---- +20 values hashing to 52f547bc6b572a943b06156e2dc9c3a3 + +query IIIII rowsort x944 +SELECT a+b*2+c*3+d*4, + a-b, + e, + abs(a), + c + FROM t1 + WHERE a>b + AND d NOT BETWEEN 110 AND 150 + AND c>d + ORDER BY 2,4,3 +---- +20 values hashing to 52f547bc6b572a943b06156e2dc9c3a3 + +query IIIII rowsort x944 +SELECT a+b*2+c*3+d*4, + a-b, + e, + abs(a), + c + FROM t1 + WHERE c>d + AND d NOT BETWEEN 110 AND 150 + AND a>b +---- +20 values hashing to 52f547bc6b572a943b06156e2dc9c3a3 + +query IIIII rowsort x944 +SELECT a+b*2+c*3+d*4, + a-b, + e, + abs(a), + c + FROM t1 + WHERE c>d + AND d NOT BETWEEN 110 AND 150 + AND a>b + ORDER BY 4,3 +---- +20 values hashing to 52f547bc6b572a943b06156e2dc9c3a3 + +query IIIII rowsort x945 +SELECT d, + (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.d(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + b-c, + CASE a+1 WHEN b THEN 111 WHEN c THEN 222 + WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END + FROM t1 + WHERE e+d BETWEEN a+b-10 AND c+130 +---- +10 values hashing to f38e7043ef57f1185447d10b1686710d + +query IIIII rowsort x945 +SELECT d, + (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.d(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + b-c, + CASE a+1 WHEN b THEN 111 WHEN c THEN 222 + WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END + FROM t1 + WHERE e+d BETWEEN a+b-10 AND c+130 + ORDER BY 1,4 +---- +10 values hashing to f38e7043ef57f1185447d10b1686710d + +query IIII rowsort x946 +SELECT d, + CASE WHEN ac + OR a>b +---- +96 values hashing to 7ac23eaaab8b15588342ee58c7bd324d + +query IIII rowsort x946 +SELECT d, + CASE WHEN ac + OR a>b + ORDER BY 1,3,2 +---- +96 values hashing to 7ac23eaaab8b15588342ee58c7bd324d + +query IIIIII rowsort x947 +SELECT CASE WHEN a(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + a, + a-b + FROM t1 +---- +180 values hashing to cf199af6d194ce491525b6982e5b855b + +query IIIIII rowsort x947 +SELECT CASE WHEN a(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + a, + a-b + FROM t1 + ORDER BY 4,1,2,5,6 +---- +180 values hashing to cf199af6d194ce491525b6982e5b855b + +query II rowsort x948 +SELECT a, + d + FROM t1 + WHERE d>e + OR b>c +---- +40 values hashing to 225faa916990f35159a64c72d7e3d503 + +query II rowsort x948 +SELECT a, + d + FROM t1 + WHERE d>e + OR b>c + ORDER BY 2,1 +---- +40 values hashing to 225faa916990f35159a64c72d7e3d503 + +query II rowsort x948 +SELECT a, + d + FROM t1 + WHERE b>c + OR d>e +---- +40 values hashing to 225faa916990f35159a64c72d7e3d503 + +query II rowsort x948 +SELECT a, + d + FROM t1 + WHERE b>c + OR d>e + ORDER BY 2,1 +---- +40 values hashing to 225faa916990f35159a64c72d7e3d503 + +query I rowsort x949 +SELECT CASE WHEN ad +---- +13 values hashing to 29a95fdf6a51f4043cf4a3d5d20f5b95 + +query I rowsort x949 +SELECT CASE WHEN ad + ORDER BY 1 +---- +13 values hashing to 29a95fdf6a51f4043cf4a3d5d20f5b95 + +query III rowsort x950 +SELECT b, + a+b*2, + a+b*2+c*3+d*4 + FROM t1 + WHERE b>c + AND c BETWEEN b-2 AND d+2 + AND c>d +---- +9 values hashing to bb157abd6674aba4aa42b6355a973ede + +query III rowsort x950 +SELECT b, + a+b*2, + a+b*2+c*3+d*4 + FROM t1 + WHERE b>c + AND c BETWEEN b-2 AND d+2 + AND c>d + ORDER BY 3,1 +---- +9 values hashing to bb157abd6674aba4aa42b6355a973ede + +query III rowsort x950 +SELECT b, + a+b*2, + a+b*2+c*3+d*4 + FROM t1 + WHERE c>d + AND b>c + AND c BETWEEN b-2 AND d+2 +---- +9 values hashing to bb157abd6674aba4aa42b6355a973ede + +query III rowsort x950 +SELECT b, + a+b*2, + a+b*2+c*3+d*4 + FROM t1 + WHERE c>d + AND b>c + AND c BETWEEN b-2 AND d+2 + ORDER BY 1,3 +---- +9 values hashing to bb157abd6674aba4aa42b6355a973ede + +query IIIII rowsort x951 +SELECT a-b, + a, + b-c, + b, + e + FROM t1 + WHERE d NOT BETWEEN 110 AND 150 + OR c>d +---- +110 values hashing to 2f823f29deac7f8f8152cc3004e55137 + +query IIIII rowsort x951 +SELECT a-b, + a, + b-c, + b, + e + FROM t1 + WHERE d NOT BETWEEN 110 AND 150 + OR c>d + ORDER BY 2,1,5,4 +---- +110 values hashing to 2f823f29deac7f8f8152cc3004e55137 + +query IIIII rowsort x951 +SELECT a-b, + a, + b-c, + b, + e + FROM t1 + WHERE c>d + OR d NOT BETWEEN 110 AND 150 +---- +110 values hashing to 2f823f29deac7f8f8152cc3004e55137 + +query IIIII rowsort x951 +SELECT a-b, + a, + b-c, + b, + e + FROM t1 + WHERE c>d + OR d NOT BETWEEN 110 AND 150 + ORDER BY 1,2 +---- +110 values hashing to 2f823f29deac7f8f8152cc3004e55137 + +query I rowsort x952 +SELECT (SELECT count(*) FROM t1 AS x WHERE x.bc OR ec OR ec OR ec OR et1.c AND x.d=d+2) + OR e+d BETWEEN a+b-10 AND c+130 + OR (e>a AND et1.c AND x.d=d+2) + OR e+d BETWEEN a+b-10 AND c+130 + OR (e>a AND et1.c AND x.da AND e=d+2) + OR e+d BETWEEN a+b-10 AND c+130 +---- +77 values hashing to aade56ce4d6e49c7d138c7d6d23f39f4 + +query IIIIIII rowsort x953 +SELECT (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.da AND e=d+2) + OR e+d BETWEEN a+b-10 AND c+130 + ORDER BY 2,3,7,4,1,5 +---- +77 values hashing to aade56ce4d6e49c7d138c7d6d23f39f4 + +query IIIIIII rowsort x953 +SELECT (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.da AND e=d+2) +---- +77 values hashing to aade56ce4d6e49c7d138c7d6d23f39f4 + +query IIIIIII rowsort x953 +SELECT (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.da AND e=d+2) + ORDER BY 5,7,6 +---- +77 values hashing to aade56ce4d6e49c7d138c7d6d23f39f4 + +query IIIII rowsort x954 +SELECT (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.db-2 AND at1.c AND x.db-2 AND at1.c AND x.db-2 AND at1.c AND x.db-2 AND at1.c AND x.db-2 AND at1.c AND x.db-2 AND a(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + a+b*2+c*3+d*4, + a+b*2+c*3, + d-e, + CASE WHEN ab + AND (e>a AND eb-2 AND a(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + a+b*2+c*3+d*4, + a+b*2+c*3, + d-e, + CASE WHEN ab + AND (e>a AND eb-2 AND a(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + a+b*2+c*3+d*4, + a+b*2+c*3, + d-e, + CASE WHEN ab-2 AND ab + AND (e>a AND e(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + a+b*2+c*3+d*4, + a+b*2+c*3, + d-e, + CASE WHEN ab-2 AND ab + AND (e>a AND e(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + a+b*2+c*3+d*4, + a+b*2+c*3, + d-e, + CASE WHEN ab + AND (a>b-2 AND aa AND e(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + a+b*2+c*3+d*4, + a+b*2+c*3, + d-e, + CASE WHEN ab + AND (a>b-2 AND aa AND ea AND ed +---- +12 values hashing to 4cd2ddb5a674658bafabf7975e8d0c27 + +query IIIIII rowsort x956 +SELECT abs(a), + a-b, + d-e, + (a+b+c+d+e)/5, + (SELECT count(*) FROM t1 AS x WHERE x.ba AND ed + ORDER BY 4,1,5 +---- +12 values hashing to 4cd2ddb5a674658bafabf7975e8d0c27 + +query IIIIII rowsort x956 +SELECT abs(a), + a-b, + d-e, + (a+b+c+d+e)/5, + (SELECT count(*) FROM t1 AS x WHERE x.bd + AND (e>a AND ed + AND (e>a AND e(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + b, + (SELECT count(*) FROM t1 AS x WHERE x.bb-2 AND a=d+2) + AND d>e +---- + +query IIIIII rowsort x957 +SELECT CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + b, + (SELECT count(*) FROM t1 AS x WHERE x.bb-2 AND a=d+2) + AND d>e + ORDER BY 2,1,3,4,5 +---- + +query IIIIII rowsort x957 +SELECT CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + b, + (SELECT count(*) FROM t1 AS x WHERE x.b=d+2) + AND (a>b-2 AND ae +---- + +query IIIIII rowsort x957 +SELECT CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + b, + (SELECT count(*) FROM t1 AS x WHERE x.b=d+2) + AND (a>b-2 AND ae + ORDER BY 5,6 +---- + +query IIIIII rowsort x957 +SELECT CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + b, + (SELECT count(*) FROM t1 AS x WHERE x.be + AND (a>b-2 AND a=d+2) +---- + +query IIIIII rowsort x957 +SELECT CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + b, + (SELECT count(*) FROM t1 AS x WHERE x.be + AND (a>b-2 AND a=d+2) + ORDER BY 2,1,3,5 +---- + +query IIIIII rowsort x957 +SELECT CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + b, + (SELECT count(*) FROM t1 AS x WHERE x.be + AND (c<=d-2 OR c>=d+2) + AND (a>b-2 AND a(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + b, + (SELECT count(*) FROM t1 AS x WHERE x.be + AND (c<=d-2 OR c>=d+2) + AND (a>b-2 AND ab + AND c>d +---- + +query IIII rowsort x958 +SELECT (SELECT count(*) FROM t1 AS x WHERE x.bb + AND c>d + ORDER BY 2,1,4 +---- + +query IIII rowsort x958 +SELECT (SELECT count(*) FROM t1 AS x WHERE x.bb + AND e+d BETWEEN a+b-10 AND c+130 + AND c>d +---- + +query IIII rowsort x958 +SELECT (SELECT count(*) FROM t1 AS x WHERE x.bb + AND e+d BETWEEN a+b-10 AND c+130 + AND c>d + ORDER BY 1,4,3,2 +---- + +query IIIIIII rowsort x959 +SELECT (SELECT count(*) FROM t1 AS x WHERE x.bt1.c AND x.de +---- +55 values hashing to fb7114013bb5208c809ef98576781919 + +query IIIII rowsort x960 +SELECT a+b*2+c*3+d*4+e*5, + (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.de + ORDER BY 4,2,3 +---- +55 values hashing to fb7114013bb5208c809ef98576781919 + +query II rowsort x961 +SELECT b, + abs(b-c) + FROM t1 +---- +60 values hashing to 27981adf06e0e81d4fc66380389b2c0c + +query II rowsort x961 +SELECT b, + abs(b-c) + FROM t1 + ORDER BY 2,1 +---- +60 values hashing to 27981adf06e0e81d4fc66380389b2c0c + +query II rowsort x962 +SELECT e, + abs(a) + FROM t1 +---- +60 values hashing to 0577a532186fd58ab51cdab496db421e + +query II rowsort x962 +SELECT e, + abs(a) + FROM t1 + ORDER BY 2,1 +---- +60 values hashing to 0577a532186fd58ab51cdab496db421e + +query IIIIIII rowsort x963 +SELECT c-d, + e, + (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.d(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END + FROM t1 + WHERE b>c + OR (a>b-2 AND aa AND et1.c AND x.d(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END + FROM t1 + WHERE b>c + OR (a>b-2 AND aa AND et1.c AND x.d(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END + FROM t1 + WHERE b>c + OR (e>a AND eb-2 AND at1.c AND x.d(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END + FROM t1 + WHERE b>c + OR (e>a AND eb-2 AND at1.c AND x.d(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END + FROM t1 + WHERE (a>b-2 AND aa AND ec +---- +112 values hashing to 3d5e535875e48959c28273401c1e4098 + +query IIIIIII rowsort x963 +SELECT c-d, + e, + (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.d(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END + FROM t1 + WHERE (a>b-2 AND aa AND ec + ORDER BY 5,3,7,2,4 +---- +112 values hashing to 3d5e535875e48959c28273401c1e4098 + +query IIIIIII rowsort x964 +SELECT d, + c-d, + CASE WHEN a(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + b, + a, + c, + (SELECT count(*) FROM t1 AS x WHERE x.b(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + b, + a, + c, + (SELECT count(*) FROM t1 AS x WHERE x.b(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + b-c, + CASE a+1 WHEN b THEN 111 WHEN c THEN 222 + WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END + FROM t1 +---- +120 values hashing to 13a90992dc0556ac7ca52fed5f7ee3f1 + +query IIII rowsort x968 +SELECT a+b*2+c*3+d*4+e*5, + CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + b-c, + CASE a+1 WHEN b THEN 111 WHEN c THEN 222 + WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END + FROM t1 + ORDER BY 4,1 +---- +120 values hashing to 13a90992dc0556ac7ca52fed5f7ee3f1 + +query IIIII rowsort x969 +SELECT a+b*2+c*3, + CASE WHEN a=d+2) + OR c>d + OR c BETWEEN b-2 AND d+2 +---- +20 values hashing to 0b90f8526d043c66fd0f06b10364119a + +query I rowsort x970 +SELECT abs(b-c) + FROM t1 + WHERE (c<=d-2 OR c>=d+2) + OR c>d + OR c BETWEEN b-2 AND d+2 + ORDER BY 1 +---- +20 values hashing to 0b90f8526d043c66fd0f06b10364119a + +query I rowsort x970 +SELECT abs(b-c) + FROM t1 + WHERE c BETWEEN b-2 AND d+2 + OR (c<=d-2 OR c>=d+2) + OR c>d +---- +20 values hashing to 0b90f8526d043c66fd0f06b10364119a + +query I rowsort x970 +SELECT abs(b-c) + FROM t1 + WHERE c BETWEEN b-2 AND d+2 + OR (c<=d-2 OR c>=d+2) + OR c>d + ORDER BY 1 +---- +20 values hashing to 0b90f8526d043c66fd0f06b10364119a + +query I rowsort x970 +SELECT abs(b-c) + FROM t1 + WHERE (c<=d-2 OR c>=d+2) + OR c BETWEEN b-2 AND d+2 + OR c>d +---- +20 values hashing to 0b90f8526d043c66fd0f06b10364119a + +query I rowsort x970 +SELECT abs(b-c) + FROM t1 + WHERE (c<=d-2 OR c>=d+2) + OR c BETWEEN b-2 AND d+2 + OR c>d + ORDER BY 1 +---- +20 values hashing to 0b90f8526d043c66fd0f06b10364119a + +query I rowsort x970 +SELECT abs(b-c) + FROM t1 + WHERE c>d + OR (c<=d-2 OR c>=d+2) + OR c BETWEEN b-2 AND d+2 +---- +20 values hashing to 0b90f8526d043c66fd0f06b10364119a + +query I rowsort x970 +SELECT abs(b-c) + FROM t1 + WHERE c>d + OR (c<=d-2 OR c>=d+2) + OR c BETWEEN b-2 AND d+2 + ORDER BY 1 +---- +20 values hashing to 0b90f8526d043c66fd0f06b10364119a + +query IIIIII rowsort x971 +SELECT c-d, + d, + CASE WHEN ab +---- +102 values hashing to 462f4b654d6798393ae1a0895fa3fb2a + +query IIIIII rowsort x972 +SELECT a, + a+b*2+c*3+d*4+e*5, + c, + a+b*2+c*3+d*4, + c-d, + a-b + FROM t1 + WHERE a>b + ORDER BY 5,1,6,4,3 +---- +102 values hashing to 462f4b654d6798393ae1a0895fa3fb2a + +query IIII rowsort x973 +SELECT abs(a), + b-c, + a+b*2+c*3, + a+b*2 + FROM t1 + WHERE (e>a AND ea AND et1.c AND x.d(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + c, + a+b*2+c*3 + FROM t1 + WHERE c>d + OR d>e + OR (e>a AND et1.c AND x.d(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + c, + a+b*2+c*3 + FROM t1 + WHERE c>d + OR d>e + OR (e>a AND et1.c AND x.d(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + c, + a+b*2+c*3 + FROM t1 + WHERE (e>a AND ed + OR d>e +---- +95 values hashing to 1987d45b0b116ae6c825c03dd1326dc4 + +query IIIII rowsort x974 +SELECT (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.d(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + c, + a+b*2+c*3 + FROM t1 + WHERE (e>a AND ed + OR d>e + ORDER BY 1,5,3 +---- +95 values hashing to 1987d45b0b116ae6c825c03dd1326dc4 + +query II rowsort x975 +SELECT CASE a+1 WHEN b THEN 111 WHEN c THEN 222 + WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, + a + FROM t1 + WHERE (c<=d-2 OR c>=d+2) +---- +20 values hashing to f47b92b2f2855847b16fd69cccd8b5e9 + +query II rowsort x975 +SELECT CASE a+1 WHEN b THEN 111 WHEN c THEN 222 + WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, + a + FROM t1 + WHERE (c<=d-2 OR c>=d+2) + ORDER BY 1,2 +---- +20 values hashing to f47b92b2f2855847b16fd69cccd8b5e9 + +query IIIII rowsort x976 +SELECT abs(b-c), + CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + a-b, + (a+b+c+d+e)/5, + (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.d(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + a-b, + (a+b+c+d+e)/5, + (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.db-2 AND ab-2 AND a(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END + FROM t1 +---- +60 values hashing to 2a0252ba1bd9c0a82b344822dc3ec2da + +query II rowsort x978 +SELECT a-b, + CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END + FROM t1 + ORDER BY 1,2 +---- +60 values hashing to 2a0252ba1bd9c0a82b344822dc3ec2da + +query IIIIII rowsort x979 +SELECT abs(a), + a+b*2+c*3+d*4, + CASE a+1 WHEN b THEN 111 WHEN c THEN 222 + WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, + (SELECT count(*) FROM t1 AS x WHERE x.bc +---- +78 values hashing to 79d0c593dc32db6c341e6fdcf333042d + +query IIIIII rowsort x979 +SELECT abs(a), + a+b*2+c*3+d*4, + CASE a+1 WHEN b THEN 111 WHEN c THEN 222 + WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, + (SELECT count(*) FROM t1 AS x WHERE x.bc + ORDER BY 5,2,1,4,3 +---- +78 values hashing to 79d0c593dc32db6c341e6fdcf333042d + +query IIIIIII rowsort x980 +SELECT CASE a+1 WHEN b THEN 111 WHEN c THEN 222 + WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, + abs(b-c), + a+b*2+c*3+d*4, + d, + b-c, + a-b, + b + FROM t1 + WHERE b>c + OR c>d + OR (e>c OR ec + OR c>d + OR (e>c OR ed + OR b>c + OR (e>c OR ed + OR b>c + OR (e>c OR ea AND ea AND ea AND ea AND et1.c AND x.d=d+2) +---- +30 values hashing to 2c4df05a4ee2d9e4f97fb34b36dd6bea + +query III rowsort x983 +SELECT c-d, + c, + (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.d=d+2) + ORDER BY 2,1 +---- +30 values hashing to 2c4df05a4ee2d9e4f97fb34b36dd6bea + +query IIIII rowsort x984 +SELECT (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.dt1.c AND x.dt1.c AND x.dt1.c AND x.dt1.c AND x.dt1.c AND x.d(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + c + FROM t1 +---- +120 values hashing to 6f78ddc0a5b5ad8ef4b1d08972887887 + +query IIII rowsort x986 +SELECT b, + (a+b+c+d+e)/5, + CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + c + FROM t1 + ORDER BY 4,3,2,1 +---- +120 values hashing to 6f78ddc0a5b5ad8ef4b1d08972887887 + +query III rowsort x987 +SELECT c, + a+b*2, + b-c + FROM t1 +---- +90 values hashing to 02e18efb5e8ae490e7b5137b79765bb9 + +query III rowsort x987 +SELECT c, + a+b*2, + b-c + FROM t1 + ORDER BY 3,1 +---- +90 values hashing to 02e18efb5e8ae490e7b5137b79765bb9 + +query II rowsort x988 +SELECT a+b*2+c*3+d*4, + a + FROM t1 + WHERE c BETWEEN b-2 AND d+2 +---- +30 values hashing to a512bc577af89b7ed951794c489cba1a + +query II rowsort x988 +SELECT a+b*2+c*3+d*4, + a + FROM t1 + WHERE c BETWEEN b-2 AND d+2 + ORDER BY 2,1 +---- +30 values hashing to a512bc577af89b7ed951794c489cba1a + +query IIII rowsort x989 +SELECT c-d, + b-c, + a, + a+b*2+c*3 + FROM t1 + WHERE EXISTS(SELECT 1 FROM t1 AS x WHERE x.bd + AND e+d BETWEEN a+b-10 AND c+130 +---- + +query IIII rowsort x989 +SELECT c-d, + b-c, + a, + a+b*2+c*3 + FROM t1 + WHERE EXISTS(SELECT 1 FROM t1 AS x WHERE x.bd + AND e+d BETWEEN a+b-10 AND c+130 + ORDER BY 4,2 +---- + +query IIII rowsort x989 +SELECT c-d, + b-c, + a, + a+b*2+c*3 + FROM t1 + WHERE EXISTS(SELECT 1 FROM t1 AS x WHERE x.bd +---- + +query IIII rowsort x989 +SELECT c-d, + b-c, + a, + a+b*2+c*3 + FROM t1 + WHERE EXISTS(SELECT 1 FROM t1 AS x WHERE x.bd + ORDER BY 4,3,1,2 +---- + +query IIII rowsort x989 +SELECT c-d, + b-c, + a, + a+b*2+c*3 + FROM t1 + WHERE c>d + AND EXISTS(SELECT 1 FROM t1 AS x WHERE x.bd + AND EXISTS(SELECT 1 FROM t1 AS x WHERE x.b(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END + FROM t1 + WHERE c>d + OR (c<=d-2 OR c>=d+2) +---- +18 values hashing to 9db1749e744db8ddaa29f825f2bbae00 + +query I rowsort x990 +SELECT CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END + FROM t1 + WHERE c>d + OR (c<=d-2 OR c>=d+2) + ORDER BY 1 +---- +18 values hashing to 9db1749e744db8ddaa29f825f2bbae00 + +query I rowsort x990 +SELECT CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END + FROM t1 + WHERE (c<=d-2 OR c>=d+2) + OR c>d +---- +18 values hashing to 9db1749e744db8ddaa29f825f2bbae00 + +query I rowsort x990 +SELECT CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END + FROM t1 + WHERE (c<=d-2 OR c>=d+2) + OR c>d + ORDER BY 1 +---- +18 values hashing to 9db1749e744db8ddaa29f825f2bbae00 + +query IIII rowsort x991 +SELECT abs(a), + abs(b-c), + d-e, + e + FROM t1 + WHERE b>c + OR (e>c OR eb +---- +108 values hashing to a072f79e2ee5caa924199a92f589ad4a + +query IIII rowsort x991 +SELECT abs(a), + abs(b-c), + d-e, + e + FROM t1 + WHERE b>c + OR (e>c OR eb + ORDER BY 2,4 +---- +108 values hashing to a072f79e2ee5caa924199a92f589ad4a + +query IIII rowsort x991 +SELECT abs(a), + abs(b-c), + d-e, + e + FROM t1 + WHERE a>b + OR (e>c OR ec +---- +108 values hashing to a072f79e2ee5caa924199a92f589ad4a + +query IIII rowsort x991 +SELECT abs(a), + abs(b-c), + d-e, + e + FROM t1 + WHERE a>b + OR (e>c OR ec + ORDER BY 2,3 +---- +108 values hashing to a072f79e2ee5caa924199a92f589ad4a + +query IIII rowsort x991 +SELECT abs(a), + abs(b-c), + d-e, + e + FROM t1 + WHERE (e>c OR ec + OR a>b +---- +108 values hashing to a072f79e2ee5caa924199a92f589ad4a + +query IIII rowsort x991 +SELECT abs(a), + abs(b-c), + d-e, + e + FROM t1 + WHERE (e>c OR ec + OR a>b + ORDER BY 2,3,1,4 +---- +108 values hashing to a072f79e2ee5caa924199a92f589ad4a + +query IIII rowsort x991 +SELECT abs(a), + abs(b-c), + d-e, + e + FROM t1 + WHERE a>b + OR b>c + OR (e>c OR eb + OR b>c + OR (e>c OR et1.c AND x.dd +---- +91 values hashing to 056173676fceb0bfa309c7b316c21b41 + +query IIIIIII rowsort x993 +SELECT c-d, + a-b, + b, + d-e, + a+b*2+c*3, + CASE a+1 WHEN b THEN 111 WHEN c THEN 222 + WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, + (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.dd + ORDER BY 2,7,6 +---- +91 values hashing to 056173676fceb0bfa309c7b316c21b41 + +query III rowsort x994 +SELECT b, + abs(b-c), + d + FROM t1 + WHERE d NOT BETWEEN 110 AND 150 + AND (e>a AND ea AND ea AND ea AND et1.c AND x.dd + AND b>c +---- +9 values hashing to 967a584b4e8e0422a6fc749b26d83269 + +query III rowsort x995 +SELECT (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.dd + AND b>c + ORDER BY 2,1 +---- +9 values hashing to 967a584b4e8e0422a6fc749b26d83269 + +query III rowsort x995 +SELECT (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.dc + AND c>d + AND c BETWEEN b-2 AND d+2 +---- +9 values hashing to 967a584b4e8e0422a6fc749b26d83269 + +query III rowsort x995 +SELECT (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.dc + AND c>d + AND c BETWEEN b-2 AND d+2 + ORDER BY 3,1,2 +---- +9 values hashing to 967a584b4e8e0422a6fc749b26d83269 + +query III rowsort x995 +SELECT (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.dd + AND c BETWEEN b-2 AND d+2 + AND b>c +---- +9 values hashing to 967a584b4e8e0422a6fc749b26d83269 + +query III rowsort x995 +SELECT (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.dd + AND c BETWEEN b-2 AND d+2 + AND b>c + ORDER BY 2,1,3 +---- +9 values hashing to 967a584b4e8e0422a6fc749b26d83269 + +query III rowsort x995 +SELECT (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.dd + AND b>c + AND c BETWEEN b-2 AND d+2 +---- +9 values hashing to 967a584b4e8e0422a6fc749b26d83269 + +query III rowsort x995 +SELECT (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.dd + AND b>c + AND c BETWEEN b-2 AND d+2 + ORDER BY 1,2,3 +---- +9 values hashing to 967a584b4e8e0422a6fc749b26d83269 + +query IIIIIII rowsort x996 +SELECT abs(a), + a-b, + CASE WHEN ac OR eb +---- +28 values hashing to b3a80aab6a3a581af6d0494bc775069f + +query I rowsort x997 +SELECT abs(b-c) + FROM t1 + WHERE d NOT BETWEEN 110 AND 150 + OR (e>c OR eb + ORDER BY 1 +---- +28 values hashing to b3a80aab6a3a581af6d0494bc775069f + +query I rowsort x997 +SELECT abs(b-c) + FROM t1 + WHERE a>b + OR (e>c OR eb + OR (e>c OR eb + OR d NOT BETWEEN 110 AND 150 + OR (e>c OR eb + OR d NOT BETWEEN 110 AND 150 + OR (e>c OR et1.c AND x.dt1.c AND x.dt1.c AND x.db + AND (e>c OR et1.c AND x.db + AND (e>c OR e Date: Tue, 11 Jul 2023 23:45:29 +0200 Subject: [PATCH 3/3] use git submodule --- .gitmodules | 3 + tests/sqlite.rs | 2 +- tests/sqlite/select1.test | 12188 --------- tests/sqlite/select2.test | 11218 --------- tests/sqlite/select3.test | 40769 ------------------------------ tests/sqlite/select4.test | 48300 ------------------------------------ tests/sqlite/select5.test | 31948 ------------------------ tests/sqllogictest-sqlite | 1 + 8 files changed, 5 insertions(+), 144424 deletions(-) create mode 100644 .gitmodules delete mode 100644 tests/sqlite/select1.test delete mode 100644 tests/sqlite/select2.test delete mode 100644 tests/sqlite/select3.test delete mode 100644 tests/sqlite/select4.test delete mode 100644 tests/sqlite/select5.test create mode 160000 tests/sqllogictest-sqlite diff --git a/.gitmodules b/.gitmodules new file mode 100644 index 0000000..ff9aa3b --- /dev/null +++ b/.gitmodules @@ -0,0 +1,3 @@ +[submodule "tests/sqllogictest-sqlite"] + path = tests/sqllogictest-sqlite + url = https://github.com/risinglightdb/sqllogictest-sqlite diff --git a/tests/sqlite.rs b/tests/sqlite.rs index 7992580..76b8152 100644 --- a/tests/sqlite.rs +++ b/tests/sqlite.rs @@ -12,7 +12,7 @@ fn hash_threshold(filename: &str) -> usize { } fn main() { - let paths = harness::glob("sqlite/**/*.test").unwrap(); + let paths = harness::glob("sqllogictest-sqlite/test/**/select*.test").unwrap(); let mut tests = vec![]; for entry in paths { let path = entry.unwrap(); diff --git a/tests/sqlite/select1.test b/tests/sqlite/select1.test deleted file mode 100644 index 3a488f4..0000000 --- a/tests/sqlite/select1.test +++ /dev/null @@ -1,12188 +0,0 @@ -statement ok -CREATE TABLE t1(a INTEGER, b INTEGER, c INTEGER, d INTEGER, e INTEGER) - -statement ok -INSERT INTO t1(e,c,b,d,a) VALUES(103,102,100,101,104) - -statement ok -INSERT INTO t1(a,c,d,e,b) VALUES(107,106,108,109,105) - -statement ok -INSERT INTO t1(e,d,b,a,c) VALUES(110,114,112,111,113) - -statement ok -INSERT INTO t1(d,c,e,a,b) VALUES(116,119,117,115,118) - -statement ok -INSERT INTO t1(c,d,b,e,a) VALUES(123,122,124,120,121) - -statement ok -INSERT INTO t1(a,d,b,e,c) VALUES(127,128,129,126,125) - -statement ok -INSERT INTO t1(e,c,a,d,b) VALUES(132,134,131,133,130) - -statement ok -INSERT INTO t1(a,d,b,e,c) VALUES(138,136,139,135,137) - -statement ok -INSERT INTO t1(e,c,d,a,b) VALUES(144,141,140,142,143) - -statement ok -INSERT INTO t1(b,a,e,d,c) VALUES(145,149,146,148,147) - -statement ok -INSERT INTO t1(b,c,a,d,e) VALUES(151,150,153,154,152) - -statement ok -INSERT INTO t1(c,e,a,d,b) VALUES(155,157,159,156,158) - -statement ok -INSERT INTO t1(c,b,a,d,e) VALUES(161,160,163,164,162) - -statement ok -INSERT INTO t1(b,d,a,e,c) VALUES(167,169,168,165,166) - -statement ok -INSERT INTO t1(d,b,c,e,a) VALUES(171,170,172,173,174) - -statement ok -INSERT INTO t1(e,c,a,d,b) VALUES(177,176,179,178,175) - -statement ok -INSERT INTO t1(b,e,a,d,c) VALUES(181,180,182,183,184) - -statement ok -INSERT INTO t1(c,a,b,e,d) VALUES(187,188,186,189,185) - -statement ok -INSERT INTO t1(d,b,c,e,a) VALUES(190,194,193,192,191) - -statement ok -INSERT INTO t1(a,e,b,d,c) VALUES(199,197,198,196,195) - -statement ok -INSERT INTO t1(b,c,d,a,e) VALUES(200,202,203,201,204) - -statement ok -INSERT INTO t1(c,e,a,b,d) VALUES(208,209,205,206,207) - -statement ok -INSERT INTO t1(c,e,a,d,b) VALUES(214,210,213,212,211) - -statement ok -INSERT INTO t1(b,c,a,d,e) VALUES(218,215,216,217,219) - -statement ok -INSERT INTO t1(b,e,d,a,c) VALUES(223,221,222,220,224) - -statement ok -INSERT INTO t1(d,e,b,a,c) VALUES(226,227,228,229,225) - -statement ok -INSERT INTO t1(a,c,b,e,d) VALUES(234,231,232,230,233) - -statement ok -INSERT INTO t1(e,b,a,c,d) VALUES(237,236,239,235,238) - -statement ok -INSERT INTO t1(e,c,b,a,d) VALUES(242,244,240,243,241) - -statement ok -INSERT INTO t1(e,d,c,b,a) VALUES(246,248,247,249,245) - -query I nosort -SELECT CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END - FROM t1 - ORDER BY 1 ----- -30 values hashing to 3c13dee48d9356ae19af2515e05e6b54 - -query II nosort -SELECT a+b*2+c*3+d*4+e*5, - (a+b+c+d+e)/5 - FROM t1 - ORDER BY 1,2 ----- -60 values hashing to 808146289313018fce25f1a280bd8c30 - -query IIIII nosort -SELECT a+b*2+c*3+d*4+e*5, - CASE WHEN ac OR ee - AND EXISTS(SELECT 1 FROM t1 AS x WHERE x.bc OR ec - AND c>d - ORDER BY 3,4,5,1,2,6 ----- -24 values hashing to 425542fc8d1ec04f89534ae98d59a74d - -query IIII nosort -SELECT a+b*2+c*3+d*4, - CASE a+1 WHEN b THEN 111 WHEN c THEN 222 - WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, - (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.d=d+2) - ORDER BY 4,2,1,3 ----- -60 values hashing to a2af299d7b2197866b7c8f6854b77ab5 - -query I nosort -SELECT CASE a+1 WHEN b THEN 111 WHEN c THEN 222 - WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END - FROM t1 - ORDER BY 1 ----- -30 values hashing to f2bf77f8cfb62666ab72c866ed4d4f1a - -query I nosort -SELECT (SELECT count(*) FROM t1 AS x WHERE x.bb-2 AND ad - ORDER BY 1 ----- -20 values hashing to 1d6b8ed1db696a5f1c8d126facddd077 - -query IIIII nosort -SELECT a, - (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.db - OR b>c - ORDER BY 1,4,3,2,5 ----- -145 values hashing to 65042db64d506f67a37c85f825cdd11f - -query IIIIIII nosort -SELECT CASE a+1 WHEN b THEN 111 WHEN c THEN 222 - WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, - CASE WHEN a(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - abs(b-c) - FROM t1 - WHERE EXISTS(SELECT 1 FROM t1 AS x WHERE x.bc - OR d NOT BETWEEN 110 AND 150 - ORDER BY 4,1,5,2,6,3,7 ----- -210 values hashing to a259991ed1248a55a07838ce36a7c257 - -query IIIIII nosort -SELECT CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - CASE WHEN at1.c AND x.db - OR d NOT BETWEEN 110 AND 150 - ORDER BY 5,3,6,1,2,4 ----- -180 values hashing to 631b9506abcdd5dcea64c7ed2a3799ed - -query IIIII nosort -SELECT (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.dd - ORDER BY 3,5,4,1,2 ----- -125 values hashing to 58b4ab36ed442f3837188b38cd02486a - -query IIIIII nosort -SELECT CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - a-b, - abs(b-c), - c, - CASE WHEN ab - ORDER BY 5,4,6,2,1,7,3 ----- -133 values hashing to af6179f0918bfe7e3a9cd1940fbb3f75 - -query II nosort -SELECT a, - b - FROM t1 - ORDER BY 1,2 ----- -60 values hashing to f88a6f6656b30fc5b3c4ede940008ff2 - -query III nosort -SELECT c, - a-b, - (SELECT count(*) FROM t1 AS x WHERE x.b(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - a+b*2+c*3+d*4+e*5, - abs(b-c), - b-c, - CASE a+1 WHEN b THEN 111 WHEN c THEN 222 - WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, - a-b - FROM t1 - WHERE b>c - AND a>b - AND d NOT BETWEEN 110 AND 150 - ORDER BY 2,1,6,4,3,5 ----- -42 values hashing to 6921d8dad7855bee57bd82dfd5fcbabc - -query IIIIII nosort -SELECT a+b*2+c*3+d*4+e*5, - abs(a), - b-c, - c-d, - CASE a+1 WHEN b THEN 111 WHEN c THEN 222 - WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, - a - FROM t1 - WHERE c BETWEEN b-2 AND d+2 - OR e+d BETWEEN a+b-10 AND c+130 - ORDER BY 1,5,4,2,6,3 ----- -144 values hashing to 1d2ad7123e951f275353001a6879b3c8 - -query IIIIIII nosort -SELECT CASE WHEN a(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - b-c, - a+b*2 - FROM t1 - ORDER BY 6,2,4,5,3,1 ----- -180 values hashing to 9fc96182924e07a6ffa415425e69adcf - -query IIIIIII nosort -SELECT d-e, - abs(a), - b, - c-d, - a+b*2+c*3, - abs(b-c), - CASE WHEN ac OR ee - AND c>d - ORDER BY 1,3,7,5,2,6,4 ----- -42 values hashing to 1b3471ef4d294cdab97aa6e5eb44bdc6 - -query IIIIIII nosort -SELECT CASE WHEN a(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END - FROM t1 - WHERE e+d BETWEEN a+b-10 AND c+130 - AND c>d - ORDER BY 1 ----- -1000 -1180 -1240 - -query IIIIIII nosort -SELECT a+b*2+c*3, - abs(b-c), - CASE a+1 WHEN b THEN 111 WHEN c THEN 222 - WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, - a, - a+b*2+c*3+d*4, - a+b*2, - (SELECT count(*) FROM t1 AS x WHERE x.bb-2 AND a(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - c, - CASE WHEN ae - AND (c<=d-2 OR c>=d+2) - AND b>c - ORDER BY 2,3,1,5,4 ----- -25 values hashing to d26c6a15ff9231615a949e9c2412fc2b - -query IIIIIII nosort -SELECT a+b*2+c*3+d*4+e*5, - CASE WHEN a(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END - FROM t1 - WHERE (e>c OR eb - ORDER BY 4,5,3,7,1,6,2 ----- -196 values hashing to 601e621103e91110c69c4545c08a48c1 - -query IIIII nosort -SELECT (SELECT count(*) FROM t1 AS x WHERE x.bt1.c AND x.dc OR eb - AND (a>b-2 AND ab - OR c BETWEEN b-2 AND d+2 - OR c>d - ORDER BY 3,2,1,4,5 ----- -140 values hashing to dd6eae29e54f220617fca7f22df83acb - -query IIIIII nosort -SELECT d, - a+b*2+c*3+d*4+e*5, - a+b*2+c*3, - c-d, - (a+b+c+d+e)/5, - a-b - FROM t1 - ORDER BY 3,4,2,6,5,1 ----- -180 values hashing to 4cf6744bf5d3826cd98ad853eeb5beba - -query IIIIIII nosort -SELECT CASE a+1 WHEN b THEN 111 WHEN c THEN 222 - WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, - a+b*2+c*3+d*4+e*5, - (a+b+c+d+e)/5, - abs(b-c), - abs(a), - (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.d(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - b, - c, - e - FROM t1 - WHERE b>c - ORDER BY 1,2,4,3,5 ----- -70 values hashing to f0e2146374bd151d6ede973c9ed1f2a5 - -query IIIIII nosort -SELECT a-b, - a, - a+b*2+c*3, - b, - d, - d-e - FROM t1 - WHERE (e>a AND ec - ORDER BY 2,6,5,4,3,1 ----- -84 values hashing to 5e2c89b85bc66b196ff3083128f5a494 - -query IIIII nosort -SELECT b, - (a+b+c+d+e)/5, - CASE a+1 WHEN b THEN 111 WHEN c THEN 222 - WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, - abs(b-c), - b-c - FROM t1 - WHERE a>b - ORDER BY 2,5,3,4,1 ----- -95 values hashing to eae71ba4e872a3ba44a0ecd1bf870a3e - -query IIII nosort -SELECT abs(b-c), - a, - a+b*2, - CASE WHEN ab-2 AND ad - ORDER BY 2,1,3 ----- -15 values hashing to 08fa8e3fd6a4743609ebd0354e659bba - -query IIII nosort -SELECT a, - e, - CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - a-b - FROM t1 - ORDER BY 2,4,3,1 ----- -120 values hashing to c328c1a96813bf1072935593f41667ab - -query III nosort -SELECT (a+b+c+d+e)/5, - e, - (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.dc OR et1.c AND x.de - OR (e>a AND eb - ORDER BY 1 ----- -23 values hashing to 58bbff23f68fc8cebb2a4c6436d0b04a - -query IIIIII nosort -SELECT CASE a+1 WHEN b THEN 111 WHEN c THEN 222 - WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, - (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.db-2 AND ad - AND a>b - AND (a>b-2 AND at1.c AND x.dc - AND (a>b-2 AND a(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - a+b*2+c*3+d*4+e*5, - d - FROM t1 - WHERE d>e - OR (a>b-2 AND ad - ORDER BY 2,3,4,1 ----- -120 values hashing to d15570017ab0bf7eb3db1e803003e5f0 - -query I nosort -SELECT a+b*2+c*3 - FROM t1 - ORDER BY 1 ----- -30 values hashing to 20bb63abd067ae8ef5a05f08be3b6762 - -query IIIII nosort -SELECT CASE WHEN ae - ORDER BY 3,4,1,2,5 ----- -80 values hashing to dda48f2f14d6eef074c866167931274f - -query II nosort -SELECT (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.dc - ORDER BY 1,2 ----- -28 values hashing to 2d23fde26e5c80f6eabca42e592bde71 - -query IIIII nosort -SELECT a+b*2+c*3+d*4+e*5, - a, - CASE a+1 WHEN b THEN 111 WHEN c THEN 222 - WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, - a+b*2+c*3+d*4, - b-c - FROM t1 - WHERE d>e - ORDER BY 4,1,5,3,2 ----- -80 values hashing to 36b0bd3c4a5efd58912d89eec64b42fe - -query III nosort -SELECT a-b, - a+b*2+c*3+d*4, - (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.dc OR ec - AND d>e - ORDER BY 1 ----- -120 -126 -135 -152 -165 -230 -237 -246 - -query II nosort -SELECT b, - e - FROM t1 - WHERE (c<=d-2 OR c>=d+2) - ORDER BY 2,1 ----- -30 values hashing to e2107ed9f44c1f14fa1a14b1818a2073 - -query IIII nosort -SELECT b-c, - d-e, - c-d, - a+b*2+c*3 - FROM t1 - ORDER BY 1,2,4,3 ----- -120 values hashing to d9fe6e44ef568e5ddcdd440b1c1058b2 - -query II nosort -SELECT abs(b-c), - CASE WHEN ac OR ec - OR (a>b-2 AND a(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - (SELECT count(*) FROM t1 AS x WHERE x.be - AND d NOT BETWEEN 110 AND 150 - ORDER BY 5,3,1,4,2 ----- -50 values hashing to 0d42d0a09548edf4a343fe9e95c98b2c - -query IIIIII nosort -SELECT (a+b+c+d+e)/5, - (SELECT count(*) FROM t1 AS x WHERE x.b(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - c-d, - a+b*2+c*3+d*4, - a+b*2+c*3+d*4+e*5 - FROM t1 - WHERE (e>a AND ed - ORDER BY 2,5,6,4,1,3 ----- -18 values hashing to 51c5d8e007a143cf3bf858945f677039 - -query IIIIIII nosort -SELECT (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.dc OR ea AND e=d+2) - AND (a>b-2 AND ab-2 AND ae - ORDER BY 1,2 ----- -30 values hashing to 841db017799a825a9fce9bcc940f7f96 - -query I nosort -SELECT b-c - FROM t1 - ORDER BY 1 ----- -30 values hashing to 970be304ddec1d2bede8d8e2f14368c6 - -query IIIIII nosort -SELECT (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.dd - OR (a>b-2 AND ae - AND d NOT BETWEEN 110 AND 150 - AND (e>a AND ee - OR c BETWEEN b-2 AND d+2 - ORDER BY 2,1,4,3,5 ----- -115 values hashing to 05325b83edf1f52fb3d249495c4114e2 - -query II nosort -SELECT a-b, - CASE WHEN ac - AND (a>b-2 AND ac OR ec - ORDER BY 4,3,2,1 ----- -112 values hashing to 5ae5415105496a1711310d3c42176846 - -query IIII nosort -SELECT a+b*2+c*3+d*4, - (SELECT count(*) FROM t1 AS x WHERE x.bc - ORDER BY 2,4,3,1 ----- -56 values hashing to 5f4a5fcffe6f102f57b56bf2e339dd89 - -query II nosort -SELECT b, - abs(b-c) - FROM t1 - WHERE c>d - AND a>b - AND EXISTS(SELECT 1 FROM t1 AS x WHERE x.bt1.c AND x.d(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - abs(b-c), - a+b*2+c*3+d*4+e*5, - CASE WHEN at1.c AND x.dc OR ec OR ee - OR c BETWEEN b-2 AND d+2 - ORDER BY 3,2,1 ----- -90 values hashing to 27ca10878c9391decf14b1da14b81a1a - -query II nosort -SELECT (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.da AND e=d+2) - OR e+d BETWEEN a+b-10 AND c+130 - ORDER BY 2,1 ----- -38 values hashing to 6b17e3a64ebbafbdf4ec543abf34d414 - -query III nosort -SELECT (a+b+c+d+e)/5, - abs(a), - d - FROM t1 - WHERE e+d BETWEEN a+b-10 AND c+130 - AND (e>c OR ee - ORDER BY 4,5,3,6,2,1,7 ----- -112 values hashing to 056a2f68932723bbdeb9dc7c26e21ff8 - -query IIIII nosort -SELECT a, - d, - a+b*2+c*3+d*4+e*5, - a-b, - (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.db-2 AND ac - ORDER BY 1,3,5,4,2 ----- -140 values hashing to 3dfb60ce29bfaa3deb2c90771787ae28 - -query IIIIIII nosort -SELECT (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.d=d+2) - OR (e>a AND ee - ORDER BY 5,6,3,7,2,1,4 ----- -154 values hashing to 7be42f68cbfeb20d2a574569eabc62b8 - -query IIIII nosort -SELECT b-c, - c, - CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - (SELECT count(*) FROM t1 AS x WHERE x.bd - OR (a>b-2 AND ac - ORDER BY 1,3,5,2,4 ----- -130 values hashing to 3872625fdb5d1bd8d2d87c61b2c5d2b9 - -query IIIIIII nosort -SELECT b-c, - CASE WHEN at1.c AND x.dc - OR d NOT BETWEEN 110 AND 150 - OR (e>c OR et1.c AND x.d=d+2) - OR c>d - ORDER BY 1,3,2 ----- -81 values hashing to 3bd0cf1b195cb05eea3e0621c5a4f38e - -query II nosort -SELECT CASE a+1 WHEN b THEN 111 WHEN c THEN 222 - WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, - a+b*2+c*3 - FROM t1 - ORDER BY 2,1 ----- -60 values hashing to 1692ce3bd9941e0f21090da530fd3ed8 - -query IIIIIII nosort -SELECT a+b*2+c*3+d*4, - c, - CASE WHEN a=d+2) - ORDER BY 6,2,4,3,1,7,5 ----- -70 values hashing to e83d593c583f1a0cfb445b1c4ab673b7 - -query IIIII nosort -SELECT (a+b+c+d+e)/5, - a-b, - b, - a+b*2, - a - FROM t1 - WHERE (a>b-2 AND ac OR ee - ORDER BY 4,2,5,3,1 ----- -25 values hashing to 4d716c3a4be4e2c0fcaeb771d9557147 - -query IIIIII nosort -SELECT CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - d, - e, - c-d, - a+b*2+c*3+d*4, - CASE a+1 WHEN b THEN 111 WHEN c THEN 222 - WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END - FROM t1 - WHERE c BETWEEN b-2 AND d+2 - AND c>d - AND EXISTS(SELECT 1 FROM t1 AS x WHERE x.be - AND (e>a AND eb - OR c>d - ORDER BY 1,5,3,2,4 ----- -130 values hashing to 9873ab86b9fa0eef10810ba4277fd1bf - -query IIIIII nosort -SELECT a+b*2+c*3+d*4+e*5, - a, - abs(a), - a-b, - d-e, - CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END - FROM t1 - WHERE EXISTS(SELECT 1 FROM t1 AS x WHERE x.bc - ORDER BY 4,6,3,1,5,2 ----- -84 values hashing to c1c96a830016492c89e9fe7b92275b24 - -query II nosort -SELECT a+b*2+c*3, - a - FROM t1 - WHERE (e>c OR eb - ORDER BY 1,2 ----- -56 values hashing to fedff1b28e56669aacb1dc79b927abf9 - -query III nosort -SELECT CASE a+1 WHEN b THEN 111 WHEN c THEN 222 - WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, - c-d, - a+b*2+c*3 - FROM t1 - WHERE (c<=d-2 OR c>=d+2) - AND (a>b-2 AND at1.c AND x.de - ORDER BY 4,2,1,5,3 ----- -80 values hashing to 06c104cf923af770f3cf98700c2428d0 - -query I nosort -SELECT e - FROM t1 - ORDER BY 1 ----- -30 values hashing to 41762f74ba25ab0f9b0448f319f2f292 - -query IIIIII nosort -SELECT c-d, - b, - d, - a+b*2+c*3+d*4+e*5, - a+b*2, - (SELECT count(*) FROM t1 AS x WHERE x.bd - ORDER BY 4,3,5,6,2,1 ----- -84 values hashing to e1b8a5e4a3649a2976b00eaf0962058b - -query IIIII nosort -SELECT abs(b-c), - c-d, - a, - CASE WHEN ac - ORDER BY 4,2,1,5,3 ----- -145 values hashing to d7e8eaed9394e826f4fdcccf068acdec - -query IIII nosort -SELECT (SELECT count(*) FROM t1 AS x WHERE x.b(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - a+b*2+c*3 - FROM t1 - WHERE c>d - AND b>c - AND e+d BETWEEN a+b-10 AND c+130 - ORDER BY 3,4,1,2 ----- -4 -1 -1240 -738 - -query I nosort -SELECT (a+b+c+d+e)/5 - FROM t1 - ORDER BY 1 ----- -30 values hashing to 8d2279ba80763220505cecac39786e90 - -query IIIIII nosort -SELECT a+b*2, - (a+b+c+d+e)/5, - (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.dd - ORDER BY 6,5,4,1,3,2 ----- -78 values hashing to f8b104ce0c1d6a8d02976b512c224c33 - -query IIII nosort -SELECT a+b*2+c*3+d*4, - CASE WHEN ac OR eb - OR EXISTS(SELECT 1 FROM t1 AS x WHERE x.be - ORDER BY 2,1,3,4 ----- -120 values hashing to 227ac1db8da88813615a7e008801fba7 - -query III nosort -SELECT (a+b+c+d+e)/5, - a+b*2, - (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.dc OR ec - ORDER BY 2,1,3 ----- -84 values hashing to aa77bd3dacaadb8d94850b7457313394 - -query IIIIIII nosort -SELECT abs(a), - d, - e, - a+b*2+c*3+d*4, - CASE a+1 WHEN b THEN 111 WHEN c THEN 222 - WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, - b-c, - a - FROM t1 - WHERE (a>b-2 AND ab-2 AND ac OR e=d+2) - ORDER BY 6,7,2,1,3,4,5 ----- --3 -13 -1 -167 -1 -1000 -333 - -query IIIII nosort -SELECT (a+b+c+d+e)/5, - c-d, - CASE a+1 WHEN b THEN 111 WHEN c THEN 222 - WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, - a+b*2+c*3, - d-e - FROM t1 - WHERE a>b - AND c BETWEEN b-2 AND d+2 - AND (a>b-2 AND at1.c AND x.dc - ORDER BY 3,5,4,2,6,7,1 ----- -196 values hashing to ce60e2883fe7a0c41c29c17e9b62bf51 - -query IIIIII nosort -SELECT (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.d(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - abs(a), - a+b*2+c*3+d*4+e*5, - d-e, - CASE WHEN ae - OR b>c - ORDER BY 2,3,1,5,4,6 ----- -150 values hashing to c31247552305ea7108b6c15517e4e50e - -query IIIIII nosort -SELECT b-c, - a+b*2, - a, - (SELECT count(*) FROM t1 AS x WHERE x.ba AND e(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - a+b*2+c*3+d*4+e*5 - FROM t1 - WHERE (e>c OR ee - AND EXISTS(SELECT 1 FROM t1 AS x WHERE x.ba AND et1.c AND x.da AND ec OR e=d+2) - ORDER BY 1 ----- -3331 - -query III nosort -SELECT a+b*2+c*3+d*4, - b, - a-b - FROM t1 - WHERE c>d - OR d>e - OR b>c - ORDER BY 3,1,2 ----- -84 values hashing to 35aa92c733c1c60fedff6d6a36a4e64f - -query I nosort -SELECT a-b - FROM t1 - ORDER BY 1 ----- -30 values hashing to c2001bebc4d3d2d6b01a5a50ce4282ca - -query IIII nosort -SELECT e, - a+b*2+c*3+d*4+e*5, - CASE WHEN ab - OR c BETWEEN b-2 AND d+2 - ORDER BY 3,2,4,1 ----- -104 values hashing to 57317371c67d5ca0360d9860ff06b5f6 - -query IIIII nosort -SELECT (SELECT count(*) FROM t1 AS x WHERE x.b(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - e, - CASE WHEN at1.c AND x.dc - ORDER BY 3,5,4,2,1 ----- -140 values hashing to db6ada3c6b4c6105c96c56f98bd679d1 - -query II nosort -SELECT b-c, - a+b*2+c*3+d*4+e*5 - FROM t1 - WHERE b>c - AND a>b - AND (e>a AND ec - AND a>b - ORDER BY 3,2,1 ----- -21 values hashing to 47e5ff2f412981bf5017a3fcd7dcbfce - -query IIIII nosort -SELECT a+b*2+c*3, - d, - b-c, - (SELECT count(*) FROM t1 AS x WHERE x.bb-2 AND ac - AND c>d - ORDER BY 3,5,1,4,2 ----- -10 values hashing to f7cc18e47d7f1cfbd32b65f410f3661f - -query IIII nosort -SELECT d-e, - (a+b+c+d+e)/5, - CASE a+1 WHEN b THEN 111 WHEN c THEN 222 - WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, - d - FROM t1 - WHERE (e>c OR e=d+2) - AND c>d - ORDER BY 2,1 ----- -12 values hashing to 536e87880b7535393cfec01b6b44b09e - -query I nosort -SELECT CASE WHEN aa AND ee - AND (c<=d-2 OR c>=d+2) - ORDER BY 1 ----- -222 - -query II nosort -SELECT a-b, - b-c - FROM t1 - WHERE b>c - AND d>e - AND c BETWEEN b-2 AND d+2 - ORDER BY 2,1 ----- -14 values hashing to d2bcb971c3fe19befbef456f67ecb854 - -query III nosort -SELECT b, - d, - (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.dc - ORDER BY 1,2,3 ----- -42 values hashing to fdf2c9075b2487f82c8ad837755619d7 - -query I nosort -SELECT a+b*2+c*3+d*4+e*5 - FROM t1 - WHERE EXISTS(SELECT 1 FROM t1 AS x WHERE x.b(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - b-c, - a+b*2 - FROM t1 - WHERE EXISTS(SELECT 1 FROM t1 AS x WHERE x.b(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END - FROM t1 - ORDER BY 1 ----- -30 values hashing to 3c13dee48d9356ae19af2515e05e6b54 - -query II nosort -SELECT a+b*2+c*3+d*4, - a+b*2+c*3 - FROM t1 - WHERE b>c - ORDER BY 1,2 ----- -28 values hashing to 7626a6dc10da4bbb0672aba278414d7f - -query IIIII nosort -SELECT e, - a, - a+b*2+c*3, - b, - d - FROM t1 - WHERE c>d - OR EXISTS(SELECT 1 FROM t1 AS x WHERE x.b(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END - FROM t1 - WHERE a>b - ORDER BY 3,1,2 ----- -57 values hashing to e46ef205fe944f0d32288b2138a40f06 - -query IIIII nosort -SELECT abs(a), - (a+b+c+d+e)/5, - CASE a+1 WHEN b THEN 111 WHEN c THEN 222 - WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, - a+b*2+c*3, - d-e - FROM t1 - ORDER BY 3,1,2,5,4 ----- -150 values hashing to 34ca74f90850eff35ac3a230238544be - -query IIIII nosort -SELECT (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.db-2 AND ac - OR (a>b-2 AND at1.c AND x.d=d+2) - ORDER BY 1,3,2 ----- -45 values hashing to c5572ef5e70213b43133e2248770b61d - -query I nosort -SELECT d - FROM t1 - WHERE (e>a AND ec - AND d>e - ORDER BY 4,5,6,3,2,1 ----- -48 values hashing to 8b118828e8caafc9faa4a21d0f3f4ea5 - -query I nosort -SELECT a+b*2+c*3 - FROM t1 - WHERE c BETWEEN b-2 AND d+2 - ORDER BY 1 ----- -22 values hashing to 5d0ecdbff39863d98aa5a23e0424ac1e - -query IIII nosort -SELECT abs(b-c), - CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - b, - a - FROM t1 - WHERE b>c - AND d>e - ORDER BY 4,1,3,2 ----- -32 values hashing to 3ff228db977b596ebd4901df4462b000 - -query IIIIII nosort -SELECT a+b*2+c*3+d*4, - (a+b+c+d+e)/5, - a, - abs(a), - c-d, - c - FROM t1 - ORDER BY 2,5,4,6,3,1 ----- -180 values hashing to 5e503b736a28f01aee385b8265f1f970 - -query II nosort -SELECT d-e, - (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.db-2 AND ab - ORDER BY 1,3,2 ----- -57 values hashing to 3b71140e165ea6e7999b7cafbbcf505e - -query IIIII nosort -SELECT abs(a), - a-b, - CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - abs(b-c), - d-e - FROM t1 - ORDER BY 3,1,4,5,2 ----- -150 values hashing to 9af213128ae7e4d07c408d80d61aa3e9 - -query II nosort -SELECT abs(b-c), - e - FROM t1 - WHERE c>d - ORDER BY 1,2 ----- -28 values hashing to 574174bf2275d3475e01cc0a0bf79a10 - -query II nosort -SELECT (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.d(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.db - AND (e>a AND ee - OR (a>b-2 AND ab - AND d NOT BETWEEN 110 AND 150 - ORDER BY 2,1 ----- -34 values hashing to b663d3edefc8630f2d6777c28f5c29ab - -query III nosort -SELECT (a+b+c+d+e)/5, - d, - a+b*2+c*3+d*4 - FROM t1 - WHERE EXISTS(SELECT 1 FROM t1 AS x WHERE x.b=d+2) - OR a>b - OR b>c - ORDER BY 3,1,2,4 ----- -112 values hashing to ac8288fa97219e018be4a8600f11d525 - -query IIIIII nosort -SELECT a, - CASE a+1 WHEN b THEN 111 WHEN c THEN 222 - WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, - (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.dc - AND (c<=d-2 OR c>=d+2) - AND EXISTS(SELECT 1 FROM t1 AS x WHERE x.bt1.c AND x.db-2 AND ae - AND (e>a AND ec - ORDER BY 1,5,3,4,2 ----- -247 -743 -3706 -245 -2 - -query I nosort -SELECT a+b*2+c*3 - FROM t1 - WHERE b>c - OR a>b - OR (e>a AND ec - ORDER BY 1,3,2 ----- -24 values hashing to 197dccd8f3680b77a75b13440eff5f55 - -query IIII nosort -SELECT d-e, - a, - b, - CASE a+1 WHEN b THEN 111 WHEN c THEN 222 - WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END - FROM t1 - ORDER BY 3,1,2,4 ----- -120 values hashing to 5a3b2a8f188159e2277f9a1be70537c7 - -query IIIIII nosort -SELECT b, - d, - CASE a+1 WHEN b THEN 111 WHEN c THEN 222 - WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, - abs(b-c), - a+b*2+c*3+d*4+e*5, - a+b*2 - FROM t1 - WHERE d>e - AND c>d - AND EXISTS(SELECT 1 FROM t1 AS x WHERE x.bc - OR d NOT BETWEEN 110 AND 150 - OR c BETWEEN b-2 AND d+2 - ORDER BY 2,1 ----- -58 values hashing to 689847f49b3867b87e7c46dfeb0da7c1 - -query IIII nosort -SELECT a+b*2+c*3, - c-d, - a+b*2+c*3+d*4+e*5, - (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.de - OR (c<=d-2 OR c>=d+2) - OR c BETWEEN b-2 AND d+2 - ORDER BY 1,2,4,3 ----- -108 values hashing to 709932df0abe61ded2f95a3b2b8e9c34 - -query IIIIIII nosort -SELECT (a+b+c+d+e)/5, - abs(a), - CASE a+1 WHEN b THEN 111 WHEN c THEN 222 - WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, - a-b, - a, - (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.de - AND (e>c OR e(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - d - FROM t1 - WHERE (c<=d-2 OR c>=d+2) - ORDER BY 1,5,3,2,4 ----- -75 values hashing to 1cdfc134eae0ccc6b2fdb86041b2f365 - -query IIIIIII nosort -SELECT c, - CASE a+1 WHEN b THEN 111 WHEN c THEN 222 - WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, - a+b*2, - e, - (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.db-2 AND ae - AND d NOT BETWEEN 110 AND 150 - ORDER BY 7,2,1,5,6,4,3 ----- -14 values hashing to d8e81dbe9389b8a7fb955726d1018688 - -query IIIIIII nosort -SELECT (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.d(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END - FROM t1 - WHERE a>b - ORDER BY 7,6,5,2,1,3,4 ----- -133 values hashing to e0e2d07862532072e37e60225da99516 - -query IIIIII nosort -SELECT e, - (SELECT count(*) FROM t1 AS x WHERE x.b(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - CASE a+1 WHEN b THEN 111 WHEN c THEN 222 - WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, - a-b, - (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.db - AND (c<=d-2 OR c>=d+2) - AND c>d - ORDER BY 6,5,4,2,3,1 ----- -18 values hashing to 7b37fd650c93c3580d86ed2112de3518 - -query III nosort -SELECT c, - a+b*2, - e - FROM t1 - WHERE e+d BETWEEN a+b-10 AND c+130 - OR d NOT BETWEEN 110 AND 150 - ORDER BY 1,2,3 ----- -78 values hashing to a88e3903af86c39edba2d15c2acfc4b3 - -query IIIIII nosort -SELECT CASE a+1 WHEN b THEN 111 WHEN c THEN 222 - WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, - a+b*2+c*3+d*4, - b, - b-c, - e, - a - FROM t1 - WHERE EXISTS(SELECT 1 FROM t1 AS x WHERE x.ba AND eb-2 AND a(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - a+b*2+c*3+d*4, - c - FROM t1 - WHERE e+d BETWEEN a+b-10 AND c+130 - OR (c<=d-2 OR c>=d+2) - ORDER BY 1,3,2 ----- -54 values hashing to cbda5acbecfd69e4351d6c31044f2a08 - -query III nosort -SELECT (SELECT count(*) FROM t1 AS x WHERE x.b(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - c-d - FROM t1 - ORDER BY 2,3,1 ----- -90 values hashing to 01e6705b8ce30b74a653cb8e3458effa - -query IIII nosort -SELECT d-e, - abs(b-c), - (a+b+c+d+e)/5, - CASE a+1 WHEN b THEN 111 WHEN c THEN 222 - WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END - FROM t1 - WHERE (a>b-2 AND aa AND eb - ORDER BY 3,4,1,2 ----- - -query IIII nosort -SELECT CASE a+1 WHEN b THEN 111 WHEN c THEN 222 - WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, - a+b*2+c*3, - b-c, - d-e - FROM t1 - ORDER BY 1,2,3,4 ----- -120 values hashing to 8d7ff24438c0a277a9bbed686f335d28 - -query II nosort -SELECT d, - a+b*2+c*3 - FROM t1 - WHERE e+d BETWEEN a+b-10 AND c+130 - ORDER BY 2,1 ----- -12 values hashing to bb2456b338921ab7c0396823cc0ec31d - -query IIIIII nosort -SELECT a+b*2+c*3+d*4+e*5, - d, - a+b*2+c*3+d*4, - c, - d-e, - a+b*2 - FROM t1 - WHERE d NOT BETWEEN 110 AND 150 - AND (a>b-2 AND ac OR eb - ORDER BY 3,2,1 ----- -87 values hashing to 3bc9e8a82df39cae8e27bb5a0fff18d3 - -query IIII nosort -SELECT a-b, - a+b*2+c*3+d*4, - d, - e - FROM t1 - ORDER BY 2,4,1,3 ----- -120 values hashing to fa86590cde28cc33911bb46fb0ec59e1 - -query IIIIIII nosort -SELECT a+b*2, - c-d, - d-e, - abs(a), - a-b, - c, - b - FROM t1 - WHERE a>b - ORDER BY 3,2,1,4,7,5,6 ----- -133 values hashing to ec7e7648bfc1da6386905d63a1ef52a3 - -query IIIIIII nosort -SELECT (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.dc OR ee - OR (e>a AND ec OR e(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - d - FROM t1 - WHERE d NOT BETWEEN 110 AND 150 - ORDER BY 1,3,2,4 ----- -88 values hashing to fcc8243428e8bf0faa312279fec704a0 - -query IIIII nosort -SELECT a+b*2, - (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.de - ORDER BY 1,3,2,4,5 ----- -80 values hashing to 4cf6188a63134ebf831c245aed6fd46d - -query IIIII nosort -SELECT CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - a+b*2+c*3+d*4, - CASE a+1 WHEN b THEN 111 WHEN c THEN 222 - WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, - a+b*2+c*3+d*4+e*5, - c-d - FROM t1 - ORDER BY 4,1,2,3,5 ----- -150 values hashing to 00fcc8fc925a74eb4ec0f853929e555f - -query IIIII nosort -SELECT CASE a+1 WHEN b THEN 111 WHEN c THEN 222 - WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, - (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.d=d+2) - OR d>e - ORDER BY 3,4,2,5,1 ----- -110 values hashing to 7c7ca7dc3909bad67db7afb2ce90ee58 - -query I nosort -SELECT abs(a) - FROM t1 - ORDER BY 1 ----- -30 values hashing to d1361dd52a9236110ba64b28a64f850d - -query IIIIII nosort -SELECT a+b*2+c*3+d*4, - d, - a-b, - abs(a), - c, - CASE WHEN at1.c AND x.d=d+2) - ORDER BY 1,5,6,2,4,7,3 ----- -91 values hashing to e0fe8de872329c82af624de95132584e - -query IIIIII nosort -SELECT a+b*2+c*3+d*4+e*5, - a+b*2+c*3, - a-b, - CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - c, - a - FROM t1 - WHERE EXISTS(SELECT 1 FROM t1 AS x WHERE x.ba AND eb - ORDER BY 2,4,6,5,1,3 ----- - -query IIII nosort -SELECT a+b*2+c*3+d*4, - CASE WHEN at1.c AND x.dd - ORDER BY 4,1,3,2 ----- -56 values hashing to 68bfd05b60394ed25ff6ddecdef16e10 - -query I nosort -SELECT CASE WHEN at1.c AND x.de - ORDER BY 2,1,4,5,6,3,7 ----- -112 values hashing to 7d1953113f7f07c9266eb09edadd82f9 - -query IIIIII nosort -SELECT b, - a+b*2+c*3+d*4, - CASE WHEN aa AND ec OR eb-2 AND a=d+2) - ORDER BY 3,5,1,4,7,6,2 ----- -210 values hashing to aa06fc327d04c2ee6a642cd3025e7a4b - -query III nosort -SELECT a-b, - CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - b - FROM t1 - ORDER BY 1,3,2 ----- -90 values hashing to 17d30af1540fc60a9630b9e47d95bc9f - -query IIIIIII nosort -SELECT b, - a-b, - c, - abs(b-c), - d-e, - CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - b-c - FROM t1 - WHERE EXISTS(SELECT 1 FROM t1 AS x WHERE x.ba AND ea AND ec OR et1.c AND x.db-2 AND ac - AND d>e - AND (c<=d-2 OR c>=d+2) - ORDER BY 1,2 ----- -10 values hashing to e43fc83490b72542af8316746a9d8313 - -query IIII nosort -SELECT abs(a), - a+b*2+c*3+d*4, - a+b*2+c*3, - (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.dc - OR (e>a AND e=d+2) - AND c BETWEEN b-2 AND d+2 - AND b>c - ORDER BY 1 ----- -905 -1000 -1391 -1416 - -query IIIIIII nosort -SELECT d, - abs(b-c), - a-b, - CASE WHEN at1.c AND x.dd - OR EXISTS(SELECT 1 FROM t1 AS x WHERE x.ba AND e(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - a-b, - b - FROM t1 - WHERE c>d - AND a>b - ORDER BY 2,4,3,6,1,5 ----- -42 values hashing to 9aa7acd8fc07cfd1d6e0028928e8342b - -query I nosort -SELECT abs(b-c) - FROM t1 - WHERE e+d BETWEEN a+b-10 AND c+130 - AND c>d - ORDER BY 1 ----- -1 -1 -2 - -query IIIIIII nosort -SELECT c, - c-d, - a+b*2+c*3+d*4, - a+b*2+c*3+d*4+e*5, - abs(b-c), - (a+b+c+d+e)/5, - (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.db - AND c>d - ORDER BY 7,1,5,3,2,4,6 ----- -42 values hashing to 719b82439155e612b0a13ee9e8496dea - -query II nosort -SELECT a-b, - a+b*2+c*3 - FROM t1 - WHERE (a>b-2 AND ae - ORDER BY 1,2 ----- -58 values hashing to fca9ff5897fd8bf220dfd03ebf9bf41d - -query IIIII nosort -SELECT CASE a+1 WHEN b THEN 111 WHEN c THEN 222 - WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, - a+b*2+c*3+d*4, - c-d, - a+b*2, - (SELECT count(*) FROM t1 AS x WHERE x.bb - AND EXISTS(SELECT 1 FROM t1 AS x WHERE x.b=d+2) - ORDER BY 1 ----- -10 values hashing to c457994b9b0d51a0004a2e98359bf04c - -query I nosort -SELECT d-e - FROM t1 - WHERE a>b - AND (c<=d-2 OR c>=d+2) - ORDER BY 1 ----- -10 values hashing to 85ba30eef17fc9cad69f60d48a75b0b9 - -query I nosort -SELECT CASE a+1 WHEN b THEN 111 WHEN c THEN 222 - WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END - FROM t1 - WHERE c BETWEEN b-2 AND d+2 - OR d NOT BETWEEN 110 AND 150 - OR b>c - ORDER BY 1 ----- -29 values hashing to 60438bc97433575b27692732a1fc3a1a - -query II nosort -SELECT (SELECT count(*) FROM t1 AS x WHERE x.be - OR (e>c OR et1.c AND x.dt1.c AND x.d(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - (SELECT count(*) FROM t1 AS x WHERE x.be - AND (a>b-2 AND a(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - a-b, - abs(b-c) - FROM t1 - WHERE c>d - OR (c<=d-2 OR c>=d+2) - ORDER BY 2,1,3 ----- -69 values hashing to 21fb0616ea7789afb7e48ef466387e01 - -query III nosort -SELECT CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - d, - a+b*2+c*3 - FROM t1 - WHERE b>c - OR c BETWEEN b-2 AND d+2 - OR d NOT BETWEEN 110 AND 150 - ORDER BY 1,3,2 ----- -87 values hashing to 9f14eddd318ce87987f67ec027255159 - -query III nosort -SELECT (a+b+c+d+e)/5, - a, - b - FROM t1 - WHERE c BETWEEN b-2 AND d+2 - ORDER BY 3,2,1 ----- -66 values hashing to 6ceda7f4ed630291e9090bc96e62be7c - -query IIIII nosort -SELECT CASE a+1 WHEN b THEN 111 WHEN c THEN 222 - WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, - a-b, - abs(a), - (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.de - OR a>b - ORDER BY 5,3,2,4,1 ----- -140 values hashing to fc266d3bd870c2607aaf5ba9f695a329 - -query IIIIII nosort -SELECT (a+b+c+d+e)/5, - CASE a+1 WHEN b THEN 111 WHEN c THEN 222 - WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, - (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.dc OR e=d+2) - AND c BETWEEN b-2 AND d+2 - ORDER BY 2,5,4,6,3,1 ----- -60 values hashing to 755f345cafbb73c0340e12a2580bb1e8 - -query IIIIII nosort -SELECT a+b*2+c*3+d*4+e*5, - abs(b-c), - a, - abs(a), - b, - a+b*2 - FROM t1 - WHERE a>b - OR (a>b-2 AND a(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - (SELECT count(*) FROM t1 AS x WHERE x.ba AND et1.c AND x.d=d+2) - OR EXISTS(SELECT 1 FROM t1 AS x WHERE x.b(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - CASE WHEN ae - AND EXISTS(SELECT 1 FROM t1 AS x WHERE x.b=d+2) - AND EXISTS(SELECT 1 FROM t1 AS x WHERE x.ba AND ec - AND (a>b-2 AND at1.c AND x.dc OR ea AND et1.c AND x.d=d+2) - AND (a>b-2 AND ad - ORDER BY 1,2,3 ----- - -query IIIIIII nosort -SELECT (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.d(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - e, - abs(a), - c-d, - a, - b-c - FROM t1 - WHERE (a>b-2 AND a=d+2) - OR d NOT BETWEEN 110 AND 150 - ORDER BY 7,1,5,3,4,6,2 ----- -196 values hashing to 3f2cca604f78daaa5c238d7f0fa01745 - -query IIIII nosort -SELECT (a+b+c+d+e)/5, - a+b*2+c*3, - a-b, - abs(b-c), - a+b*2 - FROM t1 - WHERE (a>b-2 AND a=d+2) - OR (a>b-2 AND ae - ORDER BY 1,3,2,4 ----- -112 values hashing to 6c6d4d118f8a7982bfb86d67579436e7 - -query I nosort -SELECT a+b*2+c*3+d*4+e*5 - FROM t1 - ORDER BY 1 ----- -30 values hashing to 9a0d83a47e9ea85f0da38e0f9ca27f2e - -query II nosort -SELECT (a+b+c+d+e)/5, - c - FROM t1 - WHERE (c<=d-2 OR c>=d+2) - ORDER BY 1,2 ----- -30 values hashing to 0f5786c35d6a3334fe23ccebd6d6b4f8 - -query IIIIII nosort -SELECT a+b*2+c*3, - a+b*2+c*3+d*4+e*5, - abs(b-c), - CASE WHEN a(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - (SELECT count(*) FROM t1 AS x WHERE x.b=d+2) - ORDER BY 5,3,2,1,4 ----- -75 values hashing to 893e24339a4507d442b4fa21e8520989 - -query IIIIII nosort -SELECT abs(a), - a-b, - (SELECT count(*) FROM t1 AS x WHERE x.b(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - a+b*2+c*3+d*4, - b-c - FROM t1 - ORDER BY 6,1,3,5,4,2 ----- -180 values hashing to 58102a16454762090d8cca488692e7fa - -query I nosort -SELECT d - FROM t1 - ORDER BY 1 ----- -30 values hashing to 0c542471646c50440dc6eda5bb1b61a8 - -query III nosort -SELECT abs(b-c), - a-b, - (a+b+c+d+e)/5 - FROM t1 - WHERE c BETWEEN b-2 AND d+2 - OR (a>b-2 AND ac - AND c>d - ORDER BY 2,1,3 ----- -9 values hashing to f43d74c9e89e35866c98a91869e403da - -query IIIII nosort -SELECT c-d, - (a+b+c+d+e)/5, - (SELECT count(*) FROM t1 AS x WHERE x.bd - AND EXISTS(SELECT 1 FROM t1 AS x WHERE x.bb - ORDER BY 2,4,3,5,1 ----- -30 values hashing to 70df2aeb36f371ec975106f8a74d10ee - -query IIIIII nosort -SELECT a+b*2+c*3+d*4, - d, - (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.d(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - c, - (SELECT count(*) FROM t1 AS x WHERE x.bb - OR (e>a AND et1.c AND x.d(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - CASE a+1 WHEN b THEN 111 WHEN c THEN 222 - WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, - a+b*2+c*3 - FROM t1 - WHERE a>b - AND (e>c OR e=d+2) - AND c>d - AND b>c - ORDER BY 6,5,7,4,3,1,2 ----- -192 -2878 -1 -191 -444 -1918 --3 - -query IIIIIII nosort -SELECT b, - c, - abs(a), - d, - CASE a+1 WHEN b THEN 111 WHEN c THEN 222 - WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, - CASE WHEN ae - AND c BETWEEN b-2 AND d+2 - AND (e>a AND ea AND et1.c AND x.d(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END - FROM t1 - ORDER BY 4,5,3,2,1 ----- -150 values hashing to 41a342f4212e2a14116ba83427e049be - -query I nosort -SELECT CASE WHEN aa AND e=d+2) - ORDER BY 1 ----- -222 - -query I nosort -SELECT d - FROM t1 - WHERE e+d BETWEEN a+b-10 AND c+130 - OR d>e - OR a>b - ORDER BY 1 ----- -26 values hashing to 7dcc836442eac90a7fa906c12d0ffba1 - -query II nosort -SELECT a+b*2+c*3+d*4+e*5, - b-c - FROM t1 - WHERE (a>b-2 AND a(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END - FROM t1 - WHERE b>c - AND (c<=d-2 OR c>=d+2) - AND c>d - ORDER BY 2,1,5,6,4,3 ----- --3 -1918 -18 -191 -1158 -382 - -query II nosort -SELECT abs(a), - a-b - FROM t1 - ORDER BY 1,2 ----- -60 values hashing to 3b45a32bacb258a454a82f10a8146228 - -query IIIIIII nosort -SELECT b-c, - CASE a+1 WHEN b THEN 111 WHEN c THEN 222 - WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, - (a+b+c+d+e)/5, - b, - c-d, - a+b*2, - a+b*2+c*3 - FROM t1 - WHERE c>d - AND (e>c OR ee - ORDER BY 4,7,5,2,1,6,3 ----- -42 values hashing to f778b6cfbf38f0fadd2c9175abb14947 - -query IIIIIII nosort -SELECT c-d, - a-b, - b, - b-c, - CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - c, - a+b*2 - FROM t1 - ORDER BY 1,5,4,3,2,6,7 ----- -210 values hashing to e53b6730271bb74da608aeb6d75ea354 - -query IIII nosort -SELECT a+b*2+c*3, - a, - CASE WHEN ab-2 AND ac - ORDER BY 2,4,3,1 ----- -76 values hashing to ae99c64007a7ed5e938cc3f7d79c5d00 - -query IIIII nosort -SELECT CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - d, - abs(a), - e, - a+b*2 - FROM t1 - WHERE c BETWEEN b-2 AND d+2 - ORDER BY 3,4,2,1,5 ----- -110 values hashing to 56d7502cb25a03f7170e568d9124ecc9 - -query IIII nosort -SELECT b, - abs(b-c), - CASE a+1 WHEN b THEN 111 WHEN c THEN 222 - WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, - b-c - FROM t1 - WHERE (c<=d-2 OR c>=d+2) - AND e+d BETWEEN a+b-10 AND c+130 - AND (e>c OR ec - OR c BETWEEN b-2 AND d+2 - OR d NOT BETWEEN 110 AND 150 - ORDER BY 4,1,2,3 ----- -116 values hashing to e51d5af527372bac218e0b5c21153013 - -query III nosort -SELECT a+b*2+c*3+d*4, - (a+b+c+d+e)/5, - b - FROM t1 - ORDER BY 1,2,3 ----- -90 values hashing to 532651aa8e5c293b169f68dbcbc547ff - -query IIIII nosort -SELECT c-d, - (a+b+c+d+e)/5, - abs(b-c), - c, - d - FROM t1 - WHERE c>d - OR a>b - ORDER BY 4,2,3,1,5 ----- -130 values hashing to 621684d11a2a5694126393ed924fd34b - -query III nosort -SELECT a+b*2+c*3, - d, - abs(b-c) - FROM t1 - ORDER BY 3,1,2 ----- -90 values hashing to 94a68989fa6a8cf9e887b617692bb101 - -query IIII nosort -SELECT e, - a+b*2+c*3, - abs(b-c), - d-e - FROM t1 - ORDER BY 1,3,4,2 ----- -120 values hashing to 5dc183edf914e31f94314b7bc288848d - -query IIII nosort -SELECT a, - abs(a), - d-e, - e - FROM t1 - ORDER BY 2,4,1,3 ----- -120 values hashing to e70daaeccb2899ae3ab5a338ca45c0fa - -query II nosort -SELECT b, - (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.da AND ed - ORDER BY 1,2 ----- -30 values hashing to 907d0240f42a1141b7870e0424b0dd04 - -query III nosort -SELECT b-c, - a-b, - a+b*2 - FROM t1 - ORDER BY 1,2,3 ----- -90 values hashing to 421f11d9db40e5b3cfea3a86c2b3bf1c - -query II nosort -SELECT a+b*2+c*3+d*4+e*5, - abs(b-c) - FROM t1 - WHERE EXISTS(SELECT 1 FROM t1 AS x WHERE x.bt1.c AND x.d(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END - FROM t1 - WHERE e+d BETWEEN a+b-10 AND c+130 - AND c>d - ORDER BY 1,3,2 ----- -9 values hashing to 0598e89fd314145ba8f06f228456f4ba - -query I nosort -SELECT c-d - FROM t1 - WHERE d NOT BETWEEN 110 AND 150 - OR d>e - ORDER BY 1 ----- -28 values hashing to ae8b5e96b30d88fb1ab70fe4095e3a96 - -query IIIIIII nosort -SELECT a-b, - d, - a+b*2+c*3, - (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.d(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END - FROM t1 - WHERE (e>c OR e=d+2) - ORDER BY 4,3,2,5,1,6 ----- -180 values hashing to 7e45631d2b6d6694abd0f917d9c07c4a - -query IIIIII nosort -SELECT abs(b-c), - (a+b+c+d+e)/5, - d, - b, - (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.d(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - e, - a-b - FROM t1 - ORDER BY 1,4,5,3,6,2 ----- -180 values hashing to a41f3eb3f1b24084c9ad20c7fa2cadc4 - -query I nosort -SELECT abs(a) - FROM t1 - WHERE a>b - ORDER BY 1 ----- -19 values hashing to 7935ab41ef16fa86550d2ecd13497930 - -query I nosort -SELECT a+b*2+c*3+d*4+e*5 - FROM t1 - WHERE (c<=d-2 OR c>=d+2) - ORDER BY 1 ----- -15 values hashing to 21fef18aeb42508fd385db124bd2a8cc - -query IIIIIII nosort -SELECT e, - (SELECT count(*) FROM t1 AS x WHERE x.bc OR ec - ORDER BY 4,6,3,1,5,7,2 ----- -210 values hashing to 166de7592ef32109aae1d9670d3e23bf - -query IIIII nosort -SELECT (a+b+c+d+e)/5, - b, - (SELECT count(*) FROM t1 AS x WHERE x.b=d+2) - AND c BETWEEN b-2 AND d+2 - ORDER BY 3,4,5,1,2 ----- -50 values hashing to 6d77d0e395c0c3bb7ebe48a114a7a9a5 - -query I nosort -SELECT a+b*2+c*3+d*4+e*5 - FROM t1 - WHERE EXISTS(SELECT 1 FROM t1 AS x WHERE x.bt1.c AND x.de - AND (e>a AND e=d+2) - OR (a>b-2 AND a(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - a+b*2, - a+b*2+c*3+d*4+e*5, - CASE WHEN at1.c AND x.da AND e=d+2) - ORDER BY 3,2,1,4 ----- -12 values hashing to fae09a9a32247b430470a8b81fbc6cc9 - -query IIIIII nosort -SELECT (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.dd - ORDER BY 1,2,4,5,6,3 ----- -102 values hashing to 1a7c46130532fbc982bba080af7ee291 - -query IIIII nosort -SELECT a+b*2+c*3+d*4, - (a+b+c+d+e)/5, - d, - e, - a+b*2 - FROM t1 - ORDER BY 2,3,4,1,5 ----- -150 values hashing to 9f8c9a18fe3256a5427a7cbef090f435 - -query III nosort -SELECT b, - e, - b-c - FROM t1 - ORDER BY 2,1,3 ----- -90 values hashing to 600c8683d405cc652ef67b480900c83f - -query IIIIIII nosort -SELECT a+b*2+c*3, - abs(a), - CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - d, - CASE a+1 WHEN b THEN 111 WHEN c THEN 222 - WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, - d-e, - (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.da AND et1.c AND x.d=d+2) - AND (e>c OR ed - ORDER BY 2,1 ----- --3 -0 --1 -0 --1 -0 - -query IIIIII nosort -SELECT abs(b-c), - a+b*2, - d, - b-c, - a-b, - d-e - FROM t1 - WHERE (a>b-2 AND ad - ORDER BY 3,1,2,5,6,4 ----- -30 values hashing to d39306fef5d6bbbd904608305c01b290 - -query II nosort -SELECT (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.de - AND c>d - AND a>b - ORDER BY 3,1,2,4 ----- -12 values hashing to 22099d5488a4d865c8fe18b2de1567c6 - -query III nosort -SELECT b, - a+b*2+c*3, - d-e - FROM t1 - WHERE (a>b-2 AND aa AND e(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END - FROM t1 - ORDER BY 4,2,5,1,3 ----- -150 values hashing to 744565fa85149ebe3ea996326d3b8b13 - -query I nosort -SELECT a+b*2 - FROM t1 - WHERE a>b - OR (e>c OR eb - ORDER BY 1,5,4,2,3 ----- -95 values hashing to 1a8655839cdf4d5e78d3243ea63e7d46 - -query II nosort -SELECT b, - a+b*2 - FROM t1 - WHERE (e>a AND eb-2 AND ac OR eb-2 AND a=d+2) - ORDER BY 3,2,5,4,1 ----- - -query IIIIII nosort -SELECT e, - d-e, - (SELECT count(*) FROM t1 AS x WHERE x.bb - OR (e>c OR e(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END - FROM t1 - ORDER BY 4,2,5,1,3 ----- -150 values hashing to 3fdfec9cdbff8e41bfa6e3add56c1ee2 - -query III nosort -SELECT b-c, - a, - d-e - FROM t1 - ORDER BY 1,3,2 ----- -90 values hashing to 1f593201ad9d2210fa9b56b756bc1237 - -query III nosort -SELECT a, - a+b*2+c*3+d*4+e*5, - c-d - FROM t1 - WHERE c BETWEEN b-2 AND d+2 - AND (e>a AND et1.c AND x.dc - ORDER BY 5,2,1,7,3,4,6 ----- -98 values hashing to 42243c8de628bef73888c710837ce1fe - -query III nosort -SELECT d, - (a+b+c+d+e)/5, - CASE WHEN ac - ORDER BY 1,3,2 ----- -42 values hashing to adb133664f189e7397ae8b901fdafabc - -query IIII nosort -SELECT abs(a), - CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - b, - b-c - FROM t1 - WHERE (c<=d-2 OR c>=d+2) - ORDER BY 3,1,2,4 ----- -60 values hashing to 537018406f031d7e81f5a1a9ee9d4b64 - -query IIIII nosort -SELECT a-b, - c-d, - a+b*2+c*3+d*4+e*5, - c, - (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.dt1.c AND x.dc - OR (a>b-2 AND a(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.dd - OR d>e - ORDER BY 2,5,1,3,4 ----- -120 values hashing to 6b7c62f6dba560a1b1cfb4a0de687636 - -query IIIIII nosort -SELECT a+b*2, - CASE a+1 WHEN b THEN 111 WHEN c THEN 222 - WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, - b, - a-b, - b-c, - d - FROM t1 - WHERE d NOT BETWEEN 110 AND 150 - OR (c<=d-2 OR c>=d+2) - OR (e>a AND et1.c AND x.dt1.c AND x.d(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - a+b*2+c*3+d*4 - FROM t1 - WHERE b>c - OR (e>c OR e=d+2) - ORDER BY 3,1,2 ----- -45 values hashing to c53f1f88bc7b92d941462d1081bacb46 - -query I nosort -SELECT a+b*2+c*3+d*4 - FROM t1 - WHERE c BETWEEN b-2 AND d+2 - ORDER BY 1 ----- -22 values hashing to 59cac8a106613a4b6a96e597e54b11bc - -query I nosort -SELECT a-b - FROM t1 - WHERE c>d - ORDER BY 1 ----- -14 values hashing to 28d7a52ffd1e2866a0fa7582a43ec38e - -query IIIIIII nosort -SELECT a+b*2+c*3, - d, - e, - a+b*2+c*3+d*4+e*5, - abs(a), - (SELECT count(*) FROM t1 AS x WHERE x.bb - AND d NOT BETWEEN 110 AND 150 - ORDER BY 1,4,5,2,6,7,3 ----- -119 values hashing to 3a6edab399d6a254ca226d567f101ed2 - -query IIIII nosort -SELECT CASE a+1 WHEN b THEN 111 WHEN c THEN 222 - WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, - a, - abs(a), - c, - d-e - FROM t1 - ORDER BY 5,4,1,2,3 ----- -150 values hashing to 33c133cd531a8c83b0e12c1bf2816a47 - -query IIIIIII nosort -SELECT a+b*2+c*3+d*4, - CASE a+1 WHEN b THEN 111 WHEN c THEN 222 - WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, - a+b*2+c*3, - (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.d(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END - FROM t1 - WHERE (a>b-2 AND ab - ORDER BY 1 ----- -18 values hashing to a5e48a0153bf4c438302b48fadaaa38e - -query IIIIIII nosort -SELECT CASE a+1 WHEN b THEN 111 WHEN c THEN 222 - WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, - a+b*2+c*3+d*4+e*5, - a+b*2, - a+b*2+c*3, - a+b*2+c*3+d*4, - (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.d(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.db-2 AND at1.c AND x.dc - OR d NOT BETWEEN 110 AND 150 - ORDER BY 2,3,6,7,4,1,5 ----- -182 values hashing to 9bb679937b36be78dd530a683782d10a - -query IIII nosort -SELECT b-c, - a+b*2+c*3+d*4, - c-d, - a-b - FROM t1 - ORDER BY 2,4,3,1 ----- -120 values hashing to 7c9d31e357ba5e9ca4d8d2ef8f56117a - -query IIII nosort -SELECT CASE WHEN ac OR et1.c AND x.d=d+2) - OR c BETWEEN b-2 AND d+2 - OR (a>b-2 AND ac - ORDER BY 4,6,1,3,7,2,5 ----- -98 values hashing to 8420ffda963b1647bef090ee5739449a - -query I nosort -SELECT (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.dd - ORDER BY 1 ----- -25 values hashing to 3a8c1f92b5515a90e97181b7aaf6970b - -query I nosort -SELECT c - FROM t1 - ORDER BY 1 ----- -30 values hashing to 70364ca416eb4255377b03cd243b032a - -query IIII nosort -SELECT a+b*2, - a+b*2+c*3, - a-b, - (SELECT count(*) FROM t1 AS x WHERE x.bt1.c AND x.db-2 AND a(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END - FROM t1 - ORDER BY 3,2,1 ----- -90 values hashing to fb63c0da23b6869a02b06048ea39681c - -query I nosort -SELECT (SELECT count(*) FROM t1 AS x WHERE x.bb - ORDER BY 1 ----- -0 -1 - -query IIIIII nosort -SELECT a+b*2+c*3, - c, - CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - b, - b-c, - CASE WHEN at1.c AND x.dt1.c AND x.de - OR c BETWEEN b-2 AND d+2 - ORDER BY 4,1,5,6,3,2 ----- -144 values hashing to 87705ab033397683288724d8d8a8303e - -query II nosort -SELECT CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - a+b*2+c*3+d*4+e*5 - FROM t1 - WHERE (e>c OR ea AND e(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - a - FROM t1 - WHERE b>c - AND c BETWEEN b-2 AND d+2 - AND (e>c OR e(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END - FROM t1 - WHERE (c<=d-2 OR c>=d+2) - OR a>b - ORDER BY 2,3,4,1 ----- -96 values hashing to 045d2c4fc1e63a274a28e442878914b1 - -query IIIIII nosort -SELECT a+b*2+c*3, - d-e, - a+b*2+c*3+d*4, - d, - CASE a+1 WHEN b THEN 111 WHEN c THEN 222 - WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, - abs(a) - FROM t1 - WHERE b>c - AND (e>c OR et1.c AND x.dt1.c AND x.db - AND (c<=d-2 OR c>=d+2) - ORDER BY 3,1,2 ----- -30 values hashing to 6ad8accda9cddcf28817fbf053942483 - -query I nosort -SELECT b - FROM t1 - WHERE (a>b-2 AND at1.c AND x.da AND e=d+2) - ORDER BY 5,3,2,1,4 ----- -15 values hashing to 49314335687b2ed3cd15a37ace339ff2 - -query III nosort -SELECT a+b*2+c*3+d*4+e*5, - a-b, - a+b*2+c*3 - FROM t1 - ORDER BY 2,3,1 ----- -90 values hashing to eb08dc2a0f14d493bfe5f8cf91fb03ba - -query III nosort -SELECT CASE a+1 WHEN b THEN 111 WHEN c THEN 222 - WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, - CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.dd - ORDER BY 2,3,1 ----- -42 values hashing to 0b30094aec5125c1843b3e6e1e41a6e8 - -query II nosort -SELECT d, - CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END - FROM t1 - ORDER BY 1,2 ----- -60 values hashing to 91d685ea328c85b4182c8973881038bf - -query IIII nosort -SELECT c-d, - CASE a+1 WHEN b THEN 111 WHEN c THEN 222 - WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, - b-c, - b - FROM t1 - WHERE (a>b-2 AND a=d+2) - ORDER BY 3,4,2,1 ----- -100 values hashing to 028c01fd1a3fde99ed6dcf60c1113942 - -query IIIIII nosort -SELECT abs(b-c), - c, - b, - (a+b+c+d+e)/5, - (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.de - ORDER BY 6,5,3,1,2,4 ----- -96 values hashing to d43f79239513169ba12520f7a149dee7 - -query I nosort -SELECT b-c - FROM t1 - WHERE EXISTS(SELECT 1 FROM t1 AS x WHERE x.b(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - a+b*2, - CASE a+1 WHEN b THEN 111 WHEN c THEN 222 - WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, - (a+b+c+d+e)/5, - abs(a), - abs(b-c), - c-d - FROM t1 - ORDER BY 3,7,1,4,6,2,5 ----- -210 values hashing to 83f9eb2c991235ceaf943aab7abde5f6 - -query III nosort -SELECT a, - (SELECT count(*) FROM t1 AS x WHERE x.bc OR et1.c AND x.d(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - b-c, - a+b*2+c*3+d*4, - (a+b+c+d+e)/5 - FROM t1 - WHERE EXISTS(SELECT 1 FROM t1 AS x WHERE x.b=d+2) - ORDER BY 5,1,2,4,3,6,7 ----- -105 values hashing to 6f1348d248b462331e2adebdb5140a95 - -query I nosort -SELECT CASE a+1 WHEN b THEN 111 WHEN c THEN 222 - WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END - FROM t1 - WHERE (a>b-2 AND ac OR ed - ORDER BY 2,1 ----- -1826 -333 -1529 -555 - -query IIIIIII nosort -SELECT (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.dc - ORDER BY 4,2,6,5,3,7,1 ----- -98 values hashing to 9672e04e6af85e083efc6d3a01ad003c - -query IIII nosort -SELECT a+b*2, - a-b, - a+b*2+c*3+d*4+e*5, - (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.d(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - (a+b+c+d+e)/5, - d, - d-e - FROM t1 - WHERE (c<=d-2 OR c>=d+2) - OR d NOT BETWEEN 110 AND 150 - OR (e>c OR et1.c AND x.d(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - c, - d - FROM t1 - WHERE (a>b-2 AND ae - AND a>b - ORDER BY 1,2,3 ----- -30 values hashing to 0c419a3b667dc7ff35fb414aaaaa747d - -query II nosort -SELECT e, - a+b*2+c*3 - FROM t1 - WHERE (e>a AND ec - OR (e>c OR ec - AND (e>a AND e(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - a+b*2+c*3+d*4, - a, - abs(a), - a-b - FROM t1 - WHERE (a>b-2 AND a(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - b-c, - (SELECT count(*) FROM t1 AS x WHERE x.bt1.c AND x.d=d+2) - ORDER BY 1 ----- -10 values hashing to 957f34bd4f6530b19d41aade9e48d932 - -query IIIII nosort -SELECT (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.d(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - (SELECT count(*) FROM t1 AS x WHERE x.be - OR a>b - ORDER BY 4,3,2,1,5 ----- -125 values hashing to 9fcf17184ac87f3ca33f5aa74b552242 - -query IIII nosort -SELECT (a+b+c+d+e)/5, - CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - abs(a), - a+b*2 - FROM t1 - WHERE EXISTS(SELECT 1 FROM t1 AS x WHERE x.b(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - CASE WHEN ad - OR e+d BETWEEN a+b-10 AND c+130 - ORDER BY 7,3,6,5,2,1,4 ----- -119 values hashing to 2dfa1a701af66a88618468f9f2eca6d7 - -query IIII nosort -SELECT abs(a), - c, - CASE a+1 WHEN b THEN 111 WHEN c THEN 222 - WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, - d-e - FROM t1 - WHERE e+d BETWEEN a+b-10 AND c+130 - AND (a>b-2 AND a(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - a+b*2+c*3+d*4, - (a+b+c+d+e)/5, - a+b*2+c*3+d*4+e*5 - FROM t1 - ORDER BY 1,6,5,3,4,2 ----- -180 values hashing to 149fa3187b59deeaf8ca7bc9937e9c50 - -query I nosort -SELECT CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END - FROM t1 - WHERE (e>c OR ee - AND (a>b-2 AND ab-2 AND ac OR ec OR e=d+2) - ORDER BY 1 ----- -30 values hashing to d1361dd52a9236110ba64b28a64f850d - -query IIII nosort -SELECT (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.d(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - a+b*2 - FROM t1 - ORDER BY 1,3,4,2 ----- -120 values hashing to 9d8ae71d1d4851666a75fec8bc675773 - -query IIIIII nosort -SELECT c-d, - a+b*2+c*3+d*4+e*5, - b, - (a+b+c+d+e)/5, - a, - (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.de - ORDER BY 4,5,6,1,3,2 ----- -96 values hashing to a762a09cf2fc3bb7b96a1bacd3516820 - -query IIIII nosort -SELECT a+b*2+c*3+d*4+e*5, - d-e, - (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.d(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - c-d, - e, - abs(a), - d - FROM t1 - WHERE EXISTS(SELECT 1 FROM t1 AS x WHERE x.ba AND ec OR ea AND et1.c AND x.dt1.c AND x.d(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - b - FROM t1 - WHERE e+d BETWEEN a+b-10 AND c+130 - ORDER BY 1,4,3,5,2 ----- -30 values hashing to b72fdab2abc695b36a856741c6479ebf - -query II nosort -SELECT a, - c - FROM t1 - WHERE d>e - OR b>c - OR e+d BETWEEN a+b-10 AND c+130 - ORDER BY 1,2 ----- -50 values hashing to 522548ede2edcdbad05472fed877bcf0 - -query IIIIIII nosort -SELECT a+b*2+c*3+d*4, - c-d, - CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - a+b*2, - b, - b-c, - (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.dc - ORDER BY 1,6,5,3,4,2 ----- -84 values hashing to 0ecaed2bac05ece627b8a5c6f2cb4b2e - -query I nosort -SELECT a+b*2+c*3+d*4 - FROM t1 - ORDER BY 1 ----- -30 values hashing to a97f06c7abca35ed0602e7a54b6ca0ac - -query IIIIIII nosort -SELECT CASE WHEN ac - AND (e>a AND ed - ORDER BY 1,2,3 ----- --2 -3 -191 - -query IIIIIII nosort -SELECT (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.db-2 AND a=d+2) - OR d>e - ORDER BY 3,5,6,2,1,7,4 ----- -196 values hashing to ab60be6b2b2d576e28c474ce597e7441 - -query IIII nosort -SELECT CASE WHEN a(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END - FROM t1 - WHERE (a>b-2 AND ae - ORDER BY 1,4,2,3 ----- -116 values hashing to 2a17d36050e5bdef7be9ed7b01e0a9c9 - -query IIIIIII nosort -SELECT b, - CASE a+1 WHEN b THEN 111 WHEN c THEN 222 - WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, - c-d, - a+b*2+c*3+d*4+e*5, - b-c, - a+b*2, - d-e - FROM t1 - WHERE (c<=d-2 OR c>=d+2) - AND (e>a AND et1.c AND x.da AND e=d+2) - ORDER BY 1 ----- -27 values hashing to 4f0b87d21ae9d581463d0337566933ca - -query IIII nosort -SELECT a+b*2+c*3+d*4+e*5, - d-e, - abs(a), - c-d - FROM t1 - ORDER BY 2,3,4,1 ----- -120 values hashing to a4578cf950facb85e767ae2f602ba469 - -query II nosort -SELECT a+b*2+c*3+d*4+e*5, - c - FROM t1 - WHERE d>e - OR (e>c OR ed - ORDER BY 5,4,3,2,1,6 ----- -84 values hashing to 14526e3289f9c25f8ddec1f33ed95aa2 - -query I nosort -SELECT a+b*2+c*3+d*4+e*5 - FROM t1 - WHERE c>d - OR e+d BETWEEN a+b-10 AND c+130 - ORDER BY 1 ----- -17 values hashing to fd124b0d49b605a982ab65f59bf5aac4 - -query I nosort -SELECT CASE WHEN ae - OR (e>a AND ed - AND b>c - AND (a>b-2 AND ab-2 AND ac OR eb-2 AND ad - AND d NOT BETWEEN 110 AND 150 - AND a>b - ORDER BY 1 ----- -1 -2 -2 -3 -3 -4 - -query IIII nosort -SELECT CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.d(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - CASE a+1 WHEN b THEN 111 WHEN c THEN 222 - WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END - FROM t1 - WHERE c>d - ORDER BY 1,2,5,3,4,7,6 ----- -98 values hashing to 22e6c9d358a8b1d08d6e48554c7f9c03 - -query III nosort -SELECT abs(a), - a-b, - a+b*2+c*3 - FROM t1 - WHERE (a>b-2 AND a(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END - FROM t1 - WHERE (e>c OR eb - OR d NOT BETWEEN 110 AND 150 - ORDER BY 1,2,3 ----- -72 values hashing to d376c0c0a239bc9353aca7c75bfea493 - -query IIII nosort -SELECT b, - a+b*2+c*3, - CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - c-d - FROM t1 - WHERE EXISTS(SELECT 1 FROM t1 AS x WHERE x.bc OR e=d+2) - ORDER BY 1,3,2,4 ----- -120 values hashing to e4051c95ff9075750460d662b42d72d5 - -query II nosort -SELECT a-b, - CASE WHEN ad - AND b>c - ORDER BY 2,1 ----- --3 -222 --3 -222 --1 -222 --1 -222 - -query IIII nosort -SELECT c-d, - b-c, - abs(b-c), - CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END - FROM t1 - WHERE e+d BETWEEN a+b-10 AND c+130 - ORDER BY 1,3,4,2 ----- -24 values hashing to 7f41fdcc58ab92f66267d95eaee41293 - -query IIII nosort -SELECT a+b*2+c*3+d*4+e*5, - CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - b, - a+b*2+c*3 - FROM t1 - WHERE c BETWEEN b-2 AND d+2 - ORDER BY 3,4,2,1 ----- -88 values hashing to 8a7565aef4b4ff5dc5b2669162892999 - -query IIIIII nosort -SELECT (SELECT count(*) FROM t1 AS x WHERE x.bt1.c AND x.da AND ea AND e(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - CASE a+1 WHEN b THEN 111 WHEN c THEN 222 - WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, - abs(a), - c, - d - FROM t1 - WHERE (e>a AND ee - ORDER BY 2,5,1,4,3 ----- -80 values hashing to 90c813844bf5d6adeffa4f21f6ca28f2 - -query IIIIII nosort -SELECT e, - (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.dd - AND d>e - AND EXISTS(SELECT 1 FROM t1 AS x WHERE x.be - ORDER BY 3,4,1,5,2 ----- -80 values hashing to e86e8f12a1e9c6fcfe83ba56451cc897 - -query III nosort -SELECT b-c, - d-e, - abs(a) - FROM t1 - ORDER BY 1,3,2 ----- -90 values hashing to 9e6b6e593015eae16b128f67c55d6d78 - -query I nosort -SELECT e - FROM t1 - WHERE EXISTS(SELECT 1 FROM t1 AS x WHERE x.b=d+2) - AND (e>c OR e(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - a+b*2+c*3, - c-d - FROM t1 - ORDER BY 4,1,5,3,2 ----- -150 values hashing to 63a41e4b01b852b0ffe5c3d2e944e835 - -query IIIII nosort -SELECT c-d, - e, - a+b*2, - b, - abs(a) - FROM t1 - WHERE d NOT BETWEEN 110 AND 150 - OR (e>c OR et1.c AND x.d=d+2) - OR e+d BETWEEN a+b-10 AND c+130 - OR (e>c OR e=d+2) - AND d NOT BETWEEN 110 AND 150 - AND c>d - ORDER BY 3,4,6,5,1,2 ----- -30 values hashing to 05c651750e0c527bc2e97d4ddbe13bf0 - -query IIIIII nosort -SELECT a+b*2+c*3+d*4+e*5, - abs(b-c), - e, - CASE WHEN ae - AND b>c - AND c BETWEEN b-2 AND d+2 - ORDER BY 4,3,6,1,2,5 ----- -42 values hashing to bb2e37cf59a5b762b43ef4271a54e000 - -query IIIIII nosort -SELECT CASE a+1 WHEN b THEN 111 WHEN c THEN 222 - WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, - abs(b-c), - (SELECT count(*) FROM t1 AS x WHERE x.bt1.c AND x.d(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - b, - a-b, - CASE WHEN a=d+2) - ORDER BY 3,1,2 ----- -45 values hashing to 9bbac471733a3ae401dbe561ea2c5055 - -query IIIII nosort -SELECT a-b, - abs(a), - a, - e, - b-c - FROM t1 - ORDER BY 2,4,3,1,5 ----- -150 values hashing to 85a750970f2a3cfd014b8df3cb52a6f6 - -query III nosort -SELECT CASE WHEN a=d+2) - OR b>c - OR d>e - ORDER BY 3,2,1 ----- -78 values hashing to bbceeaaca7afd780d5aa5173c0f3df16 - -query IIII nosort -SELECT (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.d(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - a-b, - d-e - FROM t1 - ORDER BY 1,4,3,2 ----- -120 values hashing to 5d82db974f8caa9127d640fcf6cc1a40 - -query III nosort -SELECT (a+b+c+d+e)/5, - CASE WHEN a=d+2) - OR e+d BETWEEN a+b-10 AND c+130 - ORDER BY 3,2,1 ----- -54 values hashing to 851593a9a226d556e165b5765819e242 - -query IIIII nosort -SELECT CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.db-2 AND ab-2 AND ac OR et1.c AND x.dc - ORDER BY 6,2,5,4,3,1 ----- -84 values hashing to e05d2e123bb3c8af78b16346f8a4b290 - -query I nosort -SELECT d - FROM t1 - ORDER BY 1 ----- -30 values hashing to 0c542471646c50440dc6eda5bb1b61a8 - -query III nosort -SELECT CASE WHEN aa AND eb-2 AND ac - ORDER BY 1,3,2 ----- - -query IIIIII nosort -SELECT abs(a), - CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - c-d, - b-c, - b, - (a+b+c+d+e)/5 - FROM t1 - WHERE b>c - AND c BETWEEN b-2 AND d+2 - ORDER BY 4,2,5,6,1,3 ----- -48 values hashing to 04bb6be1da657237947cd4ab3392c384 - -query IIIIII nosort -SELECT a+b*2+c*3+d*4+e*5, - a+b*2, - a+b*2+c*3+d*4, - CASE a+1 WHEN b THEN 111 WHEN c THEN 222 - WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, - abs(b-c), - (SELECT count(*) FROM t1 AS x WHERE x.bb-2 AND ac - OR (e>a AND e=d+2) - AND c>d - AND (a>b-2 AND ab-2 AND ac - OR a>b - OR (a>b-2 AND at1.c AND x.dt1.c AND x.dd - AND d>e - ORDER BY 1 ----- -1828 -2125 -2226 - -query IIIIII nosort -SELECT (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.d(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - b, - a+b*2+c*3 - FROM t1 - ORDER BY 4,2,1,3,5,6 ----- -180 values hashing to e80b8346172b01fad12a7248e5bbc7a4 - -query IIIIII nosort -SELECT (SELECT count(*) FROM t1 AS x WHERE x.bb - OR b>c - OR e+d BETWEEN a+b-10 AND c+130 - ORDER BY 2,1,3,6,4,5 ----- -168 values hashing to 18cbf31793b3aca41197e3f46d641650 - -query II nosort -SELECT a, - c-d - FROM t1 - ORDER BY 1,2 ----- -60 values hashing to b22ea8da7d71e791d7a5b66555b3a4c4 - -query I nosort -SELECT (a+b+c+d+e)/5 - FROM t1 - ORDER BY 1 ----- -30 values hashing to 8d2279ba80763220505cecac39786e90 - -query II nosort -SELECT a+b*2+c*3, - CASE a+1 WHEN b THEN 111 WHEN c THEN 222 - WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END - FROM t1 - WHERE d NOT BETWEEN 110 AND 150 - AND a>b - ORDER BY 1,2 ----- -34 values hashing to 0628c0094e162251c0635877ab466eba - -query I nosort -SELECT abs(b-c) - FROM t1 - WHERE b>c - ORDER BY 1 ----- -14 values hashing to 32902ce891f5ed9983da19527e07808b - -query II nosort -SELECT CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - b-c - FROM t1 - WHERE b>c - OR d NOT BETWEEN 110 AND 150 - ORDER BY 2,1 ----- -52 values hashing to b2f2322e57f6b0850906b8c53b5a2ff9 - -query II nosort -SELECT a+b*2+c*3+d*4+e*5, - abs(a) - FROM t1 - WHERE d>e - AND b>c - ORDER BY 2,1 ----- -16 values hashing to 12f8d853019df95cb95b40b12e8f9502 - -query IIIIII nosort -SELECT CASE a+1 WHEN b THEN 111 WHEN c THEN 222 - WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, - a+b*2, - CASE WHEN ac OR ed - ORDER BY 1,5,2,6,3,4 ----- -66 values hashing to cd02907c94bef262defa2744db1d76fe - -query IIII nosort -SELECT a, - (SELECT count(*) FROM t1 AS x WHERE x.bb-2 AND ad - ORDER BY 1,2,3 ----- -51 values hashing to 4f655063e72bf8214c8975e0d0e231da - -query I nosort -SELECT a+b*2+c*3+d*4 - FROM t1 - WHERE d NOT BETWEEN 110 AND 150 - ORDER BY 1 ----- -22 values hashing to 986d884c71dc223ac25f3dd12e7d7540 - -query IIIII nosort -SELECT c-d, - abs(a), - (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.dd - AND (e>c OR eb-2 AND ac OR et1.c AND x.de - OR (e>a AND ea AND ee - OR a>b - ORDER BY 2,1,3 ----- -81 values hashing to 389ca962469d417d7d784deab102aa5c - -query IIIII nosort -SELECT a+b*2+c*3, - c, - abs(a), - a+b*2+c*3+d*4+e*5, - CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END - FROM t1 - WHERE (e>a AND ee - OR e+d BETWEEN a+b-10 AND c+130 - ORDER BY 3,4,2,5,1 ----- -100 values hashing to ae8f5af162e72304474e2e771076f23d - -query IIIIII nosort -SELECT a-b, - c-d, - CASE a+1 WHEN b THEN 111 WHEN c THEN 222 - WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, - b-c, - e, - c - FROM t1 - WHERE (e>a AND ee - OR (c<=d-2 OR c>=d+2) - OR (e>c OR eb-2 AND ad - OR c BETWEEN b-2 AND d+2 - ORDER BY 1,2 ----- -56 values hashing to 954fd515b57c6e2aca8a512c3caebd11 - -query II nosort -SELECT a+b*2+c*3+d*4, - (a+b+c+d+e)/5 - FROM t1 - WHERE e+d BETWEEN a+b-10 AND c+130 - ORDER BY 2,1 ----- -12 values hashing to ab6ddb0019d35b32de0f257c78d20c9b - -query IIIII nosort -SELECT (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.d=d+2) - OR d>e - OR (a>b-2 AND ac OR e(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - e, - a+b*2, - abs(b-c) - FROM t1 - WHERE e+d BETWEEN a+b-10 AND c+130 - OR c>d - OR (a>b-2 AND ab - ORDER BY 2,1 ----- -60 values hashing to c9e7690c4046a45d8d94c281e987f883 - -query I nosort -SELECT a-b - FROM t1 - WHERE (a>b-2 AND a(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END - FROM t1 - ORDER BY 3,2,5,7,1,6,4 ----- -210 values hashing to 9c29cdd6374772e5c26eae66ae64c8f1 - -query IIIIII nosort -SELECT d, - CASE WHEN aa AND ec OR e(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END - FROM t1 - WHERE EXISTS(SELECT 1 FROM t1 AS x WHERE x.ba AND eb-2 AND ab-2 AND ac - OR c>d - ORDER BY 2,1 ----- -48 values hashing to 90d735f794a41b2883dfdd912dba4f9b - -query II nosort -SELECT a+b*2+c*3+d*4+e*5, - abs(b-c) - FROM t1 - ORDER BY 2,1 ----- -60 values hashing to 1d73e78ee7cae0bf0f75c7981d0eccbc - -query IIII nosort -SELECT d-e, - a+b*2+c*3, - a-b, - CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END - FROM t1 - WHERE d>e - OR (e>a AND e=d+2) - ORDER BY 3,4,1,2 ----- -88 values hashing to e1744981c67868b64dd4f2f8bd8f9849 - -query IIIIII nosort -SELECT d, - d-e, - CASE WHEN ab - OR b>c - ORDER BY 3,1,5,6,4,2 ----- -156 values hashing to d8680cf0d12c8706c82bb5ef1ad597f0 - -query III nosort -SELECT abs(b-c), - CASE WHEN a=d+2) - OR c>d - ORDER BY 1,2,5,3,4 ----- -115 values hashing to 4f24f48edeed6bafc24320280f45feca - -query IIIII nosort -SELECT abs(b-c), - c-d, - CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - a+b*2+c*3, - (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.de - AND c BETWEEN b-2 AND d+2 - ORDER BY 1,2,5,3,4 ----- -10 values hashing to d1f0237fc8125db019f7ae5fc6432c34 - -query III nosort -SELECT b, - (SELECT count(*) FROM t1 AS x WHERE x.be - OR (a>b-2 AND a(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - b - FROM t1 - ORDER BY 3,1,2,5,4 ----- -150 values hashing to 563e461ea233b38ad878b56e5d269fba - -query IIIIII nosort -SELECT a+b*2, - a+b*2+c*3+d*4, - CASE WHEN ac OR eb - OR d NOT BETWEEN 110 AND 150 - ORDER BY 1,4,7,6,5,3,2 ----- -168 values hashing to d460bea3b5d3f177ff5befb82bf9b9c1 - -query IIIIII nosort -SELECT a+b*2+c*3+d*4, - CASE WHEN a(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - a+b*2+c*3+d*4+e*5, - a+b*2+c*3, - (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.dd - AND c BETWEEN b-2 AND d+2 - AND (e>c OR e(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - d - FROM t1 - WHERE (e>c OR eb - ORDER BY 5,2,4,1,3,6 ----- -168 values hashing to 23425d8f076e222594024d8bf9b642ec - -query IIIII nosort -SELECT a+b*2, - abs(a), - d, - (SELECT count(*) FROM t1 AS x WHERE x.bc - ORDER BY 5,1,3,2,4 ----- -70 values hashing to 5b3117153cd6e1dc100280e8fa82eb28 - -query IIIIII nosort -SELECT (SELECT count(*) FROM t1 AS x WHERE x.bt1.c AND x.db - AND e+d BETWEEN a+b-10 AND c+130 - AND (c<=d-2 OR c>=d+2) - ORDER BY 1,2 ----- -1 -108 - -query I nosort -SELECT a - FROM t1 - WHERE (e>c OR et1.c AND x.de - AND (c<=d-2 OR c>=d+2) - AND (e>a AND ec - AND (a>b-2 AND aa AND e(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - abs(a) - FROM t1 - WHERE c>d - AND b>c - ORDER BY 2,1 ----- -1240 -121 -1390 -138 -1430 -142 -382 -191 - -query IIIIII nosort -SELECT e, - a+b*2+c*3+d*4+e*5, - d-e, - b-c, - a+b*2+c*3+d*4, - abs(b-c) - FROM t1 - WHERE (e>a AND ee - ORDER BY 1 ----- -16 values hashing to 952e6c754c450612dd99b9d315977052 - -query I nosort -SELECT a+b*2+c*3+d*4 - FROM t1 - WHERE b>c - ORDER BY 1 ----- -14 values hashing to 840c9b8b71971d5911654f07be8e4708 - -query IIIII nosort -SELECT d-e, - (SELECT count(*) FROM t1 AS x WHERE x.bc - ORDER BY 3,6,2,1,5,4 ----- -84 values hashing to a0e691ea866b76ed4cc40d7ce202b53e - -query I nosort -SELECT b-c - FROM t1 - ORDER BY 1 ----- -30 values hashing to 970be304ddec1d2bede8d8e2f14368c6 - -query IIIIII nosort -SELECT abs(b-c), - (a+b+c+d+e)/5, - (SELECT count(*) FROM t1 AS x WHERE x.bb - ORDER BY 3,4,6,1,2,5 ----- -114 values hashing to febb658aae6d009e8938057c8e3daa16 - -query II nosort -SELECT d, - abs(b-c) - FROM t1 - WHERE (e>c OR ec - ORDER BY 2,1 ----- -26 values hashing to 6673d5d82c58407244159d79db5fcf0e - -query IIII nosort -SELECT CASE WHEN ae - OR c BETWEEN b-2 AND d+2 - ORDER BY 1,4,3,2 ----- -92 values hashing to e17ecafd5a53c4ca237b9d25520aebd8 - -query III nosort -SELECT a+b*2+c*3+d*4+e*5, - abs(a), - b-c - FROM t1 - WHERE (c<=d-2 OR c>=d+2) - ORDER BY 1,3,2 ----- -45 values hashing to 3b82e1c6f07bf10caed84828ec3568ca - -query I nosort -SELECT c - FROM t1 - WHERE b>c - ORDER BY 1 ----- -14 values hashing to 18666cb3224ae801a1972a186fe5843f - -query IIIIIII nosort -SELECT CASE a+1 WHEN b THEN 111 WHEN c THEN 222 - WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, - a, - a+b*2, - c, - a-b, - (SELECT count(*) FROM t1 AS x WHERE x.bc - ORDER BY 6,1,5,7,4,3,2 ----- -98 values hashing to 73fcbe214cbf5ab7cc9bcf09d8b85acf - -query IIIIIII nosort -SELECT (SELECT count(*) FROM t1 AS x WHERE x.b(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - d, - CASE a+1 WHEN b THEN 111 WHEN c THEN 222 - WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, - a+b*2+c*3+d*4+e*5, - (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.dt1.c AND x.dc - AND a>b - AND (c<=d-2 OR c>=d+2) - ORDER BY 5,1,3,6,2,4 ----- -24 values hashing to 651f715b7e5976e9d63b17b91ea8d333 - -query IIIIII nosort -SELECT a+b*2+c*3+d*4, - a-b, - a+b*2, - abs(a), - CASE a+1 WHEN b THEN 111 WHEN c THEN 222 - WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, - a+b*2+c*3 - FROM t1 - ORDER BY 1,5,4,2,6,3 ----- -180 values hashing to b5ab822caa140090fa0cd1d265333e1c - -query IIII nosort -SELECT a+b*2+c*3+d*4, - abs(b-c), - b-c, - CASE a+1 WHEN b THEN 111 WHEN c THEN 222 - WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END - FROM t1 - WHERE d>e - ORDER BY 3,1,2,4 ----- -64 values hashing to 40f0d6be4ced8de2eb7231e0a581b408 - -query II nosort -SELECT abs(b-c), - b-c - FROM t1 - WHERE e+d BETWEEN a+b-10 AND c+130 - AND (a>b-2 AND at1.c AND x.da AND eb - AND c>d - ORDER BY 2,1 ----- - -query IIIIII nosort -SELECT a+b*2+c*3+d*4+e*5, - c, - e, - a+b*2+c*3, - abs(b-c), - CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END - FROM t1 - WHERE (a>b-2 AND ae - AND (e>c OR ec - OR EXISTS(SELECT 1 FROM t1 AS x WHERE x.bt1.c AND x.de - OR d NOT BETWEEN 110 AND 150 - OR c BETWEEN b-2 AND d+2 - ORDER BY 3,4,2,1 ----- -116 values hashing to 8a927705b4fec3a4b0d85784481196d6 - -query I nosort -SELECT CASE WHEN ac - OR c BETWEEN b-2 AND d+2 - OR d NOT BETWEEN 110 AND 150 - ORDER BY 1 ----- -29 values hashing to f81c86b5ccfceb91643fed162f9e5413 - -query IIIII nosort -SELECT (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.dt1.c AND x.d=d+2) - AND a>b - AND (e>a AND ee - OR b>c - OR (a>b-2 AND a(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END - FROM t1 - WHERE b>c - OR d NOT BETWEEN 110 AND 150 - OR e+d BETWEEN a+b-10 AND c+130 - ORDER BY 3,2,1 ----- -84 values hashing to 38047852bbef0987776d99a21d30ff30 - -query IIIIII nosort -SELECT CASE a+1 WHEN b THEN 111 WHEN c THEN 222 - WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, - e, - d-e, - b, - c, - b-c - FROM t1 - ORDER BY 3,5,6,2,4,1 ----- -180 values hashing to aab6e51c445fb06f5af7263688587491 - -query II nosort -SELECT a+b*2, - b - FROM t1 - ORDER BY 1,2 ----- -60 values hashing to 93d843e5c13d5f55222d50bb9152eb1e - -query I nosort -SELECT a+b*2+c*3+d*4 - FROM t1 - ORDER BY 1 ----- -30 values hashing to a97f06c7abca35ed0602e7a54b6ca0ac - -query IIII nosort -SELECT (SELECT count(*) FROM t1 AS x WHERE x.b=d+2) - ORDER BY 4,3,2,1 ----- -60 values hashing to e3257bfeb0e05898a093d9dd74a5c6f2 - -query IIIIIII nosort -SELECT (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.d(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - a+b*2+c*3+d*4+e*5, - a+b*2+c*3, - c-d - FROM t1 - WHERE (a>b-2 AND ab - AND (e>a AND e=d+2) - ORDER BY 3,1,5,4,2 ----- - -query III nosort -SELECT b, - CASE WHEN ae - ORDER BY 1 ----- -10 values hashing to aa2c9e190b3da5017e764235b4370941 - -query IIIII nosort -SELECT c, - (a+b+c+d+e)/5, - a-b, - CASE a+1 WHEN b THEN 111 WHEN c THEN 222 - WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, - (SELECT count(*) FROM t1 AS x WHERE x.bc - AND (a>b-2 AND ac OR e(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - a-b - FROM t1 - WHERE EXISTS(SELECT 1 FROM t1 AS x WHERE x.bc - OR a>b - ORDER BY 1,3,2 ----- -90 values hashing to 430c4c38368b95466b685c4e550fd8f9 - -query IIIIII nosort -SELECT a+b*2+c*3+d*4, - d-e, - a, - CASE a+1 WHEN b THEN 111 WHEN c THEN 222 - WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, - (a+b+c+d+e)/5, - abs(b-c) - FROM t1 - ORDER BY 2,4,3,1,5,6 ----- -180 values hashing to 0f795dad72b6ea42fe6e007088398156 - -query IIII nosort -SELECT a+b*2+c*3+d*4, - a+b*2, - e, - (a+b+c+d+e)/5 - FROM t1 - WHERE e+d BETWEEN a+b-10 AND c+130 - AND (e>c OR eb - AND (a>b-2 AND at1.c AND x.db-2 AND ac - ORDER BY 2,1,3,7,5,4,6 ----- -154 values hashing to b9a9dc5ffa8928273db7bcd669c53cd7 - -query IIIII nosort -SELECT abs(a), - e, - (SELECT count(*) FROM t1 AS x WHERE x.bt1.c AND x.db - ORDER BY 4,1,5,2,3 ----- -95 values hashing to 19afe88a8ec0b6ac1a596dcfbe7a73ef - -query IIIII nosort -SELECT (a+b+c+d+e)/5, - b, - a+b*2+c*3+d*4+e*5, - c, - d-e - FROM t1 - WHERE (a>b-2 AND ad - ORDER BY 2,5,3,4,1 ----- -100 values hashing to d6ab882caeb85ea55130fe69c466a44e - -query II nosort -SELECT abs(b-c), - c-d - FROM t1 - WHERE d NOT BETWEEN 110 AND 150 - ORDER BY 1,2 ----- -44 values hashing to 018884fc71c9cebc4bb35146e7140fc4 - -query III nosort -SELECT c, - a+b*2+c*3+d*4+e*5, - abs(a) - FROM t1 - WHERE e+d BETWEEN a+b-10 AND c+130 - AND (e>a AND et1.c AND x.dt1.c AND x.dc - OR d NOT BETWEEN 110 AND 150 - OR EXISTS(SELECT 1 FROM t1 AS x WHERE x.bd - AND (c<=d-2 OR c>=d+2) - AND (e>c OR eb-2 AND ac OR ed - ORDER BY 3,4,2,1 ----- -20 values hashing to c7b97476a8b2de6d251ac49288730b61 - -query III nosort -SELECT (a+b+c+d+e)/5, - a+b*2, - (SELECT count(*) FROM t1 AS x WHERE x.ba AND ed - ORDER BY 2,1,3 ----- -45 values hashing to 311eac4b65f312512b9dab39b0e930f1 - -query II nosort -SELECT a+b*2, - a - FROM t1 - WHERE c BETWEEN b-2 AND d+2 - OR (e>c OR ea AND et1.c AND x.da AND ec OR ec - ORDER BY 2,3,1,4,5 ----- -65 values hashing to 2fd8bd04880dbafe31b9a7c85fce3d0e - -query IIIII nosort -SELECT d-e, - CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - abs(b-c), - (a+b+c+d+e)/5, - c-d - FROM t1 - WHERE a>b - ORDER BY 1,3,2,4,5 ----- -95 values hashing to aac8ab5a470f3df896b0eae56bbde7a3 - -query IIIIIII nosort -SELECT b, - a, - abs(b-c), - a+b*2+c*3+d*4+e*5, - CASE a+1 WHEN b THEN 111 WHEN c THEN 222 - WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, - abs(a), - a+b*2 - FROM t1 - ORDER BY 4,1,2,7,5,3,6 ----- -210 values hashing to 4973d50dd296f034d899cf6e73423904 - -query II nosort -SELECT e, - CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END - FROM t1 - ORDER BY 2,1 ----- -60 values hashing to b4271452f1ca2257b0b5b6b13b626884 - -query IIIII nosort -SELECT b, - c-d, - CASE WHEN a(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END - FROM t1 - WHERE (e>c OR ed - OR (e>a AND e(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - a+b*2+c*3, - a+b*2+c*3+d*4 - FROM t1 - WHERE (c<=d-2 OR c>=d+2) - ORDER BY 2,4,3,1 ----- -60 values hashing to d2507af6237b5dfa47976be28455cdc2 - -query III nosort -SELECT CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - b-c, - CASE WHEN ad - ORDER BY 2,1,3 ----- -42 values hashing to ba254e8d09c76b7cbc07d9d591025883 - -query IIIII nosort -SELECT a+b*2+c*3, - d, - a, - a+b*2+c*3+d*4, - (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.dt1.c AND x.db - AND e+d BETWEEN a+b-10 AND c+130 - AND (e>a AND e(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - a+b*2+c*3+d*4, - c-d - FROM t1 - WHERE d NOT BETWEEN 110 AND 150 - OR (e>c OR ea AND ec OR et1.c AND x.dd - AND (e>c OR e=d+2) - ORDER BY 1,2,5,3,4 ----- -75 values hashing to 91e95036e8737e2902f3561cf2148b7c - -query IIIIIII nosort -SELECT abs(b-c), - a+b*2, - CASE WHEN a(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - (SELECT count(*) FROM t1 AS x WHERE x.bt1.c AND x.dt1.c AND x.db - AND c BETWEEN b-2 AND d+2 - ORDER BY 5,6,3,7,2,4,1 ----- -105 values hashing to 32404e31bbeb9f3a9e286caaf42683bf - -query III nosort -SELECT CASE a+1 WHEN b THEN 111 WHEN c THEN 222 - WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, - e, - abs(a) - FROM t1 - ORDER BY 3,1,2 ----- -90 values hashing to 5efa9ce21ccae8f703640e43d2d946c0 - -query I nosort -SELECT e - FROM t1 - WHERE c>d - OR d NOT BETWEEN 110 AND 150 - ORDER BY 1 ----- -27 values hashing to d8936a5a1a3837cd7f42c18b75761e64 - -query IIIIIII nosort -SELECT a+b*2+c*3, - b, - (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.de - OR c>d - OR e+d BETWEEN a+b-10 AND c+130 - ORDER BY 6,2,1,7,5,4,3 ----- -175 values hashing to 1086608e130bcb51302b4bfea65791e1 - -query III nosort -SELECT b-c, - (a+b+c+d+e)/5, - CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END - FROM t1 - WHERE b>c - ORDER BY 1,2,3 ----- -42 values hashing to fd6fa77bdab5731313460a6946f62f9c - -query IIIIIII nosort -SELECT a+b*2+c*3+d*4+e*5, - d-e, - b, - CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - a-b, - CASE a+1 WHEN b THEN 111 WHEN c THEN 222 - WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, - a+b*2+c*3+d*4 - FROM t1 - WHERE c BETWEEN b-2 AND d+2 - AND (e>a AND ee - ORDER BY 3,4,1,5,7,6,2 ----- -14 values hashing to 21927ded75a33b0171059772011e3c39 - -query IIIIIII nosort -SELECT e, - (SELECT count(*) FROM t1 AS x WHERE x.bc - AND d>e - ORDER BY 1,6,2,4,3,7,5 ----- -56 values hashing to 8f75e59b84b486d20c41620c1756b110 - -query IIIII nosort -SELECT b-c, - c, - CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - a+b*2, - (SELECT count(*) FROM t1 AS x WHERE x.b=d+2) - AND (e>c OR ec - ORDER BY 6,3,5,2,1,4 ----- -174 values hashing to 96589425bb0eb66f4f90e1e5a55c016a - -query II nosort -SELECT c, - CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END - FROM t1 - WHERE EXISTS(SELECT 1 FROM t1 AS x WHERE x.bb-2 AND ad - ORDER BY 2,1 ----- -60 values hashing to c44e044af3e6b6a0496d51ab6945c210 - -query I nosort -SELECT a+b*2+c*3+d*4+e*5 - FROM t1 - WHERE a>b - ORDER BY 1 ----- -19 values hashing to 48eb7e59034740832c393d911a912d77 - -query IIII nosort -SELECT (a+b+c+d+e)/5, - a+b*2+c*3+d*4, - d-e, - CASE a+1 WHEN b THEN 111 WHEN c THEN 222 - WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END - FROM t1 - WHERE d NOT BETWEEN 110 AND 150 - OR a>b - OR c BETWEEN b-2 AND d+2 - ORDER BY 1,4,2,3 ----- -112 values hashing to 206a85e9f59a2b97c6c2e3b771da6364 - -query I nosort -SELECT b-c - FROM t1 - WHERE d>e - ORDER BY 1 ----- -16 values hashing to c5cb15074dbce6c2853b664f05e5a06a - -query II nosort -SELECT (SELECT count(*) FROM t1 AS x WHERE x.bc OR ec - ORDER BY 1 ----- -28 values hashing to 500599c81c6d8eaa90fb53c0b081fa78 - -query IIIIIII nosort -SELECT e, - b, - a+b*2+c*3+d*4+e*5, - CASE WHEN ae - OR d NOT BETWEEN 110 AND 150 - OR c BETWEEN b-2 AND d+2 - ORDER BY 2,5,3,1,7,6,4 ----- -203 values hashing to 69f1ab3523d66c81419f77f0fdbf1df0 - -query III nosort -SELECT a+b*2+c*3, - d-e, - a-b - FROM t1 - WHERE (e>a AND ee - OR (e>c OR e(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END - FROM t1 - ORDER BY 2,5,4,3,1 ----- -150 values hashing to 1ed27c9e9967fcf30b0548861bbd897d - -query III nosort -SELECT a, - (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.dc - OR EXISTS(SELECT 1 FROM t1 AS x WHERE x.bt1.c AND x.db - ORDER BY 4,3,2,1 ----- -76 values hashing to 398f40cd078cf29a60f7cac9350455b5 - -query III nosort -SELECT d, - c, - a - FROM t1 - WHERE EXISTS(SELECT 1 FROM t1 AS x WHERE x.be - AND a>b - ORDER BY 3,2,1 ----- -30 values hashing to c3498c035170a43e2fdea03d899bdbf0 - -query I nosort -SELECT CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END - FROM t1 - WHERE b>c - ORDER BY 1 ----- -14 values hashing to af1d86a32171d08bae1f8f3033e8a3dc - -query IIII nosort -SELECT c-d, - b-c, - CASE WHEN ab - AND (a>b-2 AND at1.c AND x.d(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - d, - b - FROM t1 - WHERE c BETWEEN b-2 AND d+2 - OR (e>a AND ec OR et1.c AND x.dd - OR c BETWEEN b-2 AND d+2 - OR EXISTS(SELECT 1 FROM t1 AS x WHERE x.b(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END - FROM t1 - WHERE (e>a AND ec - ORDER BY 2,1 ----- -36 values hashing to 05293d133ca2cac2f19e4e30db84dfda - -query I nosort -SELECT (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.dc OR ee - ORDER BY 1 ----- -0 -0 -0 - -query IIII nosort -SELECT a+b*2+c*3+d*4+e*5, - (SELECT count(*) FROM t1 AS x WHERE x.bd - ORDER BY 1,3,2,4 ----- -108 values hashing to a55defafbbd45ee8744132dd35910cbf - -query IIIIII nosort -SELECT CASE a+1 WHEN b THEN 111 WHEN c THEN 222 - WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, - abs(b-c), - c, - CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - a+b*2, - d - FROM t1 - ORDER BY 3,1,2,5,4,6 ----- -180 values hashing to d24051044659497869bcab93873c4188 - -query IIIIII nosort -SELECT (SELECT count(*) FROM t1 AS x WHERE x.bb - OR (e>a AND ee - OR e+d BETWEEN a+b-10 AND c+130 - OR EXISTS(SELECT 1 FROM t1 AS x WHERE x.bt1.c AND x.d(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - b-c, - (a+b+c+d+e)/5 - FROM t1 - ORDER BY 1,3,6,2,5,4 ----- -180 values hashing to 76cb0f185711243083f4b8769f948815 - -query IIIII nosort -SELECT CASE a+1 WHEN b THEN 111 WHEN c THEN 222 - WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, - c-d, - abs(b-c), - a+b*2+c*3, - (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.db-2 AND ab - ORDER BY 4,1,5,3,2 ----- -35 values hashing to 3af25b67f93d88c1a5f7c4641a52f3f5 - -query IIIII nosort -SELECT b, - a, - (a+b+c+d+e)/5, - b-c, - e - FROM t1 - WHERE (c<=d-2 OR c>=d+2) - OR a>b - ORDER BY 3,1,2,5,4 ----- -120 values hashing to 9fc494d65a15058f4386b7654088f517 - -query IIIII nosort -SELECT b, - d-e, - (a+b+c+d+e)/5, - CASE WHEN aa AND e(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - b-c, - c, - a+b*2+c*3+d*4+e*5 - FROM t1 - WHERE EXISTS(SELECT 1 FROM t1 AS x WHERE x.bt1.c AND x.d=d+2) - OR d NOT BETWEEN 110 AND 150 - ORDER BY 1 ----- -24 values hashing to 27eeb568907f3b4f8a48a13652124dd5 - -query IIIII nosort -SELECT b-c, - a+b*2+c*3+d*4+e*5, - CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - d, - (SELECT count(*) FROM t1 AS x WHERE x.bc - ORDER BY 5,4,3,1,2 ----- -70 values hashing to 2fc87ee25975a40d8f08b0d9bf0d3d90 - -query II nosort -SELECT d-e, - abs(a) - FROM t1 - WHERE b>c - OR a>b - ORDER BY 1,2 ----- -52 values hashing to e6db37d26bb91829602e9d68636d1265 - -query IIII nosort -SELECT CASE a+1 WHEN b THEN 111 WHEN c THEN 222 - WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, - c, - CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - a+b*2+c*3+d*4 - FROM t1 - WHERE c>d - ORDER BY 2,1,4,3 ----- -56 values hashing to 21573d64e6cae82382f9e87571cb6cbb - -query I nosort -SELECT a+b*2+c*3+d*4+e*5 - FROM t1 - ORDER BY 1 ----- -30 values hashing to 9a0d83a47e9ea85f0da38e0f9ca27f2e - -query II nosort -SELECT a, - (a+b+c+d+e)/5 - FROM t1 - ORDER BY 1,2 ----- -60 values hashing to 46131633c62f2d9e6f547c327a590045 - -query IIIII nosort -SELECT CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - a+b*2+c*3+d*4+e*5, - abs(a), - (SELECT count(*) FROM t1 AS x WHERE x.b=d+2) - ORDER BY 5,3,1,2,4 ----- -75 values hashing to 810738d2ed0af0a3f1387238b5a684c0 - -query II nosort -SELECT c, - CASE a+1 WHEN b THEN 111 WHEN c THEN 222 - WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END - FROM t1 - WHERE c BETWEEN b-2 AND d+2 - AND c>d - ORDER BY 1,2 ----- -22 values hashing to 5084ee86fa8b2112bfe752d383673d51 - -query III nosort -SELECT a+b*2, - a-b, - CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END - FROM t1 - WHERE (e>a AND ee - ORDER BY 3,1,2 ----- -666 --3 -440 -743 --4 -490 - -query III nosort -SELECT c, - d-e, - (a+b+c+d+e)/5 - FROM t1 - WHERE e+d BETWEEN a+b-10 AND c+130 - OR d NOT BETWEEN 110 AND 150 - OR (e>c OR e(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - abs(b-c) - FROM t1 - WHERE d>e - ORDER BY 2,3,1 ----- -48 values hashing to d0ea668a25e020372a556318afe192ab - -query IIIII nosort -SELECT (SELECT count(*) FROM t1 AS x WHERE x.bc OR ea AND e(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - a, - (a+b+c+d+e)/5, - CASE WHEN a(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - a - FROM t1 - ORDER BY 3,4,2,1,5 ----- -150 values hashing to f5251080e285634a78600eb37689b6bd - -query II nosort -SELECT a+b*2+c*3, - a+b*2+c*3+d*4 - FROM t1 - WHERE b>c - AND a>b - ORDER BY 1,2 ----- -14 values hashing to 09449abc628f43f2b2cfd09cb028fcbd - -query IIIIII nosort -SELECT CASE a+1 WHEN b THEN 111 WHEN c THEN 222 - WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, - a+b*2+c*3+d*4+e*5, - d-e, - c-d, - (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.dc - ORDER BY 6,5,3,2,4,1 ----- -84 values hashing to 4eacead92f2a04db9b0334482576382b - -query II nosort -SELECT CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - a-b - FROM t1 - WHERE EXISTS(SELECT 1 FROM t1 AS x WHERE x.be - ORDER BY 1,2 ----- -58 values hashing to 0ca31be7aa54df86423f9f699007a2df - -query I nosort -SELECT a-b - FROM t1 - WHERE EXISTS(SELECT 1 FROM t1 AS x WHERE x.bt1.c AND x.dc - ORDER BY 1,4,2,5,6,3 ----- -174 values hashing to 742703bb047dc6b6254470d20be52ae0 - -query IIIII nosort -SELECT CASE WHEN ab-2 AND ac - OR c>d - ORDER BY 3,5,6,4,2,1 ----- -144 values hashing to 02ea802456562964743e691697e71348 - -query III nosort -SELECT CASE a+1 WHEN b THEN 111 WHEN c THEN 222 - WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, - a, - (a+b+c+d+e)/5 - FROM t1 - WHERE EXISTS(SELECT 1 FROM t1 AS x WHERE x.b(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - e - FROM t1 - WHERE b>c - AND EXISTS(SELECT 1 FROM t1 AS x WHERE x.bd - ORDER BY 1,2 ----- -382 -192 -1240 -120 -1390 -135 -1430 -144 - -query II nosort -SELECT abs(a), - a-b - FROM t1 - WHERE d NOT BETWEEN 110 AND 150 - AND c BETWEEN b-2 AND d+2 - AND (e>a AND ee - OR b>c - OR d NOT BETWEEN 110 AND 150 - ORDER BY 2,1 ----- -58 values hashing to 51eb92d661a225afae03f1e126f36433 - -query IIIIII nosort -SELECT (SELECT count(*) FROM t1 AS x WHERE x.bt1.c AND x.dc - AND EXISTS(SELECT 1 FROM t1 AS x WHERE x.bc OR ec - OR c BETWEEN b-2 AND d+2 - OR (e>c OR ec OR e(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - a+b*2+c*3, - d, - b - FROM t1 - ORDER BY 2,1,3,4 ----- -120 values hashing to 7cc11574f6ea460034eb783876fd7af5 - -query I nosort -SELECT c-d - FROM t1 - WHERE (a>b-2 AND at1.c AND x.dd - AND EXISTS(SELECT 1 FROM t1 AS x WHERE x.bb - ORDER BY 1,3,2 ----- -57 values hashing to ef45e87dcde7a60906a6839e404a6b19 - -query IIIII nosort -SELECT d, - a+b*2+c*3, - a+b*2, - (a+b+c+d+e)/5, - a+b*2+c*3+d*4 - FROM t1 - WHERE (e>a AND ee - AND d NOT BETWEEN 110 AND 150 - ORDER BY 1,2,3,5,4 ----- -10 values hashing to e577677386407b04f8bdb559232e1085 - -query IIIIIII nosort -SELECT CASE WHEN at1.c AND x.d(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - abs(a), - c - FROM t1 - WHERE e+d BETWEEN a+b-10 AND c+130 - AND b>c - AND (e>a AND ea AND ec - AND (c<=d-2 OR c>=d+2) - ORDER BY 1,2 ----- -193 -222 - -query II nosort -SELECT b-c, - c - FROM t1 - ORDER BY 1,2 ----- -60 values hashing to 5dbfa03f06c7e5ccaaab18dc8fe14c36 - -query IIIIII nosort -SELECT CASE a+1 WHEN b THEN 111 WHEN c THEN 222 - WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, - CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - a+b*2+c*3+d*4+e*5, - a+b*2+c*3+d*4, - a+b*2+c*3, - c-d - FROM t1 - WHERE (e>a AND ec OR ed - ORDER BY 3,2,6,5,4,1 ----- -180 values hashing to 97f125b8bdce9deb0111aa11307179d3 - -query I nosort -SELECT d - FROM t1 - WHERE d>e - ORDER BY 1 ----- -16 values hashing to 8e559d439152e33138660c7aa7710793 - -query IIII nosort -SELECT a+b*2+c*3+d*4+e*5, - a, - CASE a+1 WHEN b THEN 111 WHEN c THEN 222 - WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, - a-b - FROM t1 - ORDER BY 4,3,2,1 ----- -120 values hashing to f614d7af58f04a09e4b5dda636fb7790 - -query IIIIII nosort -SELECT abs(a), - e, - c-d, - (SELECT count(*) FROM t1 AS x WHERE x.bt1.c AND x.dc - ORDER BY 5,3,6,1,4,2 ----- -48 values hashing to 603d52ce942c28eb4f224d7e9ea74524 - -query IIII nosort -SELECT CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - CASE WHEN ab - ORDER BY 1,3,4,2 ----- -76 values hashing to 10d6eaf3cbdaaff42d6460c350423046 - -query III nosort -SELECT abs(a), - a+b*2+c*3, - (a+b+c+d+e)/5 - FROM t1 - ORDER BY 3,1,2 ----- -90 values hashing to a94a0b4568605d51d7e9a369e55805d8 - -query IIIIII nosort -SELECT c-d, - CASE WHEN aa AND ec - OR c BETWEEN b-2 AND d+2 - OR (a>b-2 AND ab - OR c BETWEEN b-2 AND d+2 - OR (a>b-2 AND ae - OR (e>a AND eb-2 AND at1.c AND x.d(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - c, - e - FROM t1 - WHERE e+d BETWEEN a+b-10 AND c+130 - OR (e>c OR ec OR ee - ORDER BY 1,2,3 ----- -48 values hashing to 40e60735f1fdf2e1d665a6c00b9bd1d3 - -query IIIII nosort -SELECT (SELECT count(*) FROM t1 AS x WHERE x.b(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - c-d - FROM t1 - WHERE a>b - OR e+d BETWEEN a+b-10 AND c+130 - ORDER BY 5,3,1,4,2 ----- -115 values hashing to 87b7852145d2cd4b4aef60d7fde294ca - -query IIIIII nosort -SELECT b-c, - (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.dt1.c AND x.db - ORDER BY 1,2,3 ----- -57 values hashing to c8d389e6c270e554bc93a318ef21e848 - -query II nosort -SELECT CASE a+1 WHEN b THEN 111 WHEN c THEN 222 - WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, - abs(b-c) - FROM t1 - WHERE d NOT BETWEEN 110 AND 150 - ORDER BY 2,1 ----- -44 values hashing to 892187bfe8f83478b3118df7af04c478 - -query III nosort -SELECT a+b*2+c*3+d*4+e*5, - a, - a+b*2 - FROM t1 - WHERE (c<=d-2 OR c>=d+2) - ORDER BY 2,1,3 ----- -45 values hashing to b667af4ebb350909eba296967ceeb7db - -query I nosort -SELECT b - FROM t1 - WHERE a>b - OR EXISTS(SELECT 1 FROM t1 AS x WHERE x.bc OR ee - ORDER BY 3,4,1,5,6,2 ----- -96 values hashing to a2adef429b6e4247068b4049bbe324c2 - -query IIII nosort -SELECT c-d, - c, - abs(a), - a+b*2+c*3 - FROM t1 - WHERE c BETWEEN b-2 AND d+2 - AND (e>c OR e=d+2) - AND (e>a AND et1.c AND x.db-2 AND a(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - c-d - FROM t1 - ORDER BY 4,3,5,6,2,1,7 ----- -210 values hashing to 97070114fe06bdcda7ac636afcb1201d - -query IIIII nosort -SELECT a, - d-e, - c, - a+b*2, - e - FROM t1 - WHERE a>b - OR c>d - OR (c<=d-2 OR c>=d+2) - ORDER BY 2,3,5,4,1 ----- -140 values hashing to 9644b07604668d80e82ada3908306f8b - -query IIIIIII nosort -SELECT CASE a+1 WHEN b THEN 111 WHEN c THEN 222 - WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, - b-c, - e, - (SELECT count(*) FROM t1 AS x WHERE x.ba AND ec OR et1.c AND x.dc OR e=d+2) - ORDER BY 5,3,4,6,1,2 ----- -90 values hashing to 81d55ba8fc8d4f980c895049d3ced18b - -query IIIIII nosort -SELECT a-b, - b, - a+b*2+c*3+d*4+e*5, - d-e, - CASE a+1 WHEN b THEN 111 WHEN c THEN 222 - WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, - c-d - FROM t1 - ORDER BY 5,2,1,4,3,6 ----- -180 values hashing to 8290882412be354b12366d09fa630d1e - -query IIII nosort -SELECT abs(b-c), - (SELECT count(*) FROM t1 AS x WHERE x.ba AND ee - ORDER BY 2,1,4,3 ----- -1 -24 --1 -2226 -2 -29 -2 -2476 - -query IIIIIII nosort -SELECT (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.de - OR (c<=d-2 OR c>=d+2) - ORDER BY 7,3,2,4,6,1,5 ----- -154 values hashing to ead80733a2080af9498e2ac38198e68e - -query IIIII nosort -SELECT d, - (a+b+c+d+e)/5, - d-e, - a, - CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END - FROM t1 - WHERE (e>a AND e=d+2) - AND a>b - ORDER BY 5,2,1,4,3 ----- - -query IIII nosort -SELECT (SELECT count(*) FROM t1 AS x WHERE x.bd - ORDER BY 1,2,3,4 ----- -40 values hashing to ce114edef775ad5ff5fdc63fd86c4a61 - -query III nosort -SELECT (SELECT count(*) FROM t1 AS x WHERE x.be - ORDER BY 1 ----- -16 values hashing to 952e6c754c450612dd99b9d315977052 - -query I nosort -SELECT (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.dt1.c AND x.dc OR e=d+2) - OR c BETWEEN b-2 AND d+2 - ORDER BY 1 ----- -27 values hashing to 65b034305850359755cf9f64c93c650b - -query I nosort -SELECT a+b*2 - FROM t1 - WHERE EXISTS(SELECT 1 FROM t1 AS x WHERE x.bt1.c AND x.da AND eb - AND e+d BETWEEN a+b-10 AND c+130 - ORDER BY 5,6,1,2,4,3 ----- -105 -106 -109 -1612 -107 --1 - -query IIII nosort -SELECT (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.de - AND b>c - ORDER BY 2,1 ----- -1226 -4 -1272 -5 - -query IIIIIII nosort -SELECT (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.d(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - d, - a+b*2+c*3+d*4, - abs(a) - FROM t1 - WHERE (c<=d-2 OR c>=d+2) - ORDER BY 2,5,1,3,7,6,4 ----- -105 values hashing to b3e0305b909d1f2abf1dc3c1745ac029 - -query III nosort -SELECT a+b*2+c*3+d*4+e*5, - a-b, - a+b*2+c*3+d*4 - FROM t1 - WHERE b>c - AND a>b - ORDER BY 1,3,2 ----- -21 values hashing to 6e285698d68e49feed2cfcec62881d8f - -query III nosort -SELECT b, - d, - b-c - FROM t1 - WHERE c BETWEEN b-2 AND d+2 - OR e+d BETWEEN a+b-10 AND c+130 - ORDER BY 3,1,2 ----- -72 values hashing to db08ffa5ab591ad342518407f8decdc7 - -query IIIIII nosort -SELECT CASE WHEN aa AND e=d+2) - ORDER BY 4,3,1,5,6,2 ----- -18 values hashing to 76184d922629d1e6f7e15aab28e5b2fb - -query I nosort -SELECT (a+b+c+d+e)/5 - FROM t1 - WHERE d NOT BETWEEN 110 AND 150 - AND (e>a AND e=d+2) - AND (a>b-2 AND ab - AND b>c - AND (e>c OR et1.c AND x.dc - OR d NOT BETWEEN 110 AND 150 - OR (e>a AND eb-2 AND a(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - CASE WHEN ab-2 AND ae - OR b>c - ORDER BY 4,2,1,6,5,3 ----- -144 values hashing to a794024d0a6d2be248d44841cdc86d7e - -query IIIIIII nosort -SELECT a+b*2+c*3+d*4+e*5, - CASE WHEN ad - OR e+d BETWEEN a+b-10 AND c+130 - OR (e>a AND ee - AND e+d BETWEEN a+b-10 AND c+130 - AND a>b - ORDER BY 1 ----- - -query IIII nosort -SELECT a+b*2+c*3, - d, - e, - a+b*2+c*3+d*4 - FROM t1 - WHERE d>e - AND c BETWEEN b-2 AND d+2 - AND (a>b-2 AND a(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - e, - a+b*2+c*3+d*4, - a, - a+b*2+c*3, - (a+b+c+d+e)/5 - FROM t1 - WHERE b>c - ORDER BY 7,4,2,6,5,3,1 ----- -98 values hashing to 1a15f531b014dbe47026fef24f6aecb2 - -query IIIIII nosort -SELECT CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - b-c, - a, - (a+b+c+d+e)/5, - c, - a+b*2 - FROM t1 - WHERE d>e - AND EXISTS(SELECT 1 FROM t1 AS x WHERE x.bb - AND (e>a AND ee - AND (a>b-2 AND at1.c AND x.d=d+2) - ORDER BY 1 ----- -1 -3 -5 - -query I nosort -SELECT a-b - FROM t1 - WHERE (e>c OR ea AND e=d+2) - AND (e>c OR et1.c AND x.d=d+2) - AND a>b - AND (e>c OR eb - ORDER BY 2,1 ----- -60 values hashing to 467e5d25c71478e4f23e2aadc3c9a524 - -query IIIIII nosort -SELECT abs(b-c), - CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - (SELECT count(*) FROM t1 AS x WHERE x.bc OR e=d+2) - ORDER BY 5,6,2,4,3,1 ----- -180 values hashing to 9d090400bed173943daf9f4bed32cdab - -query II nosort -SELECT abs(a), - (a+b+c+d+e)/5 - FROM t1 - WHERE d NOT BETWEEN 110 AND 150 - AND c BETWEEN b-2 AND d+2 - AND d>e - ORDER BY 2,1 ----- -20 values hashing to 1f44c045307d237a4088fc48e14eba67 - -query III nosort -SELECT CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - a+b*2+c*3+d*4+e*5, - a+b*2+c*3+d*4 - FROM t1 - WHERE (a>b-2 AND at1.c AND x.dc OR eb - ORDER BY 1 ----- -28 values hashing to a76dc8384405fa57100e5dffbbd99b99 - -query IIIII nosort -SELECT c-d, - CASE a+1 WHEN b THEN 111 WHEN c THEN 222 - WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, - c, - (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.db-2 AND a(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - CASE WHEN at1.c AND x.dc - ORDER BY 1 ----- -14 values hashing to e353df4d3a72978b3f4fd672cd9bf5fd - -query IIII nosort -SELECT b-c, - a, - a+b*2+c*3+d*4, - d - FROM t1 - WHERE (a>b-2 AND ad - AND d>e - ORDER BY 4,2,3,1 ----- -12 values hashing to 8ffc4e78f33b8122501c601b2692870a - -query IIIIIII nosort -SELECT (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.de - ORDER BY 3,4,2,6,5,7,1 ----- -112 values hashing to 3a34b6923ab936224547f54261b88bd9 - -query IIIIII nosort -SELECT a, - CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - (a+b+c+d+e)/5, - (SELECT count(*) FROM t1 AS x WHERE x.ba AND et1.c AND x.d=d+2) - OR c>d - OR b>c - ORDER BY 4,2,3,5,1 ----- -135 values hashing to 4305481e9a7ca71ef955b400497b8a93 - -query IIIII nosort -SELECT b-c, - CASE WHEN ab-2 AND at1.c AND x.dt1.c AND x.dd - ORDER BY 3,1,2 ----- -90 values hashing to 4f5f0d9293917c38b9f4b02cd5186710 - -query IIII nosort -SELECT a+b*2, - (SELECT count(*) FROM t1 AS x WHERE x.b(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END - FROM t1 - WHERE (a>b-2 AND ac - ORDER BY 3,1,2,4 ----- -76 values hashing to ea6edb85e6478b917bdf5a7a0901f86b - -query IIII nosort -SELECT (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.db - ORDER BY 3,4,2,1 ----- -68 values hashing to efb249f37bdc0e2144ea0f8a265caab5 - -query III nosort -SELECT e, - d-e, - a+b*2+c*3 - FROM t1 - ORDER BY 2,3,1 ----- -90 values hashing to 77b9f35e0dae20699e29f95090443b31 - -query IIIIIII nosort -SELECT a-b, - e, - a, - CASE a+1 WHEN b THEN 111 WHEN c THEN 222 - WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, - c-d, - abs(a), - a+b*2+c*3 - FROM t1 - WHERE (e>c OR e=d+2) - OR (e>a AND et1.c AND x.d=d+2) - ORDER BY 3,4,1,2 ----- -60 values hashing to d5adb2536f4ed1202bbffe836134c8b8 - -query I nosort -SELECT (SELECT count(*) FROM t1 AS x WHERE x.bc OR eb-2 AND ab-2 AND ae - ORDER BY 1 ----- -26 values hashing to 94e65afbe9fac7f180c1e29f697217ae - -query IIIII nosort -SELECT abs(b-c), - a+b*2, - CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - CASE WHEN at1.c AND x.db - ORDER BY 2,4,1,3 ----- -76 values hashing to c842520d07c8a4805c0e9c46781e4e44 - -query IIIII nosort -SELECT CASE WHEN ac OR ee - AND c>d - ORDER BY 3,5,1,2,4,6,7 ----- -42 values hashing to 8a2061b95c0b1ec21cb1a6a698c4b102 - -query IIIIII nosort -SELECT d-e, - CASE WHEN ac - ORDER BY 1,4,6,3,5,2 ----- -84 values hashing to 01735d043bb36ecd392f6788eca95cf8 - -query IIIIII nosort -SELECT (a+b+c+d+e)/5, - c-d, - (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.de - ORDER BY 1,6,2,5,4,3 ----- -96 values hashing to 521dca6d96de8a96e1ee4b3bfd22ca84 - -query I nosort -SELECT (SELECT count(*) FROM t1 AS x WHERE x.ba AND e(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - (SELECT count(*) FROM t1 AS x WHERE x.bt1.c AND x.d=d+2) - ORDER BY 2,4,3,1 ----- -116 values hashing to 7475b1713d2bb04b2f15460ec5487648 - -query II nosort -SELECT CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.dd - ORDER BY 2,1 ----- -28 values hashing to 7bb527bc1d2528e5b09d04fcd8e6a1fb - -query IIIIIII nosort -SELECT (a+b+c+d+e)/5, - abs(b-c), - a+b*2+c*3+d*4, - d, - CASE WHEN ab - OR b>c - OR c>d - ORDER BY 1,4,5,2,6,7,3 ----- -203 values hashing to ecb118bb9e9db9c6c1db84c7e8cb1b33 - -query IIIIII nosort -SELECT abs(a), - c, - a+b*2, - a+b*2+c*3+d*4, - d, - a - FROM t1 - WHERE EXISTS(SELECT 1 FROM t1 AS x WHERE x.b(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END - FROM t1 - WHERE (e>a AND ee - ORDER BY 1,2 ----- --1 -440 -2 -490 - -query III nosort -SELECT a-b, - c-d, - b - FROM t1 - WHERE (e>a AND e(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - a+b*2, - CASE WHEN at1.c AND x.d(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - e, - (a+b+c+d+e)/5, - a+b*2+c*3+d*4 - FROM t1 - WHERE (a>b-2 AND ae - AND (a>b-2 AND aa AND eb-2 AND ad - AND (e>c OR e(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - CASE WHEN aa AND ed - ORDER BY 1,5,4,6,3,2,7 ----- -14 values hashing to 36b2a781a944b283d58e7a573cab851b - -query IIIIII nosort -SELECT (a+b+c+d+e)/5, - a+b*2, - CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - b-c, - d-e, - b - FROM t1 - ORDER BY 6,1,4,3,5,2 ----- -180 values hashing to 6f2020f467ce29412c031650b8237f76 - -query IIIIII nosort -SELECT d, - c, - CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - a, - c-d, - a-b - FROM t1 - ORDER BY 6,4,3,2,5,1 ----- -180 values hashing to 0dcd430be5b1500b15daaa5fbb28fb46 - -query IIII nosort -SELECT a, - CASE WHEN ac - OR (e>c OR eb-2 AND ac OR ee - ORDER BY 3,2,1 ----- -81 values hashing to e402ef9e6993672296cd0149b030ea63 - -query IIIIII nosort -SELECT a+b*2+c*3+d*4+e*5, - CASE WHEN at1.c AND x.de - AND EXISTS(SELECT 1 FROM t1 AS x WHERE x.b(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END - FROM t1 - WHERE a>b - AND (e>a AND e=d+2) - ORDER BY 1,2,3 ----- - -query IIIIIII nosort -SELECT e, - (a+b+c+d+e)/5, - a+b*2, - a, - CASE a+1 WHEN b THEN 111 WHEN c THEN 222 - WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, - abs(b-c), - (SELECT count(*) FROM t1 AS x WHERE x.bb-2 AND ad - ORDER BY 1,3,4,2 ----- -56 values hashing to cc7ce87dc30f7946610a5123e11cb223 - -query IIIIII nosort -SELECT b, - abs(b-c), - d, - a-b, - d-e, - c - FROM t1 - WHERE c BETWEEN b-2 AND d+2 - ORDER BY 2,5,1,4,6,3 ----- -132 values hashing to 6ce5ff5deff42e42bea3970fee72519b - -query IIII nosort -SELECT b-c, - CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - a, - d - FROM t1 - WHERE (a>b-2 AND a=d+2) - OR a>b - ORDER BY 1,2 ----- -52 values hashing to 645a7d1f1ea6951d2ea4ad569bb7fb6d - -query IIIIIII nosort -SELECT a, - b, - abs(b-c), - e, - a+b*2, - d-e, - (a+b+c+d+e)/5 - FROM t1 - WHERE b>c - AND c>d - ORDER BY 6,1,7,2,5,4,3 ----- -28 values hashing to 0b0814cb234a17e666c66c7674f50432 - -query IIIIIII nosort -SELECT b, - a-b, - e, - d, - abs(a), - (SELECT count(*) FROM t1 AS x WHERE x.bt1.c AND x.de - ORDER BY 2,1,5,3,6,4,7 ----- -105 values hashing to ad1f447f56a3bc9d467abea530124a7c - -query II nosort -SELECT CASE a+1 WHEN b THEN 111 WHEN c THEN 222 - WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, - c-d - FROM t1 - WHERE (c<=d-2 OR c>=d+2) - ORDER BY 2,1 ----- -30 values hashing to 8d21e20a71a7efb567bf98815988b2ca - -query IIIIIII nosort -SELECT abs(b-c), - e, - a-b, - d-e, - (SELECT count(*) FROM t1 AS x WHERE x.bc - OR c>d - OR e+d BETWEEN a+b-10 AND c+130 - ORDER BY 6,5,7,2,3,1,4 ----- -182 values hashing to 1e66a41fd384508140aef80d5ac47ef4 - -query IIIII nosort -SELECT c-d, - CASE a+1 WHEN b THEN 111 WHEN c THEN 222 - WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, - d, - a+b*2+c*3, - CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END - FROM t1 - WHERE EXISTS(SELECT 1 FROM t1 AS x WHERE x.bc - AND c>d - ORDER BY 3,4,1,2,5 ----- -20 values hashing to cfb7c2f188b2c59ec68ec61e00d4ec65 - -query IIIII nosort -SELECT b, - a-b, - a+b*2+c*3+d*4+e*5, - (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.dd - ORDER BY 1,2,3,5,4 ----- -45 values hashing to 170723580d1cb9c1114c2269200ebca6 - -query IIIIIII nosort -SELECT CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - (SELECT count(*) FROM t1 AS x WHERE x.bt1.c AND x.db-2 AND ad - ORDER BY 5,2,3,1,4 ----- -100 values hashing to fa488a9496d55b35f2ff191b3ad1a2d8 - -query I nosort -SELECT a+b*2 - FROM t1 - WHERE (a>b-2 AND ac - ORDER BY 1 ----- -416 -428 -475 -502 -595 -685 - -query IIII nosort -SELECT abs(b-c), - d-e, - a+b*2, - CASE a+1 WHEN b THEN 111 WHEN c THEN 222 - WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END - FROM t1 - WHERE (c<=d-2 OR c>=d+2) - OR d NOT BETWEEN 110 AND 150 - OR c>d - ORDER BY 4,2,3,1 ----- -112 values hashing to 740c8b35a809b741f6b92e076bb4bec9 - -query IIII nosort -SELECT b-c, - CASE WHEN a(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END - FROM t1 - WHERE (e>a AND e(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - c - FROM t1 - WHERE EXISTS(SELECT 1 FROM t1 AS x WHERE x.b=d+2) - ORDER BY 2,3,1 ----- -45 values hashing to f0eaad06d4e85740bf5623d60f120f17 - -query II nosort -SELECT (SELECT count(*) FROM t1 AS x WHERE x.b(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - d-e, - (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.de - ORDER BY 3,2,1 ----- -30 values hashing to 2901062890d6f99efdf4d841b7f489d0 - -query III nosort -SELECT CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - c-d, - e - FROM t1 - WHERE (e>a AND ec OR et1.c AND x.da AND ec OR e(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END - FROM t1 - ORDER BY 1,5,3,6,4,2 ----- -180 values hashing to 9e77f9ed9bd331d9f1eeb06feec44f16 - -query IIII nosort -SELECT a+b*2, - d, - abs(a), - CASE a+1 WHEN b THEN 111 WHEN c THEN 222 - WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END - FROM t1 - WHERE b>c - OR (c<=d-2 OR c>=d+2) - OR (e>c OR ea AND e(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - abs(b-c), - abs(a) - FROM t1 - WHERE (e>c OR ee - AND c BETWEEN b-2 AND d+2 - ORDER BY 3,1,2 ----- -45 values hashing to 102582469cb62371cfbc186e014c296e - -query IIIII nosort -SELECT c, - CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - d-e, - CASE a+1 WHEN b THEN 111 WHEN c THEN 222 - WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, - CASE WHEN ac - AND a>b - ORDER BY 3,4,2,5,1 ----- -35 values hashing to 7cb0b4009eb9e0011b93c5af70485d17 - -query I nosort -SELECT CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END - FROM t1 - WHERE a>b - AND c>d - AND d>e - ORDER BY 1 ----- -364 -426 -1300 - -query II nosort -SELECT d, - c - FROM t1 - WHERE c BETWEEN b-2 AND d+2 - AND d>e - ORDER BY 1,2 ----- -30 values hashing to 06a7d44acf151628b3050a8ebc708745 - -query IIIIII nosort -SELECT a, - c-d, - c, - (a+b+c+d+e)/5, - abs(b-c), - b - FROM t1 - ORDER BY 1,2,5,4,6,3 ----- -180 values hashing to 9df8e505f6af7d80e748782b27be48b2 - -query IIIII nosort -SELECT a+b*2+c*3+d*4, - d, - abs(a), - c-d, - a - FROM t1 - ORDER BY 1,3,4,2,5 ----- -150 values hashing to 9d11482f04d6dd368144c2aceb19836e - -query IIIIIII nosort -SELECT c, - CASE a+1 WHEN b THEN 111 WHEN c THEN 222 - WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, - e, - a, - d-e, - b-c, - d - FROM t1 - WHERE d NOT BETWEEN 110 AND 150 - ORDER BY 1,7,6,2,3,4,5 ----- -154 values hashing to 6950c3ac5c51bd413a03bd20fdf5c976 - -query IIII nosort -SELECT CASE a+1 WHEN b THEN 111 WHEN c THEN 222 - WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, - d, - b-c, - c - FROM t1 - ORDER BY 3,1,2,4 ----- -120 values hashing to 0c20126a16dd6d7a591cb8c94260de86 - -query I nosort -SELECT c - FROM t1 - WHERE b>c - OR (e>c OR ec OR e=d+2) - OR EXISTS(SELECT 1 FROM t1 AS x WHERE x.b(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - d-e, - c, - abs(a) - FROM t1 - WHERE (e>a AND eb-2 AND at1.c AND x.d(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - e - FROM t1 - ORDER BY 1,5,4,3,2 ----- -150 values hashing to 37ae594d2c57e581ced3eaa5665cc2db - -query IIIIII nosort -SELECT CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - a+b*2+c*3, - e, - d, - b-c, - a - FROM t1 - WHERE e+d BETWEEN a+b-10 AND c+130 - OR (a>b-2 AND ab - OR b>c - ORDER BY 1,2 ----- -52 values hashing to fde099baa23ed9f3ff2a2988e2603220 - -query IIIIII nosort -SELECT b-c, - CASE a+1 WHEN b THEN 111 WHEN c THEN 222 - WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, - a, - a+b*2, - a+b*2+c*3, - e - FROM t1 - WHERE (e>c OR e(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - abs(b-c), - abs(a), - b, - CASE WHEN ae - ORDER BY 1,5,3,2,4 ----- -50 values hashing to 6d4c0ad38c9599f7bdb7ced14ae8b892 - -query IIII nosort -SELECT CASE a+1 WHEN b THEN 111 WHEN c THEN 222 - WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, - CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - d-e, - a+b*2+c*3+d*4 - FROM t1 - WHERE (e>a AND et1.c AND x.de - OR a>b - ORDER BY 2,3,1,4 ----- -108 values hashing to 51ad3b8a1b881292bb3b372941aa523b - -query IIIIII nosort -SELECT b, - CASE a+1 WHEN b THEN 111 WHEN c THEN 222 - WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, - abs(b-c), - a-b, - abs(a), - (a+b+c+d+e)/5 - FROM t1 - WHERE (e>a AND ed - ORDER BY 5,4,2,3,1,6 ----- -12 values hashing to f218928f7ff745a50e68c3871945867e - -query I nosort -SELECT e - FROM t1 - WHERE (e>c OR e=d+2) - OR (e>a AND eb-2 AND ac OR eb-2 AND ae - OR (e>c OR e=d+2) - OR d NOT BETWEEN 110 AND 150 - ORDER BY 1 ----- -24 values hashing to 72a0bad4364ab5cec9197874c8214b90 - -query IIIIIII nosort -SELECT (a+b+c+d+e)/5, - d, - a+b*2, - (SELECT count(*) FROM t1 AS x WHERE x.b(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END - FROM t1 - ORDER BY 6,7,2,4,1,5,3 ----- -210 values hashing to 7ffed25a409fdd72f938a3e0fee5ef7b - -query IIIIIII nosort -SELECT d, - CASE WHEN ab - OR d NOT BETWEEN 110 AND 150 - OR b>c - ORDER BY 4,6,1,2,3,5 ----- -168 values hashing to 1293b2b1eae0693b834b1a25534ecbf6 - -query IIIIII nosort -SELECT e, - CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - b, - a+b*2+c*3+d*4+e*5, - (SELECT count(*) FROM t1 AS x WHERE x.b=d+2) - ORDER BY 4,2,1,6,5,3 ----- -78 values hashing to e662492b4b865e6d9fd38fb95f92da0a - -query IIIIII nosort -SELECT b-c, - a+b*2+c*3, - a+b*2, - c-d, - (a+b+c+d+e)/5, - a-b - FROM t1 - WHERE e+d BETWEEN a+b-10 AND c+130 - AND d NOT BETWEEN 110 AND 150 - AND d>e - ORDER BY 6,1,5,3,2,4 ----- - -query IIIII nosort -SELECT CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - abs(a), - a+b*2, - a, - d-e - FROM t1 - WHERE (e>c OR e=d+2) - ORDER BY 4,2,3,5,1 ----- -150 values hashing to 6065f66c11928caa117acd16babff4dd - -query III nosort -SELECT a+b*2+c*3+d*4+e*5, - b, - a-b - FROM t1 - ORDER BY 1,2,3 ----- -90 values hashing to 99b07f07bebaeafdec57423602e76a03 - -query IIIIII nosort -SELECT (a+b+c+d+e)/5, - c-d, - (SELECT count(*) FROM t1 AS x WHERE x.bt1.c AND x.d=d+2) - OR d>e - ORDER BY 2,1,3,5,6,4 ----- -138 values hashing to 99d143bc2979104655dbd53c1ebb9daf - -query II nosort -SELECT d, - a+b*2+c*3+d*4 - FROM t1 - ORDER BY 1,2 ----- -60 values hashing to 53a93bddba583cbe7defea013e483a67 - -query IIIIIII nosort -SELECT abs(a), - CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - a+b*2+c*3+d*4, - e, - d, - a, - b-c - FROM t1 - WHERE e+d BETWEEN a+b-10 AND c+130 - OR (e>c OR eb - OR b>c - OR (c<=d-2 OR c>=d+2) - ORDER BY 2,1 ----- -56 values hashing to bf65a13599405ccdb81b751e0eaf27c3 - -query I nosort -SELECT a-b - FROM t1 - WHERE d NOT BETWEEN 110 AND 150 - AND (e>c OR eb - ORDER BY 1 ----- -16 values hashing to 069bf04f1be08ea67a9cba4d0956654b - -query III nosort -SELECT a, - (a+b+c+d+e)/5, - c - FROM t1 - WHERE a>b - OR c BETWEEN b-2 AND d+2 - OR (e>c OR ec - AND a>b - AND c>d - ORDER BY 4,2,1,7,5,6,3 ----- - -query I nosort -SELECT a+b*2 - FROM t1 - WHERE a>b - ORDER BY 1 ----- -19 values hashing to b35d36526e48396f7cd935a35558bee5 - -query II nosort -SELECT (a+b+c+d+e)/5, - d-e - FROM t1 - WHERE c BETWEEN b-2 AND d+2 - ORDER BY 2,1 ----- -44 values hashing to 92f9e63f8b59a420e62314c4205c9e7f - -query I nosort -SELECT d - FROM t1 - WHERE e+d BETWEEN a+b-10 AND c+130 - OR (e>a AND eb-2 AND aa AND ec - ORDER BY 1,2 ----- -28 values hashing to 287303499a01f42db629b309cc2a7bf5 - -query II nosort -SELECT b-c, - a+b*2+c*3+d*4 - FROM t1 - WHERE c BETWEEN b-2 AND d+2 - AND EXISTS(SELECT 1 FROM t1 AS x WHERE x.bt1.c AND x.d(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END - FROM t1 - ORDER BY 2,3,4,1 ----- -120 values hashing to 3ce25b7100fcbfe7c7142b3160cb9ebf - -query I nosort -SELECT abs(b-c) - FROM t1 - WHERE c BETWEEN b-2 AND d+2 - ORDER BY 1 ----- -22 values hashing to a2ba0b24ef26c9654b970fe085456049 - -query IIIIII nosort -SELECT a+b*2+c*3, - a+b*2+c*3+d*4+e*5, - b, - abs(a), - (a+b+c+d+e)/5, - abs(b-c) - FROM t1 - WHERE (e>a AND e(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - a+b*2, - d - FROM t1 - WHERE (a>b-2 AND ab - ORDER BY 1,3,4,5,2 ----- -115 values hashing to 5d36f45159c9d74c2031ff38615d53af - -query IIIIIII nosort -SELECT d-e, - CASE a+1 WHEN b THEN 111 WHEN c THEN 222 - WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, - c-d, - (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.da AND ec OR e(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - c-d, - d-e - FROM t1 - WHERE d>e - AND (e>c OR ea AND e(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - abs(b-c), - CASE a+1 WHEN b THEN 111 WHEN c THEN 222 - WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END - FROM t1 - WHERE d>e - OR EXISTS(SELECT 1 FROM t1 AS x WHERE x.bd - OR (c<=d-2 OR c>=d+2) - ORDER BY 2,3,1 ----- -90 values hashing to faddb4b17fdd475b0069e959e1fd775b - -query II nosort -SELECT CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - a+b*2 - FROM t1 - WHERE (e>c OR ea AND e(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - (a+b+c+d+e)/5, - abs(b-c) - FROM t1 - WHERE e+d BETWEEN a+b-10 AND c+130 - AND c>d - ORDER BY 1,3,5,2,6,4 ----- -18 values hashing to 195ca5c056027e19b7098549fb30a259 - -query I nosort -SELECT a+b*2 - FROM t1 - WHERE c>d - OR e+d BETWEEN a+b-10 AND c+130 - OR (c<=d-2 OR c>=d+2) - ORDER BY 1 ----- -24 values hashing to 853518e87c34debe4bc0fa37ef0bfc3e - -query II nosort -SELECT c, - (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.dc - AND (e>a AND ee - ORDER BY 1,2 ----- -247 -0 - -query IIIIII nosort -SELECT a-b, - d, - d-e, - a, - CASE WHEN ab - ORDER BY 3,5,4,2,1,6 ----- -114 values hashing to a182ab374cf9de5884edf48ee0c3c177 - -query IIII nosort -SELECT a+b*2+c*3+d*4+e*5, - b, - (SELECT count(*) FROM t1 AS x WHERE x.ba AND e(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - a+b*2+c*3 - FROM t1 - WHERE c BETWEEN b-2 AND d+2 - ORDER BY 1,3,2,5,4,7,6 ----- -154 values hashing to 50e2f80bf6231e054e926c9951e17478 - -query II nosort -SELECT d-e, - a+b*2+c*3 - FROM t1 - ORDER BY 2,1 ----- -60 values hashing to 66a495f8d2f4e26e2f3cd7a2b8bbbbe1 - -query II nosort -SELECT CASE WHEN a=d+2) - OR d>e - ORDER BY 3,1,2,4 ----- -88 values hashing to 8fe84624e1e5fa5f699f29a4bcb25bc1 - -query IIIIII nosort -SELECT c-d, - CASE WHEN ac OR e(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - a+b*2+c*3, - a+b*2+c*3+d*4+e*5 - FROM t1 - WHERE c BETWEEN b-2 AND d+2 - ORDER BY 5,2,4,1,3,6 ----- -132 values hashing to 96d9a79e7b27fe306bc987a453cfcebe - -query III nosort -SELECT a, - a+b*2+c*3, - (a+b+c+d+e)/5 - FROM t1 - ORDER BY 2,3,1 ----- -90 values hashing to a94a0b4568605d51d7e9a369e55805d8 - -query I nosort -SELECT c - FROM t1 - WHERE EXISTS(SELECT 1 FROM t1 AS x WHERE x.b(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END - FROM t1 ----- -30 values hashing to efdbaa4d180e7867bec1c4d897bd25b9 - -query IIIIIII rowsort -SELECT e, - abs(a), - b, - abs(b-c), - CASE WHEN ab ----- -119 values hashing to 46c6841abfae8913a6759ec6f454ab0f - -query III rowsort -SELECT abs(b-c), - b, - a+b*2+c*3+d*4 - FROM t1 - WHERE coalesce(a,b,c,d,e)<>0 - AND (a>b-2 AND at1.c AND x.db-2 AND ab-2 AND ab ----- -391 -475 -502 -544 -595 -685 - -query IIIIIII rowsort -SELECT c, - CASE WHEN a=d+2) - AND coalesce(a,b,c,d,e)<>0 - AND c>d ----- -35 values hashing to b523d6b6df543010b45626657adada9d - -query IIIIIII rowsort -SELECT d, - (SELECT count(*) FROM t1 AS x WHERE x.bc - AND (e>c OR e0 ----- -189 values hashing to e421c85cd0132772b0b7762c78066abb - -query IIII rowsort -SELECT (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.dd - AND c BETWEEN b-2 AND d+2 ----- -24 values hashing to 83cde3379decb55b28d3ac450c6f9881 - -query IIII rowsort -SELECT a+b*2+c*3+d*4+e*5, - abs(a), - d, - CASE WHEN ac OR et1.c AND x.d0 - OR b>c - OR b IS NOT NULL ----- -90 values hashing to 7be06d7255991a0b921d169b65e408c0 - -query IIIIIII rowsort -SELECT CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - b, - a+b*2+c*3+d*4, - CASE WHEN a0 - OR b>c - OR a>b ----- -90 values hashing to f2ff447495c871e67c605d2c0b5e70ec - -query III rowsort -SELECT (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.d(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END - FROM t1 - WHERE c>d ----- -65 values hashing to 5ed50f9b86136acfad54696420ffa1f0 - -query IIIII rowsort -SELECT e, - CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - d-e, - d, - a+b*2+c*3+d*4 - FROM t1 ----- -150 values hashing to a030f689f5a0035d4db42d5da9f4b7a7 - -query III rowsort -SELECT e, - a, - (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.dc OR ea AND e(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - CASE WHEN at1.c AND x.dd ----- -45 values hashing to a15fae7379de155bbaeb251f575a7db0 - -query IIII rowsort -SELECT abs(b-c), - (SELECT count(*) FROM t1 AS x WHERE x.b(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END - FROM t1 - WHERE a IS NULL - OR d NOT BETWEEN 110 AND 150 ----- -72 values hashing to 12fdbfddf3f67b7da4a8224b4e2798a6 - -query IIIII rowsort -SELECT a, - c-d, - a+b*2+c*3, - a+b*2+c*3+d*4, - (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.db-2 AND ac - AND coalesce(a,b,c,d,e)<>0 - AND (e>a AND e(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END - FROM t1 - WHERE e+d BETWEEN a+b-10 AND c+130 - AND EXISTS(SELECT 1 FROM t1 AS x WHERE x.b(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - abs(a), - CASE a+1 WHEN b THEN 111 WHEN c THEN 222 - WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, - a+b*2, - a, - d-e, - d - FROM t1 - WHERE a IS NULL - AND d>e ----- -1120 -NULL -555 -NULL -NULL -4 -114 - -query IIII rowsort -SELECT (a+b+c+d+e)/5, - c-d, - e, - a - FROM t1 - WHERE d NOT BETWEEN 110 AND 150 - OR (a>b-2 AND a0 - OR d NOT BETWEEN 110 AND 150 ----- -60 values hashing to 56503929d5f9ae519d6cd57dbc46fd31 - -query IIII rowsort -SELECT e, - a+b*2, - c, - b-c - FROM t1 - WHERE a>b ----- -68 values hashing to 002e43f0dae181922fce672d6b46bce4 - -query IIIIII rowsort -SELECT c, - b-c, - (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.dc - AND (e>a AND e(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - abs(a), - a+b*2+c*3+d*4+e*5, - a-b, - a+b*2, - c - FROM t1 ----- -180 values hashing to 0e9c742378241574ced59b33a5434334 - -query IIIII rowsort -SELECT c-d, - b-c, - a+b*2+c*3, - abs(a), - a+b*2+c*3+d*4 - FROM t1 ----- -150 values hashing to 7fe27233559679a19eeea3d0344a0a75 - -query I rowsort -SELECT d - FROM t1 - WHERE c>d - AND (c<=d-2 OR c>=d+2) - AND (e>c OR ec ----- -13 values hashing to 26ce2a46fa9ea4ff61793fcfe9ac0168 - -query I rowsort -SELECT CASE a+1 WHEN b THEN 111 WHEN c THEN 222 - WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END - FROM t1 ----- -30 values hashing to 0075716954dbc259c5e8ac65568a6fa7 - -query IIIIIII rowsort -SELECT CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - a+b*2+c*3+d*4, - abs(b-c), - (SELECT count(*) FROM t1 AS x WHERE x.b0 ----- -210 values hashing to 782245bb6ba30992ede7e5b5f0b3a770 - -query III rowsort -SELECT (a+b+c+d+e)/5, - e, - (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.db-2 AND aa AND e(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - a+b*2, - CASE a+1 WHEN b THEN 111 WHEN c THEN 222 - WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END - FROM t1 - WHERE a IS NULL ----- -10 values hashing to f4e0215d63da3cf742c6994add1a57ab - -query III rowsort -SELECT c, - a+b*2+c*3+d*4+e*5, - c-d - FROM t1 ----- -90 values hashing to 506e2afe06127463d88f196da2943a89 - -query IIII rowsort -SELECT a+b*2, - d, - abs(b-c), - e - FROM t1 - WHERE (c<=d-2 OR c>=d+2) - AND d>e ----- -20 values hashing to 43c185bc3c298eb1f985ac13c0bafe63 - -query I rowsort -SELECT c-d - FROM t1 - WHERE c>d ----- -13 values hashing to 4f440d60ba96ec329ca81db364624811 - -query II rowsort -SELECT a-b, - CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END - FROM t1 - WHERE (c<=d-2 OR c>=d+2) - OR c>d - OR (e>c OR e=d+2) - AND c BETWEEN b-2 AND d+2 - AND coalesce(a,b,c,d,e)<>0 ----- -36 values hashing to d2d3b4e04efb177f21490dcb8d52ada5 - -query III rowsort -SELECT a+b*2+c*3, - b, - (SELECT count(*) FROM t1 AS x WHERE x.bb ----- -54 values hashing to b8c57644f5bc8e0f2140fe80814027d3 - -query I rowsort -SELECT CASE a+1 WHEN b THEN 111 WHEN c THEN 222 - WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END - FROM t1 - WHERE (e>c OR et1.c AND x.da AND ea AND eb-2 AND ac ----- -75 values hashing to 0fad8b78ab2dd2f61c26a27190ce19c0 - -query I rowsort -SELECT c-d - FROM t1 - WHERE EXISTS(SELECT 1 FROM t1 AS x WHERE x.bt1.c AND x.d(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - c-d - FROM t1 - WHERE d>e - OR a>b - OR EXISTS(SELECT 1 FROM t1 AS x WHERE x.bd ----- -13 values hashing to a9f003d45f26b5b6764ef22f16260fdf - -query I rowsort -SELECT (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.dc - AND b IS NOT NULL - AND (a>b-2 AND ab - OR EXISTS(SELECT 1 FROM t1 AS x WHERE x.be ----- -81 values hashing to daf8222f368b8af911b2ea0205aff651 - -query II rowsort -SELECT d-e, - abs(a) - FROM t1 - WHERE (e>c OR et1.c AND x.db - AND b>c - AND (c<=d-2 OR c>=d+2) ----- -333 -1391 -23 -2 - -query IIIIII rowsort -SELECT a+b*2+c*3+d*4+e*5, - abs(b-c), - (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.dd ----- -78 values hashing to d3cef94ca3dc1b45729489b9ffa60d3f - -query III rowsort -SELECT CASE a+1 WHEN b THEN 111 WHEN c THEN 222 - WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, - b-c, - a+b*2 - FROM t1 - WHERE c BETWEEN b-2 AND d+2 - AND a>b ----- -24 values hashing to 66a81d76eae1ab608302f07cd95c35e2 - -query IIII rowsort -SELECT a-b, - (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.dc OR e(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END - FROM t1 - WHERE a>b - AND coalesce(a,b,c,d,e)<>0 ----- -17 values hashing to baeb6fdb5d575870fddf7d11fa9e02f3 - -query III rowsort -SELECT a+b*2+c*3+d*4+e*5, - abs(b-c), - a+b*2 - FROM t1 - WHERE (a>b-2 AND aa AND ea AND ec - AND a>b - AND e+d BETWEEN a+b-10 AND c+130 ----- - -query IIIIIII rowsort -SELECT (SELECT count(*) FROM t1 AS x WHERE x.b(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - b - FROM t1 ----- -210 values hashing to 9b296f0c2d63eb2d8663ebbf98fe7462 - -query II rowsort -SELECT d-e, - abs(b-c) - FROM t1 - WHERE b IS NOT NULL ----- -54 values hashing to d476ace2c3b8cf05ff5893bf63e088e9 - -query III rowsort -SELECT CASE a+1 WHEN b THEN 111 WHEN c THEN 222 - WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, - a, - CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END - FROM t1 - WHERE (e>c OR eb-2 AND aa AND e(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - abs(b-c) - FROM t1 - WHERE d NOT BETWEEN 110 AND 150 - OR c BETWEEN b-2 AND d+2 ----- -66 values hashing to d667c19a8db947e8d78da6f211a32b33 - -query II rowsort -SELECT c, - CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END - FROM t1 - WHERE e+d BETWEEN a+b-10 AND c+130 - OR a>b ----- -36 values hashing to b3abed6fa7975f32cea35c1c82052613 - -query III rowsort -SELECT b-c, - CASE WHEN ab-2 AND ae - AND (c<=d-2 OR c>=d+2) - AND a>b ----- -21 values hashing to ddf3c7563b358cce0af4f01125706ce0 - -query IIIII rowsort -SELECT CASE a+1 WHEN b THEN 111 WHEN c THEN 222 - WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, - e, - d-e, - (a+b+c+d+e)/5, - a-b - FROM t1 - WHERE EXISTS(SELECT 1 FROM t1 AS x WHERE x.bd ----- -55 values hashing to 4d1e4b4b34120f5c6bb0c0e4fe30fdbd - -query IIIIIII rowsort -SELECT CASE a+1 WHEN b THEN 111 WHEN c THEN 222 - WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, - a+b*2+c*3, - CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - e, - d, - c-d, - a - FROM t1 - WHERE EXISTS(SELECT 1 FROM t1 AS x WHERE x.bt1.c AND x.d(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - CASE a+1 WHEN b THEN 111 WHEN c THEN 222 - WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END - FROM t1 - WHERE (c<=d-2 OR c>=d+2) - OR d>e ----- -96 values hashing to 5d1b031c85c8e443a475c8bf4d3c62ac - -query I rowsort -SELECT d-e - FROM t1 - WHERE EXISTS(SELECT 1 FROM t1 AS x WHERE x.b0 - AND c BETWEEN b-2 AND d+2 ----- -14 values hashing to eb0d3d5abd4ff4a559c13f43d12f55fc - -query IIIIIII rowsort -SELECT (SELECT count(*) FROM t1 AS x WHERE x.b(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - a, - (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.db-2 AND aa AND eb ----- - -query IIII rowsort -SELECT c-d, - (SELECT count(*) FROM t1 AS x WHERE x.bb-2 AND ae ----- -12 values hashing to 383eb65446347ea6e607173208759bd4 - -query IIII rowsort -SELECT CASE a+1 WHEN b THEN 111 WHEN c THEN 222 - WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, - b, - d-e, - a+b*2+c*3+d*4 - FROM t1 ----- -120 values hashing to 063f5e8d2c0f3169b9c191380f3d3322 - -query IIII rowsort -SELECT d, - b-c, - abs(b-c), - b - FROM t1 - WHERE c BETWEEN b-2 AND d+2 ----- -60 values hashing to 1d4f85009c12a1a99a445c4d2f49a07e - -query II rowsort -SELECT (SELECT count(*) FROM t1 AS x WHERE x.bc OR et1.c AND x.db ----- -102 values hashing to 90fa34da0f47adbe685546e0538a64b5 - -query I rowsort -SELECT d - FROM t1 - WHERE (e>c OR e=d+2) ----- --2 -333 - -query IIIII rowsort -SELECT a+b*2+c*3, - CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - a+b*2, - d, - c - FROM t1 - WHERE c BETWEEN b-2 AND d+2 - OR a>b - OR (a>b-2 AND at1.c AND x.db - OR (e>c OR ec - OR (a>b-2 AND at1.c AND x.dc ----- -26 values hashing to f9aa7b0682d2155a61d91f6c3e3aa0f6 - -query IIIII rowsort -SELECT CASE WHEN a0 - AND c BETWEEN b-2 AND d+2 ----- -75 values hashing to 20ec583d2295fd5f84a509c8bb33045d - -query III rowsort -SELECT b-c, - CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - d-e - FROM t1 - WHERE EXISTS(SELECT 1 FROM t1 AS x WHERE x.bd - AND a>b ----- -15 values hashing to 4ae979f02ba8355cc00e1b6009f7f07c - -query IIIIII rowsort -SELECT d-e, - (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.d0 ----- -180 values hashing to 47d6e3c44547d5c5dcbd19d1dd9f15d5 - -query I rowsort -SELECT a - FROM t1 - WHERE (e>c OR e(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - a - FROM t1 - WHERE b IS NOT NULL ----- -135 values hashing to 15138e5915e2fe5ed2c0c820de7579ce - -query III rowsort -SELECT a+b*2+c*3, - d-e, - (a+b+c+d+e)/5 - FROM t1 - WHERE coalesce(a,b,c,d,e)<>0 - AND (e>c OR e(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - a-b, - (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.db - OR b IS NOT NULL ----- -135 values hashing to 9e262611553407ecce8e397969dd1bce - -query I rowsort -SELECT abs(b-c) - FROM t1 - WHERE b IS NOT NULL - AND e+d BETWEEN a+b-10 AND c+130 ----- -1 -4 - -query IIIIIII rowsort -SELECT a+b*2+c*3+d*4+e*5, - a+b*2, - d, - a+b*2+c*3+d*4, - a-b, - b-c, - a - FROM t1 - WHERE b>c - OR a IS NULL ----- -105 values hashing to 53754235cfffd05233b4d3a2403881a5 - -query I rowsort -SELECT a+b*2+c*3 - FROM t1 - WHERE a>b ----- -17 values hashing to e237372cbf981454a9240fd99e73b8e4 - -query IIIIIII rowsort -SELECT a+b*2, - a, - b, - c, - abs(b-c), - abs(a), - d - FROM t1 ----- -210 values hashing to b34e0001ad4bdd914341ae317c613e1c - -query II rowsort -SELECT b-c, - abs(a) - FROM t1 - WHERE b IS NOT NULL - OR e+d BETWEEN a+b-10 AND c+130 - OR c BETWEEN b-2 AND d+2 ----- -54 values hashing to 3755533386c14db52aa1ef57fb5c7dfe - -query IIII rowsort -SELECT c-d, - b-c, - CASE a+1 WHEN b THEN 111 WHEN c THEN 222 - WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, - c - FROM t1 - WHERE d NOT BETWEEN 110 AND 150 - AND (a>b-2 AND ab ----- -12 values hashing to 9d90bcb98a18bc4f2c6c648b57d9a0b5 - -query IIIIII rowsort -SELECT a+b*2+c*3+d*4+e*5, - d-e, - (SELECT count(*) FROM t1 AS x WHERE x.b=d+2) - OR e+d BETWEEN a+b-10 AND c+130 - OR a>b ----- -132 values hashing to 1438bde5aab9a47b1027ed6cd08d3080 - -query IIIIIII rowsort -SELECT abs(a), - d, - e, - a+b*2+c*3+d*4, - CASE a+1 WHEN b THEN 111 WHEN c THEN 222 - WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, - b-c, - a - FROM t1 - WHERE c BETWEEN b-2 AND d+2 - AND EXISTS(SELECT 1 FROM t1 AS x WHERE x.b0 ----- -150 values hashing to 2187ecb4988b726899c40305e68659be - -query IIII rowsort -SELECT a+b*2+c*3+d*4, - b, - (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.d=d+2) - OR (e>c OR ed ----- -104 values hashing to a14dd901528761d99a178f3831e86c6f - -query IIIII rowsort -SELECT (a+b+c+d+e)/5, - c-d, - CASE a+1 WHEN b THEN 111 WHEN c THEN 222 - WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, - a+b*2+c*3, - d-e - FROM t1 - WHERE a>b - AND (e>c OR e(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - abs(b-c) - FROM t1 - WHERE c BETWEEN b-2 AND d+2 - AND a IS NULL - AND d>e ----- -NULL -NULL -114 -1120 -1 - -query IIIIIII rowsort -SELECT d, - b-c, - CASE a+1 WHEN b THEN 111 WHEN c THEN 222 - WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, - (SELECT count(*) FROM t1 AS x WHERE x.b=d+2) ----- -70 values hashing to b0d4bbdac1bb95cff2c4e05adbb5da90 - -query IIIIII rowsort -SELECT (SELECT count(*) FROM t1 AS x WHERE x.b(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - a+b*2+c*3+d*4+e*5, - a+b*2+c*3, - b-c, - e - FROM t1 ----- -180 values hashing to a0916b6a52dd9dbdcc5e8e5abbf13dc2 - -query IIIII rowsort -SELECT a+b*2+c*3+d*4, - CASE a+1 WHEN b THEN 111 WHEN c THEN 222 - WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, - (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.d(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - (SELECT count(*) FROM t1 AS x WHERE x.be - OR coalesce(a,b,c,d,e)<>0 ----- -150 values hashing to 7513fd547e90170855946a451500730f - -query IIII rowsort -SELECT a+b*2+c*3+d*4, - CASE WHEN ab-2 AND a=d+2) ----- - -query IIIII rowsort -SELECT a+b*2+c*3+d*4+e*5, - d-e, - CASE a+1 WHEN b THEN 111 WHEN c THEN 222 - WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, - a+b*2+c*3, - (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.d(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - a+b*2+c*3, - e, - (SELECT count(*) FROM t1 AS x WHERE x.bd ----- -39 values hashing to 68c3d5e1a20acbe40e43b4cb004bd223 - -query III rowsort -SELECT abs(b-c), - (a+b+c+d+e)/5, - d - FROM t1 - WHERE (e>a AND e=d+2) ----- -10 values hashing to f4e6e43c2b8b813ce50d6662923d4fc0 - -query IIIIII rowsort -SELECT CASE a+1 WHEN b THEN 111 WHEN c THEN 222 - WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, - a+b*2+c*3+d*4+e*5, - c-d, - b-c, - (SELECT count(*) FROM t1 AS x WHERE x.be - AND coalesce(a,b,c,d,e)<>0 ----- -45 values hashing to c9265d596fbcbad28442ec6b998fb740 - -query II rowsort -SELECT a+b*2+c*3+d*4, - (SELECT count(*) FROM t1 AS x WHERE x.be ----- -18 values hashing to da91174780bb14b5dedff6e117705ee5 - -query IIIIII rowsort -SELECT abs(a), - (a+b+c+d+e)/5, - a+b*2, - c, - b, - d - FROM t1 - WHERE e+d BETWEEN a+b-10 AND c+130 - AND (c<=d-2 OR c>=d+2) ----- -12 values hashing to a84ed43f5c663d693a9c3bea9318231a - -query II rowsort -SELECT d-e, - a - FROM t1 - WHERE b>c - AND (e>c OR eb-2 AND a0 - AND d>e - AND d NOT BETWEEN 110 AND 150 ----- -42 values hashing to c39888e7e799f07421b58acd0c14b335 - -query I rowsort -SELECT CASE WHEN a=d+2) - AND b IS NOT NULL - AND c>d ----- -12 values hashing to d1f97e065d3318f1c905ff5f404c259e - -query III rowsort -SELECT a, - (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.db ----- -51 values hashing to c3ff7d2b20e04fd75f074ea1f41137bc - -query IIIIIII rowsort -SELECT c-d, - d-e, - a-b, - (a+b+c+d+e)/5, - b, - a, - abs(b-c) - FROM t1 - WHERE d>e - AND b IS NOT NULL - AND coalesce(a,b,c,d,e)<>0 ----- -77 values hashing to fcdd05c347f43f87c33b71e758491765 - -query IIII rowsort -SELECT a, - d, - a-b, - CASE WHEN a(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - a+b*2+c*3+d*4+e*5 - FROM t1 ----- -120 values hashing to ed44bad18fcadef3387f16249b2c8188 - -query IIIIII rowsort -SELECT b, - CASE a+1 WHEN b THEN 111 WHEN c THEN 222 - WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, - CASE WHEN at1.c AND x.db ----- -102 values hashing to 35b3e42da41d41da850ff27225d1add2 - -query III rowsort -SELECT (a+b+c+d+e)/5, - CASE a+1 WHEN b THEN 111 WHEN c THEN 222 - WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, - b - FROM t1 - WHERE a>b ----- -51 values hashing to b86029f47418c16af4cf2b938795cf9d - -query II rowsort -SELECT abs(a), - CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END - FROM t1 - WHERE d NOT BETWEEN 110 AND 150 ----- -34 values hashing to b9f27e2692846c7cf82160112dc817a1 - -query III rowsort -SELECT a-b, - b-c, - abs(b-c) - FROM t1 ----- -90 values hashing to c67a9b35c13fbe0e2c787e8b298e0cc7 - -query I rowsort -SELECT c - FROM t1 - WHERE (e>c OR eb ----- -25 values hashing to 12ac2528d0176d140f899db83beeae4a - -query IIIIII rowsort -SELECT (a+b+c+d+e)/5, - c-d, - CASE WHEN a(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - a, - c - FROM t1 - WHERE (e>c OR eb-2 AND ae - AND b>c ----- -5 - -query I rowsort -SELECT a+b*2 - FROM t1 - WHERE (e>c OR ee ----- -44 values hashing to 6eb821a9c64425c2015710ca063f859d - -query I rowsort -SELECT d - FROM t1 - WHERE e+d BETWEEN a+b-10 AND c+130 - OR b>c - OR c>d ----- -23 values hashing to 83c121f8dfa4054cd315db02a5a0da66 - -query IIIII rowsort -SELECT c, - e, - CASE WHEN ab ----- -85 values hashing to 6916e65d511015d6aa52a62b4a666ba3 - -query III rowsort -SELECT CASE a+1 WHEN b THEN 111 WHEN c THEN 222 - WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, - b-c, - e - FROM t1 - WHERE d NOT BETWEEN 110 AND 150 - OR a>b ----- -72 values hashing to 20a4b8aec8f3063b4950f5c7d01cf17c - -query IIIIIII rowsort -SELECT b, - d, - a, - c, - CASE WHEN ae - OR a IS NULL ----- -84 values hashing to 5bce68a9cb274f51217904d5c72a6671 - -query IIII rowsort -SELECT a+b*2+c*3+d*4, - c, - c-d, - b-c - FROM t1 - WHERE c BETWEEN b-2 AND d+2 - OR a>b - OR b IS NOT NULL ----- -108 values hashing to 2d4310983fffbe49ff8a05e91ff7336c - -query IIIII rowsort -SELECT abs(b-c), - b-c, - a+b*2, - (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.dt1.c AND x.d=d+2) ----- -14 values hashing to 08aca67746baa979d75bd8d3a8f212cf - -query II rowsort -SELECT d-e, - (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.dc OR eb-2 AND aa AND ed ----- -1 -1 - -query IIIII rowsort -SELECT CASE WHEN a0 ----- -150 values hashing to 362a2f78bba70bae1f727da6185db9e1 - -query IIII rowsort -SELECT (a+b+c+d+e)/5, - a+b*2+c*3+d*4+e*5, - (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.dc OR e0 - OR EXISTS(SELECT 1 FROM t1 AS x WHERE x.bt1.c AND x.d(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END - FROM t1 - WHERE (e>c OR ec - OR b IS NOT NULL - OR (e>c OR et1.c AND x.d(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END - FROM t1 ----- -30 values hashing to efdbaa4d180e7867bec1c4d897bd25b9 - -query I rowsort -SELECT d-e - FROM t1 ----- -30 values hashing to 9e2d6381b04ea314cd79c5fc9325b30e - -query IIIIII rowsort -SELECT b-c, - CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - CASE WHEN at1.c AND x.dc OR ec ----- -36 values hashing to 942b2c182279b08bb67984c403d5f2e3 - -query II rowsort -SELECT (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.d0 - AND d>e ----- -11 values hashing to 968b47b57dececa1c36ea07df5744ccb - -query IIIIII rowsort -SELECT d-e, - CASE WHEN a(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - abs(b-c) - FROM t1 - WHERE coalesce(a,b,c,d,e)<>0 - OR c BETWEEN b-2 AND d+2 - OR (c<=d-2 OR c>=d+2) ----- -180 values hashing to 2960873e6fcd668c017046579722e727 - -query IIIIIII rowsort -SELECT abs(a), - (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.dt1.c AND x.d(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - CASE a+1 WHEN b THEN 111 WHEN c THEN 222 - WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END - FROM t1 ----- -210 values hashing to 95e81aefa1435b01ca795dd01fa37055 - -query III rowsort -SELECT c-d, - a-b, - CASE a+1 WHEN b THEN 111 WHEN c THEN 222 - WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END - FROM t1 ----- -90 values hashing to 4ee92dc4498bf0bde48f9fe510e0eefb - -query IIIIIII rowsort -SELECT b, - a+b*2+c*3+d*4, - c-d, - a, - b-c, - a+b*2, - d-e - FROM t1 - WHERE (e>a AND et1.c AND x.dc OR e0 ----- -30 values hashing to 5597b8fa34613aadc270053ea54637e5 - -query IIIIII rowsort -SELECT a+b*2+c*3+d*4, - b, - a-b, - e, - c, - (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.db - OR b IS NOT NULL ----- -162 values hashing to 86497e82dae5464fd3ffbb6a17945399 - -query IIIIII rowsort -SELECT CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - d, - CASE a+1 WHEN b THEN 111 WHEN c THEN 222 - WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, - a+b*2, - e, - a+b*2+c*3+d*4+e*5 - FROM t1 - WHERE d NOT BETWEEN 110 AND 150 - OR e+d BETWEEN a+b-10 AND c+130 - OR a>b ----- -150 values hashing to 352a74ab89b39257e03af042d19053ca - -query II rowsort -SELECT d, - CASE a+1 WHEN b THEN 111 WHEN c THEN 222 - WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END - FROM t1 - WHERE b>c - OR EXISTS(SELECT 1 FROM t1 AS x WHERE x.bb - OR e+d BETWEEN a+b-10 AND c+130 - OR d NOT BETWEEN 110 AND 150 ----- -150 values hashing to 8b990284f465e87fb0bacddac6be6b32 - -query IIII rowsort -SELECT CASE a+1 WHEN b THEN 111 WHEN c THEN 222 - WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, - e, - b-c, - CASE WHEN ac OR e(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END - FROM t1 - WHERE c>d - OR EXISTS(SELECT 1 FROM t1 AS x WHERE x.ba AND ea AND e(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - d-e, - c-d - FROM t1 ----- -90 values hashing to 3c2e29c1a62828371d108fc2db0e9637 - -query IIIIII rowsort -SELECT (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.d0 ----- -180 values hashing to f26f35b2777ee4f09e0e1e36a80f73df - -query IIII rowsort -SELECT c, - a+b*2, - (SELECT count(*) FROM t1 AS x WHERE x.bc - OR c>d - OR a>b ----- -112 values hashing to e7ee87f5a21f10c5ba46c5523a4e3fc1 - -query IIIIIII rowsort -SELECT (SELECT count(*) FROM t1 AS x WHERE x.bt1.c AND x.da AND e(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - CASE WHEN a=d+2) ----- -70 values hashing to 29806c31c20e32638f689ff9b0074bbc - -query III rowsort -SELECT d, - abs(a), - (SELECT count(*) FROM t1 AS x WHERE x.bb ----- - -query IIIIII rowsort -SELECT b-c, - c-d, - d, - (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.d(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - a+b*2+c*3+d*4 - FROM t1 - WHERE (c<=d-2 OR c>=d+2) ----- -60 values hashing to 1d97218927132ea6eeb68998798765dd - -query IIIII rowsort -SELECT a, - a+b*2+c*3, - a+b*2+c*3+d*4, - (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.de ----- -135 values hashing to 951e266b40b8150f48baec623f0a686d - -query IIIII rowsort -SELECT a+b*2+c*3+d*4+e*5, - CASE WHEN a(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - b, - abs(b-c) - FROM t1 - WHERE (c<=d-2 OR c>=d+2) - AND c>d - AND a IS NULL ----- - -query III rowsort -SELECT a+b*2+c*3+d*4, - (SELECT count(*) FROM t1 AS x WHERE x.bt1.c AND x.d(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END - FROM t1 - WHERE (e>a AND e=d+2) - OR c BETWEEN b-2 AND d+2 ----- -95 values hashing to 9c84288c31e030804a75653e160c1629 - -query II rowsort -SELECT e, - (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.dt1.c AND x.d(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END - FROM t1 - WHERE a IS NULL ----- -10 values hashing to 7ee51b913f9e7c82957dd58131b1b053 - -query II rowsort -SELECT d, - c-d - FROM t1 ----- -60 values hashing to 91395206c5a9ae2e3ba90eaaf9fbcad3 - -query II rowsort -SELECT CASE a+1 WHEN b THEN 111 WHEN c THEN 222 - WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, - a - FROM t1 - WHERE b>c - AND a>b - AND coalesce(a,b,c,d,e)<>0 ----- -12 values hashing to d8e53c3de9f066cbd7c55b75853ee395 - -query IIIIIII rowsort -SELECT (SELECT count(*) FROM t1 AS x WHERE x.b(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END - FROM t1 ----- -210 values hashing to 61699457c79288b3b884493fcc1312c0 - -query IIIIIII rowsort -SELECT e, - d-e, - a+b*2+c*3+d*4, - c, - d, - a-b, - abs(b-c) - FROM t1 - WHERE e+d BETWEEN a+b-10 AND c+130 ----- -14 values hashing to 524440442f030d3deaeba575dcdfa474 - -query III rowsort -SELECT abs(b-c), - d, - (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.d=d+2) ----- -30 values hashing to af433230b7fed89ab6f38404c00cf2a1 - -query IIII rowsort -SELECT c-d, - a+b*2+c*3, - (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.dd - OR a IS NULL - OR (e>c OR et1.c AND x.dc OR ee ----- -11 values hashing to 91e1a4121a8a99224ec3880f8f82538f - -query IIIII rowsort -SELECT (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.d=d+2) - AND (e>c OR et1.c AND x.db - OR a IS NULL - OR b IS NOT NULL ----- -189 values hashing to 1a6eadef60af9a484ef356b4dbe18111 - -query IIII rowsort -SELECT a+b*2+c*3, - d-e, - (a+b+c+d+e)/5, - a+b*2+c*3+d*4+e*5 - FROM t1 ----- -120 values hashing to d5410dc1707e456075f961d75c8373e3 - -query IIIIII rowsort -SELECT (SELECT count(*) FROM t1 AS x WHERE x.b(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - CASE WHEN ac ----- -78 values hashing to f52714b3be854536a6021f8399270892 - -query I rowsort -SELECT (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.da AND e(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END - FROM t1 - WHERE d NOT BETWEEN 110 AND 150 ----- -51 values hashing to 3f10f53291c4c4332957f5fbb29105f3 - -query III rowsort -SELECT d-e, - d, - CASE WHEN aa AND eb-2 AND a(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - CASE a+1 WHEN b THEN 111 WHEN c THEN 222 - WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, - abs(a) - FROM t1 - WHERE (c<=d-2 OR c>=d+2) - AND d NOT BETWEEN 110 AND 150 - AND d>e ----- -20 values hashing to 3cde23794ae5812c647b191dce114ef9 - -query IIIII rowsort -SELECT b, - CASE a+1 WHEN b THEN 111 WHEN c THEN 222 - WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, - CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - (a+b+c+d+e)/5, - a+b*2+c*3 - FROM t1 - WHERE coalesce(a,b,c,d,e)<>0 - AND (e>a AND ec OR e(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - a+b*2+c*3+d*4+e*5 - FROM t1 ----- -90 values hashing to caf4160422e6c04f33f5dee76a5ee6ba - -query IIII rowsort -SELECT d-e, - d, - c, - b-c - FROM t1 - WHERE a IS NULL - AND b>c ----- - -query IIIII rowsort -SELECT abs(a), - a+b*2, - a+b*2+c*3, - c-d, - CASE WHEN a0 ----- -90 values hashing to fe561dee28440461c7db2b4bbe966e6d - -query I rowsort -SELECT c-d - FROM t1 ----- -30 values hashing to 5597b8fa34613aadc270053ea54637e5 - -query IIIIIII rowsort -SELECT abs(a), - a+b*2+c*3, - a+b*2, - c, - d, - a-b, - a+b*2+c*3+d*4+e*5 - FROM t1 - WHERE b IS NOT NULL ----- -189 values hashing to e3666393489dac8e3e03edb06718f10f - -query IIIII rowsort -SELECT a, - a-b, - a+b*2, - a+b*2+c*3, - (a+b+c+d+e)/5 - FROM t1 ----- -150 values hashing to 2f3a15a8e97ebcf855a829bc06b4b32c - -query II rowsort -SELECT d, - (SELECT count(*) FROM t1 AS x WHERE x.b0 ----- -60 values hashing to b3bf42b26da3b06aa3b50178db6c5697 - -query III rowsort -SELECT a, - a+b*2+c*3, - d-e - FROM t1 - WHERE d>e - AND b IS NOT NULL ----- -33 values hashing to 3a32b8d5a3ecfe962caef1637978eb7e - -query IIIII rowsort -SELECT b, - d-e, - (a+b+c+d+e)/5, - d, - a - FROM t1 - WHERE e+d BETWEEN a+b-10 AND c+130 ----- -10 values hashing to de89b94580a889b31f615d74825bf75b - -query IIIIII rowsort -SELECT CASE WHEN ab - OR b>c - OR c BETWEEN b-2 AND d+2 ----- -162 values hashing to 5387d6edebdd989ccaefbb09e17a4489 - -query IIIIII rowsort -SELECT d, - b-c, - a+b*2+c*3, - abs(a), - CASE a+1 WHEN b THEN 111 WHEN c THEN 222 - WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, - b - FROM t1 - WHERE (e>a AND ee - OR (c<=d-2 OR c>=d+2) ----- -96 values hashing to 00c6ced20f2eeff721db25271eae6fb3 - -query I rowsort -SELECT a+b*2 - FROM t1 - WHERE (c<=d-2 OR c>=d+2) - AND e+d BETWEEN a+b-10 AND c+130 ----- -317 -385 - -query IIIII rowsort -SELECT CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - c, - (SELECT count(*) FROM t1 AS x WHERE x.be - OR (c<=d-2 OR c>=d+2) ----- -80 values hashing to 53ec7c69fa7066b8d13cba3190a01566 - -query IIII rowsort -SELECT d, - a-b, - b-c, - c - FROM t1 - WHERE c BETWEEN b-2 AND d+2 - AND a>b ----- -32 values hashing to f82ab87aa91c92197efafacd537934bc - -query III rowsort -SELECT a+b*2+c*3+d*4, - e, - (SELECT count(*) FROM t1 AS x WHERE x.bt1.c AND x.d(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END - FROM t1 - WHERE EXISTS(SELECT 1 FROM t1 AS x WHERE x.bc ----- -130 values hashing to 32e82da0c738e8e4864716e5bce71c70 - -query II rowsort -SELECT abs(b-c), - (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.db ----- -34 values hashing to 17af39f9188adb8ce97fb72e6c8356ee - -query I rowsort -SELECT (SELECT count(*) FROM t1 AS x WHERE x.bd ----- -26 values hashing to 7423c13b5fcb65e9953181f0cea5a006 - -query III rowsort -SELECT CASE a+1 WHEN b THEN 111 WHEN c THEN 222 - WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, - CASE WHEN at1.c AND x.db ----- -54 values hashing to 24f085b29e652f1489e82b92cd2a3f18 - -query III rowsort -SELECT a-b, - a+b*2+c*3+d*4+e*5, - a+b*2 - FROM t1 - WHERE c>d - AND b>c - AND (c<=d-2 OR c>=d+2) ----- --3 -2878 -579 - -query IIIIII rowsort -SELECT CASE a+1 WHEN b THEN 111 WHEN c THEN 222 - WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, - CASE WHEN ae - AND a>b - AND b>c ----- -555 -333 -3 -2323 -1391 -2 - -query I rowsort -SELECT abs(b-c) - FROM t1 ----- -30 values hashing to c289bcde2e1a495d6cc09dde069c6c87 - -query III rowsort -SELECT abs(a), - d-e, - a+b*2+c*3 - FROM t1 - WHERE EXISTS(SELECT 1 FROM t1 AS x WHERE x.bb-2 AND ac OR et1.c AND x.dc - OR (c<=d-2 OR c>=d+2) - OR d NOT BETWEEN 110 AND 150 ----- -150 values hashing to f046070b061166d9a9445ac1be175e05 - -query III rowsort -SELECT e, - b, - (a+b+c+d+e)/5 - FROM t1 - WHERE (e>a AND ec ----- -42 values hashing to 4415e43a6216d494659df3c3af052083 - -query IIIIII rowsort -SELECT (SELECT count(*) FROM t1 AS x WHERE x.ba AND ec OR eb - OR (a>b-2 AND at1.c AND x.dd - AND (a>b-2 AND ac ----- -10 values hashing to 5bdbcd20f9b8b742c3afd186710bd1ba - -query IIIIII rowsort -SELECT a+b*2+c*3+d*4+e*5, - CASE a+1 WHEN b THEN 111 WHEN c THEN 222 - WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, - abs(b-c), - CASE WHEN ad ----- -48 values hashing to a4d0a38ede3fe0f188f7321970a8f4dd - -query IIIII rowsort -SELECT (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.db-2 AND ad ----- -26 values hashing to 663683e4f7954e2f02d662e397617a1a - -query IIIIIII rowsort -SELECT a+b*2+c*3+d*4+e*5, - b-c, - b, - a, - c, - CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - (a+b+c+d+e)/5 - FROM t1 ----- -210 values hashing to d8d3fdc7da9f9940577c907ddc46ffce - -query IIIII rowsort -SELECT abs(b-c), - d, - c-d, - (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.dt1.c AND x.dd - OR c BETWEEN b-2 AND d+2 ----- -18 values hashing to ed081fa5a86710d0e9371bd21e57b60e - -query IIIII rowsort -SELECT b-c, - c-d, - d-e, - (a+b+c+d+e)/5, - d - FROM t1 - WHERE coalesce(a,b,c,d,e)<>0 ----- -150 values hashing to 3c56becf91b5255ea828187ff5b098f4 - -query IIIIII rowsort -SELECT b, - e, - a+b*2+c*3+d*4+e*5, - d-e, - (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.de - AND coalesce(a,b,c,d,e)<>0 ----- -49 values hashing to e5f10ba8d31c39afeed33abfce4615f4 - -query IIIIIII rowsort -SELECT CASE a+1 WHEN b THEN 111 WHEN c THEN 222 - WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, - b, - a+b*2, - abs(b-c), - abs(a), - b-c, - d - FROM t1 - WHERE c BETWEEN b-2 AND d+2 - AND (e>a AND ee - AND e+d BETWEEN a+b-10 AND c+130 ----- -127 - -query IIIIII rowsort -SELECT (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.db ----- -108 values hashing to aca58d046c3974c5452267788f36253d - -query III rowsort -SELECT (SELECT count(*) FROM t1 AS x WHERE x.bt1.c AND x.de - OR (e>c OR e0 ----- -90 values hashing to 831ec57d0eab9076adedbe5a7b29e5bf - -query I rowsort -SELECT a-b - FROM t1 - WHERE (e>a AND et1.c AND x.d0 ----- -150 values hashing to c76015113477b90a604969958de72e28 - -query IIIII rowsort -SELECT e, - b, - CASE a+1 WHEN b THEN 111 WHEN c THEN 222 - WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, - c-d, - CASE WHEN at1.c AND x.d0 - AND (e>c OR ee - AND a>b - AND a IS NULL ----- - -query IIII rowsort -SELECT (a+b+c+d+e)/5, - CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - a+b*2+c*3, - d - FROM t1 - WHERE (e>a AND eb ----- -108 values hashing to 978db612dff384a225a87254a55c893f - -query IIIIIII rowsort -SELECT (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.d(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - a+b*2+c*3, - CASE a+1 WHEN b THEN 111 WHEN c THEN 222 - WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, - e, - b-c, - c-d - FROM t1 - WHERE EXISTS(SELECT 1 FROM t1 AS x WHERE x.b0 - AND (e>c OR e(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - a+b*2+c*3+d*4, - (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.da AND et1.c AND x.d=d+2) ----- -20 values hashing to 8b8de03297a4e9b601746a08dccab3da - -query IIII rowsort -SELECT a, - CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - abs(b-c), - c-d - FROM t1 - WHERE a>b ----- -68 values hashing to 059bff8962702d7f8ec171a2b6710523 - -query IIIIII rowsort -SELECT c-d, - a+b*2+c*3, - d-e, - a+b*2+c*3+d*4, - b-c, - (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.da AND ec OR e(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END - FROM t1 - WHERE a IS NULL - OR c BETWEEN b-2 AND d+2 - OR a>b ----- -120 values hashing to 3fb73a6642c453dc019d87cb69d8ce65 - -query I rowsort -SELECT e - FROM t1 - WHERE c>d - AND coalesce(a,b,c,d,e)<>0 - AND a>b ----- -132 -173 -180 -189 -210 - -query IIIIII rowsort -SELECT d-e, - a, - (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.db-2 AND ab-2 AND a0 ----- -120 values hashing to f4530e16c6d59dfaeee60435bf008b02 - -query III rowsort -SELECT (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.d=d+2) - OR a>b ----- -66 values hashing to affa3f7c8cca946ae71f450ca6822fc1 - -query IIII rowsort -SELECT a, - e, - (SELECT count(*) FROM t1 AS x WHERE x.ba AND et1.c AND x.d=d+2) ----- -40 values hashing to a24ad9a2815293e785c73b1daaa0e8ad - -query III rowsort -SELECT b, - c-d, - a+b*2+c*3+d*4+e*5 - FROM t1 ----- -90 values hashing to b4c390cf4b2cfb24ddd6e3f132c39aaa - -query III rowsort -SELECT a, - a+b*2, - a-b - FROM t1 ----- -90 values hashing to 49d12b03e799cc0ee6e76a2a9f7c33a8 - -query IIIII rowsort -SELECT e, - (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.dd - OR e+d BETWEEN a+b-10 AND c+130 - OR d>e ----- -100 values hashing to df3961211ec3a646a12da616ad3fadc0 - -query IIIII rowsort -SELECT c-d, - a-b, - (a+b+c+d+e)/5, - b-c, - CASE WHEN ab - AND a IS NULL ----- - -query I rowsort -SELECT a+b*2+c*3+d*4+e*5 - FROM t1 - WHERE EXISTS(SELECT 1 FROM t1 AS x WHERE x.bc - OR a IS NULL - OR b IS NOT NULL ----- -108 values hashing to 7e30de55cc8c8fecffab160dec37f6cf - -query III rowsort -SELECT (a+b+c+d+e)/5, - abs(b-c), - d - FROM t1 - WHERE a>b - OR a IS NULL - OR b>c ----- -78 values hashing to 63edb99176cba2defed12c703539f05a - -query IIIII rowsort -SELECT CASE a+1 WHEN b THEN 111 WHEN c THEN 222 - WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, - d, - a-b, - abs(b-c), - (a+b+c+d+e)/5 - FROM t1 - WHERE b IS NOT NULL - OR d NOT BETWEEN 110 AND 150 ----- -145 values hashing to 63be192e3efa764f76ad645bbc0072f1 - -query IIII rowsort -SELECT d, - d-e, - (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.d(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END - FROM t1 - WHERE b>c - OR c BETWEEN b-2 AND d+2 ----- -92 values hashing to a5b6a8f716fa56ad6172f74a7ea0e544 - -query IIIIIII rowsort -SELECT a+b*2, - (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.dt1.c AND x.dc OR ec ----- -39 values hashing to 0a7270cbb622612fe7d21399b291ea34 - -query IIIIIII rowsort -SELECT c, - b, - a+b*2+c*3, - a+b*2+c*3+d*4+e*5, - CASE a+1 WHEN b THEN 111 WHEN c THEN 222 - WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, - (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.d0 - AND e+d BETWEEN a+b-10 AND c+130 ----- -106 -105 -635 -1612 -333 -0 -333 - -query IIIIIII rowsort -SELECT c-d, - a-b, - a+b*2+c*3+d*4+e*5, - CASE WHEN ab-2 AND ac - AND b IS NOT NULL ----- -42 values hashing to 292d19ab365220a4c3e6c8d933cded12 - -query IIIIII rowsort -SELECT a-b, - b, - a+b*2, - a+b*2+c*3+d*4+e*5, - d-e, - CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END - FROM t1 - WHERE e+d BETWEEN a+b-10 AND c+130 - OR d>e ----- -72 values hashing to 3e177272e34b49de0d456303ee9c5a3e - -query II rowsort -SELECT (a+b+c+d+e)/5, - CASE WHEN ad ----- -26 values hashing to bbcf40e5d9193aabcea50a283e717c13 - -query IIIIII rowsort -SELECT a+b*2+c*3, - a+b*2+c*3+d*4, - CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - abs(a), - b, - (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.db-2 AND ae - OR a>b ----- -138 values hashing to 36061e61f6fb65be552999cbc8a62109 - -query IIIIIII rowsort -SELECT (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.da AND e(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - abs(a), - a - FROM t1 ----- -180 values hashing to 4a8f3f5cc7acabba999f282a682e4df3 - -query II rowsort -SELECT a+b*2+c*3, - (a+b+c+d+e)/5 - FROM t1 - WHERE (e>c OR ec OR ec OR e0 ----- -150 values hashing to 2ebddea9b425cce206f5389f0b39fd13 - -query IIIIIII rowsort -SELECT b, - (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.db-2 AND a(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END - FROM t1 - WHERE (e>a AND et1.c AND x.de ----- -72 values hashing to 880fbd81a41a9c85a5eae4cce9eb38a7 - -query I rowsort -SELECT d - FROM t1 - WHERE c>d - OR b>c ----- -22 values hashing to 37894839dede35f650b00286a84a36c1 - -query IIIIIII rowsort -SELECT d-e, - CASE WHEN a=d+2) ----- -70 values hashing to dc257c0ed350a49a5fc2d03ed4017bce - -query IIIIII rowsort -SELECT e, - (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.dc - OR a>b ----- -144 values hashing to 9bef3a2da8ca8adaf6ac27a55656e1d4 - -query IIIIIII rowsort -SELECT a+b*2+c*3, - (a+b+c+d+e)/5, - b-c, - e, - abs(b-c), - c-d, - b - FROM t1 - WHERE e+d BETWEEN a+b-10 AND c+130 - AND (e>c OR ec ----- -760 -127 -4 -126 -4 --3 -129 - -query IIIII rowsort -SELECT a+b*2+c*3+d*4+e*5, - c, - abs(a), - a+b*2+c*3+d*4, - CASE a+1 WHEN b THEN 111 WHEN c THEN 222 - WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END - FROM t1 - WHERE c BETWEEN b-2 AND d+2 - AND b>c ----- -25 values hashing to a319c940b7c0dad8385a5d2d235e0ac9 - -query III rowsort -SELECT a+b*2+c*3, - a+b*2+c*3+d*4+e*5, - CASE a+1 WHEN b THEN 111 WHEN c THEN 222 - WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END - FROM t1 - WHERE d>e - AND coalesce(a,b,c,d,e)<>0 ----- -33 values hashing to cccc2fc956ba31f21063f4ed5504c7d5 - -query IIIIII rowsort -SELECT e, - d-e, - CASE WHEN a(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END - FROM t1 - WHERE d>e - OR c BETWEEN b-2 AND d+2 - OR (e>a AND ec - OR c BETWEEN b-2 AND d+2 ----- -69 values hashing to 59bf333ae0b98d58bcae7a31cd5557cc - -query I rowsort -SELECT CASE WHEN ac OR ee - OR e+d BETWEEN a+b-10 AND c+130 - OR coalesce(a,b,c,d,e)<>0 ----- -90 values hashing to bf0b1691880199579089ce2f5732550a - -query IIII rowsort -SELECT c-d, - CASE a+1 WHEN b THEN 111 WHEN c THEN 222 - WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, - d, - a-b - FROM t1 ----- -120 values hashing to 2e71f1d3ef553efa731e74493491b43e - -query IIIII rowsort -SELECT CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - a-b, - d-e, - c, - a+b*2 - FROM t1 - WHERE (a>b-2 AND ae - OR e+d BETWEEN a+b-10 AND c+130 ----- -24 values hashing to 39f21bf43fd60cb6f414344a0ebf8c6e - -query III rowsort -SELECT b, - CASE WHEN a(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END - FROM t1 ----- -150 values hashing to f04293c115149822ce94d0701e876523 - -query IIIIII rowsort -SELECT abs(b-c), - a-b, - (SELECT count(*) FROM t1 AS x WHERE x.b(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END - FROM t1 - WHERE (e>a AND eb-2 AND ad ----- -65 values hashing to 7d1010ffd2bac09eacbd2c9fba7ac5e3 - -query III rowsort -SELECT a-b, - abs(b-c), - (SELECT count(*) FROM t1 AS x WHERE x.bb-2 AND at1.c AND x.de - OR (a>b-2 AND a0 - AND (c<=d-2 OR c>=d+2) ----- - -query IIIIII rowsort -SELECT c-d, - b-c, - CASE WHEN a(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END - FROM t1 - WHERE c BETWEEN b-2 AND d+2 - AND (a>b-2 AND ae ----- -18 values hashing to 0863cee9de2d56270775813a3a17b7e5 - -query IIIIII rowsort -SELECT a+b*2+c*3+d*4+e*5, - abs(a), - a-b, - a+b*2, - b, - c-d - FROM t1 - WHERE a>b - AND c BETWEEN b-2 AND d+2 ----- -48 values hashing to 94f74078907e78ef572fa0e510484e77 - -query IIIIII rowsort -SELECT c-d, - e, - a+b*2+c*3+d*4, - c, - a, - (SELECT count(*) FROM t1 AS x WHERE x.b0 - OR b>c - OR a>b ----- -210 values hashing to c3a28a29943cda0b0369096bc4217587 - -query IIIIII rowsort -SELECT d, - c, - a+b*2+c*3+d*4, - CASE a+1 WHEN b THEN 111 WHEN c THEN 222 - WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, - abs(a), - e - FROM t1 ----- -180 values hashing to 5654e95b1947f195d63ec22ce973e453 - -query IIIII rowsort -SELECT a+b*2+c*3+d*4+e*5, - CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - e, - d, - a+b*2+c*3+d*4 - FROM t1 - WHERE (c<=d-2 OR c>=d+2) - OR (e>a AND et1.c AND x.d(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - (a+b+c+d+e)/5, - a-b, - abs(a), - CASE a+1 WHEN b THEN 111 WHEN c THEN 222 - WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END - FROM t1 ----- -210 values hashing to c3150ef8bcd2ba7d6850a2e90e8429d2 - -query II rowsort -SELECT c-d, - a+b*2+c*3+d*4 - FROM t1 - WHERE d>e - OR a IS NULL - OR EXISTS(SELECT 1 FROM t1 AS x WHERE x.bt1.c AND x.dc - AND d>e - AND EXISTS(SELECT 1 FROM t1 AS x WHERE x.b(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - abs(b-c) - FROM t1 - WHERE coalesce(a,b,c,d,e)<>0 - AND c>d ----- -78 values hashing to aea9f3b24ac690b7ca61dde6e38d4087 - -query I rowsort -SELECT a+b*2+c*3 - FROM t1 - WHERE coalesce(a,b,c,d,e)<>0 ----- -30 values hashing to 445b0172de37f3ca0ed777000309cef8 - -query IIIIIII rowsort -SELECT CASE WHEN ab-2 AND a0 ----- -90 values hashing to b695930cba779990506825371a4cb6f0 - -query IIIII rowsort -SELECT (SELECT count(*) FROM t1 AS x WHERE x.b=d+2) - AND c BETWEEN b-2 AND d+2 - AND d>e ----- -20 values hashing to f36747a922a64a45b6021838f71a7404 - -query IIII rowsort -SELECT abs(b-c), - a+b*2+c*3+d*4, - e, - b-c - FROM t1 - WHERE a IS NULL - OR coalesce(a,b,c,d,e)<>0 - OR b>c ----- -120 values hashing to a66e96aaa5e2333eada2f94e14e11d19 - -query II rowsort -SELECT (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.de ----- -22 values hashing to 6d5296bf2990e2c542cb932b111e58b0 - -query IIIII rowsort -SELECT CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - a+b*2+c*3, - c-d, - d-e, - a+b*2 - FROM t1 - WHERE d>e - OR (e>c OR et1.c AND x.dd - OR (c<=d-2 OR c>=d+2) - OR EXISTS(SELECT 1 FROM t1 AS x WHERE x.bc OR ee ----- -66 values hashing to 29bf444784eb00e33aec085b59443fcf - -query II rowsort -SELECT CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - a+b*2+c*3+d*4 - FROM t1 ----- -60 values hashing to 9dab3921e761fb6aeea4e154dd53814c - -query II rowsort -SELECT e, - c-d - FROM t1 ----- -60 values hashing to 52b55195fd2cbf5a5724611d48a47b4d - -query I rowsort -SELECT d - FROM t1 - WHERE c BETWEEN b-2 AND d+2 - OR c>d ----- -18 values hashing to 10a54676f8fc9c6839ddbb6078163c29 - -query I rowsort -SELECT abs(a) - FROM t1 ----- -30 values hashing to 9a6afb6b859fc856aafb6a7af11a38e4 - -query IIIII rowsort -SELECT a+b*2+c*3+d*4+e*5, - (SELECT count(*) FROM t1 AS x WHERE x.b(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - a - FROM t1 - WHERE (a>b-2 AND ae ----- -2728 -14 -184 -364 -182 - -query II rowsort -SELECT a, - a-b - FROM t1 - WHERE EXISTS(SELECT 1 FROM t1 AS x WHERE x.b(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.d(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - CASE WHEN ab-2 AND a=d+2) - AND c BETWEEN b-2 AND d+2 - AND b IS NOT NULL ----- -36 values hashing to 94312feb4471e360fb2f52d49629c3c6 - -query III rowsort -SELECT d-e, - CASE WHEN ab ----- -85 values hashing to 80d90d98b5254af7ad522b74fdb17712 - -query IIIIII rowsort -SELECT (SELECT count(*) FROM t1 AS x WHERE x.bt1.c AND x.db ----- -68 values hashing to abcb35b2a0d7934c081beb8189cf1b95 - -query IIIII rowsort -SELECT CASE WHEN ad ----- -78 values hashing to 1b520683f74b5530a6d329a42c3b086c - -query IIIIIII rowsort -SELECT b, - c, - abs(b-c), - CASE WHEN ab-2 AND ac ----- -105 values hashing to 93621982a8d1f310b8a2c14097620bf2 - -query IIIII rowsort -SELECT (a+b+c+d+e)/5, - a+b*2+c*3+d*4, - abs(a), - b-c, - (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.dc OR ec ----- -78 values hashing to 1dcb8480bfa52a7ff3eeadb8e5f9d6b7 - -query IIIIII rowsort -SELECT b-c, - a+b*2+c*3+d*4+e*5, - (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.d=d+2) - OR d NOT BETWEEN 110 AND 150 ----- -38 values hashing to 87d92ebb256f91f8fcff006e1de357c6 - -query IIII rowsort -SELECT abs(a), - a+b*2+c*3+d*4, - d, - CASE WHEN ac - OR c>d - OR d NOT BETWEEN 110 AND 150 ----- -130 values hashing to 22615879d395d9f85a5d5410a52cbade - -query II rowsort -SELECT a+b*2+c*3, - (a+b+c+d+e)/5 - FROM t1 - WHERE (e>a AND e(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.dc OR eb-2 AND at1.c AND x.db - AND (c<=d-2 OR c>=d+2) - AND b>c ----- -234 --2 -232 -3473 - -query IIIIIII rowsort -SELECT CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - a+b*2, - CASE a+1 WHEN b THEN 111 WHEN c THEN 222 - WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, - (a+b+c+d+e)/5, - abs(a), - abs(b-c), - c-d - FROM t1 ----- -210 values hashing to 3c8f4a1535d3f43a24c81afe21c184e4 - -query II rowsort -SELECT a+b*2+c*3+d*4+e*5, - (SELECT count(*) FROM t1 AS x WHERE x.bb ----- -105 - -query IIII rowsort -SELECT CASE a+1 WHEN b THEN 111 WHEN c THEN 222 - WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, - d, - CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - b-c - FROM t1 ----- -120 values hashing to 901ba045211faeea092345b7ad51c0d5 - -query II rowsort -SELECT (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.de - OR a IS NULL ----- -24 values hashing to e2a022b7bd74795bc490bcc51a206498 - -query I rowsort -SELECT abs(b-c) - FROM t1 - WHERE b IS NOT NULL - OR (c<=d-2 OR c>=d+2) - OR d>e ----- -28 values hashing to 13f8270a8f89d6e944f5090daeadabd0 - -query III rowsort -SELECT a, - CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - (SELECT count(*) FROM t1 AS x WHERE x.bc OR e(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END - FROM t1 - WHERE e+d BETWEEN a+b-10 AND c+130 - AND b IS NOT NULL - AND (e>a AND ea AND e=d+2) ----- --1 --3 -1 -1 --3 --2 - -query IIIII rowsort -SELECT a, - b-c, - c-d, - CASE WHEN ae - AND c BETWEEN b-2 AND d+2 - AND a>b ----- -25 values hashing to 419cd8bb5dda32eae9bca394f90dde33 - -query IIII rowsort -SELECT CASE WHEN ac OR eb - OR b>c ----- -72 values hashing to f845b36d538bfc88079f0cb5eef060a2 - -query IIII rowsort -SELECT a-b, - b, - CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - CASE WHEN a=d+2) ----- -40 values hashing to 80e350db406b6c89ef984d914c33e892 - -query I rowsort -SELECT abs(b-c) - FROM t1 - WHERE a IS NULL - AND e+d BETWEEN a+b-10 AND c+130 ----- - -query IIIII rowsort -SELECT (SELECT count(*) FROM t1 AS x WHERE x.bt1.c AND x.dd - AND EXISTS(SELECT 1 FROM t1 AS x WHERE x.bt1.c AND x.dc OR e0 - AND e+d BETWEEN a+b-10 AND c+130 ----- -14 values hashing to e86dd9a09988eb25ea97879396caf6b1 - -query IIII rowsort -SELECT e, - a+b*2+c*3, - abs(b-c), - a+b*2+c*3+d*4 - FROM t1 - WHERE coalesce(a,b,c,d,e)<>0 - AND (a>b-2 AND a0 - OR (e>c OR e(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END - FROM t1 ----- -60 values hashing to 18f2933597761b47c2c692da942192f4 - -query II rowsort -SELECT a+b*2+c*3, - b-c - FROM t1 - WHERE (e>c OR e(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END - FROM t1 - WHERE b>c - AND d NOT BETWEEN 110 AND 150 - AND coalesce(a,b,c,d,e)<>0 ----- -24 values hashing to 47e330569be3eb481186c0d6c28073c5 - -query I rowsort -SELECT a+b*2 - FROM t1 ----- -30 values hashing to fbca95e5a969d3d61cef1ebdfb618461 - -query I rowsort -SELECT d-e - FROM t1 - WHERE e+d BETWEEN a+b-10 AND c+130 - OR (c<=d-2 OR c>=d+2) ----- -10 values hashing to 6e82ac65b16043b22b77cce5a6b54b85 - -query I rowsort -SELECT (a+b+c+d+e)/5 - FROM t1 - WHERE coalesce(a,b,c,d,e)<>0 - AND (e>a AND e(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - e, - b-c - FROM t1 - WHERE (a>b-2 AND a0 ----- -40 values hashing to 37f20a64c7fb356dece2c07d46d1ab67 - -query II rowsort -SELECT a+b*2, - (a+b+c+d+e)/5 - FROM t1 - WHERE b IS NOT NULL - AND c>d - AND c BETWEEN b-2 AND d+2 ----- -20 values hashing to 5f495935b071bd704ed9f2508972775f - -query IIIIII rowsort -SELECT c, - a+b*2+c*3+d*4, - b, - abs(b-c), - (a+b+c+d+e)/5, - abs(a) - FROM t1 ----- -180 values hashing to f54645bfc786b7ace563665760407aba - -query II rowsort -SELECT c-d, - abs(a) - FROM t1 ----- -60 values hashing to fe78e4b1ff081fd27c3224d12fcc9ce5 - -query IIII rowsort -SELECT a-b, - a+b*2+c*3+d*4, - c, - (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.d=d+2) - AND c>d ----- -20 values hashing to a6f5b07700b91337d455fc7b74670969 - -query IIIIIII rowsort -SELECT d-e, - (a+b+c+d+e)/5, - CASE a+1 WHEN b THEN 111 WHEN c THEN 222 - WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, - abs(b-c), - a+b*2+c*3, - (SELECT count(*) FROM t1 AS x WHERE x.be - OR d NOT BETWEEN 110 AND 150 - OR e+d BETWEEN a+b-10 AND c+130 ----- -147 values hashing to 940512b6145ce091c8d1f82874510cfb - -query III rowsort -SELECT c, - b-c, - a+b*2+c*3 - FROM t1 - WHERE (c<=d-2 OR c>=d+2) - OR d NOT BETWEEN 110 AND 150 - OR c BETWEEN b-2 AND d+2 ----- -72 values hashing to 0f242e9e2f56c89d9c9be56b8e43ccd9 - -query II rowsort -SELECT b, - (a+b+c+d+e)/5 - FROM t1 - WHERE e+d BETWEEN a+b-10 AND c+130 ----- -105 -107 -129 -127 - -query IIIIII rowsort -SELECT CASE WHEN a(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.db-2 AND at1.c AND x.d(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - c-d - FROM t1 - WHERE EXISTS(SELECT 1 FROM t1 AS x WHERE x.bt1.c AND x.d0 - OR a IS NULL ----- -60 values hashing to 7a1089974412491aad2bf8edc19d0344 - -query IIIIII rowsort -SELECT d-e, - a+b*2+c*3+d*4+e*5, - b-c, - a, - d, - b - FROM t1 - WHERE b IS NOT NULL - OR d NOT BETWEEN 110 AND 150 ----- -174 values hashing to 03fe0d3bbd39567ee4199b3e3b15c9e0 - -query IIIIIII rowsort -SELECT a, - CASE a+1 WHEN b THEN 111 WHEN c THEN 222 - WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, - b, - (a+b+c+d+e)/5, - (SELECT count(*) FROM t1 AS x WHERE x.bc ----- -91 values hashing to 126317fd31fb97a1f067200b291595e8 - -query II rowsort -SELECT CASE WHEN a=d+2) ----- -60 values hashing to 85fd30e621d2979629fdff750ef890c6 - -query II rowsort -SELECT (SELECT count(*) FROM t1 AS x WHERE x.b(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END - FROM t1 - WHERE c BETWEEN b-2 AND d+2 - OR a IS NULL - OR (c<=d-2 OR c>=d+2) ----- -38 values hashing to 2cb9992dd2e1efb568d5c05c75270eae - -query II rowsort -SELECT CASE a+1 WHEN b THEN 111 WHEN c THEN 222 - WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, - b - FROM t1 - WHERE e+d BETWEEN a+b-10 AND c+130 ----- -333 -105 -333 -129 - -query III rowsort -SELECT a+b*2, - (SELECT count(*) FROM t1 AS x WHERE x.b(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - a+b*2+c*3+d*4 - FROM t1 - WHERE d>e - OR c BETWEEN b-2 AND d+2 ----- -68 values hashing to 85ffb6504ac3b87c0fb31d02076bb13e - -query I rowsort -SELECT c-d - FROM t1 - WHERE a>b ----- -17 values hashing to 339d4bd65b5ceb69bc4f771072510b73 - -query IIIIIII rowsort -SELECT (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.de ----- -119 values hashing to c1050f64689e52b52a4fd459eef9efca - -query IIIIIII rowsort -SELECT a+b*2, - CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - b-c, - c-d, - (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.dt1.c AND x.dc - OR c BETWEEN b-2 AND d+2 ----- -46 values hashing to 18f24ebfbe56b03b99e19ec7f35bee15 - -query IIII rowsort -SELECT (SELECT count(*) FROM t1 AS x WHERE x.bb-2 AND a(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END - FROM t1 - WHERE c BETWEEN b-2 AND d+2 - OR d NOT BETWEEN 110 AND 150 ----- -44 values hashing to 436aec0b8f293a2a9e9f2d2d27d983e8 - -query IIII rowsort -SELECT a, - CASE WHEN ad - OR (e>c OR eb-2 AND a(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - b-c, - a-b, - b - FROM t1 - WHERE a>b - OR (a>b-2 AND ae ----- -161 values hashing to f5decf8ff88f038062422376c736ce1e - -query I rowsort -SELECT (SELECT count(*) FROM t1 AS x WHERE x.b=d+2) ----- --1 -107 -2 -127 - -query III rowsort -SELECT (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.d(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - b - FROM t1 - WHERE coalesce(a,b,c,d,e)<>0 - AND d NOT BETWEEN 110 AND 150 ----- -51 values hashing to fe6b57844f6bca2c80db86f273233b7f - -query I rowsort -SELECT a+b*2+c*3+d*4 - FROM t1 - WHERE d>e - OR e+d BETWEEN a+b-10 AND c+130 ----- -12 values hashing to 3297975eebdf7bdaa556ca71560c6bad - -query IIII rowsort -SELECT a+b*2+c*3+d*4+e*5, - e, - a+b*2, - (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.d(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END - FROM t1 - WHERE b>c - AND (e>c OR et1.c AND x.dc - AND (e>c OR e0 ----- -9 values hashing to 8b75136b2b51c77345c03804ec1cda5c - -query IIIIII rowsort -SELECT CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - e, - c-d, - b, - CASE WHEN ac ----- -36 values hashing to 1dfab01a2a3cde1a0fb099a13ee8f260 - -query IIIIIII rowsort -SELECT e, - a+b*2+c*3, - a+b*2, - a, - abs(b-c), - CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - b - FROM t1 - WHERE b>c ----- -91 values hashing to 2510a4574e6b6031bf8b31706569fd18 - -query I rowsort -SELECT e - FROM t1 - WHERE b>c ----- -13 values hashing to 4d4acfcd99942f84e7e344dc0cf97feb - -query II rowsort -SELECT abs(b-c), - (SELECT count(*) FROM t1 AS x WHERE x.be - OR EXISTS(SELECT 1 FROM t1 AS x WHERE x.b0 ----- -150 values hashing to 7a10803f8ac1862746a5dfd7761068ec - -query IIII rowsort -SELECT CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.d(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - b, - (a+b+c+d+e)/5 - FROM t1 - WHERE (e>c OR et1.c AND x.d=d+2) ----- -70 values hashing to a30d10c6e226154b4f8a0a602394c523 - -query III rowsort -SELECT c, - a+b*2+c*3, - (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.d(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - c-d - FROM t1 - WHERE (e>c OR ec ----- -36 values hashing to 79335442c361dccabc252e74f3e843e2 - -query III rowsort -SELECT d-e, - (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.db - OR e+d BETWEEN a+b-10 AND c+130 - OR (e>c OR e(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - CASE a+1 WHEN b THEN 111 WHEN c THEN 222 - WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END - FROM t1 ----- -90 values hashing to 68d0758e12aa7de3bf098c50b1020325 - -query II rowsort -SELECT b, - a-b - FROM t1 - WHERE d NOT BETWEEN 110 AND 150 - AND a>b - AND d>e ----- -10 values hashing to 3c965ff7e782f60c038c785b61f762ec - -query I rowsort -SELECT b - FROM t1 - WHERE EXISTS(SELECT 1 FROM t1 AS x WHERE x.b(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - a+b*2+c*3+d*4+e*5, - a+b*2, - a+b*2+c*3+d*4 - FROM t1 ----- -210 values hashing to 211250250d77b776c079d3ae1530f040 - -query IIII rowsort -SELECT a+b*2, - a-b, - b, - d - FROM t1 - WHERE d>e - OR d NOT BETWEEN 110 AND 150 - OR (c<=d-2 OR c>=d+2) ----- -88 values hashing to 5cede43346ad9a3e7df350a2905a234e - -query III rowsort -SELECT a+b*2+c*3+d*4+e*5, - a+b*2+c*3+d*4, - a+b*2+c*3 - FROM t1 - WHERE e+d BETWEEN a+b-10 AND c+130 - OR (a>b-2 AND a(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END - FROM t1 - WHERE e+d BETWEEN a+b-10 AND c+130 - AND c>d - AND b>c ----- - -query IIIIII rowsort -SELECT c-d, - a, - a+b*2, - abs(a), - (a+b+c+d+e)/5, - c - FROM t1 - WHERE a IS NULL - OR (c<=d-2 OR c>=d+2) - OR b>c ----- -126 values hashing to a0c2526cbe79a2234e194925721595ac - -query III rowsort -SELECT b-c, - a+b*2, - a+b*2+c*3 - FROM t1 - WHERE coalesce(a,b,c,d,e)<>0 - OR a IS NULL - OR d NOT BETWEEN 110 AND 150 ----- -90 values hashing to e930affe853f103637032aeca0d8bbed - -query I rowsort -SELECT e - FROM t1 - WHERE (e>a AND ec OR e(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - b - FROM t1 - WHERE EXISTS(SELECT 1 FROM t1 AS x WHERE x.b=d+2) ----- -168 values hashing to e1a831887ece1fd1a76178b4e62c96d3 - -query IIIIIII rowsort -SELECT (SELECT count(*) FROM t1 AS x WHERE x.bb - OR d>e ----- -154 values hashing to b3c2481d8ea84ad257e77907a46f4575 - -query IIIII rowsort -SELECT a, - CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - CASE WHEN a(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - (SELECT count(*) FROM t1 AS x WHERE x.bd - OR EXISTS(SELECT 1 FROM t1 AS x WHERE x.b0 - AND c>d - AND (c<=d-2 OR c>=d+2) ----- -20 values hashing to 8f4e8cad16d912e4afabac29308ba86b - -query IIIIII rowsort -SELECT a+b*2+c*3+d*4, - a+b*2+c*3+d*4+e*5, - b, - a-b, - a, - a+b*2+c*3 - FROM t1 - WHERE a IS NULL - OR b>c ----- -90 values hashing to aae88e03ac5ada995ab449e794fe5dbd - -query IIIIII rowsort -SELECT a+b*2+c*3+d*4, - a-b, - b-c, - b, - (a+b+c+d+e)/5, - (SELECT count(*) FROM t1 AS x WHERE x.b=d+2) ----- -60 values hashing to fccfe38217c9336da83a72e1e38466e9 - -query IIIIIII rowsort -SELECT (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.d(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - c-d - FROM t1 - WHERE d NOT BETWEEN 110 AND 150 ----- -51 values hashing to 9f89c5db1a39fdf0128d784a415b7aec - -query I rowsort -SELECT d - FROM t1 - WHERE coalesce(a,b,c,d,e)<>0 - AND d NOT BETWEEN 110 AND 150 ----- -17 values hashing to 6753fb8eb6def51fd8dded76e76af57a - -query II rowsort -SELECT (SELECT count(*) FROM t1 AS x WHERE x.b=d+2) ----- -20 values hashing to aa007d94cb84743d77f13a517ac1c0a2 - -query II rowsort -SELECT abs(b-c), - c-d - FROM t1 - WHERE b IS NOT NULL ----- -54 values hashing to 0769f1f2c8be954b6c9fa17d55b37ee4 - -query IIIIII rowsort -SELECT b, - c, - e, - abs(a), - (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.d(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - a+b*2+c*3 - FROM t1 ----- -150 values hashing to 47c99b2a96a0b1135bfe580e677eeea1 - -query IIII rowsort -SELECT CASE a+1 WHEN b THEN 111 WHEN c THEN 222 - WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, - c-d, - a+b*2+c*3+d*4+e*5, - d - FROM t1 ----- -120 values hashing to 48c8a67b9e81a901a1f13db6fda04911 - -query III rowsort -SELECT a-b, - (a+b+c+d+e)/5, - abs(a) - FROM t1 - WHERE EXISTS(SELECT 1 FROM t1 AS x WHERE x.bb-2 AND at1.c AND x.dt1.c AND x.db - AND d>e - AND (a>b-2 AND a(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - c-d - FROM t1 - WHERE (e>a AND e0 ----- -120 values hashing to 8ab46353ee866e071bf1b7af72db7e40 - -query IIIIII rowsort -SELECT d, - c-d, - CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - a+b*2+c*3+d*4, - (a+b+c+d+e)/5, - (SELECT count(*) FROM t1 AS x WHERE x.bd - AND b IS NOT NULL - AND a>b ----- -30 values hashing to fdd011a2e0a18abb3227e4326df8ecdd - -query IIIIIII rowsort -SELECT a-b, - (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.d(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - e, - (a+b+c+d+e)/5, - d-e - FROM t1 ----- -210 values hashing to 51eb4c6f118a3cd801249a8cd6d255c6 - -query IIII rowsort -SELECT a, - abs(a), - a+b*2+c*3+d*4+e*5, - a+b*2 - FROM t1 - WHERE (c<=d-2 OR c>=d+2) - OR c>d ----- -72 values hashing to 082358e17e9e36e6e9d5b0c79eee1ea6 - -query II rowsort -SELECT c, - CASE a+1 WHEN b THEN 111 WHEN c THEN 222 - WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END - FROM t1 ----- -60 values hashing to 19f43f5d16381a382e6f42d423819d43 - -query IIIII rowsort -SELECT b-c, - a+b*2+c*3+d*4, - b, - c-d, - a+b*2+c*3 - FROM t1 - WHERE d>e - AND c>d - AND coalesce(a,b,c,d,e)<>0 ----- -25 values hashing to 299e3455af3896f73b4c030343e18557 - -query IIIIII rowsort -SELECT b, - (a+b+c+d+e)/5, - a-b, - a+b*2+c*3+d*4+e*5, - CASE WHEN ae ----- -66 values hashing to 63f9ad9303fb8a4a7b347b0e62fdff94 - -query IIIII rowsort -SELECT c, - (SELECT count(*) FROM t1 AS x WHERE x.bt1.c AND x.dt1.c AND x.de ----- -33 values hashing to ea6c8f3411332788326ec19211e7f3ca - -query III rowsort -SELECT a, - c-d, - abs(a) - FROM t1 - WHERE d>e ----- -33 values hashing to a1f305de18a165327a59c4b3250a373e - -query IIIII rowsort -SELECT abs(b-c), - a-b, - c-d, - CASE a+1 WHEN b THEN 111 WHEN c THEN 222 - WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, - b-c - FROM t1 ----- -150 values hashing to 2b4eff4fda2993558a9c12090b664627 - -query IIIII rowsort -SELECT CASE a+1 WHEN b THEN 111 WHEN c THEN 222 - WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, - (SELECT count(*) FROM t1 AS x WHERE x.bc - OR d NOT BETWEEN 110 AND 150 - OR (a>b-2 AND a(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END - FROM t1 - WHERE (a>b-2 AND ad ----- -119 values hashing to 7343926d6c48db22db873f7d5ee38428 - -query I rowsort -SELECT CASE a+1 WHEN b THEN 111 WHEN c THEN 222 - WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END - FROM t1 - WHERE c BETWEEN b-2 AND d+2 ----- -15 values hashing to a879d0436172411bd1ff79ad23bcf6c5 - -query IIIIIII rowsort -SELECT c-d, - (SELECT count(*) FROM t1 AS x WHERE x.bt1.c AND x.dt1.c AND x.d0 ----- -60 values hashing to b339e36127a64202a49f498513dd40e3 - -query IIIII rowsort -SELECT b, - d-e, - a+b*2+c*3+d*4, - (SELECT count(*) FROM t1 AS x WHERE x.be ----- -112 -4 -NULL -1 -444 - -query IIII rowsort -SELECT e, - a+b*2, - CASE WHEN a(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - b, - e, - c-d, - b-c, - d - FROM t1 - WHERE d>e - AND a>b - AND d NOT BETWEEN 110 AND 150 ----- -35 values hashing to be86deef0c7e820d495982d5c6b880da - -query IIIII rowsort -SELECT CASE WHEN a(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - c, - (a+b+c+d+e)/5 - FROM t1 - WHERE EXISTS(SELECT 1 FROM t1 AS x WHERE x.bb ----- -34 values hashing to d2068136b2985ee7c04a8c9b78209dad - -query IIIIIII rowsort -SELECT (a+b+c+d+e)/5, - abs(b-c), - c-d, - CASE a+1 WHEN b THEN 111 WHEN c THEN 222 - WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, - a, - b, - abs(a) - FROM t1 - WHERE c>d - OR c BETWEEN b-2 AND d+2 ----- -126 values hashing to adb8714e6ea266fe29ae95aa6fd92d4d - -query II rowsort -SELECT CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - b - FROM t1 - WHERE a IS NULL ----- -1120 -112 -NULL -206 - -query IIII rowsort -SELECT (a+b+c+d+e)/5, - (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.db-2 AND a=d+2) - AND (e>a AND et1.c AND x.da AND eb - OR c BETWEEN b-2 AND d+2 ----- -162 values hashing to a0366f44c0f21a5de9e307e2f3a2b965 - -query IIII rowsort -SELECT a-b, - c-d, - (SELECT count(*) FROM t1 AS x WHERE x.bd ----- -39 values hashing to b3af61dbda8d2d8b5489597c7f233424 - -query IIII rowsort -SELECT (a+b+c+d+e)/5, - abs(b-c), - a+b*2+c*3, - a+b*2+c*3+d*4 - FROM t1 ----- -120 values hashing to cca0428a4957294dfd510fc7266ea92d - -query II rowsort -SELECT a-b, - CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END - FROM t1 - WHERE d>e ----- -22 values hashing to efc2b46a59d1aa24c732442ab6e2e534 - -query I rowsort -SELECT a-b - FROM t1 - WHERE (e>c OR e0 - AND (e>c OR eb-2 AND aa AND et1.c AND x.d(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - a - FROM t1 - WHERE (c<=d-2 OR c>=d+2) ----- -70 values hashing to 25f32304c1bc47764dd68ff331ed7b3d - -query III rowsort -SELECT a, - a+b*2+c*3+d*4, - d - FROM t1 - WHERE b IS NOT NULL ----- -81 values hashing to 43ef865ccee93beaef9b0531bbe27ea1 - -query IIIII rowsort -SELECT a+b*2+c*3+d*4, - (a+b+c+d+e)/5, - (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.d0 - AND d>e ----- -55 values hashing to 629632d72a0b69e9ce52cf46e7961dc2 - -query IIIIIII rowsort -SELECT e, - abs(a), - (SELECT count(*) FROM t1 AS x WHERE x.b(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - a, - (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.d=d+2) ----- -133 values hashing to 4c7875a7b6b7999ecba73c9123945b6f - -query IIIIIII rowsort -SELECT abs(b-c), - CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - abs(a), - (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.dd ----- -91 values hashing to 1039be830093d12f37a63093d04e1547 - -query IIIIIII rowsort -SELECT (SELECT count(*) FROM t1 AS x WHERE x.bt1.c AND x.d(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - d-e, - abs(b-c), - (a+b+c+d+e)/5 - FROM t1 ----- -210 values hashing to b2e9cef39d103d581c325552c1fad51e - -query IIIII rowsort -SELECT a+b*2+c*3+d*4, - d-e, - c-d, - abs(a), - CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END - FROM t1 - WHERE EXISTS(SELECT 1 FROM t1 AS x WHERE x.b=d+2) ----- -40 values hashing to 0a56263b4e542487aed6eda155f85f2a - -query IIIIII rowsort -SELECT (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.d(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - (a+b+c+d+e)/5, - CASE WHEN ad - OR b>c ----- -132 values hashing to 677b478959906ed745c9582fe57c8429 - -query IIIIII rowsort -SELECT b, - a+b*2, - b-c, - a, - CASE WHEN a=d+2) ----- -60 values hashing to 43cc8289cc0d7aa27dd7ca100b418c79 - -query I rowsort -SELECT a+b*2+c*3+d*4 - FROM t1 - WHERE (a>b-2 AND ae - AND EXISTS(SELECT 1 FROM t1 AS x WHERE x.bt1.c AND x.db-2 AND ad - AND d NOT BETWEEN 110 AND 150 ----- --2 --2 --4 -1 -2 -3 -NULL -NULL - -query II rowsort -SELECT (a+b+c+d+e)/5, - c-d - FROM t1 - WHERE (c<=d-2 OR c>=d+2) - AND d NOT BETWEEN 110 AND 150 ----- -16 values hashing to 2c838c66b1922cc5ef8d87bbd634c2e1 - -query I rowsort -SELECT a-b - FROM t1 - WHERE b IS NOT NULL - AND c>d ----- -11 values hashing to a727bc0a71dc5f6847d30cb017bdbf58 - -query I rowsort -SELECT CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END - FROM t1 - WHERE a>b - OR c>d ----- -25 values hashing to 41af91f684d2199c66e7c6d300ada96b - -query IIIIIII rowsort -SELECT a+b*2+c*3+d*4+e*5, - abs(a), - e, - a+b*2+c*3, - abs(b-c), - a-b, - CASE WHEN ac OR e(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - b, - d, - c-d, - a+b*2 - FROM t1 - WHERE a>b - OR (c<=d-2 OR c>=d+2) - OR a IS NULL ----- -144 values hashing to ce0260b129a5febb9ede5c74aea550c5 - -query II rowsort -SELECT b-c, - a+b*2 - FROM t1 - WHERE EXISTS(SELECT 1 FROM t1 AS x WHERE x.be - OR c BETWEEN b-2 AND d+2 - OR (e>a AND ea AND eb ----- -80 values hashing to 782160babf2c361f1ed87683e525e840 - -query IIIIIII rowsort -SELECT b, - CASE a+1 WHEN b THEN 111 WHEN c THEN 222 - WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, - d, - a-b, - a+b*2, - a+b*2+c*3, - (SELECT count(*) FROM t1 AS x WHERE x.bt1.c AND x.da AND ea AND eb-2 AND ae - AND b IS NOT NULL ----- -15 values hashing to 7c787a6339d303da1db7c981873e544b - -query IIII rowsort -SELECT CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - a, - abs(a), - CASE WHEN a0 - AND d NOT BETWEEN 110 AND 150 - AND b IS NOT NULL ----- -60 values hashing to 2007f05c0a6e062701e09fdfa0713122 - -query IIIIII rowsort -SELECT a+b*2+c*3, - a+b*2+c*3+d*4+e*5, - a+b*2+c*3+d*4, - (SELECT count(*) FROM t1 AS x WHERE x.b0 ----- -180 values hashing to 9b776a59385a5b6e30c0e39547af4166 - -query III rowsort -SELECT a+b*2+c*3+d*4+e*5, - a-b, - abs(a) - FROM t1 ----- -90 values hashing to fef98e4832a2f229da033f1bc8cf44b0 - -query II rowsort -SELECT a+b*2+c*3+d*4, - CASE WHEN ae ----- -44 values hashing to 0a0d670d28969de28ede7d2e1e51ba1f - -query III rowsort -SELECT d, - CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - abs(b-c) - FROM t1 - WHERE b>c - AND d>e - AND coalesce(a,b,c,d,e)<>0 ----- -12 values hashing to 09562012bae47f170d9275f0d6912571 - -query IIIIIII rowsort -SELECT d-e, - (SELECT count(*) FROM t1 AS x WHERE x.b=d+2) - OR a IS NULL - OR d NOT BETWEEN 110 AND 150 ----- -140 values hashing to 7b013cbc35b21bdb59f96aff7f278d57 - -query IIIII rowsort -SELECT CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - c-d, - d-e, - CASE a+1 WHEN b THEN 111 WHEN c THEN 222 - WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, - CASE WHEN at1.c AND x.da AND et1.c AND x.db-2 AND at1.c AND x.dc OR et1.c AND x.dd ----- -78 values hashing to e47956172c8fa5c59837e680b8bf0cc7 - -query IIII rowsort -SELECT CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - c, - a+b*2, - a+b*2+c*3 - FROM t1 - WHERE (e>c OR et1.c AND x.d=d+2) - OR (e>a AND e(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - c-d, - a+b*2+c*3+d*4 - FROM t1 - WHERE a IS NULL - AND c>d - AND (e>a AND ec OR eb - OR a IS NULL ----- -38 values hashing to c780d393ba03d9efcbfb54dfb435ce6b - -query III rowsort -SELECT CASE a+1 WHEN b THEN 111 WHEN c THEN 222 - WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, - a, - c-d - FROM t1 - WHERE EXISTS(SELECT 1 FROM t1 AS x WHERE x.bc ----- -39 values hashing to 43e0495dd149fef637b37182902a70b0 - -query IIII rowsort -SELECT e, - (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.de ----- -44 values hashing to a0bbce0efbadffac94910fe5daccf705 - -query IIIIIII rowsort -SELECT a-b, - (a+b+c+d+e)/5, - CASE a+1 WHEN b THEN 111 WHEN c THEN 222 - WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, - abs(b-c), - (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.dt1.c AND x.d=d+2) - OR c>d - OR a IS NULL ----- -95 values hashing to 3e4cd208357eddf8ec1f9c0f4886f421 - -query II rowsort -SELECT b-c, - abs(a) - FROM t1 ----- -60 values hashing to f81a96674d5188e29e9a2725a491cbee - -query IIIII rowsort -SELECT d, - (SELECT count(*) FROM t1 AS x WHERE x.bc - OR d NOT BETWEEN 110 AND 150 ----- -120 values hashing to a8ac31c7c91b1d87db3fcf5623afa85b - -query II rowsort -SELECT a, - c - FROM t1 - WHERE d>e - AND b>c ----- -127 -125 -138 -137 -234 -231 -245 -247 - -query I rowsort -SELECT b-c - FROM t1 - WHERE EXISTS(SELECT 1 FROM t1 AS x WHERE x.b=d+2) ----- -28 values hashing to 1ff878f032c5cfd9be2e7d1739fd5bb1 - -query I rowsort -SELECT (SELECT count(*) FROM t1 AS x WHERE x.bc OR ec ----- -39 values hashing to 3a3a06de0e9583c7ab3290f3dec6e38f - -query II rowsort -SELECT CASE a+1 WHEN b THEN 111 WHEN c THEN 222 - WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, - a+b*2 - FROM t1 ----- -60 values hashing to 268ffae5bbd280974bcf34ff00a53ce8 - -query IIII rowsort -SELECT CASE WHEN a0 - OR a IS NULL - OR EXISTS(SELECT 1 FROM t1 AS x WHERE x.be - AND a IS NULL ----- -NULL - -query IIIII rowsort -SELECT a+b*2+c*3, - a+b*2+c*3+d*4, - CASE WHEN a(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - c-d, - a+b*2+c*3+d*4, - (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.d(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - abs(a), - a, - (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.da AND eb-2 AND at1.c AND x.dc ----- -26 values hashing to ac1ac27954b3ddbc82d232af3766a94b - -query I rowsort -SELECT a+b*2+c*3 - FROM t1 - WHERE EXISTS(SELECT 1 FROM t1 AS x WHERE x.b0 - OR (e>c OR ec OR ed ----- - -query IIIII rowsort -SELECT CASE a+1 WHEN b THEN 111 WHEN c THEN 222 - WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, - c, - a+b*2+c*3, - d, - d-e - FROM t1 - WHERE (e>a AND ec ----- --4 -1 -2 -3 -NULL - -query II rowsort -SELECT abs(a), - (SELECT count(*) FROM t1 AS x WHERE x.b0 ----- -120 values hashing to 8af952a15dc09ac334e0d82042a24df9 - -query I rowsort -SELECT a - FROM t1 ----- -30 values hashing to 9a6afb6b859fc856aafb6a7af11a38e4 - -query I rowsort -SELECT CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END - FROM t1 - WHERE b IS NOT NULL - OR c BETWEEN b-2 AND d+2 - OR (e>c OR e0 - AND a>b - AND b IS NOT NULL ----- -51 values hashing to fb13c2384756bc5e8255d1d7d244b5a8 - -query IIIIIII rowsort -SELECT a-b, - a+b*2+c*3, - c-d, - a+b*2+c*3+d*4, - (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.d=d+2) - AND c>d ----- - -query IIIIII rowsort -SELECT e, - b-c, - (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.d(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - b, - d - FROM t1 - WHERE EXISTS(SELECT 1 FROM t1 AS x WHERE x.b=d+2) - AND b IS NOT NULL ----- -36 values hashing to 06e77c39107ea08444e134ef0f89067a - -query I rowsort -SELECT CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END - FROM t1 - WHERE c BETWEEN b-2 AND d+2 ----- -15 values hashing to 24301db3251cc0181759db55e6ca955d - -query III rowsort -SELECT c-d, - CASE a+1 WHEN b THEN 111 WHEN c THEN 222 - WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, - CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END - FROM t1 - WHERE b>c ----- -39 values hashing to 03a1cfda7ff971e7feec2aae616af091 - -query IIIII rowsort -SELECT a+b*2+c*3+d*4, - a, - abs(b-c), - d-e, - a+b*2 - FROM t1 - WHERE b IS NOT NULL - AND a>b - AND c BETWEEN b-2 AND d+2 ----- -40 values hashing to 367c01752379b26b48a5796d10d16ee8 - -query I rowsort -SELECT a+b*2+c*3 - FROM t1 - WHERE EXISTS(SELECT 1 FROM t1 AS x WHERE x.be ----- -26 values hashing to 5c41d2c888f71bdfb301a5449bb2316d - -query IIIIII rowsort -SELECT c-d, - CASE a+1 WHEN b THEN 111 WHEN c THEN 222 - WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, - a+b*2+c*3+d*4, - a+b*2, - c, - CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END - FROM t1 - WHERE c BETWEEN b-2 AND d+2 - OR coalesce(a,b,c,d,e)<>0 ----- -180 values hashing to 90084eaaa4371d329e7a2ac1a0ed1c5f - -query I rowsort -SELECT a+b*2 - FROM t1 - WHERE (e>a AND eb-2 AND aa AND ec OR e(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END - FROM t1 - WHERE c>d - OR (c<=d-2 OR c>=d+2) - OR e+d BETWEEN a+b-10 AND c+130 ----- -36 values hashing to 1fa798dc51e11d6e3131bf0c82349e7d - -query III rowsort -SELECT (a+b+c+d+e)/5, - CASE a+1 WHEN b THEN 111 WHEN c THEN 222 - WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, - b - FROM t1 ----- -90 values hashing to 1db270b129edfe2a9cbfb25cb5406519 - -query IIIIII rowsort -SELECT CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - a+b*2+c*3+d*4+e*5, - CASE WHEN at1.c AND x.da AND ec OR ee - AND b IS NOT NULL - AND (e>a AND eb ----- -34 values hashing to 61ae510be58bcd19ca005e792d30db99 - -query IIIIII rowsort -SELECT d-e, - (SELECT count(*) FROM t1 AS x WHERE x.b(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - b, - a+b*2+c*3+d*4+e*5 - FROM t1 - WHERE a>b - OR b>c - OR c BETWEEN b-2 AND d+2 ----- -162 values hashing to d3bb54ee120d9244f04682c3992fe447 - -query I rowsort -SELECT a-b - FROM t1 ----- -30 values hashing to a8508bcdf86e494dd5feccb5ca8d9768 - -query IIII rowsort -SELECT c-d, - (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.dc - AND a IS NULL ----- - -query III rowsort -SELECT abs(b-c), - c, - a+b*2+c*3+d*4+e*5 - FROM t1 ----- -90 values hashing to 4a1cb86e3b2d0a16b93a4a43e4862ea7 - -query II rowsort -SELECT abs(a), - d - FROM t1 - WHERE c BETWEEN b-2 AND d+2 - AND d NOT BETWEEN 110 AND 150 - AND c>d ----- -12 values hashing to 1db451b4f2b6f6a00ca68c20c8f5a10a - -query IIIII rowsort -SELECT d-e, - c-d, - a+b*2+c*3+d*4+e*5, - a+b*2+c*3+d*4, - a - FROM t1 - WHERE e+d BETWEEN a+b-10 AND c+130 ----- -10 values hashing to 0f2bcf5dd0b4e7c0d86e4dea51b3669d - -query IIIIIII rowsort -SELECT a+b*2+c*3+d*4+e*5, - CASE WHEN ab-2 AND ac ----- -12 values hashing to 29cac38b69c814d477ac32eec447ae65 - -query II rowsort -SELECT a+b*2+c*3+d*4+e*5, - abs(a) - FROM t1 - WHERE a>b - OR (e>c OR e0 - AND (e>c OR eb-2 AND a0 - AND (a>b-2 AND aa AND e(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - c-d, - a-b, - (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.dt1.c AND x.db-2 AND ab ----- -40 values hashing to 4ff7b2fb85463226b58936d09fcc37e8 - -query IIIII rowsort -SELECT abs(a), - a+b*2, - CASE a+1 WHEN b THEN 111 WHEN c THEN 222 - WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, - (SELECT count(*) FROM t1 AS x WHERE x.b0 ----- -30 values hashing to 5597b8fa34613aadc270053ea54637e5 - -query IIIII rowsort -SELECT b, - b-c, - a+b*2+c*3+d*4+e*5, - abs(a), - CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END - FROM t1 - WHERE b IS NOT NULL - AND coalesce(a,b,c,d,e)<>0 ----- -135 values hashing to 75d9abddd431af42ba006b25f9f77c64 - -query I rowsort -SELECT e - FROM t1 - WHERE (c<=d-2 OR c>=d+2) - OR b IS NOT NULL ----- -28 values hashing to d2d7ee3c92135bb07a4e693017a465fa - -query IIIIIII rowsort -SELECT (SELECT count(*) FROM t1 AS x WHERE x.b(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END - FROM t1 - WHERE c BETWEEN b-2 AND d+2 ----- -105 values hashing to a1b6d1f25e288ac504cdf45104e5bcea - -query IIII rowsort -SELECT abs(a), - a-b, - a+b*2+c*3+d*4, - a+b*2 - FROM t1 - WHERE coalesce(a,b,c,d,e)<>0 ----- -120 values hashing to cae2effd4f5bfa6d7cc193ec4fec967d - -query IIIII rowsort -SELECT (SELECT count(*) FROM t1 AS x WHERE x.bb - OR d NOT BETWEEN 110 AND 150 ----- -120 values hashing to 47ef020bd750bd779fc3a87e56ca1e40 - -query III rowsort -SELECT abs(a), - (SELECT count(*) FROM t1 AS x WHERE x.ba AND ec OR ec - OR d>e ----- -120 values hashing to 094387372652ced028edd125dc034efc - -query IIIII rowsort -SELECT e, - b-c, - abs(b-c), - c, - c-d - FROM t1 - WHERE a>b ----- -85 values hashing to cf909c6ca2632f334d02ace97fe65161 - -query IIIIIII rowsort -SELECT b, - a-b, - d, - a+b*2, - CASE a+1 WHEN b THEN 111 WHEN c THEN 222 - WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, - b-c, - a+b*2+c*3 - FROM t1 - WHERE d NOT BETWEEN 110 AND 150 ----- -119 values hashing to 46dcc426265c9c6d3e5a95476b486aea - -query IIIIII rowsort -SELECT d-e, - a-b, - CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - a+b*2, - abs(b-c), - c-d - FROM t1 - WHERE (e>a AND ed ----- -90 values hashing to 24562a4b1a2aff1a1a2f2cf5c4224a17 - -query I rowsort -SELECT a+b*2 - FROM t1 - WHERE c>d - OR a>b - OR d>e ----- -28 values hashing to 2fcc0f3b5e0753a1f915168aa80928cb - -query IIII rowsort -SELECT c-d, - b-c, - e, - a+b*2+c*3+d*4+e*5 - FROM t1 - WHERE d>e ----- -44 values hashing to 2a856cf96ef2c2ee896fde7ac15baf59 - -query I rowsort -SELECT e - FROM t1 - WHERE a>b - OR coalesce(a,b,c,d,e)<>0 ----- -30 values hashing to b9f09a0d6206ee3b897ed8a2dc580e1d - -query IIII rowsort -SELECT a+b*2+c*3+d*4, - a+b*2+c*3, - CASE a+1 WHEN b THEN 111 WHEN c THEN 222 - WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, - b - FROM t1 - WHERE EXISTS(SELECT 1 FROM t1 AS x WHERE x.bb - AND e+d BETWEEN a+b-10 AND c+130 ----- - -query I rowsort -SELECT c - FROM t1 - WHERE c>d - OR EXISTS(SELECT 1 FROM t1 AS x WHERE x.b=d+2) ----- -29 values hashing to 725eda52ed4dea9e7b98db61d7453ca7 - -query IIIIII rowsort -SELECT e, - a+b*2+c*3+d*4+e*5, - (a+b+c+d+e)/5, - CASE a+1 WHEN b THEN 111 WHEN c THEN 222 - WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, - a, - b-c - FROM t1 - WHERE a>b - AND EXISTS(SELECT 1 FROM t1 AS x WHERE x.be ----- -36 values hashing to 36e5ee818c5f66d85faa44d5c242e3a3 - -query IIII rowsort -SELECT e, - (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.d=d+2) - AND (e>a AND e(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - abs(b-c), - abs(a) - FROM t1 - WHERE a>b - OR c>d ----- -75 values hashing to b9e8c83a8bc74e55aa613fb8bbae83b5 - -query IIIIII rowsort -SELECT c, - b, - abs(b-c), - e, - d-e, - (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.d(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END - FROM t1 - WHERE (a>b-2 AND ac OR ea AND e(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - a-b, - abs(b-c), - CASE a+1 WHEN b THEN 111 WHEN c THEN 222 - WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END - FROM t1 - WHERE c BETWEEN b-2 AND d+2 - OR EXISTS(SELECT 1 FROM t1 AS x WHERE x.bt1.c AND x.d(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.d(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - a+b*2, - abs(b-c), - a+b*2+c*3+d*4 - FROM t1 - WHERE (a>b-2 AND ac OR ec ----- -125 values hashing to a4c2c5b599a12eb25e02a7a49e712b33 - -query IIIIIII rowsort -SELECT (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.d(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - a+b*2+c*3+d*4 - FROM t1 - WHERE d>e - OR b IS NOT NULL - OR d NOT BETWEEN 110 AND 150 ----- -203 values hashing to 1c10d302b1c0ebea0ed1b3f458977b97 - -query III rowsort -SELECT a+b*2+c*3+d*4+e*5, - c-d, - (SELECT count(*) FROM t1 AS x WHERE x.b=d+2) ----- -1612 --2 -0 -1902 --3 -3 - -query IIII rowsort -SELECT (a+b+c+d+e)/5, - (SELECT count(*) FROM t1 AS x WHERE x.b0 - OR b IS NOT NULL ----- -120 values hashing to 1851d361af710203059df04bf29673a7 - -query IIII rowsort -SELECT c, - a+b*2+c*3+d*4+e*5, - b, - a+b*2 - FROM t1 ----- -120 values hashing to 10ce41f677d9d05127e3b704d98bc101 - -query IIIIII rowsort -SELECT b-c, - b, - a+b*2, - (SELECT count(*) FROM t1 AS x WHERE x.b=d+2) ----- -60 values hashing to acdf487118a15ea371915fc5f0f267ff - -query IIIII rowsort -SELECT a, - (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.d0 ----- -10 values hashing to 40d0564520ae2c3653e39dbaed07d225 - -query IIIIII rowsort -SELECT b, - b-c, - e, - CASE WHEN a(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - a - FROM t1 - WHERE a IS NULL - OR (c<=d-2 OR c>=d+2) ----- -72 values hashing to 2f4add22910ef08e36f4a9b91127d083 - -query II rowsort -SELECT a-b, - d-e - FROM t1 ----- -60 values hashing to c60a057f1b0709ced3374a0ceb82507d - -query I rowsort -SELECT a+b*2+c*3+d*4+e*5 - FROM t1 - WHERE (a>b-2 AND ae - OR (c<=d-2 OR c>=d+2) ----- -32 values hashing to 9e90687d2b7ec623140ca90b9f8aa467 - -query IIIIIII rowsort -SELECT a-b, - a+b*2+c*3, - abs(b-c), - d, - (a+b+c+d+e)/5, - (SELECT count(*) FROM t1 AS x WHERE x.b(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END - FROM t1 - WHERE b IS NOT NULL ----- -189 values hashing to ca41f560b82abfc4ff509877b9d62b5d - -query I rowsort -SELECT a+b*2+c*3+d*4 - FROM t1 - WHERE (e>c OR eb-2 AND at1.c AND x.db ----- -102 values hashing to 4a7a447f6d5243f37593760f719d4ded - -query I rowsort -SELECT abs(a) - FROM t1 - WHERE EXISTS(SELECT 1 FROM t1 AS x WHERE x.b0 - AND a IS NULL ----- -NULL -NULL - -query IIIIIII rowsort -SELECT a+b*2+c*3+d*4, - c-d, - CASE a+1 WHEN b THEN 111 WHEN c THEN 222 - WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, - e, - CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - (a+b+c+d+e)/5, - b - FROM t1 - WHERE c>d ----- -91 values hashing to 8bc441725523cf82da0b2509fef56441 - -query IIII rowsort -SELECT a+b*2, - a-b, - a+b*2+c*3+d*4, - (SELECT count(*) FROM t1 AS x WHERE x.bb - AND c BETWEEN b-2 AND d+2 ----- -40 values hashing to 514495abd297c1a057a65b95c2ad204c - -query IIII rowsort -SELECT a-b, - CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - c-d, - b - FROM t1 ----- -120 values hashing to ab4368667b081082064b8857255d4dfb - -query III rowsort -SELECT c-d, - abs(b-c), - CASE WHEN ab ----- -30 values hashing to 7df01c794d7280c4cda156ce4cc15349 - -query II rowsort -SELECT b, - a - FROM t1 - WHERE (a>b-2 AND at1.c AND x.dc - OR (e>a AND e(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - e - FROM t1 - WHERE (c<=d-2 OR c>=d+2) - AND a>b - AND (e>c OR ec ----- -91 values hashing to f466adf4b72001a7e56f1288f645df0b - -query I rowsort -SELECT a+b*2+c*3 - FROM t1 - WHERE b IS NOT NULL - AND EXISTS(SELECT 1 FROM t1 AS x WHERE x.bb - AND (a>b-2 AND ad ----- -14 values hashing to 060c8961d4cff53963cd257a6eee9284 - -query III rowsort -SELECT (a+b+c+d+e)/5, - CASE a+1 WHEN b THEN 111 WHEN c THEN 222 - WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, - d-e - FROM t1 ----- -90 values hashing to bbd77b718f2719f7454986877792ef5e - -query IIII rowsort -SELECT CASE WHEN a(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - e, - a - FROM t1 ----- -120 values hashing to 3fa24bffa729a10cb7039b714b42e5d4 - -query III rowsort -SELECT b-c, - e, - CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END - FROM t1 - WHERE (c<=d-2 OR c>=d+2) - OR c>d ----- -54 values hashing to 881857dc2c171a5b5629a1b02f5ace04 - -query IIIIIII rowsort -SELECT (SELECT count(*) FROM t1 AS x WHERE x.b(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - CASE a+1 WHEN b THEN 111 WHEN c THEN 222 - WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, - CASE WHEN ac - OR c>d ----- -132 values hashing to 11730d9f03d7ecbc708a87dc3640c235 - -query IIIIII rowsort -SELECT e, - (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.dc - AND d>e ----- -12 values hashing to 9f73d785e22ab32232fd62d9ad1f340d - -query I rowsort -SELECT a+b*2 - FROM t1 - WHERE a>b - AND coalesce(a,b,c,d,e)<>0 - AND a IS NULL ----- - -query IIII rowsort -SELECT CASE WHEN ab-2 AND at1.c AND x.d0 - OR (a>b-2 AND at1.c AND x.dc ----- -26 values hashing to 153104bccece0f4b8983f53c4fce4711 - -query IIIIIII rowsort -SELECT b, - a+b*2+c*3, - (a+b+c+d+e)/5, - CASE WHEN ae ----- -77 values hashing to 6e95b47bb3fde264a5703ac9d978a586 - -query IIII rowsort -SELECT CASE WHEN ab - AND (e>a AND eb ----- -27 values hashing to c6c480f662d91f78cd743fd4c1283663 - -query IIIIIII rowsort -SELECT c, - b-c, - a+b*2+c*3+d*4, - (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.d0 - AND b IS NOT NULL ----- -189 values hashing to 3b5e129e362e947f42addc2454cc9d00 - -query IIIIII rowsort -SELECT a+b*2+c*3+d*4, - abs(b-c), - b-c, - d-e, - a+b*2, - a+b*2+c*3+d*4+e*5 - FROM t1 - WHERE e+d BETWEEN a+b-10 AND c+130 - OR b>c - OR c BETWEEN b-2 AND d+2 ----- -138 values hashing to 99547f63b16be41e4b6d1ce1ecd6bbba - -query IIIII rowsort -SELECT c-d, - CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - a-b, - c, - a+b*2+c*3+d*4 - FROM t1 ----- -150 values hashing to 0a190d0a39d0986d864cdafb35899dec - -query IIIII rowsort -SELECT d, - (SELECT count(*) FROM t1 AS x WHERE x.bc ----- -13 values hashing to bf5f4ef7a0280c43b79f03405b636d31 - -query I rowsort -SELECT d-e - FROM t1 - WHERE (e>a AND e=d+2) - AND (a>b-2 AND at1.c AND x.db-2 AND a(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - a-b, - CASE WHEN ab ----- -72 values hashing to 82acf3b1c44d191e300317b99459564f - -query I rowsort -SELECT a+b*2+c*3+d*4 - FROM t1 ----- -30 values hashing to fd6d6825820cf653aceb2d72af4a5983 - -query IIIII rowsort -SELECT c-d, - a, - b, - d, - b-c - FROM t1 ----- -150 values hashing to 805631fbc56c324b76a9e5def0b20628 - -query IIIII rowsort -SELECT a, - c, - a+b*2+c*3, - CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - (SELECT count(*) FROM t1 AS x WHERE x.b0 - AND (c<=d-2 OR c>=d+2) ----- -50 values hashing to 8b122e9905ab4554fac21a8adb7e15bb - -query IIII rowsort -SELECT (SELECT count(*) FROM t1 AS x WHERE x.bb-2 AND at1.c AND x.d0 - AND e+d BETWEEN a+b-10 AND c+130 ----- -10 values hashing to f554e1ec3679835b79c7b5798663cdfd - -query IIIII rowsort -SELECT a+b*2+c*3+d*4+e*5, - abs(a), - c, - CASE WHEN a0 - OR (c<=d-2 OR c>=d+2) ----- -150 values hashing to 549a029db9acfbfd3deb7f78189f3707 - -query IIIII rowsort -SELECT CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - a+b*2+c*3+d*4, - c, - d, - b - FROM t1 - WHERE b IS NOT NULL - AND c BETWEEN b-2 AND d+2 ----- -75 values hashing to b90bf883e6dde333753b1eb5b7b41d7b - -query IIIIII rowsort -SELECT CASE a+1 WHEN b THEN 111 WHEN c THEN 222 - WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, - a+b*2+c*3, - d, - abs(a), - (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.d(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - b-c, - a, - (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.d(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - c, - e - FROM t1 - WHERE coalesce(a,b,c,d,e)<>0 - OR EXISTS(SELECT 1 FROM t1 AS x WHERE x.bt1.c AND x.d=d+2) ----- -50 values hashing to 1a25f2981afcfe3b90b78e5f46d408dd - -query IIIII rowsort -SELECT abs(a), - (a+b+c+d+e)/5, - a, - (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.db-2 AND ac ----- -10 values hashing to 97311a820c01f81122bd9a43101bb2b3 - -query IIII rowsort -SELECT b-c, - a+b*2, - d, - abs(b-c) - FROM t1 - WHERE EXISTS(SELECT 1 FROM t1 AS x WHERE x.bc - AND (c<=d-2 OR c>=d+2) ----- -16 values hashing to 955f14c539e3692f1b86ab3a24683a19 - -query IIIII rowsort -SELECT d-e, - (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.dc ----- -65 values hashing to e3d9292d05db4167a92c6229e4caa760 - -query I rowsort -SELECT b-c - FROM t1 - WHERE c>d - OR d>e - OR EXISTS(SELECT 1 FROM t1 AS x WHERE x.b(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - a+b*2, - a-b - FROM t1 - WHERE d NOT BETWEEN 110 AND 150 - OR e+d BETWEEN a+b-10 AND c+130 ----- -72 values hashing to 370fe299a3734448a7be6672f01c3a94 - -query IIIII rowsort -SELECT abs(b-c), - d, - a+b*2+c*3+d*4+e*5, - b, - a - FROM t1 - WHERE (c<=d-2 OR c>=d+2) ----- -50 values hashing to 07bc5bca23ad9ae8a819dfac639082fd - -query IIII rowsort -SELECT CASE WHEN at1.c AND x.da AND ee ----- -60 values hashing to 82d16a26b3d57b3cc239c4f7a9593f7c - -query IIIIII rowsort -SELECT CASE WHEN aa AND ec OR eb ----- - -query IIIII rowsort -SELECT CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - a+b*2, - c-d, - b-c, - CASE WHEN a(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - b - FROM t1 - WHERE coalesce(a,b,c,d,e)<>0 - OR c>d ----- -90 values hashing to c5fa723aa4e2c42050943e4693f1e923 - -query IIIII rowsort -SELECT (SELECT count(*) FROM t1 AS x WHERE x.b(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END - FROM t1 - WHERE (e>c OR et1.c AND x.dd ----- -78 values hashing to eac728c6ddb91ccd31a0d1128417639c - -query II rowsort -SELECT d-e, - a+b*2+c*3+d*4 - FROM t1 - WHERE (c<=d-2 OR c>=d+2) - OR (e>c OR ec ----- -52 values hashing to 7315fb2782e02a62e78599ef812d5d8e - -query IIIIIII rowsort -SELECT abs(b-c), - a-b, - d-e, - CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - (SELECT count(*) FROM t1 AS x WHERE x.bd - OR b>c ----- -154 values hashing to 253db2ba2de764cddb828c61c33fa94b - -query IIIIII rowsort -SELECT b, - a-b, - a+b*2+c*3+d*4+e*5, - a+b*2+c*3, - c, - c-d - FROM t1 - WHERE e+d BETWEEN a+b-10 AND c+130 ----- -12 values hashing to 61f4eb32e9f9cee66661e5545d3b1c99 - -query IIII rowsort -SELECT a, - a+b*2, - a-b, - (SELECT count(*) FROM t1 AS x WHERE x.be ----- -68 values hashing to 17710e7f1160312d5f85b00b3baef24b - -query IIIIII rowsort -SELECT a+b*2+c*3, - (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.db ----- -119 values hashing to a928e4c940a05e1636f24ad9d8d056c5 - -query III rowsort -SELECT a-b, - abs(b-c), - a+b*2+c*3 - FROM t1 - WHERE (a>b-2 AND aa AND ed ----- -54 values hashing to 750a489b4c6cdcd65e8153612541edb4 - -query III rowsort -SELECT CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - (a+b+c+d+e)/5, - a+b*2+c*3+d*4+e*5 - FROM t1 ----- -90 values hashing to a3cc5ce52e625e50e112a70b5afa9d9f - -query IIIII rowsort -SELECT a+b*2, - e, - (SELECT count(*) FROM t1 AS x WHERE x.bt1.c AND x.d0 ----- -60 values hashing to 338667821f799dd406c1ce8fc2fcd75b - -query IIIIII rowsort -SELECT a+b*2+c*3+d*4+e*5, - CASE a+1 WHEN b THEN 111 WHEN c THEN 222 - WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, - abs(b-c), - (SELECT count(*) FROM t1 AS x WHERE x.bt1.c AND x.db ----- -17 values hashing to 4a6c075c0bc5ddff6a754adcddbe79f2 - -query III rowsort -SELECT (SELECT count(*) FROM t1 AS x WHERE x.be ----- -33 values hashing to 03629e50bc54a9c68b8e0642de1d4b7f - -query III rowsort -SELECT c, - b-c, - a+b*2+c*3 - FROM t1 - WHERE b>c - AND coalesce(a,b,c,d,e)<>0 ----- -39 values hashing to c01cb38d1477fb445451a60bccfb3148 - -query I rowsort -SELECT a - FROM t1 - WHERE a IS NULL - OR b IS NOT NULL ----- -27 values hashing to c6c480f662d91f78cd743fd4c1283663 - -query IIIIII rowsort -SELECT CASE a+1 WHEN b THEN 111 WHEN c THEN 222 - WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, - a-b, - b-c, - c-d, - abs(b-c), - (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.de - AND a>b ----- -36 values hashing to 64c7b21a3631601a574791d879f549c1 - -query II rowsort -SELECT b, - (a+b+c+d+e)/5 - FROM t1 - WHERE a>b ----- -34 values hashing to 69ba5ba7b54faa8998a04eb07686fe15 - -query I rowsort -SELECT (a+b+c+d+e)/5 - FROM t1 - WHERE e+d BETWEEN a+b-10 AND c+130 ----- -107 -127 - -query IIII rowsort -SELECT (SELECT count(*) FROM t1 AS x WHERE x.bb - AND c BETWEEN b-2 AND d+2 - AND (e>c OR e(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - c-d, - b, - a+b*2+c*3+d*4+e*5, - (SELECT count(*) FROM t1 AS x WHERE x.be - OR (a>b-2 AND ab ----- -51 values hashing to c1b4d722bbccd5388ce36d4da5a272fe - -query III rowsort -SELECT b, - d, - b-c - FROM t1 - WHERE a IS NULL - OR EXISTS(SELECT 1 FROM t1 AS x WHERE x.bt1.c AND x.d=d+2) ----- -70 values hashing to 9a7478a4b8f1a1d7ee51ac83087d9623 - -query I rowsort -SELECT CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END - FROM t1 - WHERE (a>b-2 AND ac OR e(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - c, - a, - a+b*2+c*3+d*4+e*5 - FROM t1 - WHERE (e>a AND ec - OR (c<=d-2 OR c>=d+2) ----- -133 values hashing to eb09696995447bcf7629e722d6bce242 - -query I rowsort -SELECT d-e - FROM t1 - WHERE coalesce(a,b,c,d,e)<>0 - AND e+d BETWEEN a+b-10 AND c+130 - AND a IS NULL ----- - -query IIIIIII rowsort -SELECT CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - a+b*2+c*3+d*4, - a+b*2+c*3+d*4+e*5, - a, - (a+b+c+d+e)/5, - e, - d - FROM t1 ----- -210 values hashing to 9b0beb9869ed0a96cfbcda0f59b83405 - -query I rowsort -SELECT a - FROM t1 ----- -30 values hashing to 9a6afb6b859fc856aafb6a7af11a38e4 - -query I rowsort -SELECT CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END - FROM t1 - WHERE c>d - OR EXISTS(SELECT 1 FROM t1 AS x WHERE x.bb-2 AND ac OR ee - OR a>b ----- -75 values hashing to a4ce622cd218c8c4279544e5142a5f17 - -query IIIIIII rowsort -SELECT CASE WHEN ac ----- -91 values hashing to 406047a5fba16f6298cc8865ceb16d6d - -query IIIII rowsort -SELECT a+b*2, - abs(b-c), - CASE WHEN a(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END - FROM t1 - WHERE (e>c OR eb-2 AND ab - AND e+d BETWEEN a+b-10 AND c+130 - AND d>e ----- - -query II rowsort -SELECT d, - b-c - FROM t1 - WHERE EXISTS(SELECT 1 FROM t1 AS x WHERE x.be ----- -22 values hashing to 59fc2a0cb9d6eb15500b2a01873c9267 - -query IIIIIII rowsort -SELECT b-c, - (SELECT count(*) FROM t1 AS x WHERE x.bd ----- --2 -18 -208 -NULL -NULL -NULL -1 - -query III rowsort -SELECT b, - (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.d(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - d - FROM t1 - WHERE e+d BETWEEN a+b-10 AND c+130 - OR (e>a AND ec ----- -65 values hashing to 3e557fbf49bddf5af6346144a1ae8837 - -query IIIIII rowsort -SELECT a-b, - a, - a+b*2+c*3, - abs(a), - CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - b-c - FROM t1 - WHERE b IS NOT NULL - AND (e>c OR ed ----- -48 values hashing to 0e34bea3ef5254baecdfc598a768bad7 - -query IIIIIII rowsort -SELECT abs(b-c), - e, - a+b*2, - CASE WHEN a(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - abs(b-c), - (a+b+c+d+e)/5 - FROM t1 ----- -180 values hashing to 6def4225a77ed61ec70dfdfab8f4294a - -query IIII rowsort -SELECT b, - CASE WHEN a=d+2) - OR coalesce(a,b,c,d,e)<>0 ----- -120 values hashing to aa50fc18d4fe0a775060a5289c7df0f1 - -query IIII rowsort -SELECT abs(a), - c, - (a+b+c+d+e)/5, - CASE WHEN a(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - (a+b+c+d+e)/5 - FROM t1 - WHERE d>e ----- -77 values hashing to c2770ceec6cb227337e0706504a617e0 - -query IIIII rowsort -SELECT c, - a-b, - a+b*2+c*3+d*4+e*5, - e, - abs(a) - FROM t1 ----- -150 values hashing to a14b7f2ccb8b1fae67646b4fb3b5113b - -query IIII rowsort -SELECT CASE a+1 WHEN b THEN 111 WHEN c THEN 222 - WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, - b, - c, - a+b*2 - FROM t1 ----- -120 values hashing to 02413ad3886e868d10e60923c66d937b - -query IIII rowsort -SELECT a-b, - b-c, - a+b*2, - c-d - FROM t1 - WHERE c BETWEEN b-2 AND d+2 - OR d NOT BETWEEN 110 AND 150 ----- -88 values hashing to 812e25e42aa220948974f1eec8a1ddf1 - -query IIII rowsort -SELECT a+b*2+c*3, - a+b*2, - CASE WHEN ac OR ee - AND c>d - AND a IS NULL ----- - -query IIII rowsort -SELECT b, - a-b, - d-e, - (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.d0 - OR b>c ----- -150 values hashing to 1e4b4b28a8b6a2e471e50ea659610358 - -query IIIIIII rowsort -SELECT b-c, - a, - (a+b+c+d+e)/5, - c-d, - a+b*2+c*3, - CASE WHEN at1.c AND x.dc OR e(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - a+b*2+c*3+d*4+e*5, - a+b*2+c*3+d*4 - FROM t1 ----- -90 values hashing to ac4a1d203ab70c5087569113ced7147f - -query I rowsort -SELECT c - FROM t1 - WHERE EXISTS(SELECT 1 FROM t1 AS x WHERE x.bd - OR a>b ----- -29 values hashing to 725eda52ed4dea9e7b98db61d7453ca7 - -query III rowsort -SELECT a+b*2+c*3+d*4, - b, - abs(a) - FROM t1 ----- -90 values hashing to dfaa311be6dc8e4d21f0120e3a099cf0 - -query I rowsort -SELECT CASE a+1 WHEN b THEN 111 WHEN c THEN 222 - WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END - FROM t1 - WHERE b>c - AND c>d - AND EXISTS(SELECT 1 FROM t1 AS x WHERE x.b(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END - FROM t1 - WHERE b>c ----- -52 values hashing to 8a4f59d60224b0bb54df3d8b9940b67f - -query IIIII rowsort -SELECT (a+b+c+d+e)/5, - d-e, - a+b*2+c*3+d*4, - (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.db-2 AND ae - OR b>c ----- -100 values hashing to 8037b1bcfe636f3ff495bfd825d53e0d - -query III rowsort -SELECT CASE a+1 WHEN b THEN 111 WHEN c THEN 222 - WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, - a+b*2+c*3+d*4, - a+b*2 - FROM t1 - WHERE b>c ----- -39 values hashing to 841a895d7644c667c2fad00c7f68e8e5 - -query I rowsort -SELECT CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END - FROM t1 - WHERE (e>c OR ec - OR e+d BETWEEN a+b-10 AND c+130 ----- -25 values hashing to 152789c2cc255e73e1326c66cc7fb1e3 - -query III rowsort -SELECT d-e, - a, - d - FROM t1 - WHERE (e>c OR ec OR e(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - e - FROM t1 - WHERE b IS NOT NULL ----- -81 values hashing to 0640407785b3503fdb251a182b6d57ab - -query IIIII rowsort -SELECT d-e, - a-b, - c, - c-d, - CASE a+1 WHEN b THEN 111 WHEN c THEN 222 - WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END - FROM t1 ----- -150 values hashing to 632b4850194bf60509de90f1feabfb2a - -query IIIIII rowsort -SELECT abs(b-c), - a+b*2+c*3, - a+b*2+c*3+d*4, - abs(a), - a, - (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.dt1.c AND x.d(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END - FROM t1 - WHERE c BETWEEN b-2 AND d+2 - OR EXISTS(SELECT 1 FROM t1 AS x WHERE x.b(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - b-c - FROM t1 - WHERE c BETWEEN b-2 AND d+2 - AND c>d ----- -50 values hashing to ac4b616ec0c322bb2be9a742fbc3e1b4 - -query IIIII rowsort -SELECT d-e, - a, - a+b*2+c*3+d*4+e*5, - abs(a), - b - FROM t1 - WHERE (c<=d-2 OR c>=d+2) - AND c>d - AND d NOT BETWEEN 110 AND 150 ----- -20 values hashing to 02253cc820958e19bdcdc9135a965d7c - -query III rowsort -SELECT CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - a+b*2+c*3+d*4+e*5, - (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.dd ----- -24 values hashing to 82a9f46f2908306f2348047b589eeac0 - -query II rowsort -SELECT c-d, - e - FROM t1 - WHERE coalesce(a,b,c,d,e)<>0 ----- -60 values hashing to 588535d9ebc6d149a7057b9468ce599d - -query IIIII rowsort -SELECT a+b*2+c*3+d*4, - d-e, - abs(a), - a+b*2, - c - FROM t1 ----- -150 values hashing to 6e1d4a7fb7f2779d84fb3030fdecb95a - -query I rowsort -SELECT (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.d0 - OR (c<=d-2 OR c>=d+2) ----- -30 values hashing to ec9f02c46c399db521c47dd9cb6a40dd - -query IIIIII rowsort -SELECT a-b, - a+b*2+c*3+d*4+e*5, - a+b*2, - CASE WHEN a(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - (a+b+c+d+e)/5 - FROM t1 - WHERE (e>c OR ec OR ed ----- -78 values hashing to 601783bc6cee105e35b85bffdefdabf0 - -query IIIII rowsort -SELECT d, - b-c, - c-d, - a+b*2+c*3+d*4, - CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END - FROM t1 - WHERE (e>c OR ec - AND (e>a AND e0 ----- -180 values hashing to d18f2b7889b1931bf2ad6e5c5b5d4434 - -query IIIIIII rowsort -SELECT abs(b-c), - d, - abs(a), - a-b, - CASE a+1 WHEN b THEN 111 WHEN c THEN 222 - WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, - c-d, - CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END - FROM t1 - WHERE b>c - OR c>d ----- -154 values hashing to f2c0443c634f22d927709c9df7248cb4 - -query IIIIII rowsort -SELECT a+b*2+c*3+d*4+e*5, - CASE a+1 WHEN b THEN 111 WHEN c THEN 222 - WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, - b-c, - (SELECT count(*) FROM t1 AS x WHERE x.bb - AND c>d - AND b IS NOT NULL ----- -20 values hashing to bd0a4f265ee4fa29a213395d83a0776d - -query I rowsort -SELECT c - FROM t1 - WHERE (e>a AND e(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END - FROM t1 - WHERE EXISTS(SELECT 1 FROM t1 AS x WHERE x.be - AND c>d ----- -10 values hashing to 2832b4b5ac653f653d22d7f12a93cf9e - -query I rowsort -SELECT b-c - FROM t1 - WHERE (c<=d-2 OR c>=d+2) - AND d NOT BETWEEN 110 AND 150 - AND a>b ----- --1 --1 --1 --3 -1 - -query IIIII rowsort -SELECT e, - a-b, - b-c, - d-e, - (SELECT count(*) FROM t1 AS x WHERE x.ba AND e=d+2) - OR c BETWEEN b-2 AND d+2 ----- -95 values hashing to 451208c9117faf9f6575928cd5fcbcf3 - -query III rowsort -SELECT d-e, - a-b, - b-c - FROM t1 ----- -90 values hashing to 864c4406e97c2f59c84ce3ca396d1ab8 - -query I rowsort -SELECT c - FROM t1 - WHERE b>c - OR b IS NOT NULL - OR EXISTS(SELECT 1 FROM t1 AS x WHERE x.bd - OR d>e ----- -114 values hashing to e60614d0810e9d20d1ba7d5ec76faae4 - -query III rowsort -SELECT a+b*2+c*3, - CASE WHEN at1.c AND x.db-2 AND ad ----- -51 values hashing to 6257dc95c2d19fe398936dcf19cc0fd7 - -query IIIIIII rowsort -SELECT c, - a+b*2+c*3, - CASE WHEN at1.c AND x.d=d+2) - OR d NOT BETWEEN 110 AND 150 ----- -133 values hashing to 17d275371a37f40f92cc7a00385ceef1 - -query IIIII rowsort -SELECT a+b*2+c*3+d*4, - CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - abs(b-c), - e, - a+b*2+c*3+d*4+e*5 - FROM t1 - WHERE (e>c OR e=d+2) - OR c BETWEEN b-2 AND d+2 - OR a>b ----- -84 values hashing to dddaa7a5327df8e332800a2692c9fd3c - -query IIII rowsort -SELECT a+b*2+c*3+d*4, - (SELECT count(*) FROM t1 AS x WHERE x.bb-2 AND ac ----- -24 values hashing to 4322e1fd1ebd79c0adcf73292b568d18 - -query IIIIII rowsort -SELECT a+b*2+c*3, - a+b*2, - e, - c, - abs(a), - CASE WHEN ac OR ed ----- -48 values hashing to e123674e3f83b126ddc91ddfb4ec283e - -query IIIIII rowsort -SELECT d, - CASE WHEN at1.c AND x.dc OR ed ----- -52 values hashing to 953d2bddf44b39d6a8131c7e0d8527ab - -query I rowsort -SELECT (a+b+c+d+e)/5 - FROM t1 - WHERE (e>c OR e(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END - FROM t1 - WHERE c>d ----- -91 values hashing to 45e6f78c344e1febadcfb399ccdb77d0 - -query IIIIII rowsort -SELECT a+b*2+c*3, - CASE WHEN ae - AND EXISTS(SELECT 1 FROM t1 AS x WHERE x.b(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - (SELECT count(*) FROM t1 AS x WHERE x.b(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END - FROM t1 - WHERE a>b - OR c BETWEEN b-2 AND d+2 - OR e+d BETWEEN a+b-10 AND c+130 ----- -150 values hashing to 5db6c9ec6926b5c79fc5e8a4c523abc4 - -query I rowsort -SELECT (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.de ----- -11 values hashing to be1fb32359cadf053dc7743dd3945178 - -query III rowsort -SELECT a+b*2+c*3+d*4+e*5, - a+b*2+c*3, - d - FROM t1 - WHERE b>c - AND (c<=d-2 OR c>=d+2) ----- -12 values hashing to e170e72ed3c6c65f197d2de7a3c22834 - -query I rowsort -SELECT a-b - FROM t1 ----- -30 values hashing to a8508bcdf86e494dd5feccb5ca8d9768 - -query IIIII rowsort -SELECT c-d, - abs(a), - a, - CASE a+1 WHEN b THEN 111 WHEN c THEN 222 - WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, - b - FROM t1 - WHERE EXISTS(SELECT 1 FROM t1 AS x WHERE x.bc - OR c>d ----- -140 values hashing to d4f3b53d6c183b6326b0c2564db94ea0 - -query IIII rowsort -SELECT c-d, - (SELECT count(*) FROM t1 AS x WHERE x.bb-2 AND ac ----- -104 values hashing to cd111f29f5f7f36e2a77b27e33dbd004 - -query IIIIIII rowsort -SELECT CASE WHEN a(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - (a+b+c+d+e)/5 - FROM t1 - WHERE (a>b-2 AND aa AND e=d+2) - OR b>c ----- -57 values hashing to 886592d9da106aa25f38a55801e8ac69 - -query IIIIII rowsort -SELECT a-b, - d-e, - abs(b-c), - e, - a+b*2, - b-c - FROM t1 - WHERE a IS NULL - AND b>c - AND (a>b-2 AND ac - OR e+d BETWEEN a+b-10 AND c+130 - OR (a>b-2 AND ac - AND (a>b-2 AND at1.c AND x.da AND et1.c AND x.d(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END - FROM t1 - WHERE d>e - OR a IS NULL - OR d NOT BETWEEN 110 AND 150 ----- -105 values hashing to ab84430c78ddb8d0d0d19474da34643f - -query IIIII rowsort -SELECT abs(a), - d, - a+b*2+c*3, - (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.dd - AND a>b ----- - -query IIIIIII rowsort -SELECT abs(b-c), - (a+b+c+d+e)/5, - a-b, - c, - CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - b-c, - CASE WHEN a0 ----- -14 values hashing to 618c86d29c136607a70868aa0904aa06 - -query II rowsort -SELECT b-c, - abs(a) - FROM t1 - WHERE coalesce(a,b,c,d,e)<>0 - OR (e>a AND e=d+2) - OR (e>a AND e0 ----- -30 values hashing to c5a2b847c6c21100b32db39349809b0e - -query IIII rowsort -SELECT a+b*2+c*3+d*4+e*5, - a, - a+b*2+c*3+d*4, - CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END - FROM t1 - WHERE (c<=d-2 OR c>=d+2) - OR EXISTS(SELECT 1 FROM t1 AS x WHERE x.b0 ----- -NULL -NULL - -query IIIII rowsort -SELECT e, - a+b*2, - CASE WHEN at1.c AND x.d(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - d-e - FROM t1 ----- -210 values hashing to b4a7869dee46edfc2130eb57eeddd3e2 - -query IIIII rowsort -SELECT (a+b+c+d+e)/5, - a+b*2+c*3, - (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.dd ----- -40 values hashing to 37a6d88bfb16420fe6ffcfb0389bb483 - -query I rowsort -SELECT abs(a) - FROM t1 - WHERE c>d ----- -13 values hashing to 7d6be458c1183d1520b654a8117570fe - -query IIII rowsort -SELECT e, - a+b*2, - c, - d-e - FROM t1 ----- -120 values hashing to 8229fc62414ac478d35fc865e46beba5 - -query IIII rowsort -SELECT d-e, - d, - a, - a+b*2 - FROM t1 ----- -120 values hashing to 75f1c2193cc02c75e60ae3b6c925a916 - -query I rowsort -SELECT a - FROM t1 - WHERE c>d ----- -13 values hashing to 7d6be458c1183d1520b654a8117570fe - -query IIIIII rowsort -SELECT c-d, - a+b*2+c*3, - a+b*2+c*3+d*4+e*5, - a, - b, - a+b*2+c*3+d*4 - FROM t1 - WHERE d NOT BETWEEN 110 AND 150 ----- -102 values hashing to 12665cbcc870eefa3f4cc0d11a9991d5 - -query III rowsort -SELECT CASE WHEN a0 ----- -90 values hashing to 23c4156570b0b850e857e907cadd7306 - -query IIIII rowsort -SELECT (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.db-2 AND ac OR eb ----- -25 values hashing to 2378cc3c476ffe4a8e946543b42a9d9d - -query IIIII rowsort -SELECT a+b*2+c*3+d*4, - a+b*2+c*3+d*4+e*5, - CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.db - OR (a>b-2 AND a=d+2) - AND a IS NULL - AND c>d ----- - -query IIII rowsort -SELECT b, - d-e, - a+b*2, - b-c - FROM t1 ----- -120 values hashing to 373df092a93b28b07e7af72a6365b90e - -query IIIIII rowsort -SELECT c, - e, - a+b*2, - abs(b-c), - b-c, - a - FROM t1 - WHERE a IS NULL - AND (e>a AND ec ----- -91 values hashing to 0ad92c52d72f7b62755150d1cc34a4ef - -query IIIIIII rowsort -SELECT e, - b-c, - CASE a+1 WHEN b THEN 111 WHEN c THEN 222 - WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, - CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - a-b, - abs(b-c), - abs(a) - FROM t1 - WHERE d NOT BETWEEN 110 AND 150 - OR b>c ----- -168 values hashing to 8781330a228647b4efdfd2abbccd3f93 - -query IIIIIII rowsort -SELECT a-b, - c, - b, - b-c, - CASE a+1 WHEN b THEN 111 WHEN c THEN 222 - WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, - (a+b+c+d+e)/5, - d - FROM t1 - WHERE coalesce(a,b,c,d,e)<>0 - OR (c<=d-2 OR c>=d+2) ----- -210 values hashing to e7395b6a397534eb6c79b00a6cbf5faf - -query IIIII rowsort -SELECT abs(b-c), - d-e, - c-d, - a+b*2+c*3+d*4+e*5, - d - FROM t1 - WHERE coalesce(a,b,c,d,e)<>0 - OR c>d - OR d>e ----- -150 values hashing to 56327e383a710587cd5f4205603ee4bc - -query IIIIIII rowsort -SELECT a-b, - (a+b+c+d+e)/5, - abs(b-c), - c, - abs(a), - e, - (SELECT count(*) FROM t1 AS x WHERE x.ba AND e0 ----- -120 values hashing to 978da2a4ac397e44e638d685b7e1de7d - -query IIII rowsort -SELECT CASE a+1 WHEN b THEN 111 WHEN c THEN 222 - WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, - d, - (a+b+c+d+e)/5, - (SELECT count(*) FROM t1 AS x WHERE x.bb - AND (e>a AND eb-2 AND a0 - AND b IS NOT NULL ----- -27 values hashing to 726c5ed379e4b774e40e82e6dbdde380 - -query II rowsort -SELECT c-d, - abs(b-c) - FROM t1 - WHERE (c<=d-2 OR c>=d+2) - AND e+d BETWEEN a+b-10 AND c+130 - AND b IS NOT NULL ----- --2 -1 --3 -4 - -query IIIIII rowsort -SELECT (a+b+c+d+e)/5, - e, - c-d, - a+b*2+c*3, - CASE WHEN a0 - OR a IS NULL ----- -180 values hashing to 4a09d612e6ee25eb68bd8c0060901f36 - -query II rowsort -SELECT a-b, - a - FROM t1 - WHERE c>d ----- -26 values hashing to 9de411d9f4f9b07040f9b8f63b6e432c - -query IIIIII rowsort -SELECT (a+b+c+d+e)/5, - a+b*2+c*3+d*4+e*5, - d-e, - a+b*2, - CASE a+1 WHEN b THEN 111 WHEN c THEN 222 - WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, - c - FROM t1 - WHERE c BETWEEN b-2 AND d+2 - AND b>c - AND a>b ----- -232 -3473 -3 -698 -555 -231 - -query I rowsort -SELECT a+b*2+c*3 - FROM t1 - WHERE e+d BETWEEN a+b-10 AND c+130 - OR c>d - OR a IS NULL ----- -16 values hashing to 393ec0319f60a4bcad062e8ed256490f - diff --git a/tests/sqlite/select3.test b/tests/sqlite/select3.test deleted file mode 100644 index 480de02..0000000 --- a/tests/sqlite/select3.test +++ /dev/null @@ -1,40769 +0,0 @@ -hash-threshold 8 - -statement ok -CREATE TABLE t1(a INTEGER, b INTEGER, c INTEGER, d INTEGER, e INTEGER) - -statement ok -INSERT INTO t1(e,c,b,d,a) VALUES(NULL,102,NULL,101,104) - -statement ok -INSERT INTO t1(a,c,d,e,b) VALUES(107,106,108,109,105) - -statement ok -INSERT INTO t1(e,d,b,a,c) VALUES(110,114,112,NULL,113) - -statement ok -INSERT INTO t1(d,c,e,a,b) VALUES(116,119,117,115,NULL) - -statement ok -INSERT INTO t1(c,d,b,e,a) VALUES(123,122,124,NULL,121) - -statement ok -INSERT INTO t1(a,d,b,e,c) VALUES(127,128,129,126,125) - -statement ok -INSERT INTO t1(e,c,a,d,b) VALUES(132,134,131,133,130) - -statement ok -INSERT INTO t1(a,d,b,e,c) VALUES(138,136,139,135,137) - -statement ok -INSERT INTO t1(e,c,d,a,b) VALUES(144,141,140,142,143) - -statement ok -INSERT INTO t1(b,a,e,d,c) VALUES(145,149,146,NULL,147) - -statement ok -INSERT INTO t1(b,c,a,d,e) VALUES(151,150,153,NULL,NULL) - -statement ok -INSERT INTO t1(c,e,a,d,b) VALUES(155,157,159,NULL,158) - -statement ok -INSERT INTO t1(c,b,a,d,e) VALUES(161,160,163,164,162) - -statement ok -INSERT INTO t1(b,d,a,e,c) VALUES(167,NULL,168,165,166) - -statement ok -INSERT INTO t1(d,b,c,e,a) VALUES(171,170,172,173,174) - -statement ok -INSERT INTO t1(e,c,a,d,b) VALUES(177,176,179,NULL,175) - -statement ok -INSERT INTO t1(b,e,a,d,c) VALUES(181,180,182,183,184) - -statement ok -INSERT INTO t1(c,a,b,e,d) VALUES(187,188,186,189,185) - -statement ok -INSERT INTO t1(d,b,c,e,a) VALUES(190,194,193,192,191) - -statement ok -INSERT INTO t1(a,e,b,d,c) VALUES(199,197,198,196,195) - -statement ok -INSERT INTO t1(b,c,d,a,e) VALUES(NULL,202,203,201,204) - -statement ok -INSERT INTO t1(c,e,a,b,d) VALUES(208,NULL,NULL,206,207) - -statement ok -INSERT INTO t1(c,e,a,d,b) VALUES(214,210,213,212,211) - -statement ok -INSERT INTO t1(b,c,a,d,e) VALUES(218,215,216,217,219) - -statement ok -INSERT INTO t1(b,e,d,a,c) VALUES(223,221,222,220,224) - -statement ok -INSERT INTO t1(d,e,b,a,c) VALUES(226,227,228,229,225) - -statement ok -INSERT INTO t1(a,c,b,e,d) VALUES(234,231,232,230,233) - -statement ok -INSERT INTO t1(e,b,a,c,d) VALUES(237,236,239,NULL,238) - -statement ok -INSERT INTO t1(e,c,b,a,d) VALUES(NULL,244,240,243,NULL) - -statement ok -INSERT INTO t1(e,d,c,b,a) VALUES(246,248,247,249,245) - -query I rowsort x0 -SELECT CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END - FROM t1 ----- -30 values hashing to efdbaa4d180e7867bec1c4d897bd25b9 - -query I rowsort x0 -SELECT CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END - FROM t1 - ORDER BY 1 ----- -30 values hashing to efdbaa4d180e7867bec1c4d897bd25b9 - -query II rowsort x1 -SELECT a+b*2+c*3+d*4+e*5, - (a+b+c+d+e)/5 - FROM t1 ----- -60 values hashing to f5182c92f97475673097a499ce82ae64 - -query II rowsort x1 -SELECT a+b*2+c*3+d*4+e*5, - (a+b+c+d+e)/5 - FROM t1 - ORDER BY 1,2 ----- -60 values hashing to f5182c92f97475673097a499ce82ae64 - -query IIIII rowsort x2 -SELECT a+b*2+c*3+d*4+e*5, - CASE WHEN ae - AND (e>c OR ee - AND (e>c OR ec OR ee ----- -55 values hashing to 625899fde153a4e776b22705ac30f7fb - -query IIIII rowsort x2 -SELECT a+b*2+c*3+d*4+e*5, - CASE WHEN ac OR ee - ORDER BY 3,2,5,1,4 ----- -55 values hashing to 625899fde153a4e776b22705ac30f7fb - -query IIIII rowsort x2 -SELECT a+b*2+c*3+d*4+e*5, - CASE WHEN ac OR ee - AND EXISTS(SELECT 1 FROM t1 AS x WHERE x.bc OR ee - AND EXISTS(SELECT 1 FROM t1 AS x WHERE x.ba AND ea AND eb-2 AND aa AND ec ----- - -query IIII rowsort x5 -SELECT b, - a+b*2+c*3, - c-d, - CASE WHEN ab-2 AND aa AND ec - ORDER BY 3,2 ----- - -query IIII rowsort x5 -SELECT b, - a+b*2+c*3, - c-d, - CASE WHEN ac - AND (e>a AND eb-2 AND ac - AND (e>a AND eb-2 AND aa AND eb-2 AND ac ----- - -query IIII rowsort x5 -SELECT b, - a+b*2+c*3, - c-d, - CASE WHEN aa AND eb-2 AND ac - ORDER BY 1,2 ----- - -query IIII rowsort x5 -SELECT b, - a+b*2+c*3, - c-d, - CASE WHEN ac - AND (a>b-2 AND aa AND ec - AND (a>b-2 AND aa AND e(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - (a+b+c+d+e)/5, - d-e - FROM t1 - WHERE (c<=d-2 OR c>=d+2) - OR d>e ----- -80 values hashing to 1165928153cf03fadf7d270e4efc8a8b - -query IIIII rowsort x6 -SELECT e, - a, - CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - (a+b+c+d+e)/5, - d-e - FROM t1 - WHERE (c<=d-2 OR c>=d+2) - OR d>e - ORDER BY 3,1,5,2,4 ----- -80 values hashing to 1165928153cf03fadf7d270e4efc8a8b - -query IIIII rowsort x6 -SELECT e, - a, - CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - (a+b+c+d+e)/5, - d-e - FROM t1 - WHERE d>e - OR (c<=d-2 OR c>=d+2) ----- -80 values hashing to 1165928153cf03fadf7d270e4efc8a8b - -query IIIII rowsort x6 -SELECT e, - a, - CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - (a+b+c+d+e)/5, - d-e - FROM t1 - WHERE d>e - OR (c<=d-2 OR c>=d+2) - ORDER BY 4,1,5,3,2 ----- -80 values hashing to 1165928153cf03fadf7d270e4efc8a8b - -query I rowsort x7 -SELECT a+b*2+c*3+d*4+e*5 - FROM t1 ----- -30 values hashing to f54b614acd4cb798dba29ba05152f26d - -query I rowsort x7 -SELECT a+b*2+c*3+d*4+e*5 - FROM t1 - ORDER BY 1 ----- -30 values hashing to f54b614acd4cb798dba29ba05152f26d - -query I rowsort x8 -SELECT d-e - FROM t1 - WHERE b>c - OR a>b ----- -24 values hashing to b60e9de3a50740f40cca35b98a056b8c - -query I rowsort x8 -SELECT d-e - FROM t1 - WHERE b>c - OR a>b - ORDER BY 1 ----- -24 values hashing to b60e9de3a50740f40cca35b98a056b8c - -query I rowsort x9 -SELECT d - FROM t1 - WHERE a>b - OR d>e ----- -22 values hashing to 785796b507b0f3998ec9b04e74fa565b - -query I rowsort x9 -SELECT d - FROM t1 - WHERE a>b - OR d>e - ORDER BY 1 ----- -22 values hashing to 785796b507b0f3998ec9b04e74fa565b - -query I rowsort x9 -SELECT d - FROM t1 - WHERE d>e - OR a>b ----- -22 values hashing to 785796b507b0f3998ec9b04e74fa565b - -query I rowsort x9 -SELECT d - FROM t1 - WHERE d>e - OR a>b - ORDER BY 1 ----- -22 values hashing to 785796b507b0f3998ec9b04e74fa565b - -query IIIIIII rowsort x10 -SELECT abs(a), - (a+b+c+d+e)/5, - a+b*2+c*3+d*4, - c, - (SELECT count(*) FROM t1 AS x WHERE x.bb ----- -119 values hashing to de49937f8a76d58e90ee610d71c5d209 - -query IIIIIII rowsort x10 -SELECT abs(a), - (a+b+c+d+e)/5, - a+b*2+c*3+d*4, - c, - (SELECT count(*) FROM t1 AS x WHERE x.bb - ORDER BY 7,3,5,1,6 ----- -119 values hashing to de49937f8a76d58e90ee610d71c5d209 - -query III rowsort x11 -SELECT d, - a, - a+b*2+c*3+d*4+e*5 - FROM t1 ----- -90 values hashing to df4215319598e8101abcb5c7509649e8 - -query III rowsort x11 -SELECT d, - a, - a+b*2+c*3+d*4+e*5 - FROM t1 - ORDER BY 2,3 ----- -90 values hashing to df4215319598e8101abcb5c7509649e8 - -query III rowsort x12 -SELECT d-e, - c-d, - (a+b+c+d+e)/5 - FROM t1 - WHERE d NOT BETWEEN 110 AND 150 - OR e+d BETWEEN a+b-10 AND c+130 - OR b>c ----- -72 values hashing to 5026537fcfcc7d06e2928e16f9b160fc - -query III rowsort x12 -SELECT d-e, - c-d, - (a+b+c+d+e)/5 - FROM t1 - WHERE d NOT BETWEEN 110 AND 150 - OR e+d BETWEEN a+b-10 AND c+130 - OR b>c - ORDER BY 2,1,3 ----- -72 values hashing to 5026537fcfcc7d06e2928e16f9b160fc - -query III rowsort x12 -SELECT d-e, - c-d, - (a+b+c+d+e)/5 - FROM t1 - WHERE d NOT BETWEEN 110 AND 150 - OR b>c - OR e+d BETWEEN a+b-10 AND c+130 ----- -72 values hashing to 5026537fcfcc7d06e2928e16f9b160fc - -query III rowsort x12 -SELECT d-e, - c-d, - (a+b+c+d+e)/5 - FROM t1 - WHERE d NOT BETWEEN 110 AND 150 - OR b>c - OR e+d BETWEEN a+b-10 AND c+130 - ORDER BY 2,1,3 ----- -72 values hashing to 5026537fcfcc7d06e2928e16f9b160fc - -query III rowsort x12 -SELECT d-e, - c-d, - (a+b+c+d+e)/5 - FROM t1 - WHERE b>c - OR d NOT BETWEEN 110 AND 150 - OR e+d BETWEEN a+b-10 AND c+130 ----- -72 values hashing to 5026537fcfcc7d06e2928e16f9b160fc - -query III rowsort x12 -SELECT d-e, - c-d, - (a+b+c+d+e)/5 - FROM t1 - WHERE b>c - OR d NOT BETWEEN 110 AND 150 - OR e+d BETWEEN a+b-10 AND c+130 - ORDER BY 2,3,1 ----- -72 values hashing to 5026537fcfcc7d06e2928e16f9b160fc - -query III rowsort x12 -SELECT d-e, - c-d, - (a+b+c+d+e)/5 - FROM t1 - WHERE e+d BETWEEN a+b-10 AND c+130 - OR b>c - OR d NOT BETWEEN 110 AND 150 ----- -72 values hashing to 5026537fcfcc7d06e2928e16f9b160fc - -query III rowsort x12 -SELECT d-e, - c-d, - (a+b+c+d+e)/5 - FROM t1 - WHERE e+d BETWEEN a+b-10 AND c+130 - OR b>c - OR d NOT BETWEEN 110 AND 150 - ORDER BY 1,2 ----- -72 values hashing to 5026537fcfcc7d06e2928e16f9b160fc - -query IIIIII rowsort x13 -SELECT a+b*2+c*3, - CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - c, - (a+b+c+d+e)/5, - d-e, - a+b*2+c*3+d*4+e*5 - FROM t1 ----- -180 values hashing to 704e7ed2a17c496a3ca2ea1e4441eb40 - -query IIIIII rowsort x13 -SELECT a+b*2+c*3, - CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - c, - (a+b+c+d+e)/5, - d-e, - a+b*2+c*3+d*4+e*5 - FROM t1 - ORDER BY 4,5 ----- -180 values hashing to 704e7ed2a17c496a3ca2ea1e4441eb40 - -query IIIIII rowsort x14 -SELECT CASE WHEN ad ----- -78 values hashing to 014a4e77c58e1d60b4cbbcae9e6fd9f8 - -query IIIIII rowsort x14 -SELECT CASE WHEN ad - ORDER BY 1,5,3,2 ----- -78 values hashing to 014a4e77c58e1d60b4cbbcae9e6fd9f8 - -query II rowsort x15 -SELECT a+b*2+c*3+d*4, - (a+b+c+d+e)/5 - FROM t1 - WHERE (e>c OR ee - AND d NOT BETWEEN 110 AND 150 ----- -14 values hashing to 16eb6166e5b95fff42a33edd3a48d743 - -query II rowsort x15 -SELECT a+b*2+c*3+d*4, - (a+b+c+d+e)/5 - FROM t1 - WHERE (e>c OR ee - AND d NOT BETWEEN 110 AND 150 - ORDER BY 2,1 ----- -14 values hashing to 16eb6166e5b95fff42a33edd3a48d743 - -query II rowsort x15 -SELECT a+b*2+c*3+d*4, - (a+b+c+d+e)/5 - FROM t1 - WHERE (e>c OR ee ----- -14 values hashing to 16eb6166e5b95fff42a33edd3a48d743 - -query II rowsort x15 -SELECT a+b*2+c*3+d*4, - (a+b+c+d+e)/5 - FROM t1 - WHERE (e>c OR ee - ORDER BY 2,1 ----- -14 values hashing to 16eb6166e5b95fff42a33edd3a48d743 - -query II rowsort x15 -SELECT a+b*2+c*3+d*4, - (a+b+c+d+e)/5 - FROM t1 - WHERE d NOT BETWEEN 110 AND 150 - AND (e>c OR ee ----- -14 values hashing to 16eb6166e5b95fff42a33edd3a48d743 - -query II rowsort x15 -SELECT a+b*2+c*3+d*4, - (a+b+c+d+e)/5 - FROM t1 - WHERE d NOT BETWEEN 110 AND 150 - AND (e>c OR ee - ORDER BY 1,2 ----- -14 values hashing to 16eb6166e5b95fff42a33edd3a48d743 - -query IIIIII rowsort x16 -SELECT (SELECT count(*) FROM t1 AS x WHERE x.bb ----- -54 values hashing to 53281ade33cc2a4f0c7178ec3fb32ac9 - -query IIIIII rowsort x16 -SELECT (SELECT count(*) FROM t1 AS x WHERE x.bb - ORDER BY 5,1,3,4,2,6 ----- -54 values hashing to 53281ade33cc2a4f0c7178ec3fb32ac9 - -query IIIIII rowsort x16 -SELECT (SELECT count(*) FROM t1 AS x WHERE x.bb - AND d NOT BETWEEN 110 AND 150 ----- -54 values hashing to 53281ade33cc2a4f0c7178ec3fb32ac9 - -query IIIIII rowsort x16 -SELECT (SELECT count(*) FROM t1 AS x WHERE x.bb - AND d NOT BETWEEN 110 AND 150 - ORDER BY 6,5,1,2,4 ----- -54 values hashing to 53281ade33cc2a4f0c7178ec3fb32ac9 - -query IIIIII rowsort x16 -SELECT (SELECT count(*) FROM t1 AS x WHERE x.bb - AND d NOT BETWEEN 110 AND 150 - AND EXISTS(SELECT 1 FROM t1 AS x WHERE x.bb - AND d NOT BETWEEN 110 AND 150 - AND EXISTS(SELECT 1 FROM t1 AS x WHERE x.bb ----- -54 values hashing to 53281ade33cc2a4f0c7178ec3fb32ac9 - -query IIIIII rowsort x16 -SELECT (SELECT count(*) FROM t1 AS x WHERE x.bb - ORDER BY 4,3,1 ----- -54 values hashing to 53281ade33cc2a4f0c7178ec3fb32ac9 - -query IIIII rowsort x17 -SELECT a-b, - d, - c-d, - a+b*2+c*3+d*4, - CASE a+1 WHEN b THEN 111 WHEN c THEN 222 - WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END - FROM t1 - WHERE (e>c OR ec ----- -125 values hashing to 576840b23ec5d6d330aa4d3e0dc39f72 - -query IIIII rowsort x17 -SELECT a-b, - d, - c-d, - a+b*2+c*3+d*4, - CASE a+1 WHEN b THEN 111 WHEN c THEN 222 - WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END - FROM t1 - WHERE (e>c OR ec - ORDER BY 3,5,1,2 ----- -125 values hashing to 576840b23ec5d6d330aa4d3e0dc39f72 - -query IIIII rowsort x17 -SELECT a-b, - d, - c-d, - a+b*2+c*3+d*4, - CASE a+1 WHEN b THEN 111 WHEN c THEN 222 - WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END - FROM t1 - WHERE b>c - OR (e>c OR ec - OR (e>c OR e=d+2) ----- -50 values hashing to 8db9d8b1ba3193ca98ca00b75b91c254 - -query IIIII rowsort x18 -SELECT d-e, - CASE a+1 WHEN b THEN 111 WHEN c THEN 222 - WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, - a+b*2, - a+b*2+c*3+d*4, - b-c - FROM t1 - WHERE (c<=d-2 OR c>=d+2) - ORDER BY 3,1,4 ----- -50 values hashing to 8db9d8b1ba3193ca98ca00b75b91c254 - -query III rowsort x19 -SELECT CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - (SELECT count(*) FROM t1 AS x WHERE x.b(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - (SELECT count(*) FROM t1 AS x WHERE x.bc ----- --2 -1902 -129 -127 -127 - -query IIIII rowsort x20 -SELECT a-b, - a+b*2+c*3+d*4+e*5, - b, - abs(a), - a - FROM t1 - WHERE e+d BETWEEN a+b-10 AND c+130 - AND EXISTS(SELECT 1 FROM t1 AS x WHERE x.bc - ORDER BY 3,2,4,5 ----- --2 -1902 -129 -127 -127 - -query IIIII rowsort x20 -SELECT a-b, - a+b*2+c*3+d*4+e*5, - b, - abs(a), - a - FROM t1 - WHERE b>c - AND e+d BETWEEN a+b-10 AND c+130 - AND EXISTS(SELECT 1 FROM t1 AS x WHERE x.bc - AND e+d BETWEEN a+b-10 AND c+130 - AND EXISTS(SELECT 1 FROM t1 AS x WHERE x.bc - AND e+d BETWEEN a+b-10 AND c+130 ----- --2 -1902 -129 -127 -127 - -query IIIII rowsort x20 -SELECT a-b, - a+b*2+c*3+d*4+e*5, - b, - abs(a), - a - FROM t1 - WHERE EXISTS(SELECT 1 FROM t1 AS x WHERE x.bc - AND e+d BETWEEN a+b-10 AND c+130 - ORDER BY 5,1,4,3,2 ----- --2 -1902 -129 -127 -127 - -query IIIIIII rowsort x21 -SELECT CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - b, - c, - a+b*2+c*3, - a+b*2+c*3+d*4, - (SELECT count(*) FROM t1 AS x WHERE x.be - AND EXISTS(SELECT 1 FROM t1 AS x WHERE x.b(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - b, - c, - a+b*2+c*3, - a+b*2+c*3+d*4, - (SELECT count(*) FROM t1 AS x WHERE x.be - AND EXISTS(SELECT 1 FROM t1 AS x WHERE x.b(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - b, - c, - a+b*2+c*3, - a+b*2+c*3+d*4, - (SELECT count(*) FROM t1 AS x WHERE x.be ----- -49 values hashing to c6962d3e1379a8ba798e11d0212e4c52 - -query IIIIIII rowsort x21 -SELECT CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - b, - c, - a+b*2+c*3, - a+b*2+c*3+d*4, - (SELECT count(*) FROM t1 AS x WHERE x.be - ORDER BY 4,3,1 ----- -49 values hashing to c6962d3e1379a8ba798e11d0212e4c52 - -query IIIIIII rowsort x21 -SELECT CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - b, - c, - a+b*2+c*3, - a+b*2+c*3+d*4, - (SELECT count(*) FROM t1 AS x WHERE x.be ----- -49 values hashing to c6962d3e1379a8ba798e11d0212e4c52 - -query IIIIIII rowsort x21 -SELECT CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - b, - c, - a+b*2+c*3, - a+b*2+c*3+d*4, - (SELECT count(*) FROM t1 AS x WHERE x.be - ORDER BY 5,4,2 ----- -49 values hashing to c6962d3e1379a8ba798e11d0212e4c52 - -query III rowsort x22 -SELECT a, - (a+b+c+d+e)/5, - b - FROM t1 - WHERE c>d - AND (e>c OR ed - AND (e>c OR ec OR ed ----- -24 values hashing to 751c63ea90408c884abfeed87b4bb660 - -query III rowsort x22 -SELECT a, - (a+b+c+d+e)/5, - b - FROM t1 - WHERE (e>c OR ed - ORDER BY 3,1,2 ----- -24 values hashing to 751c63ea90408c884abfeed87b4bb660 - -query III rowsort x22 -SELECT a, - (a+b+c+d+e)/5, - b - FROM t1 - WHERE EXISTS(SELECT 1 FROM t1 AS x WHERE x.bd - AND (e>c OR ed - AND (e>c OR et1.c AND x.d(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - abs(b-c), - a+b*2+c*3 - FROM t1 - WHERE EXISTS(SELECT 1 FROM t1 AS x WHERE x.bc ----- -182 values hashing to a296d6044702bfcca834c0a3e55f6ba2 - -query IIIIIII rowsort x23 -SELECT (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.d(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - abs(b-c), - a+b*2+c*3 - FROM t1 - WHERE EXISTS(SELECT 1 FROM t1 AS x WHERE x.bc - ORDER BY 7,5,6 ----- -182 values hashing to a296d6044702bfcca834c0a3e55f6ba2 - -query IIIIIII rowsort x23 -SELECT (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.d(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - abs(b-c), - a+b*2+c*3 - FROM t1 - WHERE b>c - OR EXISTS(SELECT 1 FROM t1 AS x WHERE x.bt1.c AND x.d(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - abs(b-c), - a+b*2+c*3 - FROM t1 - WHERE b>c - OR EXISTS(SELECT 1 FROM t1 AS x WHERE x.ba AND ec - AND a>b ----- - -query II rowsort x24 -SELECT a+b*2+c*3, - (a+b+c+d+e)/5 - FROM t1 - WHERE (e>a AND ec - AND a>b - ORDER BY 2,1 ----- - -query II rowsort x24 -SELECT a+b*2+c*3, - (a+b+c+d+e)/5 - FROM t1 - WHERE b>c - AND a>b - AND (e>a AND ec - AND a>b - AND (e>a AND ec - AND (e>a AND eb ----- - -query II rowsort x24 -SELECT a+b*2+c*3, - (a+b+c+d+e)/5 - FROM t1 - WHERE b>c - AND (e>a AND eb - ORDER BY 2,1 ----- - -query IIII rowsort x25 -SELECT a+b*2+c*3, - abs(b-c), - d, - d-e - FROM t1 - WHERE e+d BETWEEN a+b-10 AND c+130 - AND d NOT BETWEEN 110 AND 150 - AND (e>a AND ea AND ea AND ea AND ea AND ea AND ea AND ea AND eb-2 AND ab - AND (c<=d-2 OR c>=d+2) ----- - -query III rowsort x26 -SELECT b-c, - b, - a+b*2+c*3+d*4 - FROM t1 - WHERE (a>b-2 AND ab - AND (c<=d-2 OR c>=d+2) - ORDER BY 3,1,2 ----- - -query III rowsort x26 -SELECT b-c, - b, - a+b*2+c*3+d*4 - FROM t1 - WHERE (a>b-2 AND a=d+2) - AND a>b ----- - -query III rowsort x26 -SELECT b-c, - b, - a+b*2+c*3+d*4 - FROM t1 - WHERE (a>b-2 AND a=d+2) - AND a>b - ORDER BY 3,1 ----- - -query III rowsort x26 -SELECT b-c, - b, - a+b*2+c*3+d*4 - FROM t1 - WHERE (c<=d-2 OR c>=d+2) - AND (a>b-2 AND ab ----- - -query III rowsort x26 -SELECT b-c, - b, - a+b*2+c*3+d*4 - FROM t1 - WHERE (c<=d-2 OR c>=d+2) - AND (a>b-2 AND ab - ORDER BY 1,2,3 ----- - -query III rowsort x26 -SELECT b-c, - b, - a+b*2+c*3+d*4 - FROM t1 - WHERE a>b - AND (c<=d-2 OR c>=d+2) - AND (a>b-2 AND ab - AND (c<=d-2 OR c>=d+2) - AND (a>b-2 AND ac ----- -65 values hashing to e7caf19cab674a9b810cf6eecbc4dd1f - -query IIIII rowsort x27 -SELECT CASE a+1 WHEN b THEN 111 WHEN c THEN 222 - WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, - a-b, - e, - d-e, - a+b*2+c*3+d*4+e*5 - FROM t1 - WHERE b>c - ORDER BY 2,3 ----- -65 values hashing to e7caf19cab674a9b810cf6eecbc4dd1f - -query I rowsort x28 -SELECT CASE WHEN at1.c AND x.de - OR (c<=d-2 OR c>=d+2) ----- -96 values hashing to 666008eb6a2f5ac71610c3222b7e526b - -query IIIIII rowsort x29 -SELECT a+b*2+c*3+d*4, - a-b, - abs(b-c), - (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.de - OR (c<=d-2 OR c>=d+2) - ORDER BY 6,5,3,4 ----- -96 values hashing to 666008eb6a2f5ac71610c3222b7e526b - -query III rowsort x30 -SELECT a-b, - a, - c - FROM t1 - WHERE c BETWEEN b-2 AND d+2 - AND a>b ----- -24 values hashing to ee8e768686f5954a5ddd0a36e7dc490e - -query III rowsort x30 -SELECT a-b, - a, - c - FROM t1 - WHERE c BETWEEN b-2 AND d+2 - AND a>b - ORDER BY 1,3,2 ----- -24 values hashing to ee8e768686f5954a5ddd0a36e7dc490e - -query III rowsort x30 -SELECT a-b, - a, - c - FROM t1 - WHERE a>b - AND c BETWEEN b-2 AND d+2 ----- -24 values hashing to ee8e768686f5954a5ddd0a36e7dc490e - -query III rowsort x30 -SELECT a-b, - a, - c - FROM t1 - WHERE a>b - AND c BETWEEN b-2 AND d+2 - ORDER BY 2,3,1 ----- -24 values hashing to ee8e768686f5954a5ddd0a36e7dc490e - -query IIIIII rowsort x31 -SELECT b-c, - CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - a+b*2+c*3, - b, - c-d, - a+b*2 - FROM t1 ----- -180 values hashing to e803e5295107a58c50597423e0b571b7 - -query IIIIII rowsort x31 -SELECT b-c, - CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - a+b*2+c*3, - b, - c-d, - a+b*2 - FROM t1 - ORDER BY 4,5,1,2,3 ----- -180 values hashing to e803e5295107a58c50597423e0b571b7 - -query IIIII rowsort x32 -SELECT d-e, - a+b*2+c*3+d*4+e*5, - CASE a+1 WHEN b THEN 111 WHEN c THEN 222 - WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, - a, - a+b*2+c*3+d*4 - FROM t1 - WHERE e+d BETWEEN a+b-10 AND c+130 ----- -10 values hashing to 804f8389c33b35bc51e0fc6d89adf857 - -query IIIII rowsort x32 -SELECT d-e, - a+b*2+c*3+d*4+e*5, - CASE a+1 WHEN b THEN 111 WHEN c THEN 222 - WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, - a, - a+b*2+c*3+d*4 - FROM t1 - WHERE e+d BETWEEN a+b-10 AND c+130 - ORDER BY 5,2,4 ----- -10 values hashing to 804f8389c33b35bc51e0fc6d89adf857 - -query I rowsort x33 -SELECT a+b*2 - FROM t1 - WHERE e+d BETWEEN a+b-10 AND c+130 - OR a>b ----- -18 values hashing to 5d782557f607a892c3a0d52c06aae3ca - -query I rowsort x33 -SELECT a+b*2 - FROM t1 - WHERE e+d BETWEEN a+b-10 AND c+130 - OR a>b - ORDER BY 1 ----- -18 values hashing to 5d782557f607a892c3a0d52c06aae3ca - -query I rowsort x33 -SELECT a+b*2 - FROM t1 - WHERE a>b - OR e+d BETWEEN a+b-10 AND c+130 ----- -18 values hashing to 5d782557f607a892c3a0d52c06aae3ca - -query I rowsort x33 -SELECT a+b*2 - FROM t1 - WHERE a>b - OR e+d BETWEEN a+b-10 AND c+130 - ORDER BY 1 ----- -18 values hashing to 5d782557f607a892c3a0d52c06aae3ca - -query IIIIII rowsort x34 -SELECT CASE a+1 WHEN b THEN 111 WHEN c THEN 222 - WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, - a+b*2+c*3+d*4+e*5, - a+b*2, - a, - d-e, - b - FROM t1 - WHERE d>e ----- -66 values hashing to 3bcdb2890ff4528da0929919501bb028 - -query IIIIII rowsort x34 -SELECT CASE a+1 WHEN b THEN 111 WHEN c THEN 222 - WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, - a+b*2+c*3+d*4+e*5, - a+b*2, - a, - d-e, - b - FROM t1 - WHERE d>e - ORDER BY 6,2,1,4,5,3 ----- -66 values hashing to 3bcdb2890ff4528da0929919501bb028 - -query IIIIII rowsort x35 -SELECT a+b*2+c*3+d*4+e*5, - b-c, - abs(a), - abs(b-c), - (a+b+c+d+e)/5, - CASE a+1 WHEN b THEN 111 WHEN c THEN 222 - WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END - FROM t1 - WHERE (e>a AND ec - OR (c<=d-2 OR c>=d+2) ----- -114 values hashing to 79b36002d97af06b70dbd04e09768ea6 - -query IIIIII rowsort x35 -SELECT a+b*2+c*3+d*4+e*5, - b-c, - abs(a), - abs(b-c), - (a+b+c+d+e)/5, - CASE a+1 WHEN b THEN 111 WHEN c THEN 222 - WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END - FROM t1 - WHERE (e>a AND ec - OR (c<=d-2 OR c>=d+2) - ORDER BY 2,4,5,3 ----- -114 values hashing to 79b36002d97af06b70dbd04e09768ea6 - -query IIIIII rowsort x35 -SELECT a+b*2+c*3+d*4+e*5, - b-c, - abs(a), - abs(b-c), - (a+b+c+d+e)/5, - CASE a+1 WHEN b THEN 111 WHEN c THEN 222 - WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END - FROM t1 - WHERE (c<=d-2 OR c>=d+2) - OR b>c - OR (e>a AND e=d+2) - OR b>c - OR (e>a AND ea AND e=d+2) ----- -33 values hashing to acb7faddee415dc26b2a6146b018a2e5 - -query III rowsort x36 -SELECT e, - a+b*2+c*3+d*4, - a+b*2+c*3+d*4+e*5 - FROM t1 - WHERE (e>a AND e=d+2) - ORDER BY 2,1 ----- -33 values hashing to acb7faddee415dc26b2a6146b018a2e5 - -query III rowsort x36 -SELECT e, - a+b*2+c*3+d*4, - a+b*2+c*3+d*4+e*5 - FROM t1 - WHERE (c<=d-2 OR c>=d+2) - OR (e>a AND e=d+2) - OR (e>a AND ee ----- -21 values hashing to 8604975782e66cb0d8a41bbc6616943b - -query III rowsort x37 -SELECT (a+b+c+d+e)/5, - d-e, - d - FROM t1 - WHERE d NOT BETWEEN 110 AND 150 - AND d>e - ORDER BY 1,2,3 ----- -21 values hashing to 8604975782e66cb0d8a41bbc6616943b - -query III rowsort x37 -SELECT (a+b+c+d+e)/5, - d-e, - d - FROM t1 - WHERE d>e - AND d NOT BETWEEN 110 AND 150 ----- -21 values hashing to 8604975782e66cb0d8a41bbc6616943b - -query III rowsort x37 -SELECT (a+b+c+d+e)/5, - d-e, - d - FROM t1 - WHERE d>e - AND d NOT BETWEEN 110 AND 150 - ORDER BY 2,3,1 ----- -21 values hashing to 8604975782e66cb0d8a41bbc6616943b - -query III rowsort x38 -SELECT a, - b-c, - CASE WHEN ab - OR c BETWEEN b-2 AND d+2 ----- -24 values hashing to e06610bd9fa1097f42e363fcc8d6546f - -query I rowsort x40 -SELECT a-b - FROM t1 - WHERE a>b - OR c BETWEEN b-2 AND d+2 - ORDER BY 1 ----- -24 values hashing to e06610bd9fa1097f42e363fcc8d6546f - -query I rowsort x41 -SELECT a+b*2+c*3+d*4 - FROM t1 - WHERE d NOT BETWEEN 110 AND 150 - AND b>c - AND c>d ----- -1918 - -query I rowsort x41 -SELECT a+b*2+c*3+d*4 - FROM t1 - WHERE d NOT BETWEEN 110 AND 150 - AND b>c - AND c>d - ORDER BY 1 ----- -1918 - -query I rowsort x41 -SELECT a+b*2+c*3+d*4 - FROM t1 - WHERE c>d - AND b>c - AND d NOT BETWEEN 110 AND 150 ----- -1918 - -query I rowsort x41 -SELECT a+b*2+c*3+d*4 - FROM t1 - WHERE c>d - AND b>c - AND d NOT BETWEEN 110 AND 150 - ORDER BY 1 ----- -1918 - -query I rowsort x41 -SELECT a+b*2+c*3+d*4 - FROM t1 - WHERE d NOT BETWEEN 110 AND 150 - AND c>d - AND b>c ----- -1918 - -query I rowsort x41 -SELECT a+b*2+c*3+d*4 - FROM t1 - WHERE d NOT BETWEEN 110 AND 150 - AND c>d - AND b>c - ORDER BY 1 ----- -1918 - -query I rowsort x42 -SELECT a+b*2+c*3 - FROM t1 ----- -30 values hashing to 445b0172de37f3ca0ed777000309cef8 - -query I rowsort x42 -SELECT a+b*2+c*3 - FROM t1 - ORDER BY 1 ----- -30 values hashing to 445b0172de37f3ca0ed777000309cef8 - -query III rowsort x43 -SELECT b, - a+b*2, - a - FROM t1 - WHERE b>c - AND (a>b-2 AND ac - AND (a>b-2 AND ab-2 AND ac ----- -139 -416 -138 -143 -428 -142 - -query III rowsort x43 -SELECT b, - a+b*2, - a - FROM t1 - WHERE c BETWEEN b-2 AND d+2 - AND (a>b-2 AND ac - ORDER BY 1,3 ----- -139 -416 -138 -143 -428 -142 - -query III rowsort x43 -SELECT b, - a+b*2, - a - FROM t1 - WHERE c BETWEEN b-2 AND d+2 - AND b>c - AND (a>b-2 AND ac - AND (a>b-2 AND at1.c AND x.d=d+2) ----- -56 values hashing to a50fc61a88af6982597f73b3314f59da - -query IIIIIII rowsort x44 -SELECT abs(a), - CASE a+1 WHEN b THEN 111 WHEN c THEN 222 - WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, - a+b*2+c*3+d*4, - c-d, - a+b*2+c*3+d*4+e*5, - (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.d=d+2) - ORDER BY 4,2 ----- -56 values hashing to a50fc61a88af6982597f73b3314f59da - -query IIIIIII rowsort x44 -SELECT abs(a), - CASE a+1 WHEN b THEN 111 WHEN c THEN 222 - WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, - a+b*2+c*3+d*4, - c-d, - a+b*2+c*3+d*4+e*5, - (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.d=d+2) - AND EXISTS(SELECT 1 FROM t1 AS x WHERE x.bt1.c AND x.d=d+2) - AND EXISTS(SELECT 1 FROM t1 AS x WHERE x.bt1.c AND x.d(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END - FROM t1 ----- -150 values hashing to 0791d44e972a767c2504291f010d4972 - -query IIIII rowsort x45 -SELECT c-d, - d-e, - a+b*2+c*3, - (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.d(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END - FROM t1 - ORDER BY 1,4,3 ----- -150 values hashing to 0791d44e972a767c2504291f010d4972 - -query IIIIII rowsort x46 -SELECT c-d, - d-e, - (SELECT count(*) FROM t1 AS x WHERE x.b(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - abs(b-c), - abs(a) - FROM t1 - WHERE (c<=d-2 OR c>=d+2) - AND e+d BETWEEN a+b-10 AND c+130 ----- -12 values hashing to 9eaadc75d7510bdbda42f0e20cb844ce - -query IIIIII rowsort x46 -SELECT c-d, - d-e, - (SELECT count(*) FROM t1 AS x WHERE x.b(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - abs(b-c), - abs(a) - FROM t1 - WHERE (c<=d-2 OR c>=d+2) - AND e+d BETWEEN a+b-10 AND c+130 - ORDER BY 1,3,2,5,4,6 ----- -12 values hashing to 9eaadc75d7510bdbda42f0e20cb844ce - -query IIIIII rowsort x47 -SELECT b-c, - a+b*2+c*3, - abs(b-c), - e, - CASE a+1 WHEN b THEN 111 WHEN c THEN 222 - WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, - a+b*2 - FROM t1 - WHERE d NOT BETWEEN 110 AND 150 - AND (a>b-2 AND ab-2 AND ab-2 AND ab-2 AND a(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - a+b*2+c*3, - a - FROM t1 - WHERE EXISTS(SELECT 1 FROM t1 AS x WHERE x.b(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - a+b*2+c*3, - a - FROM t1 - WHERE EXISTS(SELECT 1 FROM t1 AS x WHERE x.b=d+2) - OR c BETWEEN b-2 AND d+2 ----- -114 values hashing to 0446a9accb80cccec6bc4d954353b3d5 - -query IIIIII rowsort x49 -SELECT (SELECT count(*) FROM t1 AS x WHERE x.b=d+2) - OR c BETWEEN b-2 AND d+2 - ORDER BY 4,1,3 ----- -114 values hashing to 0446a9accb80cccec6bc4d954353b3d5 - -query IIIIII rowsort x49 -SELECT (SELECT count(*) FROM t1 AS x WHERE x.b=d+2) ----- -114 values hashing to 0446a9accb80cccec6bc4d954353b3d5 - -query IIIIII rowsort x49 -SELECT (SELECT count(*) FROM t1 AS x WHERE x.b=d+2) - ORDER BY 3,2,1,6 ----- -114 values hashing to 0446a9accb80cccec6bc4d954353b3d5 - -query IIIII rowsort x50 -SELECT c, - (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.da AND et1.c AND x.da AND et1.c AND x.da AND et1.c AND x.da AND et1.c AND x.dt1.c AND x.d(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - a+b*2+c*3+d*4+e*5 - FROM t1 ----- -60 values hashing to 0bdb710608975d536cdcc249e7766277 - -query II rowsort x53 -SELECT CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - a+b*2+c*3+d*4+e*5 - FROM t1 - ORDER BY 2,1 ----- -60 values hashing to 0bdb710608975d536cdcc249e7766277 - -query IIIIII rowsort x54 -SELECT a+b*2+c*3+d*4, - a-b, - (SELECT count(*) FROM t1 AS x WHERE x.bc - OR d NOT BETWEEN 110 AND 150 - OR d>e ----- -156 values hashing to 0e7e4265ef0ff00ba6f163a5f391c6b6 - -query IIIIII rowsort x54 -SELECT a+b*2+c*3+d*4, - a-b, - (SELECT count(*) FROM t1 AS x WHERE x.bc - OR d NOT BETWEEN 110 AND 150 - OR d>e - ORDER BY 2,4,3,5 ----- -156 values hashing to 0e7e4265ef0ff00ba6f163a5f391c6b6 - -query IIIIII rowsort x54 -SELECT a+b*2+c*3+d*4, - a-b, - (SELECT count(*) FROM t1 AS x WHERE x.be - OR d NOT BETWEEN 110 AND 150 - OR b>c ----- -156 values hashing to 0e7e4265ef0ff00ba6f163a5f391c6b6 - -query IIIIII rowsort x54 -SELECT a+b*2+c*3+d*4, - a-b, - (SELECT count(*) FROM t1 AS x WHERE x.be - OR d NOT BETWEEN 110 AND 150 - OR b>c - ORDER BY 1,2,3 ----- -156 values hashing to 0e7e4265ef0ff00ba6f163a5f391c6b6 - -query IIIIII rowsort x54 -SELECT a+b*2+c*3+d*4, - a-b, - (SELECT count(*) FROM t1 AS x WHERE x.bc - OR d>e ----- -156 values hashing to 0e7e4265ef0ff00ba6f163a5f391c6b6 - -query IIIIII rowsort x54 -SELECT a+b*2+c*3+d*4, - a-b, - (SELECT count(*) FROM t1 AS x WHERE x.bc - OR d>e - ORDER BY 3,4,5,6,1,2 ----- -156 values hashing to 0e7e4265ef0ff00ba6f163a5f391c6b6 - -query I rowsort x55 -SELECT b-c - FROM t1 - WHERE EXISTS(SELECT 1 FROM t1 AS x WHERE x.bt1.c AND x.d(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END - FROM t1 - WHERE d NOT BETWEEN 110 AND 150 - OR c BETWEEN b-2 AND d+2 ----- -110 values hashing to eb1aebf3bea3b025c376cea652805430 - -query IIIII rowsort x57 -SELECT a+b*2+c*3+d*4, - (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.d(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END - FROM t1 - WHERE d NOT BETWEEN 110 AND 150 - OR c BETWEEN b-2 AND d+2 - ORDER BY 2,5 ----- -110 values hashing to eb1aebf3bea3b025c376cea652805430 - -query IIIII rowsort x57 -SELECT a+b*2+c*3+d*4, - (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.d(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END - FROM t1 - WHERE c BETWEEN b-2 AND d+2 - OR d NOT BETWEEN 110 AND 150 ----- -110 values hashing to eb1aebf3bea3b025c376cea652805430 - -query IIIII rowsort x57 -SELECT a+b*2+c*3+d*4, - (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.d(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END - FROM t1 - WHERE c BETWEEN b-2 AND d+2 - OR d NOT BETWEEN 110 AND 150 - ORDER BY 4,1,3 ----- -110 values hashing to eb1aebf3bea3b025c376cea652805430 - -query IIII rowsort x58 -SELECT b-c, - a+b*2, - c, - a+b*2+c*3+d*4 - FROM t1 ----- -120 values hashing to 06fab51c5d572097d0468c8bfc192e5e - -query IIII rowsort x58 -SELECT b-c, - a+b*2, - c, - a+b*2+c*3+d*4 - FROM t1 - ORDER BY 3,1 ----- -120 values hashing to 06fab51c5d572097d0468c8bfc192e5e - -query III rowsort x59 -SELECT CASE WHEN ab-2 AND ab - AND d>e ----- -333 -132 -391 -333 -182 -544 - -query III rowsort x59 -SELECT CASE WHEN ab-2 AND ab - AND d>e - ORDER BY 1,3,2 ----- -333 -132 -391 -333 -182 -544 - -query III rowsort x59 -SELECT CASE WHEN ae - AND a>b - AND (a>b-2 AND ae - AND a>b - AND (a>b-2 AND ae - AND (a>b-2 AND ab ----- -333 -132 -391 -333 -182 -544 - -query III rowsort x59 -SELECT CASE WHEN ae - AND (a>b-2 AND ab - ORDER BY 3,2,1 ----- -333 -132 -391 -333 -182 -544 - -query III rowsort x59 -SELECT CASE WHEN ab - AND (a>b-2 AND ae ----- -333 -132 -391 -333 -182 -544 - -query III rowsort x59 -SELECT CASE WHEN ab - AND (a>b-2 AND ae - ORDER BY 1,2 ----- -333 -132 -391 -333 -182 -544 - -query I rowsort x60 -SELECT CASE a+1 WHEN b THEN 111 WHEN c THEN 222 - WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END - FROM t1 ----- -30 values hashing to 0075716954dbc259c5e8ac65568a6fa7 - -query I rowsort x60 -SELECT CASE a+1 WHEN b THEN 111 WHEN c THEN 222 - WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END - FROM t1 - ORDER BY 1 ----- -30 values hashing to 0075716954dbc259c5e8ac65568a6fa7 - -query III rowsort x61 -SELECT (SELECT count(*) FROM t1 AS x WHERE x.bb-2 AND ab-2 AND a=d+2) - AND b>c - AND (e>a AND e=d+2) - AND b>c - AND (e>a AND ea AND e=d+2) - AND b>c ----- -1 -2878 -579 - -query III rowsort x62 -SELECT b-c, - a+b*2+c*3+d*4+e*5, - a+b*2 - FROM t1 - WHERE (e>a AND e=d+2) - AND b>c - ORDER BY 2,1 ----- -1 -2878 -579 - -query III rowsort x62 -SELECT b-c, - a+b*2+c*3+d*4+e*5, - a+b*2 - FROM t1 - WHERE (c<=d-2 OR c>=d+2) - AND (e>a AND ec ----- -1 -2878 -579 - -query III rowsort x62 -SELECT b-c, - a+b*2+c*3+d*4+e*5, - a+b*2 - FROM t1 - WHERE (c<=d-2 OR c>=d+2) - AND (e>a AND ec - ORDER BY 1,3,2 ----- -1 -2878 -579 - -query IIIIII rowsort x63 -SELECT CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - (a+b+c+d+e)/5, - a-b, - (SELECT count(*) FROM t1 AS x WHERE x.ba AND e(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - (a+b+c+d+e)/5, - a-b, - (SELECT count(*) FROM t1 AS x WHERE x.ba AND et1.c AND x.dc - AND c BETWEEN b-2 AND d+2 - AND (c<=d-2 OR c>=d+2) ----- -0 - -query I rowsort x65 -SELECT (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.dc - AND c BETWEEN b-2 AND d+2 - AND (c<=d-2 OR c>=d+2) - ORDER BY 1 ----- -0 - -query I rowsort x65 -SELECT (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.d=d+2) - AND b>c - AND c BETWEEN b-2 AND d+2 ----- -0 - -query I rowsort x65 -SELECT (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.d=d+2) - AND b>c - AND c BETWEEN b-2 AND d+2 - ORDER BY 1 ----- -0 - -query I rowsort x66 -SELECT e - FROM t1 - WHERE b>c - AND d>e ----- -126 -135 -230 -246 - -query I rowsort x66 -SELECT e - FROM t1 - WHERE b>c - AND d>e - ORDER BY 1 ----- -126 -135 -230 -246 - -query I rowsort x67 -SELECT abs(a) - FROM t1 - WHERE c BETWEEN b-2 AND d+2 ----- -15 values hashing to ee5e469b70e69479c72ba919407850bf - -query I rowsort x67 -SELECT abs(a) - FROM t1 - WHERE c BETWEEN b-2 AND d+2 - ORDER BY 1 ----- -15 values hashing to ee5e469b70e69479c72ba919407850bf - -query I rowsort x68 -SELECT d-e - FROM t1 - WHERE (a>b-2 AND ac OR eb-2 AND ac OR ec OR eb-2 AND ac OR eb-2 AND ab-2 AND ac OR eb-2 AND ac OR eb-2 AND ac OR eb-2 AND ac OR e(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END - FROM t1 - WHERE e+d BETWEEN a+b-10 AND c+130 - OR (e>c OR e(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END - FROM t1 - WHERE e+d BETWEEN a+b-10 AND c+130 - OR (e>c OR ee - AND (e>c OR ee - AND (e>c OR e(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - b-c - FROM t1 - WHERE (e>a AND eb ----- -100 values hashing to 35ca6f386a2103ff887bdabee6e9f57b - -query IIIII rowsort x72 -SELECT a, - abs(b-c), - a-b, - CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - b-c - FROM t1 - WHERE (e>a AND eb - ORDER BY 3,1,2 ----- -100 values hashing to 35ca6f386a2103ff887bdabee6e9f57b - -query IIIII rowsort x72 -SELECT a, - abs(b-c), - a-b, - CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - b-c - FROM t1 - WHERE a>b - OR (e>a AND e(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - b-c - FROM t1 - WHERE a>b - OR (e>a AND e(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - (SELECT count(*) FROM t1 AS x WHERE x.be ----- -63 values hashing to af765695bd98c6763d19286966e6a502 - -query IIIIIII rowsort x73 -SELECT abs(b-c), - d-e, - c-d, - c, - CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - (SELECT count(*) FROM t1 AS x WHERE x.be - ORDER BY 1,3,7,2,5,4,6 ----- -63 values hashing to af765695bd98c6763d19286966e6a502 - -query IIIIIII rowsort x73 -SELECT abs(b-c), - d-e, - c-d, - c, - CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - (SELECT count(*) FROM t1 AS x WHERE x.be - AND c BETWEEN b-2 AND d+2 ----- -63 values hashing to af765695bd98c6763d19286966e6a502 - -query IIIIIII rowsort x73 -SELECT abs(b-c), - d-e, - c-d, - c, - CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - (SELECT count(*) FROM t1 AS x WHERE x.be - AND c BETWEEN b-2 AND d+2 - ORDER BY 7,3,4,6,2,1,5 ----- -63 values hashing to af765695bd98c6763d19286966e6a502 - -query II rowsort x74 -SELECT a-b, - a+b*2+c*3 - FROM t1 - WHERE d NOT BETWEEN 110 AND 150 ----- -34 values hashing to 7321b17b6a187df6e53c93c4a884c4ef - -query II rowsort x74 -SELECT a-b, - a+b*2+c*3 - FROM t1 - WHERE d NOT BETWEEN 110 AND 150 - ORDER BY 1,2 ----- -34 values hashing to 7321b17b6a187df6e53c93c4a884c4ef - -query IIIII rowsort x75 -SELECT CASE a+1 WHEN b THEN 111 WHEN c THEN 222 - WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, - a-b, - a+b*2, - d-e, - b - FROM t1 - WHERE d>e - AND EXISTS(SELECT 1 FROM t1 AS x WHERE x.be - AND EXISTS(SELECT 1 FROM t1 AS x WHERE x.b(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - a+b*2+c*3+d*4, - a-b, - e - FROM t1 - WHERE (a>b-2 AND a(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - a+b*2+c*3+d*4, - a-b, - e - FROM t1 - WHERE (a>b-2 AND a(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END - FROM t1 ----- -150 values hashing to 38b77b849a6098cb98a50e86ed967db9 - -query IIIII rowsort x78 -SELECT a+b*2, - abs(a), - e, - a+b*2+c*3+d*4, - CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END - FROM t1 - ORDER BY 5,2 ----- -150 values hashing to 38b77b849a6098cb98a50e86ed967db9 - -query IIIIIII rowsort x79 -SELECT abs(b-c), - a+b*2+c*3+d*4, - CASE WHEN ab ----- -196 values hashing to ef668449d0dcfaf39a9176380099a7ba - -query IIIIIII rowsort x79 -SELECT abs(b-c), - a+b*2+c*3+d*4, - CASE WHEN ab - ORDER BY 4,2,5 ----- -196 values hashing to ef668449d0dcfaf39a9176380099a7ba - -query IIIIIII rowsort x79 -SELECT abs(b-c), - a+b*2+c*3+d*4, - CASE WHEN ab - OR d NOT BETWEEN 110 AND 150 ----- -196 values hashing to ef668449d0dcfaf39a9176380099a7ba - -query IIIIIII rowsort x79 -SELECT abs(b-c), - a+b*2+c*3+d*4, - CASE WHEN ab - OR d NOT BETWEEN 110 AND 150 - ORDER BY 1,6,7,5,3 ----- -196 values hashing to ef668449d0dcfaf39a9176380099a7ba - -query II rowsort x80 -SELECT c-d, - b-c - FROM t1 - WHERE a>b - OR c>d - OR d>e ----- -56 values hashing to 92f4dc74ff83b62db81402a1d57321c6 - -query II rowsort x80 -SELECT c-d, - b-c - FROM t1 - WHERE a>b - OR c>d - OR d>e - ORDER BY 1,2 ----- -56 values hashing to 92f4dc74ff83b62db81402a1d57321c6 - -query II rowsort x80 -SELECT c-d, - b-c - FROM t1 - WHERE d>e - OR c>d - OR a>b ----- -56 values hashing to 92f4dc74ff83b62db81402a1d57321c6 - -query II rowsort x80 -SELECT c-d, - b-c - FROM t1 - WHERE d>e - OR c>d - OR a>b - ORDER BY 2,1 ----- -56 values hashing to 92f4dc74ff83b62db81402a1d57321c6 - -query II rowsort x80 -SELECT c-d, - b-c - FROM t1 - WHERE d>e - OR a>b - OR c>d ----- -56 values hashing to 92f4dc74ff83b62db81402a1d57321c6 - -query II rowsort x80 -SELECT c-d, - b-c - FROM t1 - WHERE d>e - OR a>b - OR c>d - ORDER BY 1,2 ----- -56 values hashing to 92f4dc74ff83b62db81402a1d57321c6 - -query II rowsort x81 -SELECT abs(b-c), - a - FROM t1 - WHERE c>d ----- -26 values hashing to 5406a45aaa7e9eb6eac7c2ce28e885ff - -query II rowsort x81 -SELECT abs(b-c), - a - FROM t1 - WHERE c>d - ORDER BY 1,2 ----- -26 values hashing to 5406a45aaa7e9eb6eac7c2ce28e885ff - -query IIIII rowsort x82 -SELECT b-c, - (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.dc OR ec ----- -20 values hashing to 3938ff52656417a17bb221a7e4c3c1f8 - -query IIIII rowsort x82 -SELECT b-c, - (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.dc OR ec - ORDER BY 3,1,5,4,2 ----- -20 values hashing to 3938ff52656417a17bb221a7e4c3c1f8 - -query IIIII rowsort x82 -SELECT b-c, - (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.dc OR ec - AND c BETWEEN b-2 AND d+2 ----- -20 values hashing to 3938ff52656417a17bb221a7e4c3c1f8 - -query IIIII rowsort x82 -SELECT b-c, - (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.dc OR ec - AND c BETWEEN b-2 AND d+2 - ORDER BY 3,5,4,2,1 ----- -20 values hashing to 3938ff52656417a17bb221a7e4c3c1f8 - -query IIIII rowsort x82 -SELECT b-c, - (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.dc - AND (e>c OR et1.c AND x.dc - AND (e>c OR e(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - a, - d, - a+b*2+c*3, - CASE WHEN a(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - a, - d, - a+b*2+c*3, - CASE WHEN at1.c AND x.dt1.c AND x.dt1.c AND x.de ----- -22 values hashing to 447047f122de558251d285760d37a2b0 - -query II rowsort x87 -SELECT (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.de - ORDER BY 2,1 ----- -22 values hashing to 447047f122de558251d285760d37a2b0 - -query IIIIIII rowsort x88 -SELECT c-d, - a+b*2+c*3+d*4+e*5, - b-c, - (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.da AND et1.c AND x.da AND e(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - a - FROM t1 - WHERE (a>b-2 AND a(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - a - FROM t1 - WHERE (a>b-2 AND at1.c AND x.dt1.c AND x.dc - OR a>b - OR (c<=d-2 OR c>=d+2) ----- -130 values hashing to 2f5a32331489c99199941a8889b06f1d - -query IIIII rowsort x91 -SELECT c-d, - a+b*2+c*3+d*4, - abs(b-c), - CASE a+1 WHEN b THEN 111 WHEN c THEN 222 - WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, - abs(a) - FROM t1 - WHERE b>c - OR a>b - OR (c<=d-2 OR c>=d+2) - ORDER BY 2,4,5 ----- -130 values hashing to 2f5a32331489c99199941a8889b06f1d - -query IIIII rowsort x91 -SELECT c-d, - a+b*2+c*3+d*4, - abs(b-c), - CASE a+1 WHEN b THEN 111 WHEN c THEN 222 - WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, - abs(a) - FROM t1 - WHERE (c<=d-2 OR c>=d+2) - OR a>b - OR b>c ----- -130 values hashing to 2f5a32331489c99199941a8889b06f1d - -query IIIII rowsort x91 -SELECT c-d, - a+b*2+c*3+d*4, - abs(b-c), - CASE a+1 WHEN b THEN 111 WHEN c THEN 222 - WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, - abs(a) - FROM t1 - WHERE (c<=d-2 OR c>=d+2) - OR a>b - OR b>c - ORDER BY 4,5,1 ----- -130 values hashing to 2f5a32331489c99199941a8889b06f1d - -query IIIII rowsort x91 -SELECT c-d, - a+b*2+c*3+d*4, - abs(b-c), - CASE a+1 WHEN b THEN 111 WHEN c THEN 222 - WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, - abs(a) - FROM t1 - WHERE a>b - OR (c<=d-2 OR c>=d+2) - OR b>c ----- -130 values hashing to 2f5a32331489c99199941a8889b06f1d - -query IIIII rowsort x91 -SELECT c-d, - a+b*2+c*3+d*4, - abs(b-c), - CASE a+1 WHEN b THEN 111 WHEN c THEN 222 - WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, - abs(a) - FROM t1 - WHERE a>b - OR (c<=d-2 OR c>=d+2) - OR b>c - ORDER BY 1,5,3 ----- -130 values hashing to 2f5a32331489c99199941a8889b06f1d - -query IIIIIII rowsort x92 -SELECT d-e, - a+b*2+c*3+d*4+e*5, - a+b*2+c*3, - d, - (SELECT count(*) FROM t1 AS x WHERE x.b(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END - FROM t1 ----- -150 values hashing to 3cfed3855169db1b5c3661ccf5f0e01a - -query IIIII rowsort x95 -SELECT d, - a, - a+b*2+c*3, - a+b*2+c*3+d*4, - CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END - FROM t1 - ORDER BY 5,3,1,2,4 ----- -150 values hashing to 3cfed3855169db1b5c3661ccf5f0e01a - -query IIIII rowsort x96 -SELECT d-e, - abs(b-c), - CASE a+1 WHEN b THEN 111 WHEN c THEN 222 - WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, - b-c, - a+b*2+c*3+d*4+e*5 - FROM t1 - WHERE (c<=d-2 OR c>=d+2) - AND c>d ----- -25 values hashing to af6ddfcc0bc5a293d17b418913e3f6c2 - -query IIIII rowsort x96 -SELECT d-e, - abs(b-c), - CASE a+1 WHEN b THEN 111 WHEN c THEN 222 - WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, - b-c, - a+b*2+c*3+d*4+e*5 - FROM t1 - WHERE (c<=d-2 OR c>=d+2) - AND c>d - ORDER BY 5,1,4,2,3 ----- -25 values hashing to af6ddfcc0bc5a293d17b418913e3f6c2 - -query IIIII rowsort x96 -SELECT d-e, - abs(b-c), - CASE a+1 WHEN b THEN 111 WHEN c THEN 222 - WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, - b-c, - a+b*2+c*3+d*4+e*5 - FROM t1 - WHERE c>d - AND (c<=d-2 OR c>=d+2) ----- -25 values hashing to af6ddfcc0bc5a293d17b418913e3f6c2 - -query IIIII rowsort x96 -SELECT d-e, - abs(b-c), - CASE a+1 WHEN b THEN 111 WHEN c THEN 222 - WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, - b-c, - a+b*2+c*3+d*4+e*5 - FROM t1 - WHERE c>d - AND (c<=d-2 OR c>=d+2) - ORDER BY 1,4,3 ----- -25 values hashing to af6ddfcc0bc5a293d17b418913e3f6c2 - -query IIIII rowsort x97 -SELECT (a+b+c+d+e)/5, - d, - CASE WHEN ab-2 AND ab-2 AND ab-2 AND ab-2 AND a(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - a+b*2+c*3, - c-d - FROM t1 - WHERE e+d BETWEEN a+b-10 AND c+130 - OR a>b ----- -54 values hashing to f8c69dcb44782b0e6c9cbf8319f65a6c - -query III rowsort x98 -SELECT CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - a+b*2+c*3, - c-d - FROM t1 - WHERE e+d BETWEEN a+b-10 AND c+130 - OR a>b - ORDER BY 1,2,3 ----- -54 values hashing to f8c69dcb44782b0e6c9cbf8319f65a6c - -query III rowsort x98 -SELECT CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - a+b*2+c*3, - c-d - FROM t1 - WHERE a>b - OR e+d BETWEEN a+b-10 AND c+130 ----- -54 values hashing to f8c69dcb44782b0e6c9cbf8319f65a6c - -query III rowsort x98 -SELECT CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - a+b*2+c*3, - c-d - FROM t1 - WHERE a>b - OR e+d BETWEEN a+b-10 AND c+130 - ORDER BY 1,3 ----- -54 values hashing to f8c69dcb44782b0e6c9cbf8319f65a6c - -query IIIIII rowsort x99 -SELECT (SELECT count(*) FROM t1 AS x WHERE x.b(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - b-c, - d, - c, - a+b*2+c*3+d*4 - FROM t1 ----- -180 values hashing to cf32291913a803ba6d9011eefa055f2f - -query IIIIII rowsort x99 -SELECT (SELECT count(*) FROM t1 AS x WHERE x.b(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - b-c, - d, - c, - a+b*2+c*3+d*4 - FROM t1 - ORDER BY 4,3,5,2,6 ----- -180 values hashing to cf32291913a803ba6d9011eefa055f2f - -query IIII rowsort x100 -SELECT CASE a+1 WHEN b THEN 111 WHEN c THEN 222 - WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, - a+b*2+c*3, - a+b*2+c*3+d*4, - c-d - FROM t1 - WHERE (a>b-2 AND ab-2 AND ab-2 AND ab-2 AND ac - AND (e>a AND ec - AND (e>a AND ea AND ec ----- -14 values hashing to ba74bb26a6370037d533c7c849d06212 - -query IIIIIII rowsort x102 -SELECT (SELECT count(*) FROM t1 AS x WHERE x.ba AND ec - ORDER BY 2,7,3,5,4 ----- -14 values hashing to ba74bb26a6370037d533c7c849d06212 - -query IIIIII rowsort x103 -SELECT a+b*2+c*3, - b-c, - CASE WHEN a(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END - FROM t1 - WHERE (e>c OR e(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END - FROM t1 - WHERE (e>c OR ee - AND c>d ----- -15 values hashing to 3c7ff7791b22cfda8a728f67fd74be3a - -query III rowsort x109 -SELECT (a+b+c+d+e)/5, - abs(b-c), - a+b*2+c*3+d*4 - FROM t1 - WHERE c BETWEEN b-2 AND d+2 - AND d>e - AND c>d - ORDER BY 2,1 ----- -15 values hashing to 3c7ff7791b22cfda8a728f67fd74be3a - -query III rowsort x109 -SELECT (a+b+c+d+e)/5, - abs(b-c), - a+b*2+c*3+d*4 - FROM t1 - WHERE c>d - AND d>e - AND c BETWEEN b-2 AND d+2 ----- -15 values hashing to 3c7ff7791b22cfda8a728f67fd74be3a - -query III rowsort x109 -SELECT (a+b+c+d+e)/5, - abs(b-c), - a+b*2+c*3+d*4 - FROM t1 - WHERE c>d - AND d>e - AND c BETWEEN b-2 AND d+2 - ORDER BY 1,3,2 ----- -15 values hashing to 3c7ff7791b22cfda8a728f67fd74be3a - -query III rowsort x109 -SELECT (a+b+c+d+e)/5, - abs(b-c), - a+b*2+c*3+d*4 - FROM t1 - WHERE c>d - AND c BETWEEN b-2 AND d+2 - AND d>e ----- -15 values hashing to 3c7ff7791b22cfda8a728f67fd74be3a - -query III rowsort x109 -SELECT (a+b+c+d+e)/5, - abs(b-c), - a+b*2+c*3+d*4 - FROM t1 - WHERE c>d - AND c BETWEEN b-2 AND d+2 - AND d>e - ORDER BY 1,2 ----- -15 values hashing to 3c7ff7791b22cfda8a728f67fd74be3a - -query II rowsort x110 -SELECT a+b*2+c*3+d*4, - d - FROM t1 - WHERE c>d - AND c BETWEEN b-2 AND d+2 - AND (e>c OR ed - AND c BETWEEN b-2 AND d+2 - AND (e>c OR ec OR ed - AND c BETWEEN b-2 AND d+2 ----- -16 values hashing to 17d107726956412fb29fbcad81f2565a - -query II rowsort x110 -SELECT a+b*2+c*3+d*4, - d - FROM t1 - WHERE (e>c OR ed - AND c BETWEEN b-2 AND d+2 - ORDER BY 2,1 ----- -16 values hashing to 17d107726956412fb29fbcad81f2565a - -query II rowsort x110 -SELECT a+b*2+c*3+d*4, - d - FROM t1 - WHERE c BETWEEN b-2 AND d+2 - AND (e>c OR ed ----- -16 values hashing to 17d107726956412fb29fbcad81f2565a - -query II rowsort x110 -SELECT a+b*2+c*3+d*4, - d - FROM t1 - WHERE c BETWEEN b-2 AND d+2 - AND (e>c OR ed - ORDER BY 2,1 ----- -16 values hashing to 17d107726956412fb29fbcad81f2565a - -query IIIIII rowsort x111 -SELECT abs(a), - a+b*2+c*3+d*4, - (SELECT count(*) FROM t1 AS x WHERE x.b(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - c-d - FROM t1 - WHERE e+d BETWEEN a+b-10 AND c+130 ----- -12 values hashing to 36c8af2cf2c693cce358cd6042d0f3a0 - -query IIIIII rowsort x111 -SELECT abs(a), - a+b*2+c*3+d*4, - (SELECT count(*) FROM t1 AS x WHERE x.b(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - c-d - FROM t1 - WHERE e+d BETWEEN a+b-10 AND c+130 - ORDER BY 1,2,4,5,3 ----- -12 values hashing to 36c8af2cf2c693cce358cd6042d0f3a0 - -query III rowsort x112 -SELECT a, - (a+b+c+d+e)/5, - a-b - FROM t1 - WHERE a>b ----- -51 values hashing to 2abf69b4e4ff11844fc3e958d1984c2d - -query III rowsort x112 -SELECT a, - (a+b+c+d+e)/5, - a-b - FROM t1 - WHERE a>b - ORDER BY 2,3 ----- -51 values hashing to 2abf69b4e4ff11844fc3e958d1984c2d - -query III rowsort x113 -SELECT c-d, - CASE a+1 WHEN b THEN 111 WHEN c THEN 222 - WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, - b - FROM t1 - WHERE (e>a AND ea AND et1.c AND x.dd - AND EXISTS(SELECT 1 FROM t1 AS x WHERE x.bt1.c AND x.dd - AND EXISTS(SELECT 1 FROM t1 AS x WHERE x.bt1.c AND x.dd - AND EXISTS(SELECT 1 FROM t1 AS x WHERE x.bt1.c AND x.dd - AND EXISTS(SELECT 1 FROM t1 AS x WHERE x.bt1.c AND x.dd ----- -50 values hashing to a7c4bfdcb5d86488e2bf8c50a2cf6e10 - -query IIIII rowsort x115 -SELECT CASE WHEN at1.c AND x.dd - ORDER BY 1,2 ----- -50 values hashing to a7c4bfdcb5d86488e2bf8c50a2cf6e10 - -query IIIIIII rowsort x116 -SELECT a+b*2+c*3+d*4, - a+b*2+c*3, - CASE a+1 WHEN b THEN 111 WHEN c THEN 222 - WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, - e, - (SELECT count(*) FROM t1 AS x WHERE x.be - OR c BETWEEN b-2 AND d+2 - OR (c<=d-2 OR c>=d+2) ----- -140 values hashing to e4345f4fe95219d9c12d3c40f128f3b5 - -query IIIIIII rowsort x116 -SELECT a+b*2+c*3+d*4, - a+b*2+c*3, - CASE a+1 WHEN b THEN 111 WHEN c THEN 222 - WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, - e, - (SELECT count(*) FROM t1 AS x WHERE x.be - OR c BETWEEN b-2 AND d+2 - OR (c<=d-2 OR c>=d+2) - ORDER BY 1,5,2,3,4 ----- -140 values hashing to e4345f4fe95219d9c12d3c40f128f3b5 - -query IIIIIII rowsort x116 -SELECT a+b*2+c*3+d*4, - a+b*2+c*3, - CASE a+1 WHEN b THEN 111 WHEN c THEN 222 - WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, - e, - (SELECT count(*) FROM t1 AS x WHERE x.b=d+2) - OR c BETWEEN b-2 AND d+2 - OR d>e ----- -140 values hashing to e4345f4fe95219d9c12d3c40f128f3b5 - -query IIIIIII rowsort x116 -SELECT a+b*2+c*3+d*4, - a+b*2+c*3, - CASE a+1 WHEN b THEN 111 WHEN c THEN 222 - WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, - e, - (SELECT count(*) FROM t1 AS x WHERE x.b=d+2) - OR c BETWEEN b-2 AND d+2 - OR d>e - ORDER BY 4,2,5,1,3,7 ----- -140 values hashing to e4345f4fe95219d9c12d3c40f128f3b5 - -query IIIIIII rowsort x116 -SELECT a+b*2+c*3+d*4, - a+b*2+c*3, - CASE a+1 WHEN b THEN 111 WHEN c THEN 222 - WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, - e, - (SELECT count(*) FROM t1 AS x WHERE x.b=d+2) - OR d>e ----- -140 values hashing to e4345f4fe95219d9c12d3c40f128f3b5 - -query IIIIIII rowsort x116 -SELECT a+b*2+c*3+d*4, - a+b*2+c*3, - CASE a+1 WHEN b THEN 111 WHEN c THEN 222 - WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, - e, - (SELECT count(*) FROM t1 AS x WHERE x.b=d+2) - OR d>e - ORDER BY 1,6,2,4,5,7 ----- -140 values hashing to e4345f4fe95219d9c12d3c40f128f3b5 - -query II rowsort x117 -SELECT a+b*2+c*3+d*4, - CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END - FROM t1 ----- -60 values hashing to 131d71f5c4130dea41c5210e648c5aab - -query II rowsort x117 -SELECT a+b*2+c*3+d*4, - CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END - FROM t1 - ORDER BY 1,2 ----- -60 values hashing to 131d71f5c4130dea41c5210e648c5aab - -query II rowsort x118 -SELECT a+b*2, - b - FROM t1 ----- -60 values hashing to e8512cacb92561411fed57fc3eb48ebd - -query II rowsort x118 -SELECT a+b*2, - b - FROM t1 - ORDER BY 2,1 ----- -60 values hashing to e8512cacb92561411fed57fc3eb48ebd - -query I rowsort x119 -SELECT (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.db-2 AND at1.c AND x.db-2 AND at1.c AND x.db-2 AND at1.c AND x.db-2 AND ac ----- -26 values hashing to f779b1cf0028b56f46858f31d9448ed0 - -query I rowsort x120 -SELECT d - FROM t1 - WHERE EXISTS(SELECT 1 FROM t1 AS x WHERE x.bc - ORDER BY 1 ----- -26 values hashing to f779b1cf0028b56f46858f31d9448ed0 - -query IIIIIII rowsort x121 -SELECT a+b*2, - d, - abs(b-c), - abs(a), - (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.da AND e=d+2) ----- -77 values hashing to 59e6659e16fd838c46645ad900800f8f - -query IIIIIII rowsort x121 -SELECT a+b*2, - d, - abs(b-c), - abs(a), - (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.da AND e=d+2) - ORDER BY 6,5,4,7,2 ----- -77 values hashing to 59e6659e16fd838c46645ad900800f8f - -query IIIIIII rowsort x122 -SELECT CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - a+b*2+c*3+d*4, - b, - a+b*2, - abs(a), - a, - a+b*2+c*3 - FROM t1 - WHERE (e>c OR e(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - a+b*2+c*3+d*4, - b, - a+b*2, - abs(a), - a, - a+b*2+c*3 - FROM t1 - WHERE (e>c OR e(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - a+b*2+c*3+d*4, - b, - a+b*2, - abs(a), - a, - a+b*2+c*3 - FROM t1 - WHERE e+d BETWEEN a+b-10 AND c+130 - OR (e>c OR e(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - a+b*2+c*3+d*4, - b, - a+b*2, - abs(a), - a, - a+b*2+c*3 - FROM t1 - WHERE e+d BETWEEN a+b-10 AND c+130 - OR (e>c OR eb-2 AND ac ----- -45 values hashing to d50c41e742997d1380d4f4655a0dac15 - -query III rowsort x123 -SELECT c, - a+b*2, - abs(b-c) - FROM t1 - WHERE (a>b-2 AND ac - ORDER BY 1,3,2 ----- -45 values hashing to d50c41e742997d1380d4f4655a0dac15 - -query III rowsort x123 -SELECT c, - a+b*2, - abs(b-c) - FROM t1 - WHERE b>c - OR (a>b-2 AND ac - OR (a>b-2 AND ac OR ea AND ee ----- -44 values hashing to d45a7e6fff4e5feb24199a45099d3eae - -query II rowsort x124 -SELECT b-c, - b - FROM t1 - WHERE (e>c OR ea AND ee - ORDER BY 1,2 ----- -44 values hashing to d45a7e6fff4e5feb24199a45099d3eae - -query II rowsort x124 -SELECT b-c, - b - FROM t1 - WHERE (e>c OR ee - OR (e>a AND ec OR ee - OR (e>a AND ea AND ee - OR (e>c OR ea AND ee - OR (e>c OR ed ----- -65 values hashing to e7e1c21489377c85cf0f1d00fcaad3fa - -query IIIII rowsort x126 -SELECT abs(a), - (SELECT count(*) FROM t1 AS x WHERE x.bd - ORDER BY 3,4,5,2,1 ----- -65 values hashing to e7e1c21489377c85cf0f1d00fcaad3fa - -query I rowsort x127 -SELECT a+b*2+c*3 - FROM t1 - WHERE c BETWEEN b-2 AND d+2 ----- -15 values hashing to 11ccac364a64300285613ac5a623182e - -query I rowsort x127 -SELECT a+b*2+c*3 - FROM t1 - WHERE c BETWEEN b-2 AND d+2 - ORDER BY 1 ----- -15 values hashing to 11ccac364a64300285613ac5a623182e - -query I rowsort x128 -SELECT (a+b+c+d+e)/5 - FROM t1 ----- -30 values hashing to 74b4b1d1e049d57b3610b70a67a1c32f - -query I rowsort x128 -SELECT (a+b+c+d+e)/5 - FROM t1 - ORDER BY 1 ----- -30 values hashing to 74b4b1d1e049d57b3610b70a67a1c32f - -query II rowsort x129 -SELECT a+b*2+c*3+d*4, - abs(a) - FROM t1 - WHERE c BETWEEN b-2 AND d+2 ----- -30 values hashing to a512bc577af89b7ed951794c489cba1a - -query II rowsort x129 -SELECT a+b*2+c*3+d*4, - abs(a) - FROM t1 - WHERE c BETWEEN b-2 AND d+2 - ORDER BY 1,2 ----- -30 values hashing to a512bc577af89b7ed951794c489cba1a - -query II rowsort x130 -SELECT a+b*2+c*3+d*4, - CASE a+1 WHEN b THEN 111 WHEN c THEN 222 - WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END - FROM t1 - WHERE (e>c OR ea AND ec OR ea AND eb-2 AND ab-2 AND ab-2 AND ab-2 AND ae - AND (c<=d-2 OR c>=d+2) ----- -20 values hashing to 6c24959fa9cfa848ca2180d31d069f83 - -query IIII rowsort x132 -SELECT CASE a+1 WHEN b THEN 111 WHEN c THEN 222 - WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, - b, - a-b, - a+b*2+c*3+d*4 - FROM t1 - WHERE d>e - AND (c<=d-2 OR c>=d+2) - ORDER BY 1,4,2 ----- -20 values hashing to 6c24959fa9cfa848ca2180d31d069f83 - -query IIII rowsort x132 -SELECT CASE a+1 WHEN b THEN 111 WHEN c THEN 222 - WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, - b, - a-b, - a+b*2+c*3+d*4 - FROM t1 - WHERE (c<=d-2 OR c>=d+2) - AND d>e ----- -20 values hashing to 6c24959fa9cfa848ca2180d31d069f83 - -query IIII rowsort x132 -SELECT CASE a+1 WHEN b THEN 111 WHEN c THEN 222 - WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, - b, - a-b, - a+b*2+c*3+d*4 - FROM t1 - WHERE (c<=d-2 OR c>=d+2) - AND d>e - ORDER BY 2,1 ----- -20 values hashing to 6c24959fa9cfa848ca2180d31d069f83 - -query IIII rowsort x133 -SELECT CASE a+1 WHEN b THEN 111 WHEN c THEN 222 - WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, - c, - b-c, - d - FROM t1 - WHERE c BETWEEN b-2 AND d+2 - AND b>c - AND e+d BETWEEN a+b-10 AND c+130 ----- - -query IIII rowsort x133 -SELECT CASE a+1 WHEN b THEN 111 WHEN c THEN 222 - WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, - c, - b-c, - d - FROM t1 - WHERE c BETWEEN b-2 AND d+2 - AND b>c - AND e+d BETWEEN a+b-10 AND c+130 - ORDER BY 2,3,4,1 ----- - -query IIII rowsort x133 -SELECT CASE a+1 WHEN b THEN 111 WHEN c THEN 222 - WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, - c, - b-c, - d - FROM t1 - WHERE e+d BETWEEN a+b-10 AND c+130 - AND c BETWEEN b-2 AND d+2 - AND b>c ----- - -query IIII rowsort x133 -SELECT CASE a+1 WHEN b THEN 111 WHEN c THEN 222 - WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, - c, - b-c, - d - FROM t1 - WHERE e+d BETWEEN a+b-10 AND c+130 - AND c BETWEEN b-2 AND d+2 - AND b>c - ORDER BY 2,3 ----- - -query IIII rowsort x133 -SELECT CASE a+1 WHEN b THEN 111 WHEN c THEN 222 - WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, - c, - b-c, - d - FROM t1 - WHERE b>c - AND e+d BETWEEN a+b-10 AND c+130 - AND c BETWEEN b-2 AND d+2 ----- - -query IIII rowsort x133 -SELECT CASE a+1 WHEN b THEN 111 WHEN c THEN 222 - WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, - c, - b-c, - d - FROM t1 - WHERE b>c - AND e+d BETWEEN a+b-10 AND c+130 - AND c BETWEEN b-2 AND d+2 - ORDER BY 2,4,1 ----- - -query III rowsort x134 -SELECT CASE WHEN aa AND ea AND eb ----- -51 values hashing to f14a84ddf75757708d0d8b009027f493 - -query III rowsort x135 -SELECT c-d, - a+b*2+c*3, - d - FROM t1 - WHERE a>b - ORDER BY 3,2 ----- -51 values hashing to f14a84ddf75757708d0d8b009027f493 - -query IIIIIII rowsort x136 -SELECT (a+b+c+d+e)/5, - a+b*2+c*3+d*4+e*5, - abs(a), - b-c, - c, - a-b, - CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END - FROM t1 - WHERE (e>c OR e(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END - FROM t1 - WHERE (e>c OR e=d+2) ----- -20 values hashing to 8d6eac4282d6882511230a20417bf479 - -query II rowsort x137 -SELECT a+b*2+c*3, - a+b*2 - FROM t1 - WHERE (c<=d-2 OR c>=d+2) - ORDER BY 2,1 ----- -20 values hashing to 8d6eac4282d6882511230a20417bf479 - -query IIIIIII rowsort x138 -SELECT a+b*2+c*3+d*4, - a+b*2+c*3, - c, - b, - d-e, - (a+b+c+d+e)/5, - b-c - FROM t1 - WHERE (c<=d-2 OR c>=d+2) ----- -70 values hashing to 03b9c6bc33a4aba7ddad83b45e0f1b1a - -query IIIIIII rowsort x138 -SELECT a+b*2+c*3+d*4, - a+b*2+c*3, - c, - b, - d-e, - (a+b+c+d+e)/5, - b-c - FROM t1 - WHERE (c<=d-2 OR c>=d+2) - ORDER BY 1,2,4,6 ----- -70 values hashing to 03b9c6bc33a4aba7ddad83b45e0f1b1a - -query III rowsort x139 -SELECT (SELECT count(*) FROM t1 AS x WHERE x.bc OR ee ----- -21 values hashing to f0c4dfe1769211bf0c301c9007bc5454 - -query III rowsort x139 -SELECT (SELECT count(*) FROM t1 AS x WHERE x.bc OR ee - ORDER BY 2,3 ----- -21 values hashing to f0c4dfe1769211bf0c301c9007bc5454 - -query III rowsort x139 -SELECT (SELECT count(*) FROM t1 AS x WHERE x.bc OR ee - AND d NOT BETWEEN 110 AND 150 ----- -21 values hashing to f0c4dfe1769211bf0c301c9007bc5454 - -query III rowsort x139 -SELECT (SELECT count(*) FROM t1 AS x WHERE x.bc OR ee - AND d NOT BETWEEN 110 AND 150 - ORDER BY 3,2 ----- -21 values hashing to f0c4dfe1769211bf0c301c9007bc5454 - -query III rowsort x139 -SELECT (SELECT count(*) FROM t1 AS x WHERE x.be - AND d NOT BETWEEN 110 AND 150 - AND (e>c OR ee - AND d NOT BETWEEN 110 AND 150 - AND (e>c OR ee - AND (e>c OR ee - AND (e>c OR et1.c AND x.dt1.c AND x.d(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - e, - a-b, - d, - CASE a+1 WHEN b THEN 111 WHEN c THEN 222 - WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END - FROM t1 - WHERE a>b - AND c BETWEEN b-2 AND d+2 ----- -48 values hashing to 8673acc669acd16171dbeb21976d6d8f - -query IIIIII rowsort x141 -SELECT a+b*2+c*3, - CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - e, - a-b, - d, - CASE a+1 WHEN b THEN 111 WHEN c THEN 222 - WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END - FROM t1 - WHERE a>b - AND c BETWEEN b-2 AND d+2 - ORDER BY 4,6,1,2,5,3 ----- -48 values hashing to 8673acc669acd16171dbeb21976d6d8f - -query IIIIII rowsort x141 -SELECT a+b*2+c*3, - CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - e, - a-b, - d, - CASE a+1 WHEN b THEN 111 WHEN c THEN 222 - WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END - FROM t1 - WHERE c BETWEEN b-2 AND d+2 - AND a>b ----- -48 values hashing to 8673acc669acd16171dbeb21976d6d8f - -query IIIIII rowsort x141 -SELECT a+b*2+c*3, - CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - e, - a-b, - d, - CASE a+1 WHEN b THEN 111 WHEN c THEN 222 - WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END - FROM t1 - WHERE c BETWEEN b-2 AND d+2 - AND a>b - ORDER BY 6,5,2,3 ----- -48 values hashing to 8673acc669acd16171dbeb21976d6d8f - -query IIIIIII rowsort x142 -SELECT b-c, - c-d, - a+b*2+c*3+d*4+e*5, - a, - a+b*2+c*3, - a-b, - a+b*2+c*3+d*4 - FROM t1 - WHERE (e>c OR ec - OR (a>b-2 AND ac OR ec - OR (a>b-2 AND ac - OR (e>c OR eb-2 AND ac - OR (e>c OR eb-2 AND ac - OR (a>b-2 AND ac OR ec - OR (a>b-2 AND ac OR et1.c AND x.db-2 AND at1.c AND x.db-2 AND at1.c AND x.db-2 AND at1.c AND x.db-2 AND ac ----- -15 values hashing to 8b91e8ae95a1c510da23999745a6f6f0 - -query III rowsort x144 -SELECT a+b*2+c*3, - e, - a-b - FROM t1 - WHERE c BETWEEN b-2 AND d+2 - AND b>c - ORDER BY 3,2,1 ----- -15 values hashing to 8b91e8ae95a1c510da23999745a6f6f0 - -query III rowsort x144 -SELECT a+b*2+c*3, - e, - a-b - FROM t1 - WHERE b>c - AND c BETWEEN b-2 AND d+2 ----- -15 values hashing to 8b91e8ae95a1c510da23999745a6f6f0 - -query III rowsort x144 -SELECT a+b*2+c*3, - e, - a-b - FROM t1 - WHERE b>c - AND c BETWEEN b-2 AND d+2 - ORDER BY 1,3 ----- -15 values hashing to 8b91e8ae95a1c510da23999745a6f6f0 - -query IIIII rowsort x145 -SELECT a+b*2+c*3+d*4, - CASE WHEN at1.c AND x.dt1.c AND x.db ----- -17 values hashing to cdbf29686df3708c211f3102ab678908 - -query I rowsort x147 -SELECT c - FROM t1 - WHERE a>b - ORDER BY 1 ----- -17 values hashing to cdbf29686df3708c211f3102ab678908 - -query IIIII rowsort x148 -SELECT a-b, - CASE WHEN aa AND ea AND ea AND ea AND ec OR ec OR ec OR ec OR e(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - d-e, - b-c - FROM t1 ----- -180 values hashing to 1c5b84d965d2d9ba73b93a2dd0b2f2c9 - -query IIIIII rowsort x151 -SELECT CASE WHEN a(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - d-e, - b-c - FROM t1 - ORDER BY 2,1,6,4 ----- -180 values hashing to 1c5b84d965d2d9ba73b93a2dd0b2f2c9 - -query IIII rowsort x152 -SELECT abs(a), - a-b, - c, - abs(b-c) - FROM t1 - WHERE d>e ----- -44 values hashing to a43d58e83bb23ff1ad69780741f5418a - -query IIII rowsort x152 -SELECT abs(a), - a-b, - c, - abs(b-c) - FROM t1 - WHERE d>e - ORDER BY 2,3,4 ----- -44 values hashing to a43d58e83bb23ff1ad69780741f5418a - -query II rowsort x153 -SELECT c, - (SELECT count(*) FROM t1 AS x WHERE x.bc ----- -65 values hashing to 64385d2a13bc167ba111420e6febb518 - -query IIIII rowsort x155 -SELECT b, - (a+b+c+d+e)/5, - a+b*2+c*3+d*4+e*5, - a+b*2+c*3+d*4, - abs(b-c) - FROM t1 - WHERE b>c - ORDER BY 2,3 ----- -65 values hashing to 64385d2a13bc167ba111420e6febb518 - -query I rowsort x156 -SELECT (SELECT count(*) FROM t1 AS x WHERE x.bc ----- -13 values hashing to 0172871a347e8b585d40146ff17403ac - -query I rowsort x156 -SELECT (SELECT count(*) FROM t1 AS x WHERE x.bc - ORDER BY 1 ----- -13 values hashing to 0172871a347e8b585d40146ff17403ac - -query II rowsort x157 -SELECT a+b*2+c*3+d*4, - b - FROM t1 - WHERE e+d BETWEEN a+b-10 AND c+130 ----- -1067 -105 -1272 -129 - -query II rowsort x157 -SELECT a+b*2+c*3+d*4, - b - FROM t1 - WHERE e+d BETWEEN a+b-10 AND c+130 - ORDER BY 2,1 ----- -1067 -105 -1272 -129 - -query III rowsort x158 -SELECT e, - b-c, - (SELECT count(*) FROM t1 AS x WHERE x.b=d+2) ----- -95 values hashing to 093a5214968b2e0db5693baf3ed91467 - -query IIIII rowsort x159 -SELECT a+b*2+c*3+d*4, - d, - b, - a, - a+b*2+c*3+d*4+e*5 - FROM t1 - WHERE d NOT BETWEEN 110 AND 150 - OR (c<=d-2 OR c>=d+2) - ORDER BY 5,3,2,1,4 ----- -95 values hashing to 093a5214968b2e0db5693baf3ed91467 - -query IIIII rowsort x159 -SELECT a+b*2+c*3+d*4, - d, - b, - a, - a+b*2+c*3+d*4+e*5 - FROM t1 - WHERE (c<=d-2 OR c>=d+2) - OR d NOT BETWEEN 110 AND 150 ----- -95 values hashing to 093a5214968b2e0db5693baf3ed91467 - -query IIIII rowsort x159 -SELECT a+b*2+c*3+d*4, - d, - b, - a, - a+b*2+c*3+d*4+e*5 - FROM t1 - WHERE (c<=d-2 OR c>=d+2) - OR d NOT BETWEEN 110 AND 150 - ORDER BY 2,3,5,1 ----- -95 values hashing to 093a5214968b2e0db5693baf3ed91467 - -query I rowsort x160 -SELECT b-c - FROM t1 ----- -30 values hashing to c5a2b847c6c21100b32db39349809b0e - -query I rowsort x160 -SELECT b-c - FROM t1 - ORDER BY 1 ----- -30 values hashing to c5a2b847c6c21100b32db39349809b0e - -query IIIIII rowsort x161 -SELECT (a+b+c+d+e)/5, - b-c, - a+b*2+c*3+d*4+e*5, - a, - CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - a-b - FROM t1 ----- -180 values hashing to 7203b58cd5de45742814c45174042c36 - -query IIIIII rowsort x161 -SELECT (a+b+c+d+e)/5, - b-c, - a+b*2+c*3+d*4+e*5, - a, - CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - a-b - FROM t1 - ORDER BY 5,1 ----- -180 values hashing to 7203b58cd5de45742814c45174042c36 - -query IIIIII rowsort x162 -SELECT c, - CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - CASE a+1 WHEN b THEN 111 WHEN c THEN 222 - WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, - b-c, - d-e, - a+b*2+c*3 - FROM t1 ----- -180 values hashing to f6654e4c0575740d1cc8c217e7653f7b - -query IIIIII rowsort x162 -SELECT c, - CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - CASE a+1 WHEN b THEN 111 WHEN c THEN 222 - WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, - b-c, - d-e, - a+b*2+c*3 - FROM t1 - ORDER BY 3,6,2,1,4,5 ----- -180 values hashing to f6654e4c0575740d1cc8c217e7653f7b - -query III rowsort x163 -SELECT abs(a), - (SELECT count(*) FROM t1 AS x WHERE x.bd ----- -39 values hashing to a245f46b4eb4e5f324e4ff1557631696 - -query III rowsort x163 -SELECT abs(a), - (SELECT count(*) FROM t1 AS x WHERE x.bd - ORDER BY 2,1 ----- -39 values hashing to a245f46b4eb4e5f324e4ff1557631696 - -query IIIIIII rowsort x164 -SELECT c, - abs(b-c), - a+b*2+c*3+d*4, - CASE WHEN ac OR ec OR eb ----- -119 values hashing to d65bf72c8bcb9166838b483257204296 - -query IIIIIII rowsort x165 -SELECT a+b*2, - c-d, - d-e, - abs(a), - a-b, - c, - b - FROM t1 - WHERE a>b - ORDER BY 1,6,2,5,3 ----- -119 values hashing to d65bf72c8bcb9166838b483257204296 - -query IIIIIII rowsort x166 -SELECT abs(b-c), - c, - a+b*2, - (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.dc OR ea AND ed ----- -182 values hashing to 1067074122ea0e1f2c7d65cce15d84a3 - -query IIIIIII rowsort x166 -SELECT abs(b-c), - c, - a+b*2, - (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.dc OR ea AND ed - ORDER BY 2,7,6,5,4,1,3 ----- -182 values hashing to 1067074122ea0e1f2c7d65cce15d84a3 - -query IIIIIII rowsort x166 -SELECT abs(b-c), - c, - a+b*2, - (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.da AND ec OR ed ----- -182 values hashing to 1067074122ea0e1f2c7d65cce15d84a3 - -query IIIIIII rowsort x166 -SELECT abs(b-c), - c, - a+b*2, - (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.da AND ec OR ed - ORDER BY 6,3 ----- -182 values hashing to 1067074122ea0e1f2c7d65cce15d84a3 - -query IIIIII rowsort x167 -SELECT d-e, - e, - a+b*2, - a+b*2+c*3+d*4, - abs(a), - abs(b-c) - FROM t1 - WHERE c>d - OR d NOT BETWEEN 110 AND 150 - OR a>b ----- -168 values hashing to b33485d8023787693e3e116f2f1847a4 - -query IIIIII rowsort x167 -SELECT d-e, - e, - a+b*2, - a+b*2+c*3+d*4, - abs(a), - abs(b-c) - FROM t1 - WHERE c>d - OR d NOT BETWEEN 110 AND 150 - OR a>b - ORDER BY 1,3,6,4,2 ----- -168 values hashing to b33485d8023787693e3e116f2f1847a4 - -query IIIIII rowsort x167 -SELECT d-e, - e, - a+b*2, - a+b*2+c*3+d*4, - abs(a), - abs(b-c) - FROM t1 - WHERE c>d - OR a>b - OR d NOT BETWEEN 110 AND 150 ----- -168 values hashing to b33485d8023787693e3e116f2f1847a4 - -query IIIIII rowsort x167 -SELECT d-e, - e, - a+b*2, - a+b*2+c*3+d*4, - abs(a), - abs(b-c) - FROM t1 - WHERE c>d - OR a>b - OR d NOT BETWEEN 110 AND 150 - ORDER BY 1,5,2 ----- -168 values hashing to b33485d8023787693e3e116f2f1847a4 - -query IIIIII rowsort x167 -SELECT d-e, - e, - a+b*2, - a+b*2+c*3+d*4, - abs(a), - abs(b-c) - FROM t1 - WHERE a>b - OR c>d - OR d NOT BETWEEN 110 AND 150 ----- -168 values hashing to b33485d8023787693e3e116f2f1847a4 - -query IIIIII rowsort x167 -SELECT d-e, - e, - a+b*2, - a+b*2+c*3+d*4, - abs(a), - abs(b-c) - FROM t1 - WHERE a>b - OR c>d - OR d NOT BETWEEN 110 AND 150 - ORDER BY 6,1 ----- -168 values hashing to b33485d8023787693e3e116f2f1847a4 - -query I rowsort x168 -SELECT d-e - FROM t1 - WHERE d>e - OR c BETWEEN b-2 AND d+2 ----- -17 values hashing to 045f09dca5d37db611533eab1971b231 - -query I rowsort x168 -SELECT d-e - FROM t1 - WHERE d>e - OR c BETWEEN b-2 AND d+2 - ORDER BY 1 ----- -17 values hashing to 045f09dca5d37db611533eab1971b231 - -query I rowsort x168 -SELECT d-e - FROM t1 - WHERE c BETWEEN b-2 AND d+2 - OR d>e ----- -17 values hashing to 045f09dca5d37db611533eab1971b231 - -query I rowsort x168 -SELECT d-e - FROM t1 - WHERE c BETWEEN b-2 AND d+2 - OR d>e - ORDER BY 1 ----- -17 values hashing to 045f09dca5d37db611533eab1971b231 - -query III rowsort x169 -SELECT (a+b+c+d+e)/5, - c, - a+b*2+c*3+d*4 - FROM t1 - WHERE (e>a AND ea AND ea AND ee - AND b>c ----- --4 - -query I rowsort x170 -SELECT a-b - FROM t1 - WHERE (e>a AND ee - AND b>c - ORDER BY 1 ----- --4 - -query I rowsort x170 -SELECT a-b - FROM t1 - WHERE (e>a AND ec - AND d>e ----- --4 - -query I rowsort x170 -SELECT a-b - FROM t1 - WHERE (e>a AND ec - AND d>e - ORDER BY 1 ----- --4 - -query I rowsort x170 -SELECT a-b - FROM t1 - WHERE d>e - AND b>c - AND (e>a AND ee - AND b>c - AND (e>a AND ec - AND d>e - AND (e>a AND ec - AND d>e - AND (e>a AND ec OR eb-2 AND ae ----- -15 values hashing to a4e27795a1a90b88b4bee4165129ad4b - -query IIIII rowsort x173 -SELECT abs(b-c), - a+b*2+c*3+d*4+e*5, - CASE a+1 WHEN b THEN 111 WHEN c THEN 222 - WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, - d, - d-e - FROM t1 - WHERE (e>c OR eb-2 AND ae - ORDER BY 2,4,5 ----- -15 values hashing to a4e27795a1a90b88b4bee4165129ad4b - -query IIIII rowsort x173 -SELECT abs(b-c), - a+b*2+c*3+d*4+e*5, - CASE a+1 WHEN b THEN 111 WHEN c THEN 222 - WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, - d, - d-e - FROM t1 - WHERE d>e - AND (e>c OR eb-2 AND ae - AND (e>c OR eb-2 AND ab-2 AND ac OR ee ----- -15 values hashing to a4e27795a1a90b88b4bee4165129ad4b - -query IIIII rowsort x173 -SELECT abs(b-c), - a+b*2+c*3+d*4+e*5, - CASE a+1 WHEN b THEN 111 WHEN c THEN 222 - WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, - d, - d-e - FROM t1 - WHERE (a>b-2 AND ac OR ee - ORDER BY 2,4,3,5,1 ----- -15 values hashing to a4e27795a1a90b88b4bee4165129ad4b - -query III rowsort x174 -SELECT a+b*2+c*3, - a+b*2+c*3+d*4+e*5, - c-d - FROM t1 - WHERE (a>b-2 AND ab-2 AND at1.c AND x.dt1.c AND x.dt1.c AND x.db - AND (a>b-2 AND at1.c AND x.db - AND (a>b-2 AND at1.c AND x.db - AND (a>b-2 AND at1.c AND x.db - AND (a>b-2 AND at1.c AND x.db-2 AND ab ----- --3 -180 -0 --4 -132 -0 - -query III rowsort x176 -SELECT b-c, - e, - (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.db-2 AND ab - ORDER BY 2,3 ----- --3 -180 -0 --4 -132 -0 - -query III rowsort x176 -SELECT b-c, - e, - (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.db-2 AND ab - AND c BETWEEN b-2 AND d+2 ----- --3 -180 -0 --4 -132 -0 - -query III rowsort x176 -SELECT b-c, - e, - (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.db-2 AND ab - AND c BETWEEN b-2 AND d+2 - ORDER BY 2,1,3 ----- --3 -180 -0 --4 -132 -0 - -query IIIII rowsort x177 -SELECT c-d, - abs(b-c), - a+b*2+c*3+d*4, - a+b*2+c*3, - d-e - FROM t1 - WHERE c BETWEEN b-2 AND d+2 ----- -75 values hashing to 1ad85c88d1fdbc2acc6b8554c4efc1b9 - -query IIIII rowsort x177 -SELECT c-d, - abs(b-c), - a+b*2+c*3+d*4, - a+b*2+c*3, - d-e - FROM t1 - WHERE c BETWEEN b-2 AND d+2 - ORDER BY 3,1,4,2,5 ----- -75 values hashing to 1ad85c88d1fdbc2acc6b8554c4efc1b9 - -query II rowsort x178 -SELECT CASE a+1 WHEN b THEN 111 WHEN c THEN 222 - WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, - a+b*2+c*3 - FROM t1 - WHERE d NOT BETWEEN 110 AND 150 - OR EXISTS(SELECT 1 FROM t1 AS x WHERE x.bc OR ec OR e(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - (SELECT count(*) FROM t1 AS x WHERE x.bt1.c AND x.dd - AND b>c - AND (e>c OR e(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - (SELECT count(*) FROM t1 AS x WHERE x.bt1.c AND x.dd - AND b>c - AND (e>c OR e(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - (SELECT count(*) FROM t1 AS x WHERE x.bt1.c AND x.dd - AND (e>c OR ec ----- -1390 -5 -0 -136 -1430 -6 -0 -140 - -query IIII rowsort x180 -SELECT CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - (SELECT count(*) FROM t1 AS x WHERE x.bt1.c AND x.dd - AND (e>c OR ec - ORDER BY 1,2 ----- -1390 -5 -0 -136 -1430 -6 -0 -140 - -query IIII rowsort x180 -SELECT CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - (SELECT count(*) FROM t1 AS x WHERE x.bt1.c AND x.dc OR ed - AND b>c ----- -1390 -5 -0 -136 -1430 -6 -0 -140 - -query IIII rowsort x180 -SELECT CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - (SELECT count(*) FROM t1 AS x WHERE x.bt1.c AND x.dc OR ed - AND b>c - ORDER BY 1,3,2,4 ----- -1390 -5 -0 -136 -1430 -6 -0 -140 - -query IIII rowsort x180 -SELECT CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - (SELECT count(*) FROM t1 AS x WHERE x.bt1.c AND x.dc OR ec - AND c>d ----- -1390 -5 -0 -136 -1430 -6 -0 -140 - -query IIII rowsort x180 -SELECT CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - (SELECT count(*) FROM t1 AS x WHERE x.bt1.c AND x.dc OR ec - AND c>d - ORDER BY 2,3,1,4 ----- -1390 -5 -0 -136 -1430 -6 -0 -140 - -query III rowsort x181 -SELECT a+b*2+c*3+d*4+e*5, - b, - e - FROM t1 - WHERE d>e - OR e+d BETWEEN a+b-10 AND c+130 ----- -36 values hashing to 04fbc8747ced76bd5e39372d36c6cd56 - -query III rowsort x181 -SELECT a+b*2+c*3+d*4+e*5, - b, - e - FROM t1 - WHERE d>e - OR e+d BETWEEN a+b-10 AND c+130 - ORDER BY 1,2 ----- -36 values hashing to 04fbc8747ced76bd5e39372d36c6cd56 - -query III rowsort x181 -SELECT a+b*2+c*3+d*4+e*5, - b, - e - FROM t1 - WHERE e+d BETWEEN a+b-10 AND c+130 - OR d>e ----- -36 values hashing to 04fbc8747ced76bd5e39372d36c6cd56 - -query III rowsort x181 -SELECT a+b*2+c*3+d*4+e*5, - b, - e - FROM t1 - WHERE e+d BETWEEN a+b-10 AND c+130 - OR d>e - ORDER BY 1,2,3 ----- -36 values hashing to 04fbc8747ced76bd5e39372d36c6cd56 - -query IIIII rowsort x182 -SELECT abs(a), - c, - c-d, - a-b, - abs(b-c) - FROM t1 ----- -150 values hashing to c7973f84ec584b5205e6e5bde1b29849 - -query IIIII rowsort x182 -SELECT abs(a), - c, - c-d, - a-b, - abs(b-c) - FROM t1 - ORDER BY 3,2,4 ----- -150 values hashing to c7973f84ec584b5205e6e5bde1b29849 - -query IIII rowsort x183 -SELECT a+b*2+c*3, - e, - a+b*2, - b-c - FROM t1 ----- -120 values hashing to f21f802495ad9e86d9467f0a8a89233a - -query IIII rowsort x183 -SELECT a+b*2+c*3, - e, - a+b*2, - b-c - FROM t1 - ORDER BY 2,4,3 ----- -120 values hashing to f21f802495ad9e86d9467f0a8a89233a - -query IIII rowsort x184 -SELECT CASE a+1 WHEN b THEN 111 WHEN c THEN 222 - WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, - CASE WHEN at1.c AND x.da AND ed ----- -56 values hashing to eb34893f0f45a3fe06872613f6814573 - -query IIII rowsort x184 -SELECT CASE a+1 WHEN b THEN 111 WHEN c THEN 222 - WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, - CASE WHEN at1.c AND x.da AND ed - ORDER BY 3,1,2,4 ----- -56 values hashing to eb34893f0f45a3fe06872613f6814573 - -query IIII rowsort x184 -SELECT CASE a+1 WHEN b THEN 111 WHEN c THEN 222 - WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, - CASE WHEN at1.c AND x.dd - OR (e>a AND et1.c AND x.dd - OR (e>a AND et1.c AND x.dt1.c AND x.d(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - a+b*2, - e, - abs(b-c), - c, - a-b - FROM t1 - WHERE c BETWEEN b-2 AND d+2 - AND c>d ----- -70 values hashing to 1c2143bbb23c135b0863948fe892809c - -query IIIIIII rowsort x187 -SELECT (a+b+c+d+e)/5, - CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - a+b*2, - e, - abs(b-c), - c, - a-b - FROM t1 - WHERE c BETWEEN b-2 AND d+2 - AND c>d - ORDER BY 7,5 ----- -70 values hashing to 1c2143bbb23c135b0863948fe892809c - -query IIIIIII rowsort x187 -SELECT (a+b+c+d+e)/5, - CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - a+b*2, - e, - abs(b-c), - c, - a-b - FROM t1 - WHERE c>d - AND c BETWEEN b-2 AND d+2 ----- -70 values hashing to 1c2143bbb23c135b0863948fe892809c - -query IIIIIII rowsort x187 -SELECT (a+b+c+d+e)/5, - CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - a+b*2, - e, - abs(b-c), - c, - a-b - FROM t1 - WHERE c>d - AND c BETWEEN b-2 AND d+2 - ORDER BY 4,6,2,7 ----- -70 values hashing to 1c2143bbb23c135b0863948fe892809c - -query IIIIIII rowsort x188 -SELECT b, - b-c, - e, - c, - CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - a+b*2+c*3, - a+b*2+c*3+d*4+e*5 - FROM t1 - WHERE c>d ----- -91 values hashing to f3fb9861505a2282b1406a8e7b28909c - -query IIIIIII rowsort x188 -SELECT b, - b-c, - e, - c, - CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - a+b*2+c*3, - a+b*2+c*3+d*4+e*5 - FROM t1 - WHERE c>d - ORDER BY 6,1,5 ----- -91 values hashing to f3fb9861505a2282b1406a8e7b28909c - -query IIIIIII rowsort x189 -SELECT (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.dd - AND (a>b-2 AND at1.c AND x.dd - AND (a>b-2 AND at1.c AND x.dc OR et1.c AND x.dc OR et1.c AND x.dc OR et1.c AND x.dc OR eb-2 AND ab-2 AND ab-2 AND ab-2 AND ab-2 AND ab-2 AND aa AND ea AND ea AND ea AND e(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - d, - (SELECT count(*) FROM t1 AS x WHERE x.b(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - d, - (SELECT count(*) FROM t1 AS x WHERE x.bb-2 AND ac - OR a>b ----- -144 values hashing to b0cf50305beafb1e2ef15470d870665d - -query IIIIII rowsort x196 -SELECT CASE WHEN ab-2 AND ac - OR a>b - ORDER BY 4,2,1,3,5 ----- -144 values hashing to b0cf50305beafb1e2ef15470d870665d - -query IIIIII rowsort x196 -SELECT CASE WHEN ab - OR (a>b-2 AND ac ----- -144 values hashing to b0cf50305beafb1e2ef15470d870665d - -query IIIIII rowsort x196 -SELECT CASE WHEN ab - OR (a>b-2 AND ac - ORDER BY 4,1,5,6,2,3 ----- -144 values hashing to b0cf50305beafb1e2ef15470d870665d - -query IIIIII rowsort x196 -SELECT CASE WHEN ac - OR a>b - OR (a>b-2 AND ac - OR a>b - OR (a>b-2 AND a(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - b, - abs(a) - FROM t1 - WHERE (e>a AND e(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - b, - abs(a) - FROM t1 - WHERE (e>a AND et1.c AND x.dc OR et1.c AND x.dc OR et1.c AND x.dc OR et1.c AND x.dc OR et1.c AND x.dc OR et1.c AND x.dc OR et1.c AND x.dc OR et1.c AND x.dc OR ee - AND (e>a AND ee - AND (e>a AND ea AND ee ----- -1338 -444 -220 -1484 -444 -245 - -query III rowsort x199 -SELECT a+b*2+c*3, - CASE a+1 WHEN b THEN 111 WHEN c THEN 222 - WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, - a - FROM t1 - WHERE (e>a AND ee - ORDER BY 3,1 ----- -1338 -444 -220 -1484 -444 -245 - -query IIIII rowsort x200 -SELECT (SELECT count(*) FROM t1 AS x WHERE x.bt1.c AND x.dc OR et1.c AND x.dc OR et1.c AND x.dc OR et1.c AND x.dc OR ed ----- -26 values hashing to d9568f9745f48f39ac8f2365d73421e8 - -query II rowsort x201 -SELECT c, - CASE WHEN ad - ORDER BY 1,2 ----- -26 values hashing to d9568f9745f48f39ac8f2365d73421e8 - -query III rowsort x202 -SELECT a, - a+b*2+c*3, - (SELECT count(*) FROM t1 AS x WHERE x.bb ----- -51 values hashing to e11ff5467dcf535c8d18a66d2118b20f - -query III rowsort x202 -SELECT a, - a+b*2+c*3, - (SELECT count(*) FROM t1 AS x WHERE x.bb - ORDER BY 1,2,3 ----- -51 values hashing to e11ff5467dcf535c8d18a66d2118b20f - -query IIIIIII rowsort x203 -SELECT a+b*2+c*3+d*4+e*5, - a, - abs(b-c), - c, - b, - CASE a+1 WHEN b THEN 111 WHEN c THEN 222 - WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, - (a+b+c+d+e)/5 - FROM t1 ----- -210 values hashing to 68f3c01251d7d0155ebc39d74552c468 - -query IIIIIII rowsort x203 -SELECT a+b*2+c*3+d*4+e*5, - a, - abs(b-c), - c, - b, - CASE a+1 WHEN b THEN 111 WHEN c THEN 222 - WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, - (a+b+c+d+e)/5 - FROM t1 - ORDER BY 3,6,4,7,1 ----- -210 values hashing to 68f3c01251d7d0155ebc39d74552c468 - -query IIIII rowsort x204 -SELECT c-d, - CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - a-b, - c, - (a+b+c+d+e)/5 - FROM t1 - WHERE EXISTS(SELECT 1 FROM t1 AS x WHERE x.b(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - a-b, - c, - (a+b+c+d+e)/5 - FROM t1 - WHERE EXISTS(SELECT 1 FROM t1 AS x WHERE x.b(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - c-d - FROM t1 ----- -90 values hashing to 8b14a16082dc488eda882a71c9d2446a - -query III rowsort x206 -SELECT CASE WHEN a(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - c-d - FROM t1 - ORDER BY 3,1 ----- -90 values hashing to 8b14a16082dc488eda882a71c9d2446a - -query IIIIIII rowsort x207 -SELECT d, - a+b*2+c*3+d*4+e*5, - CASE WHEN ad - OR c BETWEEN b-2 AND d+2 ----- -126 values hashing to 64d37da8e34e3aa76ea008b07eea3b9e - -query IIIIIII rowsort x207 -SELECT d, - a+b*2+c*3+d*4+e*5, - CASE WHEN ad - OR c BETWEEN b-2 AND d+2 - ORDER BY 5,7 ----- -126 values hashing to 64d37da8e34e3aa76ea008b07eea3b9e - -query III rowsort x208 -SELECT (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.dt1.c AND x.da AND ea AND et1.c AND x.dt1.c AND x.dt1.c AND x.dt1.c AND x.dt1.c AND x.dd - OR (e>c OR et1.c AND x.dd - OR (e>c OR et1.c AND x.dc OR ed ----- -156 values hashing to 206d0bc80a26b970f06e318d7e9bd644 - -query IIIIII rowsort x214 -SELECT c, - a, - (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.dc OR ed - ORDER BY 5,3,6,1 ----- -156 values hashing to 206d0bc80a26b970f06e318d7e9bd644 - -query I rowsort x215 -SELECT d-e - FROM t1 - WHERE b>c - OR (c<=d-2 OR c>=d+2) ----- -19 values hashing to 7b54a5de170e892819f38d8939bfcdec - -query I rowsort x215 -SELECT d-e - FROM t1 - WHERE b>c - OR (c<=d-2 OR c>=d+2) - ORDER BY 1 ----- -19 values hashing to 7b54a5de170e892819f38d8939bfcdec - -query I rowsort x215 -SELECT d-e - FROM t1 - WHERE (c<=d-2 OR c>=d+2) - OR b>c ----- -19 values hashing to 7b54a5de170e892819f38d8939bfcdec - -query I rowsort x215 -SELECT d-e - FROM t1 - WHERE (c<=d-2 OR c>=d+2) - OR b>c - ORDER BY 1 ----- -19 values hashing to 7b54a5de170e892819f38d8939bfcdec - -query IIIIII rowsort x216 -SELECT c-d, - abs(a), - b-c, - b, - a+b*2+c*3+d*4, - c - FROM t1 - WHERE EXISTS(SELECT 1 FROM t1 AS x WHERE x.be - AND (c<=d-2 OR c>=d+2) ----- -30 values hashing to ed58ee197e5adb321f7c6370392528e1 - -query IIIIII rowsort x216 -SELECT c-d, - abs(a), - b-c, - b, - a+b*2+c*3+d*4, - c - FROM t1 - WHERE EXISTS(SELECT 1 FROM t1 AS x WHERE x.be - AND (c<=d-2 OR c>=d+2) - ORDER BY 4,3,6,5,2,1 ----- -30 values hashing to ed58ee197e5adb321f7c6370392528e1 - -query IIIIII rowsort x216 -SELECT c-d, - abs(a), - b-c, - b, - a+b*2+c*3+d*4, - c - FROM t1 - WHERE (c<=d-2 OR c>=d+2) - AND EXISTS(SELECT 1 FROM t1 AS x WHERE x.be ----- -30 values hashing to ed58ee197e5adb321f7c6370392528e1 - -query IIIIII rowsort x216 -SELECT c-d, - abs(a), - b-c, - b, - a+b*2+c*3+d*4, - c - FROM t1 - WHERE (c<=d-2 OR c>=d+2) - AND EXISTS(SELECT 1 FROM t1 AS x WHERE x.be - ORDER BY 3,4,5 ----- -30 values hashing to ed58ee197e5adb321f7c6370392528e1 - -query IIIIII rowsort x216 -SELECT c-d, - abs(a), - b-c, - b, - a+b*2+c*3+d*4, - c - FROM t1 - WHERE d>e - AND (c<=d-2 OR c>=d+2) - AND EXISTS(SELECT 1 FROM t1 AS x WHERE x.be - AND (c<=d-2 OR c>=d+2) - AND EXISTS(SELECT 1 FROM t1 AS x WHERE x.bt1.c AND x.d=d+2) ----- -50 values hashing to bb84b24e592ceb4ae7edb4cfd9c05746 - -query IIIII rowsort x217 -SELECT abs(b-c), - d, - c-d, - (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.d=d+2) - ORDER BY 2,5,1,4,3 ----- -50 values hashing to bb84b24e592ceb4ae7edb4cfd9c05746 - -query IIIIIII rowsort x218 -SELECT c-d, - a+b*2+c*3+d*4+e*5, - c, - abs(b-c), - e, - d, - d-e - FROM t1 - WHERE EXISTS(SELECT 1 FROM t1 AS x WHERE x.bd ----- -196 values hashing to e48e30f893e08742181bb5a88cbe9a37 - -query IIIIIII rowsort x218 -SELECT c-d, - a+b*2+c*3+d*4+e*5, - c, - abs(b-c), - e, - d, - d-e - FROM t1 - WHERE EXISTS(SELECT 1 FROM t1 AS x WHERE x.bd - ORDER BY 3,4,5,2 ----- -196 values hashing to e48e30f893e08742181bb5a88cbe9a37 - -query IIIIII rowsort x219 -SELECT (a+b+c+d+e)/5, - d-e, - a-b, - abs(a), - b, - b-c - FROM t1 - WHERE c BETWEEN b-2 AND d+2 ----- -90 values hashing to afa30011e6f2bf13350422b6fbcd727d - -query IIIIII rowsort x219 -SELECT (a+b+c+d+e)/5, - d-e, - a-b, - abs(a), - b, - b-c - FROM t1 - WHERE c BETWEEN b-2 AND d+2 - ORDER BY 4,6,1,5,2 ----- -90 values hashing to afa30011e6f2bf13350422b6fbcd727d - -query I rowsort x220 -SELECT (a+b+c+d+e)/5 - FROM t1 ----- -30 values hashing to 74b4b1d1e049d57b3610b70a67a1c32f - -query I rowsort x220 -SELECT (a+b+c+d+e)/5 - FROM t1 - ORDER BY 1 ----- -30 values hashing to 74b4b1d1e049d57b3610b70a67a1c32f - -query IIIIII rowsort x221 -SELECT d, - c-d, - c, - (SELECT count(*) FROM t1 AS x WHERE x.b(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - a-b - FROM t1 ----- -180 values hashing to 3c2b8c60f9c069d2fec20be5436bcaef - -query IIIIII rowsort x221 -SELECT d, - c-d, - c, - (SELECT count(*) FROM t1 AS x WHERE x.b(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - a-b - FROM t1 - ORDER BY 2,5,3,1,4 ----- -180 values hashing to 3c2b8c60f9c069d2fec20be5436bcaef - -query II rowsort x222 -SELECT abs(a), - abs(b-c) - FROM t1 - WHERE (a>b-2 AND ac ----- -30 values hashing to 22e9f0aee0362e751bbd3b8ee9e4132b - -query II rowsort x222 -SELECT abs(a), - abs(b-c) - FROM t1 - WHERE (a>b-2 AND ac - ORDER BY 2,1 ----- -30 values hashing to 22e9f0aee0362e751bbd3b8ee9e4132b - -query II rowsort x222 -SELECT abs(a), - abs(b-c) - FROM t1 - WHERE b>c - OR (a>b-2 AND ac - OR (a>b-2 AND at1.c AND x.d=d+2) ----- -50 values hashing to 6f2760ad04a095b47a38304a0ce7cdad - -query IIIII rowsort x223 -SELECT e, - c, - abs(b-c), - (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.d=d+2) - ORDER BY 3,1 ----- -50 values hashing to 6f2760ad04a095b47a38304a0ce7cdad - -query III rowsort x224 -SELECT c, - a+b*2, - CASE WHEN a=d+2) ----- -30 values hashing to 9dd3f8305d9a0c3356085f5f4b3dce73 - -query III rowsort x224 -SELECT c, - a+b*2, - CASE WHEN a=d+2) - ORDER BY 3,2 ----- -30 values hashing to 9dd3f8305d9a0c3356085f5f4b3dce73 - -query IIII rowsort x225 -SELECT c-d, - d-e, - (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.dd ----- -52 values hashing to bb512ea3d271ac62b90c40752e35f14b - -query IIII rowsort x225 -SELECT c-d, - d-e, - (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.dd - ORDER BY 3,1,2 ----- -52 values hashing to bb512ea3d271ac62b90c40752e35f14b - -query IIIIIII rowsort x226 -SELECT b, - CASE a+1 WHEN b THEN 111 WHEN c THEN 222 - WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, - b-c, - CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - a, - abs(a), - d-e - FROM t1 ----- -210 values hashing to b5cbf607833bf9a5fdc632fb91e9ff71 - -query IIIIIII rowsort x226 -SELECT b, - CASE a+1 WHEN b THEN 111 WHEN c THEN 222 - WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, - b-c, - CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - a, - abs(a), - d-e - FROM t1 - ORDER BY 5,4,2,7,3 ----- -210 values hashing to b5cbf607833bf9a5fdc632fb91e9ff71 - -query I rowsort x227 -SELECT a - FROM t1 - WHERE (c<=d-2 OR c>=d+2) ----- -10 values hashing to 7e883b178d4e5791c14e6a7e2bac0d0d - -query I rowsort x227 -SELECT a - FROM t1 - WHERE (c<=d-2 OR c>=d+2) - ORDER BY 1 ----- -10 values hashing to 7e883b178d4e5791c14e6a7e2bac0d0d - -query II rowsort x228 -SELECT abs(b-c), - b - FROM t1 - WHERE c BETWEEN b-2 AND d+2 - OR (a>b-2 AND ab-2 AND ab-2 AND ab-2 AND ab-2 AND ab-2 AND ab-2 AND ab-2 AND at1.c AND x.da AND et1.c AND x.da AND et1.c AND x.da AND et1.c AND x.da AND et1.c AND x.da AND et1.c AND x.da AND ec OR ec OR ec ----- -39 values hashing to c87739d1c8a83e2c24c60f3aa8b27352 - -query III rowsort x231 -SELECT d, - CASE a+1 WHEN b THEN 111 WHEN c THEN 222 - WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, - d-e - FROM t1 - WHERE b>c - ORDER BY 3,2 ----- -39 values hashing to c87739d1c8a83e2c24c60f3aa8b27352 - -query IIIII rowsort x232 -SELECT e, - CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.d=d+2) - AND c>d ----- -25 values hashing to f97cdad01f826c602da43c95709d7b37 - -query IIIII rowsort x232 -SELECT e, - CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.d=d+2) - AND c>d - ORDER BY 4,1,3,2,5 ----- -25 values hashing to f97cdad01f826c602da43c95709d7b37 - -query IIIIIII rowsort x233 -SELECT a, - d-e, - c-d, - (SELECT count(*) FROM t1 AS x WHERE x.bb-2 AND ab-2 AND a(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - d, - (SELECT count(*) FROM t1 AS x WHERE x.b(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - d, - (SELECT count(*) FROM t1 AS x WHERE x.bd ----- - -query II rowsort x235 -SELECT b, - a+b*2 - FROM t1 - WHERE e+d BETWEEN a+b-10 AND c+130 - AND c>d - ORDER BY 1,2 ----- - -query II rowsort x235 -SELECT b, - a+b*2 - FROM t1 - WHERE c>d - AND e+d BETWEEN a+b-10 AND c+130 ----- - -query II rowsort x235 -SELECT b, - a+b*2 - FROM t1 - WHERE c>d - AND e+d BETWEEN a+b-10 AND c+130 - ORDER BY 2,1 ----- - -query IIII rowsort x236 -SELECT a+b*2+c*3, - a+b*2+c*3+d*4+e*5, - a+b*2+c*3+d*4, - CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END - FROM t1 - WHERE c BETWEEN b-2 AND d+2 ----- -60 values hashing to d644984b6f9054a9563f45bc047ccb8e - -query IIII rowsort x236 -SELECT a+b*2+c*3, - a+b*2+c*3+d*4+e*5, - a+b*2+c*3+d*4, - CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END - FROM t1 - WHERE c BETWEEN b-2 AND d+2 - ORDER BY 3,1,4,2 ----- -60 values hashing to d644984b6f9054a9563f45bc047ccb8e - -query IIIIII rowsort x237 -SELECT b-c, - a+b*2+c*3+d*4, - (a+b+c+d+e)/5, - CASE a+1 WHEN b THEN 111 WHEN c THEN 222 - WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, - (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.de - AND EXISTS(SELECT 1 FROM t1 AS x WHERE x.bt1.c AND x.de - AND EXISTS(SELECT 1 FROM t1 AS x WHERE x.bt1.c AND x.de - AND d NOT BETWEEN 110 AND 150 ----- -42 values hashing to 330177bd106f9db2a147541d0a83c95d - -query IIIIII rowsort x237 -SELECT b-c, - a+b*2+c*3+d*4, - (a+b+c+d+e)/5, - CASE a+1 WHEN b THEN 111 WHEN c THEN 222 - WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, - (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.de - AND d NOT BETWEEN 110 AND 150 - ORDER BY 6,4,1 ----- -42 values hashing to 330177bd106f9db2a147541d0a83c95d - -query II rowsort x238 -SELECT a, - b - FROM t1 - WHERE EXISTS(SELECT 1 FROM t1 AS x WHERE x.bb ----- -54 values hashing to a09cfc6ea15c7f2923bb3bf3c08114d5 - -query II rowsort x238 -SELECT a, - b - FROM t1 - WHERE EXISTS(SELECT 1 FROM t1 AS x WHERE x.bb - ORDER BY 2,1 ----- -54 values hashing to a09cfc6ea15c7f2923bb3bf3c08114d5 - -query II rowsort x238 -SELECT a, - b - FROM t1 - WHERE a>b - OR EXISTS(SELECT 1 FROM t1 AS x WHERE x.bb - OR EXISTS(SELECT 1 FROM t1 AS x WHERE x.ba AND ea AND ea AND ea AND e(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - a+b*2+c*3 - FROM t1 - WHERE (c<=d-2 OR c>=d+2) - AND EXISTS(SELECT 1 FROM t1 AS x WHERE x.b(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - a+b*2+c*3 - FROM t1 - WHERE (c<=d-2 OR c>=d+2) - AND EXISTS(SELECT 1 FROM t1 AS x WHERE x.b(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - a+b*2+c*3 - FROM t1 - WHERE EXISTS(SELECT 1 FROM t1 AS x WHERE x.b=d+2) ----- -16 values hashing to cd57c9637cf1dd8a14c62b351d7876c7 - -query II rowsort x240 -SELECT CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - a+b*2+c*3 - FROM t1 - WHERE EXISTS(SELECT 1 FROM t1 AS x WHERE x.b=d+2) - ORDER BY 2,1 ----- -16 values hashing to cd57c9637cf1dd8a14c62b351d7876c7 - -query III rowsort x241 -SELECT b, - (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.db - AND d>e - AND c BETWEEN b-2 AND d+2 ----- -15 values hashing to 549ef6c7a2e8518af80a4c5c167ccb57 - -query III rowsort x241 -SELECT b, - (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.db - AND d>e - AND c BETWEEN b-2 AND d+2 - ORDER BY 2,1,3 ----- -15 values hashing to 549ef6c7a2e8518af80a4c5c167ccb57 - -query III rowsort x241 -SELECT b, - (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.de - AND c BETWEEN b-2 AND d+2 - AND a>b ----- -15 values hashing to 549ef6c7a2e8518af80a4c5c167ccb57 - -query III rowsort x241 -SELECT b, - (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.de - AND c BETWEEN b-2 AND d+2 - AND a>b - ORDER BY 2,3,1 ----- -15 values hashing to 549ef6c7a2e8518af80a4c5c167ccb57 - -query III rowsort x241 -SELECT b, - (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.de - AND a>b - AND c BETWEEN b-2 AND d+2 ----- -15 values hashing to 549ef6c7a2e8518af80a4c5c167ccb57 - -query III rowsort x241 -SELECT b, - (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.de - AND a>b - AND c BETWEEN b-2 AND d+2 - ORDER BY 3,2 ----- -15 values hashing to 549ef6c7a2e8518af80a4c5c167ccb57 - -query I rowsort x242 -SELECT CASE WHEN aa AND e=d+2) - AND c BETWEEN b-2 AND d+2 ----- -222 - -query I rowsort x242 -SELECT CASE WHEN aa AND e=d+2) - AND c BETWEEN b-2 AND d+2 - ORDER BY 1 ----- -222 - -query I rowsort x242 -SELECT CASE WHEN aa AND e=d+2) ----- -222 - -query I rowsort x242 -SELECT CASE WHEN aa AND e=d+2) - ORDER BY 1 ----- -222 - -query IIII rowsort x243 -SELECT CASE WHEN ab-2 AND ab-2 AND at1.c AND x.da AND et1.c AND x.da AND ee ----- -77 values hashing to 0d8574644a00abf2c52da416b02ea014 - -query IIIIIII rowsort x245 -SELECT abs(a), - c, - a+b*2+c*3, - d, - a+b*2+c*3+d*4+e*5, - a+b*2+c*3+d*4, - CASE a+1 WHEN b THEN 111 WHEN c THEN 222 - WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END - FROM t1 - WHERE d>e - ORDER BY 6,2,7,3,5,1 ----- -77 values hashing to 0d8574644a00abf2c52da416b02ea014 - -query I rowsort x246 -SELECT c-d - FROM t1 ----- -30 values hashing to 5597b8fa34613aadc270053ea54637e5 - -query I rowsort x246 -SELECT c-d - FROM t1 - ORDER BY 1 ----- -30 values hashing to 5597b8fa34613aadc270053ea54637e5 - -query IIII rowsort x247 -SELECT (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.dt1.c AND x.d(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - b-c - FROM t1 - WHERE (c<=d-2 OR c>=d+2) - AND c>d ----- -10 values hashing to 993ada4aa33fed5a3c3cc14c7f0355a2 - -query II rowsort x248 -SELECT CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - b-c - FROM t1 - WHERE (c<=d-2 OR c>=d+2) - AND c>d - ORDER BY 1,2 ----- -10 values hashing to 993ada4aa33fed5a3c3cc14c7f0355a2 - -query II rowsort x248 -SELECT CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - b-c - FROM t1 - WHERE c>d - AND (c<=d-2 OR c>=d+2) ----- -10 values hashing to 993ada4aa33fed5a3c3cc14c7f0355a2 - -query II rowsort x248 -SELECT CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - b-c - FROM t1 - WHERE c>d - AND (c<=d-2 OR c>=d+2) - ORDER BY 2,1 ----- -10 values hashing to 993ada4aa33fed5a3c3cc14c7f0355a2 - -query III rowsort x249 -SELECT CASE WHEN ac OR ec - AND d NOT BETWEEN 110 AND 150 ----- -15 values hashing to efd797723366531db1bebf903a6d7592 - -query III rowsort x249 -SELECT CASE WHEN ac OR ec - AND d NOT BETWEEN 110 AND 150 - ORDER BY 1,2 ----- -15 values hashing to efd797723366531db1bebf903a6d7592 - -query III rowsort x249 -SELECT CASE WHEN ac OR ec ----- -15 values hashing to efd797723366531db1bebf903a6d7592 - -query III rowsort x249 -SELECT CASE WHEN ac OR ec - ORDER BY 2,1,3 ----- -15 values hashing to efd797723366531db1bebf903a6d7592 - -query III rowsort x249 -SELECT CASE WHEN ac - AND (e>c OR ec - AND (e>c OR ea AND eb-2 AND aa AND eb-2 AND ab-2 AND aa AND eb-2 AND aa AND eb-2 AND aa AND eb-2 AND aa AND ec ----- -78 values hashing to 029db106a359201924a20c5e7ff377e2 - -query IIIIII rowsort x251 -SELECT a+b*2+c*3, - a+b*2+c*3+d*4+e*5, - a, - CASE a+1 WHEN b THEN 111 WHEN c THEN 222 - WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, - d, - c-d - FROM t1 - WHERE b>c - ORDER BY 1,3,5,6,4 ----- -78 values hashing to 029db106a359201924a20c5e7ff377e2 - -query IIIIII rowsort x252 -SELECT CASE WHEN aa AND eb - AND d>e ----- - -query IIIIII rowsort x252 -SELECT CASE WHEN aa AND eb - AND d>e - ORDER BY 6,3 ----- - -query IIIIII rowsort x252 -SELECT CASE WHEN ab - AND d>e - AND (e>a AND eb - AND d>e - AND (e>a AND ea AND ec ----- -16 -2878 -193 -579 -26 -3706 -247 -743 - -query IIII rowsort x253 -SELECT (SELECT count(*) FROM t1 AS x WHERE x.ba AND ec - ORDER BY 2,4 ----- -16 -2878 -193 -579 -26 -3706 -247 -743 - -query IIIII rowsort x254 -SELECT abs(a), - a+b*2+c*3, - a+b*2, - e, - b - FROM t1 - WHERE (c<=d-2 OR c>=d+2) - AND d NOT BETWEEN 110 AND 150 ----- -40 values hashing to e5463f71a41e13dccc88ded91f689791 - -query IIIII rowsort x254 -SELECT abs(a), - a+b*2+c*3, - a+b*2, - e, - b - FROM t1 - WHERE (c<=d-2 OR c>=d+2) - AND d NOT BETWEEN 110 AND 150 - ORDER BY 5,4,1,2,3 ----- -40 values hashing to e5463f71a41e13dccc88ded91f689791 - -query IIIII rowsort x255 -SELECT a-b, - a+b*2+c*3, - (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.dt1.c AND x.dt1.c AND x.dc - OR c BETWEEN b-2 AND d+2 ----- -92 values hashing to 10918894cdc2e2486b0c6db84bc930f2 - -query IIII rowsort x257 -SELECT a+b*2, - d-e, - (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.dc - OR c BETWEEN b-2 AND d+2 - ORDER BY 1,2,3,4 ----- -92 values hashing to 10918894cdc2e2486b0c6db84bc930f2 - -query IIII rowsort x257 -SELECT a+b*2, - d-e, - (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.dc ----- -92 values hashing to 10918894cdc2e2486b0c6db84bc930f2 - -query IIII rowsort x257 -SELECT a+b*2, - d-e, - (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.dc - ORDER BY 3,2,4 ----- -92 values hashing to 10918894cdc2e2486b0c6db84bc930f2 - -query I rowsort x258 -SELECT b - FROM t1 - WHERE c BETWEEN b-2 AND d+2 - AND EXISTS(SELECT 1 FROM t1 AS x WHERE x.bc OR ed - OR d>e ----- -52 values hashing to 8016ab331d3de23b9d9d86ef15ff6188 - -query II rowsort x259 -SELECT abs(a), - CASE WHEN ac OR ed - OR d>e - ORDER BY 1,2 ----- -52 values hashing to 8016ab331d3de23b9d9d86ef15ff6188 - -query II rowsort x259 -SELECT abs(a), - CASE WHEN ae - OR c>d - OR (e>c OR ee - OR c>d - OR (e>c OR ee - OR (e>c OR ed ----- -52 values hashing to 8016ab331d3de23b9d9d86ef15ff6188 - -query II rowsort x259 -SELECT abs(a), - CASE WHEN ae - OR (e>c OR ed - ORDER BY 1,2 ----- -52 values hashing to 8016ab331d3de23b9d9d86ef15ff6188 - -query IIIII rowsort x260 -SELECT CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - CASE WHEN ad - AND EXISTS(SELECT 1 FROM t1 AS x WHERE x.b(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - CASE WHEN ad - AND EXISTS(SELECT 1 FROM t1 AS x WHERE x.b(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - CASE WHEN ad ----- -55 values hashing to 48231c3bc55f491fbef643fb9e0ff0dd - -query IIIII rowsort x260 -SELECT CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - CASE WHEN ad - ORDER BY 5,4,3,1,2 ----- -55 values hashing to 48231c3bc55f491fbef643fb9e0ff0dd - -query IIII rowsort x261 -SELECT a+b*2+c*3, - d, - b-c, - (SELECT count(*) FROM t1 AS x WHERE x.bb ----- -119 values hashing to d681beba9c51dcdbdb73c28c06816f1a - -query IIIIIII rowsort x262 -SELECT b, - a+b*2+c*3+d*4, - a+b*2+c*3+d*4+e*5, - CASE WHEN ab - ORDER BY 3,4,7,5,2,1,6 ----- -119 values hashing to d681beba9c51dcdbdb73c28c06816f1a - -query IIII rowsort x263 -SELECT (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.db ----- -68 values hashing to 4df88795d28642e3011ed7c43bbfacb3 - -query IIII rowsort x263 -SELECT (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.db - ORDER BY 1,2 ----- -68 values hashing to 4df88795d28642e3011ed7c43bbfacb3 - -query IIIII rowsort x264 -SELECT (SELECT count(*) FROM t1 AS x WHERE x.bb-2 AND ab-2 AND ab-2 AND ab-2 AND at1.c AND x.dt1.c AND x.db - AND EXISTS(SELECT 1 FROM t1 AS x WHERE x.bb - AND EXISTS(SELECT 1 FROM t1 AS x WHERE x.bb ----- - -query IIII rowsort x266 -SELECT e, - a+b*2+c*3, - abs(a), - CASE WHEN ab - ORDER BY 4,2 ----- - -query IIII rowsort x266 -SELECT e, - a+b*2+c*3, - abs(a), - CASE WHEN ab - AND EXISTS(SELECT 1 FROM t1 AS x WHERE x.bb - AND EXISTS(SELECT 1 FROM t1 AS x WHERE x.bb - AND e+d BETWEEN a+b-10 AND c+130 ----- - -query IIII rowsort x266 -SELECT e, - a+b*2+c*3, - abs(a), - CASE WHEN ab - AND e+d BETWEEN a+b-10 AND c+130 - ORDER BY 3,4,1 ----- - -query IIIII rowsort x267 -SELECT e, - a+b*2+c*3, - CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - a-b, - b-c - FROM t1 - WHERE (a>b-2 AND ac OR e(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - a-b, - b-c - FROM t1 - WHERE (a>b-2 AND ac OR e(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - a-b, - b-c - FROM t1 - WHERE (e>c OR eb-2 AND a(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - a-b, - b-c - FROM t1 - WHERE (e>c OR eb-2 AND a=d+2) ----- -50 values hashing to 811663651ce5d74b26e6f8a0ab084a54 - -query IIIII rowsort x268 -SELECT CASE WHEN a=d+2) - ORDER BY 4,1,5,3 ----- -50 values hashing to 811663651ce5d74b26e6f8a0ab084a54 - -query I rowsort x269 -SELECT d - FROM t1 - WHERE d NOT BETWEEN 110 AND 150 - AND (e>a AND ea AND ea AND ea AND et1.c AND x.de - AND c>d - AND (e>a AND et1.c AND x.de - AND c>d - AND (e>a AND et1.c AND x.da AND ee - AND c>d ----- -224 -222 -221 -1 -666 --1 -0 - -query IIIIIII rowsort x270 -SELECT c, - (a+b+c+d+e)/5, - e, - d-e, - a+b*2, - b-c, - (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.da AND ee - AND c>d - ORDER BY 6,3,4 ----- -224 -222 -221 -1 -666 --1 -0 - -query IIIIIII rowsort x270 -SELECT c, - (a+b+c+d+e)/5, - e, - d-e, - a+b*2, - b-c, - (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.da AND ed - AND d>e ----- -224 -222 -221 -1 -666 --1 -0 - -query IIIIIII rowsort x270 -SELECT c, - (a+b+c+d+e)/5, - e, - d-e, - a+b*2, - b-c, - (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.da AND ed - AND d>e - ORDER BY 2,1 ----- -224 -222 -221 -1 -666 --1 -0 - -query IIIIIII rowsort x270 -SELECT c, - (a+b+c+d+e)/5, - e, - d-e, - a+b*2, - b-c, - (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.de - AND (e>a AND ed ----- -224 -222 -221 -1 -666 --1 -0 - -query IIIIIII rowsort x270 -SELECT c, - (a+b+c+d+e)/5, - e, - d-e, - a+b*2, - b-c, - (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.de - AND (e>a AND ed - ORDER BY 5,1,6,2,3 ----- -224 -222 -221 -1 -666 --1 -0 - -query I rowsort x271 -SELECT CASE WHEN ac OR ec OR ec OR ec OR ec OR ec OR e(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END - FROM t1 ----- -60 values hashing to beed70047ae1fe6e957f8b195a17c63d - -query II rowsort x272 -SELECT e, - CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END - FROM t1 - ORDER BY 2,1 ----- -60 values hashing to beed70047ae1fe6e957f8b195a17c63d - -query IIII rowsort x273 -SELECT a, - b-c, - (a+b+c+d+e)/5, - c - FROM t1 - WHERE (c<=d-2 OR c>=d+2) ----- -40 values hashing to 38f9a6f093c1ee7b2fc4271c752ed1cc - -query IIII rowsort x273 -SELECT a, - b-c, - (a+b+c+d+e)/5, - c - FROM t1 - WHERE (c<=d-2 OR c>=d+2) - ORDER BY 1,4,2 ----- -40 values hashing to 38f9a6f093c1ee7b2fc4271c752ed1cc - -query IIIII rowsort x274 -SELECT a, - c-d, - abs(b-c), - a+b*2+c*3, - a+b*2+c*3+d*4+e*5 - FROM t1 - WHERE (c<=d-2 OR c>=d+2) - AND c BETWEEN b-2 AND d+2 - AND (e>a AND e=d+2) - AND c BETWEEN b-2 AND d+2 - AND (e>a AND e=d+2) - AND (e>a AND e=d+2) - AND (e>a AND ea AND e=d+2) ----- -220 -2 -1 -1338 -3331 - -query IIIII rowsort x274 -SELECT a, - c-d, - abs(b-c), - a+b*2+c*3, - a+b*2+c*3+d*4+e*5 - FROM t1 - WHERE c BETWEEN b-2 AND d+2 - AND (e>a AND e=d+2) - ORDER BY 3,4 ----- -220 -2 -1 -1338 -3331 - -query IIIII rowsort x275 -SELECT (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.d=d+2) ----- -50 values hashing to cc044b3e1bb23780c4122968965b9354 - -query IIIII rowsort x275 -SELECT (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.d=d+2) - ORDER BY 5,2 ----- -50 values hashing to cc044b3e1bb23780c4122968965b9354 - -query I rowsort x276 -SELECT a-b - FROM t1 - WHERE (c<=d-2 OR c>=d+2) ----- -10 values hashing to efa8813bb3fe4fd95c76a8b4cec1fef1 - -query I rowsort x276 -SELECT a-b - FROM t1 - WHERE (c<=d-2 OR c>=d+2) - ORDER BY 1 ----- -10 values hashing to efa8813bb3fe4fd95c76a8b4cec1fef1 - -query IIIIIII rowsort x277 -SELECT (a+b+c+d+e)/5, - a+b*2+c*3+d*4+e*5, - c-d, - CASE WHEN ab ----- -51 values hashing to ce8fbf8484882a4861b010d1bdd692a0 - -query III rowsort x278 -SELECT c, - CASE a+1 WHEN b THEN 111 WHEN c THEN 222 - WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, - a+b*2+c*3 - FROM t1 - WHERE a>b - ORDER BY 1,3 ----- -51 values hashing to ce8fbf8484882a4861b010d1bdd692a0 - -query IIII rowsort x279 -SELECT CASE WHEN ad ----- -196 values hashing to fe3b7834bf1f16af9a218035e03b116c - -query IIIIIII rowsort x281 -SELECT d, - (a+b+c+d+e)/5, - d-e, - b-c, - b, - a+b*2+c*3+d*4+e*5, - a+b*2 - FROM t1 - WHERE EXISTS(SELECT 1 FROM t1 AS x WHERE x.bd - ORDER BY 1,5,2,3,4,6,7 ----- -196 values hashing to fe3b7834bf1f16af9a218035e03b116c - -query IIIIIII rowsort x281 -SELECT d, - (a+b+c+d+e)/5, - d-e, - b-c, - b, - a+b*2+c*3+d*4+e*5, - a+b*2 - FROM t1 - WHERE c>d - OR EXISTS(SELECT 1 FROM t1 AS x WHERE x.bd - OR EXISTS(SELECT 1 FROM t1 AS x WHERE x.bb - OR e+d BETWEEN a+b-10 AND c+130 ----- -108 values hashing to 9d92cdd25b06773d672e7c3859697c55 - -query IIIIII rowsort x282 -SELECT a+b*2, - b, - abs(b-c), - d-e, - a, - c-d - FROM t1 - WHERE a>b - OR e+d BETWEEN a+b-10 AND c+130 - ORDER BY 2,3,5 ----- -108 values hashing to 9d92cdd25b06773d672e7c3859697c55 - -query IIIIII rowsort x282 -SELECT a+b*2, - b, - abs(b-c), - d-e, - a, - c-d - FROM t1 - WHERE e+d BETWEEN a+b-10 AND c+130 - OR a>b ----- -108 values hashing to 9d92cdd25b06773d672e7c3859697c55 - -query IIIIII rowsort x282 -SELECT a+b*2, - b, - abs(b-c), - d-e, - a, - c-d - FROM t1 - WHERE e+d BETWEEN a+b-10 AND c+130 - OR a>b - ORDER BY 2,6,5,1,3,4 ----- -108 values hashing to 9d92cdd25b06773d672e7c3859697c55 - -query I rowsort x283 -SELECT d-e - FROM t1 - WHERE (a>b-2 AND ab-2 AND ab-2 AND ab-2 AND ab-2 AND ab-2 AND a(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - a-b, - e, - c-d, - (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.db - OR (e>a AND e(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - a-b, - e, - c-d, - (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.db - OR (e>a AND eb - AND (a>b-2 AND ab - AND (a>b-2 AND ab - AND (a>b-2 AND ab - AND (a>b-2 AND ab-2 AND ab ----- -21 values hashing to 7913e005ffff21245fdcea9c3d34fb63 - -query IIIIIII rowsort x287 -SELECT (SELECT count(*) FROM t1 AS x WHERE x.bb-2 AND ab - ORDER BY 1,3,4,5,6,2,7 ----- -21 values hashing to 7913e005ffff21245fdcea9c3d34fb63 - -query III rowsort x288 -SELECT b, - CASE WHEN a(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - b, - a+b*2+c*3+d*4, - (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.d(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - b, - a+b*2+c*3+d*4, - (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.dd - AND (a>b-2 AND ae ----- -131 -333 -138 -222 -182 -333 - -query II rowsort x292 -SELECT abs(a), - CASE WHEN ad - AND (a>b-2 AND ae - ORDER BY 1,2 ----- -131 -333 -138 -222 -182 -333 - -query II rowsort x292 -SELECT abs(a), - CASE WHEN ae - AND (a>b-2 AND ad ----- -131 -333 -138 -222 -182 -333 - -query II rowsort x292 -SELECT abs(a), - CASE WHEN ae - AND (a>b-2 AND ad - ORDER BY 1,2 ----- -131 -333 -138 -222 -182 -333 - -query II rowsort x292 -SELECT abs(a), - CASE WHEN ad - AND d>e - AND (a>b-2 AND ad - AND d>e - AND (a>b-2 AND a(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END - FROM t1 - WHERE (c<=d-2 OR c>=d+2) ----- -20 values hashing to 313e2f24fcde36abf536de1a90a3fd55 - -query II rowsort x295 -SELECT c-d, - CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END - FROM t1 - WHERE (c<=d-2 OR c>=d+2) - ORDER BY 2,1 ----- -20 values hashing to 313e2f24fcde36abf536de1a90a3fd55 - -query IIIIIII rowsort x296 -SELECT d, - d-e, - CASE a+1 WHEN b THEN 111 WHEN c THEN 222 - WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, - (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.dt1.c AND x.dt1.c AND x.d(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - a+b*2+c*3+d*4 - FROM t1 - WHERE d NOT BETWEEN 110 AND 150 - OR (e>c OR ec ----- -108 values hashing to f17c6b3e60c3a1d7881ff9c7defa63c5 - -query IIII rowsort x297 -SELECT c, - (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.d(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - a+b*2+c*3+d*4 - FROM t1 - WHERE d NOT BETWEEN 110 AND 150 - OR (e>c OR ec - ORDER BY 4,2,3,1 ----- -108 values hashing to f17c6b3e60c3a1d7881ff9c7defa63c5 - -query IIII rowsort x297 -SELECT c, - (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.d(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - a+b*2+c*3+d*4 - FROM t1 - WHERE b>c - OR d NOT BETWEEN 110 AND 150 - OR (e>c OR et1.c AND x.d(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - a+b*2+c*3+d*4 - FROM t1 - WHERE b>c - OR d NOT BETWEEN 110 AND 150 - OR (e>c OR et1.c AND x.d(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - a+b*2+c*3+d*4 - FROM t1 - WHERE (e>c OR ec ----- -108 values hashing to f17c6b3e60c3a1d7881ff9c7defa63c5 - -query IIII rowsort x297 -SELECT c, - (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.d(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - a+b*2+c*3+d*4 - FROM t1 - WHERE (e>c OR ec - ORDER BY 2,1 ----- -108 values hashing to f17c6b3e60c3a1d7881ff9c7defa63c5 - -query IIII rowsort x297 -SELECT c, - (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.d(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - a+b*2+c*3+d*4 - FROM t1 - WHERE (e>c OR ec - OR d NOT BETWEEN 110 AND 150 ----- -108 values hashing to f17c6b3e60c3a1d7881ff9c7defa63c5 - -query IIII rowsort x297 -SELECT c, - (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.d(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - a+b*2+c*3+d*4 - FROM t1 - WHERE (e>c OR ec - OR d NOT BETWEEN 110 AND 150 - ORDER BY 4,3 ----- -108 values hashing to f17c6b3e60c3a1d7881ff9c7defa63c5 - -query II rowsort x298 -SELECT e, - a-b - FROM t1 - WHERE (a>b-2 AND ac ----- -30 values hashing to f86eeb8a5ace713028dbbf2ca99dbad7 - -query II rowsort x298 -SELECT e, - a-b - FROM t1 - WHERE (a>b-2 AND ac - ORDER BY 2,1 ----- -30 values hashing to f86eeb8a5ace713028dbbf2ca99dbad7 - -query II rowsort x298 -SELECT e, - a-b - FROM t1 - WHERE b>c - OR (a>b-2 AND ac - OR (a>b-2 AND at1.c AND x.dd ----- -52 values hashing to 78e7b83e6942df2d1bfd868316d31335 - -query IIII rowsort x300 -SELECT a, - (SELECT count(*) FROM t1 AS x WHERE x.bt1.c AND x.dd - ORDER BY 4,3 ----- -52 values hashing to 78e7b83e6942df2d1bfd868316d31335 - -query IIIIII rowsort x301 -SELECT a-b, - abs(a), - e, - (SELECT count(*) FROM t1 AS x WHERE x.b(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END - FROM t1 - WHERE a>b ----- -17 values hashing to baeb6fdb5d575870fddf7d11fa9e02f3 - -query I rowsort x302 -SELECT CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END - FROM t1 - WHERE a>b - ORDER BY 1 ----- -17 values hashing to baeb6fdb5d575870fddf7d11fa9e02f3 - -query IIII rowsort x303 -SELECT c-d, - d, - CASE a+1 WHEN b THEN 111 WHEN c THEN 222 - WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, - d-e - FROM t1 ----- -120 values hashing to 0249d9b05d5c103df774e762f761cffb - -query IIII rowsort x303 -SELECT c-d, - d, - CASE a+1 WHEN b THEN 111 WHEN c THEN 222 - WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, - d-e - FROM t1 - ORDER BY 4,2,1 ----- -120 values hashing to 0249d9b05d5c103df774e762f761cffb - -query IIIII rowsort x304 -SELECT CASE a+1 WHEN b THEN 111 WHEN c THEN 222 - WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, - c, - b, - a-b, - (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.de - AND (e>a AND ec OR et1.c AND x.de - AND (e>a AND ec OR et1.c AND x.dc OR ee - AND (e>a AND et1.c AND x.dc OR ee - AND (e>a AND et1.c AND x.dd ----- -78 values hashing to f5801c819d7fc8338357d6aeedca106d - -query IIIIII rowsort x306 -SELECT (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.dd - ORDER BY 4,5,6,3,2,1 ----- -78 values hashing to f5801c819d7fc8338357d6aeedca106d - -query IIII rowsort x307 -SELECT a+b*2+c*3+d*4, - CASE a+1 WHEN b THEN 111 WHEN c THEN 222 - WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, - a+b*2+c*3, - (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.dt1.c AND x.d(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - d-e, - CASE a+1 WHEN b THEN 111 WHEN c THEN 222 - WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, - e, - a+b*2+c*3 - FROM t1 ----- -180 values hashing to e13410f526aa235c1220c611a43aeab1 - -query IIIIII rowsort x308 -SELECT a-b, - CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - d-e, - CASE a+1 WHEN b THEN 111 WHEN c THEN 222 - WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, - e, - a+b*2+c*3 - FROM t1 - ORDER BY 6,1 ----- -180 values hashing to e13410f526aa235c1220c611a43aeab1 - -query III rowsort x309 -SELECT a-b, - a+b*2, - c - FROM t1 ----- -90 values hashing to c6af1ce8e7751994c9acfbf36e97f991 - -query III rowsort x309 -SELECT a-b, - a+b*2, - c - FROM t1 - ORDER BY 3,1 ----- -90 values hashing to c6af1ce8e7751994c9acfbf36e97f991 - -query III rowsort x310 -SELECT d-e, - (a+b+c+d+e)/5, - a+b*2 - FROM t1 - WHERE c BETWEEN b-2 AND d+2 - AND a>b ----- -24 values hashing to 5d0a46c407293e78a2ca3cf0c3cd5c49 - -query III rowsort x310 -SELECT d-e, - (a+b+c+d+e)/5, - a+b*2 - FROM t1 - WHERE c BETWEEN b-2 AND d+2 - AND a>b - ORDER BY 3,2 ----- -24 values hashing to 5d0a46c407293e78a2ca3cf0c3cd5c49 - -query III rowsort x311 -SELECT (SELECT count(*) FROM t1 AS x WHERE x.bt1.c AND x.dc - AND d>e - AND d NOT BETWEEN 110 AND 150 ----- -23 -0 -233 -26 -0 -248 - -query III rowsort x311 -SELECT (SELECT count(*) FROM t1 AS x WHERE x.bt1.c AND x.dc - AND d>e - AND d NOT BETWEEN 110 AND 150 - ORDER BY 3,2 ----- -23 -0 -233 -26 -0 -248 - -query III rowsort x311 -SELECT (SELECT count(*) FROM t1 AS x WHERE x.bt1.c AND x.de - AND b>c ----- -23 -0 -233 -26 -0 -248 - -query III rowsort x311 -SELECT (SELECT count(*) FROM t1 AS x WHERE x.bt1.c AND x.de - AND b>c - ORDER BY 3,2,1 ----- -23 -0 -233 -26 -0 -248 - -query III rowsort x311 -SELECT (SELECT count(*) FROM t1 AS x WHERE x.bt1.c AND x.dc - AND d NOT BETWEEN 110 AND 150 - AND d>e ----- -23 -0 -233 -26 -0 -248 - -query III rowsort x311 -SELECT (SELECT count(*) FROM t1 AS x WHERE x.bt1.c AND x.dc - AND d NOT BETWEEN 110 AND 150 - AND d>e - ORDER BY 3,1 ----- -23 -0 -233 -26 -0 -248 - -query II rowsort x312 -SELECT a+b*2+c*3, - abs(a) - FROM t1 - WHERE d NOT BETWEEN 110 AND 150 - OR e+d BETWEEN a+b-10 AND c+130 - OR (c<=d-2 OR c>=d+2) ----- -38 values hashing to 8c7d032b253042442e7800e69dca3de8 - -query II rowsort x312 -SELECT a+b*2+c*3, - abs(a) - FROM t1 - WHERE d NOT BETWEEN 110 AND 150 - OR e+d BETWEEN a+b-10 AND c+130 - OR (c<=d-2 OR c>=d+2) - ORDER BY 1,2 ----- -38 values hashing to 8c7d032b253042442e7800e69dca3de8 - -query II rowsort x312 -SELECT a+b*2+c*3, - abs(a) - FROM t1 - WHERE d NOT BETWEEN 110 AND 150 - OR (c<=d-2 OR c>=d+2) - OR e+d BETWEEN a+b-10 AND c+130 ----- -38 values hashing to 8c7d032b253042442e7800e69dca3de8 - -query II rowsort x312 -SELECT a+b*2+c*3, - abs(a) - FROM t1 - WHERE d NOT BETWEEN 110 AND 150 - OR (c<=d-2 OR c>=d+2) - OR e+d BETWEEN a+b-10 AND c+130 - ORDER BY 1,2 ----- -38 values hashing to 8c7d032b253042442e7800e69dca3de8 - -query II rowsort x312 -SELECT a+b*2+c*3, - abs(a) - FROM t1 - WHERE (c<=d-2 OR c>=d+2) - OR e+d BETWEEN a+b-10 AND c+130 - OR d NOT BETWEEN 110 AND 150 ----- -38 values hashing to 8c7d032b253042442e7800e69dca3de8 - -query II rowsort x312 -SELECT a+b*2+c*3, - abs(a) - FROM t1 - WHERE (c<=d-2 OR c>=d+2) - OR e+d BETWEEN a+b-10 AND c+130 - OR d NOT BETWEEN 110 AND 150 - ORDER BY 2,1 ----- -38 values hashing to 8c7d032b253042442e7800e69dca3de8 - -query IIIIII rowsort x313 -SELECT b-c, - (SELECT count(*) FROM t1 AS x WHERE x.bc ----- -144 values hashing to 5d554a6a785e45be7fb99898e93d8d94 - -query IIIIII rowsort x313 -SELECT b-c, - (SELECT count(*) FROM t1 AS x WHERE x.bc - ORDER BY 5,3,4,1 ----- -144 values hashing to 5d554a6a785e45be7fb99898e93d8d94 - -query IIIIII rowsort x313 -SELECT b-c, - (SELECT count(*) FROM t1 AS x WHERE x.bc - OR e+d BETWEEN a+b-10 AND c+130 - OR d NOT BETWEEN 110 AND 150 ----- -144 values hashing to 5d554a6a785e45be7fb99898e93d8d94 - -query IIIIII rowsort x313 -SELECT b-c, - (SELECT count(*) FROM t1 AS x WHERE x.bc - OR e+d BETWEEN a+b-10 AND c+130 - OR d NOT BETWEEN 110 AND 150 - ORDER BY 2,6,5,1,3,4 ----- -144 values hashing to 5d554a6a785e45be7fb99898e93d8d94 - -query IIIIII rowsort x313 -SELECT b-c, - (SELECT count(*) FROM t1 AS x WHERE x.bc - OR e+d BETWEEN a+b-10 AND c+130 ----- -144 values hashing to 5d554a6a785e45be7fb99898e93d8d94 - -query IIIIII rowsort x313 -SELECT b-c, - (SELECT count(*) FROM t1 AS x WHERE x.bc - OR e+d BETWEEN a+b-10 AND c+130 - ORDER BY 5,6,1 ----- -144 values hashing to 5d554a6a785e45be7fb99898e93d8d94 - -query IIII rowsort x314 -SELECT (a+b+c+d+e)/5, - c-d, - CASE WHEN ab-2 AND ad ----- -16 values hashing to d67cabf96d0b47633cd08730637b2048 - -query IIII rowsort x314 -SELECT (a+b+c+d+e)/5, - c-d, - CASE WHEN ab-2 AND ad - ORDER BY 3,2,1 ----- -16 values hashing to d67cabf96d0b47633cd08730637b2048 - -query IIII rowsort x314 -SELECT (a+b+c+d+e)/5, - c-d, - CASE WHEN ad - AND (a>b-2 AND ad - AND (a>b-2 AND at1.c AND x.d=d+2) - AND c>d - AND (e>a AND et1.c AND x.d=d+2) - AND c>d - AND (e>a AND et1.c AND x.d=d+2) - AND (e>a AND ed ----- -0 -444 -0 -444 - -query II rowsort x315 -SELECT (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.d=d+2) - AND (e>a AND ed - ORDER BY 2,1 ----- -0 -444 -0 -444 - -query II rowsort x315 -SELECT (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.da AND e=d+2) - AND c>d ----- -0 -444 -0 -444 - -query II rowsort x315 -SELECT (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.da AND e=d+2) - AND c>d - ORDER BY 2,1 ----- -0 -444 -0 -444 - -query II rowsort x315 -SELECT (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.dd - AND (c<=d-2 OR c>=d+2) - AND (e>a AND et1.c AND x.dd - AND (c<=d-2 OR c>=d+2) - AND (e>a AND e(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - (SELECT count(*) FROM t1 AS x WHERE x.b(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - (SELECT count(*) FROM t1 AS x WHERE x.bt1.c AND x.dc ----- -0 -127 -4 - -query III rowsort x317 -SELECT (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.dc - ORDER BY 3,1 ----- -0 -127 -4 - -query II rowsort x318 -SELECT a+b*2+c*3+d*4, - a - FROM t1 - WHERE (c<=d-2 OR c>=d+2) ----- -20 values hashing to a883dad8b02e10bdbbfcd41a959944b3 - -query II rowsort x318 -SELECT a+b*2+c*3+d*4, - a - FROM t1 - WHERE (c<=d-2 OR c>=d+2) - ORDER BY 2,1 ----- -20 values hashing to a883dad8b02e10bdbbfcd41a959944b3 - -query IIII rowsort x319 -SELECT CASE WHEN at1.c AND x.dc OR ed ----- -104 values hashing to 39510fb3ed1150a561a8d542151b4a24 - -query IIII rowsort x319 -SELECT CASE WHEN at1.c AND x.dc OR ed - ORDER BY 3,4 ----- -104 values hashing to 39510fb3ed1150a561a8d542151b4a24 - -query IIII rowsort x319 -SELECT CASE WHEN at1.c AND x.dd - OR (e>c OR et1.c AND x.dd - OR (e>c OR et1.c AND x.db ----- -17 values hashing to dd282b8dd7664ec4babf6af25299c8f4 - -query I rowsort x320 -SELECT (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.db - ORDER BY 1 ----- -17 values hashing to dd282b8dd7664ec4babf6af25299c8f4 - -query II rowsort x321 -SELECT a+b*2+c*3+d*4+e*5, - (SELECT count(*) FROM t1 AS x WHERE x.bt1.c AND x.dc ----- -91 values hashing to 11d5fc8b50cf11747fb09838a6179a62 - -query IIIIIII rowsort x322 -SELECT e, - (SELECT count(*) FROM t1 AS x WHERE x.bt1.c AND x.dc - ORDER BY 5,1,3 ----- -91 values hashing to 11d5fc8b50cf11747fb09838a6179a62 - -query IIII rowsort x323 -SELECT d, - a+b*2+c*3, - a, - e - FROM t1 - WHERE c BETWEEN b-2 AND d+2 - OR c>d - OR (e>a AND ed - OR (e>a AND ea AND ed - OR c BETWEEN b-2 AND d+2 ----- -72 values hashing to e48615ff8ca5cfc049146260f31d5352 - -query IIII rowsort x323 -SELECT d, - a+b*2+c*3, - a, - e - FROM t1 - WHERE (e>a AND ed - OR c BETWEEN b-2 AND d+2 - ORDER BY 2,1,4,3 ----- -72 values hashing to e48615ff8ca5cfc049146260f31d5352 - -query IIII rowsort x323 -SELECT d, - a+b*2+c*3, - a, - e - FROM t1 - WHERE c>d - OR (e>a AND ed - OR (e>a AND ea AND ed ----- -72 values hashing to e48615ff8ca5cfc049146260f31d5352 - -query IIII rowsort x323 -SELECT d, - a+b*2+c*3, - a, - e - FROM t1 - WHERE c BETWEEN b-2 AND d+2 - OR (e>a AND ed - ORDER BY 1,3,2 ----- -72 values hashing to e48615ff8ca5cfc049146260f31d5352 - -query IIIII rowsort x324 -SELECT b-c, - b, - d-e, - (a+b+c+d+e)/5, - c - FROM t1 ----- -150 values hashing to 8c15f4a29de572fba8a576d3bee6210d - -query IIIII rowsort x324 -SELECT b-c, - b, - d-e, - (a+b+c+d+e)/5, - c - FROM t1 - ORDER BY 5,1,2 ----- -150 values hashing to 8c15f4a29de572fba8a576d3bee6210d - -query I rowsort x325 -SELECT CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END - FROM t1 ----- -30 values hashing to efdbaa4d180e7867bec1c4d897bd25b9 - -query I rowsort x325 -SELECT CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END - FROM t1 - ORDER BY 1 ----- -30 values hashing to efdbaa4d180e7867bec1c4d897bd25b9 - -query I rowsort x326 -SELECT a+b*2 - FROM t1 - WHERE d>e ----- -11 values hashing to 894d1073493aea169dfee5237f6088b5 - -query I rowsort x326 -SELECT a+b*2 - FROM t1 - WHERE d>e - ORDER BY 1 ----- -11 values hashing to 894d1073493aea169dfee5237f6088b5 - -query IIIIII rowsort x327 -SELECT abs(b-c), - CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.d(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.d(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.d(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.d(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.d(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.d(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.d(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.db-2 AND ab-2 AND ab-2 AND ab-2 AND ac OR ec OR ea AND ea AND eb-2 AND ab-2 AND ac ----- -52 values hashing to 46cb487ee40100f4b5738b678e5ca30d - -query II rowsort x334 -SELECT c, - a+b*2+c*3+d*4+e*5 - FROM t1 - WHERE EXISTS(SELECT 1 FROM t1 AS x WHERE x.bc - ORDER BY 2,1 ----- -52 values hashing to 46cb487ee40100f4b5738b678e5ca30d - -query II rowsort x334 -SELECT c, - a+b*2+c*3+d*4+e*5 - FROM t1 - WHERE b>c - OR EXISTS(SELECT 1 FROM t1 AS x WHERE x.bc - OR EXISTS(SELECT 1 FROM t1 AS x WHERE x.bc OR eb ----- -84 values hashing to 4ed78bf4242fcd95e3948b18cc96105c - -query III rowsort x335 -SELECT (a+b+c+d+e)/5, - d, - abs(b-c) - FROM t1 - WHERE EXISTS(SELECT 1 FROM t1 AS x WHERE x.bc OR eb - ORDER BY 1,3 ----- -84 values hashing to 4ed78bf4242fcd95e3948b18cc96105c - -query III rowsort x335 -SELECT (a+b+c+d+e)/5, - d, - abs(b-c) - FROM t1 - WHERE a>b - OR EXISTS(SELECT 1 FROM t1 AS x WHERE x.bc OR eb - OR EXISTS(SELECT 1 FROM t1 AS x WHERE x.bc OR eb - OR (e>c OR eb - OR (e>c OR eb - OR b>c - OR (a>b-2 AND ab - OR b>c - OR (a>b-2 AND ac - OR a>b - OR (a>b-2 AND ac - OR a>b - OR (a>b-2 AND ab-2 AND ab - OR b>c ----- -144 values hashing to b29aa2f0959d342b1fe6a5111224dc65 - -query IIIIII rowsort x336 -SELECT abs(a), - d, - (a+b+c+d+e)/5, - CASE a+1 WHEN b THEN 111 WHEN c THEN 222 - WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, - a+b*2+c*3+d*4, - (SELECT count(*) FROM t1 AS x WHERE x.bb-2 AND ab - OR b>c - ORDER BY 5,1,2,6,3 ----- -144 values hashing to b29aa2f0959d342b1fe6a5111224dc65 - -query II rowsort x337 -SELECT abs(a), - a+b*2+c*3 - FROM t1 - WHERE d>e ----- -22 values hashing to 5473c9f8d1216beb4e678b45e690a858 - -query II rowsort x337 -SELECT abs(a), - a+b*2+c*3 - FROM t1 - WHERE d>e - ORDER BY 1,2 ----- -22 values hashing to 5473c9f8d1216beb4e678b45e690a858 - -query IIIIII rowsort x338 -SELECT a+b*2+c*3, - CASE a+1 WHEN b THEN 111 WHEN c THEN 222 - WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, - a-b, - a, - abs(b-c), - (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.dc ----- -78 values hashing to 2456c9c4aabea692d43cdaba4f819e77 - -query IIIIII rowsort x338 -SELECT a+b*2+c*3, - CASE a+1 WHEN b THEN 111 WHEN c THEN 222 - WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, - a-b, - a, - abs(b-c), - (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.dc - ORDER BY 1,6,4 ----- -78 values hashing to 2456c9c4aabea692d43cdaba4f819e77 - -query IIIII rowsort x339 -SELECT b, - b-c, - (SELECT count(*) FROM t1 AS x WHERE x.ba AND eb-2 AND aa AND eb-2 AND ab-2 AND aa AND eb-2 AND aa AND eb-2 AND aa AND eb-2 AND aa AND e(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - e - FROM t1 - WHERE b>c - OR d NOT BETWEEN 110 AND 150 ----- -144 values hashing to e2b60e10831969a097fab3dcf057ee30 - -query IIIIII rowsort x340 -SELECT a+b*2, - abs(b-c), - abs(a), - a+b*2+c*3+d*4, - CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - e - FROM t1 - WHERE b>c - OR d NOT BETWEEN 110 AND 150 - ORDER BY 2,4,3 ----- -144 values hashing to e2b60e10831969a097fab3dcf057ee30 - -query IIIIII rowsort x341 -SELECT d-e, - abs(a), - CASE a+1 WHEN b THEN 111 WHEN c THEN 222 - WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, - (a+b+c+d+e)/5, - (SELECT count(*) FROM t1 AS x WHERE x.bt1.c AND x.de - AND (a>b-2 AND at1.c AND x.de - AND (a>b-2 AND at1.c AND x.db-2 AND ae ----- -1096 -0 -793 -0 -827 -0 - -query II rowsort x343 -SELECT a+b*2+c*3, - (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.db-2 AND ae - ORDER BY 2,1 ----- -1096 -0 -793 -0 -827 -0 - -query II rowsort x343 -SELECT a+b*2+c*3, - (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.de - AND (a>b-2 AND at1.c AND x.de - AND (a>b-2 AND at1.c AND x.db-2 AND ae - AND c BETWEEN b-2 AND d+2 ----- -1096 -0 -793 -0 -827 -0 - -query II rowsort x343 -SELECT a+b*2+c*3, - (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.db-2 AND ae - AND c BETWEEN b-2 AND d+2 - ORDER BY 1,2 ----- -1096 -0 -793 -0 -827 -0 - -query III rowsort x344 -SELECT CASE WHEN ac OR ec - OR EXISTS(SELECT 1 FROM t1 AS x WHERE x.bc OR ec - OR EXISTS(SELECT 1 FROM t1 AS x WHERE x.bc - OR EXISTS(SELECT 1 FROM t1 AS x WHERE x.bc OR ec - OR EXISTS(SELECT 1 FROM t1 AS x WHERE x.bc OR ec - OR (e>c OR ec - OR (e>c OR e=d+2) - AND c BETWEEN b-2 AND d+2 ----- -1 -1 -1 -1 -1 -3 - -query I rowsort x346 -SELECT abs(b-c) - FROM t1 - WHERE (c<=d-2 OR c>=d+2) - AND c BETWEEN b-2 AND d+2 - ORDER BY 1 ----- -1 -1 -1 -1 -1 -3 - -query IIII rowsort x347 -SELECT CASE a+1 WHEN b THEN 111 WHEN c THEN 222 - WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, - a+b*2+c*3+d*4, - c, - a+b*2+c*3+d*4+e*5 - FROM t1 - WHERE d>e - OR (e>a AND e=d+2) ----- -64 values hashing to a2a925c021960551d590b7672c6f3d05 - -query IIII rowsort x347 -SELECT CASE a+1 WHEN b THEN 111 WHEN c THEN 222 - WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, - a+b*2+c*3+d*4, - c, - a+b*2+c*3+d*4+e*5 - FROM t1 - WHERE d>e - OR (e>a AND e=d+2) - ORDER BY 2,4,3 ----- -64 values hashing to a2a925c021960551d590b7672c6f3d05 - -query IIII rowsort x347 -SELECT CASE a+1 WHEN b THEN 111 WHEN c THEN 222 - WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, - a+b*2+c*3+d*4, - c, - a+b*2+c*3+d*4+e*5 - FROM t1 - WHERE (c<=d-2 OR c>=d+2) - OR d>e - OR (e>a AND e=d+2) - OR d>e - OR (e>a AND ee - OR (a>b-2 AND ad ----- -92 values hashing to c87852d64a0a0f7ad0c1cdde418d2c5b - -query IIII rowsort x348 -SELECT a+b*2+c*3+d*4+e*5, - CASE WHEN ae - OR (a>b-2 AND ad - ORDER BY 2,3 ----- -92 values hashing to c87852d64a0a0f7ad0c1cdde418d2c5b - -query IIII rowsort x348 -SELECT a+b*2+c*3+d*4+e*5, - CASE WHEN ab-2 AND ad - OR d>e ----- -92 values hashing to c87852d64a0a0f7ad0c1cdde418d2c5b - -query IIII rowsort x348 -SELECT a+b*2+c*3+d*4+e*5, - CASE WHEN ab-2 AND ad - OR d>e - ORDER BY 1,2 ----- -92 values hashing to c87852d64a0a0f7ad0c1cdde418d2c5b - -query IIII rowsort x348 -SELECT a+b*2+c*3+d*4+e*5, - CASE WHEN ae - OR c>d - OR (a>b-2 AND ae - OR c>d - OR (a>b-2 AND ab-2 AND ab-2 AND ab-2 AND ab-2 AND ac OR ec OR ec OR ec OR ed ----- -13 values hashing to 7744fc7874118e6abe7e080d62e702a2 - -query I rowsort x351 -SELECT b-c - FROM t1 - WHERE c>d - ORDER BY 1 ----- -13 values hashing to 7744fc7874118e6abe7e080d62e702a2 - -query II rowsort x352 -SELECT a+b*2+c*3+d*4, - c - FROM t1 - WHERE b>c ----- -26 values hashing to 150f26c4261044e7d668047611de3015 - -query II rowsort x352 -SELECT a+b*2+c*3+d*4, - c - FROM t1 - WHERE b>c - ORDER BY 1,2 ----- -26 values hashing to 150f26c4261044e7d668047611de3015 - -query IIIIIII rowsort x353 -SELECT a+b*2+c*3+d*4, - c-d, - a+b*2+c*3, - d, - d-e, - (SELECT count(*) FROM t1 AS x WHERE x.bt1.c AND x.de - OR b>c ----- -80 values hashing to 31be87cb325fc0c5d4fadb3f90b0212f - -query IIII rowsort x354 -SELECT a+b*2+c*3+d*4+e*5, - (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.de - OR b>c - ORDER BY 3,2 ----- -80 values hashing to 31be87cb325fc0c5d4fadb3f90b0212f - -query IIII rowsort x354 -SELECT a+b*2+c*3+d*4+e*5, - (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.dc - OR d>e ----- -80 values hashing to 31be87cb325fc0c5d4fadb3f90b0212f - -query IIII rowsort x354 -SELECT a+b*2+c*3+d*4+e*5, - (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.dc - OR d>e - ORDER BY 1,4,2 ----- -80 values hashing to 31be87cb325fc0c5d4fadb3f90b0212f - -query II rowsort x355 -SELECT a+b*2+c*3, - c-d - FROM t1 - WHERE EXISTS(SELECT 1 FROM t1 AS x WHERE x.bc ----- -26 values hashing to e67a059f451c8f90e1551f297d5424b1 - -query II rowsort x355 -SELECT a+b*2+c*3, - c-d - FROM t1 - WHERE EXISTS(SELECT 1 FROM t1 AS x WHERE x.bc - ORDER BY 2,1 ----- -26 values hashing to e67a059f451c8f90e1551f297d5424b1 - -query II rowsort x355 -SELECT a+b*2+c*3, - c-d - FROM t1 - WHERE b>c - AND EXISTS(SELECT 1 FROM t1 AS x WHERE x.bc - AND EXISTS(SELECT 1 FROM t1 AS x WHERE x.b(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - abs(a), - a+b*2+c*3+d*4+e*5, - b, - (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.da AND ee ----- -78 values hashing to 6ed7f32c0f6fca261a27bd3012c9991d - -query IIIIII rowsort x358 -SELECT abs(b-c), - CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - abs(a), - a+b*2+c*3+d*4+e*5, - b, - (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.da AND ee - ORDER BY 3,4,6 ----- -78 values hashing to 6ed7f32c0f6fca261a27bd3012c9991d - -query IIIIII rowsort x358 -SELECT abs(b-c), - CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - abs(a), - a+b*2+c*3+d*4+e*5, - b, - (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.de - OR (e>a AND e(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - abs(a), - a+b*2+c*3+d*4+e*5, - b, - (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.de - OR (e>a AND e(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - abs(a), - a+b*2+c*3+d*4+e*5, - b, - (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.da AND ee ----- -78 values hashing to 6ed7f32c0f6fca261a27bd3012c9991d - -query IIIIII rowsort x358 -SELECT abs(b-c), - CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - abs(a), - a+b*2+c*3+d*4+e*5, - b, - (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.da AND ee - ORDER BY 6,2,3,5,4,1 ----- -78 values hashing to 6ed7f32c0f6fca261a27bd3012c9991d - -query III rowsort x359 -SELECT b, - a-b, - a+b*2 - FROM t1 - WHERE (a>b-2 AND ab-2 AND ab-2 AND ab-2 AND a=d+2) - OR d NOT BETWEEN 110 AND 150 - OR a>b ----- -156 values hashing to dc0420665219b1dbdb6c215345b1e791 - -query IIIIII rowsort x360 -SELECT CASE a+1 WHEN b THEN 111 WHEN c THEN 222 - WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, - b, - CASE WHEN a=d+2) - OR d NOT BETWEEN 110 AND 150 - OR a>b - ORDER BY 3,5,6,2,1,4 ----- -156 values hashing to dc0420665219b1dbdb6c215345b1e791 - -query IIIIII rowsort x360 -SELECT CASE a+1 WHEN b THEN 111 WHEN c THEN 222 - WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, - b, - CASE WHEN a=d+2) - OR a>b ----- -156 values hashing to dc0420665219b1dbdb6c215345b1e791 - -query IIIIII rowsort x360 -SELECT CASE a+1 WHEN b THEN 111 WHEN c THEN 222 - WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, - b, - CASE WHEN a=d+2) - OR a>b - ORDER BY 4,1,3 ----- -156 values hashing to dc0420665219b1dbdb6c215345b1e791 - -query IIIIII rowsort x360 -SELECT CASE a+1 WHEN b THEN 111 WHEN c THEN 222 - WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, - b, - CASE WHEN ab - OR d NOT BETWEEN 110 AND 150 - OR (c<=d-2 OR c>=d+2) ----- -156 values hashing to dc0420665219b1dbdb6c215345b1e791 - -query IIIIII rowsort x360 -SELECT CASE a+1 WHEN b THEN 111 WHEN c THEN 222 - WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, - b, - CASE WHEN ab - OR d NOT BETWEEN 110 AND 150 - OR (c<=d-2 OR c>=d+2) - ORDER BY 5,6,2,3 ----- -156 values hashing to dc0420665219b1dbdb6c215345b1e791 - -query III rowsort x361 -SELECT a+b*2+c*3, - d-e, - abs(a) - FROM t1 - WHERE b>c - AND c BETWEEN b-2 AND d+2 ----- -15 values hashing to eb595e9f255d651bde844105fc08fb57 - -query III rowsort x361 -SELECT a+b*2+c*3, - d-e, - abs(a) - FROM t1 - WHERE b>c - AND c BETWEEN b-2 AND d+2 - ORDER BY 2,3,1 ----- -15 values hashing to eb595e9f255d651bde844105fc08fb57 - -query III rowsort x361 -SELECT a+b*2+c*3, - d-e, - abs(a) - FROM t1 - WHERE c BETWEEN b-2 AND d+2 - AND b>c ----- -15 values hashing to eb595e9f255d651bde844105fc08fb57 - -query III rowsort x361 -SELECT a+b*2+c*3, - d-e, - abs(a) - FROM t1 - WHERE c BETWEEN b-2 AND d+2 - AND b>c - ORDER BY 3,1,2 ----- -15 values hashing to eb595e9f255d651bde844105fc08fb57 - -query IIIIIII rowsort x362 -SELECT abs(b-c), - (SELECT count(*) FROM t1 AS x WHERE x.b(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - CASE a+1 WHEN b THEN 111 WHEN c THEN 222 - WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, - d-e - FROM t1 - WHERE d>e ----- -77 values hashing to 590bb43a66b49eaea7d40168ab95b87b - -query IIIIIII rowsort x362 -SELECT abs(b-c), - (SELECT count(*) FROM t1 AS x WHERE x.b(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - CASE a+1 WHEN b THEN 111 WHEN c THEN 222 - WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, - d-e - FROM t1 - WHERE d>e - ORDER BY 3,7,1,6,2,4,5 ----- -77 values hashing to 590bb43a66b49eaea7d40168ab95b87b - -query IIIIIII rowsort x363 -SELECT b, - (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.db - OR b>c - OR (e>c OR et1.c AND x.db - OR b>c - OR (e>c OR et1.c AND x.dc - OR (e>c OR eb ----- -189 values hashing to 3b74f944eef581369645e0018a91984a - -query IIIIIII rowsort x363 -SELECT b, - (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.dc - OR (e>c OR eb - ORDER BY 4,5,3,7,6,1 ----- -189 values hashing to 3b74f944eef581369645e0018a91984a - -query IIIIIII rowsort x363 -SELECT b, - (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.dc OR eb - OR b>c ----- -189 values hashing to 3b74f944eef581369645e0018a91984a - -query IIIIIII rowsort x363 -SELECT b, - (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.dc OR eb - OR b>c - ORDER BY 4,7,1,5,6,2,3 ----- -189 values hashing to 3b74f944eef581369645e0018a91984a - -query IIII rowsort x364 -SELECT a, - CASE a+1 WHEN b THEN 111 WHEN c THEN 222 - WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, - e, - (SELECT count(*) FROM t1 AS x WHERE x.ba AND e=d+2) - OR (e>c OR ea AND e=d+2) - OR (e>c OR ea AND ec OR e=d+2) ----- -92 values hashing to f1d5c3beb375b47a05c92982d6c6752e - -query IIII rowsort x364 -SELECT a, - CASE a+1 WHEN b THEN 111 WHEN c THEN 222 - WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, - e, - (SELECT count(*) FROM t1 AS x WHERE x.ba AND ec OR e=d+2) - ORDER BY 1,4,3,2 ----- -92 values hashing to f1d5c3beb375b47a05c92982d6c6752e - -query IIII rowsort x364 -SELECT a, - CASE a+1 WHEN b THEN 111 WHEN c THEN 222 - WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, - e, - (SELECT count(*) FROM t1 AS x WHERE x.bc OR ea AND e=d+2) ----- -92 values hashing to f1d5c3beb375b47a05c92982d6c6752e - -query IIII rowsort x364 -SELECT a, - CASE a+1 WHEN b THEN 111 WHEN c THEN 222 - WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, - e, - (SELECT count(*) FROM t1 AS x WHERE x.bc OR ea AND e=d+2) - ORDER BY 1,2,4,3 ----- -92 values hashing to f1d5c3beb375b47a05c92982d6c6752e - -query IIII rowsort x364 -SELECT a, - CASE a+1 WHEN b THEN 111 WHEN c THEN 222 - WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, - e, - (SELECT count(*) FROM t1 AS x WHERE x.b=d+2) - OR (e>c OR ea AND e=d+2) - OR (e>c OR ea AND et1.c AND x.d=d+2) ----- -30 values hashing to d28f6b944184a7946ea3cb47cd5f761f - -query IIIII rowsort x368 -SELECT a+b*2, - b-c, - d, - (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.d=d+2) - ORDER BY 2,5,3,4,1 ----- -30 values hashing to d28f6b944184a7946ea3cb47cd5f761f - -query II rowsort x369 -SELECT c-d, - abs(a) - FROM t1 - WHERE (c<=d-2 OR c>=d+2) - AND c>d - AND b>c ----- -3 -191 - -query II rowsort x369 -SELECT c-d, - abs(a) - FROM t1 - WHERE (c<=d-2 OR c>=d+2) - AND c>d - AND b>c - ORDER BY 1,2 ----- -3 -191 - -query II rowsort x369 -SELECT c-d, - abs(a) - FROM t1 - WHERE c>d - AND b>c - AND (c<=d-2 OR c>=d+2) ----- -3 -191 - -query II rowsort x369 -SELECT c-d, - abs(a) - FROM t1 - WHERE c>d - AND b>c - AND (c<=d-2 OR c>=d+2) - ORDER BY 1,2 ----- -3 -191 - -query II rowsort x369 -SELECT c-d, - abs(a) - FROM t1 - WHERE b>c - AND c>d - AND (c<=d-2 OR c>=d+2) ----- -3 -191 - -query II rowsort x369 -SELECT c-d, - abs(a) - FROM t1 - WHERE b>c - AND c>d - AND (c<=d-2 OR c>=d+2) - ORDER BY 1,2 ----- -3 -191 - -query IIIIII rowsort x370 -SELECT a+b*2+c*3, - a+b*2, - c, - abs(b-c), - e, - b - FROM t1 - WHERE (e>c OR ec - AND c BETWEEN b-2 AND d+2 ----- -24 values hashing to 1612c366f1cbda32215c903e5addbbc5 - -query IIIIII rowsort x370 -SELECT a+b*2+c*3, - a+b*2, - c, - abs(b-c), - e, - b - FROM t1 - WHERE (e>c OR ec - AND c BETWEEN b-2 AND d+2 - ORDER BY 4,5,1,3 ----- -24 values hashing to 1612c366f1cbda32215c903e5addbbc5 - -query IIIII rowsort x371 -SELECT (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.dc OR et1.c AND x.dc OR et1.c AND x.dc OR et1.c AND x.dc OR ec - AND (a>b-2 AND ac - AND (a>b-2 AND ab-2 AND ac ----- -12 values hashing to fc68cd4e373c05bcb81c6c05f548e955 - -query IIIIII rowsort x372 -SELECT a+b*2+c*3+d*4+e*5, - abs(b-c), - e, - c-d, - a-b, - d - FROM t1 - WHERE c BETWEEN b-2 AND d+2 - AND (a>b-2 AND ac - ORDER BY 4,2,1,5 ----- -12 values hashing to fc68cd4e373c05bcb81c6c05f548e955 - -query IIIIII rowsort x372 -SELECT a+b*2+c*3+d*4+e*5, - abs(b-c), - e, - c-d, - a-b, - d - FROM t1 - WHERE (a>b-2 AND ac - AND c BETWEEN b-2 AND d+2 ----- -12 values hashing to fc68cd4e373c05bcb81c6c05f548e955 - -query IIIIII rowsort x372 -SELECT a+b*2+c*3+d*4+e*5, - abs(b-c), - e, - c-d, - a-b, - d - FROM t1 - WHERE (a>b-2 AND ac - AND c BETWEEN b-2 AND d+2 - ORDER BY 4,6,3,5,2,1 ----- -12 values hashing to fc68cd4e373c05bcb81c6c05f548e955 - -query IIIII rowsort x373 -SELECT b-c, - a+b*2+c*3, - d, - abs(b-c), - CASE a+1 WHEN b THEN 111 WHEN c THEN 222 - WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END - FROM t1 - WHERE (e>c OR ec OR e(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END - FROM t1 - WHERE b>c - OR (c<=d-2 OR c>=d+2) ----- -19 values hashing to 95973221897dd8239e748cb04834188e - -query I rowsort x374 -SELECT CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END - FROM t1 - WHERE b>c - OR (c<=d-2 OR c>=d+2) - ORDER BY 1 ----- -19 values hashing to 95973221897dd8239e748cb04834188e - -query I rowsort x374 -SELECT CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END - FROM t1 - WHERE (c<=d-2 OR c>=d+2) - OR b>c ----- -19 values hashing to 95973221897dd8239e748cb04834188e - -query I rowsort x374 -SELECT CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END - FROM t1 - WHERE (c<=d-2 OR c>=d+2) - OR b>c - ORDER BY 1 ----- -19 values hashing to 95973221897dd8239e748cb04834188e - -query III rowsort x375 -SELECT abs(b-c), - abs(a), - a+b*2+c*3+d*4 - FROM t1 - WHERE c>d - OR a>b ----- -75 values hashing to c4c0451bbe21c32530175a6b4771b20d - -query III rowsort x375 -SELECT abs(b-c), - abs(a), - a+b*2+c*3+d*4 - FROM t1 - WHERE c>d - OR a>b - ORDER BY 2,1 ----- -75 values hashing to c4c0451bbe21c32530175a6b4771b20d - -query III rowsort x375 -SELECT abs(b-c), - abs(a), - a+b*2+c*3+d*4 - FROM t1 - WHERE a>b - OR c>d ----- -75 values hashing to c4c0451bbe21c32530175a6b4771b20d - -query III rowsort x375 -SELECT abs(b-c), - abs(a), - a+b*2+c*3+d*4 - FROM t1 - WHERE a>b - OR c>d - ORDER BY 2,3,1 ----- -75 values hashing to c4c0451bbe21c32530175a6b4771b20d - -query II rowsort x376 -SELECT b, - a+b*2+c*3+d*4+e*5 - FROM t1 - WHERE EXISTS(SELECT 1 FROM t1 AS x WHERE x.be ----- -22 values hashing to 1b1a4ed3e2cc298486d6232c92ea123d - -query II rowsort x376 -SELECT b, - a+b*2+c*3+d*4+e*5 - FROM t1 - WHERE EXISTS(SELECT 1 FROM t1 AS x WHERE x.be - ORDER BY 1,2 ----- -22 values hashing to 1b1a4ed3e2cc298486d6232c92ea123d - -query II rowsort x376 -SELECT b, - a+b*2+c*3+d*4+e*5 - FROM t1 - WHERE d>e - AND EXISTS(SELECT 1 FROM t1 AS x WHERE x.be - AND EXISTS(SELECT 1 FROM t1 AS x WHERE x.bb-2 AND ac OR eb-2 AND ac OR eb-2 AND ac OR eb-2 AND ac OR ec OR eb-2 AND ac OR eb-2 AND ac OR ec ----- -36 values hashing to 5da6112e69defbda6b432d8087c0cef0 - -query IIII rowsort x378 -SELECT a+b*2+c*3+d*4+e*5, - d, - a-b, - (a+b+c+d+e)/5 - FROM t1 - WHERE (e>c OR ec - ORDER BY 2,4,3 ----- -36 values hashing to 5da6112e69defbda6b432d8087c0cef0 - -query IIIIII rowsort x379 -SELECT a+b*2, - abs(a), - (SELECT count(*) FROM t1 AS x WHERE x.b=d+2) ----- -60 values hashing to f54c5084014bab5297db4be7e349c915 - -query IIIIII rowsort x379 -SELECT a+b*2, - abs(a), - (SELECT count(*) FROM t1 AS x WHERE x.b=d+2) - ORDER BY 3,4,2,5,1,6 ----- -60 values hashing to f54c5084014bab5297db4be7e349c915 - -query IIIIIII rowsort x380 -SELECT c-d, - CASE WHEN a(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END - FROM t1 - WHERE c BETWEEN b-2 AND d+2 ----- -90 values hashing to e07de53c370dbbe83225474f68b6d765 - -query IIIIII rowsort x381 -SELECT e, - d-e, - abs(b-c), - c, - CASE a+1 WHEN b THEN 111 WHEN c THEN 222 - WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, - CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END - FROM t1 - WHERE c BETWEEN b-2 AND d+2 - ORDER BY 1,4 ----- -90 values hashing to e07de53c370dbbe83225474f68b6d765 - -query IIII rowsort x382 -SELECT (SELECT count(*) FROM t1 AS x WHERE x.bt1.c AND x.db-2 AND at1.c AND x.db-2 AND at1.c AND x.db-2 AND at1.c AND x.db-2 AND a=d+2) - OR e+d BETWEEN a+b-10 AND c+130 - OR (e>c OR e=d+2) - OR e+d BETWEEN a+b-10 AND c+130 - OR (e>c OR e=d+2) - OR (e>c OR e=d+2) - OR (e>c OR ec OR e=d+2) ----- -92 values hashing to 7eeafa7a3807fccc9b73e72a4b93bc31 - -query IIII rowsort x386 -SELECT a+b*2+c*3+d*4, - (a+b+c+d+e)/5, - abs(b-c), - CASE WHEN ac OR e=d+2) - ORDER BY 3,4,2 ----- -92 values hashing to 7eeafa7a3807fccc9b73e72a4b93bc31 - -query IIIIIII rowsort x387 -SELECT (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.d(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - c - FROM t1 - WHERE (e>c OR et1.c AND x.d(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - c - FROM t1 - WHERE (e>c OR ee - OR (a>b-2 AND ae - OR (a>b-2 AND ab-2 AND ae ----- -16 values hashing to 22c25adf7bd218113a71af4a3991a638 - -query I rowsort x388 -SELECT c - FROM t1 - WHERE (a>b-2 AND ae - ORDER BY 1 ----- -16 values hashing to 22c25adf7bd218113a71af4a3991a638 - -query I rowsort x389 -SELECT e - FROM t1 - WHERE (a>b-2 AND ab-2 AND aa AND e=d+2) ----- -22 values hashing to 7771e6d165f91614cbc1d5b976de4da8 - -query II rowsort x390 -SELECT a+b*2+c*3, - d-e - FROM t1 - WHERE (e>a AND e=d+2) - ORDER BY 1,2 ----- -22 values hashing to 7771e6d165f91614cbc1d5b976de4da8 - -query II rowsort x390 -SELECT a+b*2+c*3, - d-e - FROM t1 - WHERE (c<=d-2 OR c>=d+2) - OR (e>a AND e=d+2) - OR (e>a AND ed ----- -66 values hashing to 0e5e006f2b6d0a931c6bba059b6d2c67 - -query III rowsort x392 -SELECT d, - c, - a+b*2+c*3+d*4 - FROM t1 - WHERE d NOT BETWEEN 110 AND 150 - OR c>d - ORDER BY 1,2,3 ----- -66 values hashing to 0e5e006f2b6d0a931c6bba059b6d2c67 - -query III rowsort x392 -SELECT d, - c, - a+b*2+c*3+d*4 - FROM t1 - WHERE c>d - OR d NOT BETWEEN 110 AND 150 ----- -66 values hashing to 0e5e006f2b6d0a931c6bba059b6d2c67 - -query III rowsort x392 -SELECT d, - c, - a+b*2+c*3+d*4 - FROM t1 - WHERE c>d - OR d NOT BETWEEN 110 AND 150 - ORDER BY 2,3,1 ----- -66 values hashing to 0e5e006f2b6d0a931c6bba059b6d2c67 - -query I rowsort x393 -SELECT (a+b+c+d+e)/5 - FROM t1 ----- -30 values hashing to 74b4b1d1e049d57b3610b70a67a1c32f - -query I rowsort x393 -SELECT (a+b+c+d+e)/5 - FROM t1 - ORDER BY 1 ----- -30 values hashing to 74b4b1d1e049d57b3610b70a67a1c32f - -query II rowsort x394 -SELECT CASE WHEN aa AND e=d+2) ----- -222 --1 -222 -1 - -query II rowsort x394 -SELECT CASE WHEN aa AND e=d+2) - ORDER BY 1,2 ----- -222 --1 -222 -1 - -query II rowsort x394 -SELECT CASE WHEN a=d+2) - AND (e>a AND e=d+2) - AND (e>a AND e=d+2) - AND EXISTS(SELECT 1 FROM t1 AS x WHERE x.ba AND e=d+2) - AND EXISTS(SELECT 1 FROM t1 AS x WHERE x.ba AND eb-2 AND ab-2 AND ab-2 AND ab-2 AND a=d+2) - AND d NOT BETWEEN 110 AND 150 ----- -24 values hashing to 9216376f4a9807e2185398d8d74076b0 - -query III rowsort x396 -SELECT c, - a, - a+b*2+c*3 - FROM t1 - WHERE (c<=d-2 OR c>=d+2) - AND d NOT BETWEEN 110 AND 150 - ORDER BY 3,2 ----- -24 values hashing to 9216376f4a9807e2185398d8d74076b0 - -query IIIIIII rowsort x397 -SELECT (SELECT count(*) FROM t1 AS x WHERE x.b(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END - FROM t1 - WHERE (c<=d-2 OR c>=d+2) - OR a>b - OR (a>b-2 AND a(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END - FROM t1 - WHERE (c<=d-2 OR c>=d+2) - OR a>b - OR (a>b-2 AND a(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END - FROM t1 - WHERE a>b - OR (c<=d-2 OR c>=d+2) - OR (a>b-2 AND a(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END - FROM t1 - WHERE a>b - OR (c<=d-2 OR c>=d+2) - OR (a>b-2 AND a(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END - FROM t1 - WHERE a>b - OR (a>b-2 AND a=d+2) ----- -168 values hashing to f3642d300b7a87ccfe2cd4bf73a7004d - -query IIIIIII rowsort x397 -SELECT (SELECT count(*) FROM t1 AS x WHERE x.b(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END - FROM t1 - WHERE a>b - OR (a>b-2 AND a=d+2) - ORDER BY 3,1,4,5,2,7 ----- -168 values hashing to f3642d300b7a87ccfe2cd4bf73a7004d - -query IIIIIII rowsort x397 -SELECT (SELECT count(*) FROM t1 AS x WHERE x.b(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END - FROM t1 - WHERE (a>b-2 AND a=d+2) - OR a>b ----- -168 values hashing to f3642d300b7a87ccfe2cd4bf73a7004d - -query IIIIIII rowsort x397 -SELECT (SELECT count(*) FROM t1 AS x WHERE x.b(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END - FROM t1 - WHERE (a>b-2 AND a=d+2) - OR a>b - ORDER BY 7,1 ----- -168 values hashing to f3642d300b7a87ccfe2cd4bf73a7004d - -query IIIIIII rowsort x398 -SELECT c, - a, - CASE WHEN ac - AND d NOT BETWEEN 110 AND 150 ----- -42 values hashing to f283e84994d04c83261c13fad2061bd1 - -query IIIIIII rowsort x398 -SELECT c, - a, - CASE WHEN ac - AND d NOT BETWEEN 110 AND 150 - ORDER BY 1,2,5,7,3,4,6 ----- -42 values hashing to f283e84994d04c83261c13fad2061bd1 - -query IIIIIII rowsort x398 -SELECT c, - a, - CASE WHEN ac ----- -42 values hashing to f283e84994d04c83261c13fad2061bd1 - -query IIIIIII rowsort x398 -SELECT c, - a, - CASE WHEN ac - ORDER BY 2,3,7,4,1 ----- -42 values hashing to f283e84994d04c83261c13fad2061bd1 - -query II rowsort x399 -SELECT abs(a), - b - FROM t1 - WHERE b>c ----- -26 values hashing to 82a4fb50dd6aa553926a6d4ec2774a55 - -query II rowsort x399 -SELECT abs(a), - b - FROM t1 - WHERE b>c - ORDER BY 2,1 ----- -26 values hashing to 82a4fb50dd6aa553926a6d4ec2774a55 - -query II rowsort x400 -SELECT CASE a+1 WHEN b THEN 111 WHEN c THEN 222 - WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, - (a+b+c+d+e)/5 - FROM t1 - WHERE EXISTS(SELECT 1 FROM t1 AS x WHERE x.ba AND ea AND ea AND ea AND ec - OR (c<=d-2 OR c>=d+2) - OR c BETWEEN b-2 AND d+2 ----- -48 values hashing to 64376dd8151d8a271afd6fbfd3904ec9 - -query II rowsort x401 -SELECT d, - CASE WHEN ac - OR (c<=d-2 OR c>=d+2) - OR c BETWEEN b-2 AND d+2 - ORDER BY 1,2 ----- -48 values hashing to 64376dd8151d8a271afd6fbfd3904ec9 - -query II rowsort x401 -SELECT d, - CASE WHEN ac - OR c BETWEEN b-2 AND d+2 - OR (c<=d-2 OR c>=d+2) ----- -48 values hashing to 64376dd8151d8a271afd6fbfd3904ec9 - -query II rowsort x401 -SELECT d, - CASE WHEN ac - OR c BETWEEN b-2 AND d+2 - OR (c<=d-2 OR c>=d+2) - ORDER BY 2,1 ----- -48 values hashing to 64376dd8151d8a271afd6fbfd3904ec9 - -query II rowsort x401 -SELECT d, - CASE WHEN a=d+2) - OR c BETWEEN b-2 AND d+2 - OR b>c ----- -48 values hashing to 64376dd8151d8a271afd6fbfd3904ec9 - -query II rowsort x401 -SELECT d, - CASE WHEN a=d+2) - OR c BETWEEN b-2 AND d+2 - OR b>c - ORDER BY 2,1 ----- -48 values hashing to 64376dd8151d8a271afd6fbfd3904ec9 - -query I rowsort x402 -SELECT c - FROM t1 - WHERE (a>b-2 AND ab-2 AND ab-2 AND ab-2 AND a(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - (SELECT count(*) FROM t1 AS x WHERE x.bt1.c AND x.db-2 AND ac - OR (c<=d-2 OR c>=d+2) ----- -126 values hashing to a02687520314ff075ab8bb20ad78dc8b - -query IIIIII rowsort x403 -SELECT CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - (SELECT count(*) FROM t1 AS x WHERE x.bt1.c AND x.db-2 AND ac - OR (c<=d-2 OR c>=d+2) - ORDER BY 6,3,1 ----- -126 values hashing to a02687520314ff075ab8bb20ad78dc8b - -query IIIIII rowsort x403 -SELECT CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - (SELECT count(*) FROM t1 AS x WHERE x.bt1.c AND x.dc - OR (a>b-2 AND a=d+2) ----- -126 values hashing to a02687520314ff075ab8bb20ad78dc8b - -query IIIIII rowsort x403 -SELECT CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - (SELECT count(*) FROM t1 AS x WHERE x.bt1.c AND x.dc - OR (a>b-2 AND a=d+2) - ORDER BY 2,6,4,3,1,5 ----- -126 values hashing to a02687520314ff075ab8bb20ad78dc8b - -query IIIIII rowsort x403 -SELECT CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - (SELECT count(*) FROM t1 AS x WHERE x.bt1.c AND x.db-2 AND a=d+2) - OR b>c ----- -126 values hashing to a02687520314ff075ab8bb20ad78dc8b - -query IIIIII rowsort x403 -SELECT CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - (SELECT count(*) FROM t1 AS x WHERE x.bt1.c AND x.db-2 AND a=d+2) - OR b>c - ORDER BY 2,4,5,3,6 ----- -126 values hashing to a02687520314ff075ab8bb20ad78dc8b - -query IIIIII rowsort x404 -SELECT a+b*2+c*3+d*4+e*5, - c-d, - CASE WHEN ab - AND (e>a AND eb - AND (e>a AND e(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - a - FROM t1 - WHERE d NOT BETWEEN 110 AND 150 - OR EXISTS(SELECT 1 FROM t1 AS x WHERE x.b(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - a - FROM t1 - WHERE d NOT BETWEEN 110 AND 150 - OR EXISTS(SELECT 1 FROM t1 AS x WHERE x.bt1.c AND x.da AND eb-2 AND at1.c AND x.da AND eb-2 AND a(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - b, - a-b, - CASE WHEN a(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - b, - a-b, - CASE WHEN at1.c AND x.dt1.c AND x.da AND ea AND e(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END - FROM t1 - WHERE d NOT BETWEEN 110 AND 150 - AND (e>a AND e(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END - FROM t1 - WHERE d NOT BETWEEN 110 AND 150 - AND (e>a AND e(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END - FROM t1 - WHERE (e>a AND e(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END - FROM t1 - WHERE (e>a AND e(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END - FROM t1 ----- -150 values hashing to 597fcab4085e4e5afa17f258fc54a550 - -query IIIII rowsort x414 -SELECT abs(b-c), - b-c, - c-d, - a+b*2+c*3+d*4, - CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END - FROM t1 - ORDER BY 1,4,2,5 ----- -150 values hashing to 597fcab4085e4e5afa17f258fc54a550 - -query III rowsort x415 -SELECT b-c, - c, - CASE a+1 WHEN b THEN 111 WHEN c THEN 222 - WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END - FROM t1 - WHERE (a>b-2 AND ac OR eb-2 AND ac OR ec OR eb-2 AND ac OR eb-2 AND ab-2 AND ab-2 AND aa AND ea AND ea AND ea AND ec ----- -65 values hashing to ff90a655b6029f653cd5895fca7421dd - -query IIIII rowsort x418 -SELECT (SELECT count(*) FROM t1 AS x WHERE x.bc - ORDER BY 4,2,5 ----- -65 values hashing to ff90a655b6029f653cd5895fca7421dd - -query IIIIIII rowsort x419 -SELECT (a+b+c+d+e)/5, - a+b*2+c*3, - a+b*2+c*3+d*4+e*5, - (SELECT count(*) FROM t1 AS x WHERE x.bt1.c AND x.da AND et1.c AND x.da AND eb-2 AND ab ----- -19 values hashing to b9dfd9f7189c9f709aacb42c2b916f5a - -query I rowsort x420 -SELECT e - FROM t1 - WHERE (a>b-2 AND ab - ORDER BY 1 ----- -19 values hashing to b9dfd9f7189c9f709aacb42c2b916f5a - -query I rowsort x420 -SELECT e - FROM t1 - WHERE a>b - OR (a>b-2 AND ab - OR (a>b-2 AND ab - OR d>e - OR c BETWEEN b-2 AND d+2 ----- -25 values hashing to 7f750fc69a9dd4473b56b4b994a5bea5 - -query I rowsort x421 -SELECT c-d - FROM t1 - WHERE a>b - OR d>e - OR c BETWEEN b-2 AND d+2 - ORDER BY 1 ----- -25 values hashing to 7f750fc69a9dd4473b56b4b994a5bea5 - -query I rowsort x421 -SELECT c-d - FROM t1 - WHERE c BETWEEN b-2 AND d+2 - OR d>e - OR a>b ----- -25 values hashing to 7f750fc69a9dd4473b56b4b994a5bea5 - -query I rowsort x421 -SELECT c-d - FROM t1 - WHERE c BETWEEN b-2 AND d+2 - OR d>e - OR a>b - ORDER BY 1 ----- -25 values hashing to 7f750fc69a9dd4473b56b4b994a5bea5 - -query I rowsort x421 -SELECT c-d - FROM t1 - WHERE a>b - OR c BETWEEN b-2 AND d+2 - OR d>e ----- -25 values hashing to 7f750fc69a9dd4473b56b4b994a5bea5 - -query I rowsort x421 -SELECT c-d - FROM t1 - WHERE a>b - OR c BETWEEN b-2 AND d+2 - OR d>e - ORDER BY 1 ----- -25 values hashing to 7f750fc69a9dd4473b56b4b994a5bea5 - -query I rowsort x422 -SELECT a+b*2+c*3+d*4 - FROM t1 ----- -30 values hashing to fd6d6825820cf653aceb2d72af4a5983 - -query I rowsort x422 -SELECT a+b*2+c*3+d*4 - FROM t1 - ORDER BY 1 ----- -30 values hashing to fd6d6825820cf653aceb2d72af4a5983 - -query IIIII rowsort x423 -SELECT c, - (SELECT count(*) FROM t1 AS x WHERE x.b(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END - FROM t1 - WHERE d>e ----- -66 values hashing to 5d035933803dd1c0ade45030c603f484 - -query IIIIII rowsort x424 -SELECT abs(a), - (a+b+c+d+e)/5, - a+b*2+c*3+d*4+e*5, - CASE a+1 WHEN b THEN 111 WHEN c THEN 222 - WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, - (SELECT count(*) FROM t1 AS x WHERE x.b(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END - FROM t1 - WHERE d>e - ORDER BY 2,4,5,1,3 ----- -66 values hashing to 5d035933803dd1c0ade45030c603f484 - -query IIIIIII rowsort x425 -SELECT abs(b-c), - b-c, - a+b*2+c*3, - a-b, - e, - a+b*2, - CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END - FROM t1 - WHERE e+d BETWEEN a+b-10 AND c+130 - OR (e>c OR e(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END - FROM t1 - WHERE e+d BETWEEN a+b-10 AND c+130 - OR (e>c OR e(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END - FROM t1 - WHERE (e>c OR e(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END - FROM t1 - WHERE (e>c OR ec - AND (e>c OR ec - AND (e>c OR ec OR ec - AND EXISTS(SELECT 1 FROM t1 AS x WHERE x.bc OR ec - AND EXISTS(SELECT 1 FROM t1 AS x WHERE x.bc OR ec ----- -18 values hashing to e18fbd84f978f4686ff46e6767805336 - -query II rowsort x427 -SELECT CASE a+1 WHEN b THEN 111 WHEN c THEN 222 - WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, - c - FROM t1 - WHERE EXISTS(SELECT 1 FROM t1 AS x WHERE x.bc OR ec - ORDER BY 1,2 ----- -18 values hashing to e18fbd84f978f4686ff46e6767805336 - -query II rowsort x427 -SELECT CASE a+1 WHEN b THEN 111 WHEN c THEN 222 - WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, - c - FROM t1 - WHERE (e>c OR ec ----- -18 values hashing to e18fbd84f978f4686ff46e6767805336 - -query II rowsort x427 -SELECT CASE a+1 WHEN b THEN 111 WHEN c THEN 222 - WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, - c - FROM t1 - WHERE (e>c OR ec - ORDER BY 1,2 ----- -18 values hashing to e18fbd84f978f4686ff46e6767805336 - -query IIIIII rowsort x428 -SELECT abs(a), - b-c, - a, - d-e, - a+b*2, - CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END - FROM t1 - WHERE d NOT BETWEEN 110 AND 150 ----- -102 values hashing to 3be3307b0e0eb44f8b0f04f87f4143a1 - -query IIIIII rowsort x428 -SELECT abs(a), - b-c, - a, - d-e, - a+b*2, - CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END - FROM t1 - WHERE d NOT BETWEEN 110 AND 150 - ORDER BY 5,4,3,6,2,1 ----- -102 values hashing to 3be3307b0e0eb44f8b0f04f87f4143a1 - -query II rowsort x429 -SELECT e, - abs(b-c) - FROM t1 - WHERE (a>b-2 AND ac ----- -30 values hashing to cb35c15d7e6b47bea3efc0c18a1204e9 - -query II rowsort x429 -SELECT e, - abs(b-c) - FROM t1 - WHERE (a>b-2 AND ac - ORDER BY 1,2 ----- -30 values hashing to cb35c15d7e6b47bea3efc0c18a1204e9 - -query II rowsort x429 -SELECT e, - abs(b-c) - FROM t1 - WHERE b>c - OR (a>b-2 AND ac - OR (a>b-2 AND ac - OR e+d BETWEEN a+b-10 AND c+130 ----- -28 values hashing to dacd5810c0d7ccff31f735ce660f8e90 - -query II rowsort x431 -SELECT CASE a+1 WHEN b THEN 111 WHEN c THEN 222 - WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, - d-e - FROM t1 - WHERE b>c - OR e+d BETWEEN a+b-10 AND c+130 - ORDER BY 2,1 ----- -28 values hashing to dacd5810c0d7ccff31f735ce660f8e90 - -query II rowsort x431 -SELECT CASE a+1 WHEN b THEN 111 WHEN c THEN 222 - WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, - d-e - FROM t1 - WHERE e+d BETWEEN a+b-10 AND c+130 - OR b>c ----- -28 values hashing to dacd5810c0d7ccff31f735ce660f8e90 - -query II rowsort x431 -SELECT CASE a+1 WHEN b THEN 111 WHEN c THEN 222 - WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, - d-e - FROM t1 - WHERE e+d BETWEEN a+b-10 AND c+130 - OR b>c - ORDER BY 1,2 ----- -28 values hashing to dacd5810c0d7ccff31f735ce660f8e90 - -query IIIIIII rowsort x432 -SELECT c-d, - (SELECT count(*) FROM t1 AS x WHERE x.ba AND ea AND eb ----- -34 values hashing to a1b967905b56cc832158ad15962a643c - -query II rowsort x433 -SELECT d, - c - FROM t1 - WHERE a>b - ORDER BY 2,1 ----- -34 values hashing to a1b967905b56cc832158ad15962a643c - -query III rowsort x434 -SELECT CASE a+1 WHEN b THEN 111 WHEN c THEN 222 - WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, - e, - d-e - FROM t1 - WHERE (a>b-2 AND ad - OR a>b ----- -75 values hashing to 241dcbe326d0c1903875caff29d3f486 - -query III rowsort x434 -SELECT CASE a+1 WHEN b THEN 111 WHEN c THEN 222 - WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, - e, - d-e - FROM t1 - WHERE (a>b-2 AND ad - OR a>b - ORDER BY 3,2 ----- -75 values hashing to 241dcbe326d0c1903875caff29d3f486 - -query III rowsort x434 -SELECT CASE a+1 WHEN b THEN 111 WHEN c THEN 222 - WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, - e, - d-e - FROM t1 - WHERE (a>b-2 AND ab - OR c>d ----- -75 values hashing to 241dcbe326d0c1903875caff29d3f486 - -query III rowsort x434 -SELECT CASE a+1 WHEN b THEN 111 WHEN c THEN 222 - WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, - e, - d-e - FROM t1 - WHERE (a>b-2 AND ab - OR c>d - ORDER BY 2,1 ----- -75 values hashing to 241dcbe326d0c1903875caff29d3f486 - -query III rowsort x434 -SELECT CASE a+1 WHEN b THEN 111 WHEN c THEN 222 - WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, - e, - d-e - FROM t1 - WHERE a>b - OR (a>b-2 AND ad ----- -75 values hashing to 241dcbe326d0c1903875caff29d3f486 - -query III rowsort x434 -SELECT CASE a+1 WHEN b THEN 111 WHEN c THEN 222 - WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, - e, - d-e - FROM t1 - WHERE a>b - OR (a>b-2 AND ad - ORDER BY 2,1,3 ----- -75 values hashing to 241dcbe326d0c1903875caff29d3f486 - -query II rowsort x435 -SELECT e, - abs(b-c) - FROM t1 - WHERE b>c - OR c BETWEEN b-2 AND d+2 ----- -46 values hashing to cabfa8d4539ca6b4f80fa6163c666cce - -query II rowsort x435 -SELECT e, - abs(b-c) - FROM t1 - WHERE b>c - OR c BETWEEN b-2 AND d+2 - ORDER BY 2,1 ----- -46 values hashing to cabfa8d4539ca6b4f80fa6163c666cce - -query II rowsort x436 -SELECT b-c, - a+b*2+c*3+d*4 - FROM t1 - WHERE d NOT BETWEEN 110 AND 150 - AND e+d BETWEEN a+b-10 AND c+130 ----- --1 -1067 - -query II rowsort x436 -SELECT b-c, - a+b*2+c*3+d*4 - FROM t1 - WHERE d NOT BETWEEN 110 AND 150 - AND e+d BETWEEN a+b-10 AND c+130 - ORDER BY 2,1 ----- --1 -1067 - -query IIII rowsort x437 -SELECT c, - a-b, - b-c, - (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.da AND ee - AND c BETWEEN b-2 AND d+2 ----- -224 --3 --1 -0 -247 --4 -2 -0 - -query IIII rowsort x437 -SELECT c, - a-b, - b-c, - (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.da AND ee - AND c BETWEEN b-2 AND d+2 - ORDER BY 3,2,4,1 ----- -224 --3 --1 -0 -247 --4 -2 -0 - -query IIII rowsort x437 -SELECT c, - a-b, - b-c, - (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.da AND ee ----- -224 --3 --1 -0 -247 --4 -2 -0 - -query IIII rowsort x437 -SELECT c, - a-b, - b-c, - (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.da AND ee - ORDER BY 4,2,3 ----- -224 --3 --1 -0 -247 --4 -2 -0 - -query IIII rowsort x437 -SELECT c, - a-b, - b-c, - (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.da AND ee ----- -224 --3 --1 -0 -247 --4 -2 -0 - -query IIII rowsort x437 -SELECT c, - a-b, - b-c, - (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.da AND ee - ORDER BY 3,2,1,4 ----- -224 --3 --1 -0 -247 --4 -2 -0 - -query IIIIII rowsort x438 -SELECT d, - CASE WHEN at1.c AND x.d=d+2) ----- -168 values hashing to e31984607cdf6ff4640d14d3d9473720 - -query IIIIII rowsort x438 -SELECT d, - CASE WHEN at1.c AND x.d=d+2) - ORDER BY 2,5,6,1,3,4 ----- -168 values hashing to e31984607cdf6ff4640d14d3d9473720 - -query IIII rowsort x439 -SELECT a+b*2+c*3, - CASE a+1 WHEN b THEN 111 WHEN c THEN 222 - WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, - (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.d=d+2) - OR c>d - OR d>e ----- -84 values hashing to 7b429b731ffc2d6828c13b5243bbfe2d - -query IIII rowsort x439 -SELECT a+b*2+c*3, - CASE a+1 WHEN b THEN 111 WHEN c THEN 222 - WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, - (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.d=d+2) - OR c>d - OR d>e - ORDER BY 1,4,2,3 ----- -84 values hashing to 7b429b731ffc2d6828c13b5243bbfe2d - -query IIII rowsort x439 -SELECT a+b*2+c*3, - CASE a+1 WHEN b THEN 111 WHEN c THEN 222 - WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, - (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.de - OR c>d - OR (c<=d-2 OR c>=d+2) ----- -84 values hashing to 7b429b731ffc2d6828c13b5243bbfe2d - -query IIII rowsort x439 -SELECT a+b*2+c*3, - CASE a+1 WHEN b THEN 111 WHEN c THEN 222 - WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, - (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.de - OR c>d - OR (c<=d-2 OR c>=d+2) - ORDER BY 1,3 ----- -84 values hashing to 7b429b731ffc2d6828c13b5243bbfe2d - -query IIIII rowsort x440 -SELECT d, - c-d, - c, - abs(a), - a-b - FROM t1 - WHERE b>c - AND a>b - AND c>d ----- - -query IIIII rowsort x440 -SELECT d, - c-d, - c, - abs(a), - a-b - FROM t1 - WHERE b>c - AND a>b - AND c>d - ORDER BY 1,4,2 ----- - -query IIIII rowsort x440 -SELECT d, - c-d, - c, - abs(a), - a-b - FROM t1 - WHERE b>c - AND c>d - AND a>b ----- - -query IIIII rowsort x440 -SELECT d, - c-d, - c, - abs(a), - a-b - FROM t1 - WHERE b>c - AND c>d - AND a>b - ORDER BY 2,1,5 ----- - -query IIIII rowsort x440 -SELECT d, - c-d, - c, - abs(a), - a-b - FROM t1 - WHERE c>d - AND a>b - AND b>c ----- - -query IIIII rowsort x440 -SELECT d, - c-d, - c, - abs(a), - a-b - FROM t1 - WHERE c>d - AND a>b - AND b>c - ORDER BY 4,5,1,2,3 ----- - -query II rowsort x441 -SELECT a-b, - c - FROM t1 ----- -60 values hashing to 6e429924a0921c1dece0ca0dbe37acdf - -query II rowsort x441 -SELECT a-b, - c - FROM t1 - ORDER BY 2,1 ----- -60 values hashing to 6e429924a0921c1dece0ca0dbe37acdf - -query I rowsort x442 -SELECT e - FROM t1 - WHERE b>c - AND d NOT BETWEEN 110 AND 150 - AND a>b ----- -197 -227 -230 - -query I rowsort x442 -SELECT e - FROM t1 - WHERE b>c - AND d NOT BETWEEN 110 AND 150 - AND a>b - ORDER BY 1 ----- -197 -227 -230 - -query I rowsort x442 -SELECT e - FROM t1 - WHERE b>c - AND a>b - AND d NOT BETWEEN 110 AND 150 ----- -197 -227 -230 - -query I rowsort x442 -SELECT e - FROM t1 - WHERE b>c - AND a>b - AND d NOT BETWEEN 110 AND 150 - ORDER BY 1 ----- -197 -227 -230 - -query III rowsort x443 -SELECT a+b*2, - a+b*2+c*3+d*4, - a+b*2+c*3 - FROM t1 - WHERE c BETWEEN b-2 AND d+2 - AND d NOT BETWEEN 110 AND 150 - AND a>b ----- -21 values hashing to 46fba0cfd195e857073f018503f70144 - -query III rowsort x443 -SELECT a+b*2, - a+b*2+c*3+d*4, - a+b*2+c*3 - FROM t1 - WHERE c BETWEEN b-2 AND d+2 - AND d NOT BETWEEN 110 AND 150 - AND a>b - ORDER BY 1,3 ----- -21 values hashing to 46fba0cfd195e857073f018503f70144 - -query III rowsort x443 -SELECT a+b*2, - a+b*2+c*3+d*4, - a+b*2+c*3 - FROM t1 - WHERE d NOT BETWEEN 110 AND 150 - AND a>b - AND c BETWEEN b-2 AND d+2 ----- -21 values hashing to 46fba0cfd195e857073f018503f70144 - -query III rowsort x443 -SELECT a+b*2, - a+b*2+c*3+d*4, - a+b*2+c*3 - FROM t1 - WHERE d NOT BETWEEN 110 AND 150 - AND a>b - AND c BETWEEN b-2 AND d+2 - ORDER BY 3,2,1 ----- -21 values hashing to 46fba0cfd195e857073f018503f70144 - -query III rowsort x443 -SELECT a+b*2, - a+b*2+c*3+d*4, - a+b*2+c*3 - FROM t1 - WHERE d NOT BETWEEN 110 AND 150 - AND c BETWEEN b-2 AND d+2 - AND a>b ----- -21 values hashing to 46fba0cfd195e857073f018503f70144 - -query III rowsort x443 -SELECT a+b*2, - a+b*2+c*3+d*4, - a+b*2+c*3 - FROM t1 - WHERE d NOT BETWEEN 110 AND 150 - AND c BETWEEN b-2 AND d+2 - AND a>b - ORDER BY 1,2,3 ----- -21 values hashing to 46fba0cfd195e857073f018503f70144 - -query IIIII rowsort x444 -SELECT abs(a), - a+b*2, - d, - CASE a+1 WHEN b THEN 111 WHEN c THEN 222 - WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, - CASE WHEN ab-2 AND ac ----- -30 values hashing to ff7a47e2effec928f49caa98e41fbf53 - -query IIIII rowsort x444 -SELECT abs(a), - a+b*2, - d, - CASE a+1 WHEN b THEN 111 WHEN c THEN 222 - WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, - CASE WHEN ab-2 AND ac - ORDER BY 5,3,2,4,1 ----- -30 values hashing to ff7a47e2effec928f49caa98e41fbf53 - -query IIIII rowsort x444 -SELECT abs(a), - a+b*2, - d, - CASE a+1 WHEN b THEN 111 WHEN c THEN 222 - WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, - CASE WHEN ac - AND (a>b-2 AND ac - AND (a>b-2 AND aa AND ea AND ea AND ea AND ec ----- -39 values hashing to 96d628587b05021711e636831fb1226e - -query III rowsort x446 -SELECT c, - a+b*2+c*3, - d - FROM t1 - WHERE b>c - ORDER BY 1,2 ----- -39 values hashing to 96d628587b05021711e636831fb1226e - -query III rowsort x447 -SELECT a+b*2+c*3+d*4, - e, - c-d - FROM t1 ----- -90 values hashing to ff40c38c1c2a4e69dc1ecb22894659f8 - -query III rowsort x447 -SELECT a+b*2+c*3+d*4, - e, - c-d - FROM t1 - ORDER BY 3,2 ----- -90 values hashing to ff40c38c1c2a4e69dc1ecb22894659f8 - -query II rowsort x448 -SELECT (SELECT count(*) FROM t1 AS x WHERE x.bb-2 AND ab-2 AND ab-2 AND ab-2 AND ad - AND a>b - AND d>e ----- -18 values hashing to 17c53007ab36ea380c2c286e078e5d87 - -query IIIIII rowsort x450 -SELECT a-b, - a+b*2+c*3+d*4, - CASE WHEN ad - AND a>b - AND d>e - ORDER BY 4,6,1 ----- -18 values hashing to 17c53007ab36ea380c2c286e078e5d87 - -query IIIIII rowsort x450 -SELECT a-b, - a+b*2+c*3+d*4, - CASE WHEN ab - AND d>e - AND c>d ----- -18 values hashing to 17c53007ab36ea380c2c286e078e5d87 - -query IIIIII rowsort x450 -SELECT a-b, - a+b*2+c*3+d*4, - CASE WHEN ab - AND d>e - AND c>d - ORDER BY 5,1,4,6,3,2 ----- -18 values hashing to 17c53007ab36ea380c2c286e078e5d87 - -query IIIIII rowsort x450 -SELECT a-b, - a+b*2+c*3+d*4, - CASE WHEN ad - AND d>e - AND a>b ----- -18 values hashing to 17c53007ab36ea380c2c286e078e5d87 - -query IIIIII rowsort x450 -SELECT a-b, - a+b*2+c*3+d*4, - CASE WHEN ad - AND d>e - AND a>b - ORDER BY 1,4,5 ----- -18 values hashing to 17c53007ab36ea380c2c286e078e5d87 - -query IIII rowsort x451 -SELECT c-d, - (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.dt1.c AND x.d=d+2) ----- -20 values hashing to 92db286438e1a83f0e6c91f86f4c49fd - -query II rowsort x452 -SELECT a-b, - a+b*2+c*3 - FROM t1 - WHERE e+d BETWEEN a+b-10 AND c+130 - OR (c<=d-2 OR c>=d+2) - ORDER BY 1,2 ----- -20 values hashing to 92db286438e1a83f0e6c91f86f4c49fd - -query II rowsort x452 -SELECT a-b, - a+b*2+c*3 - FROM t1 - WHERE (c<=d-2 OR c>=d+2) - OR e+d BETWEEN a+b-10 AND c+130 ----- -20 values hashing to 92db286438e1a83f0e6c91f86f4c49fd - -query II rowsort x452 -SELECT a-b, - a+b*2+c*3 - FROM t1 - WHERE (c<=d-2 OR c>=d+2) - OR e+d BETWEEN a+b-10 AND c+130 - ORDER BY 1,2 ----- -20 values hashing to 92db286438e1a83f0e6c91f86f4c49fd - -query II rowsort x453 -SELECT (SELECT count(*) FROM t1 AS x WHERE x.be ----- -22 values hashing to 5a69bb44147ee819d934f1d387083d8a - -query II rowsort x453 -SELECT (SELECT count(*) FROM t1 AS x WHERE x.be - ORDER BY 1,2 ----- -22 values hashing to 5a69bb44147ee819d934f1d387083d8a - -query I rowsort x454 -SELECT d - FROM t1 ----- -30 values hashing to 169a721efb38857a8de46fcd1500025a - -query I rowsort x454 -SELECT d - FROM t1 - ORDER BY 1 ----- -30 values hashing to 169a721efb38857a8de46fcd1500025a - -query II rowsort x455 -SELECT c-d, - CASE a+1 WHEN b THEN 111 WHEN c THEN 222 - WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END - FROM t1 - WHERE EXISTS(SELECT 1 FROM t1 AS x WHERE x.ba AND eb ----- - -query IIIIIII rowsort x456 -SELECT a, - d-e, - c-d, - (SELECT count(*) FROM t1 AS x WHERE x.ba AND eb - ORDER BY 3,5,4,7,6 ----- - -query IIIIIII rowsort x456 -SELECT a, - d-e, - c-d, - (SELECT count(*) FROM t1 AS x WHERE x.ba AND eb - AND d NOT BETWEEN 110 AND 150 ----- - -query IIIIIII rowsort x456 -SELECT a, - d-e, - c-d, - (SELECT count(*) FROM t1 AS x WHERE x.ba AND eb - AND d NOT BETWEEN 110 AND 150 - ORDER BY 5,6,3,1,4,7,2 ----- - -query IIIIIII rowsort x456 -SELECT a, - d-e, - c-d, - (SELECT count(*) FROM t1 AS x WHERE x.bb - AND d NOT BETWEEN 110 AND 150 - AND (e>a AND eb - AND d NOT BETWEEN 110 AND 150 - AND (e>a AND eb - AND (e>a AND eb - AND (e>a AND ee - OR d NOT BETWEEN 110 AND 150 - OR c>d ----- -24 values hashing to 23f1fc77fb5b86515652f9873b16e3d5 - -query I rowsort x457 -SELECT abs(a) - FROM t1 - WHERE d>e - OR d NOT BETWEEN 110 AND 150 - OR c>d - ORDER BY 1 ----- -24 values hashing to 23f1fc77fb5b86515652f9873b16e3d5 - -query I rowsort x457 -SELECT abs(a) - FROM t1 - WHERE d>e - OR c>d - OR d NOT BETWEEN 110 AND 150 ----- -24 values hashing to 23f1fc77fb5b86515652f9873b16e3d5 - -query I rowsort x457 -SELECT abs(a) - FROM t1 - WHERE d>e - OR c>d - OR d NOT BETWEEN 110 AND 150 - ORDER BY 1 ----- -24 values hashing to 23f1fc77fb5b86515652f9873b16e3d5 - -query I rowsort x457 -SELECT abs(a) - FROM t1 - WHERE c>d - OR d>e - OR d NOT BETWEEN 110 AND 150 ----- -24 values hashing to 23f1fc77fb5b86515652f9873b16e3d5 - -query I rowsort x457 -SELECT abs(a) - FROM t1 - WHERE c>d - OR d>e - OR d NOT BETWEEN 110 AND 150 - ORDER BY 1 ----- -24 values hashing to 23f1fc77fb5b86515652f9873b16e3d5 - -query II rowsort x458 -SELECT a+b*2, - a+b*2+c*3+d*4 - FROM t1 - WHERE c BETWEEN b-2 AND d+2 - OR (c<=d-2 OR c>=d+2) - OR (e>c OR e=d+2) - OR (e>c OR ec OR e=d+2) - OR c BETWEEN b-2 AND d+2 ----- -50 values hashing to dcd5b5784df088d48900687d4319f5c1 - -query II rowsort x458 -SELECT a+b*2, - a+b*2+c*3+d*4 - FROM t1 - WHERE (e>c OR e=d+2) - OR c BETWEEN b-2 AND d+2 - ORDER BY 1,2 ----- -50 values hashing to dcd5b5784df088d48900687d4319f5c1 - -query II rowsort x458 -SELECT a+b*2, - a+b*2+c*3+d*4 - FROM t1 - WHERE (c<=d-2 OR c>=d+2) - OR (e>c OR e=d+2) - OR (e>c OR ec - AND c BETWEEN b-2 AND d+2 - AND (e>a AND ec - AND c BETWEEN b-2 AND d+2 - AND (e>a AND ea AND ec ----- -2 -743 -111 -246 -26 - -query IIIII rowsort x459 -SELECT d-e, - a+b*2, - CASE WHEN aa AND ec - ORDER BY 1,2 ----- -2 -743 -111 -246 -26 - -query IIIII rowsort x459 -SELECT d-e, - a+b*2, - CASE WHEN aa AND ec - AND c BETWEEN b-2 AND d+2 ----- -2 -743 -111 -246 -26 - -query IIIII rowsort x459 -SELECT d-e, - a+b*2, - CASE WHEN aa AND ec - AND c BETWEEN b-2 AND d+2 - ORDER BY 1,2,5 ----- -2 -743 -111 -246 -26 - -query IIIII rowsort x459 -SELECT d-e, - a+b*2, - CASE WHEN ac - AND (e>a AND ec - AND (e>a AND eb - AND (e>c OR e=d+2) ----- -15 values hashing to 20cea9b1e26190fa19ea3589c0dee2ba - -query III rowsort x460 -SELECT CASE WHEN ab - AND (e>c OR e=d+2) - ORDER BY 2,3 ----- -15 values hashing to 20cea9b1e26190fa19ea3589c0dee2ba - -query III rowsort x460 -SELECT CASE WHEN a=d+2) - AND a>b - AND (e>c OR e=d+2) - AND a>b - AND (e>c OR ec OR e=d+2) - AND a>b ----- -15 values hashing to 20cea9b1e26190fa19ea3589c0dee2ba - -query III rowsort x460 -SELECT CASE WHEN ac OR e=d+2) - AND a>b - ORDER BY 2,1 ----- -15 values hashing to 20cea9b1e26190fa19ea3589c0dee2ba - -query III rowsort x460 -SELECT CASE WHEN ac OR eb - AND (c<=d-2 OR c>=d+2) ----- -15 values hashing to 20cea9b1e26190fa19ea3589c0dee2ba - -query III rowsort x460 -SELECT CASE WHEN ac OR eb - AND (c<=d-2 OR c>=d+2) - ORDER BY 1,2 ----- -15 values hashing to 20cea9b1e26190fa19ea3589c0dee2ba - -query IIIIIII rowsort x461 -SELECT e, - CASE WHEN ab-2 AND ac OR eb-2 AND ac OR eb-2 AND ac OR eb-2 AND ac OR ec OR eb-2 AND ac OR eb-2 AND ac OR ec OR et1.c AND x.d=d+2) - AND c>d ----- -20 values hashing to e5b274399969a4489a0918946194021c - -query IIII rowsort x463 -SELECT a-b, - (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.d=d+2) - AND c>d - ORDER BY 4,2,3,1 ----- -20 values hashing to e5b274399969a4489a0918946194021c - -query IIII rowsort x463 -SELECT a-b, - (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.dd - AND (c<=d-2 OR c>=d+2) ----- -20 values hashing to e5b274399969a4489a0918946194021c - -query IIII rowsort x463 -SELECT a-b, - (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.dd - AND (c<=d-2 OR c>=d+2) - ORDER BY 3,4,2,1 ----- -20 values hashing to e5b274399969a4489a0918946194021c - -query IIIIII rowsort x464 -SELECT a, - a+b*2+c*3+d*4, - (a+b+c+d+e)/5, - CASE WHEN ad - AND (e>c OR ed - AND (e>c OR ec OR ed ----- -48 values hashing to ca3c93506e17359073b5710039fd37ae - -query IIIIII rowsort x464 -SELECT a, - a+b*2+c*3+d*4, - (a+b+c+d+e)/5, - CASE WHEN ac OR ed - ORDER BY 6,1,2,5,3,4 ----- -48 values hashing to ca3c93506e17359073b5710039fd37ae - -query III rowsort x465 -SELECT b, - b-c, - a+b*2+c*3+d*4+e*5 - FROM t1 - WHERE (c<=d-2 OR c>=d+2) - AND d>e - AND (a>b-2 AND a=d+2) - AND d>e - AND (a>b-2 AND ab-2 AND ae - AND (c<=d-2 OR c>=d+2) ----- - -query III rowsort x465 -SELECT b, - b-c, - a+b*2+c*3+d*4+e*5 - FROM t1 - WHERE (a>b-2 AND ae - AND (c<=d-2 OR c>=d+2) - ORDER BY 2,1 ----- - -query III rowsort x465 -SELECT b, - b-c, - a+b*2+c*3+d*4+e*5 - FROM t1 - WHERE d>e - AND (a>b-2 AND a=d+2) ----- - -query III rowsort x465 -SELECT b, - b-c, - a+b*2+c*3+d*4+e*5 - FROM t1 - WHERE d>e - AND (a>b-2 AND a=d+2) - ORDER BY 3,1,2 ----- - -query IIIII rowsort x466 -SELECT abs(a), - abs(b-c), - d-e, - CASE WHEN at1.c AND x.dd - AND b>c - AND e+d BETWEEN a+b-10 AND c+130 ----- - -query IIIII rowsort x466 -SELECT abs(a), - abs(b-c), - d-e, - CASE WHEN at1.c AND x.dd - AND b>c - AND e+d BETWEEN a+b-10 AND c+130 - ORDER BY 1,4,2 ----- - -query IIIII rowsort x466 -SELECT abs(a), - abs(b-c), - d-e, - CASE WHEN at1.c AND x.dd - AND b>c ----- - -query IIIII rowsort x466 -SELECT abs(a), - abs(b-c), - d-e, - CASE WHEN at1.c AND x.dd - AND b>c - ORDER BY 3,5 ----- - -query IIIII rowsort x466 -SELECT abs(a), - abs(b-c), - d-e, - CASE WHEN at1.c AND x.dc - AND c>d - AND e+d BETWEEN a+b-10 AND c+130 ----- - -query IIIII rowsort x466 -SELECT abs(a), - abs(b-c), - d-e, - CASE WHEN at1.c AND x.dc - AND c>d - AND e+d BETWEEN a+b-10 AND c+130 - ORDER BY 4,3,1,2 ----- - -query IIIII rowsort x467 -SELECT a-b, - a+b*2+c*3+d*4, - a+b*2+c*3+d*4+e*5, - b, - abs(a) - FROM t1 ----- -150 values hashing to 1b1550ce6f1c4cf9076f497c85f31201 - -query IIIII rowsort x467 -SELECT a-b, - a+b*2+c*3+d*4, - a+b*2+c*3+d*4+e*5, - b, - abs(a) - FROM t1 - ORDER BY 3,2,4,1,5 ----- -150 values hashing to 1b1550ce6f1c4cf9076f497c85f31201 - -query III rowsort x468 -SELECT CASE WHEN ab-2 AND ab-2 AND ab ----- -34 values hashing to 5d338a9ebf9ddb3c72dc89eb65b687c6 - -query II rowsort x469 -SELECT CASE WHEN ab - ORDER BY 2,1 ----- -34 values hashing to 5d338a9ebf9ddb3c72dc89eb65b687c6 - -query IIIIIII rowsort x470 -SELECT a+b*2, - a+b*2+c*3+d*4, - a+b*2+c*3, - abs(b-c), - b-c, - a+b*2+c*3+d*4+e*5, - abs(a) - FROM t1 - WHERE d NOT BETWEEN 110 AND 150 ----- -119 values hashing to 8753a74c6c3016be41f58f809c138c99 - -query IIIIIII rowsort x470 -SELECT a+b*2, - a+b*2+c*3+d*4, - a+b*2+c*3, - abs(b-c), - b-c, - a+b*2+c*3+d*4+e*5, - abs(a) - FROM t1 - WHERE d NOT BETWEEN 110 AND 150 - ORDER BY 3,7,6,1 ----- -119 values hashing to 8753a74c6c3016be41f58f809c138c99 - -query IIIIIII rowsort x471 -SELECT b-c, - (a+b+c+d+e)/5, - abs(a), - abs(b-c), - d, - d-e, - CASE a+1 WHEN b THEN 111 WHEN c THEN 222 - WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END - FROM t1 - WHERE d>e ----- -77 values hashing to f74a17597a51a27cb8d52e6d651824a8 - -query IIIIIII rowsort x471 -SELECT b-c, - (a+b+c+d+e)/5, - abs(a), - abs(b-c), - d, - d-e, - CASE a+1 WHEN b THEN 111 WHEN c THEN 222 - WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END - FROM t1 - WHERE d>e - ORDER BY 1,4,5 ----- -77 values hashing to f74a17597a51a27cb8d52e6d651824a8 - -query I rowsort x472 -SELECT b-c - FROM t1 - WHERE e+d BETWEEN a+b-10 AND c+130 ----- --1 -4 - -query I rowsort x472 -SELECT b-c - FROM t1 - WHERE e+d BETWEEN a+b-10 AND c+130 - ORDER BY 1 ----- --1 -4 - -query IIIIIII rowsort x473 -SELECT CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - (SELECT count(*) FROM t1 AS x WHERE x.b(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - (SELECT count(*) FROM t1 AS x WHERE x.b(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - (SELECT count(*) FROM t1 AS x WHERE x.b(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - (SELECT count(*) FROM t1 AS x WHERE x.bt1.c AND x.dt1.c AND x.d(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - c-d, - a - FROM t1 - WHERE a>b - AND EXISTS(SELECT 1 FROM t1 AS x WHERE x.b(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - c-d, - a - FROM t1 - WHERE a>b - AND EXISTS(SELECT 1 FROM t1 AS x WHERE x.b(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - c-d, - a - FROM t1 - WHERE EXISTS(SELECT 1 FROM t1 AS x WHERE x.bb ----- - -query IIIIII rowsort x476 -SELECT a+b*2, - a+b*2+c*3+d*4, - d, - CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - c-d, - a - FROM t1 - WHERE EXISTS(SELECT 1 FROM t1 AS x WHERE x.bb - ORDER BY 1,2,5,3,6 ----- - -query IIIIII rowsort x476 -SELECT a+b*2, - a+b*2+c*3+d*4, - d, - CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - c-d, - a - FROM t1 - WHERE EXISTS(SELECT 1 FROM t1 AS x WHERE x.bb - AND e+d BETWEEN a+b-10 AND c+130 ----- - -query IIIIII rowsort x476 -SELECT a+b*2, - a+b*2+c*3+d*4, - d, - CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - c-d, - a - FROM t1 - WHERE EXISTS(SELECT 1 FROM t1 AS x WHERE x.bb - AND e+d BETWEEN a+b-10 AND c+130 - ORDER BY 2,1 ----- - -query IIIIII rowsort x476 -SELECT a+b*2, - a+b*2+c*3+d*4, - d, - CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - c-d, - a - FROM t1 - WHERE a>b - AND e+d BETWEEN a+b-10 AND c+130 - AND EXISTS(SELECT 1 FROM t1 AS x WHERE x.b(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - c-d, - a - FROM t1 - WHERE a>b - AND e+d BETWEEN a+b-10 AND c+130 - AND EXISTS(SELECT 1 FROM t1 AS x WHERE x.b(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - e, - c - FROM t1 - WHERE EXISTS(SELECT 1 FROM t1 AS x WHERE x.b(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - e, - c - FROM t1 - WHERE EXISTS(SELECT 1 FROM t1 AS x WHERE x.b(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - e, - c - FROM t1 - WHERE e+d BETWEEN a+b-10 AND c+130 - OR EXISTS(SELECT 1 FROM t1 AS x WHERE x.b(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - e, - c - FROM t1 - WHERE e+d BETWEEN a+b-10 AND c+130 - OR EXISTS(SELECT 1 FROM t1 AS x WHERE x.b(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - e, - c - FROM t1 - WHERE e+d BETWEEN a+b-10 AND c+130 - OR c BETWEEN b-2 AND d+2 - OR EXISTS(SELECT 1 FROM t1 AS x WHERE x.b(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - e, - c - FROM t1 - WHERE e+d BETWEEN a+b-10 AND c+130 - OR c BETWEEN b-2 AND d+2 - OR EXISTS(SELECT 1 FROM t1 AS x WHERE x.bd - OR d>e - OR (e>a AND ed - OR d>e - OR (e>a AND ea AND ed - OR d>e ----- -57 values hashing to 7ece664b68f1d5dd5df20c38b45bf700 - -query III rowsort x478 -SELECT b-c, - c-d, - a+b*2 - FROM t1 - WHERE (e>a AND ed - OR d>e - ORDER BY 2,1 ----- -57 values hashing to 7ece664b68f1d5dd5df20c38b45bf700 - -query III rowsort x478 -SELECT b-c, - c-d, - a+b*2 - FROM t1 - WHERE (e>a AND ee - OR c>d ----- -57 values hashing to 7ece664b68f1d5dd5df20c38b45bf700 - -query III rowsort x478 -SELECT b-c, - c-d, - a+b*2 - FROM t1 - WHERE (e>a AND ee - OR c>d - ORDER BY 1,2 ----- -57 values hashing to 7ece664b68f1d5dd5df20c38b45bf700 - -query III rowsort x478 -SELECT b-c, - c-d, - a+b*2 - FROM t1 - WHERE c>d - OR (e>a AND ee ----- -57 values hashing to 7ece664b68f1d5dd5df20c38b45bf700 - -query III rowsort x478 -SELECT b-c, - c-d, - a+b*2 - FROM t1 - WHERE c>d - OR (e>a AND ee - ORDER BY 2,1,3 ----- -57 values hashing to 7ece664b68f1d5dd5df20c38b45bf700 - -query IIIIII rowsort x479 -SELECT c, - a+b*2+c*3, - a, - d, - a+b*2, - b - FROM t1 - WHERE (e>c OR ec OR e(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - a+b*2, - d, - a - FROM t1 ----- -150 values hashing to 9ee680f1a55fdef2116dcd0ea18d205a - -query IIIII rowsort x480 -SELECT d-e, - CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - a+b*2, - d, - a - FROM t1 - ORDER BY 5,1 ----- -150 values hashing to 9ee680f1a55fdef2116dcd0ea18d205a - -query IIIII rowsort x481 -SELECT abs(a), - b-c, - a-b, - a, - d-e - FROM t1 ----- -150 values hashing to e7378b047d883082b38d789060e0ef95 - -query IIIII rowsort x481 -SELECT abs(a), - b-c, - a-b, - a, - d-e - FROM t1 - ORDER BY 4,5,3 ----- -150 values hashing to e7378b047d883082b38d789060e0ef95 - -query IIIIIII rowsort x482 -SELECT b, - c-d, - CASE WHEN a(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - (SELECT count(*) FROM t1 AS x WHERE x.b(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - (SELECT count(*) FROM t1 AS x WHERE x.b(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - c-d, - a, - CASE WHEN ae ----- -77 values hashing to 16093e77f72d0aa3214799803026d32d - -query IIIIIII rowsort x483 -SELECT abs(b-c), - d-e, - b, - CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - c-d, - a, - CASE WHEN ae - ORDER BY 6,4,5,1,7,2,3 ----- -77 values hashing to 16093e77f72d0aa3214799803026d32d - -query IIIIII rowsort x484 -SELECT b-c, - d-e, - (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.dc OR et1.c AND x.dc OR ea AND eb - OR (c<=d-2 OR c>=d+2) ----- -161 values hashing to 44ac998ab65c19bee4410d6d64048302 - -query IIIIIII rowsort x485 -SELECT d, - a+b*2+c*3+d*4+e*5, - a+b*2+c*3, - CASE WHEN aa AND eb - OR (c<=d-2 OR c>=d+2) - ORDER BY 5,6,4,3,1,7 ----- -161 values hashing to 44ac998ab65c19bee4410d6d64048302 - -query IIIIIII rowsort x485 -SELECT d, - a+b*2+c*3+d*4+e*5, - a+b*2+c*3, - CASE WHEN aa AND e=d+2) - OR a>b ----- -161 values hashing to 44ac998ab65c19bee4410d6d64048302 - -query IIIIIII rowsort x485 -SELECT d, - a+b*2+c*3+d*4+e*5, - a+b*2+c*3, - CASE WHEN aa AND e=d+2) - OR a>b - ORDER BY 5,6,1,2,7,3,4 ----- -161 values hashing to 44ac998ab65c19bee4410d6d64048302 - -query IIIIII rowsort x486 -SELECT CASE WHEN a(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END - FROM t1 - WHERE c BETWEEN b-2 AND d+2 - AND d>e - AND (e>a AND e(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END - FROM t1 - WHERE c BETWEEN b-2 AND d+2 - AND d>e - AND (e>a AND e(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END - FROM t1 - WHERE d>e - AND c BETWEEN b-2 AND d+2 - AND (e>a AND e(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END - FROM t1 - WHERE d>e - AND c BETWEEN b-2 AND d+2 - AND (e>a AND e(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END - FROM t1 - WHERE (e>a AND ee - AND c BETWEEN b-2 AND d+2 ----- -12 values hashing to f2c764c5c74ab5249e4c5d2a30b60401 - -query IIIIII rowsort x486 -SELECT CASE WHEN a(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END - FROM t1 - WHERE (e>a AND ee - AND c BETWEEN b-2 AND d+2 - ORDER BY 4,3 ----- -12 values hashing to f2c764c5c74ab5249e4c5d2a30b60401 - -query IIIIII rowsort x486 -SELECT CASE WHEN a(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END - FROM t1 - WHERE c BETWEEN b-2 AND d+2 - AND (e>a AND ee ----- -12 values hashing to f2c764c5c74ab5249e4c5d2a30b60401 - -query IIIIII rowsort x486 -SELECT CASE WHEN a(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END - FROM t1 - WHERE c BETWEEN b-2 AND d+2 - AND (e>a AND ee - ORDER BY 5,2,3 ----- -12 values hashing to f2c764c5c74ab5249e4c5d2a30b60401 - -query I rowsort x487 -SELECT a-b - FROM t1 - WHERE c BETWEEN b-2 AND d+2 ----- -15 values hashing to 0462df69a372162bd2326b32559acd24 - -query I rowsort x487 -SELECT a-b - FROM t1 - WHERE c BETWEEN b-2 AND d+2 - ORDER BY 1 ----- -15 values hashing to 0462df69a372162bd2326b32559acd24 - -query IIIIIII rowsort x488 -SELECT a-b, - (a+b+c+d+e)/5, - CASE a+1 WHEN b THEN 111 WHEN c THEN 222 - WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, - abs(b-c), - (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.db-2 AND at1.c AND x.db-2 AND ad ----- -140 values hashing to 16f5a6bc5dd998e2e3b84b3a5f72fefe - -query IIIII rowsort x490 -SELECT d-e, - abs(a), - a, - abs(b-c), - a+b*2+c*3 - FROM t1 - WHERE EXISTS(SELECT 1 FROM t1 AS x WHERE x.bd - ORDER BY 5,2 ----- -140 values hashing to 16f5a6bc5dd998e2e3b84b3a5f72fefe - -query I rowsort x491 -SELECT abs(a) - FROM t1 - WHERE d NOT BETWEEN 110 AND 150 - AND (c<=d-2 OR c>=d+2) ----- -107 -163 -188 -191 -213 -216 -220 -234 - -query I rowsort x491 -SELECT abs(a) - FROM t1 - WHERE d NOT BETWEEN 110 AND 150 - AND (c<=d-2 OR c>=d+2) - ORDER BY 1 ----- -107 -163 -188 -191 -213 -216 -220 -234 - -query I rowsort x491 -SELECT abs(a) - FROM t1 - WHERE (c<=d-2 OR c>=d+2) - AND d NOT BETWEEN 110 AND 150 ----- -107 -163 -188 -191 -213 -216 -220 -234 - -query I rowsort x491 -SELECT abs(a) - FROM t1 - WHERE (c<=d-2 OR c>=d+2) - AND d NOT BETWEEN 110 AND 150 - ORDER BY 1 ----- -107 -163 -188 -191 -213 -216 -220 -234 - -query IIIIIII rowsort x492 -SELECT a+b*2+c*3+d*4, - CASE WHEN ac OR ec OR ea AND ea AND et1.c AND x.da AND eb ----- - -query IIIIII rowsort x494 -SELECT CASE a+1 WHEN b THEN 111 WHEN c THEN 222 - WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, - CASE WHEN at1.c AND x.da AND eb - ORDER BY 3,2 ----- - -query IIIIII rowsort x494 -SELECT CASE a+1 WHEN b THEN 111 WHEN c THEN 222 - WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, - CASE WHEN at1.c AND x.db - AND (e>a AND et1.c AND x.db - AND (e>a AND ec - OR (c<=d-2 OR c>=d+2) - OR a>b ----- -130 values hashing to 0011ef36e28a0677318e32f0b4bb6169 - -query IIIII rowsort x495 -SELECT abs(b-c), - a+b*2, - abs(a), - d-e, - CASE WHEN ac - OR (c<=d-2 OR c>=d+2) - OR a>b - ORDER BY 3,2,5,1 ----- -130 values hashing to 0011ef36e28a0677318e32f0b4bb6169 - -query IIIII rowsort x495 -SELECT abs(b-c), - a+b*2, - abs(a), - d-e, - CASE WHEN ab - OR (c<=d-2 OR c>=d+2) - OR b>c ----- -130 values hashing to 0011ef36e28a0677318e32f0b4bb6169 - -query IIIII rowsort x495 -SELECT abs(b-c), - a+b*2, - abs(a), - d-e, - CASE WHEN ab - OR (c<=d-2 OR c>=d+2) - OR b>c - ORDER BY 1,4 ----- -130 values hashing to 0011ef36e28a0677318e32f0b4bb6169 - -query IIIII rowsort x495 -SELECT abs(b-c), - a+b*2, - abs(a), - d-e, - CASE WHEN ac - OR a>b - OR (c<=d-2 OR c>=d+2) ----- -130 values hashing to 0011ef36e28a0677318e32f0b4bb6169 - -query IIIII rowsort x495 -SELECT abs(b-c), - a+b*2, - abs(a), - d-e, - CASE WHEN ac - OR a>b - OR (c<=d-2 OR c>=d+2) - ORDER BY 3,4,1 ----- -130 values hashing to 0011ef36e28a0677318e32f0b4bb6169 - -query IIIII rowsort x496 -SELECT a+b*2, - CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.d(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.dt1.c AND x.db - AND (c<=d-2 OR c>=d+2) ----- -10 values hashing to 7d54f2060f72872c2e80edaef61163c1 - -query II rowsort x498 -SELECT (SELECT count(*) FROM t1 AS x WHERE x.bt1.c AND x.db - AND (c<=d-2 OR c>=d+2) - ORDER BY 1,2 ----- -10 values hashing to 7d54f2060f72872c2e80edaef61163c1 - -query II rowsort x498 -SELECT (SELECT count(*) FROM t1 AS x WHERE x.bt1.c AND x.d=d+2) - AND a>b ----- -10 values hashing to 7d54f2060f72872c2e80edaef61163c1 - -query II rowsort x498 -SELECT (SELECT count(*) FROM t1 AS x WHERE x.bt1.c AND x.d=d+2) - AND a>b - ORDER BY 2,1 ----- -10 values hashing to 7d54f2060f72872c2e80edaef61163c1 - -query IIIIII rowsort x499 -SELECT a+b*2, - abs(a), - CASE WHEN a=d+2) - AND d>e - AND (e>c OR e=d+2) - AND d>e - AND (e>c OR ec OR e=d+2) - AND d>e ----- -30 values hashing to 00e154afdc515fe6805c2adeead80dc8 - -query IIIIII rowsort x500 -SELECT CASE a+1 WHEN b THEN 111 WHEN c THEN 222 - WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, - a+b*2+c*3+d*4, - a, - CASE WHEN ac OR e=d+2) - AND d>e - ORDER BY 4,1,2,6 ----- -30 values hashing to 00e154afdc515fe6805c2adeead80dc8 - -query IIIII rowsort x501 -SELECT b-c, - c-d, - (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.de ----- -55 values hashing to 9ee42810091de9e456cdf451707dfb19 - -query IIIII rowsort x501 -SELECT b-c, - c-d, - (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.de - ORDER BY 4,1 ----- -55 values hashing to 9ee42810091de9e456cdf451707dfb19 - -query IIIIII rowsort x502 -SELECT abs(a), - a+b*2, - c-d, - abs(b-c), - a+b*2+c*3, - a-b - FROM t1 - WHERE b>c ----- -78 values hashing to 05c3a0c169dae692b136ec4da7900710 - -query IIIIII rowsort x502 -SELECT abs(a), - a+b*2, - c-d, - abs(b-c), - a+b*2+c*3, - a-b - FROM t1 - WHERE b>c - ORDER BY 3,2 ----- -78 values hashing to 05c3a0c169dae692b136ec4da7900710 - -query III rowsort x503 -SELECT CASE WHEN aa AND ea AND ea AND ea AND e(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END - FROM t1 - WHERE (e>a AND eb-2 AND a(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END - FROM t1 - WHERE (e>a AND eb-2 AND a(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END - FROM t1 - WHERE (a>b-2 AND aa AND e(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END - FROM t1 - WHERE (a>b-2 AND aa AND ec - OR (e>c OR ec - OR (e>c OR ec OR ec ----- -25 values hashing to 64a52fdf762f93fa572da96c506b2fe2 - -query I rowsort x506 -SELECT a+b*2+c*3 - FROM t1 - WHERE e+d BETWEEN a+b-10 AND c+130 - OR (e>c OR ec - ORDER BY 1 ----- -25 values hashing to 64a52fdf762f93fa572da96c506b2fe2 - -query I rowsort x506 -SELECT a+b*2+c*3 - FROM t1 - WHERE (e>c OR ec - OR e+d BETWEEN a+b-10 AND c+130 ----- -25 values hashing to 64a52fdf762f93fa572da96c506b2fe2 - -query I rowsort x506 -SELECT a+b*2+c*3 - FROM t1 - WHERE (e>c OR ec - OR e+d BETWEEN a+b-10 AND c+130 - ORDER BY 1 ----- -25 values hashing to 64a52fdf762f93fa572da96c506b2fe2 - -query II rowsort x507 -SELECT a, - CASE WHEN ac OR e=d+2) ----- -40 values hashing to fae5120fb39277696b35aa3553bfd248 - -query IIIII rowsort x508 -SELECT a, - CASE WHEN ac OR e=d+2) - ORDER BY 2,1,3,4,5 ----- -40 values hashing to fae5120fb39277696b35aa3553bfd248 - -query IIIII rowsort x508 -SELECT a, - CASE WHEN a=d+2) - AND (e>c OR e=d+2) - AND (e>c OR et1.c AND x.db-2 AND at1.c AND x.db-2 AND at1.c AND x.db-2 AND at1.c AND x.db-2 AND at1.c AND x.db-2 AND at1.c AND x.db-2 AND at1.c AND x.db-2 AND at1.c AND x.db-2 AND ab-2 AND ab ----- -12 values hashing to a55c98f195d20b15999740a67127a991 - -query IIII rowsort x512 -SELECT CASE a+1 WHEN b THEN 111 WHEN c THEN 222 - WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, - a+b*2+c*3, - c-d, - e - FROM t1 - WHERE d NOT BETWEEN 110 AND 150 - AND (a>b-2 AND ab - ORDER BY 3,2,1,4 ----- -12 values hashing to a55c98f195d20b15999740a67127a991 - -query IIII rowsort x512 -SELECT CASE a+1 WHEN b THEN 111 WHEN c THEN 222 - WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, - a+b*2+c*3, - c-d, - e - FROM t1 - WHERE (a>b-2 AND ab - AND d NOT BETWEEN 110 AND 150 ----- -12 values hashing to a55c98f195d20b15999740a67127a991 - -query IIII rowsort x512 -SELECT CASE a+1 WHEN b THEN 111 WHEN c THEN 222 - WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, - a+b*2+c*3, - c-d, - e - FROM t1 - WHERE (a>b-2 AND ab - AND d NOT BETWEEN 110 AND 150 - ORDER BY 2,4,3 ----- -12 values hashing to a55c98f195d20b15999740a67127a991 - -query IIIIIII rowsort x513 -SELECT (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.dt1.c AND x.dc ----- -65 values hashing to 3008ddf6b506ac06a02ab54f4a4dbab7 - -query IIIII rowsort x514 -SELECT (SELECT count(*) FROM t1 AS x WHERE x.bc - ORDER BY 3,2,1,5,4 ----- -65 values hashing to 3008ddf6b506ac06a02ab54f4a4dbab7 - -query IIIII rowsort x514 -SELECT (SELECT count(*) FROM t1 AS x WHERE x.bc - AND EXISTS(SELECT 1 FROM t1 AS x WHERE x.bc - AND EXISTS(SELECT 1 FROM t1 AS x WHERE x.bt1.c AND x.d(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - a+b*2+c*3+d*4+e*5 - FROM t1 - WHERE (e>a AND ec OR ec ----- -175 values hashing to e99a4f7e39ea9b3735fc5ef9e055f336 - -query IIIIIII rowsort x515 -SELECT e, - abs(a), - (SELECT count(*) FROM t1 AS x WHERE x.bt1.c AND x.d(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - a+b*2+c*3+d*4+e*5 - FROM t1 - WHERE (e>a AND ec OR ec - ORDER BY 5,4,3,6,2,1,7 ----- -175 values hashing to e99a4f7e39ea9b3735fc5ef9e055f336 - -query IIIIIII rowsort x515 -SELECT e, - abs(a), - (SELECT count(*) FROM t1 AS x WHERE x.bt1.c AND x.d(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - a+b*2+c*3+d*4+e*5 - FROM t1 - WHERE (e>c OR ec - OR (e>a AND et1.c AND x.d(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - a+b*2+c*3+d*4+e*5 - FROM t1 - WHERE (e>c OR ec - OR (e>a AND et1.c AND x.d(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - a+b*2+c*3+d*4+e*5 - FROM t1 - WHERE b>c - OR (e>c OR ea AND et1.c AND x.d(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - a+b*2+c*3+d*4+e*5 - FROM t1 - WHERE b>c - OR (e>c OR ea AND et1.c AND x.d(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - a+b*2+c*3+d*4+e*5 - FROM t1 - WHERE (e>c OR ea AND ec ----- -175 values hashing to e99a4f7e39ea9b3735fc5ef9e055f336 - -query IIIIIII rowsort x515 -SELECT e, - abs(a), - (SELECT count(*) FROM t1 AS x WHERE x.bt1.c AND x.d(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - a+b*2+c*3+d*4+e*5 - FROM t1 - WHERE (e>c OR ea AND ec - ORDER BY 5,3 ----- -175 values hashing to e99a4f7e39ea9b3735fc5ef9e055f336 - -query IIII rowsort x516 -SELECT a+b*2+c*3+d*4, - b-c, - c-d, - a - FROM t1 - WHERE b>c - OR (e>c OR e=d+2) ----- -104 values hashing to 33946dd780d80a44b8a5a40324ac28c1 - -query IIII rowsort x516 -SELECT a+b*2+c*3+d*4, - b-c, - c-d, - a - FROM t1 - WHERE b>c - OR (e>c OR e=d+2) - ORDER BY 3,4,2,1 ----- -104 values hashing to 33946dd780d80a44b8a5a40324ac28c1 - -query IIII rowsort x516 -SELECT a+b*2+c*3+d*4, - b-c, - c-d, - a - FROM t1 - WHERE (e>c OR ec - OR (c<=d-2 OR c>=d+2) ----- -104 values hashing to 33946dd780d80a44b8a5a40324ac28c1 - -query IIII rowsort x516 -SELECT a+b*2+c*3+d*4, - b-c, - c-d, - a - FROM t1 - WHERE (e>c OR ec - OR (c<=d-2 OR c>=d+2) - ORDER BY 2,3 ----- -104 values hashing to 33946dd780d80a44b8a5a40324ac28c1 - -query IIII rowsort x516 -SELECT a+b*2+c*3+d*4, - b-c, - c-d, - a - FROM t1 - WHERE b>c - OR (c<=d-2 OR c>=d+2) - OR (e>c OR ec - OR (c<=d-2 OR c>=d+2) - OR (e>c OR e=d+2) - OR b>c - OR (e>c OR e=d+2) - OR b>c - OR (e>c OR et1.c AND x.d=d+2) - AND b>c - AND c BETWEEN b-2 AND d+2 ----- -0 -698 -231 -233 -230 - -query IIIII rowsort x518 -SELECT (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.d=d+2) - AND b>c - AND c BETWEEN b-2 AND d+2 - ORDER BY 5,1,4,2 ----- -0 -698 -231 -233 -230 - -query IIIII rowsort x518 -SELECT (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.dc - AND (c<=d-2 OR c>=d+2) - AND c BETWEEN b-2 AND d+2 ----- -0 -698 -231 -233 -230 - -query IIIII rowsort x518 -SELECT (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.dc - AND (c<=d-2 OR c>=d+2) - AND c BETWEEN b-2 AND d+2 - ORDER BY 5,1,3 ----- -0 -698 -231 -233 -230 - -query IIIII rowsort x518 -SELECT (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.dc - AND c BETWEEN b-2 AND d+2 - AND (c<=d-2 OR c>=d+2) ----- -0 -698 -231 -233 -230 - -query IIIII rowsort x518 -SELECT (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.dc - AND c BETWEEN b-2 AND d+2 - AND (c<=d-2 OR c>=d+2) - ORDER BY 3,2 ----- -0 -698 -231 -233 -230 - -query IIIIII rowsort x519 -SELECT (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.d(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - c - FROM t1 ----- -180 values hashing to ea162126b301a546664c33ff053c4566 - -query IIIIII rowsort x519 -SELECT (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.d(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - c - FROM t1 - ORDER BY 4,2,1,6 ----- -180 values hashing to ea162126b301a546664c33ff053c4566 - -query IIIIIII rowsort x520 -SELECT b-c, - abs(a), - CASE a+1 WHEN b THEN 111 WHEN c THEN 222 - WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, - a-b, - CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - a+b*2+c*3+d*4, - e - FROM t1 - WHERE d>e - OR a>b - OR e+d BETWEEN a+b-10 AND c+130 ----- -154 values hashing to ed3dbfdce513c2b78ba7fd5300dd487d - -query IIIIIII rowsort x520 -SELECT b-c, - abs(a), - CASE a+1 WHEN b THEN 111 WHEN c THEN 222 - WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, - a-b, - CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - a+b*2+c*3+d*4, - e - FROM t1 - WHERE d>e - OR a>b - OR e+d BETWEEN a+b-10 AND c+130 - ORDER BY 5,3 ----- -154 values hashing to ed3dbfdce513c2b78ba7fd5300dd487d - -query IIIIIII rowsort x520 -SELECT b-c, - abs(a), - CASE a+1 WHEN b THEN 111 WHEN c THEN 222 - WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, - a-b, - CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - a+b*2+c*3+d*4, - e - FROM t1 - WHERE e+d BETWEEN a+b-10 AND c+130 - OR a>b - OR d>e ----- -154 values hashing to ed3dbfdce513c2b78ba7fd5300dd487d - -query IIIIIII rowsort x520 -SELECT b-c, - abs(a), - CASE a+1 WHEN b THEN 111 WHEN c THEN 222 - WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, - a-b, - CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - a+b*2+c*3+d*4, - e - FROM t1 - WHERE e+d BETWEEN a+b-10 AND c+130 - OR a>b - OR d>e - ORDER BY 5,4 ----- -154 values hashing to ed3dbfdce513c2b78ba7fd5300dd487d - -query IIIIIII rowsort x520 -SELECT b-c, - abs(a), - CASE a+1 WHEN b THEN 111 WHEN c THEN 222 - WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, - a-b, - CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - a+b*2+c*3+d*4, - e - FROM t1 - WHERE a>b - OR d>e - OR e+d BETWEEN a+b-10 AND c+130 ----- -154 values hashing to ed3dbfdce513c2b78ba7fd5300dd487d - -query IIIIIII rowsort x520 -SELECT b-c, - abs(a), - CASE a+1 WHEN b THEN 111 WHEN c THEN 222 - WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, - a-b, - CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - a+b*2+c*3+d*4, - e - FROM t1 - WHERE a>b - OR d>e - OR e+d BETWEEN a+b-10 AND c+130 - ORDER BY 6,1,3,5,7,4 ----- -154 values hashing to ed3dbfdce513c2b78ba7fd5300dd487d - -query IIII rowsort x521 -SELECT c-d, - (SELECT count(*) FROM t1 AS x WHERE x.b(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - CASE a+1 WHEN b THEN 111 WHEN c THEN 222 - WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END - FROM t1 - WHERE d NOT BETWEEN 110 AND 150 - OR e+d BETWEEN a+b-10 AND c+130 ----- -72 values hashing to 4d667e79e731c3952e5378b96fd2a448 - -query IIII rowsort x521 -SELECT c-d, - (SELECT count(*) FROM t1 AS x WHERE x.b(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - CASE a+1 WHEN b THEN 111 WHEN c THEN 222 - WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END - FROM t1 - WHERE d NOT BETWEEN 110 AND 150 - OR e+d BETWEEN a+b-10 AND c+130 - ORDER BY 2,4,1,3 ----- -72 values hashing to 4d667e79e731c3952e5378b96fd2a448 - -query IIII rowsort x521 -SELECT c-d, - (SELECT count(*) FROM t1 AS x WHERE x.b(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - CASE a+1 WHEN b THEN 111 WHEN c THEN 222 - WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END - FROM t1 - WHERE e+d BETWEEN a+b-10 AND c+130 - OR d NOT BETWEEN 110 AND 150 ----- -72 values hashing to 4d667e79e731c3952e5378b96fd2a448 - -query IIII rowsort x521 -SELECT c-d, - (SELECT count(*) FROM t1 AS x WHERE x.b(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - CASE a+1 WHEN b THEN 111 WHEN c THEN 222 - WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END - FROM t1 - WHERE e+d BETWEEN a+b-10 AND c+130 - OR d NOT BETWEEN 110 AND 150 - ORDER BY 3,2,1,4 ----- -72 values hashing to 4d667e79e731c3952e5378b96fd2a448 - -query II rowsort x522 -SELECT e, - b - FROM t1 ----- -60 values hashing to aea68eb2207c713683774d94afe4f14d - -query II rowsort x522 -SELECT e, - b - FROM t1 - ORDER BY 1,2 ----- -60 values hashing to aea68eb2207c713683774d94afe4f14d - -query IIIIII rowsort x523 -SELECT c, - (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.dt1.c AND x.db-2 AND a=d+2) - OR b>c ----- -42 values hashing to 84d2510a39db3f4308120d8b0ab47b9d - -query II rowsort x525 -SELECT a, - b-c - FROM t1 - WHERE (a>b-2 AND a=d+2) - OR b>c - ORDER BY 1,2 ----- -42 values hashing to 84d2510a39db3f4308120d8b0ab47b9d - -query II rowsort x525 -SELECT a, - b-c - FROM t1 - WHERE b>c - OR (a>b-2 AND a=d+2) ----- -42 values hashing to 84d2510a39db3f4308120d8b0ab47b9d - -query II rowsort x525 -SELECT a, - b-c - FROM t1 - WHERE b>c - OR (a>b-2 AND a=d+2) - ORDER BY 2,1 ----- -42 values hashing to 84d2510a39db3f4308120d8b0ab47b9d - -query II rowsort x525 -SELECT a, - b-c - FROM t1 - WHERE (a>b-2 AND ac - OR (c<=d-2 OR c>=d+2) ----- -42 values hashing to 84d2510a39db3f4308120d8b0ab47b9d - -query II rowsort x525 -SELECT a, - b-c - FROM t1 - WHERE (a>b-2 AND ac - OR (c<=d-2 OR c>=d+2) - ORDER BY 1,2 ----- -42 values hashing to 84d2510a39db3f4308120d8b0ab47b9d - -query III rowsort x526 -SELECT c-d, - (SELECT count(*) FROM t1 AS x WHERE x.b(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END - FROM t1 - WHERE (e>c OR e(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END - FROM t1 - WHERE (e>c OR eb-2 AND ab-2 AND a=d+2) - AND (a>b-2 AND a=d+2) - AND (a>b-2 AND ab-2 AND a=d+2) ----- - -query IIIIII rowsort x528 -SELECT c, - CASE WHEN ab-2 AND a=d+2) - ORDER BY 2,6,1 ----- - -query IIII rowsort x529 -SELECT c, - CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - a+b*2+c*3+d*4, - c-d - FROM t1 - WHERE (e>a AND ec OR e(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - a+b*2+c*3+d*4, - c-d - FROM t1 - WHERE (e>a AND ec OR e(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - a+b*2+c*3+d*4, - c-d - FROM t1 - WHERE (e>c OR ea AND e(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - a+b*2+c*3+d*4, - c-d - FROM t1 - WHERE (e>c OR ea AND e(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - a+b*2+c*3+d*4, - c-d - FROM t1 - WHERE (e>c OR ea AND e(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - a+b*2+c*3+d*4, - c-d - FROM t1 - WHERE (e>c OR ea AND e(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - a+b*2+c*3+d*4, - c-d - FROM t1 - WHERE (e>a AND ec OR e(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - a+b*2+c*3+d*4, - c-d - FROM t1 - WHERE (e>a AND ec OR ee - OR (e>c OR ee - OR (e>c OR ec OR ee ----- -21 values hashing to b84ff2c254f6ba4bcd8942c4ceb7e064 - -query I rowsort x530 -SELECT b - FROM t1 - WHERE (e>c OR ee - ORDER BY 1 ----- -21 values hashing to b84ff2c254f6ba4bcd8942c4ceb7e064 - -query III rowsort x531 -SELECT abs(a), - CASE WHEN a(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END - FROM t1 ----- -90 values hashing to 774ffc972efa8f12fb5270b9a2811464 - -query III rowsort x531 -SELECT abs(a), - CASE WHEN a(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END - FROM t1 - ORDER BY 1,2,3 ----- -90 values hashing to 774ffc972efa8f12fb5270b9a2811464 - -query IIII rowsort x532 -SELECT c, - a+b*2+c*3+d*4+e*5, - b-c, - a - FROM t1 - WHERE a>b - OR c>d - OR e+d BETWEEN a+b-10 AND c+130 ----- -104 values hashing to 9d70636a8311231198a150a2ac8bb8f9 - -query IIII rowsort x532 -SELECT c, - a+b*2+c*3+d*4+e*5, - b-c, - a - FROM t1 - WHERE a>b - OR c>d - OR e+d BETWEEN a+b-10 AND c+130 - ORDER BY 4,3 ----- -104 values hashing to 9d70636a8311231198a150a2ac8bb8f9 - -query IIII rowsort x532 -SELECT c, - a+b*2+c*3+d*4+e*5, - b-c, - a - FROM t1 - WHERE a>b - OR e+d BETWEEN a+b-10 AND c+130 - OR c>d ----- -104 values hashing to 9d70636a8311231198a150a2ac8bb8f9 - -query IIII rowsort x532 -SELECT c, - a+b*2+c*3+d*4+e*5, - b-c, - a - FROM t1 - WHERE a>b - OR e+d BETWEEN a+b-10 AND c+130 - OR c>d - ORDER BY 3,1,4 ----- -104 values hashing to 9d70636a8311231198a150a2ac8bb8f9 - -query IIII rowsort x533 -SELECT (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.dc - AND d NOT BETWEEN 110 AND 150 ----- -24 values hashing to 4eefd8751c9e5d963858bd7c3e44d8de - -query IIII rowsort x533 -SELECT (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.dc - AND d NOT BETWEEN 110 AND 150 - ORDER BY 1,4 ----- -24 values hashing to 4eefd8751c9e5d963858bd7c3e44d8de - -query IIII rowsort x533 -SELECT (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.dc ----- -24 values hashing to 4eefd8751c9e5d963858bd7c3e44d8de - -query IIII rowsort x533 -SELECT (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.dc - ORDER BY 2,1,4,3 ----- -24 values hashing to 4eefd8751c9e5d963858bd7c3e44d8de - -query II rowsort x534 -SELECT CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - (a+b+c+d+e)/5 - FROM t1 - WHERE EXISTS(SELECT 1 FROM t1 AS x WHERE x.b(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - (a+b+c+d+e)/5 - FROM t1 - WHERE EXISTS(SELECT 1 FROM t1 AS x WHERE x.bc OR ec OR ec OR ec OR ee - OR (a>b-2 AND ae - OR (a>b-2 AND ab-2 AND ae ----- -64 values hashing to e06b774130bc687e564232bbcf51a91e - -query IIII rowsort x537 -SELECT c, - a+b*2+c*3+d*4+e*5, - d-e, - (a+b+c+d+e)/5 - FROM t1 - WHERE (a>b-2 AND ae - ORDER BY 3,1 ----- -64 values hashing to e06b774130bc687e564232bbcf51a91e - -query IIIIII rowsort x538 -SELECT d, - a+b*2+c*3+d*4+e*5, - (a+b+c+d+e)/5, - e, - CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - a - FROM t1 - WHERE e+d BETWEEN a+b-10 AND c+130 - OR d>e ----- -72 values hashing to 9eb6d54a1620a7b85e6d7b7044fcaef0 - -query IIIIII rowsort x538 -SELECT d, - a+b*2+c*3+d*4+e*5, - (a+b+c+d+e)/5, - e, - CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - a - FROM t1 - WHERE e+d BETWEEN a+b-10 AND c+130 - OR d>e - ORDER BY 5,6,3,4,1 ----- -72 values hashing to 9eb6d54a1620a7b85e6d7b7044fcaef0 - -query IIIIII rowsort x538 -SELECT d, - a+b*2+c*3+d*4+e*5, - (a+b+c+d+e)/5, - e, - CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - a - FROM t1 - WHERE d>e - OR e+d BETWEEN a+b-10 AND c+130 ----- -72 values hashing to 9eb6d54a1620a7b85e6d7b7044fcaef0 - -query IIIIII rowsort x538 -SELECT d, - a+b*2+c*3+d*4+e*5, - (a+b+c+d+e)/5, - e, - CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - a - FROM t1 - WHERE d>e - OR e+d BETWEEN a+b-10 AND c+130 - ORDER BY 2,5,4,3 ----- -72 values hashing to 9eb6d54a1620a7b85e6d7b7044fcaef0 - -query IIIIIII rowsort x539 -SELECT e, - a, - (SELECT count(*) FROM t1 AS x WHERE x.b=d+2) - AND (a>b-2 AND a=d+2) - AND (a>b-2 AND ab-2 AND a=d+2) ----- - -query IIIIIII rowsort x539 -SELECT e, - a, - (SELECT count(*) FROM t1 AS x WHERE x.bb-2 AND a=d+2) - ORDER BY 2,3,1,5,4,6,7 ----- - -query IIII rowsort x540 -SELECT (SELECT count(*) FROM t1 AS x WHERE x.bc OR ec OR et1.c AND x.db - AND (e>c OR et1.c AND x.db - AND (e>c OR et1.c AND x.dc OR eb ----- -32 values hashing to 9240066ab585efc3f0b28794f435c20b - -query IIII rowsort x542 -SELECT b, - a+b*2+c*3+d*4, - (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.dc OR eb - ORDER BY 2,3,1 ----- -32 values hashing to 9240066ab585efc3f0b28794f435c20b - -query IIII rowsort x542 -SELECT b, - a+b*2+c*3+d*4, - (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.db - AND (e>c OR et1.c AND x.db - AND (e>c OR eb-2 AND ab-2 AND a(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - d-e, - a, - c - FROM t1 - WHERE d NOT BETWEEN 110 AND 150 - OR d>e ----- -147 values hashing to ddce6438f6ded8f787d7c7c9142766c8 - -query IIIIIII rowsort x545 -SELECT b, - abs(a), - a+b*2, - CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - d-e, - a, - c - FROM t1 - WHERE d NOT BETWEEN 110 AND 150 - OR d>e - ORDER BY 5,2,1,7,3,4 ----- -147 values hashing to ddce6438f6ded8f787d7c7c9142766c8 - -query IIIIIII rowsort x545 -SELECT b, - abs(a), - a+b*2, - CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - d-e, - a, - c - FROM t1 - WHERE d>e - OR d NOT BETWEEN 110 AND 150 ----- -147 values hashing to ddce6438f6ded8f787d7c7c9142766c8 - -query IIIIIII rowsort x545 -SELECT b, - abs(a), - a+b*2, - CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - d-e, - a, - c - FROM t1 - WHERE d>e - OR d NOT BETWEEN 110 AND 150 - ORDER BY 5,4 ----- -147 values hashing to ddce6438f6ded8f787d7c7c9142766c8 - -query I rowsort x546 -SELECT c-d - FROM t1 ----- -30 values hashing to 5597b8fa34613aadc270053ea54637e5 - -query I rowsort x546 -SELECT c-d - FROM t1 - ORDER BY 1 ----- -30 values hashing to 5597b8fa34613aadc270053ea54637e5 - -query IIIIIII rowsort x547 -SELECT c, - (SELECT count(*) FROM t1 AS x WHERE x.b(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - b-c, - a+b*2, - a, - (a+b+c+d+e)/5 - FROM t1 - WHERE b>c ----- -91 values hashing to b18e90ba041643b851f2789fb293e177 - -query IIIIIII rowsort x547 -SELECT c, - (SELECT count(*) FROM t1 AS x WHERE x.b(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - b-c, - a+b*2, - a, - (a+b+c+d+e)/5 - FROM t1 - WHERE b>c - ORDER BY 1,4,2,6,7,3,5 ----- -91 values hashing to b18e90ba041643b851f2789fb293e177 - -query II rowsort x548 -SELECT CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - e - FROM t1 - WHERE d>e ----- -22 values hashing to 72d2ab4ad233ab33010bd2c5d1749440 - -query II rowsort x548 -SELECT CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - e - FROM t1 - WHERE d>e - ORDER BY 1,2 ----- -22 values hashing to 72d2ab4ad233ab33010bd2c5d1749440 - -query II rowsort x549 -SELECT (a+b+c+d+e)/5, - a-b - FROM t1 - WHERE EXISTS(SELECT 1 FROM t1 AS x WHERE x.bt1.c AND x.dt1.c AND x.dc - OR c BETWEEN b-2 AND d+2 ----- -115 values hashing to bd1ad3e6a227b77b65945fd596e52c3d - -query IIIII rowsort x551 -SELECT (SELECT count(*) FROM t1 AS x WHERE x.bc - OR c BETWEEN b-2 AND d+2 - ORDER BY 4,2,1,3 ----- -115 values hashing to bd1ad3e6a227b77b65945fd596e52c3d - -query IIIII rowsort x551 -SELECT (SELECT count(*) FROM t1 AS x WHERE x.bc ----- -115 values hashing to bd1ad3e6a227b77b65945fd596e52c3d - -query IIIII rowsort x551 -SELECT (SELECT count(*) FROM t1 AS x WHERE x.bc - ORDER BY 4,1,2,3,5 ----- -115 values hashing to bd1ad3e6a227b77b65945fd596e52c3d - -query IIIIII rowsort x552 -SELECT (a+b+c+d+e)/5, - a+b*2+c*3+d*4+e*5, - a+b*2+c*3, - CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.dc OR ed - OR e+d BETWEEN a+b-10 AND c+130 ----- -156 values hashing to d3db380510f107abcd9c2a05962f73f7 - -query IIIIII rowsort x552 -SELECT (a+b+c+d+e)/5, - a+b*2+c*3+d*4+e*5, - a+b*2+c*3, - CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.dc OR ed - OR e+d BETWEEN a+b-10 AND c+130 - ORDER BY 4,6,1 ----- -156 values hashing to d3db380510f107abcd9c2a05962f73f7 - -query IIIIII rowsort x552 -SELECT (a+b+c+d+e)/5, - a+b*2+c*3+d*4+e*5, - a+b*2+c*3, - CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.dc OR ed ----- -156 values hashing to d3db380510f107abcd9c2a05962f73f7 - -query IIIIII rowsort x552 -SELECT (a+b+c+d+e)/5, - a+b*2+c*3+d*4+e*5, - a+b*2+c*3, - CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.dc OR ed - ORDER BY 1,4,6,5,3,2 ----- -156 values hashing to d3db380510f107abcd9c2a05962f73f7 - -query IIIIII rowsort x553 -SELECT b-c, - a+b*2+c*3+d*4+e*5, - abs(a), - d, - a+b*2, - c-d - FROM t1 - WHERE (e>c OR ec OR e(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - CASE WHEN a(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - CASE WHEN at1.c AND x.dd ----- -13 values hashing to 6e6a0a6e4c35b3bbdf0c9dcc6d9ee805 - -query I rowsort x555 -SELECT (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.dd - ORDER BY 1 ----- -13 values hashing to 6e6a0a6e4c35b3bbdf0c9dcc6d9ee805 - -query I rowsort x556 -SELECT d-e - FROM t1 ----- -30 values hashing to 9e2d6381b04ea314cd79c5fc9325b30e - -query I rowsort x556 -SELECT d-e - FROM t1 - ORDER BY 1 ----- -30 values hashing to 9e2d6381b04ea314cd79c5fc9325b30e - -query IIIIIII rowsort x557 -SELECT c, - (SELECT count(*) FROM t1 AS x WHERE x.b(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - CASE a+1 WHEN b THEN 111 WHEN c THEN 222 - WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END - FROM t1 ----- -150 values hashing to 9e0e10ca0afcd1880c61c538aa2b92c4 - -query IIIII rowsort x558 -SELECT (a+b+c+d+e)/5, - a+b*2+c*3, - a+b*2, - CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - CASE a+1 WHEN b THEN 111 WHEN c THEN 222 - WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END - FROM t1 - ORDER BY 5,2,1,3,4 ----- -150 values hashing to 9e0e10ca0afcd1880c61c538aa2b92c4 - -query IIIIIII rowsort x559 -SELECT b-c, - CASE a+1 WHEN b THEN 111 WHEN c THEN 222 - WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, - a+b*2, - (a+b+c+d+e)/5, - d-e, - CASE WHEN ab-2 AND ab-2 AND ab-2 AND ab-2 AND ab-2 AND ab-2 AND a(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END - FROM t1 - WHERE a>b - OR EXISTS(SELECT 1 FROM t1 AS x WHERE x.b(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END - FROM t1 - WHERE a>b - OR EXISTS(SELECT 1 FROM t1 AS x WHERE x.b(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END - FROM t1 - WHERE EXISTS(SELECT 1 FROM t1 AS x WHERE x.bb ----- -54 values hashing to 05003b5eabd6b2f7219b7c465b3e72fa - -query II rowsort x561 -SELECT a+b*2+c*3+d*4+e*5, - CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END - FROM t1 - WHERE EXISTS(SELECT 1 FROM t1 AS x WHERE x.bb - ORDER BY 2,1 ----- -54 values hashing to 05003b5eabd6b2f7219b7c465b3e72fa - -query IIIII rowsort x562 -SELECT c-d, - abs(a), - b, - CASE WHEN ae - OR (e>c OR ee - OR (e>c OR ee - OR (e>c OR ee - OR (e>c OR e(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - d-e, - d, - a+b*2+c*3, - a-b, - c-d, - a+b*2+c*3+d*4 - FROM t1 - WHERE d NOT BETWEEN 110 AND 150 - OR (a>b-2 AND a(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - d-e, - d, - a+b*2+c*3, - a-b, - c-d, - a+b*2+c*3+d*4 - FROM t1 - WHERE d NOT BETWEEN 110 AND 150 - OR (a>b-2 AND a(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - d-e, - d, - a+b*2+c*3, - a-b, - c-d, - a+b*2+c*3+d*4 - FROM t1 - WHERE (a>b-2 AND a(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - d-e, - d, - a+b*2+c*3, - a-b, - c-d, - a+b*2+c*3+d*4 - FROM t1 - WHERE (a>b-2 AND ad - AND (e>a AND ed - AND (e>a AND e(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - a+b*2+c*3+d*4+e*5, - CASE WHEN a(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - a+b*2+c*3+d*4+e*5, - CASE WHEN a(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - a+b*2+c*3+d*4, - d-e - FROM t1 ----- -150 values hashing to b1e6017bcd974b8b6dfea93e886e7860 - -query IIIII rowsort x566 -SELECT c-d, - c, - CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - a+b*2+c*3+d*4, - d-e - FROM t1 - ORDER BY 5,3,2,4 ----- -150 values hashing to b1e6017bcd974b8b6dfea93e886e7860 - -query III rowsort x567 -SELECT CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - abs(a), - b-c - FROM t1 ----- -90 values hashing to 26cd92291109a2b8b185dc4cf12c1eb0 - -query III rowsort x567 -SELECT CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - abs(a), - b-c - FROM t1 - ORDER BY 3,1,2 ----- -90 values hashing to 26cd92291109a2b8b185dc4cf12c1eb0 - -query IIIII rowsort x568 -SELECT c-d, - b-c, - CASE WHEN ae - OR e+d BETWEEN a+b-10 AND c+130 ----- -60 values hashing to 787fde79bb821591a7414b43c68a481a - -query IIIII rowsort x568 -SELECT c-d, - b-c, - CASE WHEN ae - OR e+d BETWEEN a+b-10 AND c+130 - ORDER BY 4,1,5,3 ----- -60 values hashing to 787fde79bb821591a7414b43c68a481a - -query IIIII rowsort x568 -SELECT c-d, - b-c, - CASE WHEN ae ----- -60 values hashing to 787fde79bb821591a7414b43c68a481a - -query IIIII rowsort x568 -SELECT c-d, - b-c, - CASE WHEN ae - ORDER BY 1,4,3,2 ----- -60 values hashing to 787fde79bb821591a7414b43c68a481a - -query III rowsort x569 -SELECT c, - abs(b-c), - c-d - FROM t1 ----- -90 values hashing to 41eddffbb1026fde489f8ddf1b8edefe - -query III rowsort x569 -SELECT c, - abs(b-c), - c-d - FROM t1 - ORDER BY 3,2,1 ----- -90 values hashing to 41eddffbb1026fde489f8ddf1b8edefe - -query IIII rowsort x570 -SELECT abs(b-c), - a+b*2+c*3+d*4, - a+b*2, - (a+b+c+d+e)/5 - FROM t1 - WHERE c>d ----- -52 values hashing to 3d0071aa52b76cfd5320ac97977aa574 - -query IIII rowsort x570 -SELECT abs(b-c), - a+b*2+c*3+d*4, - a+b*2, - (a+b+c+d+e)/5 - FROM t1 - WHERE c>d - ORDER BY 2,1,4,3 ----- -52 values hashing to 3d0071aa52b76cfd5320ac97977aa574 - -query III rowsort x571 -SELECT (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.dt1.c AND x.db-2 AND ab-2 AND ab-2 AND ab-2 AND ab-2 AND ab-2 AND ab-2 AND ab-2 AND a(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.d=d+2) ----- -35 values hashing to 831bf1ee380966afc5246d9d7f22ddcc - -query IIIII rowsort x574 -SELECT c, - CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.d=d+2) - ORDER BY 3,4,1 ----- -35 values hashing to 831bf1ee380966afc5246d9d7f22ddcc - -query IIIII rowsort x574 -SELECT c, - CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.d=d+2) - AND d NOT BETWEEN 110 AND 150 ----- -35 values hashing to 831bf1ee380966afc5246d9d7f22ddcc - -query IIIII rowsort x574 -SELECT c, - CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.d=d+2) - AND d NOT BETWEEN 110 AND 150 - ORDER BY 4,1,3,2,5 ----- -35 values hashing to 831bf1ee380966afc5246d9d7f22ddcc - -query IIIII rowsort x574 -SELECT c, - CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.d=d+2) ----- -35 values hashing to 831bf1ee380966afc5246d9d7f22ddcc - -query IIIII rowsort x574 -SELECT c, - CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.d=d+2) - ORDER BY 2,5,4 ----- -35 values hashing to 831bf1ee380966afc5246d9d7f22ddcc - -query IIIII rowsort x575 -SELECT a+b*2+c*3, - CASE a+1 WHEN b THEN 111 WHEN c THEN 222 - WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, - d-e, - b-c, - a - FROM t1 ----- -150 values hashing to b08d384a8ae66fff46482ed9d1f3539a - -query IIIII rowsort x575 -SELECT a+b*2+c*3, - CASE a+1 WHEN b THEN 111 WHEN c THEN 222 - WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, - d-e, - b-c, - a - FROM t1 - ORDER BY 1,2,4,3,5 ----- -150 values hashing to b08d384a8ae66fff46482ed9d1f3539a - -query III rowsort x576 -SELECT e, - d, - (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.da AND et1.c AND x.da AND e=d+2) ----- -60 values hashing to e35119f8f9d05653a965303acf684221 - -query IIIIII rowsort x577 -SELECT a+b*2+c*3+d*4+e*5, - a, - CASE a+1 WHEN b THEN 111 WHEN c THEN 222 - WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, - (SELECT count(*) FROM t1 AS x WHERE x.b=d+2) - ORDER BY 6,2,1 ----- -60 values hashing to e35119f8f9d05653a965303acf684221 - -query III rowsort x578 -SELECT CASE a+1 WHEN b THEN 111 WHEN c THEN 222 - WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, - a-b, - a - FROM t1 - WHERE d>e - OR e+d BETWEEN a+b-10 AND c+130 - OR a>b ----- -66 values hashing to 42d7ccf4a35710e53f6fc55ab6fe39b2 - -query III rowsort x578 -SELECT CASE a+1 WHEN b THEN 111 WHEN c THEN 222 - WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, - a-b, - a - FROM t1 - WHERE d>e - OR e+d BETWEEN a+b-10 AND c+130 - OR a>b - ORDER BY 2,3,1 ----- -66 values hashing to 42d7ccf4a35710e53f6fc55ab6fe39b2 - -query III rowsort x578 -SELECT CASE a+1 WHEN b THEN 111 WHEN c THEN 222 - WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, - a-b, - a - FROM t1 - WHERE e+d BETWEEN a+b-10 AND c+130 - OR d>e - OR a>b ----- -66 values hashing to 42d7ccf4a35710e53f6fc55ab6fe39b2 - -query III rowsort x578 -SELECT CASE a+1 WHEN b THEN 111 WHEN c THEN 222 - WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, - a-b, - a - FROM t1 - WHERE e+d BETWEEN a+b-10 AND c+130 - OR d>e - OR a>b - ORDER BY 1,2,3 ----- -66 values hashing to 42d7ccf4a35710e53f6fc55ab6fe39b2 - -query III rowsort x578 -SELECT CASE a+1 WHEN b THEN 111 WHEN c THEN 222 - WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, - a-b, - a - FROM t1 - WHERE e+d BETWEEN a+b-10 AND c+130 - OR a>b - OR d>e ----- -66 values hashing to 42d7ccf4a35710e53f6fc55ab6fe39b2 - -query III rowsort x578 -SELECT CASE a+1 WHEN b THEN 111 WHEN c THEN 222 - WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, - a-b, - a - FROM t1 - WHERE e+d BETWEEN a+b-10 AND c+130 - OR a>b - OR d>e - ORDER BY 2,3 ----- -66 values hashing to 42d7ccf4a35710e53f6fc55ab6fe39b2 - -query III rowsort x579 -SELECT a+b*2+c*3, - b-c, - a+b*2+c*3+d*4+e*5 - FROM t1 - WHERE (c<=d-2 OR c>=d+2) ----- -30 values hashing to 0737ede50d772682aae2bc5274742144 - -query III rowsort x579 -SELECT a+b*2+c*3, - b-c, - a+b*2+c*3+d*4+e*5 - FROM t1 - WHERE (c<=d-2 OR c>=d+2) - ORDER BY 1,2,3 ----- -30 values hashing to 0737ede50d772682aae2bc5274742144 - -query IIIII rowsort x580 -SELECT CASE a+1 WHEN b THEN 111 WHEN c THEN 222 - WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, - (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.dt1.c AND x.de - AND b>c - AND (a>b-2 AND ae - AND b>c - AND (a>b-2 AND ab-2 AND ac - AND d>e ----- -137 -2 - -query II rowsort x581 -SELECT (a+b+c+d+e)/5, - abs(b-c) - FROM t1 - WHERE (a>b-2 AND ac - AND d>e - ORDER BY 1,2 ----- -137 -2 - -query II rowsort x581 -SELECT (a+b+c+d+e)/5, - abs(b-c) - FROM t1 - WHERE d>e - AND (a>b-2 AND ac ----- -137 -2 - -query II rowsort x581 -SELECT (a+b+c+d+e)/5, - abs(b-c) - FROM t1 - WHERE d>e - AND (a>b-2 AND ac - ORDER BY 1,2 ----- -137 -2 - -query IIII rowsort x582 -SELECT abs(a), - a+b*2+c*3+d*4+e*5, - (a+b+c+d+e)/5, - a-b - FROM t1 - WHERE e+d BETWEEN a+b-10 AND c+130 ----- -107 -1612 -107 -2 -127 -1902 -127 --2 - -query IIII rowsort x582 -SELECT abs(a), - a+b*2+c*3+d*4+e*5, - (a+b+c+d+e)/5, - a-b - FROM t1 - WHERE e+d BETWEEN a+b-10 AND c+130 - ORDER BY 2,4,3 ----- -107 -1612 -107 -2 -127 -1902 -127 --2 - -query I rowsort x583 -SELECT d - FROM t1 - WHERE EXISTS(SELECT 1 FROM t1 AS x WHERE x.be - AND (e>c OR ee - AND (e>c OR ec OR ee ----- -11 values hashing to 5fb1f7f101ae97ec369e8865b2f70e95 - -query I rowsort x583 -SELECT d - FROM t1 - WHERE EXISTS(SELECT 1 FROM t1 AS x WHERE x.bc OR ee - ORDER BY 1 ----- -11 values hashing to 5fb1f7f101ae97ec369e8865b2f70e95 - -query I rowsort x583 -SELECT d - FROM t1 - WHERE d>e - AND (e>c OR ee - AND (e>c OR ee - AND EXISTS(SELECT 1 FROM t1 AS x WHERE x.bc OR ee - AND EXISTS(SELECT 1 FROM t1 AS x WHERE x.bc OR e(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - a+b*2+c*3+d*4, - a-b, - b-c - FROM t1 - WHERE e+d BETWEEN a+b-10 AND c+130 - OR (e>c OR e(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - a+b*2+c*3+d*4, - a-b, - b-c - FROM t1 - WHERE e+d BETWEEN a+b-10 AND c+130 - OR (e>c OR e(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - a+b*2+c*3+d*4, - a-b, - b-c - FROM t1 - WHERE (e>c OR e(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - a+b*2+c*3+d*4, - a-b, - b-c - FROM t1 - WHERE (e>c OR ec - AND a>b ----- -12 values hashing to 2c0f6ec6275ba6c5272610a42842bac0 - -query II rowsort x585 -SELECT a+b*2+c*3, - a+b*2+c*3+d*4 - FROM t1 - WHERE b>c - AND a>b - ORDER BY 1,2 ----- -12 values hashing to 2c0f6ec6275ba6c5272610a42842bac0 - -query II rowsort x585 -SELECT a+b*2+c*3, - a+b*2+c*3+d*4 - FROM t1 - WHERE a>b - AND b>c ----- -12 values hashing to 2c0f6ec6275ba6c5272610a42842bac0 - -query II rowsort x585 -SELECT a+b*2+c*3, - a+b*2+c*3+d*4 - FROM t1 - WHERE a>b - AND b>c - ORDER BY 2,1 ----- -12 values hashing to 2c0f6ec6275ba6c5272610a42842bac0 - -query II rowsort x586 -SELECT d, - abs(b-c) - FROM t1 ----- -60 values hashing to 00d4ab74410d8ac671760d7198435203 - -query II rowsort x586 -SELECT d, - abs(b-c) - FROM t1 - ORDER BY 2,1 ----- -60 values hashing to 00d4ab74410d8ac671760d7198435203 - -query IIIIIII rowsort x587 -SELECT abs(b-c), - c-d, - a+b*2+c*3+d*4+e*5, - CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - b-c, - a-b, - e - FROM t1 - WHERE c BETWEEN b-2 AND d+2 ----- -105 values hashing to 3e83008eb896a69947fcb2f5c00261ba - -query IIIIIII rowsort x587 -SELECT abs(b-c), - c-d, - a+b*2+c*3+d*4+e*5, - CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - b-c, - a-b, - e - FROM t1 - WHERE c BETWEEN b-2 AND d+2 - ORDER BY 7,6,5,3 ----- -105 values hashing to 3e83008eb896a69947fcb2f5c00261ba - -query IIIII rowsort x588 -SELECT b-c, - (SELECT count(*) FROM t1 AS x WHERE x.bb-2 AND ab-2 AND ab - AND c>d ----- -222 -333 -444 -555 - -query I rowsort x589 -SELECT CASE a+1 WHEN b THEN 111 WHEN c THEN 222 - WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END - FROM t1 - WHERE d NOT BETWEEN 110 AND 150 - AND a>b - AND c>d - ORDER BY 1 ----- -222 -333 -444 -555 - -query I rowsort x589 -SELECT CASE a+1 WHEN b THEN 111 WHEN c THEN 222 - WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END - FROM t1 - WHERE a>b - AND d NOT BETWEEN 110 AND 150 - AND c>d ----- -222 -333 -444 -555 - -query I rowsort x589 -SELECT CASE a+1 WHEN b THEN 111 WHEN c THEN 222 - WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END - FROM t1 - WHERE a>b - AND d NOT BETWEEN 110 AND 150 - AND c>d - ORDER BY 1 ----- -222 -333 -444 -555 - -query I rowsort x589 -SELECT CASE a+1 WHEN b THEN 111 WHEN c THEN 222 - WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END - FROM t1 - WHERE c>d - AND d NOT BETWEEN 110 AND 150 - AND a>b ----- -222 -333 -444 -555 - -query I rowsort x589 -SELECT CASE a+1 WHEN b THEN 111 WHEN c THEN 222 - WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END - FROM t1 - WHERE c>d - AND d NOT BETWEEN 110 AND 150 - AND a>b - ORDER BY 1 ----- -222 -333 -444 -555 - -query IIIIII rowsort x590 -SELECT (SELECT count(*) FROM t1 AS x WHERE x.b(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - d, - b-c - FROM t1 - WHERE (a>b-2 AND a=d+2) - OR c>d ----- -132 values hashing to d647e0271e7dcd20be4b01806dc9049c - -query IIIIII rowsort x590 -SELECT (SELECT count(*) FROM t1 AS x WHERE x.b(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - d, - b-c - FROM t1 - WHERE (a>b-2 AND a=d+2) - OR c>d - ORDER BY 3,6,5,1 ----- -132 values hashing to d647e0271e7dcd20be4b01806dc9049c - -query IIIIII rowsort x590 -SELECT (SELECT count(*) FROM t1 AS x WHERE x.b(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - d, - b-c - FROM t1 - WHERE c>d - OR (a>b-2 AND a=d+2) ----- -132 values hashing to d647e0271e7dcd20be4b01806dc9049c - -query IIIIII rowsort x590 -SELECT (SELECT count(*) FROM t1 AS x WHERE x.b(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - d, - b-c - FROM t1 - WHERE c>d - OR (a>b-2 AND a=d+2) - ORDER BY 1,3,4,6,5,2 ----- -132 values hashing to d647e0271e7dcd20be4b01806dc9049c - -query IIIIII rowsort x590 -SELECT (SELECT count(*) FROM t1 AS x WHERE x.b(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - d, - b-c - FROM t1 - WHERE (c<=d-2 OR c>=d+2) - OR (a>b-2 AND ad ----- -132 values hashing to d647e0271e7dcd20be4b01806dc9049c - -query IIIIII rowsort x590 -SELECT (SELECT count(*) FROM t1 AS x WHERE x.b(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - d, - b-c - FROM t1 - WHERE (c<=d-2 OR c>=d+2) - OR (a>b-2 AND ad - ORDER BY 5,1 ----- -132 values hashing to d647e0271e7dcd20be4b01806dc9049c - -query IIII rowsort x591 -SELECT CASE a+1 WHEN b THEN 111 WHEN c THEN 222 - WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, - d-e, - a+b*2, - CASE WHEN a=d+2) ----- -20 values hashing to 6fd9b50aa7457890a85c270b8a4f1525 - -query II rowsort x592 -SELECT b-c, - a+b*2+c*3 - FROM t1 - WHERE (c<=d-2 OR c>=d+2) - ORDER BY 2,1 ----- -20 values hashing to 6fd9b50aa7457890a85c270b8a4f1525 - -query IIIIII rowsort x593 -SELECT a+b*2+c*3+d*4+e*5, - abs(a), - abs(b-c), - a-b, - CASE a+1 WHEN b THEN 111 WHEN c THEN 222 - WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, - c-d - FROM t1 - WHERE e+d BETWEEN a+b-10 AND c+130 - OR d>e ----- -72 values hashing to ead099d9e1a14c3c5109d016773391b0 - -query IIIIII rowsort x593 -SELECT a+b*2+c*3+d*4+e*5, - abs(a), - abs(b-c), - a-b, - CASE a+1 WHEN b THEN 111 WHEN c THEN 222 - WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, - c-d - FROM t1 - WHERE e+d BETWEEN a+b-10 AND c+130 - OR d>e - ORDER BY 5,2,1,3 ----- -72 values hashing to ead099d9e1a14c3c5109d016773391b0 - -query IIIIII rowsort x593 -SELECT a+b*2+c*3+d*4+e*5, - abs(a), - abs(b-c), - a-b, - CASE a+1 WHEN b THEN 111 WHEN c THEN 222 - WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, - c-d - FROM t1 - WHERE d>e - OR e+d BETWEEN a+b-10 AND c+130 ----- -72 values hashing to ead099d9e1a14c3c5109d016773391b0 - -query IIIIII rowsort x593 -SELECT a+b*2+c*3+d*4+e*5, - abs(a), - abs(b-c), - a-b, - CASE a+1 WHEN b THEN 111 WHEN c THEN 222 - WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, - c-d - FROM t1 - WHERE d>e - OR e+d BETWEEN a+b-10 AND c+130 - ORDER BY 1,4,3 ----- -72 values hashing to ead099d9e1a14c3c5109d016773391b0 - -query III rowsort x594 -SELECT a, - a+b*2+c*3, - abs(a) - FROM t1 - WHERE e+d BETWEEN a+b-10 AND c+130 ----- -107 -635 -107 -127 -760 -127 - -query III rowsort x594 -SELECT a, - a+b*2+c*3, - abs(a) - FROM t1 - WHERE e+d BETWEEN a+b-10 AND c+130 - ORDER BY 3,1,2 ----- -107 -635 -107 -127 -760 -127 - -query IIIIII rowsort x595 -SELECT a+b*2+c*3+d*4, - a, - e, - CASE WHEN ac - OR d>e ----- -120 values hashing to 49200402fefc8a32ee212ece11bbc9b2 - -query IIIIII rowsort x595 -SELECT a+b*2+c*3+d*4, - a, - e, - CASE WHEN ac - OR d>e - ORDER BY 2,1,3,5,6,4 ----- -120 values hashing to 49200402fefc8a32ee212ece11bbc9b2 - -query III rowsort x596 -SELECT CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - e, - abs(a) - FROM t1 ----- -90 values hashing to ee68c9fb4d87c760d5e873f2e913c5a4 - -query III rowsort x596 -SELECT CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - e, - abs(a) - FROM t1 - ORDER BY 2,1,3 ----- -90 values hashing to ee68c9fb4d87c760d5e873f2e913c5a4 - -query I rowsort x597 -SELECT (SELECT count(*) FROM t1 AS x WHERE x.bb-2 AND ab-2 AND a(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - a-b, - a+b*2+c*3+d*4, - CASE WHEN a(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - a-b, - a+b*2+c*3+d*4, - CASE WHEN ab-2 AND ab-2 AND at1.c AND x.dc ----- -25 values hashing to f67c91cee8cbcab4101b0c4e9ea42a8b - -query IIIII rowsort x601 -SELECT abs(a), - CASE WHEN at1.c AND x.dc - ORDER BY 3,2,4,5,1 ----- -25 values hashing to f67c91cee8cbcab4101b0c4e9ea42a8b - -query IIIII rowsort x601 -SELECT abs(a), - CASE WHEN at1.c AND x.dc - AND c BETWEEN b-2 AND d+2 ----- -25 values hashing to f67c91cee8cbcab4101b0c4e9ea42a8b - -query IIIII rowsort x601 -SELECT abs(a), - CASE WHEN at1.c AND x.dc - AND c BETWEEN b-2 AND d+2 - ORDER BY 3,1,2,5 ----- -25 values hashing to f67c91cee8cbcab4101b0c4e9ea42a8b - -query IIIIII rowsort x602 -SELECT a+b*2+c*3, - abs(a), - a+b*2, - b, - e, - CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END - FROM t1 - WHERE EXISTS(SELECT 1 FROM t1 AS x WHERE x.b(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END - FROM t1 - WHERE EXISTS(SELECT 1 FROM t1 AS x WHERE x.bc OR ec OR ec OR ec OR ee - OR b>c ----- -60 values hashing to 59d499d10435c069fa6a84e2d995bf33 - -query III rowsort x604 -SELECT a-b, - a+b*2, - a - FROM t1 - WHERE d>e - OR b>c - ORDER BY 3,1 ----- -60 values hashing to 59d499d10435c069fa6a84e2d995bf33 - -query III rowsort x604 -SELECT a-b, - a+b*2, - a - FROM t1 - WHERE b>c - OR d>e ----- -60 values hashing to 59d499d10435c069fa6a84e2d995bf33 - -query III rowsort x604 -SELECT a-b, - a+b*2, - a - FROM t1 - WHERE b>c - OR d>e - ORDER BY 2,3,1 ----- -60 values hashing to 59d499d10435c069fa6a84e2d995bf33 - -query IIIIII rowsort x605 -SELECT e, - b, - a+b*2+c*3, - a+b*2, - CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - (a+b+c+d+e)/5 - FROM t1 - WHERE c BETWEEN b-2 AND d+2 - AND c>d ----- -60 values hashing to c211130e730d38e13bad6ff26cee19a9 - -query IIIIII rowsort x605 -SELECT e, - b, - a+b*2+c*3, - a+b*2, - CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - (a+b+c+d+e)/5 - FROM t1 - WHERE c BETWEEN b-2 AND d+2 - AND c>d - ORDER BY 5,4,3,6,2 ----- -60 values hashing to c211130e730d38e13bad6ff26cee19a9 - -query IIIIII rowsort x605 -SELECT e, - b, - a+b*2+c*3, - a+b*2, - CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - (a+b+c+d+e)/5 - FROM t1 - WHERE c>d - AND c BETWEEN b-2 AND d+2 ----- -60 values hashing to c211130e730d38e13bad6ff26cee19a9 - -query IIIIII rowsort x605 -SELECT e, - b, - a+b*2+c*3, - a+b*2, - CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - (a+b+c+d+e)/5 - FROM t1 - WHERE c>d - AND c BETWEEN b-2 AND d+2 - ORDER BY 1,2 ----- -60 values hashing to c211130e730d38e13bad6ff26cee19a9 - -query I rowsort x606 -SELECT a - FROM t1 ----- -30 values hashing to 9a6afb6b859fc856aafb6a7af11a38e4 - -query I rowsort x606 -SELECT a - FROM t1 - ORDER BY 1 ----- -30 values hashing to 9a6afb6b859fc856aafb6a7af11a38e4 - -query IIII rowsort x607 -SELECT a, - (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.dd - AND EXISTS(SELECT 1 FROM t1 AS x WHERE x.bt1.c AND x.dd - AND EXISTS(SELECT 1 FROM t1 AS x WHERE x.bt1.c AND x.dd ----- -44 values hashing to 2a90f8140851a46adb39b25b04957845 - -query IIII rowsort x607 -SELECT a, - (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.dd - ORDER BY 4,2,3,1 ----- -44 values hashing to 2a90f8140851a46adb39b25b04957845 - -query IIIIIII rowsort x608 -SELECT d-e, - e, - b, - c, - abs(b-c), - a+b*2+c*3+d*4, - (a+b+c+d+e)/5 - FROM t1 - WHERE b>c - OR a>b - OR (e>c OR ec - OR a>b - OR (e>c OR ec - OR (e>c OR eb ----- -189 values hashing to 9f4ad7fd9a7988f4345043e6a470f0eb - -query IIIIIII rowsort x608 -SELECT d-e, - e, - b, - c, - abs(b-c), - a+b*2+c*3+d*4, - (a+b+c+d+e)/5 - FROM t1 - WHERE b>c - OR (e>c OR eb - ORDER BY 4,7,1,2,6 ----- -189 values hashing to 9f4ad7fd9a7988f4345043e6a470f0eb - -query IIIIIII rowsort x608 -SELECT d-e, - e, - b, - c, - abs(b-c), - a+b*2+c*3+d*4, - (a+b+c+d+e)/5 - FROM t1 - WHERE (e>c OR eb - OR b>c ----- -189 values hashing to 9f4ad7fd9a7988f4345043e6a470f0eb - -query IIIIIII rowsort x608 -SELECT d-e, - e, - b, - c, - abs(b-c), - a+b*2+c*3+d*4, - (a+b+c+d+e)/5 - FROM t1 - WHERE (e>c OR eb - OR b>c - ORDER BY 7,2,6,1,5,4,3 ----- -189 values hashing to 9f4ad7fd9a7988f4345043e6a470f0eb - -query IIIIII rowsort x609 -SELECT c, - a+b*2+c*3+d*4, - (a+b+c+d+e)/5, - a+b*2+c*3+d*4+e*5, - a+b*2, - d-e - FROM t1 - WHERE c>d - AND e+d BETWEEN a+b-10 AND c+130 - AND (e>a AND ed - AND e+d BETWEEN a+b-10 AND c+130 - AND (e>a AND ea AND ed - AND e+d BETWEEN a+b-10 AND c+130 ----- - -query IIIIII rowsort x609 -SELECT c, - a+b*2+c*3+d*4, - (a+b+c+d+e)/5, - a+b*2+c*3+d*4+e*5, - a+b*2, - d-e - FROM t1 - WHERE (e>a AND ed - AND e+d BETWEEN a+b-10 AND c+130 - ORDER BY 4,6,2,1,5,3 ----- - -query IIII rowsort x610 -SELECT (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.de ----- -44 values hashing to b0e581470db2e8b2cc006ff316140cf7 - -query IIII rowsort x610 -SELECT (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.de - ORDER BY 4,2,1 ----- -44 values hashing to b0e581470db2e8b2cc006ff316140cf7 - -query I rowsort x611 -SELECT b - FROM t1 ----- -30 values hashing to 9697cb5cadc4331af70386531f7792a9 - -query I rowsort x611 -SELECT b - FROM t1 - ORDER BY 1 ----- -30 values hashing to 9697cb5cadc4331af70386531f7792a9 - -query II rowsort x612 -SELECT d, - a+b*2 - FROM t1 - WHERE e+d BETWEEN a+b-10 AND c+130 - AND d>e - AND c BETWEEN b-2 AND d+2 ----- - -query II rowsort x612 -SELECT d, - a+b*2 - FROM t1 - WHERE e+d BETWEEN a+b-10 AND c+130 - AND d>e - AND c BETWEEN b-2 AND d+2 - ORDER BY 1,2 ----- - -query II rowsort x612 -SELECT d, - a+b*2 - FROM t1 - WHERE e+d BETWEEN a+b-10 AND c+130 - AND c BETWEEN b-2 AND d+2 - AND d>e ----- - -query II rowsort x612 -SELECT d, - a+b*2 - FROM t1 - WHERE e+d BETWEEN a+b-10 AND c+130 - AND c BETWEEN b-2 AND d+2 - AND d>e - ORDER BY 2,1 ----- - -query II rowsort x612 -SELECT d, - a+b*2 - FROM t1 - WHERE c BETWEEN b-2 AND d+2 - AND e+d BETWEEN a+b-10 AND c+130 - AND d>e ----- - -query II rowsort x612 -SELECT d, - a+b*2 - FROM t1 - WHERE c BETWEEN b-2 AND d+2 - AND e+d BETWEEN a+b-10 AND c+130 - AND d>e - ORDER BY 2,1 ----- - -query II rowsort x613 -SELECT a+b*2+c*3+d*4, - a - FROM t1 - WHERE c BETWEEN b-2 AND d+2 - OR (e>a AND ec ----- -46 values hashing to 4e3336bea5bf7984bcab041050e540ec - -query II rowsort x613 -SELECT a+b*2+c*3+d*4, - a - FROM t1 - WHERE c BETWEEN b-2 AND d+2 - OR (e>a AND ec - ORDER BY 2,1 ----- -46 values hashing to 4e3336bea5bf7984bcab041050e540ec - -query II rowsort x613 -SELECT a+b*2+c*3+d*4, - a - FROM t1 - WHERE c BETWEEN b-2 AND d+2 - OR b>c - OR (e>a AND ec - OR (e>a AND e(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - c-d - FROM t1 - WHERE c>d ----- -65 values hashing to d0755f06ce4481afa6b7f87a5410f7ae - -query IIIII rowsort x615 -SELECT a+b*2+c*3+d*4, - e, - abs(b-c), - CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - c-d - FROM t1 - WHERE c>d - ORDER BY 1,2,3,5,4 ----- -65 values hashing to d0755f06ce4481afa6b7f87a5410f7ae - -query IIII rowsort x616 -SELECT abs(b-c), - d-e, - a+b*2+c*3+d*4, - (a+b+c+d+e)/5 - FROM t1 - WHERE a>b - AND (c<=d-2 OR c>=d+2) ----- -20 values hashing to 2106e5a753ac202c6064546142a3578f - -query IIII rowsort x616 -SELECT abs(b-c), - d-e, - a+b*2+c*3+d*4, - (a+b+c+d+e)/5 - FROM t1 - WHERE a>b - AND (c<=d-2 OR c>=d+2) - ORDER BY 1,3,4,2 ----- -20 values hashing to 2106e5a753ac202c6064546142a3578f - -query IIIIII rowsort x617 -SELECT CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - a+b*2+c*3+d*4, - a-b, - b-c, - abs(b-c), - (a+b+c+d+e)/5 - FROM t1 - WHERE (e>c OR e(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - a+b*2+c*3+d*4, - a-b, - b-c, - abs(b-c), - (a+b+c+d+e)/5 - FROM t1 - WHERE (e>c OR ea AND ea AND ea AND ea AND e(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - e - FROM t1 - WHERE (a>b-2 AND a(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - e - FROM t1 - WHERE (a>b-2 AND ac - OR (c<=d-2 OR c>=d+2) ----- -95 values hashing to 7811b63159124b3a5f973e1d6733e15e - -query IIIII rowsort x620 -SELECT (SELECT count(*) FROM t1 AS x WHERE x.bc - OR (c<=d-2 OR c>=d+2) - ORDER BY 1,5,3,4 ----- -95 values hashing to 7811b63159124b3a5f973e1d6733e15e - -query IIIII rowsort x620 -SELECT (SELECT count(*) FROM t1 AS x WHERE x.b=d+2) - OR b>c ----- -95 values hashing to 7811b63159124b3a5f973e1d6733e15e - -query IIIII rowsort x620 -SELECT (SELECT count(*) FROM t1 AS x WHERE x.b=d+2) - OR b>c - ORDER BY 4,2,5,3 ----- -95 values hashing to 7811b63159124b3a5f973e1d6733e15e - -query IIII rowsort x621 -SELECT a+b*2+c*3+d*4, - abs(b-c), - (a+b+c+d+e)/5, - c - FROM t1 - WHERE (c<=d-2 OR c>=d+2) - AND b>c - AND EXISTS(SELECT 1 FROM t1 AS x WHERE x.b=d+2) - AND b>c - AND EXISTS(SELECT 1 FROM t1 AS x WHERE x.b=d+2) - AND b>c ----- -16 values hashing to 42d8187b851bde596da680e62bd20ad1 - -query IIII rowsort x621 -SELECT a+b*2+c*3+d*4, - abs(b-c), - (a+b+c+d+e)/5, - c - FROM t1 - WHERE EXISTS(SELECT 1 FROM t1 AS x WHERE x.b=d+2) - AND b>c - ORDER BY 4,3,2 ----- -16 values hashing to 42d8187b851bde596da680e62bd20ad1 - -query IIII rowsort x621 -SELECT a+b*2+c*3+d*4, - abs(b-c), - (a+b+c+d+e)/5, - c - FROM t1 - WHERE EXISTS(SELECT 1 FROM t1 AS x WHERE x.bc - AND (c<=d-2 OR c>=d+2) ----- -16 values hashing to 42d8187b851bde596da680e62bd20ad1 - -query IIII rowsort x621 -SELECT a+b*2+c*3+d*4, - abs(b-c), - (a+b+c+d+e)/5, - c - FROM t1 - WHERE EXISTS(SELECT 1 FROM t1 AS x WHERE x.bc - AND (c<=d-2 OR c>=d+2) - ORDER BY 3,1,4 ----- -16 values hashing to 42d8187b851bde596da680e62bd20ad1 - -query IIIII rowsort x622 -SELECT e, - d-e, - abs(a), - b-c, - (a+b+c+d+e)/5 - FROM t1 ----- -150 values hashing to 27f32d662f3d6d294760141373c8ce9e - -query IIIII rowsort x622 -SELECT e, - d-e, - abs(a), - b-c, - (a+b+c+d+e)/5 - FROM t1 - ORDER BY 5,3,4 ----- -150 values hashing to 27f32d662f3d6d294760141373c8ce9e - -query I rowsort x623 -SELECT a+b*2+c*3 - FROM t1 - WHERE (a>b-2 AND ab-2 AND ab - OR d>e - OR (c<=d-2 OR c>=d+2) ----- -125 values hashing to 53f534fc08db58afb6497d397bd5bb95 - -query IIIII rowsort x624 -SELECT a+b*2, - d, - e, - a+b*2+c*3+d*4+e*5, - a+b*2+c*3+d*4 - FROM t1 - WHERE a>b - OR d>e - OR (c<=d-2 OR c>=d+2) - ORDER BY 2,4 ----- -125 values hashing to 53f534fc08db58afb6497d397bd5bb95 - -query IIIII rowsort x624 -SELECT a+b*2, - d, - e, - a+b*2+c*3+d*4+e*5, - a+b*2+c*3+d*4 - FROM t1 - WHERE (c<=d-2 OR c>=d+2) - OR a>b - OR d>e ----- -125 values hashing to 53f534fc08db58afb6497d397bd5bb95 - -query IIIII rowsort x624 -SELECT a+b*2, - d, - e, - a+b*2+c*3+d*4+e*5, - a+b*2+c*3+d*4 - FROM t1 - WHERE (c<=d-2 OR c>=d+2) - OR a>b - OR d>e - ORDER BY 1,3,2,5,4 ----- -125 values hashing to 53f534fc08db58afb6497d397bd5bb95 - -query IIIII rowsort x624 -SELECT a+b*2, - d, - e, - a+b*2+c*3+d*4+e*5, - a+b*2+c*3+d*4 - FROM t1 - WHERE d>e - OR (c<=d-2 OR c>=d+2) - OR a>b ----- -125 values hashing to 53f534fc08db58afb6497d397bd5bb95 - -query IIIII rowsort x624 -SELECT a+b*2, - d, - e, - a+b*2+c*3+d*4+e*5, - a+b*2+c*3+d*4 - FROM t1 - WHERE d>e - OR (c<=d-2 OR c>=d+2) - OR a>b - ORDER BY 1,2,5,4,3 ----- -125 values hashing to 53f534fc08db58afb6497d397bd5bb95 - -query IIII rowsort x625 -SELECT b, - (a+b+c+d+e)/5, - a+b*2+c*3+d*4, - e - FROM t1 - WHERE (e>c OR ec OR et1.c AND x.d(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - a+b*2+c*3+d*4, - CASE WHEN a=d+2) ----- -10 values hashing to 99ad44057ef6c31bb7427cf8ad3c0d26 - -query IIIII rowsort x626 -SELECT e, - (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.d(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - a+b*2+c*3+d*4, - CASE WHEN a=d+2) - ORDER BY 2,1,3 ----- -10 values hashing to 99ad44057ef6c31bb7427cf8ad3c0d26 - -query IIIII rowsort x626 -SELECT e, - (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.d(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - a+b*2+c*3+d*4, - CASE WHEN a=d+2) - AND e+d BETWEEN a+b-10 AND c+130 ----- -10 values hashing to 99ad44057ef6c31bb7427cf8ad3c0d26 - -query IIIII rowsort x626 -SELECT e, - (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.d(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - a+b*2+c*3+d*4, - CASE WHEN a=d+2) - AND e+d BETWEEN a+b-10 AND c+130 - ORDER BY 3,4,1,5 ----- -10 values hashing to 99ad44057ef6c31bb7427cf8ad3c0d26 - -query IIII rowsort x627 -SELECT c-d, - c, - abs(a), - a+b*2+c*3 - FROM t1 - WHERE c BETWEEN b-2 AND d+2 - AND (e>c OR ec OR ec OR ec OR et1.c AND x.db-2 AND at1.c AND x.db-2 AND ae - OR (a>b-2 AND ad ----- -161 values hashing to 0075fc322441a6991573270f863c003e - -query IIIIIII rowsort x630 -SELECT CASE WHEN ae - OR (a>b-2 AND ad - ORDER BY 7,6,2 ----- -161 values hashing to 0075fc322441a6991573270f863c003e - -query IIIIIII rowsort x630 -SELECT CASE WHEN ae - OR c>d - OR (a>b-2 AND ae - OR c>d - OR (a>b-2 AND ad - OR d>e - OR (a>b-2 AND ad - OR d>e - OR (a>b-2 AND a(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - b, - abs(a) - FROM t1 ----- -180 values hashing to b995fd3ed3a0e0bb771def6e5722bb0a - -query IIIIII rowsort x631 -SELECT a+b*2+c*3, - a+b*2+c*3+d*4+e*5, - CASE WHEN a(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - b, - abs(a) - FROM t1 - ORDER BY 1,2,5,4,3 ----- -180 values hashing to b995fd3ed3a0e0bb771def6e5722bb0a - -query III rowsort x632 -SELECT CASE WHEN ab-2 AND ab-2 AND at1.c AND x.dd ----- -78 values hashing to eac728c6ddb91ccd31a0d1128417639c - -query IIIIII rowsort x633 -SELECT CASE a+1 WHEN b THEN 111 WHEN c THEN 222 - WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, - a+b*2+c*3, - (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.dd - ORDER BY 2,4,5,6 ----- -78 values hashing to eac728c6ddb91ccd31a0d1128417639c - -query I rowsort x634 -SELECT a-b - FROM t1 - WHERE e+d BETWEEN a+b-10 AND c+130 - OR (a>b-2 AND ac OR eb-2 AND ac OR eb-2 AND ac OR eb-2 AND ac OR eb-2 AND ac OR eb-2 AND ac OR e(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - (a+b+c+d+e)/5 - FROM t1 - WHERE (a>b-2 AND a(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - (a+b+c+d+e)/5 - FROM t1 - WHERE (a>b-2 AND ab-2 AND ab - AND c BETWEEN b-2 AND d+2 ----- -1325 -391 -444 -4 -1828 -544 -333 -14 - -query IIII rowsort x636 -SELECT a+b*2+c*3+d*4, - a+b*2, - CASE a+1 WHEN b THEN 111 WHEN c THEN 222 - WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, - (SELECT count(*) FROM t1 AS x WHERE x.bb-2 AND ab - AND c BETWEEN b-2 AND d+2 - ORDER BY 3,2 ----- -1325 -391 -444 -4 -1828 -544 -333 -14 - -query IIII rowsort x636 -SELECT a+b*2+c*3+d*4, - a+b*2, - CASE a+1 WHEN b THEN 111 WHEN c THEN 222 - WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, - (SELECT count(*) FROM t1 AS x WHERE x.bb - AND c BETWEEN b-2 AND d+2 - AND (a>b-2 AND ab - AND c BETWEEN b-2 AND d+2 - AND (a>b-2 AND ab-2 AND ab ----- -1325 -391 -444 -4 -1828 -544 -333 -14 - -query IIII rowsort x636 -SELECT a+b*2+c*3+d*4, - a+b*2, - CASE a+1 WHEN b THEN 111 WHEN c THEN 222 - WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, - (SELECT count(*) FROM t1 AS x WHERE x.bb-2 AND ab - ORDER BY 2,4,3,1 ----- -1325 -391 -444 -4 -1828 -544 -333 -14 - -query IIII rowsort x636 -SELECT a+b*2+c*3+d*4, - a+b*2, - CASE a+1 WHEN b THEN 111 WHEN c THEN 222 - WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, - (SELECT count(*) FROM t1 AS x WHERE x.bb - AND (a>b-2 AND ab - AND (a>b-2 AND ab ----- -16 values hashing to 7d839bd833a63d8738f66b90ff985dab - -query I rowsort x637 -SELECT e - FROM t1 - WHERE EXISTS(SELECT 1 FROM t1 AS x WHERE x.bb - ORDER BY 1 ----- -16 values hashing to 7d839bd833a63d8738f66b90ff985dab - -query I rowsort x637 -SELECT e - FROM t1 - WHERE a>b - AND EXISTS(SELECT 1 FROM t1 AS x WHERE x.bb - AND EXISTS(SELECT 1 FROM t1 AS x WHERE x.bc ----- -135 values hashing to e7aa3c5e3a24b65ef956b409a661d477 - -query IIIII rowsort x638 -SELECT e, - CASE WHEN ac - ORDER BY 4,1 ----- -135 values hashing to e7aa3c5e3a24b65ef956b409a661d477 - -query IIIII rowsort x638 -SELECT e, - CASE WHEN ac - OR EXISTS(SELECT 1 FROM t1 AS x WHERE x.bc - OR EXISTS(SELECT 1 FROM t1 AS x WHERE x.bc - OR e+d BETWEEN a+b-10 AND c+130 ----- -135 values hashing to e7aa3c5e3a24b65ef956b409a661d477 - -query IIIII rowsort x638 -SELECT e, - CASE WHEN ac - OR e+d BETWEEN a+b-10 AND c+130 - ORDER BY 1,5,3,4,2 ----- -135 values hashing to e7aa3c5e3a24b65ef956b409a661d477 - -query II rowsort x639 -SELECT d-e, - CASE a+1 WHEN b THEN 111 WHEN c THEN 222 - WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END - FROM t1 - WHERE (e>a AND ee ----- -52 values hashing to f1d3044a0e85a2767084245edcb2f4a6 - -query II rowsort x639 -SELECT d-e, - CASE a+1 WHEN b THEN 111 WHEN c THEN 222 - WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END - FROM t1 - WHERE (e>a AND ee - ORDER BY 2,1 ----- -52 values hashing to f1d3044a0e85a2767084245edcb2f4a6 - -query II rowsort x639 -SELECT d-e, - CASE a+1 WHEN b THEN 111 WHEN c THEN 222 - WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END - FROM t1 - WHERE d>e - OR (e>a AND ee - OR (e>a AND ee - OR (e>a AND ee - OR (e>a AND eb - OR e+d BETWEEN a+b-10 AND c+130 ----- -75 values hashing to cf041186510209396f2e00bd4f59e36f - -query III rowsort x640 -SELECT c, - (SELECT count(*) FROM t1 AS x WHERE x.bb - OR e+d BETWEEN a+b-10 AND c+130 - ORDER BY 2,3,1 ----- -75 values hashing to cf041186510209396f2e00bd4f59e36f - -query III rowsort x640 -SELECT c, - (SELECT count(*) FROM t1 AS x WHERE x.bb - OR e+d BETWEEN a+b-10 AND c+130 - OR d NOT BETWEEN 110 AND 150 ----- -75 values hashing to cf041186510209396f2e00bd4f59e36f - -query III rowsort x640 -SELECT c, - (SELECT count(*) FROM t1 AS x WHERE x.bb - OR e+d BETWEEN a+b-10 AND c+130 - OR d NOT BETWEEN 110 AND 150 - ORDER BY 1,3,2 ----- -75 values hashing to cf041186510209396f2e00bd4f59e36f - -query IIIIII rowsort x641 -SELECT c, - d, - a+b*2+c*3+d*4+e*5, - d-e, - b-c, - a+b*2 - FROM t1 ----- -180 values hashing to efbf7446555a01f143d113eadb8baae3 - -query IIIIII rowsort x641 -SELECT c, - d, - a+b*2+c*3+d*4+e*5, - d-e, - b-c, - a+b*2 - FROM t1 - ORDER BY 5,4,3 ----- -180 values hashing to efbf7446555a01f143d113eadb8baae3 - -query IIIIIII rowsort x642 -SELECT b, - CASE WHEN a(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - c-d - FROM t1 ----- -210 values hashing to 7de752c4774915444d60e77708b2048c - -query IIIIIII rowsort x642 -SELECT b, - CASE WHEN a(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - c-d - FROM t1 - ORDER BY 1,6,5,4,7,2 ----- -210 values hashing to 7de752c4774915444d60e77708b2048c - -query IIIIII rowsort x643 -SELECT a+b*2+c*3+d*4+e*5, - a+b*2, - (a+b+c+d+e)/5, - a+b*2+c*3+d*4, - c, - c-d - FROM t1 - WHERE (e>a AND eb-2 AND aa AND eb-2 AND ab - OR (c<=d-2 OR c>=d+2) ----- -66 values hashing to 7cbbec5d5fa1bb9944f843aa4c37f973 - -query III rowsort x644 -SELECT CASE WHEN ab - OR (c<=d-2 OR c>=d+2) - ORDER BY 2,3 ----- -66 values hashing to 7cbbec5d5fa1bb9944f843aa4c37f973 - -query III rowsort x644 -SELECT CASE WHEN a=d+2) - OR e+d BETWEEN a+b-10 AND c+130 - OR a>b ----- -66 values hashing to 7cbbec5d5fa1bb9944f843aa4c37f973 - -query III rowsort x644 -SELECT CASE WHEN a=d+2) - OR e+d BETWEEN a+b-10 AND c+130 - OR a>b - ORDER BY 1,3,2 ----- -66 values hashing to 7cbbec5d5fa1bb9944f843aa4c37f973 - -query IIIIII rowsort x645 -SELECT (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.dt1.c AND x.dt1.c AND x.dt1.c AND x.db-2 AND ab-2 AND ae ----- -9 values hashing to b54db3efe6d10d8d5c23d5b40a6e98f4 - -query I rowsort x647 -SELECT e - FROM t1 - WHERE c BETWEEN b-2 AND d+2 - AND d>e - ORDER BY 1 ----- -9 values hashing to b54db3efe6d10d8d5c23d5b40a6e98f4 - -query I rowsort x647 -SELECT e - FROM t1 - WHERE d>e - AND c BETWEEN b-2 AND d+2 ----- -9 values hashing to b54db3efe6d10d8d5c23d5b40a6e98f4 - -query I rowsort x647 -SELECT e - FROM t1 - WHERE d>e - AND c BETWEEN b-2 AND d+2 - ORDER BY 1 ----- -9 values hashing to b54db3efe6d10d8d5c23d5b40a6e98f4 - -query II rowsort x648 -SELECT a+b*2, - abs(a) - FROM t1 - WHERE d NOT BETWEEN 110 AND 150 ----- -34 values hashing to 431dcbdecbfe1b6d6b282b2f49c172ac - -query II rowsort x648 -SELECT a+b*2, - abs(a) - FROM t1 - WHERE d NOT BETWEEN 110 AND 150 - ORDER BY 1,2 ----- -34 values hashing to 431dcbdecbfe1b6d6b282b2f49c172ac - -query III rowsort x649 -SELECT (SELECT count(*) FROM t1 AS x WHERE x.ba AND ea AND ea AND ea AND et1.c AND x.d(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - d, - a+b*2+c*3+d*4, - abs(a) - FROM t1 - WHERE (c<=d-2 OR c>=d+2) ----- -70 values hashing to 6e510133a22ce9d30f9d1179329b8878 - -query IIIIIII rowsort x650 -SELECT (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.d(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - d, - a+b*2+c*3+d*4, - abs(a) - FROM t1 - WHERE (c<=d-2 OR c>=d+2) - ORDER BY 3,7 ----- -70 values hashing to 6e510133a22ce9d30f9d1179329b8878 - -query IIIIII rowsort x651 -SELECT a+b*2+c*3, - d, - a+b*2, - c-d, - e, - b-c - FROM t1 ----- -180 values hashing to bc4513b12162a93825e9bfea4fe97a1d - -query IIIIII rowsort x651 -SELECT a+b*2+c*3, - d, - a+b*2, - c-d, - e, - b-c - FROM t1 - ORDER BY 4,2,5 ----- -180 values hashing to bc4513b12162a93825e9bfea4fe97a1d - -query III rowsort x652 -SELECT a+b*2+c*3+d*4, - abs(a), - d-e - FROM t1 - WHERE (e>a AND ec OR ea AND ec OR ec OR ea AND ec OR ea AND et1.c AND x.dt1.c AND x.dc ----- -333 -3 -129 - -query III rowsort x655 -SELECT CASE a+1 WHEN b THEN 111 WHEN c THEN 222 - WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, - (SELECT count(*) FROM t1 AS x WHERE x.bc - ORDER BY 2,3 ----- -333 -3 -129 - -query III rowsort x655 -SELECT CASE a+1 WHEN b THEN 111 WHEN c THEN 222 - WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, - (SELECT count(*) FROM t1 AS x WHERE x.bc ----- -333 -3 -129 - -query III rowsort x655 -SELECT CASE a+1 WHEN b THEN 111 WHEN c THEN 222 - WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, - (SELECT count(*) FROM t1 AS x WHERE x.bc - ORDER BY 1,3,2 ----- -333 -3 -129 - -query III rowsort x655 -SELECT CASE a+1 WHEN b THEN 111 WHEN c THEN 222 - WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, - (SELECT count(*) FROM t1 AS x WHERE x.bc - AND e+d BETWEEN a+b-10 AND c+130 ----- -333 -3 -129 - -query III rowsort x655 -SELECT CASE a+1 WHEN b THEN 111 WHEN c THEN 222 - WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, - (SELECT count(*) FROM t1 AS x WHERE x.bc - AND e+d BETWEEN a+b-10 AND c+130 - ORDER BY 1,2,3 ----- -333 -3 -129 - -query IIIII rowsort x656 -SELECT c, - a+b*2, - (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.d(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - abs(b-c) - FROM t1 - WHERE (e>c OR eb-2 AND at1.c AND x.d(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - abs(b-c) - FROM t1 - WHERE (e>c OR eb-2 AND at1.c AND x.d(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - abs(b-c) - FROM t1 - WHERE (a>b-2 AND ac OR et1.c AND x.d(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - abs(b-c) - FROM t1 - WHERE (a>b-2 AND ac OR eb-2 AND ab-2 AND at1.c AND x.dc - AND (e>a AND et1.c AND x.dc - AND (e>a AND et1.c AND x.dc - AND (e>a AND et1.c AND x.dc - AND (e>a AND et1.c AND x.da AND ec ----- -0 -579 -0 -743 - -query II rowsort x658 -SELECT (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.da AND ec - ORDER BY 1,2 ----- -0 -579 -0 -743 - -query I rowsort x659 -SELECT CASE WHEN ac - OR c BETWEEN b-2 AND d+2 - OR c>d ----- -50 values hashing to 8b693107f5d03208df22ebd40471e4c5 - -query II rowsort x661 -SELECT CASE WHEN ac - OR c BETWEEN b-2 AND d+2 - OR c>d - ORDER BY 1,2 ----- -50 values hashing to 8b693107f5d03208df22ebd40471e4c5 - -query II rowsort x661 -SELECT CASE WHEN ac - OR c>d - OR c BETWEEN b-2 AND d+2 ----- -50 values hashing to 8b693107f5d03208df22ebd40471e4c5 - -query II rowsort x661 -SELECT CASE WHEN ac - OR c>d - OR c BETWEEN b-2 AND d+2 - ORDER BY 1,2 ----- -50 values hashing to 8b693107f5d03208df22ebd40471e4c5 - -query II rowsort x661 -SELECT CASE WHEN ad - OR b>c - OR c BETWEEN b-2 AND d+2 ----- -50 values hashing to 8b693107f5d03208df22ebd40471e4c5 - -query II rowsort x661 -SELECT CASE WHEN ad - OR b>c - OR c BETWEEN b-2 AND d+2 - ORDER BY 1,2 ----- -50 values hashing to 8b693107f5d03208df22ebd40471e4c5 - -query III rowsort x662 -SELECT d-e, - a, - e - FROM t1 - WHERE (c<=d-2 OR c>=d+2) ----- -30 values hashing to 6d73a828975e3289a657efba0304054c - -query III rowsort x662 -SELECT d-e, - a, - e - FROM t1 - WHERE (c<=d-2 OR c>=d+2) - ORDER BY 3,2,1 ----- -30 values hashing to 6d73a828975e3289a657efba0304054c - -query I rowsort x663 -SELECT a+b*2 - FROM t1 ----- -30 values hashing to fbca95e5a969d3d61cef1ebdfb618461 - -query I rowsort x663 -SELECT a+b*2 - FROM t1 - ORDER BY 1 ----- -30 values hashing to fbca95e5a969d3d61cef1ebdfb618461 - -query III rowsort x664 -SELECT d, - a+b*2+c*3+d*4+e*5, - b-c - FROM t1 - WHERE (c<=d-2 OR c>=d+2) - AND d>e - AND d NOT BETWEEN 110 AND 150 ----- -12 values hashing to 4b4ca058935d839f72f52963e0da4925 - -query III rowsort x664 -SELECT d, - a+b*2+c*3+d*4+e*5, - b-c - FROM t1 - WHERE (c<=d-2 OR c>=d+2) - AND d>e - AND d NOT BETWEEN 110 AND 150 - ORDER BY 1,3 ----- -12 values hashing to 4b4ca058935d839f72f52963e0da4925 - -query III rowsort x664 -SELECT d, - a+b*2+c*3+d*4+e*5, - b-c - FROM t1 - WHERE d>e - AND (c<=d-2 OR c>=d+2) - AND d NOT BETWEEN 110 AND 150 ----- -12 values hashing to 4b4ca058935d839f72f52963e0da4925 - -query III rowsort x664 -SELECT d, - a+b*2+c*3+d*4+e*5, - b-c - FROM t1 - WHERE d>e - AND (c<=d-2 OR c>=d+2) - AND d NOT BETWEEN 110 AND 150 - ORDER BY 2,1 ----- -12 values hashing to 4b4ca058935d839f72f52963e0da4925 - -query IIIIIII rowsort x665 -SELECT d-e, - CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - e, - a+b*2+c*3+d*4, - a, - a+b*2+c*3, - (a+b+c+d+e)/5 - FROM t1 - WHERE b>c ----- -91 values hashing to 18f349038c355a58d26ec68d72766f74 - -query IIIIIII rowsort x665 -SELECT d-e, - CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - e, - a+b*2+c*3+d*4, - a, - a+b*2+c*3, - (a+b+c+d+e)/5 - FROM t1 - WHERE b>c - ORDER BY 5,6,2,4 ----- -91 values hashing to 18f349038c355a58d26ec68d72766f74 - -query IIII rowsort x666 -SELECT (SELECT count(*) FROM t1 AS x WHERE x.bc ----- -52 values hashing to b425d3cd6fe34fd738c34e0c2c726c94 - -query IIII rowsort x667 -SELECT a+b*2+c*3, - a-b, - e, - d-e - FROM t1 - WHERE b>c - ORDER BY 3,1 ----- -52 values hashing to b425d3cd6fe34fd738c34e0c2c726c94 - -query IIIIIII rowsort x668 -SELECT a+b*2+c*3, - abs(b-c), - e, - (a+b+c+d+e)/5, - b, - d, - c-d - FROM t1 - WHERE (a>b-2 AND ab ----- -133 values hashing to 35456f0028870395a71bdffc4cf633ec - -query IIIIIII rowsort x668 -SELECT a+b*2+c*3, - abs(b-c), - e, - (a+b+c+d+e)/5, - b, - d, - c-d - FROM t1 - WHERE (a>b-2 AND ab - ORDER BY 2,6,3,1,5,4,7 ----- -133 values hashing to 35456f0028870395a71bdffc4cf633ec - -query IIIII rowsort x669 -SELECT CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - d, - a+b*2+c*3+d*4, - a, - a+b*2+c*3+d*4+e*5 - FROM t1 - WHERE e+d BETWEEN a+b-10 AND c+130 ----- -10 values hashing to 8831886a230ed0211a4e484d7642fe2e - -query IIIII rowsort x669 -SELECT CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - d, - a+b*2+c*3+d*4, - a, - a+b*2+c*3+d*4+e*5 - FROM t1 - WHERE e+d BETWEEN a+b-10 AND c+130 - ORDER BY 4,5,1,3,2 ----- -10 values hashing to 8831886a230ed0211a4e484d7642fe2e - -query IIIIII rowsort x670 -SELECT (a+b+c+d+e)/5, - abs(a), - (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.de - OR EXISTS(SELECT 1 FROM t1 AS x WHERE x.bt1.c AND x.de - OR EXISTS(SELECT 1 FROM t1 AS x WHERE x.bt1.c AND x.de ----- -156 values hashing to 4432156680365971a3e4cbf671510d6d - -query IIIIII rowsort x670 -SELECT (a+b+c+d+e)/5, - abs(a), - (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.de - ORDER BY 3,4 ----- -156 values hashing to 4432156680365971a3e4cbf671510d6d - -query IIII rowsort x671 -SELECT CASE a+1 WHEN b THEN 111 WHEN c THEN 222 - WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, - CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - a+b*2+c*3+d*4+e*5, - (SELECT count(*) FROM t1 AS x WHERE x.bc ----- -52 values hashing to 65fa8f30fe3b38c1f63914b24dd0ae36 - -query IIII rowsort x671 -SELECT CASE a+1 WHEN b THEN 111 WHEN c THEN 222 - WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, - CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - a+b*2+c*3+d*4+e*5, - (SELECT count(*) FROM t1 AS x WHERE x.bc - ORDER BY 1,3 ----- -52 values hashing to 65fa8f30fe3b38c1f63914b24dd0ae36 - -query IIII rowsort x672 -SELECT b-c, - c-d, - c, - CASE a+1 WHEN b THEN 111 WHEN c THEN 222 - WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END - FROM t1 ----- -120 values hashing to ee5ebd71e2885766385292465c73b289 - -query IIII rowsort x672 -SELECT b-c, - c-d, - c, - CASE a+1 WHEN b THEN 111 WHEN c THEN 222 - WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END - FROM t1 - ORDER BY 1,3,4 ----- -120 values hashing to ee5ebd71e2885766385292465c73b289 - -query IIII rowsort x673 -SELECT a-b, - c, - (SELECT count(*) FROM t1 AS x WHERE x.bt1.c AND x.dt1.c AND x.de - AND (e>c OR e=d+2) ----- -15 values hashing to 4935fb89cfb41e1c3e07004dd65f5c35 - -query III rowsort x674 -SELECT d, - b-c, - (a+b+c+d+e)/5 - FROM t1 - WHERE d>e - AND (e>c OR e=d+2) - ORDER BY 2,3,1 ----- -15 values hashing to 4935fb89cfb41e1c3e07004dd65f5c35 - -query III rowsort x674 -SELECT d, - b-c, - (a+b+c+d+e)/5 - FROM t1 - WHERE d>e - AND (c<=d-2 OR c>=d+2) - AND (e>c OR ee - AND (c<=d-2 OR c>=d+2) - AND (e>c OR e=d+2) - AND (e>c OR ee ----- -15 values hashing to 4935fb89cfb41e1c3e07004dd65f5c35 - -query III rowsort x674 -SELECT d, - b-c, - (a+b+c+d+e)/5 - FROM t1 - WHERE (c<=d-2 OR c>=d+2) - AND (e>c OR ee - ORDER BY 1,2 ----- -15 values hashing to 4935fb89cfb41e1c3e07004dd65f5c35 - -query IIIIII rowsort x675 -SELECT a+b*2+c*3+d*4, - (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.d(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - CASE a+1 WHEN b THEN 111 WHEN c THEN 222 - WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, - abs(a) - FROM t1 - WHERE (a>b-2 AND at1.c AND x.d(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - CASE a+1 WHEN b THEN 111 WHEN c THEN 222 - WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, - abs(a) - FROM t1 - WHERE (a>b-2 AND at1.c AND x.de ----- -54 values hashing to 70cd18685ab99a2b7c3fc0b4491b7cdb - -query IIIIII rowsort x676 -SELECT a, - CASE WHEN at1.c AND x.de - ORDER BY 1,5,3,6,2 ----- -54 values hashing to 70cd18685ab99a2b7c3fc0b4491b7cdb - -query IIIIII rowsort x676 -SELECT a, - CASE WHEN at1.c AND x.de - AND c BETWEEN b-2 AND d+2 ----- -54 values hashing to 70cd18685ab99a2b7c3fc0b4491b7cdb - -query IIIIII rowsort x676 -SELECT a, - CASE WHEN at1.c AND x.de - AND c BETWEEN b-2 AND d+2 - ORDER BY 1,2 ----- -54 values hashing to 70cd18685ab99a2b7c3fc0b4491b7cdb - -query I rowsort x677 -SELECT e - FROM t1 - WHERE (e>c OR ee - AND d NOT BETWEEN 110 AND 150 ----- -162 -180 -210 -221 -230 -237 -246 - -query I rowsort x677 -SELECT e - FROM t1 - WHERE (e>c OR ee - AND d NOT BETWEEN 110 AND 150 - ORDER BY 1 ----- -162 -180 -210 -221 -230 -237 -246 - -query I rowsort x677 -SELECT e - FROM t1 - WHERE d>e - AND d NOT BETWEEN 110 AND 150 - AND (e>c OR ee - AND d NOT BETWEEN 110 AND 150 - AND (e>c OR ec OR ee ----- -162 -180 -210 -221 -230 -237 -246 - -query I rowsort x677 -SELECT e - FROM t1 - WHERE d NOT BETWEEN 110 AND 150 - AND (e>c OR ee - ORDER BY 1 ----- -162 -180 -210 -221 -230 -237 -246 - -query I rowsort x677 -SELECT e - FROM t1 - WHERE (e>c OR ee ----- -162 -180 -210 -221 -230 -237 -246 - -query I rowsort x677 -SELECT e - FROM t1 - WHERE (e>c OR ee - ORDER BY 1 ----- -162 -180 -210 -221 -230 -237 -246 - -query IIIIII rowsort x678 -SELECT a+b*2+c*3, - CASE a+1 WHEN b THEN 111 WHEN c THEN 222 - WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, - a+b*2+c*3+d*4+e*5, - a-b, - (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.da AND et1.c AND x.da AND et1.c AND x.da AND et1.c AND x.da AND e(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - (a+b+c+d+e)/5 - FROM t1 - WHERE e+d BETWEEN a+b-10 AND c+130 ----- -1050 -107 -1290 -127 - -query II rowsort x679 -SELECT CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - (a+b+c+d+e)/5 - FROM t1 - WHERE e+d BETWEEN a+b-10 AND c+130 - ORDER BY 1,2 ----- -1050 -107 -1290 -127 - -query IIIII rowsort x680 -SELECT c, - a+b*2+c*3+d*4+e*5, - (a+b+c+d+e)/5, - abs(b-c), - b - FROM t1 ----- -150 values hashing to 08650458538a7f599e07dc060bd0d5a8 - -query IIIII rowsort x680 -SELECT c, - a+b*2+c*3+d*4+e*5, - (a+b+c+d+e)/5, - abs(b-c), - b - FROM t1 - ORDER BY 2,4,1,3,5 ----- -150 values hashing to 08650458538a7f599e07dc060bd0d5a8 - -query IIII rowsort x681 -SELECT a+b*2, - c-d, - CASE a+1 WHEN b THEN 111 WHEN c THEN 222 - WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, - CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END - FROM t1 ----- -120 values hashing to e4765bbd17a313f600b42a1fdae917ae - -query IIII rowsort x681 -SELECT a+b*2, - c-d, - CASE a+1 WHEN b THEN 111 WHEN c THEN 222 - WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, - CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END - FROM t1 - ORDER BY 2,3,4 ----- -120 values hashing to e4765bbd17a313f600b42a1fdae917ae - -query III rowsort x682 -SELECT b-c, - (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.db - AND (e>a AND e=d+2) ----- - -query III rowsort x682 -SELECT b-c, - (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.db - AND (e>a AND e=d+2) - ORDER BY 2,1 ----- - -query III rowsort x682 -SELECT b-c, - (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.d=d+2) - AND (e>a AND eb ----- - -query III rowsort x682 -SELECT b-c, - (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.d=d+2) - AND (e>a AND eb - ORDER BY 3,1,2 ----- - -query III rowsort x682 -SELECT b-c, - (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.db - AND (c<=d-2 OR c>=d+2) - AND (e>a AND et1.c AND x.db - AND (c<=d-2 OR c>=d+2) - AND (e>a AND et1.c AND x.dt1.c AND x.db-2 AND ae ----- -105 values hashing to 6db0595048bb4b87385375c23fbb03e9 - -query IIIII rowsort x687 -SELECT c, - a+b*2+c*3+d*4+e*5, - b-c, - a, - d-e - FROM t1 - WHERE c BETWEEN b-2 AND d+2 - OR (a>b-2 AND ae - ORDER BY 3,5,4,2 ----- -105 values hashing to 6db0595048bb4b87385375c23fbb03e9 - -query IIIII rowsort x687 -SELECT c, - a+b*2+c*3+d*4+e*5, - b-c, - a, - d-e - FROM t1 - WHERE (a>b-2 AND ae ----- -105 values hashing to 6db0595048bb4b87385375c23fbb03e9 - -query IIIII rowsort x687 -SELECT c, - a+b*2+c*3+d*4+e*5, - b-c, - a, - d-e - FROM t1 - WHERE (a>b-2 AND ae - ORDER BY 3,2,5,1,4 ----- -105 values hashing to 6db0595048bb4b87385375c23fbb03e9 - -query IIIII rowsort x687 -SELECT c, - a+b*2+c*3+d*4+e*5, - b-c, - a, - d-e - FROM t1 - WHERE (a>b-2 AND ae - OR c BETWEEN b-2 AND d+2 ----- -105 values hashing to 6db0595048bb4b87385375c23fbb03e9 - -query IIIII rowsort x687 -SELECT c, - a+b*2+c*3+d*4+e*5, - b-c, - a, - d-e - FROM t1 - WHERE (a>b-2 AND ae - OR c BETWEEN b-2 AND d+2 - ORDER BY 5,3 ----- -105 values hashing to 6db0595048bb4b87385375c23fbb03e9 - -query IIIII rowsort x688 -SELECT a, - (a+b+c+d+e)/5, - b-c, - a+b*2, - CASE WHEN ab ----- -85 values hashing to 4805fd0e5a976f4378ba55c5494b747e - -query IIIII rowsort x688 -SELECT a, - (a+b+c+d+e)/5, - b-c, - a+b*2, - CASE WHEN ab - ORDER BY 1,2 ----- -85 values hashing to 4805fd0e5a976f4378ba55c5494b747e - -query I rowsort x689 -SELECT a+b*2 - FROM t1 - WHERE b>c - OR a>b ----- -24 values hashing to e71470a4cbcc21748346c6f62f1c096d - -query I rowsort x689 -SELECT a+b*2 - FROM t1 - WHERE b>c - OR a>b - ORDER BY 1 ----- -24 values hashing to e71470a4cbcc21748346c6f62f1c096d - -query I rowsort x689 -SELECT a+b*2 - FROM t1 - WHERE a>b - OR b>c ----- -24 values hashing to e71470a4cbcc21748346c6f62f1c096d - -query I rowsort x689 -SELECT a+b*2 - FROM t1 - WHERE a>b - OR b>c - ORDER BY 1 ----- -24 values hashing to e71470a4cbcc21748346c6f62f1c096d - -query IIII rowsort x690 -SELECT b-c, - a+b*2, - a+b*2+c*3+d*4, - d-e - FROM t1 ----- -120 values hashing to 6e54ebf916f41ecf931f4532456d3be2 - -query IIII rowsort x690 -SELECT b-c, - a+b*2, - a+b*2+c*3+d*4, - d-e - FROM t1 - ORDER BY 4,3 ----- -120 values hashing to 6e54ebf916f41ecf931f4532456d3be2 - -query IIII rowsort x691 -SELECT abs(b-c), - (SELECT count(*) FROM t1 AS x WHERE x.bb ----- -68 values hashing to 06c7ceeead894606cbb65850934466f4 - -query IIII rowsort x691 -SELECT abs(b-c), - (SELECT count(*) FROM t1 AS x WHERE x.bb - ORDER BY 3,4 ----- -68 values hashing to 06c7ceeead894606cbb65850934466f4 - -query I rowsort x692 -SELECT a+b*2+c*3+d*4 - FROM t1 - WHERE c>d - AND (c<=d-2 OR c>=d+2) - AND d>e ----- -2125 -2226 - -query I rowsort x692 -SELECT a+b*2+c*3+d*4 - FROM t1 - WHERE c>d - AND (c<=d-2 OR c>=d+2) - AND d>e - ORDER BY 1 ----- -2125 -2226 - -query I rowsort x692 -SELECT a+b*2+c*3+d*4 - FROM t1 - WHERE d>e - AND c>d - AND (c<=d-2 OR c>=d+2) ----- -2125 -2226 - -query I rowsort x692 -SELECT a+b*2+c*3+d*4 - FROM t1 - WHERE d>e - AND c>d - AND (c<=d-2 OR c>=d+2) - ORDER BY 1 ----- -2125 -2226 - -query I rowsort x692 -SELECT a+b*2+c*3+d*4 - FROM t1 - WHERE c>d - AND d>e - AND (c<=d-2 OR c>=d+2) ----- -2125 -2226 - -query I rowsort x692 -SELECT a+b*2+c*3+d*4 - FROM t1 - WHERE c>d - AND d>e - AND (c<=d-2 OR c>=d+2) - ORDER BY 1 ----- -2125 -2226 - -query II rowsort x693 -SELECT b-c, - CASE WHEN ae ----- -22 values hashing to 8555b014659201768f0fe7baf9967e06 - -query II rowsort x693 -SELECT b-c, - CASE WHEN ae - ORDER BY 1,2 ----- -22 values hashing to 8555b014659201768f0fe7baf9967e06 - -query II rowsort x694 -SELECT a+b*2+c*3, - (SELECT count(*) FROM t1 AS x WHERE x.bt1.c AND x.dc OR ed ----- - -query IIIIIII rowsort x697 -SELECT abs(a), - a+b*2+c*3+d*4, - b, - (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.dc OR ed - ORDER BY 5,3,1,4,2,6 ----- - -query IIIIIII rowsort x697 -SELECT abs(a), - a+b*2+c*3+d*4, - b, - (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.dc OR ed ----- - -query IIIIIII rowsort x697 -SELECT abs(a), - a+b*2+c*3+d*4, - b, - (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.dc OR ed - ORDER BY 6,5,4,7,1,3 ----- - -query IIIIIII rowsort x697 -SELECT abs(a), - a+b*2+c*3+d*4, - b, - (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.dd - AND (e>c OR et1.c AND x.dd - AND (e>c OR eb-2 AND ab-2 AND ab-2 AND aa AND eb-2 AND aa AND ea AND eb-2 AND aa AND eb-2 AND ab-2 AND aa AND eb-2 AND aa AND e(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END - FROM t1 - WHERE b>c - OR c BETWEEN b-2 AND d+2 - OR EXISTS(SELECT 1 FROM t1 AS x WHERE x.b(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END - FROM t1 - WHERE b>c - OR c BETWEEN b-2 AND d+2 - OR EXISTS(SELECT 1 FROM t1 AS x WHERE x.b(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END - FROM t1 - WHERE b>c - OR EXISTS(SELECT 1 FROM t1 AS x WHERE x.b(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END - FROM t1 - WHERE b>c - OR EXISTS(SELECT 1 FROM t1 AS x WHERE x.bc OR ec OR ec OR ec OR e(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - CASE WHEN aa AND eb ----- -60 values hashing to b670a82934f4611abfa49da6ac4c7700 - -query III rowsort x702 -SELECT (a+b+c+d+e)/5, - CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - CASE WHEN aa AND eb - ORDER BY 3,1 ----- -60 values hashing to b670a82934f4611abfa49da6ac4c7700 - -query IIIIII rowsort x703 -SELECT d, - e, - a+b*2+c*3+d*4+e*5, - c, - CASE a+1 WHEN b THEN 111 WHEN c THEN 222 - WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, - b - FROM t1 - WHERE b>c - OR (c<=d-2 OR c>=d+2) ----- -114 values hashing to 78365d176362a43babd7bf2b93ff7edd - -query IIIIII rowsort x703 -SELECT d, - e, - a+b*2+c*3+d*4+e*5, - c, - CASE a+1 WHEN b THEN 111 WHEN c THEN 222 - WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, - b - FROM t1 - WHERE b>c - OR (c<=d-2 OR c>=d+2) - ORDER BY 5,6,4 ----- -114 values hashing to 78365d176362a43babd7bf2b93ff7edd - -query IIII rowsort x704 -SELECT (a+b+c+d+e)/5, - d, - c-d, - abs(b-c) - FROM t1 - WHERE e+d BETWEEN a+b-10 AND c+130 - OR c>d ----- -60 values hashing to 87c38a4989a95b372a49f40afe4b6ee7 - -query IIII rowsort x704 -SELECT (a+b+c+d+e)/5, - d, - c-d, - abs(b-c) - FROM t1 - WHERE e+d BETWEEN a+b-10 AND c+130 - OR c>d - ORDER BY 3,2,4,1 ----- -60 values hashing to 87c38a4989a95b372a49f40afe4b6ee7 - -query IIII rowsort x704 -SELECT (a+b+c+d+e)/5, - d, - c-d, - abs(b-c) - FROM t1 - WHERE c>d - OR e+d BETWEEN a+b-10 AND c+130 ----- -60 values hashing to 87c38a4989a95b372a49f40afe4b6ee7 - -query IIII rowsort x704 -SELECT (a+b+c+d+e)/5, - d, - c-d, - abs(b-c) - FROM t1 - WHERE c>d - OR e+d BETWEEN a+b-10 AND c+130 - ORDER BY 1,4,2 ----- -60 values hashing to 87c38a4989a95b372a49f40afe4b6ee7 - -query IIIIII rowsort x705 -SELECT CASE a+1 WHEN b THEN 111 WHEN c THEN 222 - WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, - CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - a+b*2, - (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.de - AND c BETWEEN b-2 AND d+2 - AND (c<=d-2 OR c>=d+2) ----- -24 values hashing to 96313609120ed6ed43f19282bb33448a - -query IIIIII rowsort x705 -SELECT CASE a+1 WHEN b THEN 111 WHEN c THEN 222 - WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, - CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - a+b*2, - (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.de - AND c BETWEEN b-2 AND d+2 - AND (c<=d-2 OR c>=d+2) - ORDER BY 5,4 ----- -24 values hashing to 96313609120ed6ed43f19282bb33448a - -query IIIIII rowsort x705 -SELECT CASE a+1 WHEN b THEN 111 WHEN c THEN 222 - WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, - CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - a+b*2, - (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.d=d+2) - AND c BETWEEN b-2 AND d+2 - AND d>e ----- -24 values hashing to 96313609120ed6ed43f19282bb33448a - -query IIIIII rowsort x705 -SELECT CASE a+1 WHEN b THEN 111 WHEN c THEN 222 - WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, - CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - a+b*2, - (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.d=d+2) - AND c BETWEEN b-2 AND d+2 - AND d>e - ORDER BY 6,3,4 ----- -24 values hashing to 96313609120ed6ed43f19282bb33448a - -query I rowsort x706 -SELECT CASE WHEN aa AND ea AND eb ----- -85 values hashing to 936fa92f2a3e8f45419618b59f6a8858 - -query IIIII rowsort x708 -SELECT abs(b-c), - d, - d-e, - c-d, - e - FROM t1 - WHERE a>b - ORDER BY 4,1,5,2 ----- -85 values hashing to 936fa92f2a3e8f45419618b59f6a8858 - -query IIII rowsort x709 -SELECT (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.d=d+2) - OR e+d BETWEEN a+b-10 AND c+130 ----- -40 values hashing to 0bcf1508dc78bc1867e520ca3db7355d - -query IIII rowsort x709 -SELECT (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.d=d+2) - OR e+d BETWEEN a+b-10 AND c+130 - ORDER BY 4,1,3,2 ----- -40 values hashing to 0bcf1508dc78bc1867e520ca3db7355d - -query IIII rowsort x709 -SELECT (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.d=d+2) ----- -40 values hashing to 0bcf1508dc78bc1867e520ca3db7355d - -query IIII rowsort x709 -SELECT (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.d=d+2) - ORDER BY 4,2,3 ----- -40 values hashing to 0bcf1508dc78bc1867e520ca3db7355d - -query III rowsort x710 -SELECT a, - CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - a+b*2+c*3+d*4 - FROM t1 ----- -90 values hashing to 1c204adbdc05d0927b60e997937fe50a - -query III rowsort x710 -SELECT a, - CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - a+b*2+c*3+d*4 - FROM t1 - ORDER BY 2,3,1 ----- -90 values hashing to 1c204adbdc05d0927b60e997937fe50a - -query I rowsort x711 -SELECT a+b*2+c*3+d*4 - FROM t1 - WHERE (e>c OR ec - OR d NOT BETWEEN 110 AND 150 ----- -27 values hashing to ccb5588394c5680f5305fcb9ef5b3e2e - -query I rowsort x711 -SELECT a+b*2+c*3+d*4 - FROM t1 - WHERE (e>c OR ec - OR d NOT BETWEEN 110 AND 150 - ORDER BY 1 ----- -27 values hashing to ccb5588394c5680f5305fcb9ef5b3e2e - -query I rowsort x711 -SELECT a+b*2+c*3+d*4 - FROM t1 - WHERE d NOT BETWEEN 110 AND 150 - OR b>c - OR (e>c OR ec - OR (e>c OR ec OR ec ----- -27 values hashing to ccb5588394c5680f5305fcb9ef5b3e2e - -query I rowsort x711 -SELECT a+b*2+c*3+d*4 - FROM t1 - WHERE (e>c OR ec - ORDER BY 1 ----- -27 values hashing to ccb5588394c5680f5305fcb9ef5b3e2e - -query III rowsort x712 -SELECT a, - a+b*2, - abs(b-c) - FROM t1 - WHERE EXISTS(SELECT 1 FROM t1 AS x WHERE x.bt1.c AND x.db ----- -80 values hashing to 6ef54925015c9504f804e0fdb4d91037 - -query IIIII rowsort x714 -SELECT (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.db - ORDER BY 4,5,1,2 ----- -80 values hashing to 6ef54925015c9504f804e0fdb4d91037 - -query IIIII rowsort x714 -SELECT (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.db - AND EXISTS(SELECT 1 FROM t1 AS x WHERE x.bt1.c AND x.db - AND EXISTS(SELECT 1 FROM t1 AS x WHERE x.bt1.c AND x.dd - OR d>e ----- -95 values hashing to bed7235daff0f9f53011e8f710309332 - -query IIIII rowsort x715 -SELECT (a+b+c+d+e)/5, - CASE a+1 WHEN b THEN 111 WHEN c THEN 222 - WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, - (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.dd - OR d>e - ORDER BY 1,3,4 ----- -95 values hashing to bed7235daff0f9f53011e8f710309332 - -query IIII rowsort x716 -SELECT b-c, - a+b*2, - (a+b+c+d+e)/5, - a - FROM t1 - WHERE d NOT BETWEEN 110 AND 150 - AND a>b - AND EXISTS(SELECT 1 FROM t1 AS x WHERE x.bb - AND EXISTS(SELECT 1 FROM t1 AS x WHERE x.bb - AND d NOT BETWEEN 110 AND 150 ----- -36 values hashing to 9b60c80f1253128bfdf084e82443c834 - -query IIII rowsort x716 -SELECT b-c, - a+b*2, - (a+b+c+d+e)/5, - a - FROM t1 - WHERE EXISTS(SELECT 1 FROM t1 AS x WHERE x.bb - AND d NOT BETWEEN 110 AND 150 - ORDER BY 2,1,3,4 ----- -36 values hashing to 9b60c80f1253128bfdf084e82443c834 - -query IIII rowsort x716 -SELECT b-c, - a+b*2, - (a+b+c+d+e)/5, - a - FROM t1 - WHERE a>b - AND EXISTS(SELECT 1 FROM t1 AS x WHERE x.bb - AND EXISTS(SELECT 1 FROM t1 AS x WHERE x.bb-2 AND ab-2 AND ad - AND (e>c OR ed - AND (e>c OR ec OR ed ----- -40 values hashing to c3933b6e8cb7e7bff2b8e6232d42043a - -query IIIII rowsort x719 -SELECT (a+b+c+d+e)/5, - a, - b-c, - (SELECT count(*) FROM t1 AS x WHERE x.bc OR ed - ORDER BY 3,2,4 ----- -40 values hashing to c3933b6e8cb7e7bff2b8e6232d42043a - -query I rowsort x720 -SELECT CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END - FROM t1 - WHERE c BETWEEN b-2 AND d+2 ----- -15 values hashing to 24301db3251cc0181759db55e6ca955d - -query I rowsort x720 -SELECT CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END - FROM t1 - WHERE c BETWEEN b-2 AND d+2 - ORDER BY 1 ----- -15 values hashing to 24301db3251cc0181759db55e6ca955d - -query IIIIIII rowsort x721 -SELECT a-b, - (a+b+c+d+e)/5, - b, - CASE a+1 WHEN b THEN 111 WHEN c THEN 222 - WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, - CASE WHEN ac - AND c>d - AND e+d BETWEEN a+b-10 AND c+130 ----- - -query IIIIIII rowsort x721 -SELECT a-b, - (a+b+c+d+e)/5, - b, - CASE a+1 WHEN b THEN 111 WHEN c THEN 222 - WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, - CASE WHEN ac - AND c>d - AND e+d BETWEEN a+b-10 AND c+130 - ORDER BY 5,2,7,3,4 ----- - -query IIIIIII rowsort x721 -SELECT a-b, - (a+b+c+d+e)/5, - b, - CASE a+1 WHEN b THEN 111 WHEN c THEN 222 - WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, - CASE WHEN ad - AND b>c - AND e+d BETWEEN a+b-10 AND c+130 ----- - -query IIIIIII rowsort x721 -SELECT a-b, - (a+b+c+d+e)/5, - b, - CASE a+1 WHEN b THEN 111 WHEN c THEN 222 - WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, - CASE WHEN ad - AND b>c - AND e+d BETWEEN a+b-10 AND c+130 - ORDER BY 5,4 ----- - -query IIIIIII rowsort x721 -SELECT a-b, - (a+b+c+d+e)/5, - b, - CASE a+1 WHEN b THEN 111 WHEN c THEN 222 - WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, - CASE WHEN ac - AND c>d ----- - -query IIIIIII rowsort x721 -SELECT a-b, - (a+b+c+d+e)/5, - b, - CASE a+1 WHEN b THEN 111 WHEN c THEN 222 - WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, - CASE WHEN ac - AND c>d - ORDER BY 4,6,3,1,7,2,5 ----- - -query II rowsort x722 -SELECT e, - (a+b+c+d+e)/5 - FROM t1 ----- -60 values hashing to d498732e2676d6a2598a7fc7eb42e20c - -query II rowsort x722 -SELECT e, - (a+b+c+d+e)/5 - FROM t1 - ORDER BY 2,1 ----- -60 values hashing to d498732e2676d6a2598a7fc7eb42e20c - -query IIIIIII rowsort x723 -SELECT (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.dd ----- -91 values hashing to 33c48df60edc29d417900f70ffaa09c1 - -query IIIIIII rowsort x723 -SELECT (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.dd - ORDER BY 2,3,7,5,4,6 ----- -91 values hashing to 33c48df60edc29d417900f70ffaa09c1 - -query IIIIIII rowsort x724 -SELECT e, - c, - c-d, - abs(a), - (SELECT count(*) FROM t1 AS x WHERE x.b(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - (SELECT count(*) FROM t1 AS x WHERE x.bt1.c AND x.d(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - (SELECT count(*) FROM t1 AS x WHERE x.bt1.c AND x.d(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END - FROM t1 - WHERE a>b - AND (e>a AND e=d+2) ----- - -query III rowsort x728 -SELECT a-b, - a+b*2+c*3+d*4+e*5, - CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END - FROM t1 - WHERE a>b - AND (e>a AND e=d+2) - ORDER BY 3,2,1 ----- - -query III rowsort x728 -SELECT a-b, - a+b*2+c*3+d*4+e*5, - CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END - FROM t1 - WHERE (c<=d-2 OR c>=d+2) - AND (e>a AND eb ----- - -query III rowsort x728 -SELECT a-b, - a+b*2+c*3+d*4+e*5, - CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END - FROM t1 - WHERE (c<=d-2 OR c>=d+2) - AND (e>a AND eb - ORDER BY 2,3,1 ----- - -query III rowsort x728 -SELECT a-b, - a+b*2+c*3+d*4+e*5, - CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END - FROM t1 - WHERE a>b - AND (c<=d-2 OR c>=d+2) - AND (e>a AND e(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END - FROM t1 - WHERE a>b - AND (c<=d-2 OR c>=d+2) - AND (e>a AND ea AND ea AND eb-2 AND ab - OR d>e ----- -115 values hashing to bb21d817f25fca8477eb01b4fedb58c7 - -query IIIII rowsort x731 -SELECT e, - b, - CASE a+1 WHEN b THEN 111 WHEN c THEN 222 - WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, - (a+b+c+d+e)/5, - a+b*2 - FROM t1 - WHERE (a>b-2 AND ab - OR d>e - ORDER BY 3,1 ----- -115 values hashing to bb21d817f25fca8477eb01b4fedb58c7 - -query IIIII rowsort x731 -SELECT e, - b, - CASE a+1 WHEN b THEN 111 WHEN c THEN 222 - WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, - (a+b+c+d+e)/5, - a+b*2 - FROM t1 - WHERE a>b - OR (a>b-2 AND ae ----- -115 values hashing to bb21d817f25fca8477eb01b4fedb58c7 - -query IIIII rowsort x731 -SELECT e, - b, - CASE a+1 WHEN b THEN 111 WHEN c THEN 222 - WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, - (a+b+c+d+e)/5, - a+b*2 - FROM t1 - WHERE a>b - OR (a>b-2 AND ae - ORDER BY 3,2,4,5,1 ----- -115 values hashing to bb21d817f25fca8477eb01b4fedb58c7 - -query IIIII rowsort x731 -SELECT e, - b, - CASE a+1 WHEN b THEN 111 WHEN c THEN 222 - WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, - (a+b+c+d+e)/5, - a+b*2 - FROM t1 - WHERE d>e - OR a>b - OR (a>b-2 AND ae - OR a>b - OR (a>b-2 AND at1.c AND x.dc - AND d NOT BETWEEN 110 AND 150 - AND (c<=d-2 OR c>=d+2) ----- -21 values hashing to 66cd7aeef4414a02b7f5507993fab335 - -query IIIIIII rowsort x732 -SELECT b-c, - d, - a+b*2+c*3+d*4+e*5, - (a+b+c+d+e)/5, - a+b*2, - (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.dc - AND d NOT BETWEEN 110 AND 150 - AND (c<=d-2 OR c>=d+2) - ORDER BY 4,3 ----- -21 values hashing to 66cd7aeef4414a02b7f5507993fab335 - -query IIIIIII rowsort x732 -SELECT b-c, - d, - a+b*2+c*3+d*4+e*5, - (a+b+c+d+e)/5, - a+b*2, - (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.dc - AND (c<=d-2 OR c>=d+2) ----- -21 values hashing to 66cd7aeef4414a02b7f5507993fab335 - -query IIIIIII rowsort x732 -SELECT b-c, - d, - a+b*2+c*3+d*4+e*5, - (a+b+c+d+e)/5, - a+b*2, - (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.dc - AND (c<=d-2 OR c>=d+2) - ORDER BY 4,1,2,7 ----- -21 values hashing to 66cd7aeef4414a02b7f5507993fab335 - -query IIIIIII rowsort x732 -SELECT b-c, - d, - a+b*2+c*3+d*4+e*5, - (a+b+c+d+e)/5, - a+b*2, - (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.d=d+2) - AND d NOT BETWEEN 110 AND 150 - AND b>c ----- -21 values hashing to 66cd7aeef4414a02b7f5507993fab335 - -query IIIIIII rowsort x732 -SELECT b-c, - d, - a+b*2+c*3+d*4+e*5, - (a+b+c+d+e)/5, - a+b*2, - (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.d=d+2) - AND d NOT BETWEEN 110 AND 150 - AND b>c - ORDER BY 4,1,5,6,2 ----- -21 values hashing to 66cd7aeef4414a02b7f5507993fab335 - -query IIIIIII rowsort x732 -SELECT b-c, - d, - a+b*2+c*3+d*4+e*5, - (a+b+c+d+e)/5, - a+b*2, - (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.dc - AND (c<=d-2 OR c>=d+2) - AND d NOT BETWEEN 110 AND 150 ----- -21 values hashing to 66cd7aeef4414a02b7f5507993fab335 - -query IIIIIII rowsort x732 -SELECT b-c, - d, - a+b*2+c*3+d*4+e*5, - (a+b+c+d+e)/5, - a+b*2, - (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.dc - AND (c<=d-2 OR c>=d+2) - AND d NOT BETWEEN 110 AND 150 - ORDER BY 1,2,5,3,7,4,6 ----- -21 values hashing to 66cd7aeef4414a02b7f5507993fab335 - -query II rowsort x733 -SELECT c-d, - b - FROM t1 - WHERE c BETWEEN b-2 AND d+2 ----- -30 values hashing to 5c44e220765931661a93eef7d781f382 - -query II rowsort x733 -SELECT c-d, - b - FROM t1 - WHERE c BETWEEN b-2 AND d+2 - ORDER BY 1,2 ----- -30 values hashing to 5c44e220765931661a93eef7d781f382 - -query I rowsort x734 -SELECT a+b*2 - FROM t1 ----- -30 values hashing to fbca95e5a969d3d61cef1ebdfb618461 - -query I rowsort x734 -SELECT a+b*2 - FROM t1 - ORDER BY 1 ----- -30 values hashing to fbca95e5a969d3d61cef1ebdfb618461 - -query III rowsort x735 -SELECT e, - b-c, - a-b - FROM t1 ----- -90 values hashing to 54548edc6b7e3210f1a87b87028507eb - -query III rowsort x735 -SELECT e, - b-c, - a-b - FROM t1 - ORDER BY 3,2 ----- -90 values hashing to 54548edc6b7e3210f1a87b87028507eb - -query IIII rowsort x736 -SELECT c-d, - CASE WHEN aa AND ee - OR EXISTS(SELECT 1 FROM t1 AS x WHERE x.ba AND ee - OR EXISTS(SELECT 1 FROM t1 AS x WHERE x.ba AND ee ----- -104 values hashing to 0fe9466f8bc2d8db37e18a838d56e649 - -query IIII rowsort x736 -SELECT c-d, - CASE WHEN aa AND ee - ORDER BY 4,3,2,1 ----- -104 values hashing to 0fe9466f8bc2d8db37e18a838d56e649 - -query IIII rowsort x736 -SELECT c-d, - CASE WHEN ae - OR EXISTS(SELECT 1 FROM t1 AS x WHERE x.ba AND ee - OR EXISTS(SELECT 1 FROM t1 AS x WHERE x.ba AND et1.c AND x.db - AND c>d ----- -25 values hashing to a2167941ad5156924d8b2030b57290cc - -query IIIII rowsort x737 -SELECT abs(a), - d, - a+b*2+c*3, - (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.db - AND c>d - ORDER BY 3,2,1,4,5 ----- -25 values hashing to a2167941ad5156924d8b2030b57290cc - -query IIIII rowsort x737 -SELECT abs(a), - d, - a+b*2+c*3, - (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.dd - AND a>b ----- -25 values hashing to a2167941ad5156924d8b2030b57290cc - -query IIIII rowsort x737 -SELECT abs(a), - d, - a+b*2+c*3, - (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.dd - AND a>b - ORDER BY 3,5,1,2,4 ----- -25 values hashing to a2167941ad5156924d8b2030b57290cc - -query IIIII rowsort x737 -SELECT abs(a), - d, - a+b*2+c*3, - (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.dd - AND a>b - AND c BETWEEN b-2 AND d+2 ----- -25 values hashing to a2167941ad5156924d8b2030b57290cc - -query IIIII rowsort x737 -SELECT abs(a), - d, - a+b*2+c*3, - (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.dd - AND a>b - AND c BETWEEN b-2 AND d+2 - ORDER BY 5,1,2,4,3 ----- -25 values hashing to a2167941ad5156924d8b2030b57290cc - -query III rowsort x738 -SELECT a, - CASE WHEN ae - AND (a>b-2 AND ae - AND (a>b-2 AND ad ----- -78 values hashing to abb56a92bf0cb2eeb79cb083d30f4461 - -query IIIIII rowsort x739 -SELECT a+b*2+c*3+d*4, - a, - e, - a+b*2+c*3+d*4+e*5, - d, - CASE a+1 WHEN b THEN 111 WHEN c THEN 222 - WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END - FROM t1 - WHERE c>d - ORDER BY 4,3,6 ----- -78 values hashing to abb56a92bf0cb2eeb79cb083d30f4461 - -query II rowsort x740 -SELECT a+b*2+c*3+d*4, - a+b*2+c*3 - FROM t1 - WHERE a>b - OR EXISTS(SELECT 1 FROM t1 AS x WHERE x.bb - OR EXISTS(SELECT 1 FROM t1 AS x WHERE x.bc OR ec OR et1.c AND x.db-2 AND at1.c AND x.db-2 AND at1.c AND x.db-2 AND at1.c AND x.db-2 AND ac OR ec OR ec OR ec OR eb ----- -68 values hashing to e51724a26aa401a907517e31686c8aa8 - -query IIII rowsort x745 -SELECT b-c, - abs(b-c), - a+b*2+c*3, - a+b*2+c*3+d*4+e*5 - FROM t1 - WHERE a>b - ORDER BY 3,2,1,4 ----- -68 values hashing to e51724a26aa401a907517e31686c8aa8 - -query II rowsort x746 -SELECT CASE a+1 WHEN b THEN 111 WHEN c THEN 222 - WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, - (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.dc OR ee - AND (c<=d-2 OR c>=d+2) ----- -10 values hashing to 46db9015ef52a10b49c8e03ba9ef9196 - -query II rowsort x746 -SELECT CASE a+1 WHEN b THEN 111 WHEN c THEN 222 - WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, - (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.dc OR ee - AND (c<=d-2 OR c>=d+2) - ORDER BY 1,2 ----- -10 values hashing to 46db9015ef52a10b49c8e03ba9ef9196 - -query II rowsort x746 -SELECT CASE a+1 WHEN b THEN 111 WHEN c THEN 222 - WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, - (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.de - AND (e>c OR e=d+2) ----- -10 values hashing to 46db9015ef52a10b49c8e03ba9ef9196 - -query II rowsort x746 -SELECT CASE a+1 WHEN b THEN 111 WHEN c THEN 222 - WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, - (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.de - AND (e>c OR e=d+2) - ORDER BY 2,1 ----- -10 values hashing to 46db9015ef52a10b49c8e03ba9ef9196 - -query II rowsort x746 -SELECT CASE a+1 WHEN b THEN 111 WHEN c THEN 222 - WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, - (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.d=d+2) - AND d>e - AND (e>c OR et1.c AND x.d=d+2) - AND d>e - AND (e>c OR e=d+2) ----- -10 values hashing to efa8813bb3fe4fd95c76a8b4cec1fef1 - -query I rowsort x747 -SELECT a-b - FROM t1 - WHERE (c<=d-2 OR c>=d+2) - ORDER BY 1 ----- -10 values hashing to efa8813bb3fe4fd95c76a8b4cec1fef1 - -query II rowsort x748 -SELECT (a+b+c+d+e)/5, - c - FROM t1 - WHERE e+d BETWEEN a+b-10 AND c+130 - OR d>e ----- -24 values hashing to 5c25c8944f53227053854fc9e1ad5d04 - -query II rowsort x748 -SELECT (a+b+c+d+e)/5, - c - FROM t1 - WHERE e+d BETWEEN a+b-10 AND c+130 - OR d>e - ORDER BY 1,2 ----- -24 values hashing to 5c25c8944f53227053854fc9e1ad5d04 - -query II rowsort x748 -SELECT (a+b+c+d+e)/5, - c - FROM t1 - WHERE d>e - OR e+d BETWEEN a+b-10 AND c+130 ----- -24 values hashing to 5c25c8944f53227053854fc9e1ad5d04 - -query II rowsort x748 -SELECT (a+b+c+d+e)/5, - c - FROM t1 - WHERE d>e - OR e+d BETWEEN a+b-10 AND c+130 - ORDER BY 1,2 ----- -24 values hashing to 5c25c8944f53227053854fc9e1ad5d04 - -query IIIII rowsort x749 -SELECT abs(a), - abs(b-c), - CASE a+1 WHEN b THEN 111 WHEN c THEN 222 - WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, - (SELECT count(*) FROM t1 AS x WHERE x.bc - AND (e>a AND ec - AND (e>a AND ea AND ec ----- -16 -222 -26 -111 - -query II rowsort x751 -SELECT (SELECT count(*) FROM t1 AS x WHERE x.ba AND ec - ORDER BY 2,1 ----- -16 -222 -26 -111 - -query IIIIII rowsort x752 -SELECT a, - c, - c-d, - (a+b+c+d+e)/5, - e, - d - FROM t1 - WHERE (c<=d-2 OR c>=d+2) ----- -60 values hashing to 40bddf4ca96e21e4b7d5a9be8dbf5c68 - -query IIIIII rowsort x752 -SELECT a, - c, - c-d, - (a+b+c+d+e)/5, - e, - d - FROM t1 - WHERE (c<=d-2 OR c>=d+2) - ORDER BY 3,6,1,5,2,4 ----- -60 values hashing to 40bddf4ca96e21e4b7d5a9be8dbf5c68 - -query IIII rowsort x753 -SELECT CASE a+1 WHEN b THEN 111 WHEN c THEN 222 - WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, - a-b, - abs(a), - b - FROM t1 - WHERE d>e ----- -44 values hashing to 7034369d38673d6b059070a0e839c554 - -query IIII rowsort x753 -SELECT CASE a+1 WHEN b THEN 111 WHEN c THEN 222 - WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, - a-b, - abs(a), - b - FROM t1 - WHERE d>e - ORDER BY 3,1 ----- -44 values hashing to 7034369d38673d6b059070a0e839c554 - -query IIIIIII rowsort x754 -SELECT CASE WHEN ac OR ec OR ec OR ec OR ec ----- -91 values hashing to 4d1ba48d653a04c1964aca0a76d2fa66 - -query IIIIIII rowsort x756 -SELECT b-c, - d-e, - CASE a+1 WHEN b THEN 111 WHEN c THEN 222 - WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, - CASE WHEN ac - ORDER BY 4,5,2 ----- -91 values hashing to 4d1ba48d653a04c1964aca0a76d2fa66 - -query IIIII rowsort x757 -SELECT CASE a+1 WHEN b THEN 111 WHEN c THEN 222 - WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, - abs(b-c), - (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.dc OR eb-2 AND at1.c AND x.dc OR eb-2 AND at1.c AND x.dc OR eb-2 AND at1.c AND x.dc OR eb-2 AND at1.c AND x.db-2 AND ac OR et1.c AND x.db-2 AND ac OR ea AND ea AND eb-2 AND ab-2 AND ab-2 AND ab-2 AND at1.c AND x.da AND et1.c AND x.da AND et1.c AND x.da AND et1.c AND x.da AND et1.c AND x.da AND et1.c AND x.da AND e=d+2) ----- -24 values hashing to acc553f142405b2316a0d6f67b8c087f - -query III rowsort x763 -SELECT c, - d, - a - FROM t1 - WHERE d NOT BETWEEN 110 AND 150 - AND (c<=d-2 OR c>=d+2) - ORDER BY 1,2,3 ----- -24 values hashing to acc553f142405b2316a0d6f67b8c087f - -query III rowsort x764 -SELECT d, - (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.da AND ec OR et1.c AND x.da AND ec OR et1.c AND x.dc OR ea AND et1.c AND x.dc OR ea AND et1.c AND x.dc OR ea AND et1.c AND x.dc OR ea AND ec ----- -78 values hashing to 15f8a87acd557eff36b6b45cf6145a89 - -query IIIIII rowsort x765 -SELECT a+b*2+c*3+d*4+e*5, - b, - abs(b-c), - abs(a), - a+b*2+c*3+d*4, - a+b*2 - FROM t1 - WHERE b>c - ORDER BY 4,5,6,3,1,2 ----- -78 values hashing to 15f8a87acd557eff36b6b45cf6145a89 - -query III rowsort x766 -SELECT a+b*2+c*3+d*4, - CASE WHEN a(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - a+b*2+c*3+d*4+e*5, - b, - a+b*2+c*3, - (SELECT count(*) FROM t1 AS x WHERE x.b(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - a+b*2+c*3+d*4+e*5, - b, - a+b*2+c*3, - (SELECT count(*) FROM t1 AS x WHERE x.be - OR b>c ----- -40 values hashing to a066bcf112057385006c3ee80251128d - -query II rowsort x770 -SELECT (SELECT count(*) FROM t1 AS x WHERE x.be - OR b>c - ORDER BY 1,2 ----- -40 values hashing to a066bcf112057385006c3ee80251128d - -query II rowsort x770 -SELECT (SELECT count(*) FROM t1 AS x WHERE x.bc - OR d>e ----- -40 values hashing to a066bcf112057385006c3ee80251128d - -query II rowsort x770 -SELECT (SELECT count(*) FROM t1 AS x WHERE x.bc - OR d>e - ORDER BY 1,2 ----- -40 values hashing to a066bcf112057385006c3ee80251128d - -query IIIIIII rowsort x771 -SELECT a+b*2+c*3, - a, - d, - a+b*2, - abs(a), - (SELECT count(*) FROM t1 AS x WHERE x.b(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - abs(b-c) - FROM t1 - WHERE d NOT BETWEEN 110 AND 150 ----- -51 values hashing to 2ef29759ecbd012e176e97d752db71f4 - -query III rowsort x772 -SELECT CASE WHEN a(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - abs(b-c) - FROM t1 - WHERE d NOT BETWEEN 110 AND 150 - ORDER BY 2,3 ----- -51 values hashing to 2ef29759ecbd012e176e97d752db71f4 - -query IIIIIII rowsort x773 -SELECT c, - (SELECT count(*) FROM t1 AS x WHERE x.bd - OR (e>c OR ed - OR (e>c OR ec OR ed ----- -26 values hashing to bbf5d06f9b3cf6ed2e0c96d97cb93393 - -query I rowsort x774 -SELECT abs(b-c) - FROM t1 - WHERE (e>c OR ed - ORDER BY 1 ----- -26 values hashing to bbf5d06f9b3cf6ed2e0c96d97cb93393 - -query I rowsort x775 -SELECT CASE a+1 WHEN b THEN 111 WHEN c THEN 222 - WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END - FROM t1 ----- -30 values hashing to 0075716954dbc259c5e8ac65568a6fa7 - -query I rowsort x775 -SELECT CASE a+1 WHEN b THEN 111 WHEN c THEN 222 - WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END - FROM t1 - ORDER BY 1 ----- -30 values hashing to 0075716954dbc259c5e8ac65568a6fa7 - -query IIIII rowsort x776 -SELECT a+b*2+c*3, - (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.d=d+2) ----- -50 values hashing to c0abef7fc17bf093b41ad295ca250beb - -query IIIII rowsort x776 -SELECT a+b*2+c*3, - (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.d=d+2) - ORDER BY 5,1,4,3,2 ----- -50 values hashing to c0abef7fc17bf093b41ad295ca250beb - -query I rowsort x777 -SELECT CASE WHEN ac ----- -13 values hashing to d271a615af2e7875654b988689524a23 - -query I rowsort x777 -SELECT CASE WHEN ac - ORDER BY 1 ----- -13 values hashing to d271a615af2e7875654b988689524a23 - -query III rowsort x778 -SELECT (a+b+c+d+e)/5, - b, - b-c - FROM t1 - WHERE (c<=d-2 OR c>=d+2) - AND (a>b-2 AND a=d+2) - AND (a>b-2 AND a=d+2) - AND c BETWEEN b-2 AND d+2 - AND (a>b-2 AND a=d+2) - AND c BETWEEN b-2 AND d+2 - AND (a>b-2 AND a(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - a-b - FROM t1 - WHERE d NOT BETWEEN 110 AND 150 - OR EXISTS(SELECT 1 FROM t1 AS x WHERE x.b(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - a-b - FROM t1 - WHERE d NOT BETWEEN 110 AND 150 - OR EXISTS(SELECT 1 FROM t1 AS x WHERE x.bt1.c AND x.dt1.c AND x.db ----- -90 values hashing to 626ef6252ef34893711614adade69fcc - -query IIIII rowsort x782 -SELECT b-c, - abs(b-c), - d-e, - d, - a+b*2+c*3+d*4+e*5 - FROM t1 - WHERE e+d BETWEEN a+b-10 AND c+130 - OR a>b - ORDER BY 2,3,4 ----- -90 values hashing to 626ef6252ef34893711614adade69fcc - -query IIIII rowsort x782 -SELECT b-c, - abs(b-c), - d-e, - d, - a+b*2+c*3+d*4+e*5 - FROM t1 - WHERE a>b - OR e+d BETWEEN a+b-10 AND c+130 ----- -90 values hashing to 626ef6252ef34893711614adade69fcc - -query IIIII rowsort x782 -SELECT b-c, - abs(b-c), - d-e, - d, - a+b*2+c*3+d*4+e*5 - FROM t1 - WHERE a>b - OR e+d BETWEEN a+b-10 AND c+130 - ORDER BY 2,4 ----- -90 values hashing to 626ef6252ef34893711614adade69fcc - -query IIIIII rowsort x783 -SELECT b-c, - a+b*2+c*3, - a+b*2, - c-d, - (a+b+c+d+e)/5, - a-b - FROM t1 - WHERE e+d BETWEEN a+b-10 AND c+130 - AND d>e - AND d NOT BETWEEN 110 AND 150 ----- - -query IIIIII rowsort x783 -SELECT b-c, - a+b*2+c*3, - a+b*2, - c-d, - (a+b+c+d+e)/5, - a-b - FROM t1 - WHERE e+d BETWEEN a+b-10 AND c+130 - AND d>e - AND d NOT BETWEEN 110 AND 150 - ORDER BY 2,1,5,3,6 ----- - -query IIIIII rowsort x783 -SELECT b-c, - a+b*2+c*3, - a+b*2, - c-d, - (a+b+c+d+e)/5, - a-b - FROM t1 - WHERE d NOT BETWEEN 110 AND 150 - AND e+d BETWEEN a+b-10 AND c+130 - AND d>e ----- - -query IIIIII rowsort x783 -SELECT b-c, - a+b*2+c*3, - a+b*2, - c-d, - (a+b+c+d+e)/5, - a-b - FROM t1 - WHERE d NOT BETWEEN 110 AND 150 - AND e+d BETWEEN a+b-10 AND c+130 - AND d>e - ORDER BY 1,4,3,5,6 ----- - -query IIIIII rowsort x783 -SELECT b-c, - a+b*2+c*3, - a+b*2, - c-d, - (a+b+c+d+e)/5, - a-b - FROM t1 - WHERE d>e - AND e+d BETWEEN a+b-10 AND c+130 - AND d NOT BETWEEN 110 AND 150 ----- - -query IIIIII rowsort x783 -SELECT b-c, - a+b*2+c*3, - a+b*2, - c-d, - (a+b+c+d+e)/5, - a-b - FROM t1 - WHERE d>e - AND e+d BETWEEN a+b-10 AND c+130 - AND d NOT BETWEEN 110 AND 150 - ORDER BY 3,6,5,2,4 ----- - -query IIIIII rowsort x783 -SELECT b-c, - a+b*2+c*3, - a+b*2, - c-d, - (a+b+c+d+e)/5, - a-b - FROM t1 - WHERE d NOT BETWEEN 110 AND 150 - AND d>e - AND e+d BETWEEN a+b-10 AND c+130 ----- - -query IIIIII rowsort x783 -SELECT b-c, - a+b*2+c*3, - a+b*2, - c-d, - (a+b+c+d+e)/5, - a-b - FROM t1 - WHERE d NOT BETWEEN 110 AND 150 - AND d>e - AND e+d BETWEEN a+b-10 AND c+130 - ORDER BY 6,4,5,2,3,1 ----- - -query III rowsort x784 -SELECT b, - abs(a), - a+b*2+c*3+d*4+e*5 - FROM t1 ----- -90 values hashing to 1040bcfbc48b8da482563e6bf55c8020 - -query III rowsort x784 -SELECT b, - abs(a), - a+b*2+c*3+d*4+e*5 - FROM t1 - ORDER BY 2,3 ----- -90 values hashing to 1040bcfbc48b8da482563e6bf55c8020 - -query IIIII rowsort x785 -SELECT a+b*2+c*3+d*4+e*5, - e, - (SELECT count(*) FROM t1 AS x WHERE x.bd - AND b>c ----- -20 values hashing to 4aa57bffd9ad259bf18a44fc63809db3 - -query IIIII rowsort x785 -SELECT a+b*2+c*3+d*4+e*5, - e, - (SELECT count(*) FROM t1 AS x WHERE x.bd - AND b>c - ORDER BY 1,4,3,2 ----- -20 values hashing to 4aa57bffd9ad259bf18a44fc63809db3 - -query IIIII rowsort x785 -SELECT a+b*2+c*3+d*4+e*5, - e, - (SELECT count(*) FROM t1 AS x WHERE x.bc - AND c>d ----- -20 values hashing to 4aa57bffd9ad259bf18a44fc63809db3 - -query IIIII rowsort x785 -SELECT a+b*2+c*3+d*4+e*5, - e, - (SELECT count(*) FROM t1 AS x WHERE x.bc - AND c>d - ORDER BY 1,3 ----- -20 values hashing to 4aa57bffd9ad259bf18a44fc63809db3 - -query II rowsort x786 -SELECT b, - a+b*2 - FROM t1 - WHERE d NOT BETWEEN 110 AND 150 - OR b>c - OR c BETWEEN b-2 AND d+2 ----- -52 values hashing to 6edf7153843e52137e6df1f9451808b2 - -query II rowsort x786 -SELECT b, - a+b*2 - FROM t1 - WHERE d NOT BETWEEN 110 AND 150 - OR b>c - OR c BETWEEN b-2 AND d+2 - ORDER BY 1,2 ----- -52 values hashing to 6edf7153843e52137e6df1f9451808b2 - -query II rowsort x786 -SELECT b, - a+b*2 - FROM t1 - WHERE c BETWEEN b-2 AND d+2 - OR d NOT BETWEEN 110 AND 150 - OR b>c ----- -52 values hashing to 6edf7153843e52137e6df1f9451808b2 - -query II rowsort x786 -SELECT b, - a+b*2 - FROM t1 - WHERE c BETWEEN b-2 AND d+2 - OR d NOT BETWEEN 110 AND 150 - OR b>c - ORDER BY 1,2 ----- -52 values hashing to 6edf7153843e52137e6df1f9451808b2 - -query II rowsort x786 -SELECT b, - a+b*2 - FROM t1 - WHERE c BETWEEN b-2 AND d+2 - OR b>c - OR d NOT BETWEEN 110 AND 150 ----- -52 values hashing to 6edf7153843e52137e6df1f9451808b2 - -query II rowsort x786 -SELECT b, - a+b*2 - FROM t1 - WHERE c BETWEEN b-2 AND d+2 - OR b>c - OR d NOT BETWEEN 110 AND 150 - ORDER BY 2,1 ----- -52 values hashing to 6edf7153843e52137e6df1f9451808b2 - -query II rowsort x786 -SELECT b, - a+b*2 - FROM t1 - WHERE d NOT BETWEEN 110 AND 150 - OR c BETWEEN b-2 AND d+2 - OR b>c ----- -52 values hashing to 6edf7153843e52137e6df1f9451808b2 - -query II rowsort x786 -SELECT b, - a+b*2 - FROM t1 - WHERE d NOT BETWEEN 110 AND 150 - OR c BETWEEN b-2 AND d+2 - OR b>c - ORDER BY 1,2 ----- -52 values hashing to 6edf7153843e52137e6df1f9451808b2 - -query IIII rowsort x787 -SELECT CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - c-d, - (a+b+c+d+e)/5, - d - FROM t1 - WHERE (e>c OR e(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - c-d, - (a+b+c+d+e)/5, - d - FROM t1 - WHERE (e>c OR ec OR eb - AND d NOT BETWEEN 110 AND 150 ----- -10 values hashing to f18663fb394835caeb11f30bbb756057 - -query I rowsort x788 -SELECT a-b - FROM t1 - WHERE (e>c OR eb - AND d NOT BETWEEN 110 AND 150 - ORDER BY 1 ----- -10 values hashing to f18663fb394835caeb11f30bbb756057 - -query I rowsort x788 -SELECT a-b - FROM t1 - WHERE (e>c OR eb ----- -10 values hashing to f18663fb394835caeb11f30bbb756057 - -query I rowsort x788 -SELECT a-b - FROM t1 - WHERE (e>c OR eb - ORDER BY 1 ----- -10 values hashing to f18663fb394835caeb11f30bbb756057 - -query I rowsort x788 -SELECT a-b - FROM t1 - WHERE a>b - AND (e>c OR eb - AND (e>c OR ed - AND e+d BETWEEN a+b-10 AND c+130 - AND EXISTS(SELECT 1 FROM t1 AS x WHERE x.bd - AND e+d BETWEEN a+b-10 AND c+130 - AND EXISTS(SELECT 1 FROM t1 AS x WHERE x.bd - AND e+d BETWEEN a+b-10 AND c+130 ----- - -query IIIIII rowsort x789 -SELECT CASE WHEN ad - AND e+d BETWEEN a+b-10 AND c+130 - ORDER BY 1,6 ----- - -query IIIIII rowsort x789 -SELECT CASE WHEN ad - AND EXISTS(SELECT 1 FROM t1 AS x WHERE x.bd - AND EXISTS(SELECT 1 FROM t1 AS x WHERE x.b(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END - FROM t1 - WHERE (a>b-2 AND ac OR ed ----- --4 -1430 -1 -1300 -1 -1390 -3 -364 - -query II rowsort x790 -SELECT d-e, - CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END - FROM t1 - WHERE (a>b-2 AND ac OR ed - ORDER BY 2,1 ----- --4 -1430 -1 -1300 -1 -1390 -3 -364 - -query II rowsort x790 -SELECT d-e, - CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END - FROM t1 - WHERE (e>c OR ed - AND (a>b-2 AND a(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END - FROM t1 - WHERE (e>c OR ed - AND (a>b-2 AND ab - AND c>d - AND c BETWEEN b-2 AND d+2 ----- -25 values hashing to d782d4b19976325c2cb7b97f99c702cb - -query IIIII rowsort x793 -SELECT abs(b-c), - abs(a), - d-e, - (a+b+c+d+e)/5, - a - FROM t1 - WHERE a>b - AND c>d - AND c BETWEEN b-2 AND d+2 - ORDER BY 3,1,5,2 ----- -25 values hashing to d782d4b19976325c2cb7b97f99c702cb - -query IIIII rowsort x793 -SELECT abs(b-c), - abs(a), - d-e, - (a+b+c+d+e)/5, - a - FROM t1 - WHERE a>b - AND c BETWEEN b-2 AND d+2 - AND c>d ----- -25 values hashing to d782d4b19976325c2cb7b97f99c702cb - -query IIIII rowsort x793 -SELECT abs(b-c), - abs(a), - d-e, - (a+b+c+d+e)/5, - a - FROM t1 - WHERE a>b - AND c BETWEEN b-2 AND d+2 - AND c>d - ORDER BY 3,1,5,2 ----- -25 values hashing to d782d4b19976325c2cb7b97f99c702cb - -query IIIII rowsort x793 -SELECT abs(b-c), - abs(a), - d-e, - (a+b+c+d+e)/5, - a - FROM t1 - WHERE c BETWEEN b-2 AND d+2 - AND a>b - AND c>d ----- -25 values hashing to d782d4b19976325c2cb7b97f99c702cb - -query IIIII rowsort x793 -SELECT abs(b-c), - abs(a), - d-e, - (a+b+c+d+e)/5, - a - FROM t1 - WHERE c BETWEEN b-2 AND d+2 - AND a>b - AND c>d - ORDER BY 5,1,4 ----- -25 values hashing to d782d4b19976325c2cb7b97f99c702cb - -query IIIII rowsort x793 -SELECT abs(b-c), - abs(a), - d-e, - (a+b+c+d+e)/5, - a - FROM t1 - WHERE c>d - AND c BETWEEN b-2 AND d+2 - AND a>b ----- -25 values hashing to d782d4b19976325c2cb7b97f99c702cb - -query IIIII rowsort x793 -SELECT abs(b-c), - abs(a), - d-e, - (a+b+c+d+e)/5, - a - FROM t1 - WHERE c>d - AND c BETWEEN b-2 AND d+2 - AND a>b - ORDER BY 4,1,3 ----- -25 values hashing to d782d4b19976325c2cb7b97f99c702cb - -query I rowsort x794 -SELECT d-e - FROM t1 ----- -30 values hashing to 9e2d6381b04ea314cd79c5fc9325b30e - -query I rowsort x794 -SELECT d-e - FROM t1 - ORDER BY 1 ----- -30 values hashing to 9e2d6381b04ea314cd79c5fc9325b30e - -query IIIII rowsort x795 -SELECT CASE WHEN aa AND eb-2 AND aa AND eb-2 AND ab-2 AND aa AND eb-2 AND aa AND ea AND eb ----- -40 values hashing to 9102a4c60187cf2a5da79119275168f3 - -query II rowsort x797 -SELECT e, - (SELECT count(*) FROM t1 AS x WHERE x.ba AND eb - ORDER BY 2,1 ----- -40 values hashing to 9102a4c60187cf2a5da79119275168f3 - -query II rowsort x797 -SELECT e, - (SELECT count(*) FROM t1 AS x WHERE x.bb - OR (e>a AND eb - OR (e>a AND ee - OR d NOT BETWEEN 110 AND 150 - OR c>d ----- -120 values hashing to 7f568c528311be6ed6eec5ebe0e3ef6a - -query IIIII rowsort x798 -SELECT abs(a), - d-e, - a+b*2+c*3, - abs(b-c), - b - FROM t1 - WHERE d>e - OR d NOT BETWEEN 110 AND 150 - OR c>d - ORDER BY 4,1,5 ----- -120 values hashing to 7f568c528311be6ed6eec5ebe0e3ef6a - -query IIIII rowsort x798 -SELECT abs(a), - d-e, - a+b*2+c*3, - abs(b-c), - b - FROM t1 - WHERE d>e - OR c>d - OR d NOT BETWEEN 110 AND 150 ----- -120 values hashing to 7f568c528311be6ed6eec5ebe0e3ef6a - -query IIIII rowsort x798 -SELECT abs(a), - d-e, - a+b*2+c*3, - abs(b-c), - b - FROM t1 - WHERE d>e - OR c>d - OR d NOT BETWEEN 110 AND 150 - ORDER BY 1,2,4 ----- -120 values hashing to 7f568c528311be6ed6eec5ebe0e3ef6a - -query IIIII rowsort x798 -SELECT abs(a), - d-e, - a+b*2+c*3, - abs(b-c), - b - FROM t1 - WHERE c>d - OR d NOT BETWEEN 110 AND 150 - OR d>e ----- -120 values hashing to 7f568c528311be6ed6eec5ebe0e3ef6a - -query IIIII rowsort x798 -SELECT abs(a), - d-e, - a+b*2+c*3, - abs(b-c), - b - FROM t1 - WHERE c>d - OR d NOT BETWEEN 110 AND 150 - OR d>e - ORDER BY 1,3 ----- -120 values hashing to 7f568c528311be6ed6eec5ebe0e3ef6a - -query IIIIIII rowsort x799 -SELECT (SELECT count(*) FROM t1 AS x WHERE x.bt1.c AND x.d=d+2) ----- -70 values hashing to d354893ad347c5d343981e64288646e8 - -query IIIIIII rowsort x799 -SELECT (SELECT count(*) FROM t1 AS x WHERE x.bt1.c AND x.d=d+2) - ORDER BY 4,1,5,2,6,3 ----- -70 values hashing to d354893ad347c5d343981e64288646e8 - -query IIIIII rowsort x800 -SELECT (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.db-2 AND at1.c AND x.db-2 AND at1.c AND x.db-2 AND at1.c AND x.db-2 AND at1.c AND x.db-2 AND at1.c AND x.db-2 AND a(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - a+b*2+c*3+d*4+e*5 - FROM t1 ----- -180 values hashing to 36e748eb3b5f1beac4d5c62c3fb4b854 - -query IIIIII rowsort x801 -SELECT d, - c-d, - a+b*2+c*3, - c, - CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - a+b*2+c*3+d*4+e*5 - FROM t1 - ORDER BY 2,5,6,3,1 ----- -180 values hashing to 36e748eb3b5f1beac4d5c62c3fb4b854 - -query IIIIIII rowsort x802 -SELECT CASE a+1 WHEN b THEN 111 WHEN c THEN 222 - WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, - CASE WHEN ad - OR EXISTS(SELECT 1 FROM t1 AS x WHERE x.bd - OR EXISTS(SELECT 1 FROM t1 AS x WHERE x.bd ----- -196 values hashing to 5403ef2d6951bd8fa174d4149c728d2c - -query IIIIIII rowsort x802 -SELECT CASE a+1 WHEN b THEN 111 WHEN c THEN 222 - WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, - CASE WHEN ad - ORDER BY 7,4,3,5,2,6,1 ----- -196 values hashing to 5403ef2d6951bd8fa174d4149c728d2c - -query IIIIIII rowsort x803 -SELECT a+b*2+c*3+d*4+e*5, - b-c, - abs(a), - d, - abs(b-c), - c, - d-e - FROM t1 ----- -210 values hashing to b047d56f74f0ab55f66fea22b4c3b64d - -query IIIIIII rowsort x803 -SELECT a+b*2+c*3+d*4+e*5, - b-c, - abs(a), - d, - abs(b-c), - c, - d-e - FROM t1 - ORDER BY 4,3,5,2,6,7 ----- -210 values hashing to b047d56f74f0ab55f66fea22b4c3b64d - -query IIIII rowsort x804 -SELECT a+b*2, - a, - CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - e, - c-d - FROM t1 - WHERE c BETWEEN b-2 AND d+2 - OR (a>b-2 AND a(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - e, - c-d - FROM t1 - WHERE c BETWEEN b-2 AND d+2 - OR (a>b-2 AND a(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - e, - c-d - FROM t1 - WHERE (a>b-2 AND a(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - e, - c-d - FROM t1 - WHERE (a>b-2 AND a(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - e, - c-d - FROM t1 - WHERE c BETWEEN b-2 AND d+2 - OR d NOT BETWEEN 110 AND 150 - OR (a>b-2 AND a(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - e, - c-d - FROM t1 - WHERE c BETWEEN b-2 AND d+2 - OR d NOT BETWEEN 110 AND 150 - OR (a>b-2 AND ab-2 AND ab-2 AND a(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - CASE a+1 WHEN b THEN 111 WHEN c THEN 222 - WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, - (SELECT count(*) FROM t1 AS x WHERE x.be - OR b>c - OR c BETWEEN b-2 AND d+2 ----- -96 values hashing to 44da1927a8f7dc680350aa237e4bf11f - -query IIII rowsort x806 -SELECT a+b*2+c*3+d*4+e*5, - CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - CASE a+1 WHEN b THEN 111 WHEN c THEN 222 - WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, - (SELECT count(*) FROM t1 AS x WHERE x.be - OR b>c - OR c BETWEEN b-2 AND d+2 - ORDER BY 3,2,4 ----- -96 values hashing to 44da1927a8f7dc680350aa237e4bf11f - -query IIII rowsort x806 -SELECT a+b*2+c*3+d*4+e*5, - CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - CASE a+1 WHEN b THEN 111 WHEN c THEN 222 - WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, - (SELECT count(*) FROM t1 AS x WHERE x.bc - OR d>e ----- -96 values hashing to 44da1927a8f7dc680350aa237e4bf11f - -query IIII rowsort x806 -SELECT a+b*2+c*3+d*4+e*5, - CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - CASE a+1 WHEN b THEN 111 WHEN c THEN 222 - WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, - (SELECT count(*) FROM t1 AS x WHERE x.bc - OR d>e - ORDER BY 1,4,2 ----- -96 values hashing to 44da1927a8f7dc680350aa237e4bf11f - -query IIII rowsort x806 -SELECT a+b*2+c*3+d*4+e*5, - CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - CASE a+1 WHEN b THEN 111 WHEN c THEN 222 - WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, - (SELECT count(*) FROM t1 AS x WHERE x.be - OR b>c ----- -96 values hashing to 44da1927a8f7dc680350aa237e4bf11f - -query IIII rowsort x806 -SELECT a+b*2+c*3+d*4+e*5, - CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - CASE a+1 WHEN b THEN 111 WHEN c THEN 222 - WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, - (SELECT count(*) FROM t1 AS x WHERE x.be - OR b>c - ORDER BY 3,2 ----- -96 values hashing to 44da1927a8f7dc680350aa237e4bf11f - -query IIIIIII rowsort x807 -SELECT b, - a+b*2+c*3+d*4, - d-e, - CASE a+1 WHEN b THEN 111 WHEN c THEN 222 - WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, - (a+b+c+d+e)/5, - a+b*2, - a-b - FROM t1 - WHERE c BETWEEN b-2 AND d+2 ----- -105 values hashing to 54c654e1e6431af9fd26b5eb45fdfe9b - -query IIIIIII rowsort x807 -SELECT b, - a+b*2+c*3+d*4, - d-e, - CASE a+1 WHEN b THEN 111 WHEN c THEN 222 - WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, - (a+b+c+d+e)/5, - a+b*2, - a-b - FROM t1 - WHERE c BETWEEN b-2 AND d+2 - ORDER BY 5,6,1,3,7 ----- -105 values hashing to 54c654e1e6431af9fd26b5eb45fdfe9b - -query IIII rowsort x808 -SELECT a+b*2+c*3+d*4, - a+b*2+c*3, - c, - CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END - FROM t1 - WHERE (e>c OR e(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END - FROM t1 - WHERE (e>c OR ea AND ea AND eb-2 AND ac - AND a>b ----- -159 -475 -168 -502 -199 -595 -229 -685 - -query II rowsort x812 -SELECT abs(a), - a+b*2 - FROM t1 - WHERE (a>b-2 AND ac - AND a>b - ORDER BY 1,2 ----- -159 -475 -168 -502 -199 -595 -229 -685 - -query II rowsort x812 -SELECT abs(a), - a+b*2 - FROM t1 - WHERE a>b - AND b>c - AND (a>b-2 AND ab - AND b>c - AND (a>b-2 AND ac - AND a>b - AND (a>b-2 AND ac - AND a>b - AND (a>b-2 AND a=d+2) - OR d>e ----- -64 values hashing to 3566124dacd2c12176bfda780e1a9b96 - -query IIII rowsort x814 -SELECT abs(b-c), - a+b*2+c*3+d*4+e*5, - b, - d-e - FROM t1 - WHERE (c<=d-2 OR c>=d+2) - OR d>e - ORDER BY 4,2 ----- -64 values hashing to 3566124dacd2c12176bfda780e1a9b96 - -query IIII rowsort x814 -SELECT abs(b-c), - a+b*2+c*3+d*4+e*5, - b, - d-e - FROM t1 - WHERE d>e - OR (c<=d-2 OR c>=d+2) ----- -64 values hashing to 3566124dacd2c12176bfda780e1a9b96 - -query IIII rowsort x814 -SELECT abs(b-c), - a+b*2+c*3+d*4+e*5, - b, - d-e - FROM t1 - WHERE d>e - OR (c<=d-2 OR c>=d+2) - ORDER BY 4,1,3 ----- -64 values hashing to 3566124dacd2c12176bfda780e1a9b96 - -query IIIII rowsort x815 -SELECT CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - (SELECT count(*) FROM t1 AS x WHERE x.b(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - (SELECT count(*) FROM t1 AS x WHERE x.bt1.c AND x.db - OR (a>b-2 AND at1.c AND x.db - OR (a>b-2 AND at1.c AND x.db-2 AND ab ----- -57 values hashing to 881ebccd5da31eb464ebc33480b921bd - -query III rowsort x817 -SELECT (a+b+c+d+e)/5, - CASE WHEN at1.c AND x.db-2 AND ab - ORDER BY 1,2 ----- -57 values hashing to 881ebccd5da31eb464ebc33480b921bd - -query IIIIII rowsort x818 -SELECT (SELECT count(*) FROM t1 AS x WHERE x.b(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - b, - d-e, - abs(b-c), - d - FROM t1 - WHERE d NOT BETWEEN 110 AND 150 - OR c BETWEEN b-2 AND d+2 ----- -132 values hashing to 2fad9b201c26f61f51170e12cdacb20d - -query IIIIII rowsort x818 -SELECT (SELECT count(*) FROM t1 AS x WHERE x.b(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - b, - d-e, - abs(b-c), - d - FROM t1 - WHERE d NOT BETWEEN 110 AND 150 - OR c BETWEEN b-2 AND d+2 - ORDER BY 3,4,6 ----- -132 values hashing to 2fad9b201c26f61f51170e12cdacb20d - -query IIIIII rowsort x818 -SELECT (SELECT count(*) FROM t1 AS x WHERE x.b(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - b, - d-e, - abs(b-c), - d - FROM t1 - WHERE c BETWEEN b-2 AND d+2 - OR d NOT BETWEEN 110 AND 150 ----- -132 values hashing to 2fad9b201c26f61f51170e12cdacb20d - -query IIIIII rowsort x818 -SELECT (SELECT count(*) FROM t1 AS x WHERE x.b(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - b, - d-e, - abs(b-c), - d - FROM t1 - WHERE c BETWEEN b-2 AND d+2 - OR d NOT BETWEEN 110 AND 150 - ORDER BY 6,4 ----- -132 values hashing to 2fad9b201c26f61f51170e12cdacb20d - -query IIIIIII rowsort x819 -SELECT d-e, - (a+b+c+d+e)/5, - CASE a+1 WHEN b THEN 111 WHEN c THEN 222 - WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, - CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - a-b, - a+b*2+c*3+d*4, - abs(a) - FROM t1 ----- -210 values hashing to bad1bff3c68810098c882b1301d57d5b - -query IIIIIII rowsort x819 -SELECT d-e, - (a+b+c+d+e)/5, - CASE a+1 WHEN b THEN 111 WHEN c THEN 222 - WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, - CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - a-b, - a+b*2+c*3+d*4, - abs(a) - FROM t1 - ORDER BY 7,6,2,1,3,4 ----- -210 values hashing to bad1bff3c68810098c882b1301d57d5b - -query IIIII rowsort x820 -SELECT c-d, - CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - (a+b+c+d+e)/5, - abs(a), - d - FROM t1 ----- -150 values hashing to a2c1f470369263777dccdd62b6cc58a3 - -query IIIII rowsort x820 -SELECT c-d, - CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - (a+b+c+d+e)/5, - abs(a), - d - FROM t1 - ORDER BY 1,2 ----- -150 values hashing to a2c1f470369263777dccdd62b6cc58a3 - -query II rowsort x821 -SELECT CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - (SELECT count(*) FROM t1 AS x WHERE x.b(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - (SELECT count(*) FROM t1 AS x WHERE x.b(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END - FROM t1 - WHERE (c<=d-2 OR c>=d+2) - OR b>c - OR c BETWEEN b-2 AND d+2 ----- -96 values hashing to ec09cfec9014af043b24a1141a68712f - -query IIII rowsort x822 -SELECT a, - d-e, - c, - CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END - FROM t1 - WHERE (c<=d-2 OR c>=d+2) - OR b>c - OR c BETWEEN b-2 AND d+2 - ORDER BY 1,2 ----- -96 values hashing to ec09cfec9014af043b24a1141a68712f - -query IIII rowsort x822 -SELECT a, - d-e, - c, - CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END - FROM t1 - WHERE c BETWEEN b-2 AND d+2 - OR b>c - OR (c<=d-2 OR c>=d+2) ----- -96 values hashing to ec09cfec9014af043b24a1141a68712f - -query IIII rowsort x822 -SELECT a, - d-e, - c, - CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END - FROM t1 - WHERE c BETWEEN b-2 AND d+2 - OR b>c - OR (c<=d-2 OR c>=d+2) - ORDER BY 2,4 ----- -96 values hashing to ec09cfec9014af043b24a1141a68712f - -query IIIIII rowsort x823 -SELECT e, - a+b*2, - CASE WHEN ac OR ec OR ec OR ec OR ec OR ec OR eb-2 AND ab-2 AND ab ----- -119 values hashing to b5a3a414af9dfc13a52235ebb2e2a5cd - -query IIIIIII rowsort x826 -SELECT d-e, - d, - a+b*2, - a+b*2+c*3, - CASE WHEN ab - ORDER BY 1,5,7,6,4,3 ----- -119 values hashing to b5a3a414af9dfc13a52235ebb2e2a5cd - -query III rowsort x827 -SELECT a, - d-e, - e - FROM t1 - WHERE d NOT BETWEEN 110 AND 150 ----- -51 values hashing to da371f3bfca30ba9e03f2c8a0a03051d - -query III rowsort x827 -SELECT a, - d-e, - e - FROM t1 - WHERE d NOT BETWEEN 110 AND 150 - ORDER BY 2,1,3 ----- -51 values hashing to da371f3bfca30ba9e03f2c8a0a03051d - -query I rowsort x828 -SELECT e - FROM t1 - WHERE (a>b-2 AND ac ----- -15 values hashing to 7b91d490207e5d46d4cdedd249b0649a - -query I rowsort x828 -SELECT e - FROM t1 - WHERE (a>b-2 AND ac - ORDER BY 1 ----- -15 values hashing to 7b91d490207e5d46d4cdedd249b0649a - -query I rowsort x828 -SELECT e - FROM t1 - WHERE b>c - OR (a>b-2 AND ac - OR (a>b-2 AND a(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - (SELECT count(*) FROM t1 AS x WHERE x.be - AND e+d BETWEEN a+b-10 AND c+130 ----- -1290 -3 -1272 -1902 --2 - -query IIIII rowsort x829 -SELECT CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - (SELECT count(*) FROM t1 AS x WHERE x.be - AND e+d BETWEEN a+b-10 AND c+130 - ORDER BY 2,4 ----- -1290 -3 -1272 -1902 --2 - -query IIIIII rowsort x830 -SELECT d, - a+b*2, - abs(a), - abs(b-c), - a-b, - CASE WHEN ae - OR (e>a AND ee - OR (e>a AND ea AND ee ----- -78 values hashing to 42734ac27e5bd09a22c811113ba2cd6e - -query IIIIII rowsort x830 -SELECT d, - a+b*2, - abs(a), - abs(b-c), - a-b, - CASE WHEN aa AND ee - ORDER BY 5,1,6,2 ----- -78 values hashing to 42734ac27e5bd09a22c811113ba2cd6e - -query IIIIII rowsort x830 -SELECT d, - a+b*2, - abs(a), - abs(b-c), - a-b, - CASE WHEN ae - OR (e>a AND ee - OR (e>a AND ee - OR e+d BETWEEN a+b-10 AND c+130 - OR (e>a AND ee - OR e+d BETWEEN a+b-10 AND c+130 - OR (e>a AND et1.c AND x.dt1.c AND x.d(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - (a+b+c+d+e)/5, - a+b*2+c*3, - abs(b-c), - d, - CASE a+1 WHEN b THEN 111 WHEN c THEN 222 - WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END - FROM t1 - WHERE a>b - OR (c<=d-2 OR c>=d+2) ----- -154 values hashing to 9ad59033307ede2ebfba5c59c8379741 - -query IIIIIII rowsort x832 -SELECT a+b*2+c*3+d*4, - CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - (a+b+c+d+e)/5, - a+b*2+c*3, - abs(b-c), - d, - CASE a+1 WHEN b THEN 111 WHEN c THEN 222 - WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END - FROM t1 - WHERE a>b - OR (c<=d-2 OR c>=d+2) - ORDER BY 4,6,5,3 ----- -154 values hashing to 9ad59033307ede2ebfba5c59c8379741 - -query IIIIII rowsort x833 -SELECT b-c, - a+b*2+c*3+d*4+e*5, - d-e, - a+b*2+c*3, - a+b*2, - e - FROM t1 - WHERE EXISTS(SELECT 1 FROM t1 AS x WHERE x.ba AND ea AND ea AND ea AND e(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END - FROM t1 ----- -210 values hashing to 177a4f862e7e470622e4e575024da470 - -query IIIIIII rowsort x834 -SELECT b-c, - e, - d, - abs(a), - abs(b-c), - (SELECT count(*) FROM t1 AS x WHERE x.b(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END - FROM t1 - ORDER BY 1,6,5,2,3,7 ----- -210 values hashing to 177a4f862e7e470622e4e575024da470 - -query IIIII rowsort x835 -SELECT a, - (a+b+c+d+e)/5, - (SELECT count(*) FROM t1 AS x WHERE x.bc ----- -78 values hashing to edbe7006d53a6726fff6226000ae6c1c - -query IIIIII rowsort x836 -SELECT b-c, - b, - a-b, - c-d, - d-e, - e - FROM t1 - WHERE b>c - ORDER BY 3,1,4,2,6,5 ----- -78 values hashing to edbe7006d53a6726fff6226000ae6c1c - -query II rowsort x837 -SELECT abs(a), - d-e - FROM t1 - WHERE (a>b-2 AND ac ----- -12 values hashing to 66f5b8188cd6c0e53ad39ec35e860eb6 - -query II rowsort x837 -SELECT abs(a), - d-e - FROM t1 - WHERE (a>b-2 AND ac - ORDER BY 1,2 ----- -12 values hashing to 66f5b8188cd6c0e53ad39ec35e860eb6 - -query II rowsort x837 -SELECT abs(a), - d-e - FROM t1 - WHERE b>c - AND (a>b-2 AND ac - AND (a>b-2 AND aa AND ea AND e(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - d, - CASE a+1 WHEN b THEN 111 WHEN c THEN 222 - WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, - (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.d(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - d, - CASE a+1 WHEN b THEN 111 WHEN c THEN 222 - WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, - (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.db - AND EXISTS(SELECT 1 FROM t1 AS x WHERE x.bb - AND EXISTS(SELECT 1 FROM t1 AS x WHERE x.bt1.c AND x.dt1.c AND x.d=d+2) ----- -76 values hashing to 74b9ca76cf42eeb436c8f3d99d5026a5 - -query IIII rowsort x844 -SELECT a-b, - e, - c, - a+b*2+c*3+d*4 - FROM t1 - WHERE e+d BETWEEN a+b-10 AND c+130 - OR d NOT BETWEEN 110 AND 150 - OR (c<=d-2 OR c>=d+2) - ORDER BY 2,3 ----- -76 values hashing to 74b9ca76cf42eeb436c8f3d99d5026a5 - -query IIII rowsort x844 -SELECT a-b, - e, - c, - a+b*2+c*3+d*4 - FROM t1 - WHERE (c<=d-2 OR c>=d+2) - OR d NOT BETWEEN 110 AND 150 - OR e+d BETWEEN a+b-10 AND c+130 ----- -76 values hashing to 74b9ca76cf42eeb436c8f3d99d5026a5 - -query IIII rowsort x844 -SELECT a-b, - e, - c, - a+b*2+c*3+d*4 - FROM t1 - WHERE (c<=d-2 OR c>=d+2) - OR d NOT BETWEEN 110 AND 150 - OR e+d BETWEEN a+b-10 AND c+130 - ORDER BY 4,1 ----- -76 values hashing to 74b9ca76cf42eeb436c8f3d99d5026a5 - -query IIII rowsort x844 -SELECT a-b, - e, - c, - a+b*2+c*3+d*4 - FROM t1 - WHERE (c<=d-2 OR c>=d+2) - OR e+d BETWEEN a+b-10 AND c+130 - OR d NOT BETWEEN 110 AND 150 ----- -76 values hashing to 74b9ca76cf42eeb436c8f3d99d5026a5 - -query IIII rowsort x844 -SELECT a-b, - e, - c, - a+b*2+c*3+d*4 - FROM t1 - WHERE (c<=d-2 OR c>=d+2) - OR e+d BETWEEN a+b-10 AND c+130 - OR d NOT BETWEEN 110 AND 150 - ORDER BY 4,3,1,2 ----- -76 values hashing to 74b9ca76cf42eeb436c8f3d99d5026a5 - -query IIIIII rowsort x845 -SELECT d, - a+b*2+c*3+d*4, - e, - (a+b+c+d+e)/5, - d-e, - (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.dt1.c AND x.dc ----- -65 values hashing to 700b1ea08f8a70f8aca21e66948e013f - -query IIIII rowsort x846 -SELECT abs(b-c), - abs(a), - d-e, - CASE WHEN ac - ORDER BY 4,1 ----- -65 values hashing to 700b1ea08f8a70f8aca21e66948e013f - -query IIIIIII rowsort x847 -SELECT CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - (a+b+c+d+e)/5, - CASE a+1 WHEN b THEN 111 WHEN c THEN 222 - WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, - abs(a), - a-b, - d, - a+b*2+c*3 - FROM t1 ----- -210 values hashing to abe084b1d76cf674445ef239229bbc0a - -query IIIIIII rowsort x847 -SELECT CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - (a+b+c+d+e)/5, - CASE a+1 WHEN b THEN 111 WHEN c THEN 222 - WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, - abs(a), - a-b, - d, - a+b*2+c*3 - FROM t1 - ORDER BY 4,3,5,6,2,7,1 ----- -210 values hashing to abe084b1d76cf674445ef239229bbc0a - -query IIIII rowsort x848 -SELECT b-c, - d-e, - CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.d(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.dt1.c AND x.da AND et1.c AND x.da AND et1.c AND x.da AND e=d+2) - OR d>e ----- -96 values hashing to 9e505d055e1630da12139a6616c91e0f - -query IIIIII rowsort x851 -SELECT CASE a+1 WHEN b THEN 111 WHEN c THEN 222 - WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, - (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.da AND e=d+2) - OR d>e - ORDER BY 2,3 ----- -96 values hashing to 9e505d055e1630da12139a6616c91e0f - -query IIIIII rowsort x851 -SELECT CASE a+1 WHEN b THEN 111 WHEN c THEN 222 - WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, - (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.da AND ee - OR (c<=d-2 OR c>=d+2) ----- -96 values hashing to 9e505d055e1630da12139a6616c91e0f - -query IIIIII rowsort x851 -SELECT CASE a+1 WHEN b THEN 111 WHEN c THEN 222 - WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, - (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.da AND ee - OR (c<=d-2 OR c>=d+2) - ORDER BY 3,4 ----- -96 values hashing to 9e505d055e1630da12139a6616c91e0f - -query IIIIII rowsort x851 -SELECT CASE a+1 WHEN b THEN 111 WHEN c THEN 222 - WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, - (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.de - OR (c<=d-2 OR c>=d+2) - OR (e>a AND et1.c AND x.de - OR (c<=d-2 OR c>=d+2) - OR (e>a AND e(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END - FROM t1 - WHERE e+d BETWEEN a+b-10 AND c+130 - OR d>e - OR d NOT BETWEEN 110 AND 150 ----- -105 values hashing to 898b1396ba944fbd4d391be2eb9eceb9 - -query IIIII rowsort x852 -SELECT b, - d, - b-c, - CASE a+1 WHEN b THEN 111 WHEN c THEN 222 - WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, - CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END - FROM t1 - WHERE e+d BETWEEN a+b-10 AND c+130 - OR d>e - OR d NOT BETWEEN 110 AND 150 - ORDER BY 4,1,3,2,5 ----- -105 values hashing to 898b1396ba944fbd4d391be2eb9eceb9 - -query IIIII rowsort x852 -SELECT b, - d, - b-c, - CASE a+1 WHEN b THEN 111 WHEN c THEN 222 - WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, - CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END - FROM t1 - WHERE d NOT BETWEEN 110 AND 150 - OR e+d BETWEEN a+b-10 AND c+130 - OR d>e ----- -105 values hashing to 898b1396ba944fbd4d391be2eb9eceb9 - -query IIIII rowsort x852 -SELECT b, - d, - b-c, - CASE a+1 WHEN b THEN 111 WHEN c THEN 222 - WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, - CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END - FROM t1 - WHERE d NOT BETWEEN 110 AND 150 - OR e+d BETWEEN a+b-10 AND c+130 - OR d>e - ORDER BY 4,3 ----- -105 values hashing to 898b1396ba944fbd4d391be2eb9eceb9 - -query IIIII rowsort x852 -SELECT b, - d, - b-c, - CASE a+1 WHEN b THEN 111 WHEN c THEN 222 - WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, - CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END - FROM t1 - WHERE d>e - OR e+d BETWEEN a+b-10 AND c+130 - OR d NOT BETWEEN 110 AND 150 ----- -105 values hashing to 898b1396ba944fbd4d391be2eb9eceb9 - -query IIIII rowsort x852 -SELECT b, - d, - b-c, - CASE a+1 WHEN b THEN 111 WHEN c THEN 222 - WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, - CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END - FROM t1 - WHERE d>e - OR e+d BETWEEN a+b-10 AND c+130 - OR d NOT BETWEEN 110 AND 150 - ORDER BY 4,3,1 ----- -105 values hashing to 898b1396ba944fbd4d391be2eb9eceb9 - -query IIIII rowsort x852 -SELECT b, - d, - b-c, - CASE a+1 WHEN b THEN 111 WHEN c THEN 222 - WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, - CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END - FROM t1 - WHERE d NOT BETWEEN 110 AND 150 - OR d>e - OR e+d BETWEEN a+b-10 AND c+130 ----- -105 values hashing to 898b1396ba944fbd4d391be2eb9eceb9 - -query IIIII rowsort x852 -SELECT b, - d, - b-c, - CASE a+1 WHEN b THEN 111 WHEN c THEN 222 - WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, - CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END - FROM t1 - WHERE d NOT BETWEEN 110 AND 150 - OR d>e - OR e+d BETWEEN a+b-10 AND c+130 - ORDER BY 3,4,5,1 ----- -105 values hashing to 898b1396ba944fbd4d391be2eb9eceb9 - -query IIIII rowsort x853 -SELECT abs(a), - CASE WHEN ad ----- -65 values hashing to 55e12f994d85d5bb430f97aeb458f0ad - -query IIIII rowsort x853 -SELECT abs(a), - CASE WHEN ad - ORDER BY 3,2 ----- -65 values hashing to 55e12f994d85d5bb430f97aeb458f0ad - -query IIIII rowsort x854 -SELECT d, - b-c, - e, - abs(a), - (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.dd - AND EXISTS(SELECT 1 FROM t1 AS x WHERE x.be ----- -25 values hashing to efe072d229c48fafc64d6801a2353477 - -query IIIII rowsort x854 -SELECT d, - b-c, - e, - abs(a), - (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.dd - AND EXISTS(SELECT 1 FROM t1 AS x WHERE x.be - ORDER BY 1,5 ----- -25 values hashing to efe072d229c48fafc64d6801a2353477 - -query IIIII rowsort x854 -SELECT d, - b-c, - e, - abs(a), - (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.de - AND EXISTS(SELECT 1 FROM t1 AS x WHERE x.bd ----- -25 values hashing to efe072d229c48fafc64d6801a2353477 - -query IIIII rowsort x854 -SELECT d, - b-c, - e, - abs(a), - (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.de - AND EXISTS(SELECT 1 FROM t1 AS x WHERE x.bd - ORDER BY 4,3,2,5 ----- -25 values hashing to efe072d229c48fafc64d6801a2353477 - -query IIIII rowsort x854 -SELECT d, - b-c, - e, - abs(a), - (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.dd - AND d>e ----- -25 values hashing to efe072d229c48fafc64d6801a2353477 - -query IIIII rowsort x854 -SELECT d, - b-c, - e, - abs(a), - (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.dd - AND d>e - ORDER BY 5,3,4,1 ----- -25 values hashing to efe072d229c48fafc64d6801a2353477 - -query II rowsort x855 -SELECT CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - (SELECT count(*) FROM t1 AS x WHERE x.be ----- -46 values hashing to 3cc7fbe290b9c568f60dabcc1daa4652 - -query II rowsort x855 -SELECT CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - (SELECT count(*) FROM t1 AS x WHERE x.be - ORDER BY 2,1 ----- -46 values hashing to 3cc7fbe290b9c568f60dabcc1daa4652 - -query II rowsort x855 -SELECT CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - (SELECT count(*) FROM t1 AS x WHERE x.be - OR d NOT BETWEEN 110 AND 150 - OR c BETWEEN b-2 AND d+2 ----- -46 values hashing to 3cc7fbe290b9c568f60dabcc1daa4652 - -query II rowsort x855 -SELECT CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - (SELECT count(*) FROM t1 AS x WHERE x.be - OR d NOT BETWEEN 110 AND 150 - OR c BETWEEN b-2 AND d+2 - ORDER BY 2,1 ----- -46 values hashing to 3cc7fbe290b9c568f60dabcc1daa4652 - -query II rowsort x855 -SELECT CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - (SELECT count(*) FROM t1 AS x WHERE x.be - OR d NOT BETWEEN 110 AND 150 ----- -46 values hashing to 3cc7fbe290b9c568f60dabcc1daa4652 - -query II rowsort x855 -SELECT CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - (SELECT count(*) FROM t1 AS x WHERE x.be - OR d NOT BETWEEN 110 AND 150 - ORDER BY 1,2 ----- -46 values hashing to 3cc7fbe290b9c568f60dabcc1daa4652 - -query IIIIIII rowsort x856 -SELECT (SELECT count(*) FROM t1 AS x WHERE x.bb-2 AND ab-2 AND ab-2 AND ab-2 AND ab-2 AND ab-2 AND a(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END - FROM t1 - WHERE b>c - AND d>e - AND EXISTS(SELECT 1 FROM t1 AS x WHERE x.b(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END - FROM t1 - WHERE b>c - AND d>e - AND EXISTS(SELECT 1 FROM t1 AS x WHERE x.b(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END - FROM t1 - WHERE EXISTS(SELECT 1 FROM t1 AS x WHERE x.bc - AND d>e ----- -127 -1290 -137 -1390 -232 -468 -247 -490 - -query II rowsort x859 -SELECT (a+b+c+d+e)/5, - CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END - FROM t1 - WHERE EXISTS(SELECT 1 FROM t1 AS x WHERE x.bc - AND d>e - ORDER BY 1,2 ----- -127 -1290 -137 -1390 -232 -468 -247 -490 - -query II rowsort x859 -SELECT (a+b+c+d+e)/5, - CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END - FROM t1 - WHERE d>e - AND b>c - AND EXISTS(SELECT 1 FROM t1 AS x WHERE x.b(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END - FROM t1 - WHERE d>e - AND b>c - AND EXISTS(SELECT 1 FROM t1 AS x WHERE x.b(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END - FROM t1 - WHERE d>e - AND EXISTS(SELECT 1 FROM t1 AS x WHERE x.bc ----- -127 -1290 -137 -1390 -232 -468 -247 -490 - -query II rowsort x859 -SELECT (a+b+c+d+e)/5, - CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END - FROM t1 - WHERE d>e - AND EXISTS(SELECT 1 FROM t1 AS x WHERE x.bc - ORDER BY 2,1 ----- -127 -1290 -137 -1390 -232 -468 -247 -490 - -query I rowsort x860 -SELECT a-b - FROM t1 ----- -30 values hashing to a8508bcdf86e494dd5feccb5ca8d9768 - -query I rowsort x860 -SELECT a-b - FROM t1 - ORDER BY 1 ----- -30 values hashing to a8508bcdf86e494dd5feccb5ca8d9768 - -query II rowsort x861 -SELECT CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - e - FROM t1 - WHERE c>d - OR d>e ----- -38 values hashing to 2a2598769a3b3b10efdd6fbbbcdb5d91 - -query II rowsort x861 -SELECT CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - e - FROM t1 - WHERE c>d - OR d>e - ORDER BY 1,2 ----- -38 values hashing to 2a2598769a3b3b10efdd6fbbbcdb5d91 - -query II rowsort x861 -SELECT CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - e - FROM t1 - WHERE d>e - OR c>d ----- -38 values hashing to 2a2598769a3b3b10efdd6fbbbcdb5d91 - -query II rowsort x861 -SELECT CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - e - FROM t1 - WHERE d>e - OR c>d - ORDER BY 2,1 ----- -38 values hashing to 2a2598769a3b3b10efdd6fbbbcdb5d91 - -query II rowsort x862 -SELECT (a+b+c+d+e)/5, - (SELECT count(*) FROM t1 AS x WHERE x.bb-2 AND ac OR ea AND eb-2 AND ac OR ea AND ea AND ec OR eb-2 AND aa AND ec OR eb-2 AND at1.c AND x.dc OR et1.c AND x.dc OR et1.c AND x.dc OR et1.c AND x.dc OR ec ----- -13 values hashing to 37b4d73e441261c2486e2c599c1c89f1 - -query I rowsort x866 -SELECT d-e - FROM t1 - WHERE b>c - ORDER BY 1 ----- -13 values hashing to 37b4d73e441261c2486e2c599c1c89f1 - -query IIIII rowsort x867 -SELECT abs(a), - a+b*2+c*3+d*4+e*5, - d-e, - (SELECT count(*) FROM t1 AS x WHERE x.b(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - abs(a), - d-e, - b, - e - FROM t1 - WHERE (e>c OR eb-2 AND a(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - abs(a), - d-e, - b, - e - FROM t1 - WHERE (e>c OR eb-2 AND a(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - abs(a), - d-e, - b, - e - FROM t1 - WHERE (a>b-2 AND ac OR e(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - abs(a), - d-e, - b, - e - FROM t1 - WHERE (a>b-2 AND ac OR e(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - abs(a), - d-e, - b, - e - FROM t1 - WHERE (e>c OR eb-2 AND a(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - abs(a), - d-e, - b, - e - FROM t1 - WHERE (e>c OR eb-2 AND ad - OR d>e ----- -38 values hashing to 38f3dc6640f3c6f990539ded2f42dd40 - -query II rowsort x869 -SELECT (SELECT count(*) FROM t1 AS x WHERE x.bd - OR d>e - ORDER BY 2,1 ----- -38 values hashing to 38f3dc6640f3c6f990539ded2f42dd40 - -query II rowsort x869 -SELECT (SELECT count(*) FROM t1 AS x WHERE x.be - OR c>d ----- -38 values hashing to 38f3dc6640f3c6f990539ded2f42dd40 - -query II rowsort x869 -SELECT (SELECT count(*) FROM t1 AS x WHERE x.be - OR c>d - ORDER BY 1,2 ----- -38 values hashing to 38f3dc6640f3c6f990539ded2f42dd40 - -query III rowsort x870 -SELECT b-c, - abs(b-c), - a+b*2 - FROM t1 ----- -90 values hashing to daca262d1b7c5c84e7776454aeae28b6 - -query III rowsort x870 -SELECT b-c, - abs(b-c), - a+b*2 - FROM t1 - ORDER BY 3,1 ----- -90 values hashing to daca262d1b7c5c84e7776454aeae28b6 - -query II rowsort x871 -SELECT (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.da AND et1.c AND x.da AND et1.c AND x.da AND et1.c AND x.da AND et1.c AND x.de - OR EXISTS(SELECT 1 FROM t1 AS x WHERE x.bt1.c AND x.de - OR EXISTS(SELECT 1 FROM t1 AS x WHERE x.bt1.c AND x.de ----- -78 values hashing to f5793db3d840c263516ce377d0018549 - -query III rowsort x872 -SELECT (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.de - ORDER BY 2,1 ----- -78 values hashing to f5793db3d840c263516ce377d0018549 - -query I rowsort x873 -SELECT CASE WHEN aa AND ed ----- -14 values hashing to f97f357089334d125cef4f36f7735b7d - -query I rowsort x873 -SELECT CASE WHEN aa AND ed - ORDER BY 1 ----- -14 values hashing to f97f357089334d125cef4f36f7735b7d - -query I rowsort x873 -SELECT CASE WHEN ad - OR (e>a AND ed - OR (e>a AND e(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - d, - abs(b-c), - c-d, - a+b*2 - FROM t1 - WHERE (e>c OR e(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - d, - abs(b-c), - c-d, - a+b*2 - FROM t1 - WHERE (e>c OR e=d+2) - AND c>d - AND (e>a AND e=d+2) - AND c>d - AND (e>a AND ed - AND (e>a AND e=d+2) ----- -14 values hashing to 8b5e382e90ee04d96e67c5207bff60a3 - -query IIIIIII rowsort x875 -SELECT (a+b+c+d+e)/5, - c-d, - a+b*2, - d, - CASE WHEN ad - AND (e>a AND e=d+2) - ORDER BY 5,2 ----- -14 values hashing to 8b5e382e90ee04d96e67c5207bff60a3 - -query IIIIIII rowsort x875 -SELECT (a+b+c+d+e)/5, - c-d, - a+b*2, - d, - CASE WHEN a=d+2) - AND (e>a AND ed ----- -14 values hashing to 8b5e382e90ee04d96e67c5207bff60a3 - -query IIIIIII rowsort x875 -SELECT (a+b+c+d+e)/5, - c-d, - a+b*2, - d, - CASE WHEN a=d+2) - AND (e>a AND ed - ORDER BY 4,5,1 ----- -14 values hashing to 8b5e382e90ee04d96e67c5207bff60a3 - -query IIIIIII rowsort x876 -SELECT CASE WHEN at1.c AND x.d(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END - FROM t1 ----- -210 values hashing to 50639da083e0dfcdd5c8e83a956b4426 - -query IIIIIII rowsort x876 -SELECT CASE WHEN at1.c AND x.d(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END - FROM t1 - ORDER BY 4,5 ----- -210 values hashing to 50639da083e0dfcdd5c8e83a956b4426 - -query IIIII rowsort x877 -SELECT a+b*2+c*3+d*4, - CASE WHEN a(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - (SELECT count(*) FROM t1 AS x WHERE x.be ----- -35 values hashing to f68c064171813788a6cf94f0b90aff35 - -query IIIII rowsort x877 -SELECT a+b*2+c*3+d*4, - CASE WHEN a(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - (SELECT count(*) FROM t1 AS x WHERE x.be - ORDER BY 4,5,3,2 ----- -35 values hashing to f68c064171813788a6cf94f0b90aff35 - -query IIIII rowsort x877 -SELECT a+b*2+c*3+d*4, - CASE WHEN a(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - (SELECT count(*) FROM t1 AS x WHERE x.be - AND d NOT BETWEEN 110 AND 150 ----- -35 values hashing to f68c064171813788a6cf94f0b90aff35 - -query IIIII rowsort x877 -SELECT a+b*2+c*3+d*4, - CASE WHEN a(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - (SELECT count(*) FROM t1 AS x WHERE x.be - AND d NOT BETWEEN 110 AND 150 - ORDER BY 5,2,4,1 ----- -35 values hashing to f68c064171813788a6cf94f0b90aff35 - -query II rowsort x878 -SELECT (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.dt1.c AND x.da AND ea AND ea AND ea AND e(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END - FROM t1 ----- -30 values hashing to efdbaa4d180e7867bec1c4d897bd25b9 - -query I rowsort x882 -SELECT CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END - FROM t1 - ORDER BY 1 ----- -30 values hashing to efdbaa4d180e7867bec1c4d897bd25b9 - -query IIIIII rowsort x883 -SELECT a+b*2+c*3+d*4, - a+b*2, - (SELECT count(*) FROM t1 AS x WHERE x.b(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - a+b*2+c*3+d*4+e*5 - FROM t1 ----- -180 values hashing to 42336e6173780b5bf485e01d7ad7e2d6 - -query IIIIII rowsort x883 -SELECT a+b*2+c*3+d*4, - a+b*2, - (SELECT count(*) FROM t1 AS x WHERE x.b(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - a+b*2+c*3+d*4+e*5 - FROM t1 - ORDER BY 2,1,4 ----- -180 values hashing to 42336e6173780b5bf485e01d7ad7e2d6 - -query I rowsort x884 -SELECT e - FROM t1 - WHERE EXISTS(SELECT 1 FROM t1 AS x WHERE x.ba AND eb-2 AND aa AND eb-2 AND ab-2 AND aa AND eb-2 AND aa AND eb-2 AND aa AND eb-2 AND aa AND ea AND eb-2 AND aa AND eb-2 AND ab-2 AND ac OR ed ----- -81 values hashing to c79f665e7971df459923fc66824c7e23 - -query III rowsort x887 -SELECT (SELECT count(*) FROM t1 AS x WHERE x.bb-2 AND ac OR ed - ORDER BY 1,2 ----- -81 values hashing to c79f665e7971df459923fc66824c7e23 - -query III rowsort x887 -SELECT (SELECT count(*) FROM t1 AS x WHERE x.bb-2 AND ad - OR (e>c OR eb-2 AND ad - OR (e>c OR ed - OR (e>c OR eb-2 AND ad - OR (e>c OR eb-2 AND ac OR ed - OR (a>b-2 AND ac OR ed - OR (a>b-2 AND ae ----- -33 values hashing to 842ca7ca664eef175a333bdc30730d09 - -query III rowsort x888 -SELECT CASE WHEN ae - ORDER BY 2,1 ----- -33 values hashing to 842ca7ca664eef175a333bdc30730d09 - -query IIIII rowsort x889 -SELECT a, - abs(b-c), - c, - CASE a+1 WHEN b THEN 111 WHEN c THEN 222 - WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, - a+b*2+c*3+d*4+e*5 - FROM t1 - WHERE (a>b-2 AND ac OR eb-2 AND ac OR ec OR eb-2 AND ac OR eb-2 AND ac ----- -26 values hashing to 7fd49e95ee3c9c5ebd63030470d8b287 - -query II rowsort x891 -SELECT (a+b+c+d+e)/5, - (SELECT count(*) FROM t1 AS x WHERE x.bc - ORDER BY 1,2 ----- -26 values hashing to 7fd49e95ee3c9c5ebd63030470d8b287 - -query IIIII rowsort x892 -SELECT a-b, - b-c, - d, - abs(b-c), - e - FROM t1 - WHERE (e>a AND ea AND ee ----- -77 values hashing to 43cba760bf35fce24ea8939d5b17b80e - -query IIIIIII rowsort x895 -SELECT b-c, - c-d, - CASE WHEN ae - ORDER BY 2,7,4,3,6 ----- -77 values hashing to 43cba760bf35fce24ea8939d5b17b80e - -query I rowsort x896 -SELECT CASE WHEN a=d+2) - AND EXISTS(SELECT 1 FROM t1 AS x WHERE x.bd ----- -222 -222 -333 -333 - -query I rowsort x896 -SELECT CASE WHEN a=d+2) - AND EXISTS(SELECT 1 FROM t1 AS x WHERE x.bd - ORDER BY 1 ----- -222 -222 -333 -333 - -query I rowsort x896 -SELECT CASE WHEN a=d+2) - AND c>d ----- -222 -222 -333 -333 - -query I rowsort x896 -SELECT CASE WHEN a=d+2) - AND c>d - ORDER BY 1 ----- -222 -222 -333 -333 - -query I rowsort x896 -SELECT CASE WHEN a=d+2) - AND c>d - AND EXISTS(SELECT 1 FROM t1 AS x WHERE x.b=d+2) - AND c>d - AND EXISTS(SELECT 1 FROM t1 AS x WHERE x.bd - AND EXISTS(SELECT 1 FROM t1 AS x WHERE x.b=d+2) ----- -222 -222 -333 -333 - -query I rowsort x896 -SELECT CASE WHEN ad - AND EXISTS(SELECT 1 FROM t1 AS x WHERE x.b=d+2) - ORDER BY 1 ----- -222 -222 -333 -333 - -query IIII rowsort x897 -SELECT abs(b-c), - c, - e, - c-d - FROM t1 - WHERE (c<=d-2 OR c>=d+2) - AND (a>b-2 AND a=d+2) - AND (a>b-2 AND ac - AND c BETWEEN b-2 AND d+2 - AND (a>b-2 AND ac - AND c BETWEEN b-2 AND d+2 - AND (a>b-2 AND ab-2 AND ac ----- -2 -111 -827 --1 -2 -111 -851 --1 - -query IIII rowsort x899 -SELECT abs(b-c), - CASE a+1 WHEN b THEN 111 WHEN c THEN 222 - WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, - a+b*2+c*3, - a-b - FROM t1 - WHERE (a>b-2 AND ac - ORDER BY 1,3 ----- -2 -111 -827 --1 -2 -111 -851 --1 - -query IIII rowsort x899 -SELECT abs(b-c), - CASE a+1 WHEN b THEN 111 WHEN c THEN 222 - WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, - a+b*2+c*3, - a-b - FROM t1 - WHERE c BETWEEN b-2 AND d+2 - AND (a>b-2 AND ac ----- -2 -111 -827 --1 -2 -111 -851 --1 - -query IIII rowsort x899 -SELECT abs(b-c), - CASE a+1 WHEN b THEN 111 WHEN c THEN 222 - WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, - a+b*2+c*3, - a-b - FROM t1 - WHERE c BETWEEN b-2 AND d+2 - AND (a>b-2 AND ac - ORDER BY 2,4,1,3 ----- -2 -111 -827 --1 -2 -111 -851 --1 - -query IIIII rowsort x900 -SELECT a+b*2+c*3+d*4+e*5, - d-e, - (SELECT count(*) FROM t1 AS x WHERE x.ba AND ea AND ea AND ea AND et1.c AND x.dc OR ea AND et1.c AND x.dc OR ea AND et1.c AND x.dd - OR d NOT BETWEEN 110 AND 150 - OR a>b ----- -140 values hashing to 4e028439887eb00b53e88ff660e4f6df - -query IIIII rowsort x907 -SELECT CASE a+1 WHEN b THEN 111 WHEN c THEN 222 - WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, - d, - d-e, - a+b*2+c*3, - (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.dd - OR d NOT BETWEEN 110 AND 150 - OR a>b - ORDER BY 3,5,2 ----- -140 values hashing to 4e028439887eb00b53e88ff660e4f6df - -query IIIII rowsort x907 -SELECT CASE a+1 WHEN b THEN 111 WHEN c THEN 222 - WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, - d, - d-e, - a+b*2+c*3, - (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.db - OR d NOT BETWEEN 110 AND 150 - OR c>d ----- -140 values hashing to 4e028439887eb00b53e88ff660e4f6df - -query IIIII rowsort x907 -SELECT CASE a+1 WHEN b THEN 111 WHEN c THEN 222 - WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, - d, - d-e, - a+b*2+c*3, - (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.db - OR d NOT BETWEEN 110 AND 150 - OR c>d - ORDER BY 4,3,2,5,1 ----- -140 values hashing to 4e028439887eb00b53e88ff660e4f6df - -query IIIII rowsort x907 -SELECT CASE a+1 WHEN b THEN 111 WHEN c THEN 222 - WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, - d, - d-e, - a+b*2+c*3, - (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.db - OR c>d - OR d NOT BETWEEN 110 AND 150 ----- -140 values hashing to 4e028439887eb00b53e88ff660e4f6df - -query IIIII rowsort x907 -SELECT CASE a+1 WHEN b THEN 111 WHEN c THEN 222 - WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, - d, - d-e, - a+b*2+c*3, - (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.db - OR c>d - OR d NOT BETWEEN 110 AND 150 - ORDER BY 5,1 ----- -140 values hashing to 4e028439887eb00b53e88ff660e4f6df - -query IIIII rowsort x907 -SELECT CASE a+1 WHEN b THEN 111 WHEN c THEN 222 - WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, - d, - d-e, - a+b*2+c*3, - (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.dd - OR a>b - OR d NOT BETWEEN 110 AND 150 ----- -140 values hashing to 4e028439887eb00b53e88ff660e4f6df - -query IIIII rowsort x907 -SELECT CASE a+1 WHEN b THEN 111 WHEN c THEN 222 - WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, - d, - d-e, - a+b*2+c*3, - (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.dd - OR a>b - OR d NOT BETWEEN 110 AND 150 - ORDER BY 3,1,2,5 ----- -140 values hashing to 4e028439887eb00b53e88ff660e4f6df - -query IIIIIII rowsort x908 -SELECT b, - b-c, - a-b, - e, - c-d, - a+b*2, - abs(b-c) - FROM t1 - WHERE c>d ----- -91 values hashing to 61af2b3e6246e6c0b52d25fa685fba31 - -query IIIIIII rowsort x908 -SELECT b, - b-c, - a-b, - e, - c-d, - a+b*2, - abs(b-c) - FROM t1 - WHERE c>d - ORDER BY 3,1,2,7,5,6 ----- -91 values hashing to 61af2b3e6246e6c0b52d25fa685fba31 - -query III rowsort x909 -SELECT b-c, - b, - CASE a+1 WHEN b THEN 111 WHEN c THEN 222 - WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END - FROM t1 - WHERE a>b - AND d NOT BETWEEN 110 AND 150 - AND (e>a AND eb - AND d NOT BETWEEN 110 AND 150 - AND (e>a AND ea AND eb - AND d NOT BETWEEN 110 AND 150 ----- - -query III rowsort x909 -SELECT b-c, - b, - CASE a+1 WHEN b THEN 111 WHEN c THEN 222 - WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END - FROM t1 - WHERE (e>a AND eb - AND d NOT BETWEEN 110 AND 150 - ORDER BY 3,1 ----- - -query III rowsort x909 -SELECT b-c, - b, - CASE a+1 WHEN b THEN 111 WHEN c THEN 222 - WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END - FROM t1 - WHERE d NOT BETWEEN 110 AND 150 - AND (e>a AND eb ----- - -query III rowsort x909 -SELECT b-c, - b, - CASE a+1 WHEN b THEN 111 WHEN c THEN 222 - WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END - FROM t1 - WHERE d NOT BETWEEN 110 AND 150 - AND (e>a AND eb - ORDER BY 1,3,2 ----- - -query III rowsort x909 -SELECT b-c, - b, - CASE a+1 WHEN b THEN 111 WHEN c THEN 222 - WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END - FROM t1 - WHERE d NOT BETWEEN 110 AND 150 - AND a>b - AND (e>a AND eb - AND (e>a AND ec OR ec OR e=d+2) - AND (e>a AND ed ----- -579 -1 -666 -1 - -query II rowsort x912 -SELECT a+b*2, - abs(b-c) - FROM t1 - WHERE (c<=d-2 OR c>=d+2) - AND (e>a AND ed - ORDER BY 2,1 ----- -579 -1 -666 -1 - -query II rowsort x912 -SELECT a+b*2, - abs(b-c) - FROM t1 - WHERE c>d - AND (e>a AND e=d+2) ----- -579 -1 -666 -1 - -query II rowsort x912 -SELECT a+b*2, - abs(b-c) - FROM t1 - WHERE c>d - AND (e>a AND e=d+2) - ORDER BY 2,1 ----- -579 -1 -666 -1 - -query II rowsort x912 -SELECT a+b*2, - abs(b-c) - FROM t1 - WHERE c>d - AND (c<=d-2 OR c>=d+2) - AND (e>a AND ed - AND (c<=d-2 OR c>=d+2) - AND (e>a AND et1.c AND x.d=d+2) - AND c BETWEEN b-2 AND d+2 ----- -42 values hashing to 9fc3445db9f74014fa1b0ad2c6bef7a0 - -query IIIIIII rowsort x914 -SELECT a+b*2+c*3+d*4, - a-b, - a, - (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.d=d+2) - AND c BETWEEN b-2 AND d+2 - ORDER BY 6,7,1,3 ----- -42 values hashing to 9fc3445db9f74014fa1b0ad2c6bef7a0 - -query I rowsort x915 -SELECT a+b*2+c*3 - FROM t1 ----- -30 values hashing to 445b0172de37f3ca0ed777000309cef8 - -query I rowsort x915 -SELECT a+b*2+c*3 - FROM t1 - ORDER BY 1 ----- -30 values hashing to 445b0172de37f3ca0ed777000309cef8 - -query II rowsort x916 -SELECT a+b*2, - CASE a+1 WHEN b THEN 111 WHEN c THEN 222 - WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END - FROM t1 - WHERE e+d BETWEEN a+b-10 AND c+130 - OR c>d - OR d>e ----- -40 values hashing to a4eb0104d41af22e42996fc476790ecb - -query II rowsort x916 -SELECT a+b*2, - CASE a+1 WHEN b THEN 111 WHEN c THEN 222 - WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END - FROM t1 - WHERE e+d BETWEEN a+b-10 AND c+130 - OR c>d - OR d>e - ORDER BY 1,2 ----- -40 values hashing to a4eb0104d41af22e42996fc476790ecb - -query II rowsort x916 -SELECT a+b*2, - CASE a+1 WHEN b THEN 111 WHEN c THEN 222 - WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END - FROM t1 - WHERE d>e - OR e+d BETWEEN a+b-10 AND c+130 - OR c>d ----- -40 values hashing to a4eb0104d41af22e42996fc476790ecb - -query II rowsort x916 -SELECT a+b*2, - CASE a+1 WHEN b THEN 111 WHEN c THEN 222 - WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END - FROM t1 - WHERE d>e - OR e+d BETWEEN a+b-10 AND c+130 - OR c>d - ORDER BY 2,1 ----- -40 values hashing to a4eb0104d41af22e42996fc476790ecb - -query II rowsort x916 -SELECT a+b*2, - CASE a+1 WHEN b THEN 111 WHEN c THEN 222 - WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END - FROM t1 - WHERE c>d - OR d>e - OR e+d BETWEEN a+b-10 AND c+130 ----- -40 values hashing to a4eb0104d41af22e42996fc476790ecb - -query II rowsort x916 -SELECT a+b*2, - CASE a+1 WHEN b THEN 111 WHEN c THEN 222 - WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END - FROM t1 - WHERE c>d - OR d>e - OR e+d BETWEEN a+b-10 AND c+130 - ORDER BY 1,2 ----- -40 values hashing to a4eb0104d41af22e42996fc476790ecb - -query IIII rowsort x917 -SELECT CASE WHEN ad - AND (a>b-2 AND ad - AND (a>b-2 AND ab-2 AND ad ----- -12 values hashing to 1035deb2c40a4b7e0f266141df5c98a3 - -query III rowsort x918 -SELECT a+b*2+c*3+d*4+e*5, - a+b*2+c*3, - c-d - FROM t1 - WHERE (a>b-2 AND ad - ORDER BY 3,1 ----- -12 values hashing to 1035deb2c40a4b7e0f266141df5c98a3 - -query IIII rowsort x919 -SELECT b, - a+b*2+c*3+d*4+e*5, - (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.d(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END - FROM t1 - WHERE a>b - AND c>d - AND (c<=d-2 OR c>=d+2) ----- -186 -2806 -0 -376 -211 -3175 -0 -426 - -query IIII rowsort x919 -SELECT b, - a+b*2+c*3+d*4+e*5, - (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.d(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END - FROM t1 - WHERE a>b - AND c>d - AND (c<=d-2 OR c>=d+2) - ORDER BY 3,4,2 ----- -186 -2806 -0 -376 -211 -3175 -0 -426 - -query IIII rowsort x919 -SELECT b, - a+b*2+c*3+d*4+e*5, - (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.d(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END - FROM t1 - WHERE a>b - AND (c<=d-2 OR c>=d+2) - AND c>d ----- -186 -2806 -0 -376 -211 -3175 -0 -426 - -query IIII rowsort x919 -SELECT b, - a+b*2+c*3+d*4+e*5, - (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.d(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END - FROM t1 - WHERE a>b - AND (c<=d-2 OR c>=d+2) - AND c>d - ORDER BY 2,4,3 ----- -186 -2806 -0 -376 -211 -3175 -0 -426 - -query IIII rowsort x919 -SELECT b, - a+b*2+c*3+d*4+e*5, - (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.d(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END - FROM t1 - WHERE (c<=d-2 OR c>=d+2) - AND a>b - AND c>d ----- -186 -2806 -0 -376 -211 -3175 -0 -426 - -query IIII rowsort x919 -SELECT b, - a+b*2+c*3+d*4+e*5, - (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.d(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END - FROM t1 - WHERE (c<=d-2 OR c>=d+2) - AND a>b - AND c>d - ORDER BY 4,2,1,3 ----- -186 -2806 -0 -376 -211 -3175 -0 -426 - -query IIII rowsort x919 -SELECT b, - a+b*2+c*3+d*4+e*5, - (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.d(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END - FROM t1 - WHERE c>d - AND a>b - AND (c<=d-2 OR c>=d+2) ----- -186 -2806 -0 -376 -211 -3175 -0 -426 - -query IIII rowsort x919 -SELECT b, - a+b*2+c*3+d*4+e*5, - (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.d(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END - FROM t1 - WHERE c>d - AND a>b - AND (c<=d-2 OR c>=d+2) - ORDER BY 1,4,3,2 ----- -186 -2806 -0 -376 -211 -3175 -0 -426 - -query III rowsort x920 -SELECT a-b, - c, - a+b*2 - FROM t1 - WHERE b>c - AND EXISTS(SELECT 1 FROM t1 AS x WHERE x.bc OR ec - AND EXISTS(SELECT 1 FROM t1 AS x WHERE x.bc OR ec OR ec ----- -27 values hashing to 70241e09ff2d5961d8dcfc8d2b3bfe57 - -query III rowsort x920 -SELECT a-b, - c, - a+b*2 - FROM t1 - WHERE (e>c OR ec - ORDER BY 3,2 ----- -27 values hashing to 70241e09ff2d5961d8dcfc8d2b3bfe57 - -query IIIIII rowsort x921 -SELECT CASE WHEN at1.c AND x.dt1.c AND x.d(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END - FROM t1 ----- -150 values hashing to ccd08e2cecb428df2a757b68bf4a0866 - -query IIIII rowsort x922 -SELECT a+b*2+c*3+d*4+e*5, - (a+b+c+d+e)/5, - abs(b-c), - abs(a), - CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END - FROM t1 - ORDER BY 2,5,1,3,4 ----- -150 values hashing to ccd08e2cecb428df2a757b68bf4a0866 - -query III rowsort x923 -SELECT (a+b+c+d+e)/5, - e, - c - FROM t1 ----- -90 values hashing to 9efd3afc3390d993ad116337cbd5ab05 - -query III rowsort x923 -SELECT (a+b+c+d+e)/5, - e, - c - FROM t1 - ORDER BY 2,3 ----- -90 values hashing to 9efd3afc3390d993ad116337cbd5ab05 - -query IIII rowsort x924 -SELECT d, - abs(b-c), - b, - b-c - FROM t1 - WHERE d NOT BETWEEN 110 AND 150 ----- -68 values hashing to 8050cded0b9f193897a5e53499364ff9 - -query IIII rowsort x924 -SELECT d, - abs(b-c), - b, - b-c - FROM t1 - WHERE d NOT BETWEEN 110 AND 150 - ORDER BY 2,4 ----- -68 values hashing to 8050cded0b9f193897a5e53499364ff9 - -query IIIIII rowsort x925 -SELECT b, - a+b*2, - a+b*2+c*3, - e, - a+b*2+c*3+d*4, - (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.de ----- -54 values hashing to 5708005ac18e323809f647804000a6c1 - -query IIIIII rowsort x925 -SELECT b, - a+b*2, - a+b*2+c*3, - e, - a+b*2+c*3+d*4, - (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.de - ORDER BY 5,6,3,1,2 ----- -54 values hashing to 5708005ac18e323809f647804000a6c1 - -query IIIIII rowsort x925 -SELECT b, - a+b*2, - a+b*2+c*3, - e, - a+b*2+c*3+d*4, - (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.de - AND c BETWEEN b-2 AND d+2 ----- -54 values hashing to 5708005ac18e323809f647804000a6c1 - -query IIIIII rowsort x925 -SELECT b, - a+b*2, - a+b*2+c*3, - e, - a+b*2+c*3+d*4, - (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.de - AND c BETWEEN b-2 AND d+2 - ORDER BY 3,6,1,2,4,5 ----- -54 values hashing to 5708005ac18e323809f647804000a6c1 - -query IIIIIII rowsort x926 -SELECT a+b*2+c*3+d*4, - CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - d-e, - d, - abs(b-c), - a+b*2+c*3, - a-b - FROM t1 - WHERE (a>b-2 AND a(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - d-e, - d, - abs(b-c), - a+b*2+c*3, - a-b - FROM t1 - WHERE (a>b-2 AND a(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - d-e, - d, - abs(b-c), - a+b*2+c*3, - a-b - FROM t1 - WHERE e+d BETWEEN a+b-10 AND c+130 - AND (a>b-2 AND a(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - d-e, - d, - abs(b-c), - a+b*2+c*3, - a-b - FROM t1 - WHERE e+d BETWEEN a+b-10 AND c+130 - AND (a>b-2 AND ab-2 AND ab ----- -18 values hashing to 60b7c84682b5d4d47d5bebed31838dbe - -query III rowsort x927 -SELECT abs(a), - a+b*2, - a-b - FROM t1 - WHERE EXISTS(SELECT 1 FROM t1 AS x WHERE x.bb-2 AND ab - ORDER BY 2,1 ----- -18 values hashing to 60b7c84682b5d4d47d5bebed31838dbe - -query III rowsort x927 -SELECT abs(a), - a+b*2, - a-b - FROM t1 - WHERE (a>b-2 AND ab ----- -18 values hashing to 60b7c84682b5d4d47d5bebed31838dbe - -query III rowsort x927 -SELECT abs(a), - a+b*2, - a-b - FROM t1 - WHERE (a>b-2 AND ab - ORDER BY 2,1 ----- -18 values hashing to 60b7c84682b5d4d47d5bebed31838dbe - -query III rowsort x927 -SELECT abs(a), - a+b*2, - a-b - FROM t1 - WHERE EXISTS(SELECT 1 FROM t1 AS x WHERE x.bb - AND (a>b-2 AND ab - AND (a>b-2 AND at1.c AND x.dd - OR c BETWEEN b-2 AND d+2 ----- -72 values hashing to 1d3de673e0723bd762f36310f29d99af - -query IIII rowsort x928 -SELECT d, - (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.dd - OR c BETWEEN b-2 AND d+2 - ORDER BY 4,1 ----- -72 values hashing to 1d3de673e0723bd762f36310f29d99af - -query IIII rowsort x928 -SELECT d, - (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.dd ----- -72 values hashing to 1d3de673e0723bd762f36310f29d99af - -query IIII rowsort x928 -SELECT d, - (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.dd - ORDER BY 4,2,3 ----- -72 values hashing to 1d3de673e0723bd762f36310f29d99af - -query IIIIII rowsort x929 -SELECT CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - (a+b+c+d+e)/5, - CASE a+1 WHEN b THEN 111 WHEN c THEN 222 - WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, - c, - a, - a+b*2+c*3+d*4 - FROM t1 - WHERE (e>a AND e(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - (a+b+c+d+e)/5, - CASE a+1 WHEN b THEN 111 WHEN c THEN 222 - WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, - c, - a, - a+b*2+c*3+d*4 - FROM t1 - WHERE (e>a AND e(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - (a+b+c+d+e)/5, - CASE a+1 WHEN b THEN 111 WHEN c THEN 222 - WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, - c, - a, - a+b*2+c*3+d*4 - FROM t1 - WHERE EXISTS(SELECT 1 FROM t1 AS x WHERE x.ba AND e(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - (a+b+c+d+e)/5, - CASE a+1 WHEN b THEN 111 WHEN c THEN 222 - WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, - c, - a, - a+b*2+c*3+d*4 - FROM t1 - WHERE EXISTS(SELECT 1 FROM t1 AS x WHERE x.ba AND ea AND ea AND ed - AND (e>c OR e=d+2) ----- -21 values hashing to a8129edd377d312f8163e2f45600237e - -query IIIIIII rowsort x932 -SELECT (a+b+c+d+e)/5, - e, - abs(a), - CASE a+1 WHEN b THEN 111 WHEN c THEN 222 - WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, - (SELECT count(*) FROM t1 AS x WHERE x.bd - AND (e>c OR e=d+2) - ORDER BY 6,1,2 ----- -21 values hashing to a8129edd377d312f8163e2f45600237e - -query IIIIIII rowsort x932 -SELECT (a+b+c+d+e)/5, - e, - abs(a), - CASE a+1 WHEN b THEN 111 WHEN c THEN 222 - WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, - (SELECT count(*) FROM t1 AS x WHERE x.b=d+2) - AND c>d - AND (e>c OR e=d+2) - AND c>d - AND (e>c OR e=d+2) - AND (e>c OR ed ----- -21 values hashing to a8129edd377d312f8163e2f45600237e - -query IIIIIII rowsort x932 -SELECT (a+b+c+d+e)/5, - e, - abs(a), - CASE a+1 WHEN b THEN 111 WHEN c THEN 222 - WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, - (SELECT count(*) FROM t1 AS x WHERE x.b=d+2) - AND (e>c OR ed - ORDER BY 4,5,3,1 ----- -21 values hashing to a8129edd377d312f8163e2f45600237e - -query IIIIII rowsort x933 -SELECT b-c, - d-e, - (a+b+c+d+e)/5, - CASE WHEN at1.c AND x.d=d+2) ----- -60 values hashing to 5ef0b993601e70b2f826cc8584a5d9fd - -query IIIIII rowsort x933 -SELECT b-c, - d-e, - (a+b+c+d+e)/5, - CASE WHEN at1.c AND x.d=d+2) - ORDER BY 3,5,6,4,2 ----- -60 values hashing to 5ef0b993601e70b2f826cc8584a5d9fd - -query II rowsort x934 -SELECT c, - a+b*2+c*3+d*4 - FROM t1 - WHERE c>d - AND a>b ----- -10 values hashing to 4696c13474a735611a80cd1ca030dd8c - -query II rowsort x934 -SELECT c, - a+b*2+c*3+d*4 - FROM t1 - WHERE c>d - AND a>b - ORDER BY 2,1 ----- -10 values hashing to 4696c13474a735611a80cd1ca030dd8c - -query II rowsort x934 -SELECT c, - a+b*2+c*3+d*4 - FROM t1 - WHERE a>b - AND c>d ----- -10 values hashing to 4696c13474a735611a80cd1ca030dd8c - -query II rowsort x934 -SELECT c, - a+b*2+c*3+d*4 - FROM t1 - WHERE a>b - AND c>d - ORDER BY 1,2 ----- -10 values hashing to 4696c13474a735611a80cd1ca030dd8c - -query IIII rowsort x935 -SELECT a+b*2+c*3+d*4+e*5, - c, - (a+b+c+d+e)/5, - (SELECT count(*) FROM t1 AS x WHERE x.bc - AND c BETWEEN b-2 AND d+2 ----- -20 values hashing to c5d849859f6eca128c22635ba6c3cb04 - -query IIII rowsort x935 -SELECT a+b*2+c*3+d*4+e*5, - c, - (a+b+c+d+e)/5, - (SELECT count(*) FROM t1 AS x WHERE x.bc - AND c BETWEEN b-2 AND d+2 - ORDER BY 4,2,1 ----- -20 values hashing to c5d849859f6eca128c22635ba6c3cb04 - -query IIII rowsort x935 -SELECT a+b*2+c*3+d*4+e*5, - c, - (a+b+c+d+e)/5, - (SELECT count(*) FROM t1 AS x WHERE x.bc ----- -20 values hashing to c5d849859f6eca128c22635ba6c3cb04 - -query IIII rowsort x935 -SELECT a+b*2+c*3+d*4+e*5, - c, - (a+b+c+d+e)/5, - (SELECT count(*) FROM t1 AS x WHERE x.bc - ORDER BY 4,3,1,2 ----- -20 values hashing to c5d849859f6eca128c22635ba6c3cb04 - -query I rowsort x936 -SELECT b-c - FROM t1 - WHERE a>b ----- -17 values hashing to acc51927d4c550f3c05c306b7914158e - -query I rowsort x936 -SELECT b-c - FROM t1 - WHERE a>b - ORDER BY 1 ----- -17 values hashing to acc51927d4c550f3c05c306b7914158e - -query IIIIIII rowsort x937 -SELECT abs(a), - b, - c, - CASE a+1 WHEN b THEN 111 WHEN c THEN 222 - WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, - a-b, - CASE WHEN ae - AND d NOT BETWEEN 110 AND 150 ----- -49 values hashing to 77efab7a5ab568021241d73b49ff1a6b - -query IIIIIII rowsort x937 -SELECT abs(a), - b, - c, - CASE a+1 WHEN b THEN 111 WHEN c THEN 222 - WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, - a-b, - CASE WHEN ae - AND d NOT BETWEEN 110 AND 150 - ORDER BY 3,6,4,5,2,7 ----- -49 values hashing to 77efab7a5ab568021241d73b49ff1a6b - -query IIIII rowsort x938 -SELECT (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.dd - AND b>c ----- -20 values hashing to 1939e130cceab074419ddaf68a054d49 - -query IIIII rowsort x938 -SELECT (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.dd - AND b>c - ORDER BY 1,4,5,3 ----- -20 values hashing to 1939e130cceab074419ddaf68a054d49 - -query IIIII rowsort x938 -SELECT (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.dc - AND c>d ----- -20 values hashing to 1939e130cceab074419ddaf68a054d49 - -query IIIII rowsort x938 -SELECT (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.dc - AND c>d - ORDER BY 1,2 ----- -20 values hashing to 1939e130cceab074419ddaf68a054d49 - -query I rowsort x939 -SELECT a - FROM t1 - WHERE c BETWEEN b-2 AND d+2 - AND e+d BETWEEN a+b-10 AND c+130 - AND c>d ----- - -query I rowsort x939 -SELECT a - FROM t1 - WHERE c BETWEEN b-2 AND d+2 - AND e+d BETWEEN a+b-10 AND c+130 - AND c>d - ORDER BY 1 ----- - -query I rowsort x939 -SELECT a - FROM t1 - WHERE c BETWEEN b-2 AND d+2 - AND c>d - AND e+d BETWEEN a+b-10 AND c+130 ----- - -query I rowsort x939 -SELECT a - FROM t1 - WHERE c BETWEEN b-2 AND d+2 - AND c>d - AND e+d BETWEEN a+b-10 AND c+130 - ORDER BY 1 ----- - -query I rowsort x939 -SELECT a - FROM t1 - WHERE e+d BETWEEN a+b-10 AND c+130 - AND c BETWEEN b-2 AND d+2 - AND c>d ----- - -query I rowsort x939 -SELECT a - FROM t1 - WHERE e+d BETWEEN a+b-10 AND c+130 - AND c BETWEEN b-2 AND d+2 - AND c>d - ORDER BY 1 ----- - -query II rowsort x940 -SELECT a+b*2+c*3+d*4, - a - FROM t1 ----- -60 values hashing to 1eff7d96438eb491cb4de14a09c1cccf - -query II rowsort x940 -SELECT a+b*2+c*3+d*4, - a - FROM t1 - ORDER BY 1,2 ----- -60 values hashing to 1eff7d96438eb491cb4de14a09c1cccf - -query IIII rowsort x941 -SELECT (SELECT count(*) FROM t1 AS x WHERE x.bt1.c AND x.dc - AND (e>c OR e=d+2) ----- -12 values hashing to 454c51d20bd07dcb7b5c6f56fb27e95e - -query IIII rowsort x941 -SELECT (SELECT count(*) FROM t1 AS x WHERE x.bt1.c AND x.dc - AND (e>c OR e=d+2) - ORDER BY 1,2 ----- -12 values hashing to 454c51d20bd07dcb7b5c6f56fb27e95e - -query IIII rowsort x941 -SELECT (SELECT count(*) FROM t1 AS x WHERE x.bt1.c AND x.d=d+2) - AND b>c - AND (e>c OR et1.c AND x.d=d+2) - AND b>c - AND (e>c OR et1.c AND x.dc - AND (c<=d-2 OR c>=d+2) - AND (e>c OR et1.c AND x.dc - AND (c<=d-2 OR c>=d+2) - AND (e>c OR et1.c AND x.dc OR e=d+2) - AND b>c ----- -12 values hashing to 454c51d20bd07dcb7b5c6f56fb27e95e - -query IIII rowsort x941 -SELECT (SELECT count(*) FROM t1 AS x WHERE x.bt1.c AND x.dc OR e=d+2) - AND b>c - ORDER BY 4,3,1 ----- -12 values hashing to 454c51d20bd07dcb7b5c6f56fb27e95e - -query IIIII rowsort x942 -SELECT CASE a+1 WHEN b THEN 111 WHEN c THEN 222 - WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, - d, - (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.dc ----- -65 values hashing to d9a717bcbc137be38ba100402163ea40 - -query IIIII rowsort x942 -SELECT CASE a+1 WHEN b THEN 111 WHEN c THEN 222 - WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, - d, - (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.dc - ORDER BY 3,2,4,5,1 ----- -65 values hashing to d9a717bcbc137be38ba100402163ea40 - -query IIIIIII rowsort x943 -SELECT abs(a), - a+b*2, - b, - d, - a-b, - (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.db-2 AND ab ----- -133 values hashing to d3c64f57fd93d0c41302271d82a32244 - -query IIIIIII rowsort x943 -SELECT abs(a), - a+b*2, - b, - d, - a-b, - (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.db-2 AND ab - ORDER BY 1,4,7 ----- -133 values hashing to d3c64f57fd93d0c41302271d82a32244 - -query IIIII rowsort x944 -SELECT a+b*2+c*3+d*4, - a-b, - e, - abs(a), - c - FROM t1 - WHERE a>b - AND c>d - AND d NOT BETWEEN 110 AND 150 ----- -20 values hashing to 52f547bc6b572a943b06156e2dc9c3a3 - -query IIIII rowsort x944 -SELECT a+b*2+c*3+d*4, - a-b, - e, - abs(a), - c - FROM t1 - WHERE a>b - AND c>d - AND d NOT BETWEEN 110 AND 150 - ORDER BY 2,3 ----- -20 values hashing to 52f547bc6b572a943b06156e2dc9c3a3 - -query IIIII rowsort x944 -SELECT a+b*2+c*3+d*4, - a-b, - e, - abs(a), - c - FROM t1 - WHERE a>b - AND d NOT BETWEEN 110 AND 150 - AND c>d ----- -20 values hashing to 52f547bc6b572a943b06156e2dc9c3a3 - -query IIIII rowsort x944 -SELECT a+b*2+c*3+d*4, - a-b, - e, - abs(a), - c - FROM t1 - WHERE a>b - AND d NOT BETWEEN 110 AND 150 - AND c>d - ORDER BY 2,4,3 ----- -20 values hashing to 52f547bc6b572a943b06156e2dc9c3a3 - -query IIIII rowsort x944 -SELECT a+b*2+c*3+d*4, - a-b, - e, - abs(a), - c - FROM t1 - WHERE c>d - AND d NOT BETWEEN 110 AND 150 - AND a>b ----- -20 values hashing to 52f547bc6b572a943b06156e2dc9c3a3 - -query IIIII rowsort x944 -SELECT a+b*2+c*3+d*4, - a-b, - e, - abs(a), - c - FROM t1 - WHERE c>d - AND d NOT BETWEEN 110 AND 150 - AND a>b - ORDER BY 4,3 ----- -20 values hashing to 52f547bc6b572a943b06156e2dc9c3a3 - -query IIIII rowsort x945 -SELECT d, - (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.d(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - b-c, - CASE a+1 WHEN b THEN 111 WHEN c THEN 222 - WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END - FROM t1 - WHERE e+d BETWEEN a+b-10 AND c+130 ----- -10 values hashing to f38e7043ef57f1185447d10b1686710d - -query IIIII rowsort x945 -SELECT d, - (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.d(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - b-c, - CASE a+1 WHEN b THEN 111 WHEN c THEN 222 - WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END - FROM t1 - WHERE e+d BETWEEN a+b-10 AND c+130 - ORDER BY 1,4 ----- -10 values hashing to f38e7043ef57f1185447d10b1686710d - -query IIII rowsort x946 -SELECT d, - CASE WHEN ac - OR a>b ----- -96 values hashing to 7ac23eaaab8b15588342ee58c7bd324d - -query IIII rowsort x946 -SELECT d, - CASE WHEN ac - OR a>b - ORDER BY 1,3,2 ----- -96 values hashing to 7ac23eaaab8b15588342ee58c7bd324d - -query IIIIII rowsort x947 -SELECT CASE WHEN a(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - a, - a-b - FROM t1 ----- -180 values hashing to cf199af6d194ce491525b6982e5b855b - -query IIIIII rowsort x947 -SELECT CASE WHEN a(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - a, - a-b - FROM t1 - ORDER BY 4,1,2,5,6 ----- -180 values hashing to cf199af6d194ce491525b6982e5b855b - -query II rowsort x948 -SELECT a, - d - FROM t1 - WHERE d>e - OR b>c ----- -40 values hashing to 225faa916990f35159a64c72d7e3d503 - -query II rowsort x948 -SELECT a, - d - FROM t1 - WHERE d>e - OR b>c - ORDER BY 2,1 ----- -40 values hashing to 225faa916990f35159a64c72d7e3d503 - -query II rowsort x948 -SELECT a, - d - FROM t1 - WHERE b>c - OR d>e ----- -40 values hashing to 225faa916990f35159a64c72d7e3d503 - -query II rowsort x948 -SELECT a, - d - FROM t1 - WHERE b>c - OR d>e - ORDER BY 2,1 ----- -40 values hashing to 225faa916990f35159a64c72d7e3d503 - -query I rowsort x949 -SELECT CASE WHEN ad ----- -13 values hashing to 29a95fdf6a51f4043cf4a3d5d20f5b95 - -query I rowsort x949 -SELECT CASE WHEN ad - ORDER BY 1 ----- -13 values hashing to 29a95fdf6a51f4043cf4a3d5d20f5b95 - -query III rowsort x950 -SELECT b, - a+b*2, - a+b*2+c*3+d*4 - FROM t1 - WHERE b>c - AND c BETWEEN b-2 AND d+2 - AND c>d ----- -9 values hashing to bb157abd6674aba4aa42b6355a973ede - -query III rowsort x950 -SELECT b, - a+b*2, - a+b*2+c*3+d*4 - FROM t1 - WHERE b>c - AND c BETWEEN b-2 AND d+2 - AND c>d - ORDER BY 3,1 ----- -9 values hashing to bb157abd6674aba4aa42b6355a973ede - -query III rowsort x950 -SELECT b, - a+b*2, - a+b*2+c*3+d*4 - FROM t1 - WHERE c>d - AND b>c - AND c BETWEEN b-2 AND d+2 ----- -9 values hashing to bb157abd6674aba4aa42b6355a973ede - -query III rowsort x950 -SELECT b, - a+b*2, - a+b*2+c*3+d*4 - FROM t1 - WHERE c>d - AND b>c - AND c BETWEEN b-2 AND d+2 - ORDER BY 1,3 ----- -9 values hashing to bb157abd6674aba4aa42b6355a973ede - -query IIIII rowsort x951 -SELECT a-b, - a, - b-c, - b, - e - FROM t1 - WHERE d NOT BETWEEN 110 AND 150 - OR c>d ----- -110 values hashing to 2f823f29deac7f8f8152cc3004e55137 - -query IIIII rowsort x951 -SELECT a-b, - a, - b-c, - b, - e - FROM t1 - WHERE d NOT BETWEEN 110 AND 150 - OR c>d - ORDER BY 2,1,5,4 ----- -110 values hashing to 2f823f29deac7f8f8152cc3004e55137 - -query IIIII rowsort x951 -SELECT a-b, - a, - b-c, - b, - e - FROM t1 - WHERE c>d - OR d NOT BETWEEN 110 AND 150 ----- -110 values hashing to 2f823f29deac7f8f8152cc3004e55137 - -query IIIII rowsort x951 -SELECT a-b, - a, - b-c, - b, - e - FROM t1 - WHERE c>d - OR d NOT BETWEEN 110 AND 150 - ORDER BY 1,2 ----- -110 values hashing to 2f823f29deac7f8f8152cc3004e55137 - -query I rowsort x952 -SELECT (SELECT count(*) FROM t1 AS x WHERE x.bc OR ec OR ec OR ec OR et1.c AND x.d=d+2) - OR e+d BETWEEN a+b-10 AND c+130 - OR (e>a AND et1.c AND x.d=d+2) - OR e+d BETWEEN a+b-10 AND c+130 - OR (e>a AND et1.c AND x.da AND e=d+2) - OR e+d BETWEEN a+b-10 AND c+130 ----- -77 values hashing to aade56ce4d6e49c7d138c7d6d23f39f4 - -query IIIIIII rowsort x953 -SELECT (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.da AND e=d+2) - OR e+d BETWEEN a+b-10 AND c+130 - ORDER BY 2,3,7,4,1,5 ----- -77 values hashing to aade56ce4d6e49c7d138c7d6d23f39f4 - -query IIIIIII rowsort x953 -SELECT (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.da AND e=d+2) ----- -77 values hashing to aade56ce4d6e49c7d138c7d6d23f39f4 - -query IIIIIII rowsort x953 -SELECT (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.da AND e=d+2) - ORDER BY 5,7,6 ----- -77 values hashing to aade56ce4d6e49c7d138c7d6d23f39f4 - -query IIIII rowsort x954 -SELECT (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.db-2 AND at1.c AND x.db-2 AND at1.c AND x.db-2 AND at1.c AND x.db-2 AND at1.c AND x.db-2 AND at1.c AND x.db-2 AND a(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - a+b*2+c*3+d*4, - a+b*2+c*3, - d-e, - CASE WHEN ab - AND (e>a AND eb-2 AND a(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - a+b*2+c*3+d*4, - a+b*2+c*3, - d-e, - CASE WHEN ab - AND (e>a AND eb-2 AND a(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - a+b*2+c*3+d*4, - a+b*2+c*3, - d-e, - CASE WHEN ab-2 AND ab - AND (e>a AND e(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - a+b*2+c*3+d*4, - a+b*2+c*3, - d-e, - CASE WHEN ab-2 AND ab - AND (e>a AND e(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - a+b*2+c*3+d*4, - a+b*2+c*3, - d-e, - CASE WHEN ab - AND (a>b-2 AND aa AND e(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - a+b*2+c*3+d*4, - a+b*2+c*3, - d-e, - CASE WHEN ab - AND (a>b-2 AND aa AND ea AND ed ----- -12 values hashing to 4cd2ddb5a674658bafabf7975e8d0c27 - -query IIIIII rowsort x956 -SELECT abs(a), - a-b, - d-e, - (a+b+c+d+e)/5, - (SELECT count(*) FROM t1 AS x WHERE x.ba AND ed - ORDER BY 4,1,5 ----- -12 values hashing to 4cd2ddb5a674658bafabf7975e8d0c27 - -query IIIIII rowsort x956 -SELECT abs(a), - a-b, - d-e, - (a+b+c+d+e)/5, - (SELECT count(*) FROM t1 AS x WHERE x.bd - AND (e>a AND ed - AND (e>a AND e(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - b, - (SELECT count(*) FROM t1 AS x WHERE x.bb-2 AND a=d+2) - AND d>e ----- - -query IIIIII rowsort x957 -SELECT CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - b, - (SELECT count(*) FROM t1 AS x WHERE x.bb-2 AND a=d+2) - AND d>e - ORDER BY 2,1,3,4,5 ----- - -query IIIIII rowsort x957 -SELECT CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - b, - (SELECT count(*) FROM t1 AS x WHERE x.b=d+2) - AND (a>b-2 AND ae ----- - -query IIIIII rowsort x957 -SELECT CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - b, - (SELECT count(*) FROM t1 AS x WHERE x.b=d+2) - AND (a>b-2 AND ae - ORDER BY 5,6 ----- - -query IIIIII rowsort x957 -SELECT CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - b, - (SELECT count(*) FROM t1 AS x WHERE x.be - AND (a>b-2 AND a=d+2) ----- - -query IIIIII rowsort x957 -SELECT CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - b, - (SELECT count(*) FROM t1 AS x WHERE x.be - AND (a>b-2 AND a=d+2) - ORDER BY 2,1,3,5 ----- - -query IIIIII rowsort x957 -SELECT CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - b, - (SELECT count(*) FROM t1 AS x WHERE x.be - AND (c<=d-2 OR c>=d+2) - AND (a>b-2 AND a(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - b, - (SELECT count(*) FROM t1 AS x WHERE x.be - AND (c<=d-2 OR c>=d+2) - AND (a>b-2 AND ab - AND c>d ----- - -query IIII rowsort x958 -SELECT (SELECT count(*) FROM t1 AS x WHERE x.bb - AND c>d - ORDER BY 2,1,4 ----- - -query IIII rowsort x958 -SELECT (SELECT count(*) FROM t1 AS x WHERE x.bb - AND e+d BETWEEN a+b-10 AND c+130 - AND c>d ----- - -query IIII rowsort x958 -SELECT (SELECT count(*) FROM t1 AS x WHERE x.bb - AND e+d BETWEEN a+b-10 AND c+130 - AND c>d - ORDER BY 1,4,3,2 ----- - -query IIIIIII rowsort x959 -SELECT (SELECT count(*) FROM t1 AS x WHERE x.bt1.c AND x.de ----- -55 values hashing to fb7114013bb5208c809ef98576781919 - -query IIIII rowsort x960 -SELECT a+b*2+c*3+d*4+e*5, - (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.de - ORDER BY 4,2,3 ----- -55 values hashing to fb7114013bb5208c809ef98576781919 - -query II rowsort x961 -SELECT b, - abs(b-c) - FROM t1 ----- -60 values hashing to 27981adf06e0e81d4fc66380389b2c0c - -query II rowsort x961 -SELECT b, - abs(b-c) - FROM t1 - ORDER BY 2,1 ----- -60 values hashing to 27981adf06e0e81d4fc66380389b2c0c - -query II rowsort x962 -SELECT e, - abs(a) - FROM t1 ----- -60 values hashing to 0577a532186fd58ab51cdab496db421e - -query II rowsort x962 -SELECT e, - abs(a) - FROM t1 - ORDER BY 2,1 ----- -60 values hashing to 0577a532186fd58ab51cdab496db421e - -query IIIIIII rowsort x963 -SELECT c-d, - e, - (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.d(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END - FROM t1 - WHERE b>c - OR (a>b-2 AND aa AND et1.c AND x.d(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END - FROM t1 - WHERE b>c - OR (a>b-2 AND aa AND et1.c AND x.d(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END - FROM t1 - WHERE b>c - OR (e>a AND eb-2 AND at1.c AND x.d(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END - FROM t1 - WHERE b>c - OR (e>a AND eb-2 AND at1.c AND x.d(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END - FROM t1 - WHERE (a>b-2 AND aa AND ec ----- -112 values hashing to 3d5e535875e48959c28273401c1e4098 - -query IIIIIII rowsort x963 -SELECT c-d, - e, - (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.d(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END - FROM t1 - WHERE (a>b-2 AND aa AND ec - ORDER BY 5,3,7,2,4 ----- -112 values hashing to 3d5e535875e48959c28273401c1e4098 - -query IIIIIII rowsort x964 -SELECT d, - c-d, - CASE WHEN a(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - b, - a, - c, - (SELECT count(*) FROM t1 AS x WHERE x.b(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - b, - a, - c, - (SELECT count(*) FROM t1 AS x WHERE x.b(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - b-c, - CASE a+1 WHEN b THEN 111 WHEN c THEN 222 - WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END - FROM t1 ----- -120 values hashing to 13a90992dc0556ac7ca52fed5f7ee3f1 - -query IIII rowsort x968 -SELECT a+b*2+c*3+d*4+e*5, - CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - b-c, - CASE a+1 WHEN b THEN 111 WHEN c THEN 222 - WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END - FROM t1 - ORDER BY 4,1 ----- -120 values hashing to 13a90992dc0556ac7ca52fed5f7ee3f1 - -query IIIII rowsort x969 -SELECT a+b*2+c*3, - CASE WHEN a=d+2) - OR c>d - OR c BETWEEN b-2 AND d+2 ----- -20 values hashing to 0b90f8526d043c66fd0f06b10364119a - -query I rowsort x970 -SELECT abs(b-c) - FROM t1 - WHERE (c<=d-2 OR c>=d+2) - OR c>d - OR c BETWEEN b-2 AND d+2 - ORDER BY 1 ----- -20 values hashing to 0b90f8526d043c66fd0f06b10364119a - -query I rowsort x970 -SELECT abs(b-c) - FROM t1 - WHERE c BETWEEN b-2 AND d+2 - OR (c<=d-2 OR c>=d+2) - OR c>d ----- -20 values hashing to 0b90f8526d043c66fd0f06b10364119a - -query I rowsort x970 -SELECT abs(b-c) - FROM t1 - WHERE c BETWEEN b-2 AND d+2 - OR (c<=d-2 OR c>=d+2) - OR c>d - ORDER BY 1 ----- -20 values hashing to 0b90f8526d043c66fd0f06b10364119a - -query I rowsort x970 -SELECT abs(b-c) - FROM t1 - WHERE (c<=d-2 OR c>=d+2) - OR c BETWEEN b-2 AND d+2 - OR c>d ----- -20 values hashing to 0b90f8526d043c66fd0f06b10364119a - -query I rowsort x970 -SELECT abs(b-c) - FROM t1 - WHERE (c<=d-2 OR c>=d+2) - OR c BETWEEN b-2 AND d+2 - OR c>d - ORDER BY 1 ----- -20 values hashing to 0b90f8526d043c66fd0f06b10364119a - -query I rowsort x970 -SELECT abs(b-c) - FROM t1 - WHERE c>d - OR (c<=d-2 OR c>=d+2) - OR c BETWEEN b-2 AND d+2 ----- -20 values hashing to 0b90f8526d043c66fd0f06b10364119a - -query I rowsort x970 -SELECT abs(b-c) - FROM t1 - WHERE c>d - OR (c<=d-2 OR c>=d+2) - OR c BETWEEN b-2 AND d+2 - ORDER BY 1 ----- -20 values hashing to 0b90f8526d043c66fd0f06b10364119a - -query IIIIII rowsort x971 -SELECT c-d, - d, - CASE WHEN ab ----- -102 values hashing to 462f4b654d6798393ae1a0895fa3fb2a - -query IIIIII rowsort x972 -SELECT a, - a+b*2+c*3+d*4+e*5, - c, - a+b*2+c*3+d*4, - c-d, - a-b - FROM t1 - WHERE a>b - ORDER BY 5,1,6,4,3 ----- -102 values hashing to 462f4b654d6798393ae1a0895fa3fb2a - -query IIII rowsort x973 -SELECT abs(a), - b-c, - a+b*2+c*3, - a+b*2 - FROM t1 - WHERE (e>a AND ea AND et1.c AND x.d(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - c, - a+b*2+c*3 - FROM t1 - WHERE c>d - OR d>e - OR (e>a AND et1.c AND x.d(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - c, - a+b*2+c*3 - FROM t1 - WHERE c>d - OR d>e - OR (e>a AND et1.c AND x.d(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - c, - a+b*2+c*3 - FROM t1 - WHERE (e>a AND ed - OR d>e ----- -95 values hashing to 1987d45b0b116ae6c825c03dd1326dc4 - -query IIIII rowsort x974 -SELECT (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.d(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - c, - a+b*2+c*3 - FROM t1 - WHERE (e>a AND ed - OR d>e - ORDER BY 1,5,3 ----- -95 values hashing to 1987d45b0b116ae6c825c03dd1326dc4 - -query II rowsort x975 -SELECT CASE a+1 WHEN b THEN 111 WHEN c THEN 222 - WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, - a - FROM t1 - WHERE (c<=d-2 OR c>=d+2) ----- -20 values hashing to f47b92b2f2855847b16fd69cccd8b5e9 - -query II rowsort x975 -SELECT CASE a+1 WHEN b THEN 111 WHEN c THEN 222 - WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, - a - FROM t1 - WHERE (c<=d-2 OR c>=d+2) - ORDER BY 1,2 ----- -20 values hashing to f47b92b2f2855847b16fd69cccd8b5e9 - -query IIIII rowsort x976 -SELECT abs(b-c), - CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - a-b, - (a+b+c+d+e)/5, - (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.d(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - a-b, - (a+b+c+d+e)/5, - (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.db-2 AND ab-2 AND a(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END - FROM t1 ----- -60 values hashing to 2a0252ba1bd9c0a82b344822dc3ec2da - -query II rowsort x978 -SELECT a-b, - CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END - FROM t1 - ORDER BY 1,2 ----- -60 values hashing to 2a0252ba1bd9c0a82b344822dc3ec2da - -query IIIIII rowsort x979 -SELECT abs(a), - a+b*2+c*3+d*4, - CASE a+1 WHEN b THEN 111 WHEN c THEN 222 - WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, - (SELECT count(*) FROM t1 AS x WHERE x.bc ----- -78 values hashing to 79d0c593dc32db6c341e6fdcf333042d - -query IIIIII rowsort x979 -SELECT abs(a), - a+b*2+c*3+d*4, - CASE a+1 WHEN b THEN 111 WHEN c THEN 222 - WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, - (SELECT count(*) FROM t1 AS x WHERE x.bc - ORDER BY 5,2,1,4,3 ----- -78 values hashing to 79d0c593dc32db6c341e6fdcf333042d - -query IIIIIII rowsort x980 -SELECT CASE a+1 WHEN b THEN 111 WHEN c THEN 222 - WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, - abs(b-c), - a+b*2+c*3+d*4, - d, - b-c, - a-b, - b - FROM t1 - WHERE b>c - OR c>d - OR (e>c OR ec - OR c>d - OR (e>c OR ed - OR b>c - OR (e>c OR ed - OR b>c - OR (e>c OR ea AND ea AND ea AND ea AND et1.c AND x.d=d+2) ----- -30 values hashing to 2c4df05a4ee2d9e4f97fb34b36dd6bea - -query III rowsort x983 -SELECT c-d, - c, - (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.d=d+2) - ORDER BY 2,1 ----- -30 values hashing to 2c4df05a4ee2d9e4f97fb34b36dd6bea - -query IIIII rowsort x984 -SELECT (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.dt1.c AND x.dt1.c AND x.dt1.c AND x.dt1.c AND x.dt1.c AND x.d(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - c - FROM t1 ----- -120 values hashing to 6f78ddc0a5b5ad8ef4b1d08972887887 - -query IIII rowsort x986 -SELECT b, - (a+b+c+d+e)/5, - CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, - c - FROM t1 - ORDER BY 4,3,2,1 ----- -120 values hashing to 6f78ddc0a5b5ad8ef4b1d08972887887 - -query III rowsort x987 -SELECT c, - a+b*2, - b-c - FROM t1 ----- -90 values hashing to 02e18efb5e8ae490e7b5137b79765bb9 - -query III rowsort x987 -SELECT c, - a+b*2, - b-c - FROM t1 - ORDER BY 3,1 ----- -90 values hashing to 02e18efb5e8ae490e7b5137b79765bb9 - -query II rowsort x988 -SELECT a+b*2+c*3+d*4, - a - FROM t1 - WHERE c BETWEEN b-2 AND d+2 ----- -30 values hashing to a512bc577af89b7ed951794c489cba1a - -query II rowsort x988 -SELECT a+b*2+c*3+d*4, - a - FROM t1 - WHERE c BETWEEN b-2 AND d+2 - ORDER BY 2,1 ----- -30 values hashing to a512bc577af89b7ed951794c489cba1a - -query IIII rowsort x989 -SELECT c-d, - b-c, - a, - a+b*2+c*3 - FROM t1 - WHERE EXISTS(SELECT 1 FROM t1 AS x WHERE x.bd - AND e+d BETWEEN a+b-10 AND c+130 ----- - -query IIII rowsort x989 -SELECT c-d, - b-c, - a, - a+b*2+c*3 - FROM t1 - WHERE EXISTS(SELECT 1 FROM t1 AS x WHERE x.bd - AND e+d BETWEEN a+b-10 AND c+130 - ORDER BY 4,2 ----- - -query IIII rowsort x989 -SELECT c-d, - b-c, - a, - a+b*2+c*3 - FROM t1 - WHERE EXISTS(SELECT 1 FROM t1 AS x WHERE x.bd ----- - -query IIII rowsort x989 -SELECT c-d, - b-c, - a, - a+b*2+c*3 - FROM t1 - WHERE EXISTS(SELECT 1 FROM t1 AS x WHERE x.bd - ORDER BY 4,3,1,2 ----- - -query IIII rowsort x989 -SELECT c-d, - b-c, - a, - a+b*2+c*3 - FROM t1 - WHERE c>d - AND EXISTS(SELECT 1 FROM t1 AS x WHERE x.bd - AND EXISTS(SELECT 1 FROM t1 AS x WHERE x.b(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END - FROM t1 - WHERE c>d - OR (c<=d-2 OR c>=d+2) ----- -18 values hashing to 9db1749e744db8ddaa29f825f2bbae00 - -query I rowsort x990 -SELECT CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END - FROM t1 - WHERE c>d - OR (c<=d-2 OR c>=d+2) - ORDER BY 1 ----- -18 values hashing to 9db1749e744db8ddaa29f825f2bbae00 - -query I rowsort x990 -SELECT CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END - FROM t1 - WHERE (c<=d-2 OR c>=d+2) - OR c>d ----- -18 values hashing to 9db1749e744db8ddaa29f825f2bbae00 - -query I rowsort x990 -SELECT CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END - FROM t1 - WHERE (c<=d-2 OR c>=d+2) - OR c>d - ORDER BY 1 ----- -18 values hashing to 9db1749e744db8ddaa29f825f2bbae00 - -query IIII rowsort x991 -SELECT abs(a), - abs(b-c), - d-e, - e - FROM t1 - WHERE b>c - OR (e>c OR eb ----- -108 values hashing to a072f79e2ee5caa924199a92f589ad4a - -query IIII rowsort x991 -SELECT abs(a), - abs(b-c), - d-e, - e - FROM t1 - WHERE b>c - OR (e>c OR eb - ORDER BY 2,4 ----- -108 values hashing to a072f79e2ee5caa924199a92f589ad4a - -query IIII rowsort x991 -SELECT abs(a), - abs(b-c), - d-e, - e - FROM t1 - WHERE a>b - OR (e>c OR ec ----- -108 values hashing to a072f79e2ee5caa924199a92f589ad4a - -query IIII rowsort x991 -SELECT abs(a), - abs(b-c), - d-e, - e - FROM t1 - WHERE a>b - OR (e>c OR ec - ORDER BY 2,3 ----- -108 values hashing to a072f79e2ee5caa924199a92f589ad4a - -query IIII rowsort x991 -SELECT abs(a), - abs(b-c), - d-e, - e - FROM t1 - WHERE (e>c OR ec - OR a>b ----- -108 values hashing to a072f79e2ee5caa924199a92f589ad4a - -query IIII rowsort x991 -SELECT abs(a), - abs(b-c), - d-e, - e - FROM t1 - WHERE (e>c OR ec - OR a>b - ORDER BY 2,3,1,4 ----- -108 values hashing to a072f79e2ee5caa924199a92f589ad4a - -query IIII rowsort x991 -SELECT abs(a), - abs(b-c), - d-e, - e - FROM t1 - WHERE a>b - OR b>c - OR (e>c OR eb - OR b>c - OR (e>c OR et1.c AND x.dd ----- -91 values hashing to 056173676fceb0bfa309c7b316c21b41 - -query IIIIIII rowsort x993 -SELECT c-d, - a-b, - b, - d-e, - a+b*2+c*3, - CASE a+1 WHEN b THEN 111 WHEN c THEN 222 - WHEN d THEN 333 WHEN e THEN 444 ELSE 555 END, - (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.dd - ORDER BY 2,7,6 ----- -91 values hashing to 056173676fceb0bfa309c7b316c21b41 - -query III rowsort x994 -SELECT b, - abs(b-c), - d - FROM t1 - WHERE d NOT BETWEEN 110 AND 150 - AND (e>a AND ea AND ea AND ea AND et1.c AND x.dd - AND b>c ----- -9 values hashing to 967a584b4e8e0422a6fc749b26d83269 - -query III rowsort x995 -SELECT (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.dd - AND b>c - ORDER BY 2,1 ----- -9 values hashing to 967a584b4e8e0422a6fc749b26d83269 - -query III rowsort x995 -SELECT (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.dc - AND c>d - AND c BETWEEN b-2 AND d+2 ----- -9 values hashing to 967a584b4e8e0422a6fc749b26d83269 - -query III rowsort x995 -SELECT (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.dc - AND c>d - AND c BETWEEN b-2 AND d+2 - ORDER BY 3,1,2 ----- -9 values hashing to 967a584b4e8e0422a6fc749b26d83269 - -query III rowsort x995 -SELECT (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.dd - AND c BETWEEN b-2 AND d+2 - AND b>c ----- -9 values hashing to 967a584b4e8e0422a6fc749b26d83269 - -query III rowsort x995 -SELECT (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.dd - AND c BETWEEN b-2 AND d+2 - AND b>c - ORDER BY 2,1,3 ----- -9 values hashing to 967a584b4e8e0422a6fc749b26d83269 - -query III rowsort x995 -SELECT (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.dd - AND b>c - AND c BETWEEN b-2 AND d+2 ----- -9 values hashing to 967a584b4e8e0422a6fc749b26d83269 - -query III rowsort x995 -SELECT (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.dd - AND b>c - AND c BETWEEN b-2 AND d+2 - ORDER BY 1,2,3 ----- -9 values hashing to 967a584b4e8e0422a6fc749b26d83269 - -query IIIIIII rowsort x996 -SELECT abs(a), - a-b, - CASE WHEN ac OR eb ----- -28 values hashing to b3a80aab6a3a581af6d0494bc775069f - -query I rowsort x997 -SELECT abs(b-c) - FROM t1 - WHERE d NOT BETWEEN 110 AND 150 - OR (e>c OR eb - ORDER BY 1 ----- -28 values hashing to b3a80aab6a3a581af6d0494bc775069f - -query I rowsort x997 -SELECT abs(b-c) - FROM t1 - WHERE a>b - OR (e>c OR eb - OR (e>c OR eb - OR d NOT BETWEEN 110 AND 150 - OR (e>c OR eb - OR d NOT BETWEEN 110 AND 150 - OR (e>c OR et1.c AND x.dt1.c AND x.dt1.c AND x.db - AND (e>c OR et1.c AND x.db - AND (e>c OR e