Many hyperlinks are disabled.
Use anonymous login
to enable hyperlinks.
Overview
Comment: | More updates for PostgreSQL compatibility. |
---|---|
Timelines: | family | ancestors | descendants | both | trunk |
Files: | files | file ages | folders |
SHA1: |
9483eb157c126abb8e6c6c5d25afa578 |
User & Date: | shaneh 2008-12-23 20:29:52.000 |
Context
2008-12-24
| ||
05:05 | Random SQL expressions. No FROM clauses. Passes on SQLite, MySQL, and MSSQL. check-in: 0748319a3a user: shaneh tags: trunk | |
2008-12-23
| ||
20:29 | More updates for PostgreSQL compatibility. check-in: 9483eb157c user: shaneh tags: trunk | |
04:48 | Updated to skip tests for PostgreSQL where output column is (re)named without an AS term. check-in: 9b5974b19a user: shaneh tags: trunk | |
Changes
Changes to test/random/aggregates/slt_good_0.test.
︙ | ︙ | |||
23374 23375 23376 23377 23378 23379 23380 23381 23382 23383 23384 23385 23386 23387 | onlyif mysql # aggregate syntax: query I rowsort label-2573 SELECT - + 52 / - COUNT( * ) * - - ( + SUM( ALL - + col0 ) ) AS col2 FROM tab0 WHERE NULL <> - 41 ---- NULL skipif mysql # not compatible query I rowsort label-2573 SELECT - + 52 / - COUNT ( * ) * - - ( + SUM ( ALL - + col0 ) ) AS col2 FROM tab0 WHERE NULL <> - 41 ---- NULL query III rowsort SELECT * FROM tab2 AS cor0 WHERE col0 BETWEEN NULL AND + 56 * + + col2 * col1 | > | 23374 23375 23376 23377 23378 23379 23380 23381 23382 23383 23384 23385 23386 23387 23388 | onlyif mysql # aggregate syntax: query I rowsort label-2573 SELECT - + 52 / - COUNT( * ) * - - ( + SUM( ALL - + col0 ) ) AS col2 FROM tab0 WHERE NULL <> - 41 ---- NULL skipif mysql # not compatible skipif postgresql # PostgreSQL handles NULL in DIV/0 by differently query I rowsort label-2573 SELECT - + 52 / - COUNT ( * ) * - - ( + SUM ( ALL - + col0 ) ) AS col2 FROM tab0 WHERE NULL <> - 41 ---- NULL query III rowsort SELECT * FROM tab2 AS cor0 WHERE col0 BETWEEN NULL AND + 56 * + + col2 * col1 |
︙ | ︙ | |||
32689 32690 32691 32692 32693 32694 32695 32696 32697 32698 32699 32700 32701 32702 | onlyif mysql # CAST syntax: SIGNED type: query II rowsort label-3594 SELECT col0 / col1 AS col2, + 78 * 68 / - 0 AS col2 FROM tab1 AS cor0 WHERE NOT NULL > + col2 + CAST( NULL AS SIGNED ) ---- skipif mysql # not compatible query II rowsort label-3594 SELECT col0 / col1 AS col2, + 78 * 68 / - 0 AS col2 FROM tab1 AS cor0 WHERE NOT NULL > + col2 + CAST ( NULL AS INTEGER ) ---- query I rowsort SELECT + 89 * 34 FROM tab0 AS cor0 ---- | > | 32690 32691 32692 32693 32694 32695 32696 32697 32698 32699 32700 32701 32702 32703 32704 | onlyif mysql # CAST syntax: SIGNED type: query II rowsort label-3594 SELECT col0 / col1 AS col2, + 78 * 68 / - 0 AS col2 FROM tab1 AS cor0 WHERE NOT NULL > + col2 + CAST( NULL AS SIGNED ) ---- skipif mysql # not compatible skipif postgresql # PostgreSQL handles NULL in DIV/0 by differently query II rowsort label-3594 SELECT col0 / col1 AS col2, + 78 * 68 / - 0 AS col2 FROM tab1 AS cor0 WHERE NOT NULL > + col2 + CAST ( NULL AS INTEGER ) ---- query I rowsort SELECT + 89 * 34 FROM tab0 AS cor0 ---- |
︙ | ︙ |
Changes to test/random/aggregates/slt_good_102.test.
︙ | ︙ | |||
8280 8281 8282 8283 8284 8285 8286 8287 8288 8289 8290 8291 8292 8293 | query I rowsort SELECT - 33 col1 FROM tab2 cor0 ---- -33 -33 -33 query I rowsort SELECT + col2 FROM tab0 AS cor0 WHERE NOT col1 * col2 * - + 86 * - 70 * - - 93 * - + col2 / + 33 > col0 + - col0 ---- 10 47 99 | > | 8280 8281 8282 8283 8284 8285 8286 8287 8288 8289 8290 8291 8292 8293 8294 | query I rowsort SELECT - 33 col1 FROM tab2 cor0 ---- -33 -33 -33 skipif postgresql # PostgreSQL does not promote INTEGER (32-bit) results query I rowsort SELECT + col2 FROM tab0 AS cor0 WHERE NOT col1 * col2 * - + 86 * - 70 * - - 93 * - + col2 / + 33 > col0 + - col0 ---- 10 47 99 |
︙ | ︙ | |||
12184 12185 12186 12187 12188 12189 12190 12191 12192 12193 12194 12195 12196 12197 | onlyif mysql # aggregate syntax: query I rowsort label-1319 SELECT + COUNT( * ) / + COUNT( * ) * + MAX( + col0 ) AS col2 FROM tab2 AS cor0 WHERE NOT NULL IS NULL ---- NULL skipif mysql # not compatible query I rowsort label-1319 SELECT + COUNT ( * ) / + COUNT ( * ) * + MAX ( + col0 ) AS col2 FROM tab2 AS cor0 WHERE NOT NULL IS NULL ---- NULL onlyif mysql # aggregate syntax: query I rowsort label-1320 | > | 12185 12186 12187 12188 12189 12190 12191 12192 12193 12194 12195 12196 12197 12198 12199 | onlyif mysql # aggregate syntax: query I rowsort label-1319 SELECT + COUNT( * ) / + COUNT( * ) * + MAX( + col0 ) AS col2 FROM tab2 AS cor0 WHERE NOT NULL IS NULL ---- NULL skipif mysql # not compatible skipif postgresql # PostgreSQL handles NULL in DIV/0 by differently query I rowsort label-1319 SELECT + COUNT ( * ) / + COUNT ( * ) * + MAX ( + col0 ) AS col2 FROM tab2 AS cor0 WHERE NOT NULL IS NULL ---- NULL onlyif mysql # aggregate syntax: query I rowsort label-1320 |
︙ | ︙ | |||
22782 22783 22784 22785 22786 22787 22788 22789 22790 22791 22792 22793 22794 22795 | SELECT DISTINCT + col2 * + col2 * - col2 * col2 * + col2 DIV + col2 + col0 AS col2 FROM tab0 ---- -4879666 -96059504 -9913 skipif mysql # not compatible query I rowsort label-2475 SELECT DISTINCT + col2 * + col2 * - col2 * col2 * + col2 / + col2 + col0 AS col2 FROM tab0 ---- -4879666 -96059504 -9913 | > | 22784 22785 22786 22787 22788 22789 22790 22791 22792 22793 22794 22795 22796 22797 22798 | SELECT DISTINCT + col2 * + col2 * - col2 * col2 * + col2 DIV + col2 + col0 AS col2 FROM tab0 ---- -4879666 -96059504 -9913 skipif mysql # not compatible skipif postgresql # PostgreSQL does not promote INTEGER (32-bit) results query I rowsort label-2475 SELECT DISTINCT + col2 * + col2 * - col2 * col2 * + col2 / + col2 + col0 AS col2 FROM tab0 ---- -4879666 -96059504 -9913 |
︙ | ︙ |
Changes to test/random/aggregates/slt_good_103.test.
︙ | ︙ | |||
54268 54269 54270 54271 54272 54273 54274 54275 54276 54277 54278 54279 54280 54281 | skipif mysql # not compatible skipif postgresql # PostgreSQL requires AS when renaming output columns query I rowsort label-5968 SELECT DISTINCT 34 / ( + col2 / CAST ( NULL AS INTEGER ) ) - 7 / 93 col2 FROM tab1 ---- NULL query I rowsort SELECT ALL + 28 FROM tab1 WHERE NULL BETWEEN ( 58 / - 0 + - col2 ) AND NULL ---- query I rowsort SELECT DISTINCT col1 + col2 * - col0 AS col1 FROM tab2 ---- | > | 54268 54269 54270 54271 54272 54273 54274 54275 54276 54277 54278 54279 54280 54281 54282 | skipif mysql # not compatible skipif postgresql # PostgreSQL requires AS when renaming output columns query I rowsort label-5968 SELECT DISTINCT 34 / ( + col2 / CAST ( NULL AS INTEGER ) ) - 7 / 93 col2 FROM tab1 ---- NULL skipif postgresql # PostgreSQL handles NULL in DIV/0 by differently query I rowsort SELECT ALL + 28 FROM tab1 WHERE NULL BETWEEN ( 58 / - 0 + - col2 ) AND NULL ---- query I rowsort SELECT DISTINCT col1 + col2 * - col0 AS col1 FROM tab2 ---- |
︙ | ︙ |
Changes to test/random/aggregates/slt_good_106.test.
︙ | ︙ | |||
9296 9297 9298 9299 9300 9301 9302 9303 9304 9305 9306 9307 9308 9309 | 4288 5025 query III rowsort SELECT ALL * FROM tab2 WHERE NOT - + col2 NOT BETWEEN NULL AND col2 ---- query I rowsort SELECT DISTINCT 40 + + 78 / - 0 FROM tab0 WHERE NOT NULL IS NULL ---- query I rowsort SELECT + ( + 62 ) * - col2 * - col2 + + + col1 FROM tab1 ---- | > | 9296 9297 9298 9299 9300 9301 9302 9303 9304 9305 9306 9307 9308 9309 9310 | 4288 5025 query III rowsort SELECT ALL * FROM tab2 WHERE NOT - + col2 NOT BETWEEN NULL AND col2 ---- skipif postgresql # PostgreSQL handles NULL in DIV/0 by differently query I rowsort SELECT DISTINCT 40 + + 78 / - 0 FROM tab0 WHERE NOT NULL IS NULL ---- query I rowsort SELECT + ( + 62 ) * - col2 * - col2 + + + col1 FROM tab1 ---- |
︙ | ︙ |
Changes to test/random/aggregates/slt_good_108.test.
︙ | ︙ | |||
19558 19559 19560 19561 19562 19563 19564 19565 19566 19567 19568 19569 19570 19571 | skipif mysql # not compatible query II rowsort label-2112 SELECT ALL + MIN ( - 78 ) AS col1, + COUNT ( * ) AS col2 FROM tab2 AS cor0 ---- -78 3 query I rowsort SELECT 50 / + + 0 AS col2 FROM tab0 cor0 WHERE + 79 <= NULL ---- query I rowsort SELECT - - 3 + - + col0 + 61 - col1 + - col1 * 95 FROM tab1 AS cor0 ---- | > | 19558 19559 19560 19561 19562 19563 19564 19565 19566 19567 19568 19569 19570 19571 19572 | skipif mysql # not compatible query II rowsort label-2112 SELECT ALL + MIN ( - 78 ) AS col1, + COUNT ( * ) AS col2 FROM tab2 AS cor0 ---- -78 3 skipif postgresql # PostgreSQL handles NULL in DIV/0 by differently query I rowsort SELECT 50 / + + 0 AS col2 FROM tab0 cor0 WHERE + 79 <= NULL ---- query I rowsort SELECT - - 3 + - + col0 + 61 - col1 + - col1 * 95 FROM tab1 AS cor0 ---- |
︙ | ︙ |
Changes to test/random/aggregates/slt_good_11.test.
︙ | ︙ | |||
38385 38386 38387 38388 38389 38390 38391 38392 38393 38394 38395 38396 38397 38398 | onlyif mysql # aggregate syntax: query I rowsort label-4186 SELECT DISTINCT - ( - + 95 ) + - COUNT( * ) AS col0 FROM tab1 WHERE NOT + col1 / - 26 * col0 + 58 / + 0 / - col2 - + col1 < NULL ---- 95 skipif mysql # not compatible query I rowsort label-4186 SELECT DISTINCT - ( - + 95 ) + - COUNT ( * ) AS col0 FROM tab1 WHERE NOT + col1 / - 26 * col0 + 58 / + 0 / - col2 - + col1 < NULL ---- 95 query I rowsort SELECT DISTINCT col1 * + col2 + + ( + - 65 ) * + col0 AS col2 FROM tab1 | > | 38385 38386 38387 38388 38389 38390 38391 38392 38393 38394 38395 38396 38397 38398 38399 | onlyif mysql # aggregate syntax: query I rowsort label-4186 SELECT DISTINCT - ( - + 95 ) + - COUNT( * ) AS col0 FROM tab1 WHERE NOT + col1 / - 26 * col0 + 58 / + 0 / - col2 - + col1 < NULL ---- 95 skipif mysql # not compatible skipif postgresql # PostgreSQL handles NULL in DIV/0 by differently query I rowsort label-4186 SELECT DISTINCT - ( - + 95 ) + - COUNT ( * ) AS col0 FROM tab1 WHERE NOT + col1 / - 26 * col0 + 58 / + 0 / - col2 - + col1 < NULL ---- 95 query I rowsort SELECT DISTINCT col1 * + col2 + + ( + - 65 ) * + col0 AS col2 FROM tab1 |
︙ | ︙ |
Changes to test/random/aggregates/slt_good_112.test.
︙ | ︙ | |||
33882 33883 33884 33885 33886 33887 33888 33889 33890 33891 33892 33893 33894 33895 | SELECT col2 * + + col0 * col2 * col0 * + - col2 DIV - + col2 AS col0 FROM tab0 AS cor0 ---- 497025 756900 92217609 skipif mysql # not compatible query I rowsort label-3738 SELECT col2 * + + col0 * col2 * col0 * + - col2 / - + col2 AS col0 FROM tab0 AS cor0 ---- 497025 756900 92217609 | > | 33882 33883 33884 33885 33886 33887 33888 33889 33890 33891 33892 33893 33894 33895 33896 | SELECT col2 * + + col0 * col2 * col0 * + - col2 DIV - + col2 AS col0 FROM tab0 AS cor0 ---- 497025 756900 92217609 skipif mysql # not compatible skipif postgresql # PostgreSQL does not promote INTEGER (32-bit) results query I rowsort label-3738 SELECT col2 * + + col0 * col2 * col0 * + - col2 / - + col2 AS col0 FROM tab0 AS cor0 ---- 497025 756900 92217609 |
︙ | ︙ | |||
85031 85032 85033 85034 85035 85036 85037 85038 85039 85040 85041 85042 85043 85044 | onlyif mysql # CAST syntax: aggregate syntax: SIGNED type: query I rowsort label-9346 SELECT DISTINCT 95 / + COUNT( * ) * - CAST( MIN( ALL - col0 ) AS SIGNED ) AS col1 FROM tab2 AS cor0 WHERE NOT NULL IS NULL ---- NULL skipif mysql # not compatible query I rowsort label-9346 SELECT DISTINCT 95 / + COUNT ( * ) * - CAST ( MIN ( ALL - col0 ) AS INTEGER ) AS col1 FROM tab2 AS cor0 WHERE NOT NULL IS NULL ---- NULL query III rowsort SELECT * FROM tab0 AS cor0 WHERE - 0 IS NULL | > | 85032 85033 85034 85035 85036 85037 85038 85039 85040 85041 85042 85043 85044 85045 85046 | onlyif mysql # CAST syntax: aggregate syntax: SIGNED type: query I rowsort label-9346 SELECT DISTINCT 95 / + COUNT( * ) * - CAST( MIN( ALL - col0 ) AS SIGNED ) AS col1 FROM tab2 AS cor0 WHERE NOT NULL IS NULL ---- NULL skipif mysql # not compatible skipif postgresql # PostgreSQL handles NULL in DIV/0 by differently query I rowsort label-9346 SELECT DISTINCT 95 / + COUNT ( * ) * - CAST ( MIN ( ALL - col0 ) AS INTEGER ) AS col1 FROM tab2 AS cor0 WHERE NOT NULL IS NULL ---- NULL query III rowsort SELECT * FROM tab0 AS cor0 WHERE - 0 IS NULL |
︙ | ︙ |
Changes to test/random/aggregates/slt_good_12.test.
︙ | ︙ | |||
71379 71380 71381 71382 71383 71384 71385 71386 71387 71388 71389 71390 71391 71392 | onlyif mysql # CAST syntax: SIGNED type: query I rowsort label-7694 SELECT - col0 + - col0 + - 50 / + + 0 + - ( 4 ) FROM tab2 WHERE NULL IS NULL AND NOT ( NULL ) <> - 60 * - CAST( NULL AS SIGNED ) ---- skipif mysql # not compatible query I rowsort label-7694 SELECT - col0 + - col0 + - 50 / + + 0 + - ( 4 ) FROM tab2 WHERE NULL IS NULL AND NOT ( NULL ) <> - 60 * - CAST ( NULL AS INTEGER ) ---- query I rowsort SELECT ALL 64 - - - col0 AS col0 FROM tab0 ---- | > | 71379 71380 71381 71382 71383 71384 71385 71386 71387 71388 71389 71390 71391 71392 71393 | onlyif mysql # CAST syntax: SIGNED type: query I rowsort label-7694 SELECT - col0 + - col0 + - 50 / + + 0 + - ( 4 ) FROM tab2 WHERE NULL IS NULL AND NOT ( NULL ) <> - 60 * - CAST( NULL AS SIGNED ) ---- skipif mysql # not compatible skipif postgresql # PostgreSQL handles NULL in DIV/0 by differently query I rowsort label-7694 SELECT - col0 + - col0 + - 50 / + + 0 + - ( 4 ) FROM tab2 WHERE NULL IS NULL AND NOT ( NULL ) <> - 60 * - CAST ( NULL AS INTEGER ) ---- query I rowsort SELECT ALL 64 - - - col0 AS col0 FROM tab0 ---- |
︙ | ︙ |
Changes to test/random/aggregates/slt_good_122.test.
︙ | ︙ | |||
67707 67708 67709 67710 67711 67712 67713 67714 67715 67716 67717 67718 67719 67720 | onlyif mysql # CAST syntax: SIGNED type: query III rowsort label-7426 SELECT ALL * FROM tab0 cor0 WHERE NOT - 66 + + 72 - + col1 + - col2 * + + col0 * - CAST( 93 AS SIGNED ) * + + col2 * - col0 * - col1 / - 15 IS NULL ---- 9 values hashing to c4b42765dff94eaaa46040e537fb43b7 skipif mysql # not compatible query III rowsort label-7426 SELECT ALL * FROM tab0 cor0 WHERE NOT - 66 + + 72 - + col1 + - col2 * + + col0 * - CAST ( 93 AS INTEGER ) * + + col2 * - col0 * - col1 / - 15 IS NULL ---- 9 values hashing to c4b42765dff94eaaa46040e537fb43b7 query I rowsort SELECT - - col2 * + - col2 FROM tab2 cor0 | > | 67707 67708 67709 67710 67711 67712 67713 67714 67715 67716 67717 67718 67719 67720 67721 | onlyif mysql # CAST syntax: SIGNED type: query III rowsort label-7426 SELECT ALL * FROM tab0 cor0 WHERE NOT - 66 + + 72 - + col1 + - col2 * + + col0 * - CAST( 93 AS SIGNED ) * + + col2 * - col0 * - col1 / - 15 IS NULL ---- 9 values hashing to c4b42765dff94eaaa46040e537fb43b7 skipif mysql # not compatible skipif postgresql # PostgreSQL does not promote INTEGER (32-bit) results query III rowsort label-7426 SELECT ALL * FROM tab0 cor0 WHERE NOT - 66 + + 72 - + col1 + - col2 * + + col0 * - CAST ( 93 AS INTEGER ) * + + col2 * - col0 * - col1 / - 15 IS NULL ---- 9 values hashing to c4b42765dff94eaaa46040e537fb43b7 query I rowsort SELECT - - col2 * + - col2 FROM tab2 cor0 |
︙ | ︙ |
Changes to test/random/aggregates/slt_good_123.test.
︙ | ︙ | |||
29671 29672 29673 29674 29675 29676 29677 29678 29679 29680 29681 29682 29683 29684 | query I rowsort SELECT DISTINCT + col2 + + ( - 35 ) AS col1 FROM tab0 cor0 ---- -25 12 64 query IIIIII rowsort SELECT * FROM tab1 AS cor0 CROSS JOIN tab1 AS cor1 WHERE NOT NULL = 38 / 0 ---- query II rowsort SELECT 84 AS col0, + col0 AS col1 FROM tab2 ---- | > | 29671 29672 29673 29674 29675 29676 29677 29678 29679 29680 29681 29682 29683 29684 29685 | query I rowsort SELECT DISTINCT + col2 + + ( - 35 ) AS col1 FROM tab0 cor0 ---- -25 12 64 skipif postgresql # PostgreSQL handles NULL in DIV/0 by differently query IIIIII rowsort SELECT * FROM tab1 AS cor0 CROSS JOIN tab1 AS cor1 WHERE NOT NULL = 38 / 0 ---- query II rowsort SELECT 84 AS col0, + col0 AS col1 FROM tab2 ---- |
︙ | ︙ | |||
38168 38169 38170 38171 38172 38173 38174 38175 38176 38177 38178 38179 38180 38181 | onlyif mysql # CAST syntax: SIGNED type: query I rowsort label-4077 SELECT ALL - 30 / - 0 * - AVG ( + - CAST( NULL AS SIGNED ) ) FROM tab1 ---- NULL skipif mysql # not compatible query I rowsort label-4077 SELECT ALL - 30 / - 0 * - AVG ( + - CAST ( NULL AS INTEGER ) ) FROM tab1 ---- NULL query I rowsort SELECT + + col0 FROM tab2 WHERE NOT NULL > NULL | > | 38169 38170 38171 38172 38173 38174 38175 38176 38177 38178 38179 38180 38181 38182 38183 | onlyif mysql # CAST syntax: SIGNED type: query I rowsort label-4077 SELECT ALL - 30 / - 0 * - AVG ( + - CAST( NULL AS SIGNED ) ) FROM tab1 ---- NULL skipif mysql # not compatible skipif postgresql # PostgreSQL handles NULL in DIV/0 by differently query I rowsort label-4077 SELECT ALL - 30 / - 0 * - AVG ( + - CAST ( NULL AS INTEGER ) ) FROM tab1 ---- NULL query I rowsort SELECT + + col0 FROM tab2 WHERE NOT NULL > NULL |
︙ | ︙ |
Changes to test/random/aggregates/slt_good_25.test.
︙ | ︙ | |||
3067 3068 3069 3070 3071 3072 3073 3074 3075 3076 3077 3078 3079 3080 | onlyif mysql # CAST syntax: SIGNED type: query I rowsort label-324 SELECT DISTINCT + col2 FROM tab0 AS cor0 WHERE NOT ( + + 14 / + 0 * + 90 - + 84 / + 67 ) < ( NULL ) AND NOT CAST( col2 AS SIGNED ) = NULL ---- skipif mysql # not compatible query I rowsort label-324 SELECT DISTINCT + col2 FROM tab0 AS cor0 WHERE NOT ( + + 14 / + 0 * + 90 - + 84 / + 67 ) < ( NULL ) AND NOT CAST ( col2 AS INTEGER ) = NULL ---- query I rowsort SELECT ALL + - 42 * - + 27 * - ( col0 ) AS col1 FROM tab0 AS cor0 ---- | > | 3067 3068 3069 3070 3071 3072 3073 3074 3075 3076 3077 3078 3079 3080 3081 | onlyif mysql # CAST syntax: SIGNED type: query I rowsort label-324 SELECT DISTINCT + col2 FROM tab0 AS cor0 WHERE NOT ( + + 14 / + 0 * + 90 - + 84 / + 67 ) < ( NULL ) AND NOT CAST( col2 AS SIGNED ) = NULL ---- skipif mysql # not compatible skipif postgresql # PostgreSQL handles NULL in DIV/0 by differently query I rowsort label-324 SELECT DISTINCT + col2 FROM tab0 AS cor0 WHERE NOT ( + + 14 / + 0 * + 90 - + 84 / + 67 ) < ( NULL ) AND NOT CAST ( col2 AS INTEGER ) = NULL ---- query I rowsort SELECT ALL + - 42 * - + 27 * - ( col0 ) AS col1 FROM tab0 AS cor0 ---- |
︙ | ︙ |
Changes to test/random/aggregates/slt_good_31.test.
︙ | ︙ | |||
1619 1620 1621 1622 1623 1624 1625 1626 1627 1628 1629 1630 1631 1632 | onlyif mysql # CAST syntax: SIGNED type: query I rowsort label-178 SELECT ( ( col1 ) ) * + - col1 + - - 85 / - - CAST( 0 AS SIGNED ) - - 13 / ( + 97 ) FROM tab2 WHERE - - 68 IS NULL ---- skipif mysql # not compatible query I rowsort label-178 SELECT ( ( col1 ) ) * + - col1 + - - 85 / - - CAST ( 0 AS INTEGER ) - - 13 / ( + 97 ) FROM tab2 WHERE - - 68 IS NULL ---- onlyif mysql # aggregate syntax: query I rowsort label-179 SELECT ALL MAX( + col0 ) + + 7 FROM tab0 | > | 1619 1620 1621 1622 1623 1624 1625 1626 1627 1628 1629 1630 1631 1632 1633 | onlyif mysql # CAST syntax: SIGNED type: query I rowsort label-178 SELECT ( ( col1 ) ) * + - col1 + - - 85 / - - CAST( 0 AS SIGNED ) - - 13 / ( + 97 ) FROM tab2 WHERE - - 68 IS NULL ---- skipif mysql # not compatible skipif postgresql # PostgreSQL handles NULL in DIV/0 by differently query I rowsort label-178 SELECT ( ( col1 ) ) * + - col1 + - - 85 / - - CAST ( 0 AS INTEGER ) - - 13 / ( + 97 ) FROM tab2 WHERE - - 68 IS NULL ---- onlyif mysql # aggregate syntax: query I rowsort label-179 SELECT ALL MAX( + col0 ) + + 7 FROM tab0 |
︙ | ︙ |
Changes to test/random/aggregates/slt_good_36.test.
︙ | ︙ | |||
89324 89325 89326 89327 89328 89329 89330 89331 89332 89333 89334 89335 89336 89337 | onlyif mysql # aggregate syntax: query I rowsort label-9867 SELECT ALL COUNT( - col2 ) * + 10 / - + COUNT( * ) * + + SUM( + - col2 ) AS col2 FROM tab2 AS cor0 WHERE NULL IS NOT NULL ---- NULL skipif mysql # not compatible query I rowsort label-9867 SELECT ALL COUNT ( - col2 ) * + 10 / - + COUNT ( * ) * + + SUM ( + - col2 ) AS col2 FROM tab2 AS cor0 WHERE NULL IS NOT NULL ---- NULL onlyif mysql # aggregate syntax: query I rowsort label-9868 | > | 89324 89325 89326 89327 89328 89329 89330 89331 89332 89333 89334 89335 89336 89337 89338 | onlyif mysql # aggregate syntax: query I rowsort label-9867 SELECT ALL COUNT( - col2 ) * + 10 / - + COUNT( * ) * + + SUM( + - col2 ) AS col2 FROM tab2 AS cor0 WHERE NULL IS NOT NULL ---- NULL skipif mysql # not compatible skipif postgresql # PostgreSQL handles NULL in DIV/0 by differently query I rowsort label-9867 SELECT ALL COUNT ( - col2 ) * + 10 / - + COUNT ( * ) * + + SUM ( + - col2 ) AS col2 FROM tab2 AS cor0 WHERE NULL IS NOT NULL ---- NULL onlyif mysql # aggregate syntax: query I rowsort label-9868 |
︙ | ︙ |
Changes to test/random/aggregates/slt_good_38.test.
︙ | ︙ | |||
62707 62708 62709 62710 62711 62712 62713 62714 62715 62716 62717 62718 62719 62720 | skipif mysql # not compatible query I rowsort label-6860 SELECT DISTINCT + 13 * + + COUNT ( * ) FROM tab1 ---- 39 query IIIIII rowsort SELECT ALL * FROM tab0, tab1 AS cor0 WHERE - + 22 / - 0 NOT BETWEEN NULL AND NULL ---- onlyif mysql # aggregate syntax: DIV for integer division: query I rowsort label-6862 SELECT COUNT( * ) DIV + + COUNT( * ) col0 FROM tab2 | > | 62707 62708 62709 62710 62711 62712 62713 62714 62715 62716 62717 62718 62719 62720 62721 | skipif mysql # not compatible query I rowsort label-6860 SELECT DISTINCT + 13 * + + COUNT ( * ) FROM tab1 ---- 39 skipif postgresql # PostgreSQL handles NULL in DIV/0 by differently query IIIIII rowsort SELECT ALL * FROM tab0, tab1 AS cor0 WHERE - + 22 / - 0 NOT BETWEEN NULL AND NULL ---- onlyif mysql # aggregate syntax: DIV for integer division: query I rowsort label-6862 SELECT COUNT( * ) DIV + + COUNT( * ) col0 FROM tab2 |
︙ | ︙ |
Changes to test/random/aggregates/slt_good_4.test.
︙ | ︙ | |||
33665 33666 33667 33668 33669 33670 33671 33672 33673 33674 33675 33676 33677 33678 | query I rowsort SELECT DISTINCT - + ( + - col1 ) AS col2 FROM tab0 cor0 ---- 1 21 81 query II rowsort SELECT 55 / 0 AS col1, + col1 * col1 * + - col0 AS col2 FROM tab2 cor0 WHERE NOT NULL >= NULL ---- query III rowsort SELECT * FROM tab0 AS cor0 WHERE NOT col2 BETWEEN NULL AND + + col0 ---- | > | 33665 33666 33667 33668 33669 33670 33671 33672 33673 33674 33675 33676 33677 33678 33679 | query I rowsort SELECT DISTINCT - + ( + - col1 ) AS col2 FROM tab0 cor0 ---- 1 21 81 skipif postgresql # PostgreSQL handles NULL in DIV/0 by differently query II rowsort SELECT 55 / 0 AS col1, + col1 * col1 * + - col0 AS col2 FROM tab2 cor0 WHERE NOT NULL >= NULL ---- query III rowsort SELECT * FROM tab0 AS cor0 WHERE NOT col2 BETWEEN NULL AND + + col0 ---- |
︙ | ︙ |
Changes to test/random/aggregates/slt_good_43.test.
︙ | ︙ | |||
43022 43023 43024 43025 43026 43027 43028 43029 43030 43031 43032 43033 43034 43035 | 46 2601 64 5929 75 4489 query II rowsort SELECT ALL col2 * + + 68 AS col2, - 37 / - 0 AS col2 FROM tab2 WHERE NOT NULL > + col0 OR NULL = ( NULL ) ---- onlyif mysql # aggregate syntax: query I rowsort label-4731 SELECT ALL + COUNT( * ) FROM tab1 WHERE NOT + + col0 > + - 75 + + col1 | > | 43022 43023 43024 43025 43026 43027 43028 43029 43030 43031 43032 43033 43034 43035 43036 | 46 2601 64 5929 75 4489 skipif postgresql # PostgreSQL handles NULL in DIV/0 by differently query II rowsort SELECT ALL col2 * + + 68 AS col2, - 37 / - 0 AS col2 FROM tab2 WHERE NOT NULL > + col0 OR NULL = ( NULL ) ---- onlyif mysql # aggregate syntax: query I rowsort label-4731 SELECT ALL + COUNT( * ) FROM tab1 WHERE NOT + + col0 > + - 75 + + col1 |
︙ | ︙ |
Changes to test/random/aggregates/slt_good_46.test.
︙ | ︙ | |||
72924 72925 72926 72927 72928 72929 72930 72931 72932 72933 72934 72935 72936 72937 | query I rowsort SELECT - ( + 90 ) AS col2 FROM tab0 ---- -90 -90 -90 query I rowsort SELECT ALL 0 / 0 AS col2 FROM tab1 AS cor0 WHERE NOT ( NOT NULL IS NOT NULL ) ---- query I rowsort SELECT DISTINCT - - col0 * + - col2 AS col0 FROM tab1 AS cor0 ---- | > | 72924 72925 72926 72927 72928 72929 72930 72931 72932 72933 72934 72935 72936 72937 72938 | query I rowsort SELECT - ( + 90 ) AS col2 FROM tab0 ---- -90 -90 -90 skipif postgresql # PostgreSQL handles NULL in DIV/0 by differently query I rowsort SELECT ALL 0 / 0 AS col2 FROM tab1 AS cor0 WHERE NOT ( NOT NULL IS NOT NULL ) ---- query I rowsort SELECT DISTINCT - - col0 * + - col2 AS col0 FROM tab1 AS cor0 ---- |
︙ | ︙ |
Changes to test/random/aggregates/slt_good_51.test.
︙ | ︙ | |||
8964 8965 8966 8967 8968 8969 8970 8971 8972 8973 8974 8975 8976 8977 | skipif mysql # not compatible query I rowsort label-979 SELECT ALL MAX ( 0 ) FROM tab0 AS cor0 ---- 0 query III rowsort SELECT DISTINCT * FROM tab0 AS cor0 WHERE NOT col2 NOT IN ( 14, - 66 * - 55 / + col1 * col2 * + col0 * col0 * + col0 + + col0, + col2 + - col0 ) ---- onlyif mysql # aggregate syntax: query I rowsort label-981 SELECT ALL + MAX( + col1 ) col1 FROM tab2 | > | 8964 8965 8966 8967 8968 8969 8970 8971 8972 8973 8974 8975 8976 8977 8978 | skipif mysql # not compatible query I rowsort label-979 SELECT ALL MAX ( 0 ) FROM tab0 AS cor0 ---- 0 skipif postgresql # PostgreSQL does not promote INTEGER (32-bit) results query III rowsort SELECT DISTINCT * FROM tab0 AS cor0 WHERE NOT col2 NOT IN ( 14, - 66 * - 55 / + col1 * col2 * + col0 * col0 * + col0 + + col0, + col2 + - col0 ) ---- onlyif mysql # aggregate syntax: query I rowsort label-981 SELECT ALL + MAX( + col1 ) col1 FROM tab2 |
︙ | ︙ |
Changes to test/random/aggregates/slt_good_53.test.
︙ | ︙ | |||
40454 40455 40456 40457 40458 40459 40460 40461 40462 40463 40464 40465 40466 40467 | onlyif mysql # CAST syntax: aggregate syntax: SIGNED type: query I rowsort label-4461 SELECT - - CAST( COUNT( * ) AS SIGNED ) / - COUNT( * ) / - AVG ( ALL - col1 ) + MAX( DISTINCT col2 ) AS col1 FROM tab0 WHERE NOT + ( + col2 ) BETWEEN NULL AND + CAST( NULL AS SIGNED ) ---- NULL skipif mysql # not compatible query I rowsort label-4461 SELECT - - CAST ( COUNT ( * ) AS INTEGER ) / - COUNT ( * ) / - AVG ( ALL - col1 ) + MAX ( DISTINCT col2 ) AS col1 FROM tab0 WHERE NOT + ( + col2 ) BETWEEN NULL AND + CAST ( NULL AS INTEGER ) ---- NULL query III rowsort SELECT * FROM tab1 AS cor0 WHERE NOT col1 * - col1 > NULL | > | 40454 40455 40456 40457 40458 40459 40460 40461 40462 40463 40464 40465 40466 40467 40468 | onlyif mysql # CAST syntax: aggregate syntax: SIGNED type: query I rowsort label-4461 SELECT - - CAST( COUNT( * ) AS SIGNED ) / - COUNT( * ) / - AVG ( ALL - col1 ) + MAX( DISTINCT col2 ) AS col1 FROM tab0 WHERE NOT + ( + col2 ) BETWEEN NULL AND + CAST( NULL AS SIGNED ) ---- NULL skipif mysql # not compatible skipif postgresql # PostgreSQL handles NULL in DIV/0 by differently query I rowsort label-4461 SELECT - - CAST ( COUNT ( * ) AS INTEGER ) / - COUNT ( * ) / - AVG ( ALL - col1 ) + MAX ( DISTINCT col2 ) AS col1 FROM tab0 WHERE NOT + ( + col2 ) BETWEEN NULL AND + CAST ( NULL AS INTEGER ) ---- NULL query III rowsort SELECT * FROM tab1 AS cor0 WHERE NOT col1 * - col1 > NULL |
︙ | ︙ |
Changes to test/random/aggregates/slt_good_62.test.
︙ | ︙ | |||
22426 22427 22428 22429 22430 22431 22432 22433 22434 22435 22436 22437 22438 22439 | onlyif mysql # aggregate syntax: query I rowsort label-2429 SELECT ALL COUNT( col0 ) / - - COUNT( * ) * - + SUM( DISTINCT - ( col1 ) ) + 13 AS col1 FROM tab0 WHERE NOT - col1 IS NOT NULL ---- NULL skipif mysql # not compatible query I rowsort label-2429 SELECT ALL COUNT ( col0 ) / - - COUNT ( * ) * - + SUM ( DISTINCT - ( col1 ) ) + 13 AS col1 FROM tab0 WHERE NOT - col1 IS NOT NULL ---- NULL onlyif mysql # aggregate syntax: DIV for integer division: query I rowsort label-2430 | > | 22426 22427 22428 22429 22430 22431 22432 22433 22434 22435 22436 22437 22438 22439 22440 | onlyif mysql # aggregate syntax: query I rowsort label-2429 SELECT ALL COUNT( col0 ) / - - COUNT( * ) * - + SUM( DISTINCT - ( col1 ) ) + 13 AS col1 FROM tab0 WHERE NOT - col1 IS NOT NULL ---- NULL skipif mysql # not compatible skipif postgresql # PostgreSQL handles NULL in DIV/0 by differently query I rowsort label-2429 SELECT ALL COUNT ( col0 ) / - - COUNT ( * ) * - + SUM ( DISTINCT - ( col1 ) ) + 13 AS col1 FROM tab0 WHERE NOT - col1 IS NOT NULL ---- NULL onlyif mysql # aggregate syntax: DIV for integer division: query I rowsort label-2430 |
︙ | ︙ |
Changes to test/random/aggregates/slt_good_68.test.
︙ | ︙ | |||
73934 73935 73936 73937 73938 73939 73940 73941 73942 73943 73944 73945 73946 73947 | query II rowsort label-8042 SELECT DISTINCT 0 AS col0, - 52 / - 0 * + col2 * + CAST( NULL AS SIGNED ) + 65 FROM tab1 ---- 0 NULL skipif mysql # not compatible query II rowsort label-8042 SELECT DISTINCT 0 AS col0, - 52 / - 0 * + col2 * + CAST ( NULL AS INTEGER ) + 65 FROM tab1 ---- 0 NULL onlyif mysql # DIV for integer division: | > | 73934 73935 73936 73937 73938 73939 73940 73941 73942 73943 73944 73945 73946 73947 73948 | query II rowsort label-8042 SELECT DISTINCT 0 AS col0, - 52 / - 0 * + col2 * + CAST( NULL AS SIGNED ) + 65 FROM tab1 ---- 0 NULL skipif mysql # not compatible skipif postgresql # PostgreSQL handles NULL in DIV/0 by differently query II rowsort label-8042 SELECT DISTINCT 0 AS col0, - 52 / - 0 * + col2 * + CAST ( NULL AS INTEGER ) + 65 FROM tab1 ---- 0 NULL onlyif mysql # DIV for integer division: |
︙ | ︙ |
Changes to test/random/aggregates/slt_good_70.test.
︙ | ︙ | |||
7868 7869 7870 7871 7872 7873 7874 7875 7876 7877 7878 7879 7880 7881 | 26 78 query III rowsort SELECT * FROM tab2 AS cor0 WHERE ( NULL ) NOT IN ( - 76, col0 ) ---- query III rowsort SELECT DISTINCT * FROM tab0 cor0 WHERE NOT ( NULL ) BETWEEN ( 25 * 22 / ( + - 0 ) + 46 ) AND col0 + col2 ---- onlyif mysql # aggregate syntax: query I rowsort label-859 SELECT - 59 + - 85 * + COUNT( * ) AS col0 FROM tab1 AS cor0 | > | 7868 7869 7870 7871 7872 7873 7874 7875 7876 7877 7878 7879 7880 7881 7882 | 26 78 query III rowsort SELECT * FROM tab2 AS cor0 WHERE ( NULL ) NOT IN ( - 76, col0 ) ---- skipif postgresql # PostgreSQL handles NULL in DIV/0 by differently query III rowsort SELECT DISTINCT * FROM tab0 cor0 WHERE NOT ( NULL ) BETWEEN ( 25 * 22 / ( + - 0 ) + 46 ) AND col0 + col2 ---- onlyif mysql # aggregate syntax: query I rowsort label-859 SELECT - 59 + - 85 * + COUNT( * ) AS col0 FROM tab1 AS cor0 |
︙ | ︙ |
Changes to test/random/aggregates/slt_good_72.test.
︙ | ︙ | |||
2539 2540 2541 2542 2543 2544 2545 2546 2547 2548 2549 2550 2551 2552 | -167517 -25873 query III rowsort SELECT DISTINCT * FROM tab2 AS cor0 WHERE - col1 * + 10 + + + col0 IS NULL ---- query III rowsort SELECT * FROM tab0 AS cor0 WHERE ( NOT - 4 / + + 0 > NULL ) ---- query I rowsort SELECT ALL 87 FROM tab0 AS cor0 WHERE NOT NULL IS NOT NULL ---- | > | 2539 2540 2541 2542 2543 2544 2545 2546 2547 2548 2549 2550 2551 2552 2553 | -167517 -25873 query III rowsort SELECT DISTINCT * FROM tab2 AS cor0 WHERE - col1 * + 10 + + + col0 IS NULL ---- skipif postgresql # PostgreSQL handles NULL in DIV/0 by differently query III rowsort SELECT * FROM tab0 AS cor0 WHERE ( NOT - 4 / + + 0 > NULL ) ---- query I rowsort SELECT ALL 87 FROM tab0 AS cor0 WHERE NOT NULL IS NOT NULL ---- |
︙ | ︙ | |||
2689 2690 2691 2692 2693 2694 2695 2696 2697 2698 2699 2700 2701 2702 | skipif mysql # not compatible query I rowsort label-302 SELECT COUNT ( - 93 ) + + 27 FROM tab2 ---- 30 query I rowsort SELECT DISTINCT + + col0 * + + col1 / + + 66 FROM tab0 WHERE NULL = + col0 + - 85 / 0 ---- query III rowsort SELECT DISTINCT * FROM tab1 AS cor0 WHERE NOT ( NOT - col2 + + 88 IS NULL ) ---- | > | 2690 2691 2692 2693 2694 2695 2696 2697 2698 2699 2700 2701 2702 2703 2704 | skipif mysql # not compatible query I rowsort label-302 SELECT COUNT ( - 93 ) + + 27 FROM tab2 ---- 30 skipif postgresql # PostgreSQL handles NULL in DIV/0 by differently query I rowsort SELECT DISTINCT + + col0 * + + col1 / + + 66 FROM tab0 WHERE NULL = + col0 + - 85 / 0 ---- query III rowsort SELECT DISTINCT * FROM tab1 AS cor0 WHERE NOT ( NOT - col2 + + 88 IS NULL ) ---- |
︙ | ︙ |
Changes to test/random/aggregates/slt_good_81.test.
︙ | ︙ | |||
1076 1077 1078 1079 1080 1081 1082 1083 1084 1085 1086 1087 1088 1089 | SELECT ALL - ( + 0 ) * - 48 + - 49 + + + col1 * + 27 * - - ( - 93 ) * - + 49 * - 87 * + col0 DIV - + col0 AS col1 FROM tab1 AS cor0 ---- 149861453 503106422 53521916 skipif mysql # not compatible query I rowsort label-110 SELECT ALL - ( + 0 ) * - 48 + - 49 + + + col1 * + 27 * - - ( - 93 ) * - + 49 * - 87 * + col0 / - + col0 AS col1 FROM tab1 AS cor0 ---- 149861453 503106422 53521916 | > | 1076 1077 1078 1079 1080 1081 1082 1083 1084 1085 1086 1087 1088 1089 1090 | SELECT ALL - ( + 0 ) * - 48 + - 49 + + + col1 * + 27 * - - ( - 93 ) * - + 49 * - 87 * + col0 DIV - + col0 AS col1 FROM tab1 AS cor0 ---- 149861453 503106422 53521916 skipif mysql # not compatible skipif postgresql # PostgreSQL does not promote INTEGER (32-bit) results query I rowsort label-110 SELECT ALL - ( + 0 ) * - 48 + - 49 + + + col1 * + 27 * - - ( - 93 ) * - + 49 * - 87 * + col0 / - + col0 AS col1 FROM tab1 AS cor0 ---- 149861453 503106422 53521916 |
︙ | ︙ |
Changes to test/random/aggregates/slt_good_9.test.
︙ | ︙ | |||
76305 76306 76307 76308 76309 76310 76311 76312 76313 76314 76315 76316 76317 76318 | skipif mysql # not compatible skipif postgresql # PostgreSQL requires AS when renaming output columns query I rowsort label-8432 SELECT ALL + COUNT ( * ) * + CAST ( NULL AS INTEGER ) col2 FROM tab1 AS cor0 ---- NULL query III rowsort SELECT * FROM tab2 AS cor0 WHERE + col0 * + col1 * 98 * ( col0 ) * - + 86 / - col2 > - - col1 + + 92 + - 69 ---- 9 values hashing to 75c998aa53ac83218cbf2feb962d0a49 onlyif mysql # aggregate syntax: query I rowsort label-8434 | > | 76305 76306 76307 76308 76309 76310 76311 76312 76313 76314 76315 76316 76317 76318 76319 | skipif mysql # not compatible skipif postgresql # PostgreSQL requires AS when renaming output columns query I rowsort label-8432 SELECT ALL + COUNT ( * ) * + CAST ( NULL AS INTEGER ) col2 FROM tab1 AS cor0 ---- NULL skipif postgresql # PostgreSQL does not promote INTEGER (32-bit) results query III rowsort SELECT * FROM tab2 AS cor0 WHERE + col0 * + col1 * 98 * ( col0 ) * - + 86 / - col2 > - - col1 + + 92 + - 69 ---- 9 values hashing to 75c998aa53ac83218cbf2feb962d0a49 onlyif mysql # aggregate syntax: query I rowsort label-8434 |
︙ | ︙ |
Changes to test/random/aggregates/slt_good_93.test.
︙ | ︙ | |||
78754 78755 78756 78757 78758 78759 78760 78761 78762 78763 78764 78765 78766 78767 | ---- skipif mysql # not compatible query III rowsort label-8633 SELECT ALL * FROM tab1 AS cor0 WHERE col0 * + ( CAST ( + 53 AS INTEGER ) ) < col1 * - - ( + col2 ) + + 26 ---- query III rowsort SELECT ALL * FROM tab0 AS cor0 WHERE NULL NOT BETWEEN + 0 * col0 AND + ( 66 ) / + 0 ---- onlyif mysql # aggregate syntax: query I rowsort label-8635 SELECT + MAX( ALL - col2 ) FROM tab0 AS cor0 | > | 78754 78755 78756 78757 78758 78759 78760 78761 78762 78763 78764 78765 78766 78767 78768 | ---- skipif mysql # not compatible query III rowsort label-8633 SELECT ALL * FROM tab1 AS cor0 WHERE col0 * + ( CAST ( + 53 AS INTEGER ) ) < col1 * - - ( + col2 ) + + 26 ---- skipif postgresql # PostgreSQL handles NULL in DIV/0 by differently query III rowsort SELECT ALL * FROM tab0 AS cor0 WHERE NULL NOT BETWEEN + 0 * col0 AND + ( 66 ) / + 0 ---- onlyif mysql # aggregate syntax: query I rowsort label-8635 SELECT + MAX( ALL - col2 ) FROM tab0 AS cor0 |
︙ | ︙ |
Changes to test/random/aggregates/slt_good_96.test.
︙ | ︙ | |||
81442 81443 81444 81445 81446 81447 81448 81449 81450 81451 81452 81453 81454 81455 | onlyif mysql # aggregate syntax: query I rowsort label-8894 SELECT ALL 7 / + - COUNT( * ) * + + MIN( + ( + 87 ) ) AS col1 FROM tab2 cor0 WHERE NOT NULL >= NULL ---- NULL skipif mysql # not compatible query I rowsort label-8894 SELECT ALL 7 / + - COUNT ( * ) * + + MIN ( + ( + 87 ) ) AS col1 FROM tab2 cor0 WHERE NOT NULL >= NULL ---- NULL query I rowsort SELECT DISTINCT + - ( + 88 ) * col2 AS col2 FROM tab1 AS cor0 | > | 81442 81443 81444 81445 81446 81447 81448 81449 81450 81451 81452 81453 81454 81455 81456 | onlyif mysql # aggregate syntax: query I rowsort label-8894 SELECT ALL 7 / + - COUNT( * ) * + + MIN( + ( + 87 ) ) AS col1 FROM tab2 cor0 WHERE NOT NULL >= NULL ---- NULL skipif mysql # not compatible skipif postgresql # PostgreSQL handles NULL in DIV/0 by differently query I rowsort label-8894 SELECT ALL 7 / + - COUNT ( * ) * + + MIN ( + ( + 87 ) ) AS col1 FROM tab2 cor0 WHERE NOT NULL >= NULL ---- NULL query I rowsort SELECT DISTINCT + - ( + 88 ) * col2 AS col2 FROM tab1 AS cor0 |
︙ | ︙ |
Changes to test/random/aggregates/slt_good_97.test.
︙ | ︙ | |||
55706 55707 55708 55709 55710 55711 55712 55713 55714 55715 55716 55717 55718 55719 | onlyif mysql # aggregate syntax: query I rowsort label-6055 SELECT ALL 8 / - COUNT( * ) * MAX( ALL 11 ) * MIN( DISTINCT + col0 ) AS col2 FROM tab0 cor0 WHERE - col1 * + + col1 IN ( col0 ) ---- NULL skipif mysql # not compatible query I rowsort label-6055 SELECT ALL 8 / - COUNT ( * ) * MAX ( ALL 11 ) * MIN ( DISTINCT + col0 ) AS col2 FROM tab0 cor0 WHERE - col1 * + + col1 IN ( col0 ) ---- NULL onlyif mysql # aggregate syntax: query I rowsort label-6056 | > | 55706 55707 55708 55709 55710 55711 55712 55713 55714 55715 55716 55717 55718 55719 55720 | onlyif mysql # aggregate syntax: query I rowsort label-6055 SELECT ALL 8 / - COUNT( * ) * MAX( ALL 11 ) * MIN( DISTINCT + col0 ) AS col2 FROM tab0 cor0 WHERE - col1 * + + col1 IN ( col0 ) ---- NULL skipif mysql # not compatible skipif postgresql # PostgreSQL handles NULL in DIV/0 by differently query I rowsort label-6055 SELECT ALL 8 / - COUNT ( * ) * MAX ( ALL 11 ) * MIN ( DISTINCT + col0 ) AS col2 FROM tab0 cor0 WHERE - col1 * + + col1 IN ( col0 ) ---- NULL onlyif mysql # aggregate syntax: query I rowsort label-6056 |
︙ | ︙ |
Changes to test/random/groupby/slt_good_0.test.
︙ | ︙ | |||
30118 30119 30120 30121 30122 30123 30124 30125 30126 30127 30128 30129 30130 30131 30132 30133 30134 30135 30136 30137 30138 30139 30140 30141 30142 30143 30144 30145 30146 30147 30148 30149 30150 | 24 query I rowsort SELECT DISTINCT 98 FROM tab1 AS cor0 GROUP BY cor0.col1 ---- 98 query I rowsort SELECT DISTINCT - COALESCE ( - 86, + cor0.col1, cor0.col1, - cor0.col0 ) AS col2 FROM tab0 AS cor0 GROUP BY cor0.col2, cor0.col0 ---- 86 query I rowsort SELECT DISTINCT COALESCE ( cor0.col0, cor0.col0 ) AS col1 FROM tab1 cor0 GROUP BY cor0.col0 ---- 22 28 82 query I rowsort SELECT ALL + 33 * - COALESCE ( - 86, tab1.col2 ) + + col1 FROM tab1 GROUP BY tab1.col1 ---- 2844 2882 2895 query I rowsort SELECT ALL + COALESCE ( - cor0.col1, cor0.col1, 63, - cor0.col2 ) * - cor0.col1 AS col1 FROM tab0 cor0 GROUP BY cor0.col0, col1 ---- 0 0 6561 | > > > | 30118 30119 30120 30121 30122 30123 30124 30125 30126 30127 30128 30129 30130 30131 30132 30133 30134 30135 30136 30137 30138 30139 30140 30141 30142 30143 30144 30145 30146 30147 30148 30149 30150 30151 30152 30153 | 24 query I rowsort SELECT DISTINCT 98 FROM tab1 AS cor0 GROUP BY cor0.col1 ---- 98 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT DISTINCT - COALESCE ( - 86, + cor0.col1, cor0.col1, - cor0.col0 ) AS col2 FROM tab0 AS cor0 GROUP BY cor0.col2, cor0.col0 ---- 86 query I rowsort SELECT DISTINCT COALESCE ( cor0.col0, cor0.col0 ) AS col1 FROM tab1 cor0 GROUP BY cor0.col0 ---- 22 28 82 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT ALL + 33 * - COALESCE ( - 86, tab1.col2 ) + + col1 FROM tab1 GROUP BY tab1.col1 ---- 2844 2882 2895 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT ALL + COALESCE ( - cor0.col1, cor0.col1, 63, - cor0.col2 ) * - cor0.col1 AS col1 FROM tab0 cor0 GROUP BY cor0.col0, col1 ---- 0 0 6561 |
︙ | ︙ | |||
30257 30258 30259 30260 30261 30262 30263 30264 30265 30266 30267 30268 30269 30270 | onlyif mysql # CAST syntax: SIGNED type: query I rowsort label-4217 SELECT DISTINCT + ( + CASE + 64 WHEN cor0.col0 THEN NULL WHEN 77 THEN cor0.col2 END * cor0.col0 ) + + CAST( NULL AS SIGNED ) FROM tab0 AS cor0 GROUP BY col0 ---- NULL skipif mysql # not compatible query I rowsort label-4217 SELECT DISTINCT + ( + CASE + 64 WHEN cor0.col0 THEN NULL WHEN 77 THEN cor0.col2 END * cor0.col0 ) + + CAST ( NULL AS INTEGER ) FROM tab0 AS cor0 GROUP BY col0 ---- NULL query I rowsort SELECT ALL tab2.col0 AS col1 FROM tab2 GROUP BY tab2.col0 HAVING NOT ( NULL ) IS NOT NULL | > | 30260 30261 30262 30263 30264 30265 30266 30267 30268 30269 30270 30271 30272 30273 30274 | onlyif mysql # CAST syntax: SIGNED type: query I rowsort label-4217 SELECT DISTINCT + ( + CASE + 64 WHEN cor0.col0 THEN NULL WHEN 77 THEN cor0.col2 END * cor0.col0 ) + + CAST( NULL AS SIGNED ) FROM tab0 AS cor0 GROUP BY col0 ---- NULL skipif mysql # not compatible skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort label-4217 SELECT DISTINCT + ( + CASE + 64 WHEN cor0.col0 THEN NULL WHEN 77 THEN cor0.col2 END * cor0.col0 ) + + CAST ( NULL AS INTEGER ) FROM tab0 AS cor0 GROUP BY col0 ---- NULL query I rowsort SELECT ALL tab2.col0 AS col1 FROM tab2 GROUP BY tab2.col0 HAVING NOT ( NULL ) IS NOT NULL |
︙ | ︙ | |||
30845 30846 30847 30848 30849 30850 30851 30852 30853 30854 30855 30856 30857 30858 | query I rowsort SELECT ALL 98 AS col1 FROM tab1 AS cor0 GROUP BY cor0.col0 ---- 98 98 98 query I rowsort SELECT ALL + - COALESCE ( 59, - cor0.col1 ) * 64 FROM tab2, tab2 AS cor0 GROUP BY tab2.col2 ---- -3776 -3776 -3776 | > | 30849 30850 30851 30852 30853 30854 30855 30856 30857 30858 30859 30860 30861 30862 30863 | query I rowsort SELECT ALL 98 AS col1 FROM tab1 AS cor0 GROUP BY cor0.col0 ---- 98 98 98 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT ALL + - COALESCE ( 59, - cor0.col1 ) * 64 FROM tab2, tab2 AS cor0 GROUP BY tab2.col2 ---- -3776 -3776 -3776 |
︙ | ︙ | |||
32335 32336 32337 32338 32339 32340 32341 32342 32343 32344 32345 32346 32347 32348 | query I rowsort SELECT cor0.col1 AS col1 FROM tab1 AS cor0 GROUP BY cor0.col1, cor0.col2 ---- 44 57 6 query I rowsort SELECT DISTINCT cor0.col1 + - COALESCE ( + 57, + col2 ) FROM tab1 AS cor0 GROUP BY col1 ---- -13 -51 0 | > | 32340 32341 32342 32343 32344 32345 32346 32347 32348 32349 32350 32351 32352 32353 32354 | query I rowsort SELECT cor0.col1 AS col1 FROM tab1 AS cor0 GROUP BY cor0.col1, cor0.col2 ---- 44 57 6 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT DISTINCT cor0.col1 + - COALESCE ( + 57, + col2 ) FROM tab1 AS cor0 GROUP BY col1 ---- -13 -51 0 |
︙ | ︙ | |||
32519 32520 32521 32522 32523 32524 32525 32526 32527 32528 32529 32530 32531 32532 | query I rowsort SELECT ALL COALESCE ( - 12, - cor0.col1, + cor0.col1 ) * + cor0.col1 * + 58 AS col1 FROM tab1 AS cor0 GROUP BY cor0.col1 ---- -30624 -39672 -4176 query I rowsort SELECT COALESCE ( - 88, + cor0.col0, cor0.col1 ) + 51 AS col2 FROM tab1 AS cor0 GROUP BY cor0.col0 ---- -37 -37 -37 | > | 32525 32526 32527 32528 32529 32530 32531 32532 32533 32534 32535 32536 32537 32538 32539 | query I rowsort SELECT ALL COALESCE ( - 12, - cor0.col1, + cor0.col1 ) * + cor0.col1 * + 58 AS col1 FROM tab1 AS cor0 GROUP BY cor0.col1 ---- -30624 -39672 -4176 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT COALESCE ( - 88, + cor0.col0, cor0.col1 ) + 51 AS col2 FROM tab1 AS cor0 GROUP BY cor0.col0 ---- -37 -37 -37 |
︙ | ︙ | |||
32588 32589 32590 32591 32592 32593 32594 32595 32596 32597 32598 32599 32600 32601 | query I rowsort label-4544 SELECT - 58 / + cor1.col0 + ( 95 ) FROM tab2 cor0 CROSS JOIN tab1 AS cor1 GROUP BY cor1.col0 ---- 93 93 95 query I rowsort SELECT DISTINCT COALESCE ( - 86, + cor0.col1, cor0.col1, - cor0.col0 ) + cor0.col0 FROM tab0 AS cor0 GROUP BY cor0.col2, cor0.col0 ---- -3 -43 -60 | > | 32595 32596 32597 32598 32599 32600 32601 32602 32603 32604 32605 32606 32607 32608 32609 | query I rowsort label-4544 SELECT - 58 / + cor1.col0 + ( 95 ) FROM tab2 cor0 CROSS JOIN tab1 AS cor1 GROUP BY cor1.col0 ---- 93 93 95 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT DISTINCT COALESCE ( - 86, + cor0.col1, cor0.col1, - cor0.col0 ) + cor0.col0 FROM tab0 AS cor0 GROUP BY cor0.col2, cor0.col0 ---- -3 -43 -60 |
︙ | ︙ | |||
32854 32855 32856 32857 32858 32859 32860 32861 32862 32863 32864 32865 32866 32867 | query I rowsort SELECT DISTINCT - cor0.col0 FROM tab1 cor0 GROUP BY cor0.col2, cor0.col0 ---- -22 -28 -82 query I rowsort SELECT ALL + COALESCE ( COALESCE ( - 86, tab1.col2 ), - tab1.col0, tab1.col1 ) AS col1 FROM tab1 GROUP BY tab1.col1 ---- -86 -86 -86 | > | 32862 32863 32864 32865 32866 32867 32868 32869 32870 32871 32872 32873 32874 32875 32876 | query I rowsort SELECT DISTINCT - cor0.col0 FROM tab1 cor0 GROUP BY cor0.col2, cor0.col0 ---- -22 -28 -82 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT ALL + COALESCE ( COALESCE ( - 86, tab1.col2 ), - tab1.col0, tab1.col1 ) AS col1 FROM tab1 GROUP BY tab1.col1 ---- -86 -86 -86 |
︙ | ︙ | |||
34560 34561 34562 34563 34564 34565 34566 34567 34568 34569 34570 34571 34572 34573 | query I rowsort SELECT DISTINCT + cor0.col1 * - cor0.col1 FROM tab1 AS cor0 GROUP BY cor0.col1 ---- -1936 -3249 -36 query I rowsort SELECT DISTINCT - COALESCE ( - 4, - cor0.col0 ) * cor0.col2 AS col1 FROM tab1 cor0 GROUP BY cor0.col1, col2, cor0.col1 ---- 180 284 32 | > | 34569 34570 34571 34572 34573 34574 34575 34576 34577 34578 34579 34580 34581 34582 34583 | query I rowsort SELECT DISTINCT + cor0.col1 * - cor0.col1 FROM tab1 AS cor0 GROUP BY cor0.col1 ---- -1936 -3249 -36 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT DISTINCT - COALESCE ( - 4, - cor0.col0 ) * cor0.col2 AS col1 FROM tab1 cor0 GROUP BY cor0.col1, col2, cor0.col1 ---- 180 284 32 |
︙ | ︙ | |||
35640 35641 35642 35643 35644 35645 35646 35647 35648 35649 35650 35651 35652 35653 | query I rowsort SELECT + 16 AS col2 FROM tab2 AS cor0 GROUP BY cor0.col1 ---- 16 16 16 query I rowsort SELECT COALESCE ( + 55, - tab0.col1, - tab0.col1, tab0.col0 ) AS col0 FROM tab0 GROUP BY tab0.col1 ---- 55 55 query I rowsort | > | 35650 35651 35652 35653 35654 35655 35656 35657 35658 35659 35660 35661 35662 35663 35664 | query I rowsort SELECT + 16 AS col2 FROM tab2 AS cor0 GROUP BY cor0.col1 ---- 16 16 16 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT COALESCE ( + 55, - tab0.col1, - tab0.col1, tab0.col0 ) AS col0 FROM tab0 GROUP BY tab0.col1 ---- 55 55 query I rowsort |
︙ | ︙ | |||
35842 35843 35844 35845 35846 35847 35848 35849 35850 35851 35852 35853 35854 35855 | query I rowsort SELECT 83 AS col1 FROM tab1 cor0 GROUP BY cor0.col0 ---- 83 83 83 query I rowsort SELECT + COALESCE ( 99, cor0.col2, cor0.col2 ) AS col1 FROM tab2 AS cor0 GROUP BY cor0.col1, cor0.col0 ---- 99 99 99 | > | 35853 35854 35855 35856 35857 35858 35859 35860 35861 35862 35863 35864 35865 35866 35867 | query I rowsort SELECT 83 AS col1 FROM tab1 cor0 GROUP BY cor0.col0 ---- 83 83 83 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT + COALESCE ( 99, cor0.col2, cor0.col2 ) AS col1 FROM tab2 AS cor0 GROUP BY cor0.col1, cor0.col0 ---- 99 99 99 |
︙ | ︙ | |||
36465 36466 36467 36468 36469 36470 36471 36472 36473 36474 36475 36476 36477 36478 | query I rowsort SELECT ALL cor0.col2 FROM tab0 AS cor0 GROUP BY cor0.col1, cor0.col2, cor0.col0 ---- 24 38 79 query I rowsort SELECT DISTINCT COALESCE ( - 26, cor0.col2 ) AS col1 FROM tab0 AS cor0 GROUP BY cor0.col1 ---- -26 query I rowsort SELECT ALL + cor0.col0 FROM tab0 AS cor0 GROUP BY col0, cor0.col2, cor0.col2 | > | 36477 36478 36479 36480 36481 36482 36483 36484 36485 36486 36487 36488 36489 36490 36491 | query I rowsort SELECT ALL cor0.col2 FROM tab0 AS cor0 GROUP BY cor0.col1, cor0.col2, cor0.col0 ---- 24 38 79 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT DISTINCT COALESCE ( - 26, cor0.col2 ) AS col1 FROM tab0 AS cor0 GROUP BY cor0.col1 ---- -26 query I rowsort SELECT ALL + cor0.col0 FROM tab0 AS cor0 GROUP BY col0, cor0.col2, cor0.col2 |
︙ | ︙ | |||
36877 36878 36879 36880 36881 36882 36883 36884 36885 36886 36887 36888 36889 36890 | SELECT - 38 + - tab1.col1 - tab1.col1 DIV COALESCE ( + 20, - tab1.col0 ) FROM tab1 GROUP BY tab1.col1 ---- -44 -84 -97 skipif mysql # not compatible query I rowsort label-5123 SELECT - 38 + - tab1.col1 - tab1.col1 / COALESCE ( + 20, - tab1.col0 ) FROM tab1 GROUP BY tab1.col1 ---- -44 -84 -97 | > | 36890 36891 36892 36893 36894 36895 36896 36897 36898 36899 36900 36901 36902 36903 36904 | SELECT - 38 + - tab1.col1 - tab1.col1 DIV COALESCE ( + 20, - tab1.col0 ) FROM tab1 GROUP BY tab1.col1 ---- -44 -84 -97 skipif mysql # not compatible skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort label-5123 SELECT - 38 + - tab1.col1 - tab1.col1 / COALESCE ( + 20, - tab1.col0 ) FROM tab1 GROUP BY tab1.col1 ---- -44 -84 -97 |
︙ | ︙ | |||
38000 38001 38002 38003 38004 38005 38006 38007 38008 38009 38010 38011 38012 38013 | query I rowsort SELECT - 46 AS col0 FROM tab1, tab0 AS cor0 GROUP BY tab1.col1 ---- -46 -46 -46 query I rowsort SELECT ALL - COALESCE ( - 11, cor0.col0, + cor0.col0 ) FROM tab1, tab0 AS cor0 GROUP BY tab1.col1 ---- 11 11 11 | > | 38014 38015 38016 38017 38018 38019 38020 38021 38022 38023 38024 38025 38026 38027 38028 | query I rowsort SELECT - 46 AS col0 FROM tab1, tab0 AS cor0 GROUP BY tab1.col1 ---- -46 -46 -46 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT ALL - COALESCE ( - 11, cor0.col0, + cor0.col0 ) FROM tab1, tab0 AS cor0 GROUP BY tab1.col1 ---- 11 11 11 |
︙ | ︙ | |||
39693 39694 39695 39696 39697 39698 39699 39700 39701 39702 39703 39704 39705 39706 | query I rowsort SELECT 10 * - 57 AS col2 FROM tab2 cor0 GROUP BY cor0.col0 ---- -570 -570 -570 query I rowsort SELECT DISTINCT COALESCE ( + 93, cor0.col0 ) AS col0 FROM tab1 AS cor0 GROUP BY col2 ---- 93 query I rowsort SELECT DISTINCT - 30 FROM tab0 AS cor0 GROUP BY cor0.col0 | > | 39708 39709 39710 39711 39712 39713 39714 39715 39716 39717 39718 39719 39720 39721 39722 | query I rowsort SELECT 10 * - 57 AS col2 FROM tab2 cor0 GROUP BY cor0.col0 ---- -570 -570 -570 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT DISTINCT COALESCE ( + 93, cor0.col0 ) AS col0 FROM tab1 AS cor0 GROUP BY col2 ---- 93 query I rowsort SELECT DISTINCT - 30 FROM tab0 AS cor0 GROUP BY cor0.col0 |
︙ | ︙ | |||
40935 40936 40937 40938 40939 40940 40941 40942 40943 40944 40945 40946 40947 40948 | query I rowsort label-5683 SELECT DISTINCT - cor0.col0 DIV - 73 + COALESCE ( 83, cor0.col1 ) FROM tab1 cor0 GROUP BY cor0.col0 ---- 83 84 skipif mysql # not compatible query I rowsort label-5683 SELECT DISTINCT - cor0.col0 / - 73 + COALESCE ( 83, cor0.col1 ) FROM tab1 cor0 GROUP BY cor0.col0 ---- 83 84 skipif postgresql # PostgreSQL requires AS when renaming output columns | > | 40951 40952 40953 40954 40955 40956 40957 40958 40959 40960 40961 40962 40963 40964 40965 | query I rowsort label-5683 SELECT DISTINCT - cor0.col0 DIV - 73 + COALESCE ( 83, cor0.col1 ) FROM tab1 cor0 GROUP BY cor0.col0 ---- 83 84 skipif mysql # not compatible skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort label-5683 SELECT DISTINCT - cor0.col0 / - 73 + COALESCE ( 83, cor0.col1 ) FROM tab1 cor0 GROUP BY cor0.col0 ---- 83 84 skipif postgresql # PostgreSQL requires AS when renaming output columns |
︙ | ︙ | |||
42640 42641 42642 42643 42644 42645 42646 42647 42648 42649 42650 42651 42652 42653 | query I rowsort SELECT cor0.col2 AS col0 FROM tab2, tab2 AS cor0 GROUP BY cor0.col2 ---- 58 79 87 query I rowsort SELECT DISTINCT + COALESCE ( + 98, cor0.col2, + col1 ) FROM tab2 AS cor0 GROUP BY cor0.col1 ---- 98 skipif postgresql # PostgreSQL requires AS when renaming output columns query I rowsort | > | 42657 42658 42659 42660 42661 42662 42663 42664 42665 42666 42667 42668 42669 42670 42671 | query I rowsort SELECT cor0.col2 AS col0 FROM tab2, tab2 AS cor0 GROUP BY cor0.col2 ---- 58 79 87 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT DISTINCT + COALESCE ( + 98, cor0.col2, + col1 ) FROM tab2 AS cor0 GROUP BY cor0.col1 ---- 98 skipif postgresql # PostgreSQL requires AS when renaming output columns query I rowsort |
︙ | ︙ | |||
44740 44741 44742 44743 44744 44745 44746 44747 44748 44749 44750 44751 44752 44753 | query I rowsort SELECT cor0.col2 FROM tab0 AS cor0 GROUP BY cor0.col2, cor0.col2, cor0.col1 ---- 24 38 79 query I rowsort SELECT DISTINCT COALESCE ( 85, + cor0.col2, - cor0.col2, cor0.col1 ) * + col2 FROM tab0 cor0 GROUP BY cor0.col2 ---- 2040 3230 6715 | > | 44758 44759 44760 44761 44762 44763 44764 44765 44766 44767 44768 44769 44770 44771 44772 | query I rowsort SELECT cor0.col2 FROM tab0 AS cor0 GROUP BY cor0.col2, cor0.col2, cor0.col1 ---- 24 38 79 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT DISTINCT COALESCE ( 85, + cor0.col2, - cor0.col2, cor0.col1 ) * + col2 FROM tab0 cor0 GROUP BY cor0.col2 ---- 2040 3230 6715 |
︙ | ︙ | |||
45866 45867 45868 45869 45870 45871 45872 45873 45874 45875 45876 45877 45878 45879 | query I rowsort SELECT ALL 17 + 3 AS col1 FROM tab0 AS cor0 GROUP BY col2 ---- 20 20 20 query I rowsort SELECT DISTINCT COALESCE ( + 75, cor0.col0 ) AS col2 FROM tab2 AS cor0 GROUP BY cor0.col1, cor0.col2 ---- 75 query I rowsort SELECT 22 * col1 FROM tab0 AS cor0 GROUP BY cor0.col1 | > | 45885 45886 45887 45888 45889 45890 45891 45892 45893 45894 45895 45896 45897 45898 45899 | query I rowsort SELECT ALL 17 + 3 AS col1 FROM tab0 AS cor0 GROUP BY col2 ---- 20 20 20 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT DISTINCT COALESCE ( + 75, cor0.col0 ) AS col2 FROM tab2 AS cor0 GROUP BY cor0.col1, cor0.col2 ---- 75 query I rowsort SELECT 22 * col1 FROM tab0 AS cor0 GROUP BY cor0.col1 |
︙ | ︙ | |||
46782 46783 46784 46785 46786 46787 46788 46789 46790 46791 46792 46793 46794 46795 | query I rowsort SELECT ALL - 14 * - cor0.col0 FROM tab1 cor0 GROUP BY cor0.col0, col2 ---- 1148 308 392 query I rowsort SELECT ALL + COALESCE ( 29, + cor0.col0 ) FROM tab2 AS cor0 GROUP BY cor0.col2 ---- 29 29 29 | > | 46802 46803 46804 46805 46806 46807 46808 46809 46810 46811 46812 46813 46814 46815 46816 | query I rowsort SELECT ALL - 14 * - cor0.col0 FROM tab1 cor0 GROUP BY cor0.col0, col2 ---- 1148 308 392 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT ALL + COALESCE ( 29, + cor0.col0 ) FROM tab2 AS cor0 GROUP BY cor0.col2 ---- 29 29 29 |
︙ | ︙ | |||
47581 47582 47583 47584 47585 47586 47587 47588 47589 47590 47591 47592 47593 47594 | -86 query I rowsort SELECT DISTINCT 56 FROM tab0 AS cor0 GROUP BY cor0.col0, col1 ---- 56 query I rowsort SELECT ALL CASE + 8 WHEN 76 THEN - cor0.col1 * + 8 WHEN 9 THEN NULL ELSE NULL END FROM tab0 AS cor0 GROUP BY cor0.col2, col0 ---- NULL NULL NULL | > | 47602 47603 47604 47605 47606 47607 47608 47609 47610 47611 47612 47613 47614 47615 47616 | -86 query I rowsort SELECT DISTINCT 56 FROM tab0 AS cor0 GROUP BY cor0.col0, col1 ---- 56 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT ALL CASE + 8 WHEN 76 THEN - cor0.col1 * + 8 WHEN 9 THEN NULL ELSE NULL END FROM tab0 AS cor0 GROUP BY cor0.col2, col0 ---- NULL NULL NULL |
︙ | ︙ | |||
48296 48297 48298 48299 48300 48301 48302 48303 48304 48305 48306 48307 48308 48309 | query I rowsort SELECT ALL col1 col0 FROM tab1 AS cor0 GROUP BY cor0.col0, cor0.col1 ---- 44 57 6 query I rowsort SELECT COALESCE ( 5, - 11, cor0.col0 ) FROM tab1 AS cor0 GROUP BY cor0.col1 ---- 5 5 5 | > | 48318 48319 48320 48321 48322 48323 48324 48325 48326 48327 48328 48329 48330 48331 48332 | query I rowsort SELECT ALL col1 col0 FROM tab1 AS cor0 GROUP BY cor0.col0, cor0.col1 ---- 44 57 6 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT COALESCE ( 5, - 11, cor0.col0 ) FROM tab1 AS cor0 GROUP BY cor0.col1 ---- 5 5 5 |
︙ | ︙ | |||
48336 48337 48338 48339 48340 48341 48342 48343 48344 48345 48346 48347 48348 48349 | query I rowsort SELECT + cor0.col0 FROM tab0 AS cor0 GROUP BY col2, cor0.col0 ---- 26 43 83 query I rowsort SELECT COALESCE ( + 6, cor0.col2 * - ( cor0.col0 ) ) FROM tab2 AS cor0 GROUP BY cor0.col2 ---- 6 6 6 | > | 48359 48360 48361 48362 48363 48364 48365 48366 48367 48368 48369 48370 48371 48372 48373 | query I rowsort SELECT + cor0.col0 FROM tab0 AS cor0 GROUP BY col2, cor0.col0 ---- 26 43 83 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT COALESCE ( + 6, cor0.col2 * - ( cor0.col0 ) ) FROM tab2 AS cor0 GROUP BY cor0.col2 ---- 6 6 6 |
︙ | ︙ | |||
48844 48845 48846 48847 48848 48849 48850 48851 48852 48853 48854 48855 48856 48857 | query I rowsort SELECT cor0.col1 col0 FROM tab2 AS cor0 GROUP BY cor0.col2, cor0.col1 ---- 41 59 61 query I rowsort SELECT COALESCE ( 30, cor0.col1 ) AS col2 FROM tab1 cor0 GROUP BY cor0.col2, cor0.col0 ---- 30 30 30 | > | 48868 48869 48870 48871 48872 48873 48874 48875 48876 48877 48878 48879 48880 48881 48882 | query I rowsort SELECT cor0.col1 col0 FROM tab2 AS cor0 GROUP BY cor0.col2, cor0.col1 ---- 41 59 61 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT COALESCE ( 30, cor0.col1 ) AS col2 FROM tab1 cor0 GROUP BY cor0.col2, cor0.col0 ---- 30 30 30 |
︙ | ︙ | |||
49056 49057 49058 49059 49060 49061 49062 49063 49064 49065 49066 49067 49068 49069 | 32 query I rowsort SELECT DISTINCT + - 95 FROM tab2, tab0 AS cor0 GROUP BY cor0.col0 ---- -95 query I rowsort SELECT 16 + + cor0.col1 - COALESCE ( 88, - col0 ) * + 76 FROM tab0 AS cor0 GROUP BY col1 ---- -6591 -6672 query I rowsort | > | 49081 49082 49083 49084 49085 49086 49087 49088 49089 49090 49091 49092 49093 49094 49095 | 32 query I rowsort SELECT DISTINCT + - 95 FROM tab2, tab0 AS cor0 GROUP BY cor0.col0 ---- -95 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT 16 + + cor0.col1 - COALESCE ( 88, - col0 ) * + 76 FROM tab0 AS cor0 GROUP BY col1 ---- -6591 -6672 query I rowsort |
︙ | ︙ | |||
49126 49127 49128 49129 49130 49131 49132 49133 49134 49135 49136 49137 49138 49139 | query I rowsort SELECT ALL + cor0.col0 col1 FROM tab0 cor0 GROUP BY col0 ---- 26 43 83 query I rowsort SELECT ALL - COALESCE ( 99, - cor0.col2 + + cor0.col1 ) FROM tab0 AS cor0 GROUP BY cor0.col0 ---- -99 -99 -99 | > | 49152 49153 49154 49155 49156 49157 49158 49159 49160 49161 49162 49163 49164 49165 49166 | query I rowsort SELECT ALL + cor0.col0 col1 FROM tab0 cor0 GROUP BY col0 ---- 26 43 83 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT ALL - COALESCE ( 99, - cor0.col2 + + cor0.col1 ) FROM tab0 AS cor0 GROUP BY cor0.col0 ---- -99 -99 -99 |
︙ | ︙ | |||
49824 49825 49826 49827 49828 49829 49830 49831 49832 49833 49834 49835 49836 49837 | query I rowsort SELECT - 50 AS col2 FROM tab0, tab0 cor0 GROUP BY cor0.col1 ---- -50 -50 query I rowsort SELECT cor0.col0 * COALESCE ( + 81, + cor0.col2 ) + 66 FROM tab2 AS cor0 GROUP BY cor0.col0 ---- 1281 7437 7518 | > | 49851 49852 49853 49854 49855 49856 49857 49858 49859 49860 49861 49862 49863 49864 49865 | query I rowsort SELECT - 50 AS col2 FROM tab0, tab0 cor0 GROUP BY cor0.col1 ---- -50 -50 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT cor0.col0 * COALESCE ( + 81, + cor0.col2 ) + 66 FROM tab2 AS cor0 GROUP BY cor0.col0 ---- 1281 7437 7518 |
︙ | ︙ | |||
52890 52891 52892 52893 52894 52895 52896 52897 52898 52899 52900 52901 52902 52903 | skipif mysql # not compatible query I rowsort label-7316 SELECT DISTINCT CAST ( NULL AS INTEGER ) AS col2 FROM tab1 AS cor0 GROUP BY cor0.col1 ---- NULL query I rowsort SELECT DISTINCT COALESCE ( + 12, + cor0.col0 * + cor0.col1 ) AS col1 FROM tab0 AS cor0 GROUP BY col1 ---- 12 query I rowsort SELECT DISTINCT + 92 AS col0 FROM tab1 AS cor0 GROUP BY cor0.col0 | > | 52918 52919 52920 52921 52922 52923 52924 52925 52926 52927 52928 52929 52930 52931 52932 | skipif mysql # not compatible query I rowsort label-7316 SELECT DISTINCT CAST ( NULL AS INTEGER ) AS col2 FROM tab1 AS cor0 GROUP BY cor0.col1 ---- NULL skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT DISTINCT COALESCE ( + 12, + cor0.col0 * + cor0.col1 ) AS col1 FROM tab0 AS cor0 GROUP BY col1 ---- 12 query I rowsort SELECT DISTINCT + 92 AS col0 FROM tab1 AS cor0 GROUP BY cor0.col0 |
︙ | ︙ | |||
56646 56647 56648 56649 56650 56651 56652 56653 56654 56655 56656 56657 56658 56659 | query I rowsort SELECT 35 FROM tab2 cor0 GROUP BY cor0.col0, cor0.col2 ---- 35 35 35 query I rowsort SELECT DISTINCT + COALESCE ( + 49, cor0.col1 ) + + cor0.col0 AS col0 FROM tab0 AS cor0 GROUP BY cor0.col0 ---- 132 75 92 | > | 56675 56676 56677 56678 56679 56680 56681 56682 56683 56684 56685 56686 56687 56688 56689 | query I rowsort SELECT 35 FROM tab2 cor0 GROUP BY cor0.col0, cor0.col2 ---- 35 35 35 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT DISTINCT + COALESCE ( + 49, cor0.col1 ) + + cor0.col0 AS col0 FROM tab0 AS cor0 GROUP BY cor0.col0 ---- 132 75 92 |
︙ | ︙ | |||
56705 56706 56707 56708 56709 56710 56711 56712 56713 56714 56715 56716 56717 56718 | query I rowsort SELECT DISTINCT col0 AS col0 FROM tab1 cor0 GROUP BY cor0.col0 ---- 22 28 82 query I rowsort SELECT DISTINCT COALESCE ( + 5, cor0.col2, + col0 ) AS col0 FROM tab0 AS cor0 GROUP BY cor0.col0 ---- 5 query I rowsort SELECT - col1 FROM tab0 AS cor0 GROUP BY cor0.col0, cor0.col1 | > | 56735 56736 56737 56738 56739 56740 56741 56742 56743 56744 56745 56746 56747 56748 56749 | query I rowsort SELECT DISTINCT col0 AS col0 FROM tab1 cor0 GROUP BY cor0.col0 ---- 22 28 82 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT DISTINCT COALESCE ( + 5, cor0.col2, + col0 ) AS col0 FROM tab0 AS cor0 GROUP BY cor0.col0 ---- 5 query I rowsort SELECT - col1 FROM tab0 AS cor0 GROUP BY cor0.col0, cor0.col1 |
︙ | ︙ | |||
58009 58010 58011 58012 58013 58014 58015 58016 58017 58018 58019 58020 58021 58022 | query I rowsort SELECT + cor0.col1 + 43 FROM tab2 cor0 GROUP BY cor0.col1 ---- 102 104 84 query I rowsort SELECT COALESCE ( 3, - cor0.col1 * + cor0.col1, 76, + cor0.col0 ) FROM tab1 AS cor0 GROUP BY cor0.col2 ---- 3 3 3 | > | 58040 58041 58042 58043 58044 58045 58046 58047 58048 58049 58050 58051 58052 58053 58054 | query I rowsort SELECT + cor0.col1 + 43 FROM tab2 cor0 GROUP BY cor0.col1 ---- 102 104 84 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT COALESCE ( 3, - cor0.col1 * + cor0.col1, 76, + cor0.col0 ) FROM tab1 AS cor0 GROUP BY cor0.col2 ---- 3 3 3 |
︙ | ︙ | |||
59727 59728 59729 59730 59731 59732 59733 59734 59735 59736 59737 59738 59739 59740 | query I rowsort SELECT ALL 28 + cor0.col2 AS col2 FROM tab2, tab1 AS cor0 GROUP BY cor0.col2 ---- 36 73 99 query I rowsort SELECT + COALESCE ( + 83, cor0.col2, cor0.col1, - cor0.col0 * - col2 + + cor0.col0 ) FROM tab1 AS cor0 GROUP BY cor0.col0 ---- 83 83 83 | > | 59759 59760 59761 59762 59763 59764 59765 59766 59767 59768 59769 59770 59771 59772 59773 | query I rowsort SELECT ALL 28 + cor0.col2 AS col2 FROM tab2, tab1 AS cor0 GROUP BY cor0.col2 ---- 36 73 99 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT + COALESCE ( + 83, cor0.col2, cor0.col1, - cor0.col0 * - col2 + + cor0.col0 ) FROM tab1 AS cor0 GROUP BY cor0.col0 ---- 83 83 83 |
︙ | ︙ | |||
61372 61373 61374 61375 61376 61377 61378 61379 61380 61381 61382 61383 61384 61385 | query I rowsort SELECT - 57 AS col2 FROM tab0 AS cor0 GROUP BY cor0.col1 ---- -57 -57 query I rowsort SELECT - cor0.col1 + COALESCE ( 61, cor0.col2 ) * 90 AS col1 FROM tab0 cor0 GROUP BY cor0.col1, cor0.col0, cor0.col1 ---- 5409 5490 5490 | > | 61405 61406 61407 61408 61409 61410 61411 61412 61413 61414 61415 61416 61417 61418 61419 | query I rowsort SELECT - 57 AS col2 FROM tab0 AS cor0 GROUP BY cor0.col1 ---- -57 -57 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT - cor0.col1 + COALESCE ( 61, cor0.col2 ) * 90 AS col1 FROM tab0 cor0 GROUP BY cor0.col1, cor0.col0, cor0.col1 ---- 5409 5490 5490 |
︙ | ︙ | |||
61852 61853 61854 61855 61856 61857 61858 61859 61860 61861 61862 61863 61864 61865 | 756 query I rowsort SELECT DISTINCT - 38 * 15 FROM tab1 AS cor0 GROUP BY cor0.col1 ---- -570 query I rowsort SELECT DISTINCT + COALESCE ( 76, cor0.col0 ) FROM tab2 cor0 GROUP BY cor0.col1 ---- 76 query I rowsort SELECT + 68 * - cor0.col1 + + 52 FROM tab0, tab2 AS cor0 GROUP BY cor0.col1 | > | 61886 61887 61888 61889 61890 61891 61892 61893 61894 61895 61896 61897 61898 61899 61900 | 756 query I rowsort SELECT DISTINCT - 38 * 15 FROM tab1 AS cor0 GROUP BY cor0.col1 ---- -570 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT DISTINCT + COALESCE ( 76, cor0.col0 ) FROM tab2 cor0 GROUP BY cor0.col1 ---- 76 query I rowsort SELECT + 68 * - cor0.col1 + + 52 FROM tab0, tab2 AS cor0 GROUP BY cor0.col1 |
︙ | ︙ | |||
62363 62364 62365 62366 62367 62368 62369 62370 62371 62372 62373 62374 62375 62376 | query I rowsort SELECT cor0.col1 - 38 AS col1 FROM tab2 AS cor0 GROUP BY cor0.col1 ---- 21 23 3 query I rowsort SELECT DISTINCT + COALESCE ( 75, cor0.col2, cor0.col0 * + cor0.col1 ) + + cor0.col1 FROM tab2 AS cor0 GROUP BY cor0.col1 ---- 116 134 136 | > | 62398 62399 62400 62401 62402 62403 62404 62405 62406 62407 62408 62409 62410 62411 62412 | query I rowsort SELECT cor0.col1 - 38 AS col1 FROM tab2 AS cor0 GROUP BY cor0.col1 ---- 21 23 3 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT DISTINCT + COALESCE ( 75, cor0.col2, cor0.col0 * + cor0.col1 ) + + cor0.col1 FROM tab2 AS cor0 GROUP BY cor0.col1 ---- 116 134 136 |
︙ | ︙ | |||
63132 63133 63134 63135 63136 63137 63138 63139 63140 63141 63142 63143 63144 63145 | query I rowsort SELECT cor0.col0 AS col1 FROM tab2, tab0 AS cor0 GROUP BY cor0.col0 ---- 26 43 83 query I rowsort SELECT DISTINCT - COALESCE ( + 60, + cor0.col2 ) AS col2 FROM tab0 AS cor0 GROUP BY cor0.col0 ---- -60 query I rowsort SELECT 79 FROM tab2 AS cor0 GROUP BY cor0.col2 | > | 63168 63169 63170 63171 63172 63173 63174 63175 63176 63177 63178 63179 63180 63181 63182 | query I rowsort SELECT cor0.col0 AS col1 FROM tab2, tab0 AS cor0 GROUP BY cor0.col0 ---- 26 43 83 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT DISTINCT - COALESCE ( + 60, + cor0.col2 ) AS col2 FROM tab0 AS cor0 GROUP BY cor0.col0 ---- -60 query I rowsort SELECT 79 FROM tab2 AS cor0 GROUP BY cor0.col2 |
︙ | ︙ | |||
63592 63593 63594 63595 63596 63597 63598 63599 63600 63601 63602 63603 63604 63605 | query I rowsort SELECT - cor0.col0 col2 FROM tab0, tab0 cor0 GROUP BY cor0.col0 ---- -26 -43 -83 query I rowsort SELECT DISTINCT COALESCE ( - 98, col0, cor0.col1 + - 23 ) FROM tab2 AS cor0 GROUP BY cor0.col0 ---- -98 query I rowsort SELECT DISTINCT - 50 FROM tab2 AS cor0 GROUP BY cor0.col0 | > | 63629 63630 63631 63632 63633 63634 63635 63636 63637 63638 63639 63640 63641 63642 63643 | query I rowsort SELECT - cor0.col0 col2 FROM tab0, tab0 cor0 GROUP BY cor0.col0 ---- -26 -43 -83 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT DISTINCT COALESCE ( - 98, col0, cor0.col1 + - 23 ) FROM tab2 AS cor0 GROUP BY cor0.col0 ---- -98 query I rowsort SELECT DISTINCT - 50 FROM tab2 AS cor0 GROUP BY cor0.col0 |
︙ | ︙ | |||
64922 64923 64924 64925 64926 64927 64928 64929 64930 64931 64932 64933 64934 64935 | query I rowsort SELECT DISTINCT - + 40 + + cor0.col1 AS col1 FROM tab1, tab1 AS cor0 GROUP BY cor0.col1 ---- -34 17 4 query I rowsort SELECT - COALESCE ( 22, - tab0.col0, - cor0.col1 ) FROM tab0, tab2 AS cor0 GROUP BY tab0.col1 ---- -22 -22 query I rowsort | > | 64960 64961 64962 64963 64964 64965 64966 64967 64968 64969 64970 64971 64972 64973 64974 | query I rowsort SELECT DISTINCT - + 40 + + cor0.col1 AS col1 FROM tab1, tab1 AS cor0 GROUP BY cor0.col1 ---- -34 17 4 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT - COALESCE ( 22, - tab0.col0, - cor0.col1 ) FROM tab0, tab2 AS cor0 GROUP BY tab0.col1 ---- -22 -22 query I rowsort |
︙ | ︙ | |||
65816 65817 65818 65819 65820 65821 65822 65823 65824 65825 65826 65827 65828 65829 65830 65831 65832 65833 65834 65835 65836 65837 65838 65839 65840 65841 65842 65843 | query I rowsort SELECT ALL - 22 + - col1 AS col0 FROM tab2 AS cor0 GROUP BY cor0.col1 ---- -63 -81 -83 query I rowsort SELECT DISTINCT cor0.col2 * COALESCE ( + 40, col1 ) FROM tab2 AS cor0 GROUP BY cor0.col2 ---- 2320 3160 3480 onlyif mysql # CAST syntax: SIGNED type: DIV for integer division: query I rowsort label-9102 SELECT DISTINCT COALESCE ( - 82, - cor0.col0, - CAST( NULL AS SIGNED ) ) DIV - 70 FROM tab0 AS cor0 GROUP BY cor0.col2 ---- 1 skipif mysql # not compatible query I rowsort label-9102 SELECT DISTINCT COALESCE ( - 82, - cor0.col0, - CAST ( NULL AS INTEGER ) ) / - 70 FROM tab0 AS cor0 GROUP BY cor0.col2 ---- 1 query I rowsort SELECT COALESCE ( - cor0.col1, cor0.col1 ) * + 31 FROM tab1 AS cor0 GROUP BY cor0.col1 | > > | 65855 65856 65857 65858 65859 65860 65861 65862 65863 65864 65865 65866 65867 65868 65869 65870 65871 65872 65873 65874 65875 65876 65877 65878 65879 65880 65881 65882 65883 65884 | query I rowsort SELECT ALL - 22 + - col1 AS col0 FROM tab2 AS cor0 GROUP BY cor0.col1 ---- -63 -81 -83 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT DISTINCT cor0.col2 * COALESCE ( + 40, col1 ) FROM tab2 AS cor0 GROUP BY cor0.col2 ---- 2320 3160 3480 onlyif mysql # CAST syntax: SIGNED type: DIV for integer division: query I rowsort label-9102 SELECT DISTINCT COALESCE ( - 82, - cor0.col0, - CAST( NULL AS SIGNED ) ) DIV - 70 FROM tab0 AS cor0 GROUP BY cor0.col2 ---- 1 skipif mysql # not compatible skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort label-9102 SELECT DISTINCT COALESCE ( - 82, - cor0.col0, - CAST ( NULL AS INTEGER ) ) / - 70 FROM tab0 AS cor0 GROUP BY cor0.col2 ---- 1 query I rowsort SELECT COALESCE ( - cor0.col1, cor0.col1 ) * + 31 FROM tab1 AS cor0 GROUP BY cor0.col1 |
︙ | ︙ | |||
66024 66025 66026 66027 66028 66029 66030 66031 66032 66033 66034 66035 66036 66037 | query I rowsort SELECT ALL ( + cor0.col0 ) * - 49 FROM tab1 AS cor0 GROUP BY col1, cor0.col0 ---- -1078 -1372 -4018 query I rowsort SELECT DISTINCT + COALESCE ( 50, - cor0.col0 ) FROM tab0 AS cor0 GROUP BY cor0.col1 ---- 50 query I rowsort SELECT DISTINCT 82 AS col1 FROM tab1 AS cor0 GROUP BY cor0.col2 | > | 66065 66066 66067 66068 66069 66070 66071 66072 66073 66074 66075 66076 66077 66078 66079 | query I rowsort SELECT ALL ( + cor0.col0 ) * - 49 FROM tab1 AS cor0 GROUP BY col1, cor0.col0 ---- -1078 -1372 -4018 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT DISTINCT + COALESCE ( 50, - cor0.col0 ) FROM tab0 AS cor0 GROUP BY cor0.col1 ---- 50 query I rowsort SELECT DISTINCT 82 AS col1 FROM tab1 AS cor0 GROUP BY cor0.col2 |
︙ | ︙ | |||
67093 67094 67095 67096 67097 67098 67099 67100 67101 67102 67103 67104 67105 67106 | query I rowsort SELECT 48 + + cor0.col1 FROM tab1 AS cor0 GROUP BY cor0.col1 ---- 105 54 92 query I rowsort SELECT ALL + ( + COALESCE ( 27, - cor0.col0 ) ) FROM tab2 AS cor0 GROUP BY cor0.col1 ---- 27 27 27 | > | 67135 67136 67137 67138 67139 67140 67141 67142 67143 67144 67145 67146 67147 67148 67149 | query I rowsort SELECT 48 + + cor0.col1 FROM tab1 AS cor0 GROUP BY cor0.col1 ---- 105 54 92 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT ALL + ( + COALESCE ( 27, - cor0.col0 ) ) FROM tab2 AS cor0 GROUP BY cor0.col1 ---- 27 27 27 |
︙ | ︙ | |||
67703 67704 67705 67706 67707 67708 67709 67710 67711 67712 67713 67714 67715 67716 | query I rowsort SELECT cor0.col0 * + cor0.col2 * 3 AS col2 FROM tab1 AS cor0 GROUP BY cor0.col2, cor0.col0 ---- 17466 3780 528 query I rowsort SELECT DISTINCT COALESCE ( + cor0.col0, 72, + 29 * cor0.col2 ) AS col0 FROM tab0 AS cor0 GROUP BY cor0.col0 ---- 26 43 83 | > | 67746 67747 67748 67749 67750 67751 67752 67753 67754 67755 67756 67757 67758 67759 67760 | query I rowsort SELECT cor0.col0 * + cor0.col2 * 3 AS col2 FROM tab1 AS cor0 GROUP BY cor0.col2, cor0.col0 ---- 17466 3780 528 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT DISTINCT COALESCE ( + cor0.col0, 72, + 29 * cor0.col2 ) AS col0 FROM tab0 AS cor0 GROUP BY cor0.col0 ---- 26 43 83 |
︙ | ︙ | |||
68781 68782 68783 68784 68785 68786 68787 68788 68789 68790 68791 68792 68793 68794 | query I rowsort SELECT 38 AS col2 FROM tab1 AS cor0 GROUP BY cor0.col0 ---- 38 38 38 query I rowsort SELECT DISTINCT cor0.col2 * COALESCE ( 65, cor0.col0 + + cor0.col1 ) FROM tab0 AS cor0 GROUP BY cor0.col0, cor0.col2 ---- 1560 2470 5135 | > | 68825 68826 68827 68828 68829 68830 68831 68832 68833 68834 68835 68836 68837 68838 68839 | query I rowsort SELECT 38 AS col2 FROM tab1 AS cor0 GROUP BY cor0.col0 ---- 38 38 38 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT DISTINCT cor0.col2 * COALESCE ( 65, cor0.col0 + + cor0.col1 ) FROM tab0 AS cor0 GROUP BY cor0.col0, cor0.col2 ---- 1560 2470 5135 |
︙ | ︙ | |||
70791 70792 70793 70794 70795 70796 70797 70798 70799 70800 70801 70802 70803 70804 | query I rowsort SELECT DISTINCT - cor0.col0 AS col2 FROM tab1 AS cor0 GROUP BY col0, cor0.col1 ---- -22 -28 -82 query I rowsort SELECT ALL + COALESCE ( 74, - cor0.col2, NULLIF ( cor0.col1, cor0.col0 ) ) FROM tab2 AS cor0 GROUP BY cor0.col2 ---- 74 74 74 | > | 70836 70837 70838 70839 70840 70841 70842 70843 70844 70845 70846 70847 70848 70849 70850 | query I rowsort SELECT DISTINCT - cor0.col0 AS col2 FROM tab1 AS cor0 GROUP BY col0, cor0.col1 ---- -22 -28 -82 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT ALL + COALESCE ( 74, - cor0.col2, NULLIF ( cor0.col1, cor0.col0 ) ) FROM tab2 AS cor0 GROUP BY cor0.col2 ---- 74 74 74 |
︙ | ︙ |
Changes to test/random/groupby/slt_good_1.test.
︙ | ︙ | |||
468 469 470 471 472 473 474 475 476 477 478 479 480 481 | 58 query I rowsort SELECT DISTINCT 20 AS col2 FROM tab2 AS cor0 GROUP BY cor0.col2 ---- 20 query I rowsort SELECT + COALESCE ( + 3, 40 * cor0.col0 ) AS col1 FROM tab1 AS cor0 GROUP BY cor0.col2 ---- 3 3 3 | > | 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 | 58 query I rowsort SELECT DISTINCT 20 AS col2 FROM tab2 AS cor0 GROUP BY cor0.col2 ---- 20 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT + COALESCE ( + 3, 40 * cor0.col0 ) AS col1 FROM tab1 AS cor0 GROUP BY cor0.col2 ---- 3 3 3 |
︙ | ︙ | |||
1358 1359 1360 1361 1362 1363 1364 1365 1366 1367 1368 1369 1370 1371 | query I rowsort SELECT 67 AS col0 FROM tab1 cor0 CROSS JOIN tab1 AS cor1 GROUP BY cor0.col0 ---- 67 67 67 query I rowsort SELECT DISTINCT + COALESCE ( 29, + tab1.col1 ) AS col0 FROM tab1, tab0 AS cor0, tab2 AS cor1 GROUP BY cor1.col2 ---- 29 query I rowsort SELECT ALL cor0.col0 FROM tab2 cor0 GROUP BY cor0.col0, cor0.col1 | > | 1359 1360 1361 1362 1363 1364 1365 1366 1367 1368 1369 1370 1371 1372 1373 | query I rowsort SELECT 67 AS col0 FROM tab1 cor0 CROSS JOIN tab1 AS cor1 GROUP BY cor0.col0 ---- 67 67 67 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT DISTINCT + COALESCE ( 29, + tab1.col1 ) AS col0 FROM tab1, tab0 AS cor0, tab2 AS cor1 GROUP BY cor1.col2 ---- 29 query I rowsort SELECT ALL cor0.col0 FROM tab2 cor0 GROUP BY cor0.col0, cor0.col1 |
︙ | ︙ | |||
1755 1756 1757 1758 1759 1760 1761 1762 1763 1764 1765 1766 1767 1768 | query I rowsort SELECT cor0.col0 FROM tab2 AS cor0 GROUP BY col1, col0, cor0.col0 ---- 15 91 92 query I rowsort SELECT DISTINCT + COALESCE ( - 85, + cor0.col2 + 58 ) FROM tab2 AS cor0 GROUP BY cor0.col1 ---- -85 query I rowsort SELECT cor1.col0 AS col2 FROM tab2 AS cor0 CROSS JOIN tab1 cor1 GROUP BY cor1.col0, cor1.col1 | > | 1757 1758 1759 1760 1761 1762 1763 1764 1765 1766 1767 1768 1769 1770 1771 | query I rowsort SELECT cor0.col0 FROM tab2 AS cor0 GROUP BY col1, col0, cor0.col0 ---- 15 91 92 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT DISTINCT + COALESCE ( - 85, + cor0.col2 + 58 ) FROM tab2 AS cor0 GROUP BY cor0.col1 ---- -85 query I rowsort SELECT cor1.col0 AS col2 FROM tab2 AS cor0 CROSS JOIN tab1 cor1 GROUP BY cor1.col0, cor1.col1 |
︙ | ︙ | |||
2891 2892 2893 2894 2895 2896 2897 2898 2899 2900 2901 2902 2903 2904 | query I rowsort SELECT ALL - cor0.col1 AS col1 FROM tab2 AS cor0 GROUP BY col1 HAVING NOT ( cor0.col1 ) IS NULL ---- -41 -59 -61 query I rowsort SELECT DISTINCT - + COALESCE ( - 95, + tab0.col0 ) AS col1 FROM tab0 GROUP BY tab0.col2 ---- 95 query I rowsort SELECT DISTINCT + 4 AS col0 FROM tab0 AS cor0 GROUP BY cor0.col0 | > | 2894 2895 2896 2897 2898 2899 2900 2901 2902 2903 2904 2905 2906 2907 2908 | query I rowsort SELECT ALL - cor0.col1 AS col1 FROM tab2 AS cor0 GROUP BY col1 HAVING NOT ( cor0.col1 ) IS NULL ---- -41 -59 -61 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT DISTINCT - + COALESCE ( - 95, + tab0.col0 ) AS col1 FROM tab0 GROUP BY tab0.col2 ---- 95 query I rowsort SELECT DISTINCT + 4 AS col0 FROM tab0 AS cor0 GROUP BY cor0.col0 |
︙ | ︙ | |||
3959 3960 3961 3962 3963 3964 3965 3966 3967 3968 3969 3970 3971 3972 | query I rowsort label-549 SELECT COALESCE ( + 1, cor0.col0 ) + - CAST( NULL AS DECIMAL ) FROM tab1, tab0 AS cor0, tab1 AS cor1 GROUP BY cor0.col1 ---- NULL NULL skipif mysql # not compatible query I rowsort label-549 SELECT COALESCE ( + 1, cor0.col0 ) + - CAST ( NULL AS REAL ) FROM tab1, tab0 AS cor0, tab1 AS cor1 GROUP BY cor0.col1 ---- NULL NULL query I rowsort | > | 3963 3964 3965 3966 3967 3968 3969 3970 3971 3972 3973 3974 3975 3976 3977 | query I rowsort label-549 SELECT COALESCE ( + 1, cor0.col0 ) + - CAST( NULL AS DECIMAL ) FROM tab1, tab0 AS cor0, tab1 AS cor1 GROUP BY cor0.col1 ---- NULL NULL skipif mysql # not compatible skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort label-549 SELECT COALESCE ( + 1, cor0.col0 ) + - CAST ( NULL AS REAL ) FROM tab1, tab0 AS cor0, tab1 AS cor1 GROUP BY cor0.col1 ---- NULL NULL query I rowsort |
︙ | ︙ | |||
4226 4227 4228 4229 4230 4231 4232 4233 4234 4235 4236 4237 4238 4239 | query I rowsort SELECT ALL 47 FROM tab2, tab2 AS cor0 GROUP BY cor0.col0 ---- 47 47 47 query I rowsort SELECT + COALESCE ( 89, cor0.col1 * + cor0.col1 ) FROM tab0 cor0 GROUP BY cor0.col2, cor0.col2, cor0.col0 ---- 89 89 89 | > | 4231 4232 4233 4234 4235 4236 4237 4238 4239 4240 4241 4242 4243 4244 4245 | query I rowsort SELECT ALL 47 FROM tab2, tab2 AS cor0 GROUP BY cor0.col0 ---- 47 47 47 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT + COALESCE ( 89, cor0.col1 * + cor0.col1 ) FROM tab0 cor0 GROUP BY cor0.col2, cor0.col2, cor0.col0 ---- 89 89 89 |
︙ | ︙ | |||
5451 5452 5453 5454 5455 5456 5457 5458 5459 5460 5461 5462 5463 5464 | query I rowsort SELECT DISTINCT + cor0.col0 * - 69 col0 FROM tab2, tab1 AS cor0, tab0 AS cor1 GROUP BY cor0.col0 ---- -1518 -1932 -5658 query I rowsort SELECT - COALESCE ( - COALESCE ( + col0, tab1.col0 ), 76, + col1 ) AS col1 FROM tab1 GROUP BY col0 ---- 22 28 82 | > | 5457 5458 5459 5460 5461 5462 5463 5464 5465 5466 5467 5468 5469 5470 5471 | query I rowsort SELECT DISTINCT + cor0.col0 * - 69 col0 FROM tab2, tab1 AS cor0, tab0 AS cor1 GROUP BY cor0.col0 ---- -1518 -1932 -5658 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT - COALESCE ( - COALESCE ( + col0, tab1.col0 ), 76, + col1 ) AS col1 FROM tab1 GROUP BY col0 ---- 22 28 82 |
︙ | ︙ | |||
5812 5813 5814 5815 5816 5817 5818 5819 5820 5821 5822 5823 5824 5825 | query I rowsort SELECT + - 27 AS col1 FROM tab2 GROUP BY tab2.col1 ---- -27 -27 -27 query I rowsort SELECT - NULLIF ( + col2, cor0.col2 ) * - COALESCE ( 78, + cor0.col1 ) FROM tab0 AS cor0 GROUP BY cor0.col2 ---- NULL NULL NULL | > | 5819 5820 5821 5822 5823 5824 5825 5826 5827 5828 5829 5830 5831 5832 5833 | query I rowsort SELECT + - 27 AS col1 FROM tab2 GROUP BY tab2.col1 ---- -27 -27 -27 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT - NULLIF ( + col2, cor0.col2 ) * - COALESCE ( 78, + cor0.col1 ) FROM tab0 AS cor0 GROUP BY cor0.col2 ---- NULL NULL NULL |
︙ | ︙ | |||
6783 6784 6785 6786 6787 6788 6789 6790 6791 6792 6793 6794 6795 6796 | query I rowsort label-932 SELECT ALL col1 / 39 FROM tab1 AS cor0 GROUP BY cor0.col2, cor0.col1 ---- 0 1 1 query I rowsort SELECT ALL - CASE - cor0.col2 WHEN cor0.col2 THEN col2 ELSE cor0.col2 END col2 FROM tab1 cor0 GROUP BY cor0.col2 ---- -45 -71 -8 | > | 6791 6792 6793 6794 6795 6796 6797 6798 6799 6800 6801 6802 6803 6804 6805 | query I rowsort label-932 SELECT ALL col1 / 39 FROM tab1 AS cor0 GROUP BY cor0.col2, cor0.col1 ---- 0 1 1 skipif postgresql # PostgreSQL requires AS when renaming output columns query I rowsort SELECT ALL - CASE - cor0.col2 WHEN cor0.col2 THEN col2 ELSE cor0.col2 END col2 FROM tab1 cor0 GROUP BY cor0.col2 ---- -45 -71 -8 |
︙ | ︙ | |||
7735 7736 7737 7738 7739 7740 7741 7742 7743 7744 7745 7746 7747 7748 | query I rowsort SELECT DISTINCT cor0.col1 + cor0.col1 FROM tab2 cor0 GROUP BY col2, col0, cor0.col1 ---- 118 122 82 query I rowsort SELECT DISTINCT - COALESCE ( - COALESCE ( 69, col2, + 41, cor0.col1 ), - cor0.col2, 80 ) * cor0.col0 + 76 FROM tab0 cor0 GROUP BY cor0.col2, cor0.col0 ---- 1870 3043 5803 | > | 7744 7745 7746 7747 7748 7749 7750 7751 7752 7753 7754 7755 7756 7757 7758 | query I rowsort SELECT DISTINCT cor0.col1 + cor0.col1 FROM tab2 cor0 GROUP BY col2, col0, cor0.col1 ---- 118 122 82 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT DISTINCT - COALESCE ( - COALESCE ( 69, col2, + 41, cor0.col1 ), - cor0.col2, 80 ) * cor0.col0 + 76 FROM tab0 cor0 GROUP BY cor0.col2, cor0.col0 ---- 1870 3043 5803 |
︙ | ︙ | |||
8590 8591 8592 8593 8594 8595 8596 8597 8598 8599 8600 8601 8602 8603 | query I rowsort SELECT DISTINCT - 94 + - tab0.col2 FROM tab0 GROUP BY tab0.col2 ---- -118 -132 -173 query I rowsort SELECT - COALESCE ( + COALESCE ( - 21, tab1.col0 ), + cor0.col0 ) * - cor0.col2 FROM tab1, tab2 AS cor0 GROUP BY cor0.col2 ---- -1218 -1659 -1827 | > | 8600 8601 8602 8603 8604 8605 8606 8607 8608 8609 8610 8611 8612 8613 8614 | query I rowsort SELECT DISTINCT - 94 + - tab0.col2 FROM tab0 GROUP BY tab0.col2 ---- -118 -132 -173 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT - COALESCE ( + COALESCE ( - 21, tab1.col0 ), + cor0.col0 ) * - cor0.col2 FROM tab1, tab2 AS cor0 GROUP BY cor0.col2 ---- -1218 -1659 -1827 |
︙ | ︙ | |||
10162 10163 10164 10165 10166 10167 10168 10169 10170 10171 10172 10173 10174 10175 | query I rowsort SELECT ALL 14 * - COALESCE ( - 87, tab0.col2 ) AS col2 FROM tab0 GROUP BY tab0.col2 ---- 1218 1218 1218 query I rowsort SELECT CASE - 75 WHEN - 96 THEN - cor0.col1 * - ( cor0.col0 ) WHEN cor0.col0 THEN NULL END FROM tab1 AS cor0 GROUP BY cor0.col0 ---- NULL NULL NULL | > | 10173 10174 10175 10176 10177 10178 10179 10180 10181 10182 10183 10184 10185 10186 10187 | query I rowsort SELECT ALL 14 * - COALESCE ( - 87, tab0.col2 ) AS col2 FROM tab0 GROUP BY tab0.col2 ---- 1218 1218 1218 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT CASE - 75 WHEN - 96 THEN - cor0.col1 * - ( cor0.col0 ) WHEN cor0.col0 THEN NULL END FROM tab1 AS cor0 GROUP BY cor0.col0 ---- NULL NULL NULL |
︙ | ︙ | |||
11663 11664 11665 11666 11667 11668 11669 11670 11671 11672 11673 11674 11675 11676 | query I rowsort SELECT ALL - 42 AS col0 FROM tab0 AS cor0 GROUP BY cor0.col1 ---- -42 -42 query I rowsort SELECT ALL COALESCE ( 72, + cor0.col2 + - 8 ) FROM tab1 cor0 CROSS JOIN tab0 AS cor1 GROUP BY cor0.col0 ---- 72 72 72 | > | 11675 11676 11677 11678 11679 11680 11681 11682 11683 11684 11685 11686 11687 11688 11689 | query I rowsort SELECT ALL - 42 AS col0 FROM tab0 AS cor0 GROUP BY cor0.col1 ---- -42 -42 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT ALL COALESCE ( 72, + cor0.col2 + - 8 ) FROM tab1 cor0 CROSS JOIN tab0 AS cor1 GROUP BY cor0.col0 ---- 72 72 72 |
︙ | ︙ | |||
12862 12863 12864 12865 12866 12867 12868 12869 12870 12871 12872 12873 12874 12875 | query I rowsort SELECT ( - cor0.col1 ) + + 59 * + cor0.col1 + 1 AS col0 FROM tab1 AS cor0 GROUP BY cor0.col1 ---- 2553 3307 349 query I rowsort SELECT COALESCE ( + cor0.col1, 84, cor0.col0 + cor0.col2 ) * - 62 AS col0 FROM tab2 cor0 GROUP BY cor0.col1 ---- -2542 -3658 -3782 | > | 12875 12876 12877 12878 12879 12880 12881 12882 12883 12884 12885 12886 12887 12888 12889 | query I rowsort SELECT ( - cor0.col1 ) + + 59 * + cor0.col1 + 1 AS col0 FROM tab1 AS cor0 GROUP BY cor0.col1 ---- 2553 3307 349 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT COALESCE ( + cor0.col1, 84, cor0.col0 + cor0.col2 ) * - 62 AS col0 FROM tab2 cor0 GROUP BY cor0.col1 ---- -2542 -3658 -3782 |
︙ | ︙ | |||
14319 14320 14321 14322 14323 14324 14325 14326 14327 14328 14329 14330 14331 14332 | query I rowsort SELECT ALL 35 AS col0 FROM tab1 AS cor0 GROUP BY col2 ---- 35 35 35 query I rowsort SELECT ALL - + COALESCE ( + 64, + col2 ) + + tab0.col0 FROM tab0 GROUP BY tab0.col0 ---- -21 -38 19 | > | 14333 14334 14335 14336 14337 14338 14339 14340 14341 14342 14343 14344 14345 14346 14347 | query I rowsort SELECT ALL 35 AS col0 FROM tab1 AS cor0 GROUP BY col2 ---- 35 35 35 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT ALL - + COALESCE ( + 64, + col2 ) + + tab0.col0 FROM tab0 GROUP BY tab0.col0 ---- -21 -38 19 |
︙ | ︙ | |||
15453 15454 15455 15456 15457 15458 15459 15460 15461 15462 15463 15464 15465 15466 | query I rowsort SELECT + 3 FROM tab2, tab1 AS cor0 GROUP BY tab2.col0 ---- 3 3 3 query I rowsort SELECT COALESCE ( + 55, - tab0.col2 + + tab0.col2 ) FROM tab0 GROUP BY tab0.col1 ---- 55 55 query I rowsort | > | 15468 15469 15470 15471 15472 15473 15474 15475 15476 15477 15478 15479 15480 15481 15482 | query I rowsort SELECT + 3 FROM tab2, tab1 AS cor0 GROUP BY tab2.col0 ---- 3 3 3 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT COALESCE ( + 55, - tab0.col2 + + tab0.col2 ) FROM tab0 GROUP BY tab0.col1 ---- 55 55 query I rowsort |
︙ | ︙ | |||
15545 15546 15547 15548 15549 15550 15551 15552 15553 15554 15555 15556 15557 15558 | query I rowsort SELECT + cor0.col2 FROM tab1, tab1 AS cor0, tab1 AS cor1 GROUP BY cor0.col2 ---- 45 71 8 query I rowsort SELECT ALL - COALESCE ( + 57, + cor0.col2 * cor0.col1 ) FROM tab0 AS cor0 GROUP BY cor0.col1 ---- -57 -57 query I rowsort | > | 15561 15562 15563 15564 15565 15566 15567 15568 15569 15570 15571 15572 15573 15574 15575 | query I rowsort SELECT + cor0.col2 FROM tab1, tab1 AS cor0, tab1 AS cor1 GROUP BY cor0.col2 ---- 45 71 8 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT ALL - COALESCE ( + 57, + cor0.col2 * cor0.col1 ) FROM tab0 AS cor0 GROUP BY cor0.col1 ---- -57 -57 query I rowsort |
︙ | ︙ | |||
16651 16652 16653 16654 16655 16656 16657 16658 16659 16660 16661 16662 16663 16664 | query I rowsort SELECT + + cor0.col2 * cor0.col2 + - 4 FROM tab1, tab0 cor0 GROUP BY cor0.col2 ---- 1440 572 6237 query I rowsort SELECT + COALESCE ( 47, - 49 * cor0.col1, col0 * cor0.col1, + col2 + cor0.col0 * - cor0.col1 ) FROM tab0 AS cor0 GROUP BY cor0.col0 ---- 47 47 47 | > | 16668 16669 16670 16671 16672 16673 16674 16675 16676 16677 16678 16679 16680 16681 16682 | query I rowsort SELECT + + cor0.col2 * cor0.col2 + - 4 FROM tab1, tab0 cor0 GROUP BY cor0.col2 ---- 1440 572 6237 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT + COALESCE ( 47, - 49 * cor0.col1, col0 * cor0.col1, + col2 + cor0.col0 * - cor0.col1 ) FROM tab0 AS cor0 GROUP BY cor0.col0 ---- 47 47 47 |
︙ | ︙ | |||
16725 16726 16727 16728 16729 16730 16731 16732 16733 16734 16735 16736 16737 16738 | skipif postgresql # PostgreSQL requires AS when renaming output columns query I rowsort SELECT - - 7 col2 FROM tab0 GROUP BY col1 ---- 7 7 query I rowsort SELECT COALESCE ( - 22, col2 ) FROM tab2 GROUP BY col1 ---- -22 -22 -22 | > | 16743 16744 16745 16746 16747 16748 16749 16750 16751 16752 16753 16754 16755 16756 16757 | skipif postgresql # PostgreSQL requires AS when renaming output columns query I rowsort SELECT - - 7 col2 FROM tab0 GROUP BY col1 ---- 7 7 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT COALESCE ( - 22, col2 ) FROM tab2 GROUP BY col1 ---- -22 -22 -22 |
︙ | ︙ | |||
17155 17156 17157 17158 17159 17160 17161 17162 17163 17164 17165 17166 17167 17168 | query I rowsort SELECT + 80 FROM tab1 AS cor0 CROSS JOIN tab1 AS cor1 GROUP BY cor1.col2 ---- 80 80 80 query I rowsort SELECT DISTINCT - CASE - cor0.col1 WHEN COALESCE ( + 63, cor0.col2 * col2 ) + cor0.col1 THEN cor0.col1 END AS col1 FROM tab1 AS cor0 GROUP BY cor0.col1 ---- NULL query I rowsort SELECT - 40 FROM tab1 AS cor0 CROSS JOIN tab0 AS cor1 GROUP BY cor0.col1 | > | 17174 17175 17176 17177 17178 17179 17180 17181 17182 17183 17184 17185 17186 17187 17188 | query I rowsort SELECT + 80 FROM tab1 AS cor0 CROSS JOIN tab1 AS cor1 GROUP BY cor1.col2 ---- 80 80 80 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT DISTINCT - CASE - cor0.col1 WHEN COALESCE ( + 63, cor0.col2 * col2 ) + cor0.col1 THEN cor0.col1 END AS col1 FROM tab1 AS cor0 GROUP BY cor0.col1 ---- NULL query I rowsort SELECT - 40 FROM tab1 AS cor0 CROSS JOIN tab0 AS cor1 GROUP BY cor0.col1 |
︙ | ︙ | |||
17242 17243 17244 17245 17246 17247 17248 17249 17250 17251 17252 17253 17254 17255 | SELECT ALL COALESCE ( 57, - col2 DIV col0 + + ( 49 ) * cor0.col1 ) AS col0 FROM tab0 AS cor0 GROUP BY cor0.col1, cor0.col0 ---- 57 57 57 skipif mysql # not compatible query I rowsort label-2339 SELECT ALL COALESCE ( 57, - col2 / col0 + + ( 49 ) * cor0.col1 ) AS col0 FROM tab0 AS cor0 GROUP BY cor0.col1, cor0.col0 ---- 57 57 57 | > | 17262 17263 17264 17265 17266 17267 17268 17269 17270 17271 17272 17273 17274 17275 17276 | SELECT ALL COALESCE ( 57, - col2 DIV col0 + + ( 49 ) * cor0.col1 ) AS col0 FROM tab0 AS cor0 GROUP BY cor0.col1, cor0.col0 ---- 57 57 57 skipif mysql # not compatible skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort label-2339 SELECT ALL COALESCE ( 57, - col2 / col0 + + ( 49 ) * cor0.col1 ) AS col0 FROM tab0 AS cor0 GROUP BY cor0.col1, cor0.col0 ---- 57 57 57 |
︙ | ︙ | |||
17707 17708 17709 17710 17711 17712 17713 17714 17715 17716 17717 17718 17719 17720 | query I rowsort label-2404 SELECT DISTINCT - cor0.col0 DIV - 73 + COALESCE ( 83, + cor0.col0 + + cor0.col2, cor0.col2 * - cor0.col0 - - cor0.col2 ) FROM tab1 cor0 GROUP BY cor0.col0 ---- 83 84 skipif mysql # not compatible query I rowsort label-2404 SELECT DISTINCT - cor0.col0 / - 73 + COALESCE ( 83, + cor0.col0 + + cor0.col2, cor0.col2 * - cor0.col0 - - cor0.col2 ) FROM tab1 cor0 GROUP BY cor0.col0 ---- 83 84 query I rowsort | > | 17728 17729 17730 17731 17732 17733 17734 17735 17736 17737 17738 17739 17740 17741 17742 | query I rowsort label-2404 SELECT DISTINCT - cor0.col0 DIV - 73 + COALESCE ( 83, + cor0.col0 + + cor0.col2, cor0.col2 * - cor0.col0 - - cor0.col2 ) FROM tab1 cor0 GROUP BY cor0.col0 ---- 83 84 skipif mysql # not compatible skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort label-2404 SELECT DISTINCT - cor0.col0 / - 73 + COALESCE ( 83, + cor0.col0 + + cor0.col2, cor0.col2 * - cor0.col0 - - cor0.col2 ) FROM tab1 cor0 GROUP BY cor0.col0 ---- 83 84 query I rowsort |
︙ | ︙ | |||
18049 18050 18051 18052 18053 18054 18055 18056 18057 18058 18059 18060 18061 18062 | query I rowsort label-2446 SELECT - 91 / 55 + + cor0.col0 FROM tab0 AS cor0 GROUP BY cor0.col0 ---- 25 42 82 query I rowsort SELECT ALL COALESCE ( - 13, + cor1.col2, - cor1.col2 ) FROM tab0 AS cor0 CROSS JOIN tab0 AS cor1 GROUP BY cor1.col1 ---- -13 -13 query I rowsort | > | 18071 18072 18073 18074 18075 18076 18077 18078 18079 18080 18081 18082 18083 18084 18085 | query I rowsort label-2446 SELECT - 91 / 55 + + cor0.col0 FROM tab0 AS cor0 GROUP BY cor0.col0 ---- 25 42 82 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT ALL COALESCE ( - 13, + cor1.col2, - cor1.col2 ) FROM tab0 AS cor0 CROSS JOIN tab0 AS cor1 GROUP BY cor1.col1 ---- -13 -13 query I rowsort |
︙ | ︙ | |||
18242 18243 18244 18245 18246 18247 18248 18249 18250 18251 18252 18253 18254 18255 | onlyif mysql # DIV for integer division: query I rowsort label-2470 SELECT DISTINCT + COALESCE ( + 98, cor0.col2, + cor0.col2 DIV 71 + col1 * - cor0.col2 ) FROM tab2 AS cor0 GROUP BY cor0.col1 ---- 98 skipif mysql # not compatible query I rowsort label-2470 SELECT DISTINCT + COALESCE ( + 98, cor0.col2, + cor0.col2 / 71 + col1 * - cor0.col2 ) FROM tab2 AS cor0 GROUP BY cor0.col1 ---- 98 query I rowsort SELECT DISTINCT 73 * - cor0.col0 AS col0 FROM tab1 AS cor0 CROSS JOIN tab2 AS cor1 GROUP BY cor0.col0, cor1.col1, cor1.col0 | > | 18265 18266 18267 18268 18269 18270 18271 18272 18273 18274 18275 18276 18277 18278 18279 | onlyif mysql # DIV for integer division: query I rowsort label-2470 SELECT DISTINCT + COALESCE ( + 98, cor0.col2, + cor0.col2 DIV 71 + col1 * - cor0.col2 ) FROM tab2 AS cor0 GROUP BY cor0.col1 ---- 98 skipif mysql # not compatible skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort label-2470 SELECT DISTINCT + COALESCE ( + 98, cor0.col2, + cor0.col2 / 71 + col1 * - cor0.col2 ) FROM tab2 AS cor0 GROUP BY cor0.col1 ---- 98 query I rowsort SELECT DISTINCT 73 * - cor0.col0 AS col0 FROM tab1 AS cor0 CROSS JOIN tab2 AS cor1 GROUP BY cor0.col0, cor1.col1, cor1.col0 |
︙ | ︙ | |||
19311 19312 19313 19314 19315 19316 19317 19318 19319 19320 19321 19322 19323 19324 | -700 query I rowsort SELECT DISTINCT + 3 AS col2 FROM tab0 GROUP BY col0 ---- 3 query I rowsort SELECT DISTINCT COALESCE ( + 75, - cor0.col2 + - cor0.col0, + cor0.col2 ) AS col2 FROM tab2 AS cor0 GROUP BY cor0.col1, cor0.col2 ---- 75 query I rowsort SELECT - 65 * 90 AS col1 FROM tab1 cor0 GROUP BY cor0.col1 | > | 19335 19336 19337 19338 19339 19340 19341 19342 19343 19344 19345 19346 19347 19348 19349 | -700 query I rowsort SELECT DISTINCT + 3 AS col2 FROM tab0 GROUP BY col0 ---- 3 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT DISTINCT COALESCE ( + 75, - cor0.col2 + - cor0.col0, + cor0.col2 ) AS col2 FROM tab2 AS cor0 GROUP BY cor0.col1, cor0.col2 ---- 75 query I rowsort SELECT - 65 * 90 AS col1 FROM tab1 cor0 GROUP BY cor0.col1 |
︙ | ︙ | |||
20221 20222 20223 20224 20225 20226 20227 20228 20229 20230 20231 20232 20233 20234 | query I rowsort SELECT ALL - COALESCE ( tab0.col0, tab0.col0 * tab0.col0 ) FROM tab0 GROUP BY tab0.col0 ---- -26 -43 -83 query I rowsort SELECT COALESCE ( 30, cor0.col1 * - cor0.col1, NULLIF ( - cor0.col2, - cor0.col1 * - CASE - col0 WHEN cor0.col2 THEN cor0.col2 WHEN - ( 78 ) THEN cor0.col0 * - cor0.col0 ELSE NULL END + cor0.col0 * cor0.col2 ) ) AS col1 FROM tab1 cor0 GROUP BY cor0.col2, cor0.col0 ---- 30 30 30 | > | 20246 20247 20248 20249 20250 20251 20252 20253 20254 20255 20256 20257 20258 20259 20260 | query I rowsort SELECT ALL - COALESCE ( tab0.col0, tab0.col0 * tab0.col0 ) FROM tab0 GROUP BY tab0.col0 ---- -26 -43 -83 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT COALESCE ( 30, cor0.col1 * - cor0.col1, NULLIF ( - cor0.col2, - cor0.col1 * - CASE - col0 WHEN cor0.col2 THEN cor0.col2 WHEN - ( 78 ) THEN cor0.col0 * - cor0.col0 ELSE NULL END + cor0.col0 * cor0.col2 ) ) AS col1 FROM tab1 cor0 GROUP BY cor0.col2, cor0.col0 ---- 30 30 30 |
︙ | ︙ | |||
21611 21612 21613 21614 21615 21616 21617 21618 21619 21620 21621 21622 21623 21624 | query I rowsort SELECT tab1.col0 col1 FROM tab1 GROUP BY col0 ---- 22 28 82 query I rowsort SELECT DISTINCT + COALESCE ( - 43, + cor0.col1 - + cor0.col2, + 80 + + cor0.col1 ) AS col1 FROM tab2 AS cor0 GROUP BY cor0.col2 ---- -43 query I rowsort SELECT DISTINCT ( 10 ) AS col2 FROM tab2 AS cor0 GROUP BY cor0.col1 | > | 21637 21638 21639 21640 21641 21642 21643 21644 21645 21646 21647 21648 21649 21650 21651 | query I rowsort SELECT tab1.col0 col1 FROM tab1 GROUP BY col0 ---- 22 28 82 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT DISTINCT + COALESCE ( - 43, + cor0.col1 - + cor0.col2, + 80 + + cor0.col1 ) AS col1 FROM tab2 AS cor0 GROUP BY cor0.col2 ---- -43 query I rowsort SELECT DISTINCT ( 10 ) AS col2 FROM tab2 AS cor0 GROUP BY cor0.col1 |
︙ | ︙ | |||
22030 22031 22032 22033 22034 22035 22036 22037 22038 22039 22040 22041 22042 22043 | query I rowsort SELECT ALL + tab2.col0 * + 25 FROM tab2 GROUP BY tab2.col0 ---- 2275 2300 375 query I rowsort SELECT col2 * COALESCE ( - 62 * - 77, col0 + NULLIF ( cor0.col1 - cor0.col0, - col0 - - cor0.col1 ) ) AS col1 FROM tab2 AS cor0 GROUP BY cor0.col2 ---- 276892 377146 415338 | > | 22057 22058 22059 22060 22061 22062 22063 22064 22065 22066 22067 22068 22069 22070 22071 | query I rowsort SELECT ALL + tab2.col0 * + 25 FROM tab2 GROUP BY tab2.col0 ---- 2275 2300 375 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT col2 * COALESCE ( - 62 * - 77, col0 + NULLIF ( cor0.col1 - cor0.col0, - col0 - - cor0.col1 ) ) AS col1 FROM tab2 AS cor0 GROUP BY cor0.col2 ---- 276892 377146 415338 |
︙ | ︙ | |||
22723 22724 22725 22726 22727 22728 22729 22730 22731 22732 22733 22734 22735 22736 | onlyif mysql # DIV for integer division: query I rowsort label-3085 SELECT DISTINCT COALESCE ( + 5, cor0.col2 + - col2, cor0.col0 * - cor0.col0, cor0.col0 DIV 56 ) AS col2 FROM tab0 AS cor0 GROUP BY cor0.col0 ---- 5 skipif mysql # not compatible query I rowsort label-3085 SELECT DISTINCT COALESCE ( + 5, cor0.col2 + - col2, cor0.col0 * - cor0.col0, cor0.col0 / 56 ) AS col2 FROM tab0 AS cor0 GROUP BY cor0.col0 ---- 5 query I rowsort SELECT DISTINCT + + 73 FROM tab1 GROUP BY tab1.col0 | > | 22751 22752 22753 22754 22755 22756 22757 22758 22759 22760 22761 22762 22763 22764 22765 | onlyif mysql # DIV for integer division: query I rowsort label-3085 SELECT DISTINCT COALESCE ( + 5, cor0.col2 + - col2, cor0.col0 * - cor0.col0, cor0.col0 DIV 56 ) AS col2 FROM tab0 AS cor0 GROUP BY cor0.col0 ---- 5 skipif mysql # not compatible skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort label-3085 SELECT DISTINCT COALESCE ( + 5, cor0.col2 + - col2, cor0.col0 * - cor0.col0, cor0.col0 / 56 ) AS col2 FROM tab0 AS cor0 GROUP BY cor0.col0 ---- 5 query I rowsort SELECT DISTINCT + + 73 FROM tab1 GROUP BY tab1.col0 |
︙ | ︙ | |||
23231 23232 23233 23234 23235 23236 23237 23238 23239 23240 23241 23242 23243 23244 | query I rowsort SELECT + 30 * cor0.col2 + cor0.col1 * NULLIF ( + cor0.col2, cor0.col2 * 58 ) FROM tab0 AS cor0 GROUP BY col1, cor0.col2 ---- 1140 2370 2664 query I rowsort SELECT COALESCE ( 3, - cor0.col1 * + cor0.col1, 76, + cor0.col0 * 65 ) FROM tab1 AS cor0 GROUP BY cor0.col2 ---- 3 3 3 | > | 23260 23261 23262 23263 23264 23265 23266 23267 23268 23269 23270 23271 23272 23273 23274 | query I rowsort SELECT + 30 * cor0.col2 + cor0.col1 * NULLIF ( + cor0.col2, cor0.col2 * 58 ) FROM tab0 AS cor0 GROUP BY col1, cor0.col2 ---- 1140 2370 2664 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT COALESCE ( 3, - cor0.col1 * + cor0.col1, 76, + cor0.col0 * 65 ) FROM tab1 AS cor0 GROUP BY cor0.col2 ---- 3 3 3 |
︙ | ︙ | |||
23839 23840 23841 23842 23843 23844 23845 23846 23847 23848 23849 23850 23851 23852 | query I rowsort SELECT ALL + col1 AS col1 FROM tab0 GROUP BY col1 ---- 0 81 query I rowsort SELECT cor0.col2 + - cor0.col0 * + NULLIF ( COALESCE ( cor0.col2, - 37, + ( - cor0.col0 ) + cor0.col1 ) - + 9, - 15 ) AS col0 FROM tab0 cor0 GROUP BY cor0.col0, cor0.col2 ---- -1741 -2369 -621 | > | 23869 23870 23871 23872 23873 23874 23875 23876 23877 23878 23879 23880 23881 23882 23883 | query I rowsort SELECT ALL + col1 AS col1 FROM tab0 GROUP BY col1 ---- 0 81 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT cor0.col2 + - cor0.col0 * + NULLIF ( COALESCE ( cor0.col2, - 37, + ( - cor0.col0 ) + cor0.col1 ) - + 9, - 15 ) AS col0 FROM tab0 cor0 GROUP BY cor0.col0, cor0.col2 ---- -1741 -2369 -621 |
︙ | ︙ | |||
25296 25297 25298 25299 25300 25301 25302 25303 25304 25305 25306 25307 25308 25309 | query I rowsort SELECT ALL + 57 FROM tab1 GROUP BY tab1.col0 ---- 57 57 57 query I rowsort SELECT DISTINCT COALESCE ( - 98, + cor0.col2 + cor0.col1, col1 + + cor0.col2, - cor0.col1 ) AS col1 FROM tab2 AS cor0 GROUP BY cor0.col0 ---- -98 query I rowsort SELECT DISTINCT + 57 FROM tab0 GROUP BY tab0.col1 | > | 25327 25328 25329 25330 25331 25332 25333 25334 25335 25336 25337 25338 25339 25340 25341 | query I rowsort SELECT ALL + 57 FROM tab1 GROUP BY tab1.col0 ---- 57 57 57 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT DISTINCT COALESCE ( - 98, + cor0.col2 + cor0.col1, col1 + + cor0.col2, - cor0.col1 ) AS col1 FROM tab2 AS cor0 GROUP BY cor0.col0 ---- -98 query I rowsort SELECT DISTINCT + 57 FROM tab0 GROUP BY tab0.col1 |
︙ | ︙ | |||
26031 26032 26033 26034 26035 26036 26037 26038 26039 26040 26041 26042 26043 26044 | query I rowsort SELECT ALL + 43 FROM tab2 AS cor0 CROSS JOIN tab1 AS cor1 GROUP BY cor0.col2, cor0.col0 ---- 43 43 43 query I rowsort SELECT DISTINCT cor0.col2 * COALESCE ( + 40, + cor0.col0 + cor0.col0 ) FROM tab2 AS cor0 GROUP BY cor0.col2 ---- 2320 3160 3480 | > | 26063 26064 26065 26066 26067 26068 26069 26070 26071 26072 26073 26074 26075 26076 26077 | query I rowsort SELECT ALL + 43 FROM tab2 AS cor0 CROSS JOIN tab1 AS cor1 GROUP BY cor0.col2, cor0.col0 ---- 43 43 43 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT DISTINCT cor0.col2 * COALESCE ( + 40, + cor0.col0 + cor0.col0 ) FROM tab2 AS cor0 GROUP BY cor0.col2 ---- 2320 3160 3480 |
︙ | ︙ | |||
26624 26625 26626 26627 26628 26629 26630 26631 26632 26633 26634 26635 26636 26637 | SELECT ALL + ( + COALESCE ( 27, cor0.col2 DIV cor0.col1, - 39 + cor0.col0 ) ) AS col1 FROM tab2 AS cor0 GROUP BY cor0.col1 ---- 27 27 27 skipif mysql # not compatible query I rowsort label-3616 SELECT ALL + ( + COALESCE ( 27, cor0.col2 / cor0.col1, - 39 + cor0.col0 ) ) AS col1 FROM tab2 AS cor0 GROUP BY cor0.col1 ---- 27 27 27 | > | 26657 26658 26659 26660 26661 26662 26663 26664 26665 26666 26667 26668 26669 26670 26671 | SELECT ALL + ( + COALESCE ( 27, cor0.col2 DIV cor0.col1, - 39 + cor0.col0 ) ) AS col1 FROM tab2 AS cor0 GROUP BY cor0.col1 ---- 27 27 27 skipif mysql # not compatible skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort label-3616 SELECT ALL + ( + COALESCE ( 27, cor0.col2 / cor0.col1, - 39 + cor0.col0 ) ) AS col1 FROM tab2 AS cor0 GROUP BY cor0.col1 ---- 27 27 27 |
︙ | ︙ | |||
27776 27777 27778 27779 27780 27781 27782 27783 27784 27785 27786 27787 27788 27789 | query I rowsort SELECT ALL tab2.col2 FROM tab2 GROUP BY col2 ---- 58 79 87 query I rowsort SELECT ALL + COALESCE ( 74, - cor0.col2, - cor0.col0 * cor0.col2 ) AS col0 FROM tab2 AS cor0 GROUP BY cor0.col2 ---- 74 74 74 | > | 27810 27811 27812 27813 27814 27815 27816 27817 27818 27819 27820 27821 27822 27823 27824 | query I rowsort SELECT ALL tab2.col2 FROM tab2 GROUP BY col2 ---- 58 79 87 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT ALL + COALESCE ( 74, - cor0.col2, - cor0.col0 * cor0.col2 ) AS col0 FROM tab2 AS cor0 GROUP BY cor0.col2 ---- 74 74 74 |
︙ | ︙ | |||
28464 28465 28466 28467 28468 28469 28470 28471 28472 28473 28474 28475 28476 28477 | SELECT COALESCE ( 51, - col0 + - cor0.col1, - CASE - cor0.col1 WHEN + cor0.col1 + - 44 THEN NULL WHEN cor0.col2 THEN + cor0.col1 + - CASE + COALESCE ( + col0, - col1 ) WHEN COALESCE ( + cor0.col1, cor0.col0 / CAST( 7 AS SIGNED ) ) * + cor0.col1 THEN + cor0.col0 END * - cor0.col0 WHEN cor0.col1 THEN NULL WHEN cor0.col0 THEN NULL END ) * 78 FROM tab2 cor0 GROUP BY cor0.col2 ---- 3978 3978 3978 skipif mysql # not compatible query I rowsort label-3865 SELECT COALESCE ( 51, - col0 + - cor0.col1, - CASE - cor0.col1 WHEN + cor0.col1 + - 44 THEN NULL WHEN cor0.col2 THEN + cor0.col1 + - CASE + COALESCE ( + col0, - col1 ) WHEN COALESCE ( + cor0.col1, cor0.col0 / CAST ( 7 AS INTEGER ) ) * + cor0.col1 THEN + cor0.col0 END * - cor0.col0 WHEN cor0.col1 THEN NULL WHEN cor0.col0 THEN NULL END ) * 78 FROM tab2 cor0 GROUP BY cor0.col2 ---- 3978 3978 3978 | > | 28499 28500 28501 28502 28503 28504 28505 28506 28507 28508 28509 28510 28511 28512 28513 | SELECT COALESCE ( 51, - col0 + - cor0.col1, - CASE - cor0.col1 WHEN + cor0.col1 + - 44 THEN NULL WHEN cor0.col2 THEN + cor0.col1 + - CASE + COALESCE ( + col0, - col1 ) WHEN COALESCE ( + cor0.col1, cor0.col0 / CAST( 7 AS SIGNED ) ) * + cor0.col1 THEN + cor0.col0 END * - cor0.col0 WHEN cor0.col1 THEN NULL WHEN cor0.col0 THEN NULL END ) * 78 FROM tab2 cor0 GROUP BY cor0.col2 ---- 3978 3978 3978 skipif mysql # not compatible skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort label-3865 SELECT COALESCE ( 51, - col0 + - cor0.col1, - CASE - cor0.col1 WHEN + cor0.col1 + - 44 THEN NULL WHEN cor0.col2 THEN + cor0.col1 + - CASE + COALESCE ( + col0, - col1 ) WHEN COALESCE ( + cor0.col1, cor0.col0 / CAST ( 7 AS INTEGER ) ) * + cor0.col1 THEN + cor0.col0 END * - cor0.col0 WHEN cor0.col1 THEN NULL WHEN cor0.col0 THEN NULL END ) * 78 FROM tab2 cor0 GROUP BY cor0.col2 ---- 3978 3978 3978 |
︙ | ︙ | |||
28654 28655 28656 28657 28658 28659 28660 28661 28662 28663 28664 28665 28666 28667 | query I rowsort SELECT DISTINCT - col1 - col2 AS col0 FROM tab0 cor0 GROUP BY cor0.col1, cor0.col2 ---- -105 -38 -79 query I rowsort SELECT + COALESCE ( - 38, cor0.col2, col1 + 90 * + cor0.col1 ) FROM tab1 AS cor0 GROUP BY cor0.col0 ---- -38 -38 -38 | > | 28690 28691 28692 28693 28694 28695 28696 28697 28698 28699 28700 28701 28702 28703 28704 | query I rowsort SELECT DISTINCT - col1 - col2 AS col0 FROM tab0 cor0 GROUP BY cor0.col1, cor0.col2 ---- -105 -38 -79 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT + COALESCE ( - 38, cor0.col2, col1 + 90 * + cor0.col1 ) FROM tab1 AS cor0 GROUP BY cor0.col0 ---- -38 -38 -38 |
︙ | ︙ | |||
28943 28944 28945 28946 28947 28948 28949 28950 28951 28952 28953 28954 28955 28956 | query I rowsort SELECT + 55 AS col0 FROM tab2 GROUP BY tab2.col0 ---- 55 55 55 query I rowsort SELECT DISTINCT + COALESCE ( - 85, + cor0.col2 + + 3 * + cor0.col0, 58, + cor0.col1 + ( cor0.col2 - cor0.col0 ) ) FROM tab2 AS cor0 GROUP BY cor0.col1 ---- -85 query I rowsort SELECT DISTINCT - cor1.col1 FROM tab2 AS cor0 CROSS JOIN tab2 AS cor1 GROUP BY cor0.col1, cor1.col1 | > | 28980 28981 28982 28983 28984 28985 28986 28987 28988 28989 28990 28991 28992 28993 28994 | query I rowsort SELECT + 55 AS col0 FROM tab2 GROUP BY tab2.col0 ---- 55 55 55 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT DISTINCT + COALESCE ( - 85, + cor0.col2 + + 3 * + cor0.col0, 58, + cor0.col1 + ( cor0.col2 - cor0.col0 ) ) FROM tab2 AS cor0 GROUP BY cor0.col1 ---- -85 query I rowsort SELECT DISTINCT - cor1.col1 FROM tab2 AS cor0 CROSS JOIN tab2 AS cor1 GROUP BY cor0.col1, cor1.col1 |
︙ | ︙ | |||
29938 29939 29940 29941 29942 29943 29944 29945 29946 29947 29948 29949 29950 29951 29952 29953 29954 29955 29956 29957 29958 29959 29960 29961 29962 29963 29964 29965 29966 29967 | SELECT COALESCE ( 76, - tab1.col1 DIV - col0 ) FROM tab1 GROUP BY tab1.col1 ---- 76 76 76 skipif mysql # not compatible query I rowsort label-4068 SELECT COALESCE ( 76, - tab1.col1 / - col0 ) FROM tab1 GROUP BY tab1.col1 ---- 76 76 76 onlyif mysql # DIV for integer division: query I rowsort label-4069 SELECT + cor0.col0 DIV + COALESCE ( - 39, cor0.col2 ) AS col2 FROM tab1 AS cor0 GROUP BY cor0.col0 ---- -2 0 0 skipif mysql # not compatible query I rowsort label-4069 SELECT + cor0.col0 / + COALESCE ( - 39, cor0.col2 ) AS col2 FROM tab1 AS cor0 GROUP BY cor0.col0 ---- -2 0 0 | > > | 29976 29977 29978 29979 29980 29981 29982 29983 29984 29985 29986 29987 29988 29989 29990 29991 29992 29993 29994 29995 29996 29997 29998 29999 30000 30001 30002 30003 30004 30005 30006 30007 | SELECT COALESCE ( 76, - tab1.col1 DIV - col0 ) FROM tab1 GROUP BY tab1.col1 ---- 76 76 76 skipif mysql # not compatible skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort label-4068 SELECT COALESCE ( 76, - tab1.col1 / - col0 ) FROM tab1 GROUP BY tab1.col1 ---- 76 76 76 onlyif mysql # DIV for integer division: query I rowsort label-4069 SELECT + cor0.col0 DIV + COALESCE ( - 39, cor0.col2 ) AS col2 FROM tab1 AS cor0 GROUP BY cor0.col0 ---- -2 0 0 skipif mysql # not compatible skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort label-4069 SELECT + cor0.col0 / + COALESCE ( - 39, cor0.col2 ) AS col2 FROM tab1 AS cor0 GROUP BY cor0.col0 ---- -2 0 0 |
︙ | ︙ | |||
30127 30128 30129 30130 30131 30132 30133 30134 30135 30136 30137 30138 30139 30140 | query I rowsort SELECT DISTINCT NULLIF ( - col2, cor0.col1 ) col1 FROM tab0 AS cor0 GROUP BY cor0.col2, cor0.col1 ---- -24 -38 -79 query I rowsort SELECT CASE col2 WHEN + 52 THEN - 52 * cor0.col2 END col0 FROM tab1 cor0 GROUP BY col2, cor0.col2 ---- NULL NULL NULL | > | 30167 30168 30169 30170 30171 30172 30173 30174 30175 30176 30177 30178 30179 30180 30181 | query I rowsort SELECT DISTINCT NULLIF ( - col2, cor0.col1 ) col1 FROM tab0 AS cor0 GROUP BY cor0.col2, cor0.col1 ---- -24 -38 -79 skipif postgresql # PostgreSQL requires AS when renaming output columns query I rowsort SELECT CASE col2 WHEN + 52 THEN - 52 * cor0.col2 END col0 FROM tab1 cor0 GROUP BY col2, cor0.col2 ---- NULL NULL NULL |
︙ | ︙ | |||
30211 30212 30213 30214 30215 30216 30217 30218 30219 30220 30221 30222 30223 30224 | query I rowsort SELECT ALL - cor0.col0 FROM tab0 AS cor0 CROSS JOIN tab2 AS cor1 GROUP BY cor0.col0 ---- -26 -43 -83 query I rowsort SELECT DISTINCT ( - COALESCE ( + 12, - tab2.col1 ) ) FROM tab2 GROUP BY col2 ---- -12 query I rowsort SELECT - 65 AS col0 FROM tab2 GROUP BY tab2.col0 | > | 30252 30253 30254 30255 30256 30257 30258 30259 30260 30261 30262 30263 30264 30265 30266 | query I rowsort SELECT ALL - cor0.col0 FROM tab0 AS cor0 CROSS JOIN tab2 AS cor1 GROUP BY cor0.col0 ---- -26 -43 -83 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT DISTINCT ( - COALESCE ( + 12, - tab2.col1 ) ) FROM tab2 GROUP BY col2 ---- -12 query I rowsort SELECT - 65 AS col0 FROM tab2 GROUP BY tab2.col0 |
︙ | ︙ | |||
30389 30390 30391 30392 30393 30394 30395 30396 30397 30398 30399 30400 30401 30402 | 83 query I rowsort SELECT cor0.col2 AS col2 FROM tab1 AS cor0 CROSS JOIN tab2 cor1 GROUP BY cor1.col0, cor0.col2 ---- 9 values hashing to 66267ca705f58a4488972e09499aeb2b query I rowsort SELECT ALL - CASE cor0.col2 WHEN cor0.col2 THEN col2 ELSE cor0.col2 END col2 FROM tab1 cor0 GROUP BY cor0.col2 ---- -45 -71 -8 | > | 30431 30432 30433 30434 30435 30436 30437 30438 30439 30440 30441 30442 30443 30444 30445 | 83 query I rowsort SELECT cor0.col2 AS col2 FROM tab1 AS cor0 CROSS JOIN tab2 cor1 GROUP BY cor1.col0, cor0.col2 ---- 9 values hashing to 66267ca705f58a4488972e09499aeb2b skipif postgresql # PostgreSQL requires AS when renaming output columns query I rowsort SELECT ALL - CASE cor0.col2 WHEN cor0.col2 THEN col2 ELSE cor0.col2 END col2 FROM tab1 cor0 GROUP BY cor0.col2 ---- -45 -71 -8 |
︙ | ︙ | |||
30456 30457 30458 30459 30460 30461 30462 30463 30464 30465 30466 30467 30468 30469 | -64 query I rowsort SELECT DISTINCT + 10 FROM tab1 GROUP BY tab1.col1 ---- 10 query I rowsort SELECT + COALESCE ( 32, - cor0.col2 * cor0.col1, + cor0.col0 ) FROM tab1 AS cor0 GROUP BY col0 ---- 32 32 32 | > | 30499 30500 30501 30502 30503 30504 30505 30506 30507 30508 30509 30510 30511 30512 30513 | -64 query I rowsort SELECT DISTINCT + 10 FROM tab1 GROUP BY tab1.col1 ---- 10 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT + COALESCE ( 32, - cor0.col2 * cor0.col1, + cor0.col0 ) FROM tab1 AS cor0 GROUP BY col0 ---- 32 32 32 |
︙ | ︙ | |||
31067 31068 31069 31070 31071 31072 31073 31074 31075 31076 31077 31078 31079 31080 | query I rowsort SELECT - 93 + 49 FROM tab2 GROUP BY tab2.col2 ---- -44 -44 -44 query I rowsort SELECT COALESCE ( 62, cor0.col1 ) AS col2 FROM tab0 cor0 CROSS JOIN tab2 AS cor1 GROUP BY cor1.col0 ---- 62 62 62 | > | 31111 31112 31113 31114 31115 31116 31117 31118 31119 31120 31121 31122 31123 31124 31125 | query I rowsort SELECT - 93 + 49 FROM tab2 GROUP BY tab2.col2 ---- -44 -44 -44 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT COALESCE ( 62, cor0.col1 ) AS col2 FROM tab0 cor0 CROSS JOIN tab2 AS cor1 GROUP BY cor1.col0 ---- 62 62 62 |
︙ | ︙ | |||
31145 31146 31147 31148 31149 31150 31151 31152 31153 31154 31155 31156 31157 31158 | query I rowsort SELECT ALL - 78 FROM tab0 AS cor0 CROSS JOIN tab1 AS cor1 GROUP BY cor1.col0 ---- -78 -78 -78 query I rowsort SELECT COALESCE ( 29, - col1 + NULLIF ( + cor0.col0 + - 92, - cor0.col1 ) * 75, + 9, + cor0.col1 + + cor0.col0 ) + + cor0.col1 AS col0 FROM tab0 AS cor0 GROUP BY cor0.col1 ---- 110 29 skipif postgresql # PostgreSQL requires AS when renaming output columns | > | 31190 31191 31192 31193 31194 31195 31196 31197 31198 31199 31200 31201 31202 31203 31204 | query I rowsort SELECT ALL - 78 FROM tab0 AS cor0 CROSS JOIN tab1 AS cor1 GROUP BY cor1.col0 ---- -78 -78 -78 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT COALESCE ( 29, - col1 + NULLIF ( + cor0.col0 + - 92, - cor0.col1 ) * 75, + 9, + cor0.col1 + + cor0.col0 ) + + cor0.col1 AS col0 FROM tab0 AS cor0 GROUP BY cor0.col1 ---- 110 29 skipif postgresql # PostgreSQL requires AS when renaming output columns |
︙ | ︙ | |||
31213 31214 31215 31216 31217 31218 31219 31220 31221 31222 31223 31224 31225 31226 | query I rowsort SELECT ALL 57 * - 24 FROM tab1 AS cor0 GROUP BY cor0.col0 ---- -1368 -1368 -1368 query I rowsort SELECT COALESCE ( - 54, cor0.col0 + - cor0.col1 ) AS col1 FROM tab0 AS cor0 GROUP BY cor0.col0 ---- -54 -54 -54 | > | 31259 31260 31261 31262 31263 31264 31265 31266 31267 31268 31269 31270 31271 31272 31273 | query I rowsort SELECT ALL 57 * - 24 FROM tab1 AS cor0 GROUP BY cor0.col0 ---- -1368 -1368 -1368 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT COALESCE ( - 54, cor0.col0 + - cor0.col1 ) AS col1 FROM tab0 AS cor0 GROUP BY cor0.col0 ---- -54 -54 -54 |
︙ | ︙ | |||
31289 31290 31291 31292 31293 31294 31295 31296 31297 31298 31299 31300 31301 31302 | SELECT DISTINCT - cor0.col2 * CASE 41 WHEN + 82 THEN col1 DIV 13 ELSE 38 END AS col0 FROM tab1 AS cor0 GROUP BY cor0.col2 ---- -1710 -2698 -304 skipif mysql # not compatible query I rowsort label-4254 SELECT DISTINCT - cor0.col2 * CASE 41 WHEN + 82 THEN col1 / 13 ELSE 38 END AS col0 FROM tab1 AS cor0 GROUP BY cor0.col2 ---- -1710 -2698 -304 | > | 31336 31337 31338 31339 31340 31341 31342 31343 31344 31345 31346 31347 31348 31349 31350 | SELECT DISTINCT - cor0.col2 * CASE 41 WHEN + 82 THEN col1 DIV 13 ELSE 38 END AS col0 FROM tab1 AS cor0 GROUP BY cor0.col2 ---- -1710 -2698 -304 skipif mysql # not compatible skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort label-4254 SELECT DISTINCT - cor0.col2 * CASE 41 WHEN + 82 THEN col1 / 13 ELSE 38 END AS col0 FROM tab1 AS cor0 GROUP BY cor0.col2 ---- -1710 -2698 -304 |
︙ | ︙ | |||
31395 31396 31397 31398 31399 31400 31401 31402 31403 31404 31405 31406 31407 31408 | onlyif mysql # CAST syntax: SIGNED type: query I rowsort label-4268 SELECT DISTINCT COALESCE ( - 46, cor0.col1, + cor0.col2, cor0.col2 * cor0.col1 - + col0 ) * + CAST( NULL AS SIGNED ) AS col0 FROM tab0 AS cor0 GROUP BY cor0.col1 ---- NULL skipif mysql # not compatible query I rowsort label-4268 SELECT DISTINCT COALESCE ( - 46, cor0.col1, + cor0.col2, cor0.col2 * cor0.col1 - + col0 ) * + CAST ( NULL AS INTEGER ) AS col0 FROM tab0 AS cor0 GROUP BY cor0.col1 ---- NULL query I rowsort SELECT ALL + cor0.col0 AS col0 FROM tab1, tab2 AS cor0 GROUP BY cor0.col0 | > | 31443 31444 31445 31446 31447 31448 31449 31450 31451 31452 31453 31454 31455 31456 31457 | onlyif mysql # CAST syntax: SIGNED type: query I rowsort label-4268 SELECT DISTINCT COALESCE ( - 46, cor0.col1, + cor0.col2, cor0.col2 * cor0.col1 - + col0 ) * + CAST( NULL AS SIGNED ) AS col0 FROM tab0 AS cor0 GROUP BY cor0.col1 ---- NULL skipif mysql # not compatible skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort label-4268 SELECT DISTINCT COALESCE ( - 46, cor0.col1, + cor0.col2, cor0.col2 * cor0.col1 - + col0 ) * + CAST ( NULL AS INTEGER ) AS col0 FROM tab0 AS cor0 GROUP BY cor0.col1 ---- NULL query I rowsort SELECT ALL + cor0.col0 AS col0 FROM tab1, tab2 AS cor0 GROUP BY cor0.col0 |
︙ | ︙ | |||
31474 31475 31476 31477 31478 31479 31480 31481 31482 31483 31484 31485 31486 31487 | query I rowsort SELECT - 13 FROM tab0 GROUP BY tab0.col2 ---- -13 -13 -13 query I rowsort SELECT CASE 75 WHEN - 96 THEN - cor0.col1 * - ( cor0.col0 ) WHEN cor0.col0 THEN NULL END FROM tab1 AS cor0 GROUP BY cor0.col0 ---- NULL NULL NULL | > | 31523 31524 31525 31526 31527 31528 31529 31530 31531 31532 31533 31534 31535 31536 31537 | query I rowsort SELECT - 13 FROM tab0 GROUP BY tab0.col2 ---- -13 -13 -13 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT CASE 75 WHEN - 96 THEN - cor0.col1 * - ( cor0.col0 ) WHEN cor0.col0 THEN NULL END FROM tab1 AS cor0 GROUP BY cor0.col0 ---- NULL NULL NULL |
︙ | ︙ | |||
31684 31685 31686 31687 31688 31689 31690 31691 31692 31693 31694 31695 31696 31697 | query I rowsort SELECT 63 * col0 FROM tab1 GROUP BY col0 ---- 1386 1764 5166 query I rowsort SELECT COALESCE ( + 47, col2 ) AS col2 FROM tab0 GROUP BY tab0.col1 ---- 47 47 query I rowsort | > | 31734 31735 31736 31737 31738 31739 31740 31741 31742 31743 31744 31745 31746 31747 31748 | query I rowsort SELECT 63 * col0 FROM tab1 GROUP BY col0 ---- 1386 1764 5166 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT COALESCE ( + 47, col2 ) AS col2 FROM tab0 GROUP BY tab0.col1 ---- 47 47 query I rowsort |
︙ | ︙ | |||
33587 33588 33589 33590 33591 33592 33593 33594 33595 33596 33597 33598 33599 33600 | query I rowsort SELECT ALL cor0.col0 + 76 AS col2 FROM tab1 AS cor0 GROUP BY cor0.col0 ---- 104 158 98 query I rowsort SELECT DISTINCT - COALESCE ( 11, + cor0.col0 * cor0.col2 ) FROM tab1 AS cor0 GROUP BY col2 ---- -11 query I rowsort SELECT cor0.col1 * - cor0.col0 FROM tab0 cor0 GROUP BY cor0.col0, cor0.col1 | > | 33638 33639 33640 33641 33642 33643 33644 33645 33646 33647 33648 33649 33650 33651 33652 | query I rowsort SELECT ALL cor0.col0 + 76 AS col2 FROM tab1 AS cor0 GROUP BY cor0.col0 ---- 104 158 98 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT DISTINCT - COALESCE ( 11, + cor0.col0 * cor0.col2 ) FROM tab1 AS cor0 GROUP BY col2 ---- -11 query I rowsort SELECT cor0.col1 * - cor0.col0 FROM tab0 cor0 GROUP BY cor0.col0, cor0.col1 |
︙ | ︙ | |||
35148 35149 35150 35151 35152 35153 35154 35155 35156 35157 35158 35159 35160 35161 | query I rowsort SELECT col1 AS col2 FROM tab0 cor0 GROUP BY col1 ---- 0 81 query I rowsort SELECT COALESCE ( 96, - cor0.col2 ) AS col2 FROM tab0 AS cor0 GROUP BY cor0.col1 ---- 96 96 query I rowsort | > | 35200 35201 35202 35203 35204 35205 35206 35207 35208 35209 35210 35211 35212 35213 35214 | query I rowsort SELECT col1 AS col2 FROM tab0 cor0 GROUP BY col1 ---- 0 81 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT COALESCE ( 96, - cor0.col2 ) AS col2 FROM tab0 AS cor0 GROUP BY cor0.col1 ---- 96 96 query I rowsort |
︙ | ︙ | |||
35626 35627 35628 35629 35630 35631 35632 35633 35634 35635 35636 35637 35638 35639 | query I rowsort SELECT ALL 52 AS col2 FROM tab2 GROUP BY tab2.col2 ---- 52 52 52 query I rowsort SELECT ALL COALESCE ( 63, col2, cor0.col2 * + cor0.col0 + cor0.col0 * cor0.col1 ) AS col1 FROM tab0 AS cor0 GROUP BY cor0.col0, cor0.col0 ---- 63 63 63 | > | 35679 35680 35681 35682 35683 35684 35685 35686 35687 35688 35689 35690 35691 35692 35693 | query I rowsort SELECT ALL 52 AS col2 FROM tab2 GROUP BY tab2.col2 ---- 52 52 52 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT ALL COALESCE ( 63, col2, cor0.col2 * + cor0.col0 + cor0.col0 * cor0.col1 ) AS col1 FROM tab0 AS cor0 GROUP BY cor0.col0, cor0.col0 ---- 63 63 63 |
︙ | ︙ | |||
36535 36536 36537 36538 36539 36540 36541 36542 36543 36544 36545 36546 36547 36548 | query I rowsort SELECT - cor0.col2 * + cor0.col2 AS col1 FROM tab2 AS cor0 GROUP BY col2 ---- -3364 -6241 -7569 query I rowsort SELECT DISTINCT tab1.col1 AS col2 FROM tab1 GROUP BY tab1.col1 HAVING NULL NOT IN ( col2 ) ---- query I rowsort SELECT DISTINCT col1 FROM tab0 GROUP BY tab0.col1 HAVING NOT ( NULL ) IS NULL ---- | > | 36589 36590 36591 36592 36593 36594 36595 36596 36597 36598 36599 36600 36601 36602 36603 | query I rowsort SELECT - cor0.col2 * + cor0.col2 AS col1 FROM tab2 AS cor0 GROUP BY col2 ---- -3364 -6241 -7569 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT DISTINCT tab1.col1 AS col2 FROM tab1 GROUP BY tab1.col1 HAVING NULL NOT IN ( col2 ) ---- query I rowsort SELECT DISTINCT col1 FROM tab0 GROUP BY tab0.col1 HAVING NOT ( NULL ) IS NULL ---- |
︙ | ︙ | |||
36860 36861 36862 36863 36864 36865 36866 36867 36868 36869 36870 36871 36872 36873 | -87 query I rowsort SELECT DISTINCT 65 AS col2 FROM tab2 GROUP BY tab2.col0 ---- 65 query I rowsort SELECT DISTINCT + CASE col2 WHEN + cor0.col1 + - 18 THEN NULL ELSE col1 END col0 FROM tab1 cor0 GROUP BY cor0.col1, cor0.col2 ---- 44 57 6 | > | 36915 36916 36917 36918 36919 36920 36921 36922 36923 36924 36925 36926 36927 36928 36929 | -87 query I rowsort SELECT DISTINCT 65 AS col2 FROM tab2 GROUP BY tab2.col0 ---- 65 skipif postgresql # PostgreSQL requires AS when renaming output columns query I rowsort SELECT DISTINCT + CASE col2 WHEN + cor0.col1 + - 18 THEN NULL ELSE col1 END col0 FROM tab1 cor0 GROUP BY cor0.col1, cor0.col2 ---- 44 57 6 |
︙ | ︙ | |||
38083 38084 38085 38086 38087 38088 38089 38090 38091 38092 38093 38094 38095 38096 | query I rowsort SELECT - 7 * 50 FROM tab0 AS cor0 GROUP BY cor0.col0 ---- -350 -350 -350 query I rowsort SELECT COALESCE ( - 60, - cor0.col2 ) + - 72 * 82 AS col2 FROM tab2 AS cor0 GROUP BY col0 ---- -5964 -5964 -5964 | > | 38139 38140 38141 38142 38143 38144 38145 38146 38147 38148 38149 38150 38151 38152 38153 | query I rowsort SELECT - 7 * 50 FROM tab0 AS cor0 GROUP BY cor0.col0 ---- -350 -350 -350 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT COALESCE ( - 60, - cor0.col2 ) + - 72 * 82 AS col2 FROM tab2 AS cor0 GROUP BY col0 ---- -5964 -5964 -5964 |
︙ | ︙ | |||
38636 38637 38638 38639 38640 38641 38642 38643 38644 38645 38646 38647 38648 38649 | query I rowsort SELECT 16 FROM tab0 cor0 GROUP BY cor0.col2, cor0.col2 ---- 16 16 16 query I rowsort SELECT ALL - COALESCE ( 19, cor0.col1 ) FROM tab1 AS cor0 GROUP BY cor0.col2 ---- -19 -19 -19 | > | 38693 38694 38695 38696 38697 38698 38699 38700 38701 38702 38703 38704 38705 38706 38707 | query I rowsort SELECT 16 FROM tab0 cor0 GROUP BY cor0.col2, cor0.col2 ---- 16 16 16 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT ALL - COALESCE ( 19, cor0.col1 ) FROM tab1 AS cor0 GROUP BY cor0.col2 ---- -19 -19 -19 |
︙ | ︙ | |||
39065 39066 39067 39068 39069 39070 39071 39072 39073 39074 39075 39076 39077 39078 | query I rowsort SELECT ALL - col0 * ( - 87 ) + + 89 col2 FROM tab2 cor0 GROUP BY cor0.col0 ---- 1394 8006 8093 query I rowsort SELECT - COALESCE ( 90, cor1.col1 + 31 ) FROM tab2 AS cor0 CROSS JOIN tab2 cor1 GROUP BY cor1.col0, cor0.col1 ---- 9 values hashing to f6f26b9a04da14807208b93d507095c5 query I rowsort SELECT DISTINCT - 52 - cor0.col2 FROM tab0 AS cor0 GROUP BY cor0.col2, col1, col0 | > | 39123 39124 39125 39126 39127 39128 39129 39130 39131 39132 39133 39134 39135 39136 39137 | query I rowsort SELECT ALL - col0 * ( - 87 ) + + 89 col2 FROM tab2 cor0 GROUP BY cor0.col0 ---- 1394 8006 8093 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT - COALESCE ( 90, cor1.col1 + 31 ) FROM tab2 AS cor0 CROSS JOIN tab2 cor1 GROUP BY cor1.col0, cor0.col1 ---- 9 values hashing to f6f26b9a04da14807208b93d507095c5 query I rowsort SELECT DISTINCT - 52 - cor0.col2 FROM tab0 AS cor0 GROUP BY cor0.col2, col1, col0 |
︙ | ︙ | |||
39329 39330 39331 39332 39333 39334 39335 39336 39337 39338 39339 39340 39341 39342 | 51 query I rowsort SELECT DISTINCT 69 + 36 AS col1 FROM tab1 AS cor0 GROUP BY cor0.col2 ---- 105 query I rowsort SELECT - COALESCE ( + 39, col1 + - 65 ) FROM tab2 AS cor0 GROUP BY col2, cor0.col2 ---- -39 -39 -39 | > | 39388 39389 39390 39391 39392 39393 39394 39395 39396 39397 39398 39399 39400 39401 39402 | 51 query I rowsort SELECT DISTINCT 69 + 36 AS col1 FROM tab1 AS cor0 GROUP BY cor0.col2 ---- 105 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT - COALESCE ( + 39, col1 + - 65 ) FROM tab2 AS cor0 GROUP BY col2, cor0.col2 ---- -39 -39 -39 |
︙ | ︙ | |||
40147 40148 40149 40150 40151 40152 40153 40154 40155 40156 40157 40158 40159 40160 | -79 query I rowsort SELECT DISTINCT 36 AS col0 FROM tab1 AS cor0 GROUP BY cor0.col0 ---- 36 query I rowsort SELECT + NULLIF ( COALESCE ( cor0.col0, 94, cor0.col1 * cor0.col0 + + cor0.col0 * 33 ), + 90 ) FROM tab2 AS cor0 GROUP BY cor0.col0, col0 ---- 15 91 92 | > | 40207 40208 40209 40210 40211 40212 40213 40214 40215 40216 40217 40218 40219 40220 40221 | -79 query I rowsort SELECT DISTINCT 36 AS col0 FROM tab1 AS cor0 GROUP BY cor0.col0 ---- 36 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT + NULLIF ( COALESCE ( cor0.col0, 94, cor0.col1 * cor0.col0 + + cor0.col0 * 33 ), + 90 ) FROM tab2 AS cor0 GROUP BY cor0.col0, col0 ---- 15 91 92 |
︙ | ︙ | |||
40959 40960 40961 40962 40963 40964 40965 40966 40967 40968 40969 40970 40971 40972 | query I rowsort SELECT + 13 AS col2 FROM tab0 AS cor0 GROUP BY cor0.col0 ---- 13 13 13 query I rowsort SELECT ALL + COALESCE ( + 26, + cor0.col1, + 66, + col2 ) FROM tab2 AS cor0 GROUP BY col1 ---- 26 26 26 | > | 41020 41021 41022 41023 41024 41025 41026 41027 41028 41029 41030 41031 41032 41033 41034 | query I rowsort SELECT + 13 AS col2 FROM tab0 AS cor0 GROUP BY cor0.col0 ---- 13 13 13 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT ALL + COALESCE ( + 26, + cor0.col1, + 66, + col2 ) FROM tab2 AS cor0 GROUP BY col1 ---- 26 26 26 |
︙ | ︙ | |||
41107 41108 41109 41110 41111 41112 41113 41114 41115 41116 41117 41118 41119 41120 | query I rowsort SELECT ALL 84 AS col1 FROM tab0 AS cor0 GROUP BY cor0.col2 ---- 84 84 84 query I rowsort SELECT - COALESCE ( + 11, cor0.col1 + + cor0.col2, 62 ) FROM tab2 AS cor0 GROUP BY cor0.col2 ---- -11 -11 -11 | > | 41169 41170 41171 41172 41173 41174 41175 41176 41177 41178 41179 41180 41181 41182 41183 | query I rowsort SELECT ALL 84 AS col1 FROM tab0 AS cor0 GROUP BY cor0.col2 ---- 84 84 84 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT - COALESCE ( + 11, cor0.col1 + + cor0.col2, 62 ) FROM tab2 AS cor0 GROUP BY cor0.col2 ---- -11 -11 -11 |
︙ | ︙ | |||
42414 42415 42416 42417 42418 42419 42420 42421 42422 42423 42424 42425 42426 42427 | query I rowsort SELECT ALL 85 FROM tab1 AS cor0 GROUP BY cor0.col2 ---- 85 85 85 query I rowsort SELECT 66 + COALESCE ( + 68, + cor0.col2 * + 81 ) FROM tab1 AS cor0 GROUP BY col1 ---- 134 134 134 | > | 42477 42478 42479 42480 42481 42482 42483 42484 42485 42486 42487 42488 42489 42490 42491 | query I rowsort SELECT ALL 85 FROM tab1 AS cor0 GROUP BY cor0.col2 ---- 85 85 85 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT 66 + COALESCE ( + 68, + cor0.col2 * + 81 ) FROM tab1 AS cor0 GROUP BY col1 ---- 134 134 134 |
︙ | ︙ | |||
44091 44092 44093 44094 44095 44096 44097 44098 44099 44100 44101 44102 44103 44104 | onlyif mysql # DIV for integer division: query I rowsort label-6014 SELECT DISTINCT + COALESCE ( 96, col0, cor0.col1 + cor0.col2 DIV - cor0.col0 ) AS col0 FROM tab0 AS cor0 GROUP BY cor0.col1 ---- 96 skipif mysql # not compatible query I rowsort label-6014 SELECT DISTINCT + COALESCE ( 96, col0, cor0.col1 + cor0.col2 / - cor0.col0 ) AS col0 FROM tab0 AS cor0 GROUP BY cor0.col1 ---- 96 query I rowsort SELECT + 79 FROM tab2 cor0 GROUP BY cor0.col1 | > | 44155 44156 44157 44158 44159 44160 44161 44162 44163 44164 44165 44166 44167 44168 44169 | onlyif mysql # DIV for integer division: query I rowsort label-6014 SELECT DISTINCT + COALESCE ( 96, col0, cor0.col1 + cor0.col2 DIV - cor0.col0 ) AS col0 FROM tab0 AS cor0 GROUP BY cor0.col1 ---- 96 skipif mysql # not compatible skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort label-6014 SELECT DISTINCT + COALESCE ( 96, col0, cor0.col1 + cor0.col2 / - cor0.col0 ) AS col0 FROM tab0 AS cor0 GROUP BY cor0.col1 ---- 96 query I rowsort SELECT + 79 FROM tab2 cor0 GROUP BY cor0.col1 |
︙ | ︙ | |||
46390 46391 46392 46393 46394 46395 46396 46397 46398 46399 46400 46401 46402 46403 | query I rowsort SELECT 91 - cor0.col0 FROM tab0 cor0 GROUP BY cor0.col0 ---- 48 65 8 query I rowsort SELECT + COALESCE ( - 71, cor0.col2 ) AS col2 FROM tab2 AS cor0 GROUP BY cor0.col0 ---- -71 -71 -71 | > | 46455 46456 46457 46458 46459 46460 46461 46462 46463 46464 46465 46466 46467 46468 46469 | query I rowsort SELECT 91 - cor0.col0 FROM tab0 cor0 GROUP BY cor0.col0 ---- 48 65 8 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT + COALESCE ( - 71, cor0.col2 ) AS col2 FROM tab2 AS cor0 GROUP BY cor0.col0 ---- -71 -71 -71 |
︙ | ︙ | |||
46664 46665 46666 46667 46668 46669 46670 46671 46672 46673 46674 46675 46676 46677 | query I rowsort SELECT DISTINCT - cor0.col0 * + COALESCE ( 19, - col0 * + cor0.col0 + cor0.col1, cor0.col1 ) FROM tab0 AS cor0 GROUP BY col0, cor0.col1 ---- -1577 -494 -817 query I rowsort SELECT ALL + COALESCE ( - 92, - cor0.col2 ) FROM tab0 AS cor0 GROUP BY cor0.col1 ---- -92 -92 query I rowsort | > | 46730 46731 46732 46733 46734 46735 46736 46737 46738 46739 46740 46741 46742 46743 46744 | query I rowsort SELECT DISTINCT - cor0.col0 * + COALESCE ( 19, - col0 * + cor0.col0 + cor0.col1, cor0.col1 ) FROM tab0 AS cor0 GROUP BY col0, cor0.col1 ---- -1577 -494 -817 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT ALL + COALESCE ( - 92, - cor0.col2 ) FROM tab0 AS cor0 GROUP BY cor0.col1 ---- -92 -92 query I rowsort |
︙ | ︙ | |||
46998 46999 47000 47001 47002 47003 47004 47005 47006 47007 47008 47009 47010 47011 | query I rowsort SELECT ( COALESCE ( - cor0.col0, 56 + + cor0.col0 ) ) FROM tab2 AS cor0 GROUP BY cor0.col0 ---- -15 -91 -92 query I rowsort SELECT DISTINCT COALESCE ( + 98, cor0.col1, cor0.col2 * - 54, 94 - - cor0.col1 ) FROM tab2 AS cor0 GROUP BY cor0.col0, cor0.col1, col0 ---- 98 query I rowsort SELECT DISTINCT - cor0.col2 + cor0.col2 FROM tab2 AS cor0 GROUP BY cor0.col2 | > | 47065 47066 47067 47068 47069 47070 47071 47072 47073 47074 47075 47076 47077 47078 47079 | query I rowsort SELECT ( COALESCE ( - cor0.col0, 56 + + cor0.col0 ) ) FROM tab2 AS cor0 GROUP BY cor0.col0 ---- -15 -91 -92 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT DISTINCT COALESCE ( + 98, cor0.col1, cor0.col2 * - 54, 94 - - cor0.col1 ) FROM tab2 AS cor0 GROUP BY cor0.col0, cor0.col1, col0 ---- 98 query I rowsort SELECT DISTINCT - cor0.col2 + cor0.col2 FROM tab2 AS cor0 GROUP BY cor0.col2 |
︙ | ︙ | |||
47557 47558 47559 47560 47561 47562 47563 47564 47565 47566 47567 47568 47569 47570 | query I rowsort SELECT cor0.col1 AS col0 FROM tab1 AS cor0 GROUP BY cor0.col1, cor0.col1, cor0.col2 ---- 44 57 6 query I rowsort SELECT + COALESCE ( - 20, cor0.col2 ) FROM tab0 AS cor0 GROUP BY cor0.col1 ---- -20 -20 query I rowsort | > | 47625 47626 47627 47628 47629 47630 47631 47632 47633 47634 47635 47636 47637 47638 47639 | query I rowsort SELECT cor0.col1 AS col0 FROM tab1 AS cor0 GROUP BY cor0.col1, cor0.col1, cor0.col2 ---- 44 57 6 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT + COALESCE ( - 20, cor0.col2 ) FROM tab0 AS cor0 GROUP BY cor0.col1 ---- -20 -20 query I rowsort |
︙ | ︙ | |||
47687 47688 47689 47690 47691 47692 47693 47694 47695 47696 47697 47698 47699 47700 | 0 query I rowsort SELECT DISTINCT 89 AS col2 FROM tab0 AS cor0 GROUP BY cor0.col1 ---- 89 query I rowsort SELECT DISTINCT - + COALESCE ( 91, tab0.col2 ) * 85 FROM tab0 GROUP BY tab0.col0 ---- -7735 query I rowsort SELECT ALL + 7 + cor0.col1 FROM tab0 AS cor0 GROUP BY cor0.col0, cor0.col1 | > | 47756 47757 47758 47759 47760 47761 47762 47763 47764 47765 47766 47767 47768 47769 47770 | 0 query I rowsort SELECT DISTINCT 89 AS col2 FROM tab0 AS cor0 GROUP BY cor0.col1 ---- 89 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT DISTINCT - + COALESCE ( 91, tab0.col2 ) * 85 FROM tab0 GROUP BY tab0.col0 ---- -7735 query I rowsort SELECT ALL + 7 + cor0.col1 FROM tab0 AS cor0 GROUP BY cor0.col0, cor0.col1 |
︙ | ︙ | |||
48330 48331 48332 48333 48334 48335 48336 48337 48338 48339 48340 48341 48342 48343 | query I rowsort label-6590 SELECT ALL + 65 / - 76 AS col2 FROM tab0, tab2 cor0 GROUP BY cor0.col2 ---- 0 0 0 query I rowsort SELECT DISTINCT cor0.col0 + COALESCE ( + ( 74 ), - cor0.col0 * 18, + cor0.col0 + + cor0.col1 ) FROM tab2 AS cor0 GROUP BY cor0.col0 ---- 165 166 89 | > | 48400 48401 48402 48403 48404 48405 48406 48407 48408 48409 48410 48411 48412 48413 48414 | query I rowsort label-6590 SELECT ALL + 65 / - 76 AS col2 FROM tab0, tab2 cor0 GROUP BY cor0.col2 ---- 0 0 0 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT DISTINCT cor0.col0 + COALESCE ( + ( 74 ), - cor0.col0 * 18, + cor0.col0 + + cor0.col1 ) FROM tab2 AS cor0 GROUP BY cor0.col0 ---- 165 166 89 |
︙ | ︙ | |||
49182 49183 49184 49185 49186 49187 49188 49189 49190 49191 49192 49193 49194 49195 | query I rowsort label-6699 SELECT DISTINCT - - COALESCE ( col1, CAST( + 52 AS SIGNED ) + 63, + tab0.col0 * tab0.col0 ) FROM tab0 GROUP BY col1 ---- 0 81 skipif mysql # not compatible query I rowsort label-6699 SELECT DISTINCT - - COALESCE ( col1, CAST ( + 52 AS INTEGER ) + 63, + tab0.col0 * tab0.col0 ) FROM tab0 GROUP BY col1 ---- 0 81 onlyif mysql # DIV for integer division: | > | 49253 49254 49255 49256 49257 49258 49259 49260 49261 49262 49263 49264 49265 49266 49267 | query I rowsort label-6699 SELECT DISTINCT - - COALESCE ( col1, CAST( + 52 AS SIGNED ) + 63, + tab0.col0 * tab0.col0 ) FROM tab0 GROUP BY col1 ---- 0 81 skipif mysql # not compatible skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort label-6699 SELECT DISTINCT - - COALESCE ( col1, CAST ( + 52 AS INTEGER ) + 63, + tab0.col0 * tab0.col0 ) FROM tab0 GROUP BY col1 ---- 0 81 onlyif mysql # DIV for integer division: |
︙ | ︙ | |||
50312 50313 50314 50315 50316 50317 50318 50319 50320 50321 50322 50323 50324 50325 | query I rowsort label-6852 SELECT ALL + cor0.col2 / cor0.col2 AS col0 FROM tab0 AS cor0 GROUP BY cor0.col2 ---- 1 1 1 query I rowsort SELECT ALL COALESCE ( 94, col0 * - CASE - cor0.col2 WHEN col2 + cor0.col2 * cor0.col1 THEN NULL WHEN + col2 THEN NULL ELSE - cor0.col2 END - col2 ) * cor0.col2 + cor0.col2 * cor0.col2 FROM tab2 AS cor0 GROUP BY cor0.col2 ---- 13667 15747 8816 | > | 50384 50385 50386 50387 50388 50389 50390 50391 50392 50393 50394 50395 50396 50397 50398 | query I rowsort label-6852 SELECT ALL + cor0.col2 / cor0.col2 AS col0 FROM tab0 AS cor0 GROUP BY cor0.col2 ---- 1 1 1 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT ALL COALESCE ( 94, col0 * - CASE - cor0.col2 WHEN col2 + cor0.col2 * cor0.col1 THEN NULL WHEN + col2 THEN NULL ELSE - cor0.col2 END - col2 ) * cor0.col2 + cor0.col2 * cor0.col2 FROM tab2 AS cor0 GROUP BY cor0.col2 ---- 13667 15747 8816 |
︙ | ︙ | |||
52700 52701 52702 52703 52704 52705 52706 52707 52708 52709 52710 52711 52712 52713 | skipif postgresql # PostgreSQL requires AS when renaming output columns query I rowsort SELECT DISTINCT + - 12 col1 FROM tab1 GROUP BY tab1.col0 ---- -12 query I rowsort SELECT ALL COALESCE ( - 16, cor0.col1 * cor0.col2 ) AS col0 FROM tab1 AS cor0 GROUP BY cor0.col1 ---- -16 -16 -16 | > | 52773 52774 52775 52776 52777 52778 52779 52780 52781 52782 52783 52784 52785 52786 52787 | skipif postgresql # PostgreSQL requires AS when renaming output columns query I rowsort SELECT DISTINCT + - 12 col1 FROM tab1 GROUP BY tab1.col0 ---- -12 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT ALL COALESCE ( - 16, cor0.col1 * cor0.col2 ) AS col0 FROM tab1 AS cor0 GROUP BY cor0.col1 ---- -16 -16 -16 |
︙ | ︙ | |||
58416 58417 58418 58419 58420 58421 58422 58423 58424 58425 58426 58427 58428 58429 | query I rowsort SELECT + cor0.col0 FROM tab1 AS cor0 GROUP BY cor0.col0, cor0.col1 ---- 22 28 82 query I rowsort SELECT ALL COALESCE ( + 24, col0 * cor0.col2 ) AS col1 FROM tab0 AS cor0 GROUP BY cor0.col0 ---- 24 24 24 | > | 58490 58491 58492 58493 58494 58495 58496 58497 58498 58499 58500 58501 58502 58503 58504 | query I rowsort SELECT + cor0.col0 FROM tab1 AS cor0 GROUP BY cor0.col0, cor0.col1 ---- 22 28 82 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT ALL COALESCE ( + 24, col0 * cor0.col2 ) AS col1 FROM tab0 AS cor0 GROUP BY cor0.col0 ---- 24 24 24 |
︙ | ︙ | |||
58965 58966 58967 58968 58969 58970 58971 58972 58973 58974 58975 58976 58977 58978 | query I rowsort SELECT 26 FROM tab0 GROUP BY col1 ---- 26 26 query I rowsort SELECT + COALESCE ( - 67, + cor0.col1 * col0 ) FROM tab0 AS cor0 GROUP BY cor0.col2 ---- -67 -67 -67 | > | 59040 59041 59042 59043 59044 59045 59046 59047 59048 59049 59050 59051 59052 59053 59054 | query I rowsort SELECT 26 FROM tab0 GROUP BY col1 ---- 26 26 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT + COALESCE ( - 67, + cor0.col1 * col0 ) FROM tab0 AS cor0 GROUP BY cor0.col2 ---- -67 -67 -67 |
︙ | ︙ | |||
61358 61359 61360 61361 61362 61363 61364 61365 61366 61367 61368 61369 61370 61371 | query I rowsort SELECT DISTINCT + cor0.col0 * 33 - cor0.col0 AS col0 FROM tab0 AS cor0 GROUP BY cor0.col0 ---- 1376 2656 832 query I rowsort SELECT - COALESCE ( 40, - cor0.col1 ) AS col1 FROM tab2 AS cor0 GROUP BY cor0.col2 ---- -40 -40 -40 | > | 61434 61435 61436 61437 61438 61439 61440 61441 61442 61443 61444 61445 61446 61447 61448 | query I rowsort SELECT DISTINCT + cor0.col0 * 33 - cor0.col0 AS col0 FROM tab0 AS cor0 GROUP BY cor0.col0 ---- 1376 2656 832 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT - COALESCE ( 40, - cor0.col1 ) AS col1 FROM tab2 AS cor0 GROUP BY cor0.col2 ---- -40 -40 -40 |
︙ | ︙ | |||
61421 61422 61423 61424 61425 61426 61427 61428 61429 61430 61431 61432 61433 61434 | query I rowsort SELECT DISTINCT col2 * + 77 FROM tab2 GROUP BY col2 ---- 4466 6083 6699 query I rowsort SELECT COALESCE ( - 94, - cor0.col1 * cor0.col2 ) FROM tab2 AS cor0 GROUP BY cor0.col2, col0 ---- -94 -94 -94 | > | 61498 61499 61500 61501 61502 61503 61504 61505 61506 61507 61508 61509 61510 61511 61512 | query I rowsort SELECT DISTINCT col2 * + 77 FROM tab2 GROUP BY col2 ---- 4466 6083 6699 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT COALESCE ( - 94, - cor0.col1 * cor0.col2 ) FROM tab2 AS cor0 GROUP BY cor0.col2, col0 ---- -94 -94 -94 |
︙ | ︙ | |||
62357 62358 62359 62360 62361 62362 62363 62364 62365 62366 62367 62368 62369 62370 | skipif postgresql # PostgreSQL requires AS when renaming output columns query I rowsort label-8479 SELECT ALL - 25 / 28 col1 FROM tab0 GROUP BY tab0.col1 ---- 0 0 query I rowsort SELECT - COALESCE ( 93, cor0.col1, 38 ) AS col1 FROM tab2 AS cor0 GROUP BY cor0.col0 ---- -93 -93 -93 | > | 62435 62436 62437 62438 62439 62440 62441 62442 62443 62444 62445 62446 62447 62448 62449 | skipif postgresql # PostgreSQL requires AS when renaming output columns query I rowsort label-8479 SELECT ALL - 25 / 28 col1 FROM tab0 GROUP BY tab0.col1 ---- 0 0 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT - COALESCE ( 93, cor0.col1, 38 ) AS col1 FROM tab2 AS cor0 GROUP BY cor0.col0 ---- -93 -93 -93 |
︙ | ︙ | |||
64847 64848 64849 64850 64851 64852 64853 64854 64855 64856 64857 64858 64859 64860 | query I rowsort SELECT ALL + - tab0.col0 AS col1 FROM tab0 GROUP BY tab0.col0 ---- -26 -43 -83 query I rowsort SELECT - COALESCE ( - 22, - tab1.col0 * 21 ) * 21 FROM tab1 GROUP BY tab1.col1 ---- 462 462 462 | > | 64926 64927 64928 64929 64930 64931 64932 64933 64934 64935 64936 64937 64938 64939 64940 | query I rowsort SELECT ALL + - tab0.col0 AS col1 FROM tab0 GROUP BY tab0.col0 ---- -26 -43 -83 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT - COALESCE ( - 22, - tab1.col0 * 21 ) * 21 FROM tab1 GROUP BY tab1.col1 ---- 462 462 462 |
︙ | ︙ | |||
69001 69002 69003 69004 69005 69006 69007 69008 69009 69010 69011 69012 69013 69014 | query I rowsort SELECT + - tab0.col2 AS col0 FROM tab0 GROUP BY col2 ---- -24 -38 -79 query I rowsort SELECT COALESCE ( + 29, cor0.col0, + cor0.col2 * cor0.col1 - + cor0.col1 ) FROM tab0 AS cor0 GROUP BY cor0.col0 ---- 29 29 29 | > | 69081 69082 69083 69084 69085 69086 69087 69088 69089 69090 69091 69092 69093 69094 69095 | query I rowsort SELECT + - tab0.col2 AS col0 FROM tab0 GROUP BY col2 ---- -24 -38 -79 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT COALESCE ( + 29, cor0.col0, + cor0.col2 * cor0.col1 - + cor0.col1 ) FROM tab0 AS cor0 GROUP BY cor0.col0 ---- 29 29 29 |
︙ | ︙ | |||
70953 70954 70955 70956 70957 70958 70959 70960 70961 70962 70963 70964 70965 70966 | query I rowsort SELECT ALL - 87 AS col1 FROM tab1 AS cor0 GROUP BY cor0.col1 ---- -87 -87 -87 query I rowsort SELECT COALESCE ( + 42, col2 + cor0.col2 * col0 ) AS col2 FROM tab1 AS cor0 GROUP BY cor0.col1 ---- 42 42 42 | > | 71034 71035 71036 71037 71038 71039 71040 71041 71042 71043 71044 71045 71046 71047 71048 | query I rowsort SELECT ALL - 87 AS col1 FROM tab1 AS cor0 GROUP BY cor0.col1 ---- -87 -87 -87 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT COALESCE ( + 42, col2 + cor0.col2 * col0 ) AS col2 FROM tab1 AS cor0 GROUP BY cor0.col1 ---- 42 42 42 |
︙ | ︙ | |||
70974 70975 70976 70977 70978 70979 70980 70981 70982 70983 70984 70985 70986 70987 | query I rowsort SELECT 32 AS col0 FROM tab2 cor0 GROUP BY cor0.col1 ---- 32 32 32 query I rowsort SELECT ALL - COALESCE ( 57, cor0.col0, COALESCE ( CASE col0 WHEN - col0 THEN NULL WHEN cor0.col0 * cor0.col2 THEN NULL WHEN + col0 THEN - cor0.col1 END, - 93, cor0.col2 ) ) + + col2 * - cor0.col2 AS col1 FROM tab1 AS cor0 GROUP BY cor0.col2 ---- -121 -2082 -5098 | > | 71056 71057 71058 71059 71060 71061 71062 71063 71064 71065 71066 71067 71068 71069 71070 | query I rowsort SELECT 32 AS col0 FROM tab2 cor0 GROUP BY cor0.col1 ---- 32 32 32 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT ALL - COALESCE ( 57, cor0.col0, COALESCE ( CASE col0 WHEN - col0 THEN NULL WHEN cor0.col0 * cor0.col2 THEN NULL WHEN + col0 THEN - cor0.col1 END, - 93, cor0.col2 ) ) + + col2 * - cor0.col2 AS col1 FROM tab1 AS cor0 GROUP BY cor0.col2 ---- -121 -2082 -5098 |
︙ | ︙ | |||
71459 71460 71461 71462 71463 71464 71465 71466 71467 71468 71469 71470 71471 71472 | 81 query I rowsort SELECT DISTINCT 98 AS col1 FROM tab2 AS cor0 GROUP BY cor0.col1 ---- 98 query I rowsort SELECT DISTINCT COALESCE ( 71, cor0.col2 + - cor0.col2 ) FROM tab2 AS cor0 GROUP BY cor0.col1 ---- 71 query I rowsort SELECT ALL + col0 AS col0 FROM tab1 GROUP BY col0 | > | 71542 71543 71544 71545 71546 71547 71548 71549 71550 71551 71552 71553 71554 71555 71556 | 81 query I rowsort SELECT DISTINCT 98 AS col1 FROM tab2 AS cor0 GROUP BY cor0.col1 ---- 98 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT DISTINCT COALESCE ( 71, cor0.col2 + - cor0.col2 ) FROM tab2 AS cor0 GROUP BY cor0.col1 ---- 71 query I rowsort SELECT ALL + col0 AS col0 FROM tab1 GROUP BY col0 |
︙ | ︙ | |||
72898 72899 72900 72901 72902 72903 72904 72905 72906 72907 72908 72909 72910 72911 | SELECT + COALESCE ( 21, + cor0.col0, - CAST( NULL AS SIGNED ), cor0.col2 + cor0.col1 ) FROM tab2 AS cor0 GROUP BY cor0.col0 ---- 21 21 21 skipif mysql # not compatible query I rowsort label-9945 SELECT + COALESCE ( 21, + cor0.col0, - CAST ( NULL AS INTEGER ), cor0.col2 + cor0.col1 ) FROM tab2 AS cor0 GROUP BY cor0.col0 ---- 21 21 21 | > | 72982 72983 72984 72985 72986 72987 72988 72989 72990 72991 72992 72993 72994 72995 72996 | SELECT + COALESCE ( 21, + cor0.col0, - CAST( NULL AS SIGNED ), cor0.col2 + cor0.col1 ) FROM tab2 AS cor0 GROUP BY cor0.col0 ---- 21 21 21 skipif mysql # not compatible skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort label-9945 SELECT + COALESCE ( 21, + cor0.col0, - CAST ( NULL AS INTEGER ), cor0.col2 + cor0.col1 ) FROM tab2 AS cor0 GROUP BY cor0.col0 ---- 21 21 21 |
︙ | ︙ |
Changes to test/random/groupby/slt_good_10.test.
︙ | ︙ | |||
313 314 315 316 317 318 319 320 321 322 323 324 325 326 | SELECT ALL - AVG ( DISTINCT col0 ) FROM tab2 GROUP BY col2, col0 HAVING NULL IS NOT NULL ---- query I rowsort SELECT col0 AS col1 FROM tab2 WHERE NOT NULL BETWEEN NULL AND NULL GROUP BY col0 ---- query I rowsort SELECT - col2 AS col1 FROM tab1 GROUP BY col2 HAVING NOT NULL BETWEEN + col2 AND AVG ( ALL col1 ) + - col1 ---- skipif postgresql # PostgreSQL requires AS when renaming output columns query I rowsort SELECT DISTINCT - col0 col0 FROM tab0 GROUP BY col0, col1 | > | 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 | SELECT ALL - AVG ( DISTINCT col0 ) FROM tab2 GROUP BY col2, col0 HAVING NULL IS NOT NULL ---- query I rowsort SELECT col0 AS col1 FROM tab2 WHERE NOT NULL BETWEEN NULL AND NULL GROUP BY col0 ---- skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT - col2 AS col1 FROM tab1 GROUP BY col2 HAVING NOT NULL BETWEEN + col2 AND AVG ( ALL col1 ) + - col1 ---- skipif postgresql # PostgreSQL requires AS when renaming output columns query I rowsort SELECT DISTINCT - col0 col0 FROM tab0 GROUP BY col0, col1 |
︙ | ︙ | |||
1176 1177 1178 1179 1180 1181 1182 1183 1184 1185 1186 1187 1188 1189 | query I rowsort SELECT ALL col1 + + col1 AS col0 FROM tab1 GROUP BY col1 HAVING NULL IS NULL ---- 114 12 88 query II rowsort SELECT ALL col0 col0, col0 FROM tab2 GROUP BY col1, col0 ---- 15 15 91 91 | > | 1177 1178 1179 1180 1181 1182 1183 1184 1185 1186 1187 1188 1189 1190 1191 | query I rowsort SELECT ALL col1 + + col1 AS col0 FROM tab1 GROUP BY col1 HAVING NULL IS NULL ---- 114 12 88 skipif postgresql # PostgreSQL requires AS when renaming output columns query II rowsort SELECT ALL col0 col0, col0 FROM tab2 GROUP BY col1, col0 ---- 15 15 91 91 |
︙ | ︙ | |||
1248 1249 1250 1251 1252 1253 1254 1255 1256 1257 1258 1259 1260 1261 | query I rowsort SELECT DISTINCT + + col0 AS col1 FROM tab0 AS cor0 GROUP BY col0 ---- 26 43 83 query I rowsort SELECT ALL col1 AS col2 FROM tab1 GROUP BY col1 HAVING NULL NOT BETWEEN ( + col1 + + col1 ) AND ( + col2 ) ---- query II rowsort SELECT + col2, - col2 AS col1 FROM tab1 GROUP BY col2 HAVING NOT NULL = ( NULL ) ---- | > | 1250 1251 1252 1253 1254 1255 1256 1257 1258 1259 1260 1261 1262 1263 1264 | query I rowsort SELECT DISTINCT + + col0 AS col1 FROM tab0 AS cor0 GROUP BY col0 ---- 26 43 83 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT ALL col1 AS col2 FROM tab1 GROUP BY col1 HAVING NULL NOT BETWEEN ( + col1 + + col1 ) AND ( + col2 ) ---- query II rowsort SELECT + col2, - col2 AS col1 FROM tab1 GROUP BY col2 HAVING NOT NULL = ( NULL ) ---- |
︙ | ︙ | |||
1556 1557 1558 1559 1560 1561 1562 1563 1564 1565 1566 1567 1568 1569 | query I rowsort SELECT + col2 col1 FROM tab1 AS cor0 GROUP BY col2, col2 ---- 45 71 8 query I rowsort SELECT DISTINCT col1 AS col2 FROM tab1 AS cor0 GROUP BY col1 HAVING NULL BETWEEN + col2 AND NULL ---- skipif postgresql # PostgreSQL requires AS when renaming output columns query I rowsort SELECT col0 col0 FROM tab0 GROUP BY col0, col0 | > | 1559 1560 1561 1562 1563 1564 1565 1566 1567 1568 1569 1570 1571 1572 1573 | query I rowsort SELECT + col2 col1 FROM tab1 AS cor0 GROUP BY col2, col2 ---- 45 71 8 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT DISTINCT col1 AS col2 FROM tab1 AS cor0 GROUP BY col1 HAVING NULL BETWEEN + col2 AND NULL ---- skipif postgresql # PostgreSQL requires AS when renaming output columns query I rowsort SELECT col0 col0 FROM tab0 GROUP BY col0, col0 |
︙ | ︙ | |||
1601 1602 1603 1604 1605 1606 1607 1608 1609 1610 1611 1612 1613 1614 | SELECT ALL col0 / col0 AS col1 FROM tab0 AS cor0 GROUP BY col0 HAVING NULL <> NULL ---- query I rowsort SELECT DISTINCT + col2 + col2 * col2 FROM tab1 GROUP BY col2 HAVING ( NULL ) IS NOT NULL ---- query II rowsort SELECT ALL col2 col2, col2 AS col1 FROM tab0 GROUP BY col2 ---- 24 24 38 38 | > | 1605 1606 1607 1608 1609 1610 1611 1612 1613 1614 1615 1616 1617 1618 1619 | SELECT ALL col0 / col0 AS col1 FROM tab0 AS cor0 GROUP BY col0 HAVING NULL <> NULL ---- query I rowsort SELECT DISTINCT + col2 + col2 * col2 FROM tab1 GROUP BY col2 HAVING ( NULL ) IS NOT NULL ---- skipif postgresql # PostgreSQL requires AS when renaming output columns query II rowsort SELECT ALL col2 col2, col2 AS col1 FROM tab0 GROUP BY col2 ---- 24 24 38 38 |
︙ | ︙ | |||
2148 2149 2150 2151 2152 2153 2154 2155 2156 2157 2158 2159 2160 2161 | query I rowsort SELECT ALL + - col0 AS col2 FROM tab2 AS cor0 GROUP BY col0 ---- -15 -91 -92 query I rowsort SELECT ALL col2 AS col0 FROM tab2 cor0 GROUP BY col2 HAVING NULL < - col0 ---- skipif postgresql # PostgreSQL requires AS when renaming output columns query I rowsort SELECT col2 - + col2 col0 FROM tab1 GROUP BY col2 | > | 2153 2154 2155 2156 2157 2158 2159 2160 2161 2162 2163 2164 2165 2166 2167 | query I rowsort SELECT ALL + - col0 AS col2 FROM tab2 AS cor0 GROUP BY col0 ---- -15 -91 -92 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT ALL col2 AS col0 FROM tab2 cor0 GROUP BY col2 HAVING NULL < - col0 ---- skipif postgresql # PostgreSQL requires AS when renaming output columns query I rowsort SELECT col2 - + col2 col0 FROM tab1 GROUP BY col2 |
︙ | ︙ | |||
2496 2497 2498 2499 2500 2501 2502 2503 2504 2505 2506 2507 2508 2509 | query I rowsort SELECT DISTINCT + col2 AS col2 FROM tab2 GROUP BY col1, col2 ---- 58 79 87 query II rowsort SELECT DISTINCT - col1 col0, col1 FROM tab2 AS cor0 GROUP BY col1 HAVING NULL = NULL ---- query I rowsort SELECT col0 AS col0 FROM tab0 AS cor0 WHERE NOT NULL IS NULL GROUP BY col0 ---- | > | 2502 2503 2504 2505 2506 2507 2508 2509 2510 2511 2512 2513 2514 2515 2516 | query I rowsort SELECT DISTINCT + col2 AS col2 FROM tab2 GROUP BY col1, col2 ---- 58 79 87 skipif postgresql # PostgreSQL requires AS when renaming output columns query II rowsort SELECT DISTINCT - col1 col0, col1 FROM tab2 AS cor0 GROUP BY col1 HAVING NULL = NULL ---- query I rowsort SELECT col0 AS col0 FROM tab0 AS cor0 WHERE NOT NULL IS NULL GROUP BY col0 ---- |
︙ | ︙ | |||
2852 2853 2854 2855 2856 2857 2858 2859 2860 2861 2862 2863 2864 2865 | query I rowsort SELECT DISTINCT - - col0 AS col2 FROM tab0 AS cor0 GROUP BY col0 ---- 26 43 83 query II rowsort SELECT col0 col0, - col0 FROM tab2 AS cor0 GROUP BY col1, col0 ---- 15 -15 91 -91 | > | 2859 2860 2861 2862 2863 2864 2865 2866 2867 2868 2869 2870 2871 2872 2873 | query I rowsort SELECT DISTINCT - - col0 AS col2 FROM tab0 AS cor0 GROUP BY col0 ---- 26 43 83 skipif postgresql # PostgreSQL requires AS when renaming output columns query II rowsort SELECT col0 col0, - col0 FROM tab2 AS cor0 GROUP BY col1, col0 ---- 15 -15 91 -91 |
︙ | ︙ | |||
3453 3454 3455 3456 3457 3458 3459 3460 3461 3462 3463 3464 3465 3466 | query I rowsort SELECT col0 AS col0 FROM tab2 GROUP BY col2, col1, col0 ---- 15 91 92 query II rowsort SELECT + col2 + + col2 col2, col2 FROM tab2 AS cor0 GROUP BY col2 ---- 116 58 158 79 | > | 3461 3462 3463 3464 3465 3466 3467 3468 3469 3470 3471 3472 3473 3474 3475 | query I rowsort SELECT col0 AS col0 FROM tab2 GROUP BY col2, col1, col0 ---- 15 91 92 skipif postgresql # PostgreSQL requires AS when renaming output columns query II rowsort SELECT + col2 + + col2 col2, col2 FROM tab2 AS cor0 GROUP BY col2 ---- 116 58 158 79 |
︙ | ︙ | |||
3681 3682 3683 3684 3685 3686 3687 3688 3689 3690 3691 3692 3693 3694 | query I rowsort SELECT ALL + col2 AS col0 FROM tab2 GROUP BY col2 HAVING NOT NULL IS NOT NULL ---- 58 79 87 query I rowsort SELECT + - col2 AS col0 FROM tab0 cor0 GROUP BY col2, col2 HAVING NOT NULL NOT BETWEEN - col0 AND NULL ---- query I rowsort SELECT DISTINCT - col1 AS col1 FROM tab1 WHERE NULL < - col1 * - col1 GROUP BY col1 ---- | > | 3690 3691 3692 3693 3694 3695 3696 3697 3698 3699 3700 3701 3702 3703 3704 | query I rowsort SELECT ALL + col2 AS col0 FROM tab2 GROUP BY col2 HAVING NOT NULL IS NOT NULL ---- 58 79 87 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT + - col2 AS col0 FROM tab0 cor0 GROUP BY col2, col2 HAVING NOT NULL NOT BETWEEN - col0 AND NULL ---- query I rowsort SELECT DISTINCT - col1 AS col1 FROM tab1 WHERE NULL < - col1 * - col1 GROUP BY col1 ---- |
︙ | ︙ | |||
4135 4136 4137 4138 4139 4140 4141 4142 4143 4144 4145 4146 4147 4148 | query I rowsort SELECT - col0 + - - col0 AS col1 FROM tab0 GROUP BY col0, col0 ---- 0 0 0 query II rowsort SELECT - col1 + col1 col2, col1 * AVG ( ALL + col1 ) FROM tab1 GROUP BY col1, col1 HAVING NOT NULL BETWEEN NULL AND NULL ---- query I rowsort SELECT - col0 FROM tab2 AS cor0 GROUP BY col0, col2, col0 ---- | > | 4145 4146 4147 4148 4149 4150 4151 4152 4153 4154 4155 4156 4157 4158 4159 | query I rowsort SELECT - col0 + - - col0 AS col1 FROM tab0 GROUP BY col0, col0 ---- 0 0 0 skipif postgresql # PostgreSQL requires AS when renaming output columns query II rowsort SELECT - col1 + col1 col2, col1 * AVG ( ALL + col1 ) FROM tab1 GROUP BY col1, col1 HAVING NOT NULL BETWEEN NULL AND NULL ---- query I rowsort SELECT - col0 FROM tab2 AS cor0 GROUP BY col0, col2, col0 ---- |
︙ | ︙ | |||
6769 6770 6771 6772 6773 6774 6775 6776 6777 6778 6779 6780 6781 6782 | query I rowsort SELECT + col2 - - col2 + - col1 FROM tab1 GROUP BY col2, col1 ---- 10 33 98 query I rowsort SELECT DISTINCT col2 AS col1 FROM tab1 AS cor0 GROUP BY col0, col2, col0 HAVING NOT NULL BETWEEN NULL AND + col0 - col1 ---- query I rowsort SELECT + col2 * + col2 AS col2 FROM tab1 AS cor0 GROUP BY col2, col2 HAVING NOT + + col2 IS NULL ---- | > | 6780 6781 6782 6783 6784 6785 6786 6787 6788 6789 6790 6791 6792 6793 6794 | query I rowsort SELECT + col2 - - col2 + - col1 FROM tab1 GROUP BY col2, col1 ---- 10 33 98 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT DISTINCT col2 AS col1 FROM tab1 AS cor0 GROUP BY col0, col2, col0 HAVING NOT NULL BETWEEN NULL AND + col0 - col1 ---- query I rowsort SELECT + col2 * + col2 AS col2 FROM tab1 AS cor0 GROUP BY col2, col2 HAVING NOT + + col2 IS NULL ---- |
︙ | ︙ | |||
7210 7211 7212 7213 7214 7215 7216 7217 7218 7219 7220 7221 7222 7223 | query I rowsort SELECT col2 + - col2 col1 FROM tab2 GROUP BY col2, col1 ---- 0 0 0 query II rowsort SELECT col2 col0, + col2 FROM tab2 GROUP BY col2 ---- 58 58 79 79 | > | 7222 7223 7224 7225 7226 7227 7228 7229 7230 7231 7232 7233 7234 7235 7236 | query I rowsort SELECT col2 + - col2 col1 FROM tab2 GROUP BY col2, col1 ---- 0 0 0 skipif postgresql # PostgreSQL requires AS when renaming output columns query II rowsort SELECT col2 col0, + col2 FROM tab2 GROUP BY col2 ---- 58 58 79 79 |
︙ | ︙ | |||
7259 7260 7261 7262 7263 7264 7265 7266 7267 7268 7269 7270 7271 7272 | query I rowsort SELECT + col2 AS col1 FROM tab2 GROUP BY col0, col2 HAVING NOT NULL IS NOT NULL ---- 58 79 87 query II rowsort SELECT col0 col2, col0 + - col0 AS col1 FROM tab1 GROUP BY col0 ---- 22 0 28 0 | > | 7272 7273 7274 7275 7276 7277 7278 7279 7280 7281 7282 7283 7284 7285 7286 | query I rowsort SELECT + col2 AS col1 FROM tab2 GROUP BY col0, col2 HAVING NOT NULL IS NOT NULL ---- 58 79 87 skipif postgresql # PostgreSQL requires AS when renaming output columns query II rowsort SELECT col0 col2, col0 + - col0 AS col1 FROM tab1 GROUP BY col0 ---- 22 0 28 0 |
︙ | ︙ | |||
7605 7606 7607 7608 7609 7610 7611 7612 7613 7614 7615 7616 7617 7618 | query I rowsort SELECT - col1 * + - col1 + + col1 FROM tab2 GROUP BY col1 ---- 1722 3540 3782 query I rowsort SELECT DISTINCT col2 AS col1 FROM tab1 GROUP BY col2 HAVING + col1 > NULL ---- skipif postgresql # PostgreSQL requires AS when renaming output columns query I rowsort SELECT col1 col0 FROM tab1 cor0 GROUP BY col1 HAVING NOT NULL IS NULL | > | 7619 7620 7621 7622 7623 7624 7625 7626 7627 7628 7629 7630 7631 7632 7633 | query I rowsort SELECT - col1 * + - col1 + + col1 FROM tab2 GROUP BY col1 ---- 1722 3540 3782 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT DISTINCT col2 AS col1 FROM tab1 GROUP BY col2 HAVING + col1 > NULL ---- skipif postgresql # PostgreSQL requires AS when renaming output columns query I rowsort SELECT col1 col0 FROM tab1 cor0 GROUP BY col1 HAVING NOT NULL IS NULL |
︙ | ︙ | |||
7694 7695 7696 7697 7698 7699 7700 7701 7702 7703 7704 7705 7706 7707 | 5 56 query I rowsort SELECT - col2 AS col0 FROM tab0 GROUP BY col2, col1 HAVING NULL <= NULL ---- query II rowsort SELECT DISTINCT col2 col1, - col2 FROM tab0 AS cor0 GROUP BY col2 ---- 24 -24 38 -38 | > | 7709 7710 7711 7712 7713 7714 7715 7716 7717 7718 7719 7720 7721 7722 7723 | 5 56 query I rowsort SELECT - col2 AS col0 FROM tab0 GROUP BY col2, col1 HAVING NULL <= NULL ---- skipif postgresql # PostgreSQL requires AS when renaming output columns query II rowsort SELECT DISTINCT col2 col1, - col2 FROM tab0 AS cor0 GROUP BY col2 ---- 24 -24 38 -38 |
︙ | ︙ | |||
8575 8576 8577 8578 8579 8580 8581 8582 8583 8584 8585 8586 8587 8588 | query I rowsort label-1307 SELECT - - col1 / + col1 AS col0 FROM tab1 AS cor0 GROUP BY col1 ---- 1 1 1 query II rowsort SELECT DISTINCT col1 col0, col2 FROM tab1 GROUP BY col1, col2 ---- 44 71 57 45 | > | 8591 8592 8593 8594 8595 8596 8597 8598 8599 8600 8601 8602 8603 8604 8605 | query I rowsort label-1307 SELECT - - col1 / + col1 AS col0 FROM tab1 AS cor0 GROUP BY col1 ---- 1 1 1 skipif postgresql # PostgreSQL requires AS when renaming output columns query II rowsort SELECT DISTINCT col1 col0, col2 FROM tab1 GROUP BY col1, col2 ---- 44 71 57 45 |
︙ | ︙ | |||
8673 8674 8675 8676 8677 8678 8679 8680 8681 8682 8683 8684 8685 8686 | 79 87 query I rowsort SELECT DISTINCT + col1 FROM tab1 GROUP BY col1, col2 HAVING NOT NULL >= NULL ---- query II rowsort SELECT + col2 col2, col2 AS col0 FROM tab1 GROUP BY col2 ---- 45 45 71 71 | > | 8690 8691 8692 8693 8694 8695 8696 8697 8698 8699 8700 8701 8702 8703 8704 | 79 87 query I rowsort SELECT DISTINCT + col1 FROM tab1 GROUP BY col1, col2 HAVING NOT NULL >= NULL ---- skipif postgresql # PostgreSQL requires AS when renaming output columns query II rowsort SELECT + col2 col2, col2 AS col0 FROM tab1 GROUP BY col2 ---- 45 45 71 71 |
︙ | ︙ | |||
9071 9072 9073 9074 9075 9076 9077 9078 9079 9080 9081 9082 9083 9084 9085 9086 9087 9088 9089 9090 9091 9092 9093 9094 9095 9096 9097 9098 | query I rowsort SELECT col1 FROM tab1 AS cor0 GROUP BY col1, col1, col1 ---- 44 57 6 query II rowsort SELECT - - col2 col1, col2 FROM tab2 AS cor0 GROUP BY col2 ---- 58 58 79 79 87 87 query I rowsort SELECT + col1 AS col1 FROM tab0 cor0 WHERE ( NOT NULL <> NULL ) OR ( NULL ) > NULL GROUP BY col1, col0 HAVING NOT ( - col1 ) IS NOT NULL ---- query I rowsort SELECT DISTINCT - col2 AS col0 FROM tab2 GROUP BY col2 HAVING + - col0 < NULL ---- skipif postgresql # PostgreSQL requires AS when renaming output columns query I rowsort SELECT col1 col0 FROM tab2 GROUP BY col1, col0 HAVING ( NULL ) IS NOT NULL | > > | 9089 9090 9091 9092 9093 9094 9095 9096 9097 9098 9099 9100 9101 9102 9103 9104 9105 9106 9107 9108 9109 9110 9111 9112 9113 9114 9115 9116 9117 9118 | query I rowsort SELECT col1 FROM tab1 AS cor0 GROUP BY col1, col1, col1 ---- 44 57 6 skipif postgresql # PostgreSQL requires AS when renaming output columns query II rowsort SELECT - - col2 col1, col2 FROM tab2 AS cor0 GROUP BY col2 ---- 58 58 79 79 87 87 query I rowsort SELECT + col1 AS col1 FROM tab0 cor0 WHERE ( NOT NULL <> NULL ) OR ( NULL ) > NULL GROUP BY col1, col0 HAVING NOT ( - col1 ) IS NOT NULL ---- skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT DISTINCT - col2 AS col0 FROM tab2 GROUP BY col2 HAVING + - col0 < NULL ---- skipif postgresql # PostgreSQL requires AS when renaming output columns query I rowsort SELECT col1 col0 FROM tab2 GROUP BY col1, col0 HAVING ( NULL ) IS NOT NULL |
︙ | ︙ | |||
11132 11133 11134 11135 11136 11137 11138 11139 11140 11141 11142 11143 11144 11145 | query I rowsort SELECT col0 AS col1 FROM tab0 AS cor0 WHERE NOT + col1 IS NULL GROUP BY col0 ---- 26 43 83 query I rowsort SELECT ALL - col0 AS col2 FROM tab1 GROUP BY col0 HAVING NOT + - col2 <> NULL ---- query I rowsort SELECT + col0 AS col2 FROM tab0 AS cor0 GROUP BY col0 HAVING NOT AVG ( DISTINCT - col2 ) IS NULL ---- | > | 11152 11153 11154 11155 11156 11157 11158 11159 11160 11161 11162 11163 11164 11165 11166 | query I rowsort SELECT col0 AS col1 FROM tab0 AS cor0 WHERE NOT + col1 IS NULL GROUP BY col0 ---- 26 43 83 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT ALL - col0 AS col2 FROM tab1 GROUP BY col0 HAVING NOT + - col2 <> NULL ---- query I rowsort SELECT + col0 AS col2 FROM tab0 AS cor0 GROUP BY col0 HAVING NOT AVG ( DISTINCT - col2 ) IS NULL ---- |
︙ | ︙ | |||
12039 12040 12041 12042 12043 12044 12045 12046 12047 12048 12049 12050 12051 12052 | query I rowsort SELECT + col0 * col0 FROM tab1 GROUP BY col0 ---- 484 6724 784 query I rowsort SELECT + + col2 AS col1 FROM tab2 WHERE - + col1 IS NOT NULL GROUP BY col2 HAVING ( NULL ) <> col1 ---- query II rowsort SELECT col0 AS col1, col0 FROM tab2 AS cor0 GROUP BY col2, col0, col1 ---- | > | 12060 12061 12062 12063 12064 12065 12066 12067 12068 12069 12070 12071 12072 12073 12074 | query I rowsort SELECT + col0 * col0 FROM tab1 GROUP BY col0 ---- 484 6724 784 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT + + col2 AS col1 FROM tab2 WHERE - + col1 IS NOT NULL GROUP BY col2 HAVING ( NULL ) <> col1 ---- query II rowsort SELECT col0 AS col1, col0 FROM tab2 AS cor0 GROUP BY col2, col0, col1 ---- |
︙ | ︙ | |||
12963 12964 12965 12966 12967 12968 12969 12970 12971 12972 12973 12974 12975 12976 | -38 -79 query I rowsort SELECT DISTINCT + col0 FROM tab2 AS cor0 WHERE NOT ( NULL ) >= NULL GROUP BY col0 ---- query II rowsort SELECT col1 col1, col0 FROM tab2 GROUP BY col0, col2, col1 ---- 41 92 59 91 | > | 12985 12986 12987 12988 12989 12990 12991 12992 12993 12994 12995 12996 12997 12998 12999 | -38 -79 query I rowsort SELECT DISTINCT + col0 FROM tab2 AS cor0 WHERE NOT ( NULL ) >= NULL GROUP BY col0 ---- skipif postgresql # PostgreSQL requires AS when renaming output columns query II rowsort SELECT col1 col1, col0 FROM tab2 GROUP BY col0, col2, col1 ---- 41 92 59 91 |
︙ | ︙ | |||
13182 13183 13184 13185 13186 13187 13188 13189 13190 13191 13192 13193 13194 13195 | query I rowsort SELECT ALL col0 * + col0 FROM tab1 GROUP BY col0 ---- 484 6724 784 query I rowsort SELECT + + col1 AS col2 FROM tab1 AS cor0 GROUP BY col1 HAVING NOT + col2 < NULL ---- query I rowsort SELECT col2 FROM tab0 cor0 WHERE NOT NULL IS NULL GROUP BY col2 ---- | > | 13205 13206 13207 13208 13209 13210 13211 13212 13213 13214 13215 13216 13217 13218 13219 | query I rowsort SELECT ALL col0 * + col0 FROM tab1 GROUP BY col0 ---- 484 6724 784 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT + + col1 AS col2 FROM tab1 AS cor0 GROUP BY col1 HAVING NOT + col2 < NULL ---- query I rowsort SELECT col2 FROM tab0 cor0 WHERE NOT NULL IS NULL GROUP BY col2 ---- |
︙ | ︙ | |||
13204 13205 13206 13207 13208 13209 13210 13211 13212 13213 13214 13215 13216 13217 | query I rowsort SELECT col0 FROM tab1 GROUP BY col1, col1, col0 ---- 22 28 82 query II rowsort SELECT DISTINCT col0 col0, + col0 FROM tab0 GROUP BY col0 HAVING NULL IS NOT NULL ---- query II rowsort SELECT col0, - col0 FROM tab2 GROUP BY col0 ---- | > | 13228 13229 13230 13231 13232 13233 13234 13235 13236 13237 13238 13239 13240 13241 13242 | query I rowsort SELECT col0 FROM tab1 GROUP BY col1, col1, col0 ---- 22 28 82 skipif postgresql # PostgreSQL requires AS when renaming output columns query II rowsort SELECT DISTINCT col0 col0, + col0 FROM tab0 GROUP BY col0 HAVING NULL IS NOT NULL ---- query II rowsort SELECT col0, - col0 FROM tab2 GROUP BY col0 ---- |
︙ | ︙ | |||
13474 13475 13476 13477 13478 13479 13480 13481 13482 13483 13484 13485 13486 13487 | query I rowsort SELECT DISTINCT col0 * col0 col0 FROM tab0 GROUP BY col0 ---- 1849 676 6889 query I rowsort SELECT col0 AS col1 FROM tab2 GROUP BY col0 HAVING NOT ( ( NOT NULL <> + col1 ) ) ---- query I rowsort SELECT ALL + col0 - - col0 AS col2 FROM tab2 AS cor0 GROUP BY col0, col0 HAVING NULL IS NULL ---- | > | 13499 13500 13501 13502 13503 13504 13505 13506 13507 13508 13509 13510 13511 13512 13513 | query I rowsort SELECT DISTINCT col0 * col0 col0 FROM tab0 GROUP BY col0 ---- 1849 676 6889 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT col0 AS col1 FROM tab2 GROUP BY col0 HAVING NOT ( ( NOT NULL <> + col1 ) ) ---- query I rowsort SELECT ALL + col0 - - col0 AS col2 FROM tab2 AS cor0 GROUP BY col0, col0 HAVING NULL IS NULL ---- |
︙ | ︙ | |||
14440 14441 14442 14443 14444 14445 14446 14447 14448 14449 14450 14451 14452 14453 | SELECT col0 FROM tab0 GROUP BY col0 HAVING - col0 <> NULL ---- query I rowsort SELECT ALL - col1 FROM tab0 GROUP BY col1 HAVING NULL IS NOT NULL ---- query I rowsort SELECT - col1 AS col0 FROM tab0 GROUP BY col1 HAVING NOT ( NOT col0 BETWEEN NULL AND NULL ) ---- query I rowsort SELECT col0 * + col0 FROM tab2 GROUP BY col0, col2, col0 ---- | > | 14466 14467 14468 14469 14470 14471 14472 14473 14474 14475 14476 14477 14478 14479 14480 | SELECT col0 FROM tab0 GROUP BY col0 HAVING - col0 <> NULL ---- query I rowsort SELECT ALL - col1 FROM tab0 GROUP BY col1 HAVING NULL IS NOT NULL ---- skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT - col1 AS col0 FROM tab0 GROUP BY col1 HAVING NOT ( NOT col0 BETWEEN NULL AND NULL ) ---- query I rowsort SELECT col0 * + col0 FROM tab2 GROUP BY col0, col2, col0 ---- |
︙ | ︙ | |||
14864 14865 14866 14867 14868 14869 14870 14871 14872 14873 14874 14875 14876 14877 | query I rowsort SELECT ALL + col1 * col2 FROM tab2 AS cor0 GROUP BY col1, col2 ---- 2378 4661 5307 query II rowsort SELECT + col1 AS col1, col1 AS col2 FROM tab1 GROUP BY col1 HAVING ( NULL ) = col2 ---- query I rowsort SELECT DISTINCT - + col2 * - col2 + + col2 AS col2 FROM tab0 AS cor0 GROUP BY col2 ---- | > | 14891 14892 14893 14894 14895 14896 14897 14898 14899 14900 14901 14902 14903 14904 14905 | query I rowsort SELECT ALL + col1 * col2 FROM tab2 AS cor0 GROUP BY col1, col2 ---- 2378 4661 5307 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query II rowsort SELECT + col1 AS col1, col1 AS col2 FROM tab1 GROUP BY col1 HAVING ( NULL ) = col2 ---- query I rowsort SELECT DISTINCT - + col2 * - col2 + + col2 AS col2 FROM tab0 AS cor0 GROUP BY col2 ---- |
︙ | ︙ | |||
14886 14887 14888 14889 14890 14891 14892 14893 14894 14895 14896 14897 14898 14899 | -43 -83 query I rowsort SELECT - col1 * - + col1 FROM tab0 GROUP BY col1, col0 HAVING ( - col1 ) > NULL ---- query II rowsort SELECT col1 col1, - col1 AS col0 FROM tab1 AS cor0 GROUP BY col1 ---- 44 -44 57 -57 | > | 14914 14915 14916 14917 14918 14919 14920 14921 14922 14923 14924 14925 14926 14927 14928 | -43 -83 query I rowsort SELECT - col1 * - + col1 FROM tab0 GROUP BY col1, col0 HAVING ( - col1 ) > NULL ---- skipif postgresql # PostgreSQL requires AS when renaming output columns query II rowsort SELECT col1 col1, - col1 AS col0 FROM tab1 AS cor0 GROUP BY col1 ---- 44 -44 57 -57 |
︙ | ︙ | |||
17926 17927 17928 17929 17930 17931 17932 17933 17934 17935 17936 17937 17938 17939 | query I rowsort SELECT col0 FROM tab2 AS cor0 GROUP BY col1, col0, col0 ---- 15 91 92 query I rowsort SELECT DISTINCT - col1 AS col0 FROM tab1 GROUP BY col1 HAVING - col0 <= NULL ---- query I rowsort SELECT DISTINCT col1 FROM tab1 GROUP BY col1 HAVING NULL <> NULL ---- | > | 17955 17956 17957 17958 17959 17960 17961 17962 17963 17964 17965 17966 17967 17968 17969 | query I rowsort SELECT col0 FROM tab2 AS cor0 GROUP BY col1, col0, col0 ---- 15 91 92 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT DISTINCT - col1 AS col0 FROM tab1 GROUP BY col1 HAVING - col0 <= NULL ---- query I rowsort SELECT DISTINCT col1 FROM tab1 GROUP BY col1 HAVING NULL <> NULL ---- |
︙ | ︙ | |||
19568 19569 19570 19571 19572 19573 19574 19575 19576 19577 19578 19579 19580 19581 | skipif mysql # not compatible query I rowsort label-3010 SELECT DISTINCT + col1 / - col2 FROM tab2 AS cor0 GROUP BY col2, col1 ---- 0 query I rowsort SELECT DISTINCT + col1 AS col2 FROM tab1 AS cor0 GROUP BY col1 HAVING NOT col2 < NULL ---- skipif postgresql # PostgreSQL requires AS when renaming output columns query I rowsort SELECT ALL + col2 col2 FROM tab1 cor0 GROUP BY col2 | > | 19598 19599 19600 19601 19602 19603 19604 19605 19606 19607 19608 19609 19610 19611 19612 | skipif mysql # not compatible query I rowsort label-3010 SELECT DISTINCT + col1 / - col2 FROM tab2 AS cor0 GROUP BY col2, col1 ---- 0 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT DISTINCT + col1 AS col2 FROM tab1 AS cor0 GROUP BY col1 HAVING NOT col2 < NULL ---- skipif postgresql # PostgreSQL requires AS when renaming output columns query I rowsort SELECT ALL + col2 col2 FROM tab1 cor0 GROUP BY col2 |
︙ | ︙ | |||
19801 19802 19803 19804 19805 19806 19807 19808 19809 19810 19811 19812 19813 19814 | query I rowsort SELECT - col2 AS col1 FROM tab2 GROUP BY col2, col2, col0 ---- -58 -79 -87 query II rowsort SELECT + col1 col1, + col2 FROM tab1 AS cor0 WHERE NULL IS NULL GROUP BY col1, col2 ---- 44 71 57 45 | > | 19832 19833 19834 19835 19836 19837 19838 19839 19840 19841 19842 19843 19844 19845 19846 | query I rowsort SELECT - col2 AS col1 FROM tab2 GROUP BY col2, col2, col0 ---- -58 -79 -87 skipif postgresql # PostgreSQL requires AS when renaming output columns query II rowsort SELECT + col1 col1, + col2 FROM tab1 AS cor0 WHERE NULL IS NULL GROUP BY col1, col2 ---- 44 71 57 45 |
︙ | ︙ | |||
20229 20230 20231 20232 20233 20234 20235 20236 20237 20238 20239 20240 20241 20242 | query I rowsort SELECT DISTINCT - col2 * col2 FROM tab2 AS cor0 GROUP BY col2, col1 ---- -3364 -6241 -7569 query I rowsort SELECT ALL + col0 AS col2 FROM tab0 WHERE NULL IS NOT NULL GROUP BY col0 HAVING NULL > + col2 ---- skipif postgresql # PostgreSQL requires AS when renaming output columns query I rowsort SELECT DISTINCT + col0 col0 FROM tab2 GROUP BY col0, col2 | > | 20261 20262 20263 20264 20265 20266 20267 20268 20269 20270 20271 20272 20273 20274 20275 | query I rowsort SELECT DISTINCT - col2 * col2 FROM tab2 AS cor0 GROUP BY col2, col1 ---- -3364 -6241 -7569 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT ALL + col0 AS col2 FROM tab0 WHERE NULL IS NOT NULL GROUP BY col0 HAVING NULL > + col2 ---- skipif postgresql # PostgreSQL requires AS when renaming output columns query I rowsort SELECT DISTINCT + col0 col0 FROM tab2 GROUP BY col0, col2 |
︙ | ︙ | |||
21675 21676 21677 21678 21679 21680 21681 21682 21683 21684 21685 21686 21687 21688 | query I rowsort SELECT - col0 AS col2 FROM tab2 GROUP BY col0, col0 ---- -15 -91 -92 query I rowsort SELECT - col2 * + - col1 AS col0 FROM tab0 GROUP BY col2, col1 HAVING NULL NOT BETWEEN col0 AND - col0 ---- query I rowsort SELECT + - col1 - col0 AS col1 FROM tab2 AS cor0 GROUP BY col1, col0 ---- | > | 21708 21709 21710 21711 21712 21713 21714 21715 21716 21717 21718 21719 21720 21721 21722 | query I rowsort SELECT - col0 AS col2 FROM tab2 GROUP BY col0, col0 ---- -15 -91 -92 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT - col2 * + - col1 AS col0 FROM tab0 GROUP BY col2, col1 HAVING NULL NOT BETWEEN col0 AND - col0 ---- query I rowsort SELECT + - col1 - col0 AS col1 FROM tab2 AS cor0 GROUP BY col1, col0 ---- |
︙ | ︙ | |||
22968 22969 22970 22971 22972 22973 22974 22975 22976 22977 22978 22979 22980 22981 | query I rowsort SELECT ALL - - col2 AS col2 FROM tab1 AS cor0 GROUP BY col2, col2, col2 ---- 45 71 8 query I rowsort SELECT DISTINCT col1 AS col0 FROM tab1 AS cor0 GROUP BY col1, col1 HAVING + col0 = NULL ---- query I rowsort SELECT - col0 * + + col0 AS col2 FROM tab0 cor0 GROUP BY col0 ---- | > | 23002 23003 23004 23005 23006 23007 23008 23009 23010 23011 23012 23013 23014 23015 23016 | query I rowsort SELECT ALL - - col2 AS col2 FROM tab1 AS cor0 GROUP BY col2, col2, col2 ---- 45 71 8 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT DISTINCT col1 AS col0 FROM tab1 AS cor0 GROUP BY col1, col1 HAVING + col0 = NULL ---- query I rowsort SELECT - col0 * + + col0 AS col2 FROM tab0 cor0 GROUP BY col0 ---- |
︙ | ︙ | |||
23547 23548 23549 23550 23551 23552 23553 23554 23555 23556 23557 23558 23559 23560 | query I rowsort SELECT - col2 + - col2 FROM tab2 GROUP BY col2, col0 HAVING NOT - col0 IS NULL ---- -116 -158 -174 query II rowsort SELECT + + col0 + - - col0 col2, - col0 FROM tab0 AS cor0 GROUP BY col0 ---- 166 -83 52 -26 | > | 23582 23583 23584 23585 23586 23587 23588 23589 23590 23591 23592 23593 23594 23595 23596 | query I rowsort SELECT - col2 + - col2 FROM tab2 GROUP BY col2, col0 HAVING NOT - col0 IS NULL ---- -116 -158 -174 skipif postgresql # PostgreSQL requires AS when renaming output columns query II rowsort SELECT + + col0 + - - col0 col2, - col0 FROM tab0 AS cor0 GROUP BY col0 ---- 166 -83 52 -26 |
︙ | ︙ | |||
24845 24846 24847 24848 24849 24850 24851 24852 24853 24854 24855 24856 24857 24858 | query I rowsort SELECT + - col2 col0 FROM tab0 AS cor0 GROUP BY col2 HAVING ( NULL ) IS NULL ---- -24 -38 -79 query II rowsort SELECT DISTINCT col0 col2, + col0 AS col0 FROM tab2 GROUP BY col0, col0 ---- 15 15 91 91 | > | 24881 24882 24883 24884 24885 24886 24887 24888 24889 24890 24891 24892 24893 24894 24895 | query I rowsort SELECT + - col2 col0 FROM tab0 AS cor0 GROUP BY col2 HAVING ( NULL ) IS NULL ---- -24 -38 -79 skipif postgresql # PostgreSQL requires AS when renaming output columns query II rowsort SELECT DISTINCT col0 col2, + col0 AS col0 FROM tab2 GROUP BY col0, col0 ---- 15 15 91 91 |
︙ | ︙ | |||
25038 25039 25040 25041 25042 25043 25044 25045 25046 25047 25048 25049 25050 25051 | SELECT ALL - col0 AS col1 FROM tab1 AS cor0 GROUP BY col0, col2, col2 HAVING NULL = - col0 ---- query I rowsort SELECT DISTINCT - + col2 FROM tab0 AS cor0 GROUP BY col2 HAVING NOT AVG ( col0 ) < NULL ---- query I rowsort SELECT ALL col0 AS col1 FROM tab1 GROUP BY col0 HAVING NULL BETWEEN ( - + col0 ) AND + col1 ---- query I rowsort SELECT col2 FROM tab2 GROUP BY col2 HAVING + col2 IS NULL ---- | > | 25075 25076 25077 25078 25079 25080 25081 25082 25083 25084 25085 25086 25087 25088 25089 | SELECT ALL - col0 AS col1 FROM tab1 AS cor0 GROUP BY col0, col2, col2 HAVING NULL = - col0 ---- query I rowsort SELECT DISTINCT - + col2 FROM tab0 AS cor0 GROUP BY col2 HAVING NOT AVG ( col0 ) < NULL ---- skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT ALL col0 AS col1 FROM tab1 GROUP BY col0 HAVING NULL BETWEEN ( - + col0 ) AND + col1 ---- query I rowsort SELECT col2 FROM tab2 GROUP BY col2 HAVING + col2 IS NULL ---- |
︙ | ︙ | |||
25369 25370 25371 25372 25373 25374 25375 25376 25377 25378 25379 25380 25381 25382 | 3249 36 query I rowsort SELECT ALL + col2 FROM tab0 GROUP BY col2 HAVING NOT NULL BETWEEN NULL AND ( col2 ) ---- query I rowsort SELECT DISTINCT col0 AS col2 FROM tab2 GROUP BY col0, col0 HAVING NOT NULL < col2 + col0 ---- query I rowsort SELECT ALL + col1 + + col1 FROM tab2 GROUP BY col0, col1 ---- | > | 25407 25408 25409 25410 25411 25412 25413 25414 25415 25416 25417 25418 25419 25420 25421 | 3249 36 query I rowsort SELECT ALL + col2 FROM tab0 GROUP BY col2 HAVING NOT NULL BETWEEN NULL AND ( col2 ) ---- skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT DISTINCT col0 AS col2 FROM tab2 GROUP BY col0, col0 HAVING NOT NULL < col2 + col0 ---- query I rowsort SELECT ALL + col1 + + col1 FROM tab2 GROUP BY col0, col1 ---- |
︙ | ︙ | |||
25850 25851 25852 25853 25854 25855 25856 25857 25858 25859 25860 25861 25862 25863 | 59 61 query I rowsort SELECT DISTINCT AVG ( col2 ) AS col1 FROM tab0 AS cor0 WHERE NOT col1 <= ( NULL ) GROUP BY col2 ---- query I rowsort SELECT col2 AS col0 FROM tab1 GROUP BY col2 HAVING NULL <= - col0 ---- skipif postgresql # PostgreSQL requires AS when renaming output columns query I rowsort SELECT DISTINCT - col1 col0 FROM tab0 AS cor0 GROUP BY col1 | > | 25889 25890 25891 25892 25893 25894 25895 25896 25897 25898 25899 25900 25901 25902 25903 | 59 61 query I rowsort SELECT DISTINCT AVG ( col2 ) AS col1 FROM tab0 AS cor0 WHERE NOT col1 <= ( NULL ) GROUP BY col2 ---- skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT col2 AS col0 FROM tab1 GROUP BY col2 HAVING NULL <= - col0 ---- skipif postgresql # PostgreSQL requires AS when renaming output columns query I rowsort SELECT DISTINCT - col1 col0 FROM tab0 AS cor0 GROUP BY col1 |
︙ | ︙ | |||
25892 25893 25894 25895 25896 25897 25898 25899 25900 25901 25902 25903 25904 25905 | query I rowsort SELECT + col2 * col0 AS col1 FROM tab2 GROUP BY col2, col0 ---- 1305 5336 7189 query II rowsort SELECT ALL col0 col2, - col0 AS col1 FROM tab0 AS cor0 GROUP BY col0, col0 HAVING NOT NULL >= NULL ---- query I rowsort SELECT DISTINCT - + col1 FROM tab1 AS cor0 GROUP BY col1, col0 HAVING NULL IS NOT NULL ---- | > | 25932 25933 25934 25935 25936 25937 25938 25939 25940 25941 25942 25943 25944 25945 25946 | query I rowsort SELECT + col2 * col0 AS col1 FROM tab2 GROUP BY col2, col0 ---- 1305 5336 7189 skipif postgresql # PostgreSQL requires AS when renaming output columns query II rowsort SELECT ALL col0 col2, - col0 AS col1 FROM tab0 AS cor0 GROUP BY col0, col0 HAVING NOT NULL >= NULL ---- query I rowsort SELECT DISTINCT - + col1 FROM tab1 AS cor0 GROUP BY col1, col0 HAVING NULL IS NOT NULL ---- |
︙ | ︙ | |||
28573 28574 28575 28576 28577 28578 28579 28580 28581 28582 28583 28584 28585 28586 | query I rowsort SELECT ALL + col1 FROM tab0 GROUP BY col1, col2 HAVING NOT NULL IS NOT NULL ---- 0 0 81 query II rowsort SELECT DISTINCT col0 col1, + col2 FROM tab1 GROUP BY col0, col2 ---- 22 8 28 45 | > | 28614 28615 28616 28617 28618 28619 28620 28621 28622 28623 28624 28625 28626 28627 28628 | query I rowsort SELECT ALL + col1 FROM tab0 GROUP BY col1, col2 HAVING NOT NULL IS NOT NULL ---- 0 0 81 skipif postgresql # PostgreSQL requires AS when renaming output columns query II rowsort SELECT DISTINCT col0 col1, + col2 FROM tab1 GROUP BY col0, col2 ---- 22 8 28 45 |
︙ | ︙ | |||
28936 28937 28938 28939 28940 28941 28942 28943 28944 28945 28946 28947 28948 28949 | query I rowsort SELECT ALL - col2 AS col0 FROM tab0 WHERE NOT NULL IS NOT NULL GROUP BY col0, col2 ---- -24 -38 -79 query I rowsort SELECT col2 AS col0 FROM tab1 GROUP BY col2 HAVING NOT NULL BETWEEN ( - col2 ) AND ( col0 ) ---- query I rowsort SELECT DISTINCT col0 FROM tab1 cor0 GROUP BY col0, col1 HAVING NOT NULL NOT BETWEEN NULL AND - AVG ( DISTINCT - col1 ) ---- | > | 28978 28979 28980 28981 28982 28983 28984 28985 28986 28987 28988 28989 28990 28991 28992 | query I rowsort SELECT ALL - col2 AS col0 FROM tab0 WHERE NOT NULL IS NOT NULL GROUP BY col0, col2 ---- -24 -38 -79 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT col2 AS col0 FROM tab1 GROUP BY col2 HAVING NOT NULL BETWEEN ( - col2 ) AND ( col0 ) ---- query I rowsort SELECT DISTINCT col0 FROM tab1 cor0 GROUP BY col0, col1 HAVING NOT NULL NOT BETWEEN NULL AND - AVG ( DISTINCT - col1 ) ---- |
︙ | ︙ | |||
29080 29081 29082 29083 29084 29085 29086 29087 29088 29089 29090 29091 29092 29093 | query I rowsort SELECT ALL - col1 * - col1 AS col2 FROM tab1 GROUP BY col1 ---- 1936 3249 36 query I rowsort SELECT DISTINCT col0 AS col2 FROM tab0 GROUP BY col0 HAVING NULL >= col2 ---- query I rowsort SELECT DISTINCT col0 FROM tab2 GROUP BY col0, col2 HAVING NULL IS NOT NULL ---- | > | 29123 29124 29125 29126 29127 29128 29129 29130 29131 29132 29133 29134 29135 29136 29137 | query I rowsort SELECT ALL - col1 * - col1 AS col2 FROM tab1 GROUP BY col1 ---- 1936 3249 36 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT DISTINCT col0 AS col2 FROM tab0 GROUP BY col0 HAVING NULL >= col2 ---- query I rowsort SELECT DISTINCT col0 FROM tab2 GROUP BY col0, col2 HAVING NULL IS NOT NULL ---- |
︙ | ︙ | |||
29620 29621 29622 29623 29624 29625 29626 29627 29628 29629 29630 29631 29632 29633 | query I rowsort SELECT - + col0 - + col0 FROM tab0 AS cor0 GROUP BY col0 ---- -166 -52 -86 query II rowsort SELECT col2 col1, col2 FROM tab0 AS cor0 WHERE NOT - col0 IS NULL GROUP BY col2 ---- 24 24 38 38 | > | 29664 29665 29666 29667 29668 29669 29670 29671 29672 29673 29674 29675 29676 29677 29678 | query I rowsort SELECT - + col0 - + col0 FROM tab0 AS cor0 GROUP BY col0 ---- -166 -52 -86 skipif postgresql # PostgreSQL requires AS when renaming output columns query II rowsort SELECT col2 col1, col2 FROM tab0 AS cor0 WHERE NOT - col0 IS NULL GROUP BY col2 ---- 24 24 38 38 |
︙ | ︙ | |||
34686 34687 34688 34689 34690 34691 34692 34693 34694 34695 34696 34697 34698 34699 | query I rowsort SELECT col0 + - col0 AS col1 FROM tab2 AS cor0 GROUP BY col0 ---- 0 0 0 query II rowsort SELECT + col1 col1, col1 AS col0 FROM tab0 AS cor0 GROUP BY col1 ---- 0 0 81 81 | > | 34731 34732 34733 34734 34735 34736 34737 34738 34739 34740 34741 34742 34743 34744 34745 | query I rowsort SELECT col0 + - col0 AS col1 FROM tab2 AS cor0 GROUP BY col0 ---- 0 0 0 skipif postgresql # PostgreSQL requires AS when renaming output columns query II rowsort SELECT + col1 col1, col1 AS col0 FROM tab0 AS cor0 GROUP BY col1 ---- 0 0 81 81 |
︙ | ︙ | |||
36290 36291 36292 36293 36294 36295 36296 36297 36298 36299 36300 36301 36302 36303 | query I rowsort SELECT ALL + + col0 FROM tab0 AS cor0 GROUP BY col0, col0 ---- 26 43 83 query I rowsort SELECT ALL AVG ( ALL - col2 ) AS col0 FROM tab0 WHERE NOT ( - col2 ) BETWEEN ( NULL ) AND NULL GROUP BY col2 HAVING NULL BETWEEN + col0 AND ( NULL ) ---- query I rowsort SELECT ALL - col2 FROM tab2 AS cor0 GROUP BY col2 HAVING NULL IS NOT NULL ---- | > | 36336 36337 36338 36339 36340 36341 36342 36343 36344 36345 36346 36347 36348 36349 36350 | query I rowsort SELECT ALL + + col0 FROM tab0 AS cor0 GROUP BY col0, col0 ---- 26 43 83 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT ALL AVG ( ALL - col2 ) AS col0 FROM tab0 WHERE NOT ( - col2 ) BETWEEN ( NULL ) AND NULL GROUP BY col2 HAVING NULL BETWEEN + col0 AND ( NULL ) ---- query I rowsort SELECT ALL - col2 FROM tab2 AS cor0 GROUP BY col2 HAVING NULL IS NOT NULL ---- |
︙ | ︙ | |||
36528 36529 36530 36531 36532 36533 36534 36535 36536 36537 36538 36539 36540 36541 | SELECT - col1 FROM tab0 AS cor0 GROUP BY col0, col1, col0 HAVING NOT NULL IS NULL ---- query I rowsort SELECT col1 FROM tab2 AS cor0 GROUP BY col1, col2, col1 HAVING NOT + col2 IS NOT NULL ---- query I rowsort SELECT ALL - col2 AS col0 FROM tab1 AS cor0 GROUP BY col1, col2 HAVING NOT NULL <= - - col0 ---- query I rowsort SELECT + col0 AS col0 FROM tab2 AS cor0 WHERE ( NULL ) IS NOT NULL GROUP BY col0 ---- | > | 36575 36576 36577 36578 36579 36580 36581 36582 36583 36584 36585 36586 36587 36588 36589 | SELECT - col1 FROM tab0 AS cor0 GROUP BY col0, col1, col0 HAVING NOT NULL IS NULL ---- query I rowsort SELECT col1 FROM tab2 AS cor0 GROUP BY col1, col2, col1 HAVING NOT + col2 IS NOT NULL ---- skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT ALL - col2 AS col0 FROM tab1 AS cor0 GROUP BY col1, col2 HAVING NOT NULL <= - - col0 ---- query I rowsort SELECT + col0 AS col0 FROM tab2 AS cor0 WHERE ( NULL ) IS NOT NULL GROUP BY col0 ---- |
︙ | ︙ | |||
37759 37760 37761 37762 37763 37764 37765 37766 37767 37768 37769 37770 37771 37772 | 59 61 query I rowsort SELECT col2 AS col1 FROM tab0 AS cor0 GROUP BY col2 HAVING NOT - col2 IS NOT NULL ---- query II rowsort SELECT DISTINCT + col0 col0, col0 AS col2 FROM tab2 AS cor0 GROUP BY col0, col1 ---- 15 15 91 91 | > | 37807 37808 37809 37810 37811 37812 37813 37814 37815 37816 37817 37818 37819 37820 37821 | 59 61 query I rowsort SELECT col2 AS col1 FROM tab0 AS cor0 GROUP BY col2 HAVING NOT - col2 IS NOT NULL ---- skipif postgresql # PostgreSQL requires AS when renaming output columns query II rowsort SELECT DISTINCT + col0 col0, col0 AS col2 FROM tab2 AS cor0 GROUP BY col0, col1 ---- 15 15 91 91 |
︙ | ︙ | |||
39114 39115 39116 39117 39118 39119 39120 39121 39122 39123 39124 39125 39126 39127 | query I rowsort SELECT ALL col2 col0 FROM tab2 cor0 GROUP BY col2 HAVING NULL IS NULL ---- 58 79 87 query II rowsort SELECT col2 col2, col2 AS col2 FROM tab2 GROUP BY col2 ---- 58 58 79 79 | > | 39163 39164 39165 39166 39167 39168 39169 39170 39171 39172 39173 39174 39175 39176 39177 | query I rowsort SELECT ALL col2 col0 FROM tab2 cor0 GROUP BY col2 HAVING NULL IS NULL ---- 58 79 87 skipif postgresql # PostgreSQL requires AS when renaming output columns query II rowsort SELECT col2 col2, col2 AS col2 FROM tab2 GROUP BY col2 ---- 58 58 79 79 |
︙ | ︙ | |||
39260 39261 39262 39263 39264 39265 39266 39267 39268 39269 39270 39271 39272 39273 | query I rowsort SELECT DISTINCT - - col0 AS col1 FROM tab1 cor0 GROUP BY col0 ---- 22 28 82 query I rowsort SELECT col0 AS col2 FROM tab2 cor0 GROUP BY col0 HAVING NULL <> ( + col2 ) ---- query I rowsort SELECT ALL - col1 * - + col1 AS col1 FROM tab1 GROUP BY col1, col1 ---- | > | 39310 39311 39312 39313 39314 39315 39316 39317 39318 39319 39320 39321 39322 39323 39324 | query I rowsort SELECT DISTINCT - - col0 AS col1 FROM tab1 cor0 GROUP BY col0 ---- 22 28 82 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT col0 AS col2 FROM tab2 cor0 GROUP BY col0 HAVING NULL <> ( + col2 ) ---- query I rowsort SELECT ALL - col1 * - + col1 AS col1 FROM tab1 GROUP BY col1, col1 ---- |
︙ | ︙ | |||
41633 41634 41635 41636 41637 41638 41639 41640 41641 41642 41643 41644 41645 41646 | -43 -83 query I rowsort SELECT ALL + col0 FROM tab0 cor0 WHERE NOT NULL >= NULL GROUP BY col1, col0, col1 ---- query II rowsort SELECT DISTINCT + col1 col1, col1 AS col0 FROM tab2 AS cor0 GROUP BY col1 ---- 41 41 59 59 | > | 41684 41685 41686 41687 41688 41689 41690 41691 41692 41693 41694 41695 41696 41697 41698 | -43 -83 query I rowsort SELECT ALL + col0 FROM tab0 cor0 WHERE NOT NULL >= NULL GROUP BY col1, col0, col1 ---- skipif postgresql # PostgreSQL requires AS when renaming output columns query II rowsort SELECT DISTINCT + col1 col1, col1 AS col0 FROM tab2 AS cor0 GROUP BY col1 ---- 41 41 59 59 |
︙ | ︙ | |||
41933 41934 41935 41936 41937 41938 41939 41940 41941 41942 41943 41944 41945 41946 | query I rowsort SELECT col1 AS col2 FROM tab1 GROUP BY col1, col2, col2 ---- 44 57 6 query I rowsort SELECT - col0 AS col2 FROM tab2 AS cor0 GROUP BY col0, col0 HAVING NOT - col2 <= NULL ---- query I rowsort SELECT DISTINCT + col2 * + col2 * + col2 FROM tab0 GROUP BY col2 ---- | > | 41985 41986 41987 41988 41989 41990 41991 41992 41993 41994 41995 41996 41997 41998 41999 | query I rowsort SELECT col1 AS col2 FROM tab1 GROUP BY col1, col2, col2 ---- 44 57 6 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT - col0 AS col2 FROM tab2 AS cor0 GROUP BY col0, col0 HAVING NOT - col2 <= NULL ---- query I rowsort SELECT DISTINCT + col2 * + col2 * + col2 FROM tab0 GROUP BY col2 ---- |
︙ | ︙ | |||
42040 42041 42042 42043 42044 42045 42046 42047 42048 42049 42050 42051 42052 42053 | SELECT ALL - col1 + - col1 FROM tab1 WHERE NULL IS NOT NULL GROUP BY col2, col1 ---- query I rowsort SELECT - col0 AS col2 FROM tab2 GROUP BY col0, col1 HAVING NULL IS NOT NULL ---- query II rowsort SELECT + col2 col1, col2 AS col1 FROM tab2 AS cor0 GROUP BY col0, col2 ---- 58 58 79 79 | > | 42093 42094 42095 42096 42097 42098 42099 42100 42101 42102 42103 42104 42105 42106 42107 | SELECT ALL - col1 + - col1 FROM tab1 WHERE NULL IS NOT NULL GROUP BY col2, col1 ---- query I rowsort SELECT - col0 AS col2 FROM tab2 GROUP BY col0, col1 HAVING NULL IS NOT NULL ---- skipif postgresql # PostgreSQL requires AS when renaming output columns query II rowsort SELECT + col2 col1, col2 AS col1 FROM tab2 AS cor0 GROUP BY col0, col2 ---- 58 58 79 79 |
︙ | ︙ | |||
42088 42089 42090 42091 42092 42093 42094 42095 42096 42097 42098 42099 42100 42101 42102 42103 42104 42105 42106 42107 42108 42109 42110 42111 42112 42113 42114 42115 42116 42117 42118 42119 42120 42121 | ---- query I rowsort SELECT DISTINCT - col1 * - col1 + - col1 * - - col1 AS col0 FROM tab1 AS cor0 GROUP BY col1, col1 ---- 0 query I rowsort SELECT + col1 AS col2 FROM tab1 AS cor0 GROUP BY col1 HAVING + col2 > NULL ---- query I rowsort SELECT ALL col2 FROM tab1 AS cor0 GROUP BY col2 HAVING NULL NOT IN ( - AVG ( - col2 ) ) ---- skipif postgresql # PostgreSQL requires AS when renaming output columns query I rowsort SELECT ALL - + col2 col2 FROM tab1 AS cor0 GROUP BY col2, col2 ---- -45 -71 -8 query I rowsort SELECT - col2 FROM tab2 GROUP BY col0, col2 HAVING NULL IS NOT NULL ---- query I rowsort SELECT ALL + - col0 AS col1 FROM tab2 AS cor0 GROUP BY col0, col0 HAVING NULL > ( col1 ) ---- query I rowsort SELECT col0 FROM tab0 GROUP BY col1, col0, col2 ---- | > > | 42142 42143 42144 42145 42146 42147 42148 42149 42150 42151 42152 42153 42154 42155 42156 42157 42158 42159 42160 42161 42162 42163 42164 42165 42166 42167 42168 42169 42170 42171 42172 42173 42174 42175 42176 42177 | ---- query I rowsort SELECT DISTINCT - col1 * - col1 + - col1 * - - col1 AS col0 FROM tab1 AS cor0 GROUP BY col1, col1 ---- 0 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT + col1 AS col2 FROM tab1 AS cor0 GROUP BY col1 HAVING + col2 > NULL ---- query I rowsort SELECT ALL col2 FROM tab1 AS cor0 GROUP BY col2 HAVING NULL NOT IN ( - AVG ( - col2 ) ) ---- skipif postgresql # PostgreSQL requires AS when renaming output columns query I rowsort SELECT ALL - + col2 col2 FROM tab1 AS cor0 GROUP BY col2, col2 ---- -45 -71 -8 query I rowsort SELECT - col2 FROM tab2 GROUP BY col0, col2 HAVING NULL IS NOT NULL ---- skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT ALL + - col0 AS col1 FROM tab2 AS cor0 GROUP BY col0, col0 HAVING NULL > ( col1 ) ---- query I rowsort SELECT col0 FROM tab0 GROUP BY col1, col0, col2 ---- |
︙ | ︙ | |||
42516 42517 42518 42519 42520 42521 42522 42523 42524 42525 42526 42527 42528 42529 | query I rowsort SELECT DISTINCT col1 - col1 - col1 FROM tab0 AS cor0 GROUP BY col1, col1 ---- -81 0 query I rowsort SELECT ALL col0 AS col2 FROM tab0 AS cor0 GROUP BY col0 HAVING NOT col2 / - col2 + + col0 <> NULL ---- query I rowsort SELECT ALL + col1 FROM tab2 AS cor0 GROUP BY col1, col2 HAVING ( NOT NULL IS NOT NULL ) ---- | > | 42572 42573 42574 42575 42576 42577 42578 42579 42580 42581 42582 42583 42584 42585 42586 | query I rowsort SELECT DISTINCT col1 - col1 - col1 FROM tab0 AS cor0 GROUP BY col1, col1 ---- -81 0 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT ALL col0 AS col2 FROM tab0 AS cor0 GROUP BY col0 HAVING NOT col2 / - col2 + + col0 <> NULL ---- query I rowsort SELECT ALL + col1 FROM tab2 AS cor0 GROUP BY col1, col2 HAVING ( NOT NULL IS NOT NULL ) ---- |
︙ | ︙ | |||
42595 42596 42597 42598 42599 42600 42601 42602 42603 42604 42605 42606 42607 42608 | query I rowsort SELECT col2 AS col2 FROM tab2 GROUP BY col1, col0, col2 ---- 58 79 87 query I rowsort SELECT ALL - AVG ( ALL col2 ) AS col1 FROM tab1 GROUP BY col2, col2 HAVING ( NULL ) BETWEEN NULL AND ( col1 ) ---- query I rowsort SELECT ALL + col2 AS col1 FROM tab0 GROUP BY col2, col2 HAVING NULL IS NULL ---- | > | 42652 42653 42654 42655 42656 42657 42658 42659 42660 42661 42662 42663 42664 42665 42666 | query I rowsort SELECT col2 AS col2 FROM tab2 GROUP BY col1, col0, col2 ---- 58 79 87 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT ALL - AVG ( ALL col2 ) AS col1 FROM tab1 GROUP BY col2, col2 HAVING ( NULL ) BETWEEN NULL AND ( col1 ) ---- query I rowsort SELECT ALL + col2 AS col1 FROM tab0 GROUP BY col2, col2 HAVING NULL IS NULL ---- |
︙ | ︙ | |||
42737 42738 42739 42740 42741 42742 42743 42744 42745 42746 42747 42748 42749 42750 | 22 22 28 28 82 82 query I rowsort SELECT DISTINCT + col1 * col2 + - - col1 + - + col2 AS col0 FROM tab2 AS cor0 GROUP BY col1, col2 HAVING - + col0 <> NULL ---- query I rowsort SELECT DISTINCT - col1 + - col2 AS col0 FROM tab0 GROUP BY col1, col2, col2 ---- | > | 42795 42796 42797 42798 42799 42800 42801 42802 42803 42804 42805 42806 42807 42808 42809 | 22 22 28 28 82 82 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT DISTINCT + col1 * col2 + - - col1 + - + col2 AS col0 FROM tab2 AS cor0 GROUP BY col1, col2 HAVING - + col0 <> NULL ---- query I rowsort SELECT DISTINCT - col1 + - col2 AS col0 FROM tab0 GROUP BY col1, col2, col2 ---- |
︙ | ︙ | |||
43865 43866 43867 43868 43869 43870 43871 43872 43873 43874 43875 43876 43877 43878 | SELECT ALL - col1 AS col0 FROM tab2 WHERE NULL IS NOT NULL GROUP BY col1 ---- query I rowsort SELECT DISTINCT - col0 FROM tab0 AS cor0 GROUP BY col0, col0 HAVING NOT + col0 IS NOT NULL ---- query II rowsort SELECT DISTINCT + + col0 * + - col0 col1, - col0 FROM tab1 AS cor0 GROUP BY col0 ---- -484 -22 -6724 -82 | > | 43924 43925 43926 43927 43928 43929 43930 43931 43932 43933 43934 43935 43936 43937 43938 | SELECT ALL - col1 AS col0 FROM tab2 WHERE NULL IS NOT NULL GROUP BY col1 ---- query I rowsort SELECT DISTINCT - col0 FROM tab0 AS cor0 GROUP BY col0, col0 HAVING NOT + col0 IS NOT NULL ---- skipif postgresql # PostgreSQL requires AS when renaming output columns query II rowsort SELECT DISTINCT + + col0 * + - col0 col1, - col0 FROM tab1 AS cor0 GROUP BY col0 ---- -484 -22 -6724 -82 |
︙ | ︙ | |||
44138 44139 44140 44141 44142 44143 44144 44145 44146 44147 44148 44149 44150 44151 | SELECT - + col0 FROM tab0 WHERE NOT NULL > NULL GROUP BY col0, col2 HAVING NULL IS NOT NULL ---- query I rowsort SELECT - col0 AS col2 FROM tab2 AS cor0 WHERE NOT + col1 IS NOT NULL GROUP BY col0 ---- query I rowsort SELECT + AVG ( - + col0 ) * col0 AS col1 FROM tab2 GROUP BY col0 HAVING NOT NULL = - - col1 + - AVG ( ALL col0 ) ---- query II rowsort SELECT DISTINCT + col2 AS col2, - col2 AS col1 FROM tab0 GROUP BY col2 ---- | > | 44198 44199 44200 44201 44202 44203 44204 44205 44206 44207 44208 44209 44210 44211 44212 | SELECT - + col0 FROM tab0 WHERE NOT NULL > NULL GROUP BY col0, col2 HAVING NULL IS NOT NULL ---- query I rowsort SELECT - col0 AS col2 FROM tab2 AS cor0 WHERE NOT + col1 IS NOT NULL GROUP BY col0 ---- skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT + AVG ( - + col0 ) * col0 AS col1 FROM tab2 GROUP BY col0 HAVING NOT NULL = - - col1 + - AVG ( ALL col0 ) ---- query II rowsort SELECT DISTINCT + col2 AS col2, - col2 AS col1 FROM tab0 GROUP BY col2 ---- |
︙ | ︙ | |||
44347 44348 44349 44350 44351 44352 44353 44354 44355 44356 44357 44358 44359 44360 | query I rowsort SELECT ALL col0 AS col1 FROM tab1 cor0 GROUP BY col0, col0, col0 ---- 22 28 82 query I rowsort SELECT DISTINCT col0 AS col1 FROM tab0 AS cor0 GROUP BY col0, col0 HAVING - col1 * col1 * - col0 = NULL ---- query I rowsort SELECT DISTINCT col1 AS col0 FROM tab2 AS cor0 GROUP BY col2, col1 ---- | > | 44408 44409 44410 44411 44412 44413 44414 44415 44416 44417 44418 44419 44420 44421 44422 | query I rowsort SELECT ALL col0 AS col1 FROM tab1 cor0 GROUP BY col0, col0, col0 ---- 22 28 82 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT DISTINCT col0 AS col1 FROM tab0 AS cor0 GROUP BY col0, col0 HAVING - col1 * col1 * - col0 = NULL ---- query I rowsort SELECT DISTINCT col1 AS col0 FROM tab2 AS cor0 GROUP BY col2, col1 ---- |
︙ | ︙ | |||
44683 44684 44685 44686 44687 44688 44689 44690 44691 44692 44693 44694 44695 44696 | query I rowsort SELECT ALL - col2 * + - col2 AS col0 FROM tab2 GROUP BY col2 HAVING NULL IS NULL ---- 3364 6241 7569 query II rowsort SELECT ALL col2 col2, col2 AS col0 FROM tab0 AS cor0 WHERE NOT NULL IS NOT NULL GROUP BY col2 ---- 24 24 38 38 | > | 44745 44746 44747 44748 44749 44750 44751 44752 44753 44754 44755 44756 44757 44758 44759 | query I rowsort SELECT ALL - col2 * + - col2 AS col0 FROM tab2 GROUP BY col2 HAVING NULL IS NULL ---- 3364 6241 7569 skipif postgresql # PostgreSQL requires AS when renaming output columns query II rowsort SELECT ALL col2 col2, col2 AS col0 FROM tab0 AS cor0 WHERE NOT NULL IS NOT NULL GROUP BY col2 ---- 24 24 38 38 |
︙ | ︙ | |||
45662 45663 45664 45665 45666 45667 45668 45669 45670 45671 45672 45673 45674 45675 | query I rowsort SELECT DISTINCT col1 + + col1 FROM tab0 cor0 GROUP BY col1 ---- 0 162 query I rowsort SELECT ALL + col1 AS col0 FROM tab1 AS cor0 GROUP BY col1 HAVING NOT col0 <= NULL ---- query I rowsort SELECT ALL + col2 AS col2 FROM tab2 GROUP BY col2 HAVING NOT + col2 IS NOT NULL ---- | > | 45725 45726 45727 45728 45729 45730 45731 45732 45733 45734 45735 45736 45737 45738 45739 | query I rowsort SELECT DISTINCT col1 + + col1 FROM tab0 cor0 GROUP BY col1 ---- 0 162 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT ALL + col1 AS col0 FROM tab1 AS cor0 GROUP BY col1 HAVING NOT col0 <= NULL ---- query I rowsort SELECT ALL + col2 AS col2 FROM tab2 GROUP BY col2 HAVING NOT + col2 IS NOT NULL ---- |
︙ | ︙ | |||
46485 46486 46487 46488 46489 46490 46491 46492 46493 46494 46495 46496 46497 46498 | query I rowsort SELECT ALL - + col2 FROM tab2 cor0 GROUP BY col0, col2 ---- -58 -79 -87 query I rowsort SELECT ALL col2 AS col1 FROM tab2 GROUP BY col2, col0 HAVING NULL NOT BETWEEN NULL AND + col1 ---- query I rowsort SELECT ALL col1 - + col2 FROM tab0 GROUP BY col2, col1 ---- | > | 46549 46550 46551 46552 46553 46554 46555 46556 46557 46558 46559 46560 46561 46562 46563 | query I rowsort SELECT ALL - + col2 FROM tab2 cor0 GROUP BY col0, col2 ---- -58 -79 -87 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT ALL col2 AS col1 FROM tab2 GROUP BY col2, col0 HAVING NULL NOT BETWEEN NULL AND + col1 ---- query I rowsort SELECT ALL col1 - + col2 FROM tab0 GROUP BY col2, col1 ---- |
︙ | ︙ | |||
47108 47109 47110 47111 47112 47113 47114 47115 47116 47117 47118 47119 47120 47121 | query I rowsort SELECT DISTINCT + col1 FROM tab2 GROUP BY col1 HAVING NULL IS NULL ---- 41 59 61 query II rowsort SELECT ALL col2 col2, + col2 * + + col2 AS col0 FROM tab1 AS cor0 GROUP BY col2, col2 HAVING + col0 < NULL ---- query I rowsort SELECT ALL + col2 * + col0 AS col0 FROM tab1 GROUP BY col0, col2 ---- | > | 47173 47174 47175 47176 47177 47178 47179 47180 47181 47182 47183 47184 47185 47186 47187 | query I rowsort SELECT DISTINCT + col1 FROM tab2 GROUP BY col1 HAVING NULL IS NULL ---- 41 59 61 skipif postgresql # PostgreSQL requires AS when renaming output columns query II rowsort SELECT ALL col2 col2, + col2 * + + col2 AS col0 FROM tab1 AS cor0 GROUP BY col2, col2 HAVING + col0 < NULL ---- query I rowsort SELECT ALL + col2 * + col0 AS col0 FROM tab1 GROUP BY col0, col2 ---- |
︙ | ︙ | |||
48392 48393 48394 48395 48396 48397 48398 48399 48400 48401 48402 48403 48404 48405 | 6972 702 query I rowsort SELECT - - col1 AS col0 FROM tab2 AS cor0 WHERE col1 NOT BETWEEN NULL AND NULL GROUP BY col1 ---- query II rowsort SELECT col2 col2, col2 AS col2 FROM tab2 AS cor0 GROUP BY col2, col1 ---- 58 58 79 79 | > | 48458 48459 48460 48461 48462 48463 48464 48465 48466 48467 48468 48469 48470 48471 48472 | 6972 702 query I rowsort SELECT - - col1 AS col0 FROM tab2 AS cor0 WHERE col1 NOT BETWEEN NULL AND NULL GROUP BY col1 ---- skipif postgresql # PostgreSQL requires AS when renaming output columns query II rowsort SELECT col2 col2, col2 AS col2 FROM tab2 AS cor0 GROUP BY col2, col1 ---- 58 58 79 79 |
︙ | ︙ | |||
50080 50081 50082 50083 50084 50085 50086 50087 50088 50089 50090 50091 50092 50093 50094 50095 50096 50097 50098 50099 50100 50101 50102 50103 50104 50105 | -79 -87 query I rowsort SELECT - col0 - - col0 FROM tab2 GROUP BY col0 HAVING NOT NULL <= NULL ---- query II rowsort SELECT col1 col2, - col1 AS col2 FROM tab0 AS cor0 GROUP BY col1 ---- 0 0 81 -81 query I rowsort SELECT - col2 FROM tab0 AS cor0 GROUP BY col2, col2 HAVING NULL IS NOT NULL ---- query I rowsort SELECT DISTINCT AVG ( ALL + col0 ) * - AVG ( DISTINCT col0 ) AS col1 FROM tab1 GROUP BY col0 HAVING ( col1 ) <> NULL ---- query I rowsort SELECT ALL - col0 FROM tab1 GROUP BY col0, col2 HAVING NOT ( NULL ) IS NULL ---- | > > | 50147 50148 50149 50150 50151 50152 50153 50154 50155 50156 50157 50158 50159 50160 50161 50162 50163 50164 50165 50166 50167 50168 50169 50170 50171 50172 50173 50174 | -79 -87 query I rowsort SELECT - col0 - - col0 FROM tab2 GROUP BY col0 HAVING NOT NULL <= NULL ---- skipif postgresql # PostgreSQL requires AS when renaming output columns query II rowsort SELECT col1 col2, - col1 AS col2 FROM tab0 AS cor0 GROUP BY col1 ---- 0 0 81 -81 query I rowsort SELECT - col2 FROM tab0 AS cor0 GROUP BY col2, col2 HAVING NULL IS NOT NULL ---- skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT DISTINCT AVG ( ALL + col0 ) * - AVG ( DISTINCT col0 ) AS col1 FROM tab1 GROUP BY col0 HAVING ( col1 ) <> NULL ---- query I rowsort SELECT ALL - col0 FROM tab1 GROUP BY col0, col2 HAVING NOT ( NULL ) IS NULL ---- |
︙ | ︙ | |||
50316 50317 50318 50319 50320 50321 50322 50323 50324 50325 50326 50327 50328 50329 | 43 83 query I rowsort SELECT ALL + col0 FROM tab1 GROUP BY col0, col0, col2 HAVING NOT NULL IS NULL ---- query I rowsort SELECT - col2 - col2 * - col0 AS col1 FROM tab2 AS cor0 GROUP BY col2, col0 HAVING NOT + + col1 >= NULL ---- query I rowsort SELECT - col0 AS col0 FROM tab0 AS cor0 WHERE NULL IS NOT NULL GROUP BY col0, col2 ---- | > | 50385 50386 50387 50388 50389 50390 50391 50392 50393 50394 50395 50396 50397 50398 50399 | 43 83 query I rowsort SELECT ALL + col0 FROM tab1 GROUP BY col0, col0, col2 HAVING NOT NULL IS NULL ---- skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT - col2 - col2 * - col0 AS col1 FROM tab2 AS cor0 GROUP BY col2, col0 HAVING NOT + + col1 >= NULL ---- query I rowsort SELECT - col0 AS col0 FROM tab0 AS cor0 WHERE NULL IS NOT NULL GROUP BY col0, col2 ---- |
︙ | ︙ | |||
51329 51330 51331 51332 51333 51334 51335 51336 51337 51338 51339 51340 51341 51342 | 22 -22 28 -28 82 -82 query I rowsort SELECT DISTINCT - + col2 AS col1 FROM tab2 AS cor0 GROUP BY col2 HAVING NULL >= - col1 ---- query I rowsort SELECT - col1 AS col2 FROM tab0 AS cor0 GROUP BY col2, col2, col1 HAVING NOT NULL IS NULL ---- | > | 51399 51400 51401 51402 51403 51404 51405 51406 51407 51408 51409 51410 51411 51412 51413 | 22 -22 28 -28 82 -82 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT DISTINCT - + col2 AS col1 FROM tab2 AS cor0 GROUP BY col2 HAVING NULL >= - col1 ---- query I rowsort SELECT - col1 AS col2 FROM tab0 AS cor0 GROUP BY col2, col2, col1 HAVING NOT NULL IS NULL ---- |
︙ | ︙ | |||
51412 51413 51414 51415 51416 51417 51418 51419 51420 51421 51422 51423 51424 51425 | query I rowsort SELECT + col1 col0 FROM tab1 GROUP BY col2, col1 ---- 44 57 6 query I rowsort SELECT + col2 AS col0 FROM tab0 GROUP BY col2, col2, col2 HAVING NULL < col0 ---- query I rowsort SELECT - col2 AS col1 FROM tab1 GROUP BY col1, col2 HAVING NOT - col2 IS NOT NULL ---- | > | 51483 51484 51485 51486 51487 51488 51489 51490 51491 51492 51493 51494 51495 51496 51497 | query I rowsort SELECT + col1 col0 FROM tab1 GROUP BY col2, col1 ---- 44 57 6 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT + col2 AS col0 FROM tab0 GROUP BY col2, col2, col2 HAVING NULL < col0 ---- query I rowsort SELECT - col2 AS col1 FROM tab1 GROUP BY col1, col2 HAVING NOT - col2 IS NOT NULL ---- |
︙ | ︙ | |||
51727 51728 51729 51730 51731 51732 51733 51734 51735 51736 51737 51738 51739 51740 | 0 skipif postgresql # PostgreSQL requires AS when renaming output columns query I rowsort SELECT - + col2 col1 FROM tab1 AS cor0 GROUP BY col2 HAVING NOT NULL <> NULL ---- query II rowsort SELECT col0 col1, col0 AS col1 FROM tab2 AS cor0 GROUP BY col0 ---- 15 15 91 91 | > | 51799 51800 51801 51802 51803 51804 51805 51806 51807 51808 51809 51810 51811 51812 51813 | 0 skipif postgresql # PostgreSQL requires AS when renaming output columns query I rowsort SELECT - + col2 col1 FROM tab1 AS cor0 GROUP BY col2 HAVING NOT NULL <> NULL ---- skipif postgresql # PostgreSQL requires AS when renaming output columns query II rowsort SELECT col0 col1, col0 AS col1 FROM tab2 AS cor0 GROUP BY col0 ---- 15 15 91 91 |
︙ | ︙ | |||
52725 52726 52727 52728 52729 52730 52731 52732 52733 52734 52735 52736 52737 52738 | SELECT + col0 FROM tab2 AS cor0 GROUP BY col1, col0 HAVING NOT NULL IS NULL ---- query I rowsort SELECT ALL + col2 AS col0 FROM tab2 WHERE NOT ( ( NOT col1 * - col0 IS NULL ) ) GROUP BY col2, col1 ---- query II rowsort SELECT ALL + col2 col1, - col1 AS col0 FROM tab1 GROUP BY col2, col1 ---- 45 -57 71 -44 | > | 52798 52799 52800 52801 52802 52803 52804 52805 52806 52807 52808 52809 52810 52811 52812 | SELECT + col0 FROM tab2 AS cor0 GROUP BY col1, col0 HAVING NOT NULL IS NULL ---- query I rowsort SELECT ALL + col2 AS col0 FROM tab2 WHERE NOT ( ( NOT col1 * - col0 IS NULL ) ) GROUP BY col2, col1 ---- skipif postgresql # PostgreSQL requires AS when renaming output columns query II rowsort SELECT ALL + col2 col1, - col1 AS col0 FROM tab1 GROUP BY col2, col1 ---- 45 -57 71 -44 |
︙ | ︙ | |||
53326 53327 53328 53329 53330 53331 53332 53333 53334 53335 53336 53337 53338 53339 | query I rowsort SELECT DISTINCT col0 * col0 FROM tab2 GROUP BY col0 ---- 225 8281 8464 query II rowsort SELECT DISTINCT col0 col1, col0 FROM tab2 AS cor0 GROUP BY col0, col0 ---- 15 15 91 91 | > | 53400 53401 53402 53403 53404 53405 53406 53407 53408 53409 53410 53411 53412 53413 53414 | query I rowsort SELECT DISTINCT col0 * col0 FROM tab2 GROUP BY col0 ---- 225 8281 8464 skipif postgresql # PostgreSQL requires AS when renaming output columns query II rowsort SELECT DISTINCT col0 col1, col0 FROM tab2 AS cor0 GROUP BY col0, col0 ---- 15 15 91 91 |
︙ | ︙ | |||
53515 53516 53517 53518 53519 53520 53521 53522 53523 53524 53525 53526 53527 53528 | query I rowsort SELECT ALL - col0 col0 FROM tab2 GROUP BY col2, col0 ---- -15 -91 -92 query I rowsort SELECT col1 AS col2 FROM tab1 cor0 GROUP BY col1, col1 HAVING - col2 < NULL ---- query I rowsort SELECT DISTINCT col2 AS col0 FROM tab0 AS cor0 WHERE NOT NULL NOT BETWEEN + col0 AND col1 GROUP BY col2 ---- | > | 53590 53591 53592 53593 53594 53595 53596 53597 53598 53599 53600 53601 53602 53603 53604 | query I rowsort SELECT ALL - col0 col0 FROM tab2 GROUP BY col2, col0 ---- -15 -91 -92 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT col1 AS col2 FROM tab1 cor0 GROUP BY col1, col1 HAVING - col2 < NULL ---- query I rowsort SELECT DISTINCT col2 AS col0 FROM tab0 AS cor0 WHERE NOT NULL NOT BETWEEN + col0 AND col1 GROUP BY col2 ---- |
︙ | ︙ | |||
53762 53763 53764 53765 53766 53767 53768 53769 53770 53771 53772 53773 53774 53775 | query I rowsort SELECT - + col1 AS col0 FROM tab2 WHERE NOT - col1 IS NULL GROUP BY col1, col1 ---- -41 -59 -61 query II rowsort SELECT DISTINCT col1 col2, - col1 AS col0 FROM tab2 GROUP BY col1 ---- 41 -41 59 -59 | > | 53838 53839 53840 53841 53842 53843 53844 53845 53846 53847 53848 53849 53850 53851 53852 | query I rowsort SELECT - + col1 AS col0 FROM tab2 WHERE NOT - col1 IS NULL GROUP BY col1, col1 ---- -41 -59 -61 skipif postgresql # PostgreSQL requires AS when renaming output columns query II rowsort SELECT DISTINCT col1 col2, - col1 AS col0 FROM tab2 GROUP BY col1 ---- 41 -41 59 -59 |
︙ | ︙ | |||
54103 54104 54105 54106 54107 54108 54109 54110 54111 54112 54113 54114 54115 54116 | query I rowsort SELECT DISTINCT + col0 col0 FROM tab1 AS cor0 WHERE - col2 IS NOT NULL GROUP BY col0 ---- 22 28 82 query I rowsort SELECT - col2 AS col1 FROM tab0 GROUP BY col2, col2 HAVING NOT NULL BETWEEN NULL AND - - col2 / - col1 ---- skipif postgresql # PostgreSQL requires AS when renaming output columns query I rowsort SELECT - col0 col0 FROM tab2 cor0 GROUP BY col0 HAVING NULL IS NULL | > | 54180 54181 54182 54183 54184 54185 54186 54187 54188 54189 54190 54191 54192 54193 54194 | query I rowsort SELECT DISTINCT + col0 col0 FROM tab1 AS cor0 WHERE - col2 IS NOT NULL GROUP BY col0 ---- 22 28 82 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT - col2 AS col1 FROM tab0 GROUP BY col2, col2 HAVING NOT NULL BETWEEN NULL AND - - col2 / - col1 ---- skipif postgresql # PostgreSQL requires AS when renaming output columns query I rowsort SELECT - col0 col0 FROM tab2 cor0 GROUP BY col0 HAVING NULL IS NULL |
︙ | ︙ | |||
54844 54845 54846 54847 54848 54849 54850 54851 54852 54853 54854 54855 54856 54857 | 24 43 38 83 79 26 query II rowsort SELECT ALL + col0 col2, col1 * - col1 AS col0 FROM tab2 GROUP BY col0, col1 ---- 15 -3721 91 -3481 | > | 54922 54923 54924 54925 54926 54927 54928 54929 54930 54931 54932 54933 54934 54935 54936 | 24 43 38 83 79 26 skipif postgresql # PostgreSQL requires AS when renaming output columns query II rowsort SELECT ALL + col0 col2, col1 * - col1 AS col0 FROM tab2 GROUP BY col0, col1 ---- 15 -3721 91 -3481 |
︙ | ︙ | |||
55015 55016 55017 55018 55019 55020 55021 55022 55023 55024 55025 55026 55027 55028 | 0 81 query I rowsort SELECT ALL col0 / + col0 AS col0 FROM tab2 GROUP BY col2, col0 HAVING NOT NULL IS NULL ---- query II rowsort SELECT ALL + col0 AS col1, col0 AS col2 FROM tab1 GROUP BY col0 HAVING NOT + col2 BETWEEN NULL AND NULL ---- query I rowsort SELECT DISTINCT - + col2 FROM tab2 AS cor0 GROUP BY col2, col1 ---- | > | 55094 55095 55096 55097 55098 55099 55100 55101 55102 55103 55104 55105 55106 55107 55108 | 0 81 query I rowsort SELECT ALL col0 / + col0 AS col0 FROM tab2 GROUP BY col2, col0 HAVING NOT NULL IS NULL ---- skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query II rowsort SELECT ALL + col0 AS col1, col0 AS col2 FROM tab1 GROUP BY col0 HAVING NOT + col2 BETWEEN NULL AND NULL ---- query I rowsort SELECT DISTINCT - + col2 FROM tab2 AS cor0 GROUP BY col2, col1 ---- |
︙ | ︙ | |||
55164 55165 55166 55167 55168 55169 55170 55171 55172 55173 55174 55175 55176 55177 | query I rowsort SELECT ALL + col2 - - + col2 + - - col2 FROM tab2 AS cor0 GROUP BY col2 ---- 174 237 261 query I rowsort SELECT + col1 AS col2 FROM tab1 GROUP BY col1 HAVING NOT NULL <> - col2 ---- query I rowsort SELECT ALL + col0 FROM tab2 cor0 GROUP BY col0 HAVING NOT NULL > NULL ---- | > | 55244 55245 55246 55247 55248 55249 55250 55251 55252 55253 55254 55255 55256 55257 55258 | query I rowsort SELECT ALL + col2 - - + col2 + - - col2 FROM tab2 AS cor0 GROUP BY col2 ---- 174 237 261 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT + col1 AS col2 FROM tab1 GROUP BY col1 HAVING NOT NULL <> - col2 ---- query I rowsort SELECT ALL + col0 FROM tab2 cor0 GROUP BY col0 HAVING NOT NULL > NULL ---- |
︙ | ︙ | |||
55688 55689 55690 55691 55692 55693 55694 55695 55696 55697 55698 55699 55700 55701 | 92 skipif postgresql # PostgreSQL requires AS when renaming output columns query I rowsort SELECT ALL - col2 col2 FROM tab2 WHERE ( NULL ) NOT IN ( col1 ) GROUP BY col2 ---- query III rowsort SELECT - col2 col2, col2, col2 AS col1 FROM tab2 GROUP BY col2 ---- 9 values hashing to 0b557cf9945bfac98ef8ff910306a370 query I rowsort SELECT + col0 * + - col0 + + col0 FROM tab1 GROUP BY col0 | > | 55769 55770 55771 55772 55773 55774 55775 55776 55777 55778 55779 55780 55781 55782 55783 | 92 skipif postgresql # PostgreSQL requires AS when renaming output columns query I rowsort SELECT ALL - col2 col2 FROM tab2 WHERE ( NULL ) NOT IN ( col1 ) GROUP BY col2 ---- skipif postgresql # PostgreSQL requires AS when renaming output columns query III rowsort SELECT - col2 col2, col2, col2 AS col1 FROM tab2 GROUP BY col2 ---- 9 values hashing to 0b557cf9945bfac98ef8ff910306a370 query I rowsort SELECT + col0 * + - col0 + + col0 FROM tab1 GROUP BY col0 |
︙ | ︙ | |||
56409 56410 56411 56412 56413 56414 56415 56416 56417 56418 56419 56420 56421 56422 | SELECT ALL - + col2 AS col0 FROM tab2 AS cor0 GROUP BY col2 HAVING ( col2 ) IS NULL ---- query I rowsort SELECT DISTINCT - + col1 FROM tab1 AS cor0 GROUP BY col1 HAVING NULL IS NOT NULL ---- query I rowsort SELECT + col0 AS col2 FROM tab0 AS cor0 WHERE - col2 >= + col0 GROUP BY col0 HAVING + col2 > NULL ---- query I rowsort SELECT col2 + + + col2 AS col2 FROM tab0 AS cor0 GROUP BY col2 ---- | > | 56491 56492 56493 56494 56495 56496 56497 56498 56499 56500 56501 56502 56503 56504 56505 | SELECT ALL - + col2 AS col0 FROM tab2 AS cor0 GROUP BY col2 HAVING ( col2 ) IS NULL ---- query I rowsort SELECT DISTINCT - + col1 FROM tab1 AS cor0 GROUP BY col1 HAVING NULL IS NOT NULL ---- skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT + col0 AS col2 FROM tab0 AS cor0 WHERE - col2 >= + col0 GROUP BY col0 HAVING + col2 > NULL ---- query I rowsort SELECT col2 + + + col2 AS col2 FROM tab0 AS cor0 GROUP BY col2 ---- |
︙ | ︙ | |||
56548 56549 56550 56551 56552 56553 56554 56555 56556 56557 56558 56559 56560 56561 | query I rowsort SELECT col2 + col2 AS col0 FROM tab1 GROUP BY col1, col2 ---- 142 16 90 query I rowsort SELECT AVG ( + - col0 ) AS col1 FROM tab0 cor0 GROUP BY col2, col0 HAVING + col1 + col2 BETWEEN NULL AND NULL ---- query I rowsort SELECT col2 + - col2 AS col1 FROM tab1 AS cor0 GROUP BY col2, col2 ---- | > | 56631 56632 56633 56634 56635 56636 56637 56638 56639 56640 56641 56642 56643 56644 56645 | query I rowsort SELECT col2 + col2 AS col0 FROM tab1 GROUP BY col1, col2 ---- 142 16 90 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT AVG ( + - col0 ) AS col1 FROM tab0 cor0 GROUP BY col2, col0 HAVING + col1 + col2 BETWEEN NULL AND NULL ---- query I rowsort SELECT col2 + - col2 AS col1 FROM tab1 AS cor0 GROUP BY col2, col2 ---- |
︙ | ︙ | |||
57391 57392 57393 57394 57395 57396 57397 57398 57399 57400 57401 57402 57403 57404 | 43 83 query I rowsort SELECT + col2 FROM tab0 AS cor0 WHERE ( NULL ) >= NULL GROUP BY col2 ---- query II rowsort SELECT DISTINCT - col1 col1, col1 + col1 * + col1 AS col0 FROM tab1 GROUP BY col2, col1 ---- -44 1980 -57 3306 | > | 57475 57476 57477 57478 57479 57480 57481 57482 57483 57484 57485 57486 57487 57488 57489 | 43 83 query I rowsort SELECT + col2 FROM tab0 AS cor0 WHERE ( NULL ) >= NULL GROUP BY col2 ---- skipif postgresql # PostgreSQL requires AS when renaming output columns query II rowsort SELECT DISTINCT - col1 col1, col1 + col1 * + col1 AS col0 FROM tab1 GROUP BY col2, col1 ---- -44 1980 -57 3306 |
︙ | ︙ | |||
58432 58433 58434 58435 58436 58437 58438 58439 58440 58441 58442 58443 58444 58445 | SELECT ALL col2 FROM tab0 AS cor0 GROUP BY col0, col2 HAVING + col2 < NULL ---- query I rowsort SELECT ALL + col2 FROM tab0 AS cor0 WHERE NULL IS NOT NULL GROUP BY col2 ---- query II rowsort SELECT DISTINCT col0 col2, col0 FROM tab2 GROUP BY col0, col1 ---- 15 15 91 91 | > | 58517 58518 58519 58520 58521 58522 58523 58524 58525 58526 58527 58528 58529 58530 58531 | SELECT ALL col2 FROM tab0 AS cor0 GROUP BY col0, col2 HAVING + col2 < NULL ---- query I rowsort SELECT ALL + col2 FROM tab0 AS cor0 WHERE NULL IS NOT NULL GROUP BY col2 ---- skipif postgresql # PostgreSQL requires AS when renaming output columns query II rowsort SELECT DISTINCT col0 col2, col0 FROM tab2 GROUP BY col0, col1 ---- 15 15 91 91 |
︙ | ︙ | |||
58848 58849 58850 58851 58852 58853 58854 58855 58856 58857 58858 58859 58860 58861 | query I rowsort SELECT ALL + - col1 - - + col1 AS col0 FROM tab2 AS cor0 GROUP BY col1 HAVING ( NULL IS NULL ) ---- 0 0 0 query I rowsort SELECT DISTINCT - col0 AS col2 FROM tab1 AS cor0 GROUP BY col0 HAVING col2 * col0 <> ( NULL ) ---- query I rowsort SELECT + - col1 AS col0 FROM tab2 cor0 GROUP BY col1 HAVING NULL IS NULL ---- | > | 58934 58935 58936 58937 58938 58939 58940 58941 58942 58943 58944 58945 58946 58947 58948 | query I rowsort SELECT ALL + - col1 - - + col1 AS col0 FROM tab2 AS cor0 GROUP BY col1 HAVING ( NULL IS NULL ) ---- 0 0 0 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT DISTINCT - col0 AS col2 FROM tab1 AS cor0 GROUP BY col0 HAVING col2 * col0 <> ( NULL ) ---- query I rowsort SELECT + - col1 AS col0 FROM tab2 cor0 GROUP BY col1 HAVING NULL IS NULL ---- |
︙ | ︙ | |||
58949 58950 58951 58952 58953 58954 58955 58956 58957 58958 58959 58960 58961 58962 | query I rowsort SELECT DISTINCT + - col1 FROM tab2 WHERE NULL IS NULL GROUP BY col1, col1 ---- -41 -59 -61 query I rowsort SELECT col1 AS col2 FROM tab2 GROUP BY col1 HAVING NOT ( col2 ) BETWEEN NULL AND NULL ---- query I rowsort SELECT - col0 AS col2 FROM tab0 AS cor0 GROUP BY col0, col0 ---- | > | 59036 59037 59038 59039 59040 59041 59042 59043 59044 59045 59046 59047 59048 59049 59050 | query I rowsort SELECT DISTINCT + - col1 FROM tab2 WHERE NULL IS NULL GROUP BY col1, col1 ---- -41 -59 -61 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT col1 AS col2 FROM tab2 GROUP BY col1 HAVING NOT ( col2 ) BETWEEN NULL AND NULL ---- query I rowsort SELECT - col0 AS col2 FROM tab0 AS cor0 GROUP BY col0, col0 ---- |
︙ | ︙ | |||
59501 59502 59503 59504 59505 59506 59507 59508 59509 59510 59511 59512 59513 59514 | SELECT DISTINCT col1, + col1 FROM tab0 GROUP BY col1 ---- 0 0 81 81 query II rowsort SELECT ALL - col2 col2, col2 AS col0 FROM tab2 GROUP BY col2 ---- -58 58 -79 79 | > | 59589 59590 59591 59592 59593 59594 59595 59596 59597 59598 59599 59600 59601 59602 59603 | SELECT DISTINCT col1, + col1 FROM tab0 GROUP BY col1 ---- 0 0 81 81 skipif postgresql # PostgreSQL requires AS when renaming output columns query II rowsort SELECT ALL - col2 col2, col2 AS col0 FROM tab2 GROUP BY col2 ---- -58 58 -79 79 |
︙ | ︙ | |||
59606 59607 59608 59609 59610 59611 59612 59613 59614 59615 59616 59617 59618 59619 | -3306 -42 query I rowsort SELECT DISTINCT col2 AS col2 FROM tab2 GROUP BY col2 HAVING NULL IS NOT NULL ---- query II rowsort SELECT ALL col1 col2, col1 AS col1 FROM tab1 AS cor0 GROUP BY col1 ---- 44 44 57 57 | > | 59695 59696 59697 59698 59699 59700 59701 59702 59703 59704 59705 59706 59707 59708 59709 | -3306 -42 query I rowsort SELECT DISTINCT col2 AS col2 FROM tab2 GROUP BY col2 HAVING NULL IS NOT NULL ---- skipif postgresql # PostgreSQL requires AS when renaming output columns query II rowsort SELECT ALL col1 col2, col1 AS col1 FROM tab1 AS cor0 GROUP BY col1 ---- 44 44 57 57 |
︙ | ︙ | |||
61427 61428 61429 61430 61431 61432 61433 61434 61435 61436 61437 61438 61439 61440 | query I rowsort SELECT DISTINCT - col2 AS col0 FROM tab1 cor0 GROUP BY col0, col2 ---- -45 -71 -8 query II rowsort SELECT - col1 col2, col1 AS col1 FROM tab2 WHERE NOT ( + col1 ) IS NOT NULL GROUP BY col1, col1 ---- query I rowsort SELECT DISTINCT col0 AS col1 FROM tab0 cor0 GROUP BY col0, col0 HAVING + col0 IS NOT NULL ---- | > | 61517 61518 61519 61520 61521 61522 61523 61524 61525 61526 61527 61528 61529 61530 61531 | query I rowsort SELECT DISTINCT - col2 AS col0 FROM tab1 cor0 GROUP BY col0, col2 ---- -45 -71 -8 skipif postgresql # PostgreSQL requires AS when renaming output columns query II rowsort SELECT - col1 col2, col1 AS col1 FROM tab2 WHERE NOT ( + col1 ) IS NOT NULL GROUP BY col1, col1 ---- query I rowsort SELECT DISTINCT col0 AS col1 FROM tab0 cor0 GROUP BY col0, col0 HAVING + col0 IS NOT NULL ---- |
︙ | ︙ | |||
61671 61672 61673 61674 61675 61676 61677 61678 61679 61680 61681 61682 61683 61684 | query I rowsort SELECT - col0 - col0 FROM tab1 AS cor0 GROUP BY col0 ---- -164 -44 -56 query II rowsort SELECT - col2 col1, col2 AS col1 FROM tab2 GROUP BY col2 ---- -58 58 -79 79 | > | 61762 61763 61764 61765 61766 61767 61768 61769 61770 61771 61772 61773 61774 61775 61776 | query I rowsort SELECT - col0 - col0 FROM tab1 AS cor0 GROUP BY col0 ---- -164 -44 -56 skipif postgresql # PostgreSQL requires AS when renaming output columns query II rowsort SELECT - col2 col1, col2 AS col1 FROM tab2 GROUP BY col2 ---- -58 58 -79 79 |
︙ | ︙ | |||
62497 62498 62499 62500 62501 62502 62503 62504 62505 62506 62507 62508 62509 62510 | query I rowsort SELECT - col0 AS col2 FROM tab1 cor0 GROUP BY col0, col2 ---- -22 -28 -82 query II rowsort SELECT col2 + - col2 col1, col2 FROM tab1 GROUP BY col2 HAVING NOT ( NULL ) NOT BETWEEN NULL AND NULL ---- query I rowsort SELECT ALL + col2 FROM tab0 GROUP BY col2, col2, col0 ---- | > | 62589 62590 62591 62592 62593 62594 62595 62596 62597 62598 62599 62600 62601 62602 62603 | query I rowsort SELECT - col0 AS col2 FROM tab1 cor0 GROUP BY col0, col2 ---- -22 -28 -82 skipif postgresql # PostgreSQL requires AS when renaming output columns query II rowsort SELECT col2 + - col2 col1, col2 FROM tab1 GROUP BY col2 HAVING NOT ( NULL ) NOT BETWEEN NULL AND NULL ---- query I rowsort SELECT ALL + col2 FROM tab0 GROUP BY col2, col2, col0 ---- |
︙ | ︙ | |||
62879 62880 62881 62882 62883 62884 62885 62886 62887 62888 62889 62890 62891 62892 | query I rowsort SELECT col0 col0 FROM tab0 cor0 GROUP BY col0, col1 ---- 26 43 83 query I rowsort SELECT col1 AS col2 FROM tab2 GROUP BY col1 HAVING NULL >= + col2 + + - col1 ---- query I rowsort SELECT - col2 * + col2 + - col0 FROM tab1 cor0 GROUP BY col0, col2 ---- | > | 62972 62973 62974 62975 62976 62977 62978 62979 62980 62981 62982 62983 62984 62985 62986 | query I rowsort SELECT col0 col0 FROM tab0 cor0 GROUP BY col0, col1 ---- 26 43 83 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT col1 AS col2 FROM tab2 GROUP BY col1 HAVING NULL >= + col2 + + - col1 ---- query I rowsort SELECT - col2 * + col2 + - col0 FROM tab1 cor0 GROUP BY col0, col2 ---- |
︙ | ︙ | |||
63256 63257 63258 63259 63260 63261 63262 63263 63264 63265 63266 63267 63268 63269 | SELECT DISTINCT - col0 FROM tab2 AS cor0 WHERE ( NULL ) IS NOT NULL GROUP BY col0 ---- query II rowsort SELECT ALL - + col0 AS col0, col0 AS col2 FROM tab1 AS cor0 WHERE NOT - col0 * - col2 IS NOT NULL GROUP BY col0, col2 ---- query II rowsort SELECT + col2 col0, + col2 FROM tab0 AS cor0 GROUP BY col2 ---- 24 24 38 38 | > | 63350 63351 63352 63353 63354 63355 63356 63357 63358 63359 63360 63361 63362 63363 63364 | SELECT DISTINCT - col0 FROM tab2 AS cor0 WHERE ( NULL ) IS NOT NULL GROUP BY col0 ---- query II rowsort SELECT ALL - + col0 AS col0, col0 AS col2 FROM tab1 AS cor0 WHERE NOT - col0 * - col2 IS NOT NULL GROUP BY col0, col2 ---- skipif postgresql # PostgreSQL requires AS when renaming output columns query II rowsort SELECT + col2 col0, + col2 FROM tab0 AS cor0 GROUP BY col2 ---- 24 24 38 38 |
︙ | ︙ | |||
63963 63964 63965 63966 63967 63968 63969 63970 63971 63972 63973 63974 63975 63976 | query I rowsort SELECT - col0 AS col1 FROM tab1 AS cor0 GROUP BY col2, col0, col0 HAVING NOT NULL IS NOT NULL ---- -22 -28 -82 query II rowsort SELECT DISTINCT - col1 col0, col1 FROM tab1 AS cor0 GROUP BY col1 ---- -44 44 -57 57 | > | 64058 64059 64060 64061 64062 64063 64064 64065 64066 64067 64068 64069 64070 64071 64072 | query I rowsort SELECT - col0 AS col1 FROM tab1 AS cor0 GROUP BY col2, col0, col0 HAVING NOT NULL IS NOT NULL ---- -22 -28 -82 skipif postgresql # PostgreSQL requires AS when renaming output columns query II rowsort SELECT DISTINCT - col1 col0, col1 FROM tab1 AS cor0 GROUP BY col1 ---- -44 44 -57 57 |
︙ | ︙ | |||
64006 64007 64008 64009 64010 64011 64012 64013 64014 64015 64016 64017 64018 64019 | 0 0 query I rowsort SELECT col2 AS col1 FROM tab1 AS cor0 GROUP BY col2, col2 HAVING NULL IS NOT NULL ---- query II rowsort SELECT DISTINCT + col1 col1, - col0 AS col0 FROM tab2 AS cor0 GROUP BY col0, col1, col0 ---- 41 -92 59 -91 | > | 64102 64103 64104 64105 64106 64107 64108 64109 64110 64111 64112 64113 64114 64115 64116 | 0 0 query I rowsort SELECT col2 AS col1 FROM tab1 AS cor0 GROUP BY col2, col2 HAVING NULL IS NOT NULL ---- skipif postgresql # PostgreSQL requires AS when renaming output columns query II rowsort SELECT DISTINCT + col1 col1, - col0 AS col0 FROM tab2 AS cor0 GROUP BY col0, col1, col0 ---- 41 -92 59 -91 |
︙ | ︙ | |||
64336 64337 64338 64339 64340 64341 64342 64343 64344 64345 64346 64347 64348 64349 | query I rowsort SELECT DISTINCT - col0 * + + col0 FROM tab1 GROUP BY col0 ---- -484 -6724 -784 query II rowsort SELECT - - col0 col2, col0 FROM tab2 AS cor0 GROUP BY col0 ---- 15 15 91 91 | > | 64433 64434 64435 64436 64437 64438 64439 64440 64441 64442 64443 64444 64445 64446 64447 | query I rowsort SELECT DISTINCT - col0 * + + col0 FROM tab1 GROUP BY col0 ---- -484 -6724 -784 skipif postgresql # PostgreSQL requires AS when renaming output columns query II rowsort SELECT - - col0 col2, col0 FROM tab2 AS cor0 GROUP BY col0 ---- 15 15 91 91 |
︙ | ︙ | |||
64478 64479 64480 64481 64482 64483 64484 64485 64486 64487 64488 64489 64490 64491 | 71 8 query I rowsort SELECT DISTINCT col0 FROM tab1 cor0 WHERE NOT ( col0 ) <= NULL GROUP BY col2, col0, col1 ---- query I rowsort SELECT ALL col2 AS col0 FROM tab0 AS cor0 GROUP BY col2 HAVING NOT + col0 < NULL ---- query II rowsort SELECT DISTINCT - col0 * + col0, + col0 FROM tab2 AS cor0 GROUP BY col0 ---- | > | 64576 64577 64578 64579 64580 64581 64582 64583 64584 64585 64586 64587 64588 64589 64590 | 71 8 query I rowsort SELECT DISTINCT col0 FROM tab1 cor0 WHERE NOT ( col0 ) <= NULL GROUP BY col2, col0, col1 ---- skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT ALL col2 AS col0 FROM tab0 AS cor0 GROUP BY col2 HAVING NOT + col0 < NULL ---- query II rowsort SELECT DISTINCT - col0 * + col0, + col0 FROM tab2 AS cor0 GROUP BY col0 ---- |
︙ | ︙ |
Changes to test/random/groupby/slt_good_11.test.
︙ | ︙ | |||
631 632 633 634 635 636 637 638 639 640 641 642 643 644 | query I rowsort SELECT DISTINCT col2 * - col2 AS col1 FROM tab1 GROUP BY col1, col2 ---- -2025 -5041 -64 query II rowsort SELECT ALL col2 AS col0, + col2 FROM tab2 GROUP BY col2, col2 HAVING col0 <> NULL ---- query I rowsort SELECT DISTINCT - col0 * - col0 * col0 FROM tab2 GROUP BY col0 ---- | > | 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 | query I rowsort SELECT DISTINCT col2 * - col2 AS col1 FROM tab1 GROUP BY col1, col2 ---- -2025 -5041 -64 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query II rowsort SELECT ALL col2 AS col0, + col2 FROM tab2 GROUP BY col2, col2 HAVING col0 <> NULL ---- query I rowsort SELECT DISTINCT - col0 * - col0 * col0 FROM tab2 GROUP BY col0 ---- |
︙ | ︙ | |||
1273 1274 1275 1276 1277 1278 1279 1280 1281 1282 1283 1284 1285 1286 | 38 79 query I rowsort SELECT - col1 AS col1 FROM tab2 GROUP BY col1 HAVING NULL IS NOT NULL ---- query I rowsort SELECT DISTINCT col1 AS col0 FROM tab2 AS cor0 GROUP BY col1, col1 HAVING NULL <= + col0 ---- query I rowsort SELECT ALL col1 AS col2 FROM tab0 AS cor0 WHERE ( NULL ) <= + - col1 GROUP BY col0, col1 HAVING + col1 IS NOT NULL ---- | > | 1274 1275 1276 1277 1278 1279 1280 1281 1282 1283 1284 1285 1286 1287 1288 | 38 79 query I rowsort SELECT - col1 AS col1 FROM tab2 GROUP BY col1 HAVING NULL IS NOT NULL ---- skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT DISTINCT col1 AS col0 FROM tab2 AS cor0 GROUP BY col1, col1 HAVING NULL <= + col0 ---- query I rowsort SELECT ALL col1 AS col2 FROM tab0 AS cor0 WHERE ( NULL ) <= + - col1 GROUP BY col0, col1 HAVING + col1 IS NOT NULL ---- |
︙ | ︙ | |||
1986 1987 1988 1989 1990 1991 1992 1993 1994 1995 1996 1997 1998 1999 | query I rowsort SELECT col0 FROM tab1 AS cor0 GROUP BY col0, col0, col0 ---- 22 28 82 query I rowsort SELECT ALL - col0 * + col0 AS col1 FROM tab1 cor0 GROUP BY col0 HAVING NULL NOT BETWEEN + col1 AND NULL ---- query I rowsort SELECT col0 / - col0 AS col2 FROM tab1 GROUP BY col0, col1 HAVING NULL IS NOT NULL ---- | > | 1988 1989 1990 1991 1992 1993 1994 1995 1996 1997 1998 1999 2000 2001 2002 | query I rowsort SELECT col0 FROM tab1 AS cor0 GROUP BY col0, col0, col0 ---- 22 28 82 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT ALL - col0 * + col0 AS col1 FROM tab1 cor0 GROUP BY col0 HAVING NULL NOT BETWEEN + col1 AND NULL ---- query I rowsort SELECT col0 / - col0 AS col2 FROM tab1 GROUP BY col0, col1 HAVING NULL IS NOT NULL ---- |
︙ | ︙ | |||
2610 2611 2612 2613 2614 2615 2616 2617 2618 2619 2620 2621 2622 2623 | query I rowsort SELECT ALL - col0 + - col0 FROM tab1 GROUP BY col0 ---- -164 -44 -56 query II rowsort SELECT ALL - col0 col2, - col0 FROM tab0 AS cor0 GROUP BY col0 ---- -26 -26 -43 -43 | > | 2613 2614 2615 2616 2617 2618 2619 2620 2621 2622 2623 2624 2625 2626 2627 | query I rowsort SELECT ALL - col0 + - col0 FROM tab1 GROUP BY col0 ---- -164 -44 -56 skipif postgresql # PostgreSQL requires AS when renaming output columns query II rowsort SELECT ALL - col0 col2, - col0 FROM tab0 AS cor0 GROUP BY col0 ---- -26 -26 -43 -43 |
︙ | ︙ | |||
2654 2655 2656 2657 2658 2659 2660 2661 2662 2663 2664 2665 2666 2667 | 57 6 query I rowsort SELECT DISTINCT - + col1 FROM tab2 AS cor0 GROUP BY col1 HAVING NOT - + col1 < NULL ---- query II rowsort SELECT DISTINCT col2 col2, - col2 * - col2 FROM tab0 GROUP BY col1, col2 ---- 24 576 38 1444 | > | 2658 2659 2660 2661 2662 2663 2664 2665 2666 2667 2668 2669 2670 2671 2672 | 57 6 query I rowsort SELECT DISTINCT - + col1 FROM tab2 AS cor0 GROUP BY col1 HAVING NOT - + col1 < NULL ---- skipif postgresql # PostgreSQL requires AS when renaming output columns query II rowsort SELECT DISTINCT col2 col2, - col2 * - col2 FROM tab0 GROUP BY col1, col2 ---- 24 576 38 1444 |
︙ | ︙ | |||
3284 3285 3286 3287 3288 3289 3290 3291 3292 3293 3294 3295 3296 3297 | 86 skipif postgresql # PostgreSQL requires AS when renaming output columns query I rowsort SELECT DISTINCT - col0 col1 FROM tab2 WHERE NULL > ( NULL ) GROUP BY col0 ---- query I rowsort SELECT DISTINCT + col2 AS col1 FROM tab2 GROUP BY col2 HAVING NOT NULL <> - col1 ---- query I rowsort SELECT - col1 AS col0 FROM tab1 WHERE NOT NULL IS NULL GROUP BY col2, col1, col1 HAVING NOT - + col2 IS NULL ---- | > | 3289 3290 3291 3292 3293 3294 3295 3296 3297 3298 3299 3300 3301 3302 3303 | 86 skipif postgresql # PostgreSQL requires AS when renaming output columns query I rowsort SELECT DISTINCT - col0 col1 FROM tab2 WHERE NULL > ( NULL ) GROUP BY col0 ---- skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT DISTINCT + col2 AS col1 FROM tab2 GROUP BY col2 HAVING NOT NULL <> - col1 ---- query I rowsort SELECT - col1 AS col0 FROM tab1 WHERE NOT NULL IS NULL GROUP BY col2, col1, col1 HAVING NOT - + col2 IS NULL ---- |
︙ | ︙ | |||
3791 3792 3793 3794 3795 3796 3797 3798 3799 3800 3801 3802 3803 3804 | -43 -83 query I rowsort SELECT ALL - col2 / - col2 AS col2 FROM tab1 GROUP BY col2 HAVING col2 > NULL ---- query I rowsort SELECT - col2 AS col1 FROM tab0 GROUP BY col2 HAVING col1 > NULL ---- query I rowsort SELECT DISTINCT - - col0 AS col2 FROM tab1 cor0 GROUP BY col0 ---- | > | 3797 3798 3799 3800 3801 3802 3803 3804 3805 3806 3807 3808 3809 3810 3811 | -43 -83 query I rowsort SELECT ALL - col2 / - col2 AS col2 FROM tab1 GROUP BY col2 HAVING col2 > NULL ---- skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT - col2 AS col1 FROM tab0 GROUP BY col2 HAVING col1 > NULL ---- query I rowsort SELECT DISTINCT - - col0 AS col2 FROM tab1 cor0 GROUP BY col0 ---- |
︙ | ︙ | |||
3982 3983 3984 3985 3986 3987 3988 3989 3990 3991 3992 3993 3994 3995 | query I rowsort SELECT - - col2 + + col1 AS col1 FROM tab2 AS cor0 GROUP BY col1, col2 ---- 138 148 99 query I rowsort SELECT DISTINCT + col2 AS col1 FROM tab2 GROUP BY col0, col2 HAVING NOT ( NULL ) BETWEEN NULL AND ( col1 ) ---- query I rowsort SELECT ALL col0 AS col2 FROM tab2 cor0 GROUP BY col0 ---- | > | 3989 3990 3991 3992 3993 3994 3995 3996 3997 3998 3999 4000 4001 4002 4003 | query I rowsort SELECT - - col2 + + col1 AS col1 FROM tab2 AS cor0 GROUP BY col1, col2 ---- 138 148 99 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT DISTINCT + col2 AS col1 FROM tab2 GROUP BY col0, col2 HAVING NOT ( NULL ) BETWEEN NULL AND ( col1 ) ---- query I rowsort SELECT ALL col0 AS col2 FROM tab2 cor0 GROUP BY col0 ---- |
︙ | ︙ | |||
4116 4117 4118 4119 4120 4121 4122 4123 4124 4125 4126 4127 4128 4129 | query I rowsort SELECT - - col2 AS col1 FROM tab2 AS cor0 GROUP BY col2, col1, col2 ---- 58 79 87 query I rowsort SELECT DISTINCT col2 AS col0 FROM tab0 AS cor0 GROUP BY col2 HAVING + col0 >= NULL ---- query II rowsort SELECT DISTINCT + col2 AS col2, + col2 AS col2 FROM tab1 AS cor0 GROUP BY col2, col1, col2 HAVING NOT ( NULL ) IS NOT NULL ---- | > | 4124 4125 4126 4127 4128 4129 4130 4131 4132 4133 4134 4135 4136 4137 4138 | query I rowsort SELECT - - col2 AS col1 FROM tab2 AS cor0 GROUP BY col2, col1, col2 ---- 58 79 87 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT DISTINCT col2 AS col0 FROM tab0 AS cor0 GROUP BY col2 HAVING + col0 >= NULL ---- query II rowsort SELECT DISTINCT + col2 AS col2, + col2 AS col2 FROM tab1 AS cor0 GROUP BY col2, col1, col2 HAVING NOT ( NULL ) IS NOT NULL ---- |
︙ | ︙ | |||
4660 4661 4662 4663 4664 4665 4666 4667 4668 4669 4670 4671 4672 4673 | query I rowsort SELECT ALL col1 FROM tab2 GROUP BY col1, col0 HAVING NULL IS NULL ---- 41 59 61 query I rowsort SELECT ALL + col0 AS col1 FROM tab2 AS cor0 GROUP BY col2, col0 HAVING NULL <= - - col1 ---- query I rowsort SELECT + col0 - - col0 * + col0 FROM tab1 AS cor0 WHERE NOT ( NULL ) IS NULL GROUP BY col0, col2 ---- | > | 4669 4670 4671 4672 4673 4674 4675 4676 4677 4678 4679 4680 4681 4682 4683 | query I rowsort SELECT ALL col1 FROM tab2 GROUP BY col1, col0 HAVING NULL IS NULL ---- 41 59 61 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT ALL + col0 AS col1 FROM tab2 AS cor0 GROUP BY col2, col0 HAVING NULL <= - - col1 ---- query I rowsort SELECT + col0 - - col0 * + col0 FROM tab1 AS cor0 WHERE NOT ( NULL ) IS NULL GROUP BY col0, col2 ---- |
︙ | ︙ | |||
6749 6750 6751 6752 6753 6754 6755 6756 6757 6758 6759 6760 6761 6762 | query I rowsort SELECT col0 * + + col2 FROM tab1 GROUP BY col0, col2 ---- 1260 176 5822 query II rowsort SELECT col1 col1, + col1 FROM tab2 GROUP BY col1 ---- 41 41 59 59 | > | 6759 6760 6761 6762 6763 6764 6765 6766 6767 6768 6769 6770 6771 6772 6773 | query I rowsort SELECT col0 * + + col2 FROM tab1 GROUP BY col0, col2 ---- 1260 176 5822 skipif postgresql # PostgreSQL requires AS when renaming output columns query II rowsort SELECT col1 col1, + col1 FROM tab2 GROUP BY col1 ---- 41 41 59 59 |
︙ | ︙ | |||
6961 6962 6963 6964 6965 6966 6967 6968 6969 6970 6971 6972 6973 6974 | 57 6 query I rowsort SELECT DISTINCT + col2 * - AVG ( ALL + col2 ) AS col0 FROM tab2 WHERE - + col2 IS NULL GROUP BY col2 ---- query I rowsort SELECT col2 AS col1 FROM tab2 GROUP BY col2, col2 HAVING - + col1 <= NULL ---- query I rowsort SELECT ALL + col0 FROM tab0 cor0 GROUP BY col0 HAVING NOT ( + - col0 ) > NULL ---- | > | 6972 6973 6974 6975 6976 6977 6978 6979 6980 6981 6982 6983 6984 6985 6986 | 57 6 query I rowsort SELECT DISTINCT + col2 * - AVG ( ALL + col2 ) AS col0 FROM tab2 WHERE - + col2 IS NULL GROUP BY col2 ---- skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT col2 AS col1 FROM tab2 GROUP BY col2, col2 HAVING - + col1 <= NULL ---- query I rowsort SELECT ALL + col0 FROM tab0 cor0 GROUP BY col0 HAVING NOT ( + - col0 ) > NULL ---- |
︙ | ︙ | |||
7021 7022 7023 7024 7025 7026 7027 7028 7029 7030 7031 7032 7033 7034 7035 7036 7037 7038 7039 7040 7041 7042 7043 7044 7045 | query I rowsort SELECT - - col1 FROM tab0 AS cor0 GROUP BY col1, col0, col2 ---- 0 0 81 query I rowsort SELECT DISTINCT - col1 AS col0 FROM tab2 GROUP BY col1 HAVING NULL <> - col0 ---- query I rowsort SELECT ALL + col1 AS col0 FROM tab2 AS cor0 GROUP BY col1, col2, col2, col1 ---- 41 59 61 query I rowsort SELECT ALL - + col1 AS col2 FROM tab1 cor0 GROUP BY col1, col1 HAVING + + col2 <> NULL ---- query I rowsort SELECT ALL - + col1 AS col1 FROM tab2 AS cor0 GROUP BY col2, col1 ---- | > > | 7033 7034 7035 7036 7037 7038 7039 7040 7041 7042 7043 7044 7045 7046 7047 7048 7049 7050 7051 7052 7053 7054 7055 7056 7057 7058 7059 | query I rowsort SELECT - - col1 FROM tab0 AS cor0 GROUP BY col1, col0, col2 ---- 0 0 81 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT DISTINCT - col1 AS col0 FROM tab2 GROUP BY col1 HAVING NULL <> - col0 ---- query I rowsort SELECT ALL + col1 AS col0 FROM tab2 AS cor0 GROUP BY col1, col2, col2, col1 ---- 41 59 61 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT ALL - + col1 AS col2 FROM tab1 cor0 GROUP BY col1, col1 HAVING + + col2 <> NULL ---- query I rowsort SELECT ALL - + col1 AS col1 FROM tab2 AS cor0 GROUP BY col2, col1 ---- |
︙ | ︙ | |||
7220 7221 7222 7223 7224 7225 7226 7227 7228 7229 7230 7231 7232 7233 | query I rowsort SELECT DISTINCT col0 FROM tab0 AS cor0 GROUP BY col0 HAVING NULL IS NULL ---- 26 43 83 query II rowsort SELECT DISTINCT col2 col2, + col2 FROM tab1 GROUP BY col2, col0 ---- 45 45 71 71 | > | 7234 7235 7236 7237 7238 7239 7240 7241 7242 7243 7244 7245 7246 7247 7248 | query I rowsort SELECT DISTINCT col0 FROM tab0 AS cor0 GROUP BY col0 HAVING NULL IS NULL ---- 26 43 83 skipif postgresql # PostgreSQL requires AS when renaming output columns query II rowsort SELECT DISTINCT col2 col2, + col2 FROM tab1 GROUP BY col2, col0 ---- 45 45 71 71 |
︙ | ︙ | |||
8056 8057 8058 8059 8060 8061 8062 8063 8064 8065 8066 8067 8068 8069 8070 8071 8072 8073 8074 8075 8076 8077 8078 8079 8080 8081 8082 8083 8084 8085 8086 8087 | query I rowsort SELECT ALL col0 AS col1 FROM tab2 AS cor0 GROUP BY col1, col0 ---- 15 91 92 query I rowsort SELECT + col0 AS col2 FROM tab1 GROUP BY col0 HAVING NOT NULL = - col2 ---- query I rowsort SELECT DISTINCT col1 AS col1 FROM tab1 AS cor0 GROUP BY col1, col1, col0 ---- 44 57 6 query I rowsort SELECT + col2 + - col2 FROM tab0 cor0 GROUP BY col2 ---- 0 0 0 query II rowsort SELECT + col2 col0, col1 + + + col2 FROM tab1 AS cor0 GROUP BY col1, col2 HAVING NOT NULL NOT BETWEEN NULL AND NULL ---- query I rowsort SELECT - col0 FROM tab2 AS cor0 GROUP BY col0, col2 HAVING NULL IS NOT NULL ---- | > > | 8071 8072 8073 8074 8075 8076 8077 8078 8079 8080 8081 8082 8083 8084 8085 8086 8087 8088 8089 8090 8091 8092 8093 8094 8095 8096 8097 8098 8099 8100 8101 8102 8103 8104 | query I rowsort SELECT ALL col0 AS col1 FROM tab2 AS cor0 GROUP BY col1, col0 ---- 15 91 92 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT + col0 AS col2 FROM tab1 GROUP BY col0 HAVING NOT NULL = - col2 ---- query I rowsort SELECT DISTINCT col1 AS col1 FROM tab1 AS cor0 GROUP BY col1, col1, col0 ---- 44 57 6 query I rowsort SELECT + col2 + - col2 FROM tab0 cor0 GROUP BY col2 ---- 0 0 0 skipif postgresql # PostgreSQL requires AS when renaming output columns query II rowsort SELECT + col2 col0, col1 + + + col2 FROM tab1 AS cor0 GROUP BY col1, col2 HAVING NOT NULL NOT BETWEEN NULL AND NULL ---- query I rowsort SELECT - col0 FROM tab2 AS cor0 GROUP BY col0, col2 HAVING NULL IS NOT NULL ---- |
︙ | ︙ | |||
9564 9565 9566 9567 9568 9569 9570 9571 9572 9573 9574 9575 9576 9577 | query I rowsort SELECT DISTINCT + col2 AS col0 FROM tab2 AS cor0 GROUP BY col0, col2, col2 ---- 58 79 87 query I rowsort SELECT col1 AS col0 FROM tab0 GROUP BY col1, col1 HAVING NULL = - col0 ---- skipif postgresql # PostgreSQL requires AS when renaming output columns query I rowsort SELECT DISTINCT - col2 col1 FROM tab1 cor0 GROUP BY col2 HAVING NOT NULL IS NOT NULL | > | 9581 9582 9583 9584 9585 9586 9587 9588 9589 9590 9591 9592 9593 9594 9595 | query I rowsort SELECT DISTINCT + col2 AS col0 FROM tab2 AS cor0 GROUP BY col0, col2, col2 ---- 58 79 87 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT col1 AS col0 FROM tab0 GROUP BY col1, col1 HAVING NULL = - col0 ---- skipif postgresql # PostgreSQL requires AS when renaming output columns query I rowsort SELECT DISTINCT - col2 col1 FROM tab1 cor0 GROUP BY col2 HAVING NOT NULL IS NOT NULL |
︙ | ︙ | |||
9867 9868 9869 9870 9871 9872 9873 9874 9875 9876 9877 9878 9879 9880 | SELECT - col0 * - - AVG ( ALL + col0 ) FROM tab1 cor0 GROUP BY col0 HAVING NOT ( ( NULL ) IS NULL ) ---- query I rowsort SELECT AVG ( ALL + col0 ) FROM tab2 GROUP BY col0, col0 HAVING NOT ( NULL ) IS NULL ---- query II rowsort SELECT DISTINCT col2, AVG ( ALL - col2 ) * - - col2 AS col1 FROM tab1 AS cor0 GROUP BY col2, col2 HAVING NOT NULL <= col1 ---- query I rowsort SELECT - + col0 AS col2 FROM tab1 AS cor0 GROUP BY col0 HAVING NULL IS NULL ---- | > | 9885 9886 9887 9888 9889 9890 9891 9892 9893 9894 9895 9896 9897 9898 9899 | SELECT - col0 * - - AVG ( ALL + col0 ) FROM tab1 cor0 GROUP BY col0 HAVING NOT ( ( NULL ) IS NULL ) ---- query I rowsort SELECT AVG ( ALL + col0 ) FROM tab2 GROUP BY col0, col0 HAVING NOT ( NULL ) IS NULL ---- skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query II rowsort SELECT DISTINCT col2, AVG ( ALL - col2 ) * - - col2 AS col1 FROM tab1 AS cor0 GROUP BY col2, col2 HAVING NOT NULL <= col1 ---- query I rowsort SELECT - + col0 AS col2 FROM tab1 AS cor0 GROUP BY col0 HAVING NULL IS NULL ---- |
︙ | ︙ | |||
10205 10206 10207 10208 10209 10210 10211 10212 10213 10214 10215 10216 10217 10218 | query I rowsort SELECT DISTINCT + col1 col2 FROM tab2 cor0 GROUP BY col1, col0, col1 ---- 41 59 61 query I rowsort SELECT + col1 + col1 * - col1 AS col2 FROM tab2 AS cor0 GROUP BY col0, col1 HAVING NOT NULL NOT BETWEEN col2 AND NULL ---- query I rowsort SELECT ALL col1 * - + col1 AS col2 FROM tab2 AS cor0 WHERE NOT ( NULL ) >= NULL GROUP BY col1 ---- | > | 10224 10225 10226 10227 10228 10229 10230 10231 10232 10233 10234 10235 10236 10237 10238 | query I rowsort SELECT DISTINCT + col1 col2 FROM tab2 cor0 GROUP BY col1, col0, col1 ---- 41 59 61 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT + col1 + col1 * - col1 AS col2 FROM tab2 AS cor0 GROUP BY col0, col1 HAVING NOT NULL NOT BETWEEN col2 AND NULL ---- query I rowsort SELECT ALL col1 * - + col1 AS col2 FROM tab2 AS cor0 WHERE NOT ( NULL ) >= NULL GROUP BY col1 ---- |
︙ | ︙ | |||
10373 10374 10375 10376 10377 10378 10379 10380 10381 10382 10383 10384 10385 10386 | -8 8 query I rowsort SELECT ALL + col2 AS col1 FROM tab2 AS cor0 GROUP BY col2 HAVING NULL IS NOT NULL ---- query II rowsort SELECT col2 col2, col2 FROM tab0 AS cor0 GROUP BY col0, col2 ---- 24 24 38 38 | > | 10393 10394 10395 10396 10397 10398 10399 10400 10401 10402 10403 10404 10405 10406 10407 | -8 8 query I rowsort SELECT ALL + col2 AS col1 FROM tab2 AS cor0 GROUP BY col2 HAVING NULL IS NOT NULL ---- skipif postgresql # PostgreSQL requires AS when renaming output columns query II rowsort SELECT col2 col2, col2 FROM tab0 AS cor0 GROUP BY col0, col2 ---- 24 24 38 38 |
︙ | ︙ | |||
10692 10693 10694 10695 10696 10697 10698 10699 10700 10701 10702 10703 10704 10705 | SELECT DISTINCT col1 + col1 col0 FROM tab1 AS cor0 WHERE NOT NULL IS NULL GROUP BY col1, col2 ---- query I rowsort SELECT + col2 FROM tab0 GROUP BY col0, col2, col2 HAVING NOT NULL >= NULL ---- query II rowsort SELECT - col0 col0, - col0 AS col0 FROM tab2 GROUP BY col0 ---- -15 -15 -91 -91 | > | 10713 10714 10715 10716 10717 10718 10719 10720 10721 10722 10723 10724 10725 10726 10727 | SELECT DISTINCT col1 + col1 col0 FROM tab1 AS cor0 WHERE NOT NULL IS NULL GROUP BY col1, col2 ---- query I rowsort SELECT + col2 FROM tab0 GROUP BY col0, col2, col2 HAVING NOT NULL >= NULL ---- skipif postgresql # PostgreSQL requires AS when renaming output columns query II rowsort SELECT - col0 col0, - col0 AS col0 FROM tab2 GROUP BY col0 ---- -15 -15 -91 -91 |
︙ | ︙ | |||
11155 11156 11157 11158 11159 11160 11161 11162 11163 11164 11165 11166 11167 11168 | query I rowsort SELECT DISTINCT - col1 AS col2 FROM tab1 AS cor0 GROUP BY col1, col2 HAVING - + col2 IS NOT NULL ---- -44 -57 -6 query I rowsort SELECT ALL col2 AS col0 FROM tab2 AS cor0 GROUP BY col2 HAVING ( - - col0 ) > NULL ---- query I rowsort SELECT DISTINCT col0 + - + col0 FROM tab0 AS cor0 GROUP BY col0, col2 ---- | > | 11177 11178 11179 11180 11181 11182 11183 11184 11185 11186 11187 11188 11189 11190 11191 | query I rowsort SELECT DISTINCT - col1 AS col2 FROM tab1 AS cor0 GROUP BY col1, col2 HAVING - + col2 IS NOT NULL ---- -44 -57 -6 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT ALL col2 AS col0 FROM tab2 AS cor0 GROUP BY col2 HAVING ( - - col0 ) > NULL ---- query I rowsort SELECT DISTINCT col0 + - + col0 FROM tab0 AS cor0 GROUP BY col0, col2 ---- |
︙ | ︙ | |||
11913 11914 11915 11916 11917 11918 11919 11920 11921 11922 11923 11924 11925 11926 | SELECT DISTINCT col0 FROM tab0 WHERE ( NULL ) IS NOT NULL GROUP BY col2, col0 ---- query I rowsort SELECT ALL col0 AS col2 FROM tab1 GROUP BY col1, col0 HAVING NULL IS NOT NULL ---- query I rowsort SELECT DISTINCT col2 AS col0 FROM tab1 GROUP BY col2 HAVING NOT ( NULL ) <= - col0 - - col0 ---- query I rowsort SELECT DISTINCT - col1 * - col1 FROM tab2 AS cor0 GROUP BY col1 ---- | > | 11936 11937 11938 11939 11940 11941 11942 11943 11944 11945 11946 11947 11948 11949 11950 | SELECT DISTINCT col0 FROM tab0 WHERE ( NULL ) IS NOT NULL GROUP BY col2, col0 ---- query I rowsort SELECT ALL col0 AS col2 FROM tab1 GROUP BY col1, col0 HAVING NULL IS NOT NULL ---- skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT DISTINCT col2 AS col0 FROM tab1 GROUP BY col2 HAVING NOT ( NULL ) <= - col0 - - col0 ---- query I rowsort SELECT DISTINCT - col1 * - col1 FROM tab2 AS cor0 GROUP BY col1 ---- |
︙ | ︙ | |||
12935 12936 12937 12938 12939 12940 12941 12942 12943 12944 12945 12946 12947 12948 | 16 90 query I rowsort SELECT ALL col0 AS col2 FROM tab1 cor0 GROUP BY col0 HAVING NOT NULL IS NULL ---- query II rowsort SELECT + col1 col2, + col1 AS col2 FROM tab1 cor0 GROUP BY col1, col1 HAVING NOT ( NULL ) IS NOT NULL ---- 44 44 57 57 | > | 12959 12960 12961 12962 12963 12964 12965 12966 12967 12968 12969 12970 12971 12972 12973 | 16 90 query I rowsort SELECT ALL col0 AS col2 FROM tab1 cor0 GROUP BY col0 HAVING NOT NULL IS NULL ---- skipif postgresql # PostgreSQL requires AS when renaming output columns query II rowsort SELECT + col1 col2, + col1 AS col2 FROM tab1 cor0 GROUP BY col1, col1 HAVING NOT ( NULL ) IS NOT NULL ---- 44 44 57 57 |
︙ | ︙ | |||
13107 13108 13109 13110 13111 13112 13113 13114 13115 13116 13117 13118 13119 13120 | 8281 8464 query I rowsort SELECT DISTINCT col0 AS col0 FROM tab1 AS cor0 WHERE NULL IS NULL GROUP BY col0 HAVING NULL = NULL ---- query I rowsort SELECT ALL col0 AS col2 FROM tab2 GROUP BY col0 HAVING + - col2 > NULL ---- query I rowsort SELECT ALL - + col2 + - + col0 AS col2 FROM tab0 cor0 GROUP BY col0, col2 ---- | > | 13132 13133 13134 13135 13136 13137 13138 13139 13140 13141 13142 13143 13144 13145 13146 | 8281 8464 query I rowsort SELECT DISTINCT col0 AS col0 FROM tab1 AS cor0 WHERE NULL IS NULL GROUP BY col0 HAVING NULL = NULL ---- skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT ALL col0 AS col2 FROM tab2 GROUP BY col0 HAVING + - col2 > NULL ---- query I rowsort SELECT ALL - + col2 + - + col0 AS col2 FROM tab0 cor0 GROUP BY col0, col2 ---- |
︙ | ︙ | |||
13156 13157 13158 13159 13160 13161 13162 13163 13164 13165 13166 13167 13168 13169 | 59 61 query I rowsort SELECT - col1 * - AVG ( DISTINCT - + col1 ) FROM tab1 WHERE NOT NULL IS NULL GROUP BY col1 ---- query I rowsort SELECT ALL col2 AS col0 FROM tab1 GROUP BY col2, col2, col2 HAVING NOT NULL <> - - col0 ---- skipif postgresql # PostgreSQL requires AS when renaming output columns query I rowsort SELECT - col1 col1 FROM tab0 AS cor0 WHERE NOT col0 IS NULL GROUP BY col1 | > | 13182 13183 13184 13185 13186 13187 13188 13189 13190 13191 13192 13193 13194 13195 13196 | 59 61 query I rowsort SELECT - col1 * - AVG ( DISTINCT - + col1 ) FROM tab1 WHERE NOT NULL IS NULL GROUP BY col1 ---- skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT ALL col2 AS col0 FROM tab1 GROUP BY col2, col2, col2 HAVING NOT NULL <> - - col0 ---- skipif postgresql # PostgreSQL requires AS when renaming output columns query I rowsort SELECT - col1 col1 FROM tab0 AS cor0 WHERE NOT col0 IS NULL GROUP BY col1 |
︙ | ︙ | |||
13249 13250 13251 13252 13253 13254 13255 13256 13257 13258 13259 13260 13261 13262 | query I rowsort SELECT + col0 FROM tab0 AS cor0 GROUP BY col0 HAVING NOT ( NULL IS NOT NULL ) ---- 26 43 83 query I rowsort SELECT + + col0 AS col1 FROM tab0 AS cor0 GROUP BY col0 HAVING NOT NULL >= + - col1 ---- query I rowsort SELECT - - col0 * + + col0 FROM tab2 AS cor0 GROUP BY col2, col0 ---- | > | 13276 13277 13278 13279 13280 13281 13282 13283 13284 13285 13286 13287 13288 13289 13290 | query I rowsort SELECT + col0 FROM tab0 AS cor0 GROUP BY col0 HAVING NOT ( NULL IS NOT NULL ) ---- 26 43 83 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT + + col0 AS col1 FROM tab0 AS cor0 GROUP BY col0 HAVING NOT NULL >= + - col1 ---- query I rowsort SELECT - - col0 * + + col0 FROM tab2 AS cor0 GROUP BY col2, col0 ---- |
︙ | ︙ | |||
13461 13462 13463 13464 13465 13466 13467 13468 13469 13470 13471 13472 13473 13474 | -210 30 -8190 182 -8372 184 query I rowsort SELECT DISTINCT - + col1 AS col0 FROM tab1 AS cor0 GROUP BY col1, col1, col1 HAVING col0 <> NULL ---- query I rowsort SELECT ALL + col0 * col0 FROM tab1 AS cor0 GROUP BY col0 ---- | > | 13489 13490 13491 13492 13493 13494 13495 13496 13497 13498 13499 13500 13501 13502 13503 | -210 30 -8190 182 -8372 184 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT DISTINCT - + col1 AS col0 FROM tab1 AS cor0 GROUP BY col1, col1, col1 HAVING col0 <> NULL ---- query I rowsort SELECT ALL + col0 * col0 FROM tab1 AS cor0 GROUP BY col0 ---- |
︙ | ︙ | |||
13619 13620 13621 13622 13623 13624 13625 13626 13627 13628 13629 13630 13631 13632 | query I rowsort SELECT DISTINCT - col2 AS col1 FROM tab1 AS cor0 GROUP BY col2, col1 ---- -45 -71 -8 query II rowsort SELECT col1 col0, col1 FROM tab2 GROUP BY col1 HAVING NOT NULL IS NOT NULL ---- 41 41 59 59 | > | 13648 13649 13650 13651 13652 13653 13654 13655 13656 13657 13658 13659 13660 13661 13662 | query I rowsort SELECT DISTINCT - col2 AS col1 FROM tab1 AS cor0 GROUP BY col2, col1 ---- -45 -71 -8 skipif postgresql # PostgreSQL requires AS when renaming output columns query II rowsort SELECT col1 col0, col1 FROM tab2 GROUP BY col1 HAVING NOT NULL IS NOT NULL ---- 41 41 59 59 |
︙ | ︙ | |||
13802 13803 13804 13805 13806 13807 13808 13809 13810 13811 13812 13813 13814 13815 | query I rowsort label-2148 SELECT col1 / - col1 FROM tab2 GROUP BY col1 ---- -1 -1 -1 query II rowsort SELECT + col0 AS col2, + col1 FROM tab1 GROUP BY col0, col1 HAVING NOT ( NULL ) < col1 + col2 ---- query I rowsort SELECT + col2 - + col2 FROM tab1 AS cor0 GROUP BY col2 HAVING NOT NULL IS NOT NULL ---- | > | 13832 13833 13834 13835 13836 13837 13838 13839 13840 13841 13842 13843 13844 13845 13846 | query I rowsort label-2148 SELECT col1 / - col1 FROM tab2 GROUP BY col1 ---- -1 -1 -1 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query II rowsort SELECT + col0 AS col2, + col1 FROM tab1 GROUP BY col0, col1 HAVING NOT ( NULL ) < col1 + col2 ---- query I rowsort SELECT + col2 - + col2 FROM tab1 AS cor0 GROUP BY col2 HAVING NOT NULL IS NOT NULL ---- |
︙ | ︙ | |||
14596 14597 14598 14599 14600 14601 14602 14603 14604 14605 14606 14607 14608 14609 | SELECT - col2 AS col2 FROM tab2 AS cor0 GROUP BY col2 HAVING NOT - col2 IS NOT NULL ---- query I rowsort SELECT ALL col0 AS col0 FROM tab1 GROUP BY col0 HAVING NULL < NULL ---- query II rowsort SELECT - - col1 col2, col0 FROM tab1 AS cor0 GROUP BY col1, col0 ---- 44 82 57 28 | > | 14627 14628 14629 14630 14631 14632 14633 14634 14635 14636 14637 14638 14639 14640 14641 | SELECT - col2 AS col2 FROM tab2 AS cor0 GROUP BY col2 HAVING NOT - col2 IS NOT NULL ---- query I rowsort SELECT ALL col0 AS col0 FROM tab1 GROUP BY col0 HAVING NULL < NULL ---- skipif postgresql # PostgreSQL requires AS when renaming output columns query II rowsort SELECT - - col1 col2, col0 FROM tab1 AS cor0 GROUP BY col1, col0 ---- 44 82 57 28 |
︙ | ︙ | |||
14631 14632 14633 14634 14635 14636 14637 14638 14639 14640 14641 14642 14643 14644 | query I rowsort SELECT col1 + col1 AS col0 FROM tab1 AS cor0 GROUP BY col1 ---- 114 12 88 query I rowsort SELECT - col2 AS col0 FROM tab2 GROUP BY col2 HAVING + col0 <= NULL ---- query I rowsort SELECT ALL col0 AS col2 FROM tab1 GROUP BY col0, col1, col0 ---- | > | 14663 14664 14665 14666 14667 14668 14669 14670 14671 14672 14673 14674 14675 14676 14677 | query I rowsort SELECT col1 + col1 AS col0 FROM tab1 AS cor0 GROUP BY col1 ---- 114 12 88 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT - col2 AS col0 FROM tab2 GROUP BY col2 HAVING + col0 <= NULL ---- query I rowsort SELECT ALL col0 AS col2 FROM tab1 GROUP BY col0, col1, col0 ---- |
︙ | ︙ | |||
14971 14972 14973 14974 14975 14976 14977 14978 14979 14980 14981 14982 14983 14984 | query I rowsort SELECT col0 col2 FROM tab1 AS cor0 GROUP BY col0, col0 ---- 22 28 82 query I rowsort SELECT + col0 * - - AVG ( DISTINCT col0 ) AS col1 FROM tab1 cor0 GROUP BY col0 HAVING NOT NULL BETWEEN - col1 AND NULL ---- query I rowsort SELECT DISTINCT - + col2 * + - col2 FROM tab0 AS cor0 GROUP BY col2 HAVING NOT ( NULL ) IS NOT NULL ---- | > | 15004 15005 15006 15007 15008 15009 15010 15011 15012 15013 15014 15015 15016 15017 15018 | query I rowsort SELECT col0 col2 FROM tab1 AS cor0 GROUP BY col0, col0 ---- 22 28 82 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT + col0 * - - AVG ( DISTINCT col0 ) AS col1 FROM tab1 cor0 GROUP BY col0 HAVING NOT NULL BETWEEN - col1 AND NULL ---- query I rowsort SELECT DISTINCT - + col2 * + - col2 FROM tab0 AS cor0 GROUP BY col2 HAVING NOT ( NULL ) IS NOT NULL ---- |
︙ | ︙ | |||
15149 15150 15151 15152 15153 15154 15155 15156 15157 15158 15159 15160 15161 15162 | query I rowsort SELECT ALL - - col2 AS col0 FROM tab1 AS cor0 GROUP BY col2 ---- 45 71 8 query II rowsort SELECT col1 col2, col1 AS col0 FROM tab0 AS cor0 GROUP BY col1 ---- 0 0 81 81 | > | 15183 15184 15185 15186 15187 15188 15189 15190 15191 15192 15193 15194 15195 15196 15197 | query I rowsort SELECT ALL - - col2 AS col0 FROM tab1 AS cor0 GROUP BY col2 ---- 45 71 8 skipif postgresql # PostgreSQL requires AS when renaming output columns query II rowsort SELECT col1 col2, col1 AS col0 FROM tab0 AS cor0 GROUP BY col1 ---- 0 0 81 81 |
︙ | ︙ | |||
15176 15177 15178 15179 15180 15181 15182 15183 15184 15185 15186 15187 15188 15189 | -44 -56 query I rowsort SELECT ALL col1 FROM tab2 GROUP BY col1, col0, col1, col0 HAVING NOT col1 IS NOT NULL ---- query II rowsort SELECT DISTINCT + col2 col1, - col2 + col2 AS col1 FROM tab1 AS cor0 GROUP BY col2, col2 ---- 45 0 71 0 | > | 15211 15212 15213 15214 15215 15216 15217 15218 15219 15220 15221 15222 15223 15224 15225 | -44 -56 query I rowsort SELECT ALL col1 FROM tab2 GROUP BY col1, col0, col1, col0 HAVING NOT col1 IS NOT NULL ---- skipif postgresql # PostgreSQL requires AS when renaming output columns query II rowsort SELECT DISTINCT + col2 col1, - col2 + col2 AS col1 FROM tab1 AS cor0 GROUP BY col2, col2 ---- 45 0 71 0 |
︙ | ︙ | |||
15429 15430 15431 15432 15433 15434 15435 15436 15437 15438 15439 15440 15441 15442 | query I rowsort SELECT + - col2 AS col2 FROM tab1 cor0 GROUP BY col2 ---- -45 -71 -8 query II rowsort SELECT DISTINCT + + col0 col0, col0 FROM tab1 AS cor0 GROUP BY col0 ---- 22 22 28 28 | > | 15465 15466 15467 15468 15469 15470 15471 15472 15473 15474 15475 15476 15477 15478 15479 | query I rowsort SELECT + - col2 AS col2 FROM tab1 cor0 GROUP BY col2 ---- -45 -71 -8 skipif postgresql # PostgreSQL requires AS when renaming output columns query II rowsort SELECT DISTINCT + + col0 col0, col0 FROM tab1 AS cor0 GROUP BY col0 ---- 22 22 28 28 |
︙ | ︙ | |||
15653 15654 15655 15656 15657 15658 15659 15660 15661 15662 15663 15664 15665 15666 | query I rowsort SELECT col0 * + - col0 * col0 FROM tab2 AS cor0 GROUP BY col0, col0 ---- -3375 -753571 -778688 query I rowsort SELECT DISTINCT col1 / + + col1 AS col0 FROM tab0 AS cor0 GROUP BY col1 HAVING NOT col0 <= NULL ---- skipif postgresql # PostgreSQL requires AS when renaming output columns query I rowsort SELECT ALL - col1 col1 FROM tab1 AS cor0 GROUP BY col1, col2 | > | 15690 15691 15692 15693 15694 15695 15696 15697 15698 15699 15700 15701 15702 15703 15704 | query I rowsort SELECT col0 * + - col0 * col0 FROM tab2 AS cor0 GROUP BY col0, col0 ---- -3375 -753571 -778688 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT DISTINCT col1 / + + col1 AS col0 FROM tab0 AS cor0 GROUP BY col1 HAVING NOT col0 <= NULL ---- skipif postgresql # PostgreSQL requires AS when renaming output columns query I rowsort SELECT ALL - col1 col1 FROM tab1 AS cor0 GROUP BY col1, col2 |
︙ | ︙ | |||
16034 16035 16036 16037 16038 16039 16040 16041 16042 16043 16044 16045 16046 16047 | SELECT col1 + col1 FROM tab0 WHERE - - col2 + col1 IS NULL GROUP BY col1 ---- query I rowsort SELECT DISTINCT + col2 AS col0 FROM tab0 cor0 GROUP BY col2 HAVING NULL IS NOT NULL ---- query II rowsort SELECT col2 col2, + col2 AS col1 FROM tab0 AS cor0 GROUP BY col2 ---- 24 24 38 38 | > | 16072 16073 16074 16075 16076 16077 16078 16079 16080 16081 16082 16083 16084 16085 16086 | SELECT col1 + col1 FROM tab0 WHERE - - col2 + col1 IS NULL GROUP BY col1 ---- query I rowsort SELECT DISTINCT + col2 AS col0 FROM tab0 cor0 GROUP BY col2 HAVING NULL IS NOT NULL ---- skipif postgresql # PostgreSQL requires AS when renaming output columns query II rowsort SELECT col2 col2, + col2 AS col1 FROM tab0 AS cor0 GROUP BY col2 ---- 24 24 38 38 |
︙ | ︙ | |||
16170 16171 16172 16173 16174 16175 16176 16177 16178 16179 16180 16181 16182 16183 | query I rowsort SELECT ALL col2 AS col2 FROM tab1 GROUP BY col2 HAVING NOT ( NULL IS NOT NULL ) ---- 45 71 8 query II rowsort SELECT ALL col2 - - + col1 col2, - col2 FROM tab0 AS cor0 GROUP BY col1, col2 ---- 105 -24 38 -38 | > | 16209 16210 16211 16212 16213 16214 16215 16216 16217 16218 16219 16220 16221 16222 16223 | query I rowsort SELECT ALL col2 AS col2 FROM tab1 GROUP BY col2 HAVING NOT ( NULL IS NOT NULL ) ---- 45 71 8 skipif postgresql # PostgreSQL requires AS when renaming output columns query II rowsort SELECT ALL col2 - - + col1 col2, - col2 FROM tab0 AS cor0 GROUP BY col1, col2 ---- 105 -24 38 -38 |
︙ | ︙ | |||
16817 16818 16819 16820 16821 16822 16823 16824 16825 16826 16827 16828 16829 16830 | -650 -6806 query I rowsort SELECT ALL + AVG ( DISTINCT - col0 ) + - col0 * col0 AS col1 FROM tab2 GROUP BY col0, col0, col0 HAVING ( NULL ) IS NOT NULL ---- query I rowsort SELECT col1 * - col1 AS col2 FROM tab0 GROUP BY col1 HAVING col2 >= NULL ---- skipif postgresql # PostgreSQL requires AS when renaming output columns query I rowsort SELECT DISTINCT col2 col1 FROM tab1 GROUP BY col2, col1 | > | 16857 16858 16859 16860 16861 16862 16863 16864 16865 16866 16867 16868 16869 16870 16871 | -650 -6806 query I rowsort SELECT ALL + AVG ( DISTINCT - col0 ) + - col0 * col0 AS col1 FROM tab2 GROUP BY col0, col0, col0 HAVING ( NULL ) IS NOT NULL ---- skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT col1 * - col1 AS col2 FROM tab0 GROUP BY col1 HAVING col2 >= NULL ---- skipif postgresql # PostgreSQL requires AS when renaming output columns query I rowsort SELECT DISTINCT col2 col1 FROM tab1 GROUP BY col2, col1 |
︙ | ︙ | |||
17510 17511 17512 17513 17514 17515 17516 17517 17518 17519 17520 17521 17522 17523 | 184 30 query I rowsort SELECT ALL col0 FROM tab2 GROUP BY col0 HAVING ( NULL ) IS NOT NULL ---- query I rowsort SELECT col0 AS col2 FROM tab2 GROUP BY col1, col0 HAVING ( + col2 ) >= NULL ---- query I rowsort SELECT - col0 FROM tab2 GROUP BY col0 HAVING NOT NULL BETWEEN col0 AND NULL ---- | > | 17551 17552 17553 17554 17555 17556 17557 17558 17559 17560 17561 17562 17563 17564 17565 | 184 30 query I rowsort SELECT ALL col0 FROM tab2 GROUP BY col0 HAVING ( NULL ) IS NOT NULL ---- skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT col0 AS col2 FROM tab2 GROUP BY col1, col0 HAVING ( + col2 ) >= NULL ---- query I rowsort SELECT - col0 FROM tab2 GROUP BY col0 HAVING NOT NULL BETWEEN col0 AND NULL ---- |
︙ | ︙ | |||
17633 17634 17635 17636 17637 17638 17639 17640 17641 17642 17643 17644 17645 17646 | query I rowsort SELECT ALL - col2 * - col2 FROM tab1 GROUP BY col2 ---- 2025 5041 64 query I rowsort SELECT col1 / - col1 AS col2 FROM tab0 AS cor0 WHERE col0 IS NULL GROUP BY col1 HAVING ( col2 ) IS NULL OR NOT NULL IS NOT NULL ---- query II rowsort SELECT DISTINCT + + col2, + col2 + - 75 AS col0 FROM tab1 cor0 GROUP BY col2, col2 HAVING - col2 + - 17 IS NULL ---- | > | 17675 17676 17677 17678 17679 17680 17681 17682 17683 17684 17685 17686 17687 17688 17689 | query I rowsort SELECT ALL - col2 * - col2 FROM tab1 GROUP BY col2 ---- 2025 5041 64 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT col1 / - col1 AS col2 FROM tab0 AS cor0 WHERE col0 IS NULL GROUP BY col1 HAVING ( col2 ) IS NULL OR NOT NULL IS NOT NULL ---- query II rowsort SELECT DISTINCT + + col2, + col2 + - 75 AS col0 FROM tab1 cor0 GROUP BY col2, col2 HAVING - col2 + - 17 IS NULL ---- |
︙ | ︙ | |||
17911 17912 17913 17914 17915 17916 17917 17918 17919 17920 17921 17922 17923 17924 | query I rowsort SELECT ALL col2 col0 FROM tab1 GROUP BY col2, col2 ---- 45 71 8 query II rowsort SELECT - 4 col2, 1 FROM tab1 GROUP BY col1, col2 HAVING NOT NULL IS NOT NULL ---- -4 1 -4 1 | > | 17954 17955 17956 17957 17958 17959 17960 17961 17962 17963 17964 17965 17966 17967 17968 | query I rowsort SELECT ALL col2 col0 FROM tab1 GROUP BY col2, col2 ---- 45 71 8 skipif postgresql # PostgreSQL requires AS when renaming output columns query II rowsort SELECT - 4 col2, 1 FROM tab1 GROUP BY col1, col2 HAVING NOT NULL IS NOT NULL ---- -4 1 -4 1 |
︙ | ︙ | |||
18524 18525 18526 18527 18528 18529 18530 18531 18532 18533 18534 18535 18536 18537 18538 18539 18540 18541 18542 18543 18544 18545 18546 18547 18548 18549 18550 18551 18552 18553 18554 18555 18556 18557 | onlyif mysql # CAST syntax: SIGNED type: query II rowsort label-2858 SELECT DISTINCT - col2 col1, ( - 94 ) - - - 67 * + - col2 + CAST( NULL AS SIGNED ) FROM tab0 GROUP BY col2 HAVING - col1 BETWEEN ( NULL ) AND NULL ---- skipif mysql # not compatible query II rowsort label-2858 SELECT DISTINCT - col2 col1, ( - 94 ) - - - 67 * + - col2 + CAST ( NULL AS INTEGER ) FROM tab0 GROUP BY col2 HAVING - col1 BETWEEN ( NULL ) AND NULL ---- onlyif mysql # DIV for integer division: query I rowsort label-2859 SELECT col1 DIV col1 FROM tab1 GROUP BY col0, col1 ---- 1 1 1 skipif mysql # not compatible query I rowsort label-2859 SELECT col1 / col1 FROM tab1 GROUP BY col0, col1 ---- 1 1 1 query II rowsort SELECT ( + + col2 ) col2, - col2 * + - 32 AS col1 FROM tab2 AS cor0 WHERE col0 + + 83 IS NULL GROUP BY col2, col2, col2 HAVING NULL IN ( 70 ) ---- skipif postgresql # PostgreSQL requires AS when renaming output columns query I rowsort SELECT ALL - col0 * + 57 * col0 col2 FROM tab1 AS cor0 GROUP BY col0, col0, col0 HAVING NOT NULL NOT BETWEEN ( + col2 ) AND col2 | > > | 18568 18569 18570 18571 18572 18573 18574 18575 18576 18577 18578 18579 18580 18581 18582 18583 18584 18585 18586 18587 18588 18589 18590 18591 18592 18593 18594 18595 18596 18597 18598 18599 18600 18601 18602 18603 | onlyif mysql # CAST syntax: SIGNED type: query II rowsort label-2858 SELECT DISTINCT - col2 col1, ( - 94 ) - - - 67 * + - col2 + CAST( NULL AS SIGNED ) FROM tab0 GROUP BY col2 HAVING - col1 BETWEEN ( NULL ) AND NULL ---- skipif mysql # not compatible skipif postgresql # PostgreSQL requires AS when renaming output columns query II rowsort label-2858 SELECT DISTINCT - col2 col1, ( - 94 ) - - - 67 * + - col2 + CAST ( NULL AS INTEGER ) FROM tab0 GROUP BY col2 HAVING - col1 BETWEEN ( NULL ) AND NULL ---- onlyif mysql # DIV for integer division: query I rowsort label-2859 SELECT col1 DIV col1 FROM tab1 GROUP BY col0, col1 ---- 1 1 1 skipif mysql # not compatible query I rowsort label-2859 SELECT col1 / col1 FROM tab1 GROUP BY col0, col1 ---- 1 1 1 skipif postgresql # PostgreSQL requires AS when renaming output columns query II rowsort SELECT ( + + col2 ) col2, - col2 * + - 32 AS col1 FROM tab2 AS cor0 WHERE col0 + + 83 IS NULL GROUP BY col2, col2, col2 HAVING NULL IN ( 70 ) ---- skipif postgresql # PostgreSQL requires AS when renaming output columns query I rowsort SELECT ALL - col0 * + 57 * col0 col2 FROM tab1 AS cor0 GROUP BY col0, col0, col0 HAVING NOT NULL NOT BETWEEN ( + col2 ) AND col2 |
︙ | ︙ | |||
18644 18645 18646 18647 18648 18649 18650 18651 18652 18653 18654 18655 18656 18657 | query I rowsort label-2875 SELECT CASE - CAST( NULL AS SIGNED ) WHEN - col1 THEN + col0 - - 48 ELSE NULL END AS col2 FROM tab0 GROUP BY col1 ---- NULL NULL skipif mysql # not compatible query I rowsort label-2875 SELECT CASE - CAST ( NULL AS INTEGER ) WHEN - col1 THEN + col0 - - 48 ELSE NULL END AS col2 FROM tab0 GROUP BY col1 ---- NULL NULL onlyif mysql # CAST syntax: SIGNED type: | > | 18690 18691 18692 18693 18694 18695 18696 18697 18698 18699 18700 18701 18702 18703 18704 | query I rowsort label-2875 SELECT CASE - CAST( NULL AS SIGNED ) WHEN - col1 THEN + col0 - - 48 ELSE NULL END AS col2 FROM tab0 GROUP BY col1 ---- NULL NULL skipif mysql # not compatible skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort label-2875 SELECT CASE - CAST ( NULL AS INTEGER ) WHEN - col1 THEN + col0 - - 48 ELSE NULL END AS col2 FROM tab0 GROUP BY col1 ---- NULL NULL onlyif mysql # CAST syntax: SIGNED type: |
︙ | ︙ | |||
18963 18964 18965 18966 18967 18968 18969 18970 18971 18972 18973 18974 18975 18976 | 16 90 query I rowsort SELECT DISTINCT - 46 AS col2 FROM tab0 AS cor0 WHERE ( NOT NULL IS NULL ) GROUP BY col2 ---- query II rowsort SELECT ALL 76 + - col2 col2, col2 FROM tab2 GROUP BY col2 ---- -11 87 -3 79 | > | 19010 19011 19012 19013 19014 19015 19016 19017 19018 19019 19020 19021 19022 19023 19024 | 16 90 query I rowsort SELECT DISTINCT - 46 AS col2 FROM tab0 AS cor0 WHERE ( NOT NULL IS NULL ) GROUP BY col2 ---- skipif postgresql # PostgreSQL requires AS when renaming output columns query II rowsort SELECT ALL 76 + - col2 col2, col2 FROM tab2 GROUP BY col2 ---- -11 87 -3 79 |
︙ | ︙ | |||
19096 19097 19098 19099 19100 19101 19102 19103 19104 19105 19106 19107 19108 19109 | ---- skipif mysql # not compatible query II rowsort label-2938 SELECT + col1 - + ( - CAST ( NULL AS REAL ) ) + + + 71 * + ( - 27 ) AS col2, + col1 / + 63 - + col1 FROM tab2 GROUP BY col1 HAVING NULL > ( NULL ) ---- query II rowsort SELECT DISTINCT + col2 + - ( - col2 ) col1, 3 FROM tab1 GROUP BY col2 ---- 142 3 16 3 | > | 19144 19145 19146 19147 19148 19149 19150 19151 19152 19153 19154 19155 19156 19157 19158 | ---- skipif mysql # not compatible query II rowsort label-2938 SELECT + col1 - + ( - CAST ( NULL AS REAL ) ) + + + 71 * + ( - 27 ) AS col2, + col1 / + 63 - + col1 FROM tab2 GROUP BY col1 HAVING NULL > ( NULL ) ---- skipif postgresql # PostgreSQL requires AS when renaming output columns query II rowsort SELECT DISTINCT + col2 + - ( - col2 ) col1, 3 FROM tab1 GROUP BY col2 ---- 142 3 16 3 |
︙ | ︙ | |||
19864 19865 19866 19867 19868 19869 19870 19871 19872 19873 19874 19875 19876 19877 | NULL NULL query I rowsort SELECT col2 AS col2 FROM tab0 AS cor0 WHERE NOT ( NULL ) IS NULL GROUP BY col2 HAVING NULL BETWEEN + 67 AND NULL ---- query I rowsort SELECT DISTINCT CASE col2 WHEN - col2 THEN - AVG ( DISTINCT - col0 ) END AS col1 FROM tab1 cor0 GROUP BY col2 HAVING + col1 = NULL ---- query I rowsort SELECT - col0 * - 93 FROM tab1 WHERE + col2 * + col1 * - 33 IS NULL GROUP BY col0 ---- | > | 19913 19914 19915 19916 19917 19918 19919 19920 19921 19922 19923 19924 19925 19926 19927 | NULL NULL query I rowsort SELECT col2 AS col2 FROM tab0 AS cor0 WHERE NOT ( NULL ) IS NULL GROUP BY col2 HAVING NULL BETWEEN + 67 AND NULL ---- skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT DISTINCT CASE col2 WHEN - col2 THEN - AVG ( DISTINCT - col0 ) END AS col1 FROM tab1 cor0 GROUP BY col2 HAVING + col1 = NULL ---- query I rowsort SELECT - col0 * - 93 FROM tab1 WHERE + col2 * + col1 * - 33 IS NULL GROUP BY col0 ---- |
︙ | ︙ | |||
19970 19971 19972 19973 19974 19975 19976 19977 19978 19979 19980 19981 19982 19983 | ---- skipif mysql # not compatible query I rowsort label-3063 SELECT ALL + col1 AS col0 FROM tab1 WHERE NULL > + + 71 * + - col2 + + col1 + - - CAST ( NULL AS INTEGER ) * col1 + + col2 + - col1 GROUP BY col0, col1 ---- query I rowsort SELECT ALL - col2 AS col0 FROM tab2 AS cor0 GROUP BY col2, col1, col2 HAVING NOT NULL BETWEEN + - 33 * - - 38 + + col1 AND + col2 + - + col0 ---- query I rowsort SELECT DISTINCT - - 76 * col2 FROM tab0 AS cor0 GROUP BY col2, col0 ---- | > | 20020 20021 20022 20023 20024 20025 20026 20027 20028 20029 20030 20031 20032 20033 20034 | ---- skipif mysql # not compatible query I rowsort label-3063 SELECT ALL + col1 AS col0 FROM tab1 WHERE NULL > + + 71 * + - col2 + + col1 + - - CAST ( NULL AS INTEGER ) * col1 + + col2 + - col1 GROUP BY col0, col1 ---- skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT ALL - col2 AS col0 FROM tab2 AS cor0 GROUP BY col2, col1, col2 HAVING NOT NULL BETWEEN + - 33 * - - 38 + + col1 AND + col2 + - + col0 ---- query I rowsort SELECT DISTINCT - - 76 * col2 FROM tab0 AS cor0 GROUP BY col2, col0 ---- |
︙ | ︙ | |||
20085 20086 20087 20088 20089 20090 20091 20092 20093 20094 20095 20096 20097 20098 | 0 81 query I rowsort SELECT DISTINCT - col0 * + 48 + col0 / 91 AS col2 FROM tab1 AS cor0 GROUP BY col0, col0 HAVING ( ( NULL ) IS NOT NULL ) ---- query II rowsort SELECT DISTINCT + col2 col2, col1 * + + col1 FROM tab0 AS cor0 WHERE NOT ( NULL ) > col2 GROUP BY col2, col1, col0, col1 ---- query I rowsort SELECT - 40 FROM tab1 AS cor0 GROUP BY col1 HAVING NOT - + 13 + 52 IS NOT NULL ---- | > | 20136 20137 20138 20139 20140 20141 20142 20143 20144 20145 20146 20147 20148 20149 20150 | 0 81 query I rowsort SELECT DISTINCT - col0 * + 48 + col0 / 91 AS col2 FROM tab1 AS cor0 GROUP BY col0, col0 HAVING ( ( NULL ) IS NOT NULL ) ---- skipif postgresql # PostgreSQL requires AS when renaming output columns query II rowsort SELECT DISTINCT + col2 col2, col1 * + + col1 FROM tab0 AS cor0 WHERE NOT ( NULL ) > col2 GROUP BY col2, col1, col0, col1 ---- query I rowsort SELECT - 40 FROM tab1 AS cor0 GROUP BY col1 HAVING NOT - + 13 + 52 IS NOT NULL ---- |
︙ | ︙ | |||
20985 20986 20987 20988 20989 20990 20991 20992 20993 20994 20995 20996 20997 20998 20999 21000 21001 21002 21003 21004 21005 21006 21007 21008 21009 21010 21011 21012 21013 | query I rowsort label-3199 SELECT ALL col1 / - col1 AS col2 FROM tab2 GROUP BY col1 ---- -1 -1 -1 query II rowsort SELECT - col2 * col1 - - ( + 11 ) * col0 * - col0 col1, col2 / - - 90 - - 82 FROM tab0 AS cor0 GROUP BY col2, col0, col1 HAVING NOT NULL IS NULL ---- query I rowsort SELECT + col2 + col2 + + - col2 * - 10 AS col2 FROM tab0 AS cor0 GROUP BY col2 ---- 288 456 948 query I rowsort SELECT DISTINCT + col2 FROM tab0 AS cor0 WHERE NOT NULL IS NULL GROUP BY col2 ---- query I rowsort SELECT DISTINCT 55 * - col2 AS col1 FROM tab2 AS cor0 WHERE NOT NULL > NULL GROUP BY col2 HAVING NULL >= col1 ---- query I rowsort SELECT - col1 + + + 63 AS col0 FROM tab0 GROUP BY col1 ---- | > > | 21037 21038 21039 21040 21041 21042 21043 21044 21045 21046 21047 21048 21049 21050 21051 21052 21053 21054 21055 21056 21057 21058 21059 21060 21061 21062 21063 21064 21065 21066 21067 | query I rowsort label-3199 SELECT ALL col1 / - col1 AS col2 FROM tab2 GROUP BY col1 ---- -1 -1 -1 skipif postgresql # PostgreSQL requires AS when renaming output columns query II rowsort SELECT - col2 * col1 - - ( + 11 ) * col0 * - col0 col1, col2 / - - 90 - - 82 FROM tab0 AS cor0 GROUP BY col2, col0, col1 HAVING NOT NULL IS NULL ---- query I rowsort SELECT + col2 + col2 + + - col2 * - 10 AS col2 FROM tab0 AS cor0 GROUP BY col2 ---- 288 456 948 query I rowsort SELECT DISTINCT + col2 FROM tab0 AS cor0 WHERE NOT NULL IS NULL GROUP BY col2 ---- skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT DISTINCT 55 * - col2 AS col1 FROM tab2 AS cor0 WHERE NOT NULL > NULL GROUP BY col2 HAVING NULL >= col1 ---- query I rowsort SELECT - col1 + + + 63 AS col0 FROM tab0 GROUP BY col1 ---- |
︙ | ︙ | |||
21045 21046 21047 21048 21049 21050 21051 21052 21053 21054 21055 21056 21057 21058 | -16 -91 -16 -92 -16 skipif mysql # not compatible query II rowsort label-3207 SELECT + ( - col0 ) col1, + CAST ( - 16 AS INTEGER ) AS col2 FROM tab2 AS cor0 GROUP BY col0 ---- -15 -16 -91 -16 | > | 21099 21100 21101 21102 21103 21104 21105 21106 21107 21108 21109 21110 21111 21112 21113 | -16 -91 -16 -92 -16 skipif mysql # not compatible skipif postgresql # PostgreSQL requires AS when renaming output columns query II rowsort label-3207 SELECT + ( - col0 ) col1, + CAST ( - 16 AS INTEGER ) AS col2 FROM tab2 AS cor0 GROUP BY col0 ---- -15 -16 -91 -16 |
︙ | ︙ | |||
21663 21664 21665 21666 21667 21668 21669 21670 21671 21672 21673 21674 21675 21676 | query I rowsort SELECT DISTINCT col0 - + - col0 FROM tab1 GROUP BY col0 ---- 164 44 56 query I rowsort SELECT col1 + + col1 + 10 * - 81 * COALESCE ( 7, + 91 + col1 + ( + col2 ) ) + - - col1 AS col1 FROM tab1 GROUP BY col1 HAVING NOT ( col1 = NULL ) ---- query I rowsort SELECT - + 63 * 7 + - - col1 * col1 AS col1 FROM tab0 AS cor0 GROUP BY col1 ---- | > | 21718 21719 21720 21721 21722 21723 21724 21725 21726 21727 21728 21729 21730 21731 21732 | query I rowsort SELECT DISTINCT col0 - + - col0 FROM tab1 GROUP BY col0 ---- 164 44 56 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT col1 + + col1 + 10 * - 81 * COALESCE ( 7, + 91 + col1 + ( + col2 ) ) + - - col1 AS col1 FROM tab1 GROUP BY col1 HAVING NOT ( col1 = NULL ) ---- query I rowsort SELECT - + 63 * 7 + - - col1 * col1 AS col1 FROM tab0 AS cor0 GROUP BY col1 ---- |
︙ | ︙ | |||
22015 22016 22017 22018 22019 22020 22021 22022 22023 22024 22025 22026 22027 22028 | onlyif mysql # CAST syntax: SIGNED type: query I rowsort label-3333 SELECT DISTINCT + col0 + COALESCE ( ( + 53 ), - CAST( NULL AS SIGNED ) * NULLIF ( - col2, - col1 ) ) AS col1 FROM tab1 WHERE ( - col0 ) = NULL GROUP BY col0, col2, col2 ---- skipif mysql # not compatible query I rowsort label-3333 SELECT DISTINCT + col0 + COALESCE ( ( + 53 ), - CAST ( NULL AS INTEGER ) * NULLIF ( - col2, - col1 ) ) AS col1 FROM tab1 WHERE ( - col0 ) = NULL GROUP BY col0, col2, col2 ---- query I rowsort SELECT + col2 * col2 FROM tab2 WHERE NOT NULL IS NULL GROUP BY col2, col2 ---- | > | 22071 22072 22073 22074 22075 22076 22077 22078 22079 22080 22081 22082 22083 22084 22085 | onlyif mysql # CAST syntax: SIGNED type: query I rowsort label-3333 SELECT DISTINCT + col0 + COALESCE ( ( + 53 ), - CAST( NULL AS SIGNED ) * NULLIF ( - col2, - col1 ) ) AS col1 FROM tab1 WHERE ( - col0 ) = NULL GROUP BY col0, col2, col2 ---- skipif mysql # not compatible skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort label-3333 SELECT DISTINCT + col0 + COALESCE ( ( + 53 ), - CAST ( NULL AS INTEGER ) * NULLIF ( - col2, - col1 ) ) AS col1 FROM tab1 WHERE ( - col0 ) = NULL GROUP BY col0, col2, col2 ---- query I rowsort SELECT + col2 * col2 FROM tab2 WHERE NOT NULL IS NULL GROUP BY col2, col2 ---- |
︙ | ︙ | |||
22249 22250 22251 22252 22253 22254 22255 22256 22257 22258 22259 22260 22261 22262 | query I rowsort SELECT - + 44 col0 FROM tab2 AS cor0 GROUP BY col1 ---- -44 -44 -44 query I rowsort SELECT COALESCE ( 50, col1 ) FROM tab1 GROUP BY col2 HAVING NOT NULL <= + - ( + - 58 ) + + + col2 ---- query I rowsort SELECT + + 54 FROM tab0 WHERE NOT NULL IS NOT NULL GROUP BY col1 ---- | > | 22306 22307 22308 22309 22310 22311 22312 22313 22314 22315 22316 22317 22318 22319 22320 | query I rowsort SELECT - + 44 col0 FROM tab2 AS cor0 GROUP BY col1 ---- -44 -44 -44 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT COALESCE ( 50, col1 ) FROM tab1 GROUP BY col2 HAVING NOT NULL <= + - ( + - 58 ) + + + col2 ---- query I rowsort SELECT + + 54 FROM tab0 WHERE NOT NULL IS NOT NULL GROUP BY col1 ---- |
︙ | ︙ | |||
22480 22481 22482 22483 22484 22485 22486 22487 22488 22489 22490 22491 22492 22493 | query I rowsort SELECT DISTINCT + col1 FROM tab1 AS cor0 GROUP BY col2, col1 HAVING ( NOT NULL IS NOT NULL ) ---- 44 57 6 query II rowsort SELECT + 52 * + col2 + - col2 col0, + col1 * - col1 FROM tab0 GROUP BY col1, col2 ---- 1224 -6561 1938 0 | > | 22538 22539 22540 22541 22542 22543 22544 22545 22546 22547 22548 22549 22550 22551 22552 | query I rowsort SELECT DISTINCT + col1 FROM tab1 AS cor0 GROUP BY col2, col1 HAVING ( NOT NULL IS NOT NULL ) ---- 44 57 6 skipif postgresql # PostgreSQL requires AS when renaming output columns query II rowsort SELECT + 52 * + col2 + - col2 col0, + col1 * - col1 FROM tab0 GROUP BY col1, col2 ---- 1224 -6561 1938 0 |
︙ | ︙ | |||
22724 22725 22726 22727 22728 22729 22730 22731 22732 22733 22734 22735 22736 22737 | 57 6 query I rowsort SELECT DISTINCT + - col0 AS col0 FROM tab2 WHERE NOT NULL <= + 48 * + + 99 * + + col2 * + 45 GROUP BY col0 HAVING NOT + col0 IS NULL ---- query II rowsort SELECT DISTINCT + 38, + COALESCE ( - - COALESCE ( - 46, + - col1 ), + 74 ) AS col0 FROM tab2 GROUP BY col0 ---- 38 -46 query I rowsort | > | 22783 22784 22785 22786 22787 22788 22789 22790 22791 22792 22793 22794 22795 22796 22797 | 57 6 query I rowsort SELECT DISTINCT + - col0 AS col0 FROM tab2 WHERE NOT NULL <= + 48 * + + 99 * + + col2 * + 45 GROUP BY col0 HAVING NOT + col0 IS NULL ---- skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query II rowsort SELECT DISTINCT + 38, + COALESCE ( - - COALESCE ( - 46, + - col1 ), + 74 ) AS col0 FROM tab2 GROUP BY col0 ---- 38 -46 query I rowsort |
︙ | ︙ | |||
23173 23174 23175 23176 23177 23178 23179 23180 23181 23182 23183 23184 23185 23186 | query I rowsort SELECT ALL ( - col2 ) + - - col2 - - 93 AS col0 FROM tab1 GROUP BY col2 ---- 93 93 93 query I rowsort SELECT col1 AS col0 FROM tab0 GROUP BY col2, col1 HAVING NOT ( NULL ) <> - ( + col0 ) ---- query I rowsort SELECT DISTINCT + col1 * 26 - + + col1 AS col0 FROM tab0 GROUP BY col1 ---- | > | 23233 23234 23235 23236 23237 23238 23239 23240 23241 23242 23243 23244 23245 23246 23247 | query I rowsort SELECT ALL ( - col2 ) + - - col2 - - 93 AS col0 FROM tab1 GROUP BY col2 ---- 93 93 93 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT col1 AS col0 FROM tab0 GROUP BY col2, col1 HAVING NOT ( NULL ) <> - ( + col0 ) ---- query I rowsort SELECT DISTINCT + col1 * 26 - + + col1 AS col0 FROM tab0 GROUP BY col1 ---- |
︙ | ︙ | |||
23464 23465 23466 23467 23468 23469 23470 23471 23472 23473 23474 23475 23476 23477 | query I rowsort SELECT ALL ( - - col2 ) AS col1 FROM tab1 GROUP BY col2 ---- 45 71 8 query II rowsort SELECT + col0 col1, 78 - - col0 - 65 + - + 50 * - + ( col2 ) FROM tab0 AS cor0 GROUP BY col2, col0 ---- 26 3989 43 1256 | > | 23525 23526 23527 23528 23529 23530 23531 23532 23533 23534 23535 23536 23537 23538 23539 | query I rowsort SELECT ALL ( - - col2 ) AS col1 FROM tab1 GROUP BY col2 ---- 45 71 8 skipif postgresql # PostgreSQL requires AS when renaming output columns query II rowsort SELECT + col0 col1, 78 - - col0 - 65 + - + 50 * - + ( col2 ) FROM tab0 AS cor0 GROUP BY col2, col0 ---- 26 3989 43 1256 |
︙ | ︙ | |||
23797 23798 23799 23800 23801 23802 23803 23804 23805 23806 23807 23808 23809 23810 | 1 query I rowsort SELECT DISTINCT 61 AS col2 FROM tab2 GROUP BY col1, col2 ---- 61 query I rowsort SELECT ALL + - 75 AS col0 FROM tab0 AS cor0 GROUP BY col1 HAVING NOT NULL NOT BETWEEN - - col0 + 12 AND ( - 59 ) ---- onlyif mysql # CAST syntax: SIGNED type: query II rowsort label-3571 SELECT DISTINCT - - CAST( NULL AS SIGNED ) AS col1, col1 AS col2 FROM tab2 cor0 GROUP BY col1 HAVING NOT ( ( NULL IS NULL ) ) | > | 23859 23860 23861 23862 23863 23864 23865 23866 23867 23868 23869 23870 23871 23872 23873 | 1 query I rowsort SELECT DISTINCT 61 AS col2 FROM tab2 GROUP BY col1, col2 ---- 61 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT ALL + - 75 AS col0 FROM tab0 AS cor0 GROUP BY col1 HAVING NOT NULL NOT BETWEEN - - col0 + 12 AND ( - 59 ) ---- onlyif mysql # CAST syntax: SIGNED type: query II rowsort label-3571 SELECT DISTINCT - - CAST( NULL AS SIGNED ) AS col1, col1 AS col2 FROM tab2 cor0 GROUP BY col1 HAVING NOT ( ( NULL IS NULL ) ) |
︙ | ︙ | |||
23934 23935 23936 23937 23938 23939 23940 23941 23942 23943 23944 23945 23946 23947 | SELECT ALL COALESCE ( - 83, + - ( col2 ) * - - col0 * CAST( + col1 AS SIGNED ) ) FROM tab1 GROUP BY col1 ---- -83 -83 -83 skipif mysql # not compatible query I rowsort label-3589 SELECT ALL COALESCE ( - 83, + - ( col2 ) * - - col0 * CAST ( + col1 AS INTEGER ) ) FROM tab1 GROUP BY col1 ---- -83 -83 -83 | > | 23997 23998 23999 24000 24001 24002 24003 24004 24005 24006 24007 24008 24009 24010 24011 | SELECT ALL COALESCE ( - 83, + - ( col2 ) * - - col0 * CAST( + col1 AS SIGNED ) ) FROM tab1 GROUP BY col1 ---- -83 -83 -83 skipif mysql # not compatible skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort label-3589 SELECT ALL COALESCE ( - 83, + - ( col2 ) * - - col0 * CAST ( + col1 AS INTEGER ) ) FROM tab1 GROUP BY col1 ---- -83 -83 -83 |
︙ | ︙ | |||
24373 24374 24375 24376 24377 24378 24379 24380 24381 24382 24383 24384 24385 24386 | query I rowsort label-3648 SELECT + col2 + - col2 * - ( CAST ( NULL AS INTEGER ) ) AS col1 FROM tab1 GROUP BY col2 ---- NULL NULL NULL query II rowsort SELECT + 35, + col2 * - 15 AS col1 FROM tab0 GROUP BY col0, col2 HAVING NOT NULL > - col1 * + 42 * - col0 + + col2 + - col1 ---- query I rowsort SELECT - + col0 / col0 FROM tab1 AS cor0 WHERE + 44 = + - col1 GROUP BY col1, col0, col1 HAVING NOT ( NULL ) NOT BETWEEN 61 AND ( NULL ) ---- | > | 24437 24438 24439 24440 24441 24442 24443 24444 24445 24446 24447 24448 24449 24450 24451 | query I rowsort label-3648 SELECT + col2 + - col2 * - ( CAST ( NULL AS INTEGER ) ) AS col1 FROM tab1 GROUP BY col2 ---- NULL NULL NULL skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query II rowsort SELECT + 35, + col2 * - 15 AS col1 FROM tab0 GROUP BY col0, col2 HAVING NOT NULL > - col1 * + 42 * - col0 + + col2 + - col1 ---- query I rowsort SELECT - + col0 / col0 FROM tab1 AS cor0 WHERE + 44 = + - col1 GROUP BY col1, col0, col1 HAVING NOT ( NULL ) NOT BETWEEN 61 AND ( NULL ) ---- |
︙ | ︙ | |||
24730 24731 24732 24733 24734 24735 24736 24737 24738 24739 24740 24741 24742 24743 | query I rowsort SELECT DISTINCT + ( + 48 ) + - - 94 + + 86 * col0 AS col1 FROM tab1 AS cor0 GROUP BY col0 ---- 2034 2550 7194 query I rowsort SELECT - col1 * - col1 * - COALESCE ( 30, 14, - col0 + 5 ) FROM tab2 GROUP BY col1 HAVING ( NULL ) IS NOT NULL ---- query I rowsort SELECT ALL - 12 AS col1 FROM tab0 GROUP BY col2 ---- | > | 24795 24796 24797 24798 24799 24800 24801 24802 24803 24804 24805 24806 24807 24808 24809 | query I rowsort SELECT DISTINCT + ( + 48 ) + - - 94 + + 86 * col0 AS col1 FROM tab1 AS cor0 GROUP BY col0 ---- 2034 2550 7194 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT - col1 * - col1 * - COALESCE ( 30, 14, - col0 + 5 ) FROM tab2 GROUP BY col1 HAVING ( NULL ) IS NOT NULL ---- query I rowsort SELECT ALL - 12 AS col1 FROM tab0 GROUP BY col2 ---- |
︙ | ︙ | |||
24770 24771 24772 24773 24774 24775 24776 24777 24778 24779 24780 24781 24782 24783 | onlyif mysql # CAST syntax: SIGNED type: query I rowsort label-3701 SELECT DISTINCT - 14 - col0 AS col2 FROM tab1 AS cor0 WHERE NULL <> col2 - - col2 GROUP BY col0 HAVING NOT + CAST( - col2 AS SIGNED ) * col0 + - col2 / - 81 BETWEEN NULL AND NULL ---- skipif mysql # not compatible query I rowsort label-3701 SELECT DISTINCT - 14 - col0 AS col2 FROM tab1 AS cor0 WHERE NULL <> col2 - - col2 GROUP BY col0 HAVING NOT + CAST ( - col2 AS INTEGER ) * col0 + - col2 / - 81 BETWEEN NULL AND NULL ---- query I rowsort SELECT - col1 + - col2 * col1 FROM tab1 GROUP BY col2, col1 ---- | > | 24836 24837 24838 24839 24840 24841 24842 24843 24844 24845 24846 24847 24848 24849 24850 | onlyif mysql # CAST syntax: SIGNED type: query I rowsort label-3701 SELECT DISTINCT - 14 - col0 AS col2 FROM tab1 AS cor0 WHERE NULL <> col2 - - col2 GROUP BY col0 HAVING NOT + CAST( - col2 AS SIGNED ) * col0 + - col2 / - 81 BETWEEN NULL AND NULL ---- skipif mysql # not compatible skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort label-3701 SELECT DISTINCT - 14 - col0 AS col2 FROM tab1 AS cor0 WHERE NULL <> col2 - - col2 GROUP BY col0 HAVING NOT + CAST ( - col2 AS INTEGER ) * col0 + - col2 / - 81 BETWEEN NULL AND NULL ---- query I rowsort SELECT - col1 + - col2 * col1 FROM tab1 GROUP BY col2, col1 ---- |
︙ | ︙ | |||
24846 24847 24848 24849 24850 24851 24852 24853 24854 24855 24856 24857 24858 24859 | SELECT - CAST ( 70 AS INTEGER ) / + col2 FROM tab1 WHERE NOT ( 46 ) IS NOT NULL GROUP BY col2 HAVING NULL IS NULL ---- query I rowsort SELECT - 77 - col0 AS col2 FROM tab0 GROUP BY col0 HAVING NOT NULL IS NULL ---- query I rowsort SELECT ALL + col0 AS col1 FROM tab0 AS cor0 GROUP BY col0 HAVING ( col1 ) <= NULL ---- onlyif mysql # CAST syntax: SIGNED type: query I rowsort label-3714 SELECT col2 AS col0 FROM tab1 GROUP BY col2 HAVING NOT ( - CAST( NULL AS SIGNED ) ) <= + 43 | > | 24913 24914 24915 24916 24917 24918 24919 24920 24921 24922 24923 24924 24925 24926 24927 | SELECT - CAST ( 70 AS INTEGER ) / + col2 FROM tab1 WHERE NOT ( 46 ) IS NOT NULL GROUP BY col2 HAVING NULL IS NULL ---- query I rowsort SELECT - 77 - col0 AS col2 FROM tab0 GROUP BY col0 HAVING NOT NULL IS NULL ---- skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT ALL + col0 AS col1 FROM tab0 AS cor0 GROUP BY col0 HAVING ( col1 ) <= NULL ---- onlyif mysql # CAST syntax: SIGNED type: query I rowsort label-3714 SELECT col2 AS col0 FROM tab1 GROUP BY col2 HAVING NOT ( - CAST( NULL AS SIGNED ) ) <= + 43 |
︙ | ︙ | |||
25557 25558 25559 25560 25561 25562 25563 25564 25565 25566 25567 25568 25569 25570 | -1 67 -1 69 -1 skipif mysql # not compatible query II rowsort label-3821 SELECT ALL 8 + - - col1 col2, col1 / - col1 AS col1 FROM tab2 AS cor0 GROUP BY col2, col1 ---- 49 -1 67 -1 | > | 25625 25626 25627 25628 25629 25630 25631 25632 25633 25634 25635 25636 25637 25638 25639 | -1 67 -1 69 -1 skipif mysql # not compatible skipif postgresql # PostgreSQL requires AS when renaming output columns query II rowsort label-3821 SELECT ALL 8 + - - col1 col2, col1 / - col1 AS col1 FROM tab2 AS cor0 GROUP BY col2, col1 ---- 49 -1 67 -1 |
︙ | ︙ | |||
25977 25978 25979 25980 25981 25982 25983 25984 25985 25986 25987 25988 25989 25990 | query I rowsort SELECT DISTINCT + 28 + - col2 * - col2 AS col0 FROM tab0 GROUP BY col2 ---- 1472 604 6269 query II rowsort SELECT DISTINCT col0 col1, ( - col0 ) * - col0 AS col0 FROM tab1 GROUP BY col0 HAVING NOT NULL BETWEEN NULL AND ( 65 ) ---- query I rowsort SELECT + col1 * - col0 + 76 AS col1 FROM tab0 GROUP BY col0, col1 HAVING NULL < COALESCE ( - + col0, col0 ) AND ( NULL ) IS NOT NULL ---- | > | 26046 26047 26048 26049 26050 26051 26052 26053 26054 26055 26056 26057 26058 26059 26060 | query I rowsort SELECT DISTINCT + 28 + - col2 * - col2 AS col0 FROM tab0 GROUP BY col2 ---- 1472 604 6269 skipif postgresql # PostgreSQL requires AS when renaming output columns query II rowsort SELECT DISTINCT col0 col1, ( - col0 ) * - col0 AS col0 FROM tab1 GROUP BY col0 HAVING NOT NULL BETWEEN NULL AND ( 65 ) ---- query I rowsort SELECT + col1 * - col0 + 76 AS col1 FROM tab0 GROUP BY col0, col1 HAVING NULL < COALESCE ( - + col0, col0 ) AND ( NULL ) IS NOT NULL ---- |
︙ | ︙ | |||
26230 26231 26232 26233 26234 26235 26236 26237 26238 26239 26240 26241 26242 26243 | SELECT + COALESCE ( 83, - - col0 DIV CASE col0 WHEN col1 THEN NULL WHEN col0 THEN - col1 END ) FROM tab1 AS cor0 GROUP BY col1 ---- 83 83 83 skipif mysql # not compatible query I rowsort label-3916 SELECT + COALESCE ( 83, - - col0 / CASE col0 WHEN col1 THEN NULL WHEN col0 THEN - col1 END ) FROM tab1 AS cor0 GROUP BY col1 ---- 83 83 83 | > | 26300 26301 26302 26303 26304 26305 26306 26307 26308 26309 26310 26311 26312 26313 26314 | SELECT + COALESCE ( 83, - - col0 DIV CASE col0 WHEN col1 THEN NULL WHEN col0 THEN - col1 END ) FROM tab1 AS cor0 GROUP BY col1 ---- 83 83 83 skipif mysql # not compatible skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort label-3916 SELECT + COALESCE ( 83, - - col0 / CASE col0 WHEN col1 THEN NULL WHEN col0 THEN - col1 END ) FROM tab1 AS cor0 GROUP BY col1 ---- 83 83 83 |
︙ | ︙ | |||
26489 26490 26491 26492 26493 26494 26495 26496 26497 26498 26499 26500 26501 26502 | onlyif mysql # CAST syntax: DECIMAL type: query II rowsort label-3946 SELECT DISTINCT col1 AS col0, - CAST( NULL AS DECIMAL ) + col1 AS col1 FROM tab0 GROUP BY col1, col1 HAVING + 22 * + 61 + - - col0 > NULL ---- skipif mysql # not compatible query II rowsort label-3946 SELECT DISTINCT col1 AS col0, - CAST ( NULL AS REAL ) + col1 AS col1 FROM tab0 GROUP BY col1, col1 HAVING + 22 * + 61 + - - col0 > NULL ---- query I rowsort SELECT ALL col0 FROM tab2 AS cor0 GROUP BY col1, col1, col0 HAVING - col1 * - 13 + col0 + - 27 + - + 61 IS NULL ---- | > | 26560 26561 26562 26563 26564 26565 26566 26567 26568 26569 26570 26571 26572 26573 26574 | onlyif mysql # CAST syntax: DECIMAL type: query II rowsort label-3946 SELECT DISTINCT col1 AS col0, - CAST( NULL AS DECIMAL ) + col1 AS col1 FROM tab0 GROUP BY col1, col1 HAVING + 22 * + 61 + - - col0 > NULL ---- skipif mysql # not compatible skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query II rowsort label-3946 SELECT DISTINCT col1 AS col0, - CAST ( NULL AS REAL ) + col1 AS col1 FROM tab0 GROUP BY col1, col1 HAVING + 22 * + 61 + - - col0 > NULL ---- query I rowsort SELECT ALL col0 FROM tab2 AS cor0 GROUP BY col1, col1, col0 HAVING - col1 * - 13 + col0 + - 27 + - + 61 IS NULL ---- |
︙ | ︙ | |||
26748 26749 26750 26751 26752 26753 26754 26755 26756 26757 26758 26759 26760 26761 | 15 -44 15 -57 15 -6 query II rowsort SELECT col1 * - col1 * col1 + - + col1 AS col2, col1 AS col1 FROM tab2 AS cor0 GROUP BY col1 HAVING NOT ( NULL ) BETWEEN + ( - col1 ) AND + col2 + - 3 ---- skipif postgresql # PostgreSQL requires AS when renaming output columns query I rowsort SELECT DISTINCT ( + col0 ) col0 FROM tab2 GROUP BY col0 HAVING NULL IS NULL | > | 26820 26821 26822 26823 26824 26825 26826 26827 26828 26829 26830 26831 26832 26833 26834 | 15 -44 15 -57 15 -6 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query II rowsort SELECT col1 * - col1 * col1 + - + col1 AS col2, col1 AS col1 FROM tab2 AS cor0 GROUP BY col1 HAVING NOT ( NULL ) BETWEEN + ( - col1 ) AND + col2 + - 3 ---- skipif postgresql # PostgreSQL requires AS when renaming output columns query I rowsort SELECT DISTINCT ( + col0 ) col0 FROM tab2 GROUP BY col0 HAVING NULL IS NULL |
︙ | ︙ | |||
27330 27331 27332 27333 27334 27335 27336 27337 27338 27339 27340 27341 27342 27343 | query I rowsort label-4054 SELECT + CAST ( + + 96 AS INTEGER ) FROM tab1 AS cor0 GROUP BY col0, col1 ---- 96 96 96 query I rowsort SELECT + 29 * + col0 AS col2 FROM tab2 AS cor0 GROUP BY col1, col0, col1 HAVING NULL > + col2 + + + col0 * - col2 * col1 * + 48 * - col1 ---- onlyif mysql # DIV for integer division: query I rowsort label-4056 SELECT DISTINCT + col0 DIV - - col0 FROM tab2 GROUP BY col0, col0 | > | 27403 27404 27405 27406 27407 27408 27409 27410 27411 27412 27413 27414 27415 27416 27417 | query I rowsort label-4054 SELECT + CAST ( + + 96 AS INTEGER ) FROM tab1 AS cor0 GROUP BY col0, col1 ---- 96 96 96 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT + 29 * + col0 AS col2 FROM tab2 AS cor0 GROUP BY col1, col0, col1 HAVING NULL > + col2 + + + col0 * - col2 * col1 * + 48 * - col1 ---- onlyif mysql # DIV for integer division: query I rowsort label-4056 SELECT DISTINCT + col0 DIV - - col0 FROM tab2 GROUP BY col0, col0 |
︙ | ︙ | |||
28481 28482 28483 28484 28485 28486 28487 28488 28489 28490 28491 28492 28493 28494 | query I rowsort SELECT ALL + col2 * - 83 * NULLIF ( - 83, - 11 ) FROM tab2 AS cor0 GROUP BY col1, col2 ---- 399562 544231 599343 query I rowsort SELECT ALL + col0 AS col1 FROM tab0 AS cor0 GROUP BY col0 HAVING NOT + - NULLIF ( + col1, - col0 ) * - AVG ( DISTINCT 35 ) >= NULL ---- query I rowsort SELECT col2 * - + col2 AS col2 FROM tab1 AS cor0 GROUP BY col2, col2 ---- | > | 28555 28556 28557 28558 28559 28560 28561 28562 28563 28564 28565 28566 28567 28568 28569 | query I rowsort SELECT ALL + col2 * - 83 * NULLIF ( - 83, - 11 ) FROM tab2 AS cor0 GROUP BY col1, col2 ---- 399562 544231 599343 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT ALL + col0 AS col1 FROM tab0 AS cor0 GROUP BY col0 HAVING NOT + - NULLIF ( + col1, - col0 ) * - AVG ( DISTINCT 35 ) >= NULL ---- query I rowsort SELECT col2 * - + col2 AS col2 FROM tab1 AS cor0 GROUP BY col2, col2 ---- |
︙ | ︙ | |||
28601 28602 28603 28604 28605 28606 28607 28608 28609 28610 28611 28612 28613 28614 | 225 1 8281 1 8464 skipif mysql # not compatible query II rowsort label-4219 SELECT ALL col0 / + col0 col1, + col0 * col0 FROM tab2 AS cor0 GROUP BY col0 ---- 1 225 1 8281 | > | 28676 28677 28678 28679 28680 28681 28682 28683 28684 28685 28686 28687 28688 28689 28690 | 225 1 8281 1 8464 skipif mysql # not compatible skipif postgresql # PostgreSQL requires AS when renaming output columns query II rowsort label-4219 SELECT ALL col0 / + col0 col1, + col0 * col0 FROM tab2 AS cor0 GROUP BY col0 ---- 1 225 1 8281 |
︙ | ︙ | |||
28683 28684 28685 28686 28687 28688 28689 28690 28691 28692 28693 28694 28695 28696 | ---- skipif mysql # not compatible query I rowsort label-4228 SELECT ALL + ( col0 ) FROM tab1 GROUP BY col0, col2 HAVING NULL NOT IN ( + col2 / - - 92 / - col2 * - col0, + COALESCE ( + + CAST ( - - col2 AS INTEGER ), - col0 ) ) ---- query II rowsort SELECT ALL - + 75 col0, 23 FROM tab1 cor0 GROUP BY col2 ---- -75 23 -75 23 | > | 28759 28760 28761 28762 28763 28764 28765 28766 28767 28768 28769 28770 28771 28772 28773 | ---- skipif mysql # not compatible query I rowsort label-4228 SELECT ALL + ( col0 ) FROM tab1 GROUP BY col0, col2 HAVING NULL NOT IN ( + col2 / - - 92 / - col2 * - col0, + COALESCE ( + + CAST ( - - col2 AS INTEGER ), - col0 ) ) ---- skipif postgresql # PostgreSQL requires AS when renaming output columns query II rowsort SELECT ALL - + 75 col0, 23 FROM tab1 cor0 GROUP BY col2 ---- -75 23 -75 23 |
︙ | ︙ | |||
28826 28827 28828 28829 28830 28831 28832 28833 28834 28835 28836 28837 28838 28839 | 1 query I rowsort SELECT DISTINCT 0 AS col0 FROM tab2 AS cor0 GROUP BY col2 ---- 0 query II rowsort SELECT DISTINCT - + col1 * - col1 + + col1 col0, - 28 FROM tab0 cor0 GROUP BY col1, col1 ---- 0 -28 6642 -28 | > | 28903 28904 28905 28906 28907 28908 28909 28910 28911 28912 28913 28914 28915 28916 28917 | 1 query I rowsort SELECT DISTINCT 0 AS col0 FROM tab2 AS cor0 GROUP BY col2 ---- 0 skipif postgresql # PostgreSQL requires AS when renaming output columns query II rowsort SELECT DISTINCT - + col1 * - col1 + + col1 col0, - 28 FROM tab0 cor0 GROUP BY col1, col1 ---- 0 -28 6642 -28 |
︙ | ︙ | |||
30061 30062 30063 30064 30065 30066 30067 30068 30069 30070 30071 30072 30073 30074 | onlyif mysql # CAST syntax: SIGNED type: query I rowsort label-4415 SELECT DISTINCT COALESCE ( + 90, ( 11 ) + - col1 * + CAST( NULL AS SIGNED ), col0 - col0 ) + - col0 FROM tab0 GROUP BY col0 HAVING NOT ( col0 ) <> NULL ---- skipif mysql # not compatible query I rowsort label-4415 SELECT DISTINCT COALESCE ( + 90, ( 11 ) + - col1 * + CAST ( NULL AS INTEGER ), col0 - col0 ) + - col0 FROM tab0 GROUP BY col0 HAVING NOT ( col0 ) <> NULL ---- query I rowsort SELECT 52 FROM tab0 GROUP BY col1, col0, col1 HAVING col0 <= ( NULL ) ---- | > | 30139 30140 30141 30142 30143 30144 30145 30146 30147 30148 30149 30150 30151 30152 30153 | onlyif mysql # CAST syntax: SIGNED type: query I rowsort label-4415 SELECT DISTINCT COALESCE ( + 90, ( 11 ) + - col1 * + CAST( NULL AS SIGNED ), col0 - col0 ) + - col0 FROM tab0 GROUP BY col0 HAVING NOT ( col0 ) <> NULL ---- skipif mysql # not compatible skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort label-4415 SELECT DISTINCT COALESCE ( + 90, ( 11 ) + - col1 * + CAST ( NULL AS INTEGER ), col0 - col0 ) + - col0 FROM tab0 GROUP BY col0 HAVING NOT ( col0 ) <> NULL ---- query I rowsort SELECT 52 FROM tab0 GROUP BY col1, col0, col1 HAVING col0 <= ( NULL ) ---- |
︙ | ︙ | |||
30499 30500 30501 30502 30503 30504 30505 30506 30507 30508 30509 30510 30511 30512 | SELECT ALL col0 AS col0 FROM tab1 GROUP BY col0 HAVING + CAST ( ( col0 ) AS INTEGER ) IS NULL ---- query I rowsort SELECT + col1 / - col1 * col1 FROM tab0 GROUP BY col1 HAVING + col1 IS NULL ---- query I rowsort SELECT + col1 * 98 * + COALESCE ( + 7, - col2 ) - col1 * col1 AS col1 FROM tab0 GROUP BY col1 ---- 0 49005 onlyif mysql # DIV for integer division: | > | 30578 30579 30580 30581 30582 30583 30584 30585 30586 30587 30588 30589 30590 30591 30592 | SELECT ALL col0 AS col0 FROM tab1 GROUP BY col0 HAVING + CAST ( ( col0 ) AS INTEGER ) IS NULL ---- query I rowsort SELECT + col1 / - col1 * col1 FROM tab0 GROUP BY col1 HAVING + col1 IS NULL ---- skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT + col1 * 98 * + COALESCE ( + 7, - col2 ) - col1 * col1 AS col1 FROM tab0 GROUP BY col1 ---- 0 49005 onlyif mysql # DIV for integer division: |
︙ | ︙ | |||
30694 30695 30696 30697 30698 30699 30700 30701 30702 30703 30704 30705 30706 30707 | onlyif mysql # CAST syntax: SIGNED type: query I rowsort label-4506 SELECT ALL - col0 + + col0 AS col1 FROM tab0 WHERE col1 IN ( CAST( col0 AS SIGNED ) ) GROUP BY col0 HAVING NOT CAST( NULL AS SIGNED ) <= ( - col1 + + col1 ) ---- skipif mysql # not compatible query I rowsort label-4506 SELECT ALL - col0 + + col0 AS col1 FROM tab0 WHERE col1 IN ( CAST ( col0 AS INTEGER ) ) GROUP BY col0 HAVING NOT CAST ( NULL AS INTEGER ) <= ( - col1 + + col1 ) ---- query I rowsort SELECT ALL col0 AS col2 FROM tab1 GROUP BY col0, col0 ---- | > | 30774 30775 30776 30777 30778 30779 30780 30781 30782 30783 30784 30785 30786 30787 30788 | onlyif mysql # CAST syntax: SIGNED type: query I rowsort label-4506 SELECT ALL - col0 + + col0 AS col1 FROM tab0 WHERE col1 IN ( CAST( col0 AS SIGNED ) ) GROUP BY col0 HAVING NOT CAST( NULL AS SIGNED ) <= ( - col1 + + col1 ) ---- skipif mysql # not compatible skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort label-4506 SELECT ALL - col0 + + col0 AS col1 FROM tab0 WHERE col1 IN ( CAST ( col0 AS INTEGER ) ) GROUP BY col0 HAVING NOT CAST ( NULL AS INTEGER ) <= ( - col1 + + col1 ) ---- query I rowsort SELECT ALL col0 AS col2 FROM tab1 GROUP BY col0, col0 ---- |
︙ | ︙ | |||
31031 31032 31033 31034 31035 31036 31037 31038 31039 31040 31041 31042 31043 31044 | query I rowsort label-4548 SELECT DISTINCT CAST ( ( - 67 ) AS INTEGER ) + + - col0 FROM tab1 cor0 GROUP BY col0, col2 ---- -149 -89 -95 query II rowsort SELECT DISTINCT - + col2 * col2 + - ( col1 ) col0, col2 * col2 * col2 AS col2 FROM tab0 AS cor0 GROUP BY col2, col1 ---- -1444 54872 -6241 493039 | > | 31112 31113 31114 31115 31116 31117 31118 31119 31120 31121 31122 31123 31124 31125 31126 | query I rowsort label-4548 SELECT DISTINCT CAST ( ( - 67 ) AS INTEGER ) + + - col0 FROM tab1 cor0 GROUP BY col0, col2 ---- -149 -89 -95 skipif postgresql # PostgreSQL requires AS when renaming output columns query II rowsort SELECT DISTINCT - + col2 * col2 + - ( col1 ) col0, col2 * col2 * col2 AS col2 FROM tab0 AS cor0 GROUP BY col2, col1 ---- -1444 54872 -6241 493039 |
︙ | ︙ | |||
31108 31109 31110 31111 31112 31113 31114 31115 31116 31117 31118 31119 31120 31121 | onlyif mysql # CAST syntax: SIGNED type: query I rowsort label-4558 SELECT DISTINCT CASE - 59 WHEN 88 THEN - col0 * + + col2 + - 25 + - + CAST( + col0 AS SIGNED ) END AS col1 FROM tab2 AS cor0 GROUP BY col1 ---- NULL skipif mysql # not compatible query I rowsort label-4558 SELECT DISTINCT CASE - 59 WHEN 88 THEN - col0 * + + col2 + - 25 + - + CAST ( + col0 AS INTEGER ) END AS col1 FROM tab2 AS cor0 GROUP BY col1 ---- NULL query I rowsort SELECT - + 68 FROM tab1 AS cor0 GROUP BY col0, col1, col2 | > | 31190 31191 31192 31193 31194 31195 31196 31197 31198 31199 31200 31201 31202 31203 31204 | onlyif mysql # CAST syntax: SIGNED type: query I rowsort label-4558 SELECT DISTINCT CASE - 59 WHEN 88 THEN - col0 * + + col2 + - 25 + - + CAST( + col0 AS SIGNED ) END AS col1 FROM tab2 AS cor0 GROUP BY col1 ---- NULL skipif mysql # not compatible skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort label-4558 SELECT DISTINCT CASE - 59 WHEN 88 THEN - col0 * + + col2 + - 25 + - + CAST ( + col0 AS INTEGER ) END AS col1 FROM tab2 AS cor0 GROUP BY col1 ---- NULL query I rowsort SELECT - + 68 FROM tab1 AS cor0 GROUP BY col0, col1, col2 |
︙ | ︙ | |||
31201 31202 31203 31204 31205 31206 31207 31208 31209 31210 31211 31212 31213 31214 | NULL 91 NULL 92 NULL skipif mysql # not compatible query II rowsort label-4572 SELECT col0 col2, CAST ( NULL AS INTEGER ) FROM tab2 AS cor0 GROUP BY col0 ---- 15 NULL 91 NULL | > | 31284 31285 31286 31287 31288 31289 31290 31291 31292 31293 31294 31295 31296 31297 31298 | NULL 91 NULL 92 NULL skipif mysql # not compatible skipif postgresql # PostgreSQL requires AS when renaming output columns query II rowsort label-4572 SELECT col0 col2, CAST ( NULL AS INTEGER ) FROM tab2 AS cor0 GROUP BY col0 ---- 15 NULL 91 NULL |
︙ | ︙ | |||
31248 31249 31250 31251 31252 31253 31254 31255 31256 31257 31258 31259 31260 31261 | query I rowsort SELECT + + col1 * 56 FROM tab1 AS cor0 GROUP BY col1, col1 ---- 2464 3192 336 query I rowsort SELECT DISTINCT - 7 * + col1 * - col1 AS col0 FROM tab0 GROUP BY col1 HAVING NULL >= - col0 ---- query I rowsort SELECT - 33 FROM tab2 GROUP BY col2 ---- | > | 31332 31333 31334 31335 31336 31337 31338 31339 31340 31341 31342 31343 31344 31345 31346 | query I rowsort SELECT + + col1 * 56 FROM tab1 AS cor0 GROUP BY col1, col1 ---- 2464 3192 336 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT DISTINCT - 7 * + col1 * - col1 AS col0 FROM tab0 GROUP BY col1 HAVING NULL >= - col0 ---- query I rowsort SELECT - 33 FROM tab2 GROUP BY col2 ---- |
︙ | ︙ | |||
31328 31329 31330 31331 31332 31333 31334 31335 31336 31337 31338 31339 31340 31341 | 44 NULL 57 NULL 6 skipif mysql # not compatible query II rowsort label-4586 SELECT ALL CAST ( NULL AS INTEGER ) - col1 * - AVG ( + 13 ) col0, col1 AS col2 FROM tab1 GROUP BY col1, col1 ---- NULL 44 NULL 57 | > | 31413 31414 31415 31416 31417 31418 31419 31420 31421 31422 31423 31424 31425 31426 31427 | 44 NULL 57 NULL 6 skipif mysql # not compatible skipif postgresql # PostgreSQL requires AS when renaming output columns query II rowsort label-4586 SELECT ALL CAST ( NULL AS INTEGER ) - col1 * - AVG ( + 13 ) col0, col1 AS col2 FROM tab1 GROUP BY col1, col1 ---- NULL 44 NULL 57 |
︙ | ︙ | |||
31823 31824 31825 31826 31827 31828 31829 31830 31831 31832 31833 31834 31835 31836 | query I rowsort SELECT + col1 * + 99 AS col1 FROM tab0 AS cor0 GROUP BY col0, col1 ---- 0 0 8019 query I rowsort SELECT ALL + COALESCE ( + + ( + 22 ), + - 99 * + - CASE + - col0 WHEN - col0 THEN - col2 ELSE NULL END * + col0 - + col0 ) FROM tab1 AS cor0 GROUP BY col1 HAVING NULL IS NULL ---- 22 22 22 | > | 31909 31910 31911 31912 31913 31914 31915 31916 31917 31918 31919 31920 31921 31922 31923 | query I rowsort SELECT + col1 * + 99 AS col1 FROM tab0 AS cor0 GROUP BY col0, col1 ---- 0 0 8019 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT ALL + COALESCE ( + + ( + 22 ), + - 99 * + - CASE + - col0 WHEN - col0 THEN - col2 ELSE NULL END * + col0 - + col0 ) FROM tab1 AS cor0 GROUP BY col1 HAVING NULL IS NULL ---- 22 22 22 |
︙ | ︙ | |||
31935 31936 31937 31938 31939 31940 31941 31942 31943 31944 31945 31946 31947 31948 | SELECT col2 AS col2 FROM tab1 GROUP BY col2 HAVING NULL IS NOT NULL ---- query I rowsort SELECT 7 + - col1 FROM tab0 GROUP BY col1, col0, col2 HAVING NOT NULL BETWEEN + - COALESCE ( + - 37, - col1 - - + col1 ) AND col1 ---- query II rowsort SELECT DISTINCT col2 + + CASE + - 82 WHEN - 28 THEN - col0 + - col2 END AS col1, - col1 / + col1 FROM tab0 GROUP BY col1, col2 HAVING + col1 > col1 ---- query II rowsort SELECT - col0 AS col0, 54 AS col0 FROM tab2 GROUP BY col0, col0, col0 ---- | > | 32022 32023 32024 32025 32026 32027 32028 32029 32030 32031 32032 32033 32034 32035 32036 | SELECT col2 AS col2 FROM tab1 GROUP BY col2 HAVING NULL IS NOT NULL ---- query I rowsort SELECT 7 + - col1 FROM tab0 GROUP BY col1, col0, col2 HAVING NOT NULL BETWEEN + - COALESCE ( + - 37, - col1 - - + col1 ) AND col1 ---- skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query II rowsort SELECT DISTINCT col2 + + CASE + - 82 WHEN - 28 THEN - col0 + - col2 END AS col1, - col1 / + col1 FROM tab0 GROUP BY col1, col2 HAVING + col1 > col1 ---- query II rowsort SELECT - col0 AS col0, 54 AS col0 FROM tab2 GROUP BY col0, col0, col0 ---- |
︙ | ︙ | |||
32011 32012 32013 32014 32015 32016 32017 32018 32019 32020 32021 32022 32023 32024 | SELECT DISTINCT - ( + - col2 ) FROM tab2 cor0 GROUP BY col2, col0 HAVING NULL < + + col0 ---- query I rowsort SELECT col1 * + + col1 FROM tab2 cor0 GROUP BY col0, col1, col1 HAVING NOT + 56 > + 45 ---- query I rowsort SELECT ALL col1 AS col0 FROM tab0 AS cor0 WHERE NOT + 58 * + 43 IS NULL GROUP BY col1 HAVING NOT NULL NOT BETWEEN col0 AND NULL ---- onlyif mysql # CAST syntax: SIGNED type: query I rowsort label-4677 SELECT - col1 - + + CAST( NULL AS SIGNED ) AS col2 FROM tab1 AS cor0 GROUP BY col0, col1 HAVING ( - col0 * + + col0 + - col1 ) IS NOT NULL | > | 32099 32100 32101 32102 32103 32104 32105 32106 32107 32108 32109 32110 32111 32112 32113 | SELECT DISTINCT - ( + - col2 ) FROM tab2 cor0 GROUP BY col2, col0 HAVING NULL < + + col0 ---- query I rowsort SELECT col1 * + + col1 FROM tab2 cor0 GROUP BY col0, col1, col1 HAVING NOT + 56 > + 45 ---- skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT ALL col1 AS col0 FROM tab0 AS cor0 WHERE NOT + 58 * + 43 IS NULL GROUP BY col1 HAVING NOT NULL NOT BETWEEN col0 AND NULL ---- onlyif mysql # CAST syntax: SIGNED type: query I rowsort label-4677 SELECT - col1 - + + CAST( NULL AS SIGNED ) AS col2 FROM tab1 AS cor0 GROUP BY col0, col1 HAVING ( - col0 * + + col0 + - col1 ) IS NOT NULL |
︙ | ︙ | |||
32057 32058 32059 32060 32061 32062 32063 32064 32065 32066 32067 32068 32069 32070 | query I rowsort SELECT - 30 FROM tab1 GROUP BY col2, col1 ---- -30 -30 -30 query II rowsort SELECT ALL 13 col0, - col2 AS col0 FROM tab0 GROUP BY col2 ---- 13 -24 13 -38 | > | 32146 32147 32148 32149 32150 32151 32152 32153 32154 32155 32156 32157 32158 32159 32160 | query I rowsort SELECT - 30 FROM tab1 GROUP BY col2, col1 ---- -30 -30 -30 skipif postgresql # PostgreSQL requires AS when renaming output columns query II rowsort SELECT ALL 13 col0, - col2 AS col0 FROM tab0 GROUP BY col2 ---- 13 -24 13 -38 |
︙ | ︙ | |||
32163 32164 32165 32166 32167 32168 32169 32170 32171 32172 32173 32174 32175 32176 | onlyif mysql # CAST syntax: SIGNED type: query II rowsort label-4694 SELECT DISTINCT col0 - col1, col1 AS col2 FROM tab2 AS cor0 GROUP BY col1, col0 HAVING ( NULL ) <> + col2 - + CAST( NULL AS SIGNED ) ---- skipif mysql # not compatible query II rowsort label-4694 SELECT DISTINCT col0 - col1, col1 AS col2 FROM tab2 AS cor0 GROUP BY col1, col0 HAVING ( NULL ) <> + col2 - + CAST ( NULL AS INTEGER ) ---- query I rowsort SELECT - col2 * - + col2 * 85 FROM tab0 AS cor0 GROUP BY col2 HAVING NOT NULL IS NOT NULL ---- | > | 32253 32254 32255 32256 32257 32258 32259 32260 32261 32262 32263 32264 32265 32266 32267 | onlyif mysql # CAST syntax: SIGNED type: query II rowsort label-4694 SELECT DISTINCT col0 - col1, col1 AS col2 FROM tab2 AS cor0 GROUP BY col1, col0 HAVING ( NULL ) <> + col2 - + CAST( NULL AS SIGNED ) ---- skipif mysql # not compatible skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query II rowsort label-4694 SELECT DISTINCT col0 - col1, col1 AS col2 FROM tab2 AS cor0 GROUP BY col1, col0 HAVING ( NULL ) <> + col2 - + CAST ( NULL AS INTEGER ) ---- query I rowsort SELECT - col2 * - + col2 * 85 FROM tab0 AS cor0 GROUP BY col2 HAVING NOT NULL IS NOT NULL ---- |
︙ | ︙ | |||
32990 32991 32992 32993 32994 32995 32996 32997 32998 32999 33000 33001 33002 33003 | query I rowsort SELECT DISTINCT - + 78 + col1 col0 FROM tab2 cor0 GROUP BY col1, col2 ---- -17 -19 -37 query I rowsort SELECT + 85 * - + col2 + - - col2 + 54 + + 58 + - col2 * + col2 * - col2 / + - col2 AS col0 FROM tab2 cor0 GROUP BY col2 HAVING NOT 79 * - + col2 * - col0 >= NULL ---- query I rowsort SELECT ALL + 83 FROM tab0 GROUP BY col2, col0 ---- | > | 33081 33082 33083 33084 33085 33086 33087 33088 33089 33090 33091 33092 33093 33094 33095 | query I rowsort SELECT DISTINCT - + 78 + col1 col0 FROM tab2 cor0 GROUP BY col1, col2 ---- -17 -19 -37 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT + 85 * - + col2 + - - col2 + 54 + + 58 + - col2 * + col2 * - col2 / + - col2 AS col0 FROM tab2 cor0 GROUP BY col2 HAVING NOT 79 * - + col2 * - col0 >= NULL ---- query I rowsort SELECT ALL + 83 FROM tab0 GROUP BY col2, col0 ---- |
︙ | ︙ | |||
33364 33365 33366 33367 33368 33369 33370 33371 33372 33373 33374 33375 33376 33377 | onlyif mysql # CAST syntax: SIGNED type: query I rowsort label-4864 SELECT DISTINCT col2 AS col0 FROM tab0 GROUP BY col2 HAVING NOT NULL = ( col0 + 42 * - CAST( + 33 AS SIGNED ) ) ---- skipif mysql # not compatible query I rowsort label-4864 SELECT DISTINCT col2 AS col0 FROM tab0 GROUP BY col2 HAVING NOT NULL = ( col0 + 42 * - CAST ( + 33 AS INTEGER ) ) ---- query I rowsort SELECT ALL 15 AS col0 FROM tab2 GROUP BY col1 HAVING ( NULL ) IS NULL ---- | > | 33456 33457 33458 33459 33460 33461 33462 33463 33464 33465 33466 33467 33468 33469 33470 | onlyif mysql # CAST syntax: SIGNED type: query I rowsort label-4864 SELECT DISTINCT col2 AS col0 FROM tab0 GROUP BY col2 HAVING NOT NULL = ( col0 + 42 * - CAST( + 33 AS SIGNED ) ) ---- skipif mysql # not compatible skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort label-4864 SELECT DISTINCT col2 AS col0 FROM tab0 GROUP BY col2 HAVING NOT NULL = ( col0 + 42 * - CAST ( + 33 AS INTEGER ) ) ---- query I rowsort SELECT ALL 15 AS col0 FROM tab2 GROUP BY col1 HAVING ( NULL ) IS NULL ---- |
︙ | ︙ | |||
33512 33513 33514 33515 33516 33517 33518 33519 33520 33521 33522 33523 33524 33525 | SELECT + COALESCE ( + 85, col0 DIV + ( col2 ) ) FROM tab0 AS cor0 GROUP BY col0 ---- 85 85 85 skipif mysql # not compatible query I rowsort label-4887 SELECT + COALESCE ( + 85, col0 / + ( col2 ) ) FROM tab0 AS cor0 GROUP BY col0 ---- 85 85 85 | > | 33605 33606 33607 33608 33609 33610 33611 33612 33613 33614 33615 33616 33617 33618 33619 | SELECT + COALESCE ( + 85, col0 DIV + ( col2 ) ) FROM tab0 AS cor0 GROUP BY col0 ---- 85 85 85 skipif mysql # not compatible skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort label-4887 SELECT + COALESCE ( + 85, col0 / + ( col2 ) ) FROM tab0 AS cor0 GROUP BY col0 ---- 85 85 85 |
︙ | ︙ | |||
33574 33575 33576 33577 33578 33579 33580 33581 33582 33583 33584 33585 33586 33587 | SELECT DISTINCT + - AVG ( + - col0 ) AS col1 FROM tab0 AS cor0 GROUP BY col0 HAVING NULL IS NOT NULL ---- query I rowsort SELECT ALL col2 / + + ( - - 46 ) FROM tab0 cor0 WHERE NOT NULL IS NULL GROUP BY col2 ---- query II rowsort SELECT + + 80 * + col1 col2, ( - col1 ) FROM tab1 AS cor0 GROUP BY col2, col1 ---- 3520 -44 4560 -57 | > | 33668 33669 33670 33671 33672 33673 33674 33675 33676 33677 33678 33679 33680 33681 33682 | SELECT DISTINCT + - AVG ( + - col0 ) AS col1 FROM tab0 AS cor0 GROUP BY col0 HAVING NULL IS NOT NULL ---- query I rowsort SELECT ALL col2 / + + ( - - 46 ) FROM tab0 cor0 WHERE NOT NULL IS NULL GROUP BY col2 ---- skipif postgresql # PostgreSQL requires AS when renaming output columns query II rowsort SELECT + + 80 * + col1 col2, ( - col1 ) FROM tab1 AS cor0 GROUP BY col2, col1 ---- 3520 -44 4560 -57 |
︙ | ︙ | |||
33712 33713 33714 33715 33716 33717 33718 33719 33720 33721 33722 33723 33724 33725 | onlyif mysql # CAST syntax: SIGNED type: query I rowsort label-4915 SELECT DISTINCT + col1 AS col2 FROM tab1 GROUP BY col1 HAVING NOT NULL < - col2 * CAST( col2 AS SIGNED ) ---- skipif mysql # not compatible query I rowsort label-4915 SELECT DISTINCT + col1 AS col2 FROM tab1 GROUP BY col1 HAVING NOT NULL < - col2 * CAST ( col2 AS INTEGER ) ---- query I rowsort SELECT ALL col0 AS col2 FROM tab0 GROUP BY col0, col1 ---- | > | 33807 33808 33809 33810 33811 33812 33813 33814 33815 33816 33817 33818 33819 33820 33821 | onlyif mysql # CAST syntax: SIGNED type: query I rowsort label-4915 SELECT DISTINCT + col1 AS col2 FROM tab1 GROUP BY col1 HAVING NOT NULL < - col2 * CAST( col2 AS SIGNED ) ---- skipif mysql # not compatible skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort label-4915 SELECT DISTINCT + col1 AS col2 FROM tab1 GROUP BY col1 HAVING NOT NULL < - col2 * CAST ( col2 AS INTEGER ) ---- query I rowsort SELECT ALL col0 AS col2 FROM tab0 GROUP BY col0, col1 ---- |
︙ | ︙ | |||
33748 33749 33750 33751 33752 33753 33754 33755 33756 33757 33758 33759 33760 33761 | query I rowsort SELECT col1 + + 27 + + 19 * - col2 AS col0 FROM tab0 GROUP BY col1, col2 ---- -1474 -348 -695 query II rowsort SELECT col0 col0, col0 FROM tab0 GROUP BY col0, col0 ---- 26 26 43 43 | > | 33844 33845 33846 33847 33848 33849 33850 33851 33852 33853 33854 33855 33856 33857 33858 | query I rowsort SELECT col1 + + 27 + + 19 * - col2 AS col0 FROM tab0 GROUP BY col1, col2 ---- -1474 -348 -695 skipif postgresql # PostgreSQL requires AS when renaming output columns query II rowsort SELECT col0 col0, col0 FROM tab0 GROUP BY col0, col0 ---- 26 26 43 43 |
︙ | ︙ | |||
34088 34089 34090 34091 34092 34093 34094 34095 34096 34097 34098 34099 34100 34101 | query I rowsort SELECT + 14 FROM tab0 cor0 GROUP BY col0 ---- 14 14 14 query I rowsort SELECT col1 * + col1 * - col1 AS col0 FROM tab2 GROUP BY col1, col2 HAVING NOT NULL BETWEEN col0 AND - - NULLIF ( col0, col0 * - col2 / + col0 ) ---- query I rowsort SELECT ALL - 29 * - col1 - - col1 * + - 39 AS col1 FROM tab1 AS cor0 GROUP BY col1 ---- | > | 34185 34186 34187 34188 34189 34190 34191 34192 34193 34194 34195 34196 34197 34198 34199 | query I rowsort SELECT + 14 FROM tab0 cor0 GROUP BY col0 ---- 14 14 14 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT col1 * + col1 * - col1 AS col0 FROM tab2 GROUP BY col1, col2 HAVING NOT NULL BETWEEN col0 AND - - NULLIF ( col0, col0 * - col2 / + col0 ) ---- query I rowsort SELECT ALL - 29 * - col1 - - col1 * + - 39 AS col1 FROM tab1 AS cor0 GROUP BY col1 ---- |
︙ | ︙ | |||
34157 34158 34159 34160 34161 34162 34163 34164 34165 34166 34167 34168 34169 34170 | query I rowsort SELECT DISTINCT + 16 * + col2 FROM tab2 AS cor0 GROUP BY col2, col2 ---- 1264 1392 928 query II rowsort SELECT ALL + 6 col1, - 40 FROM tab2 GROUP BY col0 HAVING NULL NOT IN ( - col1 * col1 * - col1 - - + 84, 62 - + 15 * + col1 ) ---- query I rowsort SELECT DISTINCT - 98 AS col2 FROM tab0 AS cor0 GROUP BY col0 HAVING NULL IS NOT NULL ---- | > | 34255 34256 34257 34258 34259 34260 34261 34262 34263 34264 34265 34266 34267 34268 34269 | query I rowsort SELECT DISTINCT + 16 * + col2 FROM tab2 AS cor0 GROUP BY col2, col2 ---- 1264 1392 928 skipif postgresql # PostgreSQL requires AS when renaming output columns query II rowsort SELECT ALL + 6 col1, - 40 FROM tab2 GROUP BY col0 HAVING NULL NOT IN ( - col1 * col1 * - col1 - - + 84, 62 - + 15 * + col1 ) ---- query I rowsort SELECT DISTINCT - 98 AS col2 FROM tab0 AS cor0 GROUP BY col0 HAVING NULL IS NOT NULL ---- |
︙ | ︙ | |||
34463 34464 34465 34466 34467 34468 34469 34470 34471 34472 34473 34474 34475 34476 | query I rowsort SELECT + 52 AS col0 FROM tab1 GROUP BY col1 ---- 52 52 52 query II rowsort SELECT DISTINCT ( - + col1 ) AS col2, + 69 * col1 + - + AVG ( DISTINCT - col1 ) + + 17 AS col2 FROM tab0 GROUP BY col1 HAVING NOT 42 * - col2 = NULL ---- onlyif mysql # CAST syntax: SIGNED type: query II rowsort label-5024 SELECT - - col0 + CAST( - CAST( NULL AS SIGNED ) AS SIGNED ) AS col1, col0 AS col2 FROM tab1 AS cor0 GROUP BY col0 HAVING NOT NULL > - 21 | > | 34562 34563 34564 34565 34566 34567 34568 34569 34570 34571 34572 34573 34574 34575 34576 | query I rowsort SELECT + 52 AS col0 FROM tab1 GROUP BY col1 ---- 52 52 52 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query II rowsort SELECT DISTINCT ( - + col1 ) AS col2, + 69 * col1 + - + AVG ( DISTINCT - col1 ) + + 17 AS col2 FROM tab0 GROUP BY col1 HAVING NOT 42 * - col2 = NULL ---- onlyif mysql # CAST syntax: SIGNED type: query II rowsort label-5024 SELECT - - col0 + CAST( - CAST( NULL AS SIGNED ) AS SIGNED ) AS col1, col0 AS col2 FROM tab1 AS cor0 GROUP BY col0 HAVING NOT NULL > - 21 |
︙ | ︙ | |||
34749 34750 34751 34752 34753 34754 34755 34756 34757 34758 34759 34760 34761 34762 34763 34764 34765 34766 34767 34768 34769 34770 34771 34772 | query I rowsort label-5060 SELECT ALL - 84 + - + col2 + - col2 / - col2 col1 FROM tab0 AS cor0 GROUP BY col2, col2 HAVING NOT col2 IS NULL ---- -107 -121 -162 query II rowsort SELECT ALL col1 col0, col1 FROM tab2 GROUP BY col1 ---- 41 41 59 59 61 61 query II rowsort SELECT col1 col1, col1 FROM tab1 GROUP BY col1 ---- 44 44 57 57 | > > | 34849 34850 34851 34852 34853 34854 34855 34856 34857 34858 34859 34860 34861 34862 34863 34864 34865 34866 34867 34868 34869 34870 34871 34872 34873 34874 | query I rowsort label-5060 SELECT ALL - 84 + - + col2 + - col2 / - col2 col1 FROM tab0 AS cor0 GROUP BY col2, col2 HAVING NOT col2 IS NULL ---- -107 -121 -162 skipif postgresql # PostgreSQL requires AS when renaming output columns query II rowsort SELECT ALL col1 col0, col1 FROM tab2 GROUP BY col1 ---- 41 41 59 59 61 61 skipif postgresql # PostgreSQL requires AS when renaming output columns query II rowsort SELECT col1 col1, col1 FROM tab1 GROUP BY col1 ---- 44 44 57 57 |
︙ | ︙ | |||
34938 34939 34940 34941 34942 34943 34944 34945 34946 34947 34948 34949 34950 34951 | -1 query I rowsort SELECT DISTINCT - 22 AS col0 FROM tab1 WHERE NOT - ( + COALESCE ( - + 77, + - 49 ) ) + - ( + - 33 ) + col0 IN ( + 35 ) GROUP BY col1 ---- -22 query I rowsort SELECT + + col1 + col1 + COALESCE ( - + 65, + + ( col0 ) ) AS col2 FROM tab0 AS cor0 GROUP BY col1 HAVING NOT ( NOT ( + col1 ) IS NOT NULL ) ---- -65 97 query I rowsort | > | 35040 35041 35042 35043 35044 35045 35046 35047 35048 35049 35050 35051 35052 35053 35054 | -1 query I rowsort SELECT DISTINCT - 22 AS col0 FROM tab1 WHERE NOT - ( + COALESCE ( - + 77, + - 49 ) ) + - ( + - 33 ) + col0 IN ( + 35 ) GROUP BY col1 ---- -22 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT + + col1 + col1 + COALESCE ( - + 65, + + ( col0 ) ) AS col2 FROM tab0 AS cor0 GROUP BY col1 HAVING NOT ( NOT ( + col1 ) IS NOT NULL ) ---- -65 97 query I rowsort |
︙ | ︙ | |||
35741 35742 35743 35744 35745 35746 35747 35748 35749 35750 35751 35752 35753 35754 | SELECT ALL - col2 FROM tab0 AS cor0 WHERE NULL = NULL AND - 24 * - COALESCE ( + col1, COALESCE ( 61, 72 * ( + col0 * col0 ), 55 ) + - col1, + 46 ) < + col1 GROUP BY col2, col1 HAVING NULL NOT IN ( + 62 ) ---- query I rowsort SELECT ALL + - col0 AS col1 FROM tab0 AS cor0 WHERE col1 * + col2 IS NULL GROUP BY col0 ---- query I rowsort SELECT - - col1 - CASE ( + - col1 ) WHEN + - 2 THEN + 56 END col0 FROM tab2 cor0 GROUP BY col1 ---- NULL NULL NULL | > | 35844 35845 35846 35847 35848 35849 35850 35851 35852 35853 35854 35855 35856 35857 35858 | SELECT ALL - col2 FROM tab0 AS cor0 WHERE NULL = NULL AND - 24 * - COALESCE ( + col1, COALESCE ( 61, 72 * ( + col0 * col0 ), 55 ) + - col1, + 46 ) < + col1 GROUP BY col2, col1 HAVING NULL NOT IN ( + 62 ) ---- query I rowsort SELECT ALL + - col0 AS col1 FROM tab0 AS cor0 WHERE col1 * + col2 IS NULL GROUP BY col0 ---- skipif postgresql # PostgreSQL requires AS when renaming output columns query I rowsort SELECT - - col1 - CASE ( + - col1 ) WHEN + - 2 THEN + 56 END col0 FROM tab2 cor0 GROUP BY col1 ---- NULL NULL NULL |
︙ | ︙ | |||
35817 35818 35819 35820 35821 35822 35823 35824 35825 35826 35827 35828 35829 35830 | query I rowsort label-5208 SELECT ALL - col1 * col1 + 29 + - - col1 / + - col1 AS col1 FROM tab2 AS cor0 GROUP BY col1 ---- -1653 -3453 -3693 query III rowsort SELECT col2 / - col2 + col2 * - col2 AS col1, 67 col1, 24 AS col1 FROM tab1 AS cor0 GROUP BY col2 ---- 9 values hashing to 442b706f32baefbb061d0cc9d3a2d7a7 query I rowsort SELECT - col1 FROM tab0 AS cor0 WHERE NOT NULL IS NULL GROUP BY col1 | > | 35921 35922 35923 35924 35925 35926 35927 35928 35929 35930 35931 35932 35933 35934 35935 | query I rowsort label-5208 SELECT ALL - col1 * col1 + 29 + - - col1 / + - col1 AS col1 FROM tab2 AS cor0 GROUP BY col1 ---- -1653 -3453 -3693 skipif postgresql # PostgreSQL requires AS when renaming output columns query III rowsort SELECT col2 / - col2 + col2 * - col2 AS col1, 67 col1, 24 AS col1 FROM tab1 AS cor0 GROUP BY col2 ---- 9 values hashing to 442b706f32baefbb061d0cc9d3a2d7a7 query I rowsort SELECT - col1 FROM tab0 AS cor0 WHERE NOT NULL IS NULL GROUP BY col1 |
︙ | ︙ | |||
36403 36404 36405 36406 36407 36408 36409 36410 36411 36412 36413 36414 36415 36416 | onlyif mysql # CAST syntax: SIGNED type: query II rowsort label-5293 SELECT 59 col0, + CAST( - col0 AS SIGNED ) AS col0 FROM tab1 GROUP BY col0 HAVING NOT NULL IS NULL ---- skipif mysql # not compatible query II rowsort label-5293 SELECT 59 col0, + CAST ( - col0 AS INTEGER ) AS col0 FROM tab1 GROUP BY col0 HAVING NOT NULL IS NULL ---- query I rowsort SELECT DISTINCT + col0 + col2 FROM tab1 GROUP BY col2, col0 HAVING NOT + + col2 BETWEEN NULL AND col0 ---- | > | 36508 36509 36510 36511 36512 36513 36514 36515 36516 36517 36518 36519 36520 36521 36522 | onlyif mysql # CAST syntax: SIGNED type: query II rowsort label-5293 SELECT 59 col0, + CAST( - col0 AS SIGNED ) AS col0 FROM tab1 GROUP BY col0 HAVING NOT NULL IS NULL ---- skipif mysql # not compatible skipif postgresql # PostgreSQL requires AS when renaming output columns query II rowsort label-5293 SELECT 59 col0, + CAST ( - col0 AS INTEGER ) AS col0 FROM tab1 GROUP BY col0 HAVING NOT NULL IS NULL ---- query I rowsort SELECT DISTINCT + col0 + col2 FROM tab1 GROUP BY col2, col0 HAVING NOT + + col2 BETWEEN NULL AND col0 ---- |
︙ | ︙ | |||
36495 36496 36497 36498 36499 36500 36501 36502 36503 36504 36505 36506 36507 36508 | ---- skipif mysql # not compatible query II rowsort label-5304 SELECT - col0 / - 47 + - + col0 AS col0, col0 AS col1 FROM tab2 AS cor0 WHERE NOT - CAST ( NULL AS INTEGER ) IS NULL GROUP BY col0 HAVING NULL > - 30 + - CAST ( NULL AS INTEGER ) ---- query II rowsort SELECT DISTINCT - 1, 9 AS col0 FROM tab0 cor0 GROUP BY col2 HAVING NOT - 76 = - ( col2 ) + COALESCE ( + + 86, + + col0 ) ---- -1 9 query I rowsort | > | 36601 36602 36603 36604 36605 36606 36607 36608 36609 36610 36611 36612 36613 36614 36615 | ---- skipif mysql # not compatible query II rowsort label-5304 SELECT - col0 / - 47 + - + col0 AS col0, col0 AS col1 FROM tab2 AS cor0 WHERE NOT - CAST ( NULL AS INTEGER ) IS NULL GROUP BY col0 HAVING NULL > - 30 + - CAST ( NULL AS INTEGER ) ---- skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query II rowsort SELECT DISTINCT - 1, 9 AS col0 FROM tab0 cor0 GROUP BY col2 HAVING NOT - 76 = - ( col2 ) + COALESCE ( + + 86, + + col0 ) ---- -1 9 query I rowsort |
︙ | ︙ | |||
36599 36600 36601 36602 36603 36604 36605 36606 36607 36608 36609 36610 36611 36612 | SELECT - + col1 * + col1 * + NULLIF ( - CAST( NULL AS SIGNED ), + - 27 * + + NULLIF ( - col0, col1 * 9 ) ) + - + 78 + col1 + - + col1 * 26 / col1 / + AVG ( ALL + 6 ) FROM tab1 AS cor0 GROUP BY col1 ---- NULL NULL NULL skipif mysql # not compatible query I rowsort label-5317 SELECT - + col1 * + col1 * + NULLIF ( - CAST ( NULL AS INTEGER ), + - 27 * + + NULLIF ( - col0, col1 * 9 ) ) + - + 78 + col1 + - + col1 * 26 / col1 / + AVG ( ALL + 6 ) FROM tab1 AS cor0 GROUP BY col1 ---- NULL NULL NULL | > | 36706 36707 36708 36709 36710 36711 36712 36713 36714 36715 36716 36717 36718 36719 36720 | SELECT - + col1 * + col1 * + NULLIF ( - CAST( NULL AS SIGNED ), + - 27 * + + NULLIF ( - col0, col1 * 9 ) ) + - + 78 + col1 + - + col1 * 26 / col1 / + AVG ( ALL + 6 ) FROM tab1 AS cor0 GROUP BY col1 ---- NULL NULL NULL skipif mysql # not compatible skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort label-5317 SELECT - + col1 * + col1 * + NULLIF ( - CAST ( NULL AS INTEGER ), + - 27 * + + NULLIF ( - col0, col1 * 9 ) ) + - + 78 + col1 + - + col1 * 26 / col1 / + AVG ( ALL + 6 ) FROM tab1 AS cor0 GROUP BY col1 ---- NULL NULL NULL |
︙ | ︙ | |||
37562 37563 37564 37565 37566 37567 37568 37569 37570 37571 37572 37573 37574 37575 | query I rowsort SELECT DISTINCT col0 - col0 * - 65 FROM tab0 AS cor0 GROUP BY col0 ---- 1716 2838 5478 query II rowsort SELECT ALL - - 46 col0, - col0 FROM tab0 AS cor0 GROUP BY col0 HAVING NOT ( col0 ) IS NOT NULL ---- query I rowsort SELECT col2 + + col0 FROM tab1 AS cor0 GROUP BY col0, col2 ---- | > | 37670 37671 37672 37673 37674 37675 37676 37677 37678 37679 37680 37681 37682 37683 37684 | query I rowsort SELECT DISTINCT col0 - col0 * - 65 FROM tab0 AS cor0 GROUP BY col0 ---- 1716 2838 5478 skipif postgresql # PostgreSQL requires AS when renaming output columns query II rowsort SELECT ALL - - 46 col0, - col0 FROM tab0 AS cor0 GROUP BY col0 HAVING NOT ( col0 ) IS NOT NULL ---- query I rowsort SELECT col2 + + col0 FROM tab1 AS cor0 GROUP BY col0, col2 ---- |
︙ | ︙ | |||
37927 37928 37929 37930 37931 37932 37933 37934 37935 37936 37937 37938 37939 37940 | query I rowsort SELECT DISTINCT + col0 * + 56 FROM tab2 AS cor0 GROUP BY col0, col2 ---- 5096 5152 840 query I rowsort SELECT ALL + col2 AS col0 FROM tab2 GROUP BY col2 HAVING - + col0 > NULL ---- onlyif mysql # DIV for integer division: query II rowsort label-5508 SELECT col0 DIV - 46 AS col1, col0 + - - col0 AS col0 FROM tab2 GROUP BY col0 HAVING NOT 33 IS NULL | > | 38036 38037 38038 38039 38040 38041 38042 38043 38044 38045 38046 38047 38048 38049 38050 | query I rowsort SELECT DISTINCT + col0 * + 56 FROM tab2 AS cor0 GROUP BY col0, col2 ---- 5096 5152 840 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT ALL + col2 AS col0 FROM tab2 GROUP BY col2 HAVING - + col0 > NULL ---- onlyif mysql # DIV for integer division: query II rowsort label-5508 SELECT col0 DIV - 46 AS col1, col0 + - - col0 AS col0 FROM tab2 GROUP BY col0 HAVING NOT 33 IS NULL |
︙ | ︙ | |||
38334 38335 38336 38337 38338 38339 38340 38341 38342 38343 38344 38345 38346 38347 | ---- 3 query I rowsort SELECT + 46 FROM tab2 AS cor0 WHERE - col1 IS NULL GROUP BY col0, col2 HAVING NOT NULL > + 4 ---- query II rowsort SELECT DISTINCT - - 2 * - + col2 col0, ( - col1 ) + col2 AS col2 FROM tab1 AS cor0 GROUP BY col2, col1 HAVING NULL <= + col2 ---- query I rowsort SELECT - - col1 FROM tab2 AS cor0 GROUP BY col1, col1 HAVING NOT - 93 NOT BETWEEN - col1 / - 99 AND NULL ---- | > | 38444 38445 38446 38447 38448 38449 38450 38451 38452 38453 38454 38455 38456 38457 38458 | ---- 3 query I rowsort SELECT + 46 FROM tab2 AS cor0 WHERE - col1 IS NULL GROUP BY col0, col2 HAVING NOT NULL > + 4 ---- skipif postgresql # PostgreSQL requires AS when renaming output columns query II rowsort SELECT DISTINCT - - 2 * - + col2 col0, ( - col1 ) + col2 AS col2 FROM tab1 AS cor0 GROUP BY col2, col1 HAVING NULL <= + col2 ---- query I rowsort SELECT - - col1 FROM tab2 AS cor0 GROUP BY col1, col1 HAVING NOT - 93 NOT BETWEEN - col1 / - 99 AND NULL ---- |
︙ | ︙ | |||
38361 38362 38363 38364 38365 38366 38367 38368 38369 38370 38371 38372 38373 38374 | query I rowsort SELECT 76 FROM tab2 GROUP BY col2 ---- 76 76 76 query II rowsort SELECT ALL col1 / + 8 col1, col1 AS col0 FROM tab2 GROUP BY col1, col1 HAVING NOT ( NULL ) <> col0 ---- query II rowsort SELECT ALL col2 * col1 + + - col2 AS col1, + 71 / - col1 * - COALESCE ( + col2, + col1 + - col1 ) AS col2 FROM tab1 GROUP BY col1, col2 HAVING NULL <= 4 ---- | > | 38472 38473 38474 38475 38476 38477 38478 38479 38480 38481 38482 38483 38484 38485 38486 | query I rowsort SELECT 76 FROM tab2 GROUP BY col2 ---- 76 76 76 skipif postgresql # PostgreSQL requires AS when renaming output columns query II rowsort SELECT ALL col1 / + 8 col1, col1 AS col0 FROM tab2 GROUP BY col1, col1 HAVING NOT ( NULL ) <> col0 ---- query II rowsort SELECT ALL col2 * col1 + + - col2 AS col1, + 71 / - col1 * - COALESCE ( + col2, + col1 + - col1 ) AS col2 FROM tab1 GROUP BY col1, col2 HAVING NULL <= 4 ---- |
︙ | ︙ | |||
38854 38855 38856 38857 38858 38859 38860 38861 38862 38863 38864 38865 38866 38867 | -118 -98 query I rowsort SELECT + col0 AS col1 FROM tab2 AS cor0 GROUP BY col1, col0 HAVING NOT - 52 NOT BETWEEN NULL AND - col0 ---- query III rowsort SELECT DISTINCT 20 + - col2 AS col0, + col2 col0, - 95 AS col0 FROM tab2 AS cor0 GROUP BY col2 ---- 9 values hashing to 44912f0b8cb9b18845e83ac435de9c5f onlyif mysql # CAST syntax: SIGNED type: query I rowsort label-5636 | > | 38966 38967 38968 38969 38970 38971 38972 38973 38974 38975 38976 38977 38978 38979 38980 | -118 -98 query I rowsort SELECT + col0 AS col1 FROM tab2 AS cor0 GROUP BY col1, col0 HAVING NOT - 52 NOT BETWEEN NULL AND - col0 ---- skipif postgresql # PostgreSQL requires AS when renaming output columns query III rowsort SELECT DISTINCT 20 + - col2 AS col0, + col2 col0, - 95 AS col0 FROM tab2 AS cor0 GROUP BY col2 ---- 9 values hashing to 44912f0b8cb9b18845e83ac435de9c5f onlyif mysql # CAST syntax: SIGNED type: query I rowsort label-5636 |
︙ | ︙ | |||
39082 39083 39084 39085 39086 39087 39088 39089 39090 39091 39092 39093 39094 39095 | onlyif mysql # CAST syntax: SIGNED type: query I rowsort label-5669 SELECT ALL CAST( 59 AS SIGNED ) AS col1 FROM tab1 GROUP BY col0 HAVING NOT NULL BETWEEN col1 * - 34 AND NULL ---- skipif mysql # not compatible query I rowsort label-5669 SELECT ALL CAST ( 59 AS INTEGER ) AS col1 FROM tab1 GROUP BY col0 HAVING NOT NULL BETWEEN col1 * - 34 AND NULL ---- onlyif mysql # CAST syntax: SIGNED type: query II rowsort label-5670 SELECT ALL + 68 * - CAST( NULL AS SIGNED ) / + col2 * - + col2 AS col0, col2 * + col2 - 2 FROM tab0 GROUP BY col2 HAVING NOT ( NULL ) IS NOT NULL | > | 39195 39196 39197 39198 39199 39200 39201 39202 39203 39204 39205 39206 39207 39208 39209 | onlyif mysql # CAST syntax: SIGNED type: query I rowsort label-5669 SELECT ALL CAST( 59 AS SIGNED ) AS col1 FROM tab1 GROUP BY col0 HAVING NOT NULL BETWEEN col1 * - 34 AND NULL ---- skipif mysql # not compatible skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort label-5669 SELECT ALL CAST ( 59 AS INTEGER ) AS col1 FROM tab1 GROUP BY col0 HAVING NOT NULL BETWEEN col1 * - 34 AND NULL ---- onlyif mysql # CAST syntax: SIGNED type: query II rowsort label-5670 SELECT ALL + 68 * - CAST( NULL AS SIGNED ) / + col2 * - + col2 AS col0, col2 * + col2 - 2 FROM tab0 GROUP BY col2 HAVING NOT ( NULL ) IS NOT NULL |
︙ | ︙ | |||
39377 39378 39379 39380 39381 39382 39383 39384 39385 39386 39387 39388 39389 39390 | SELECT + 34 + - col0 + COALESCE ( 7, 29 * col0, + col0 * + CAST( 29 * + col2 AS SIGNED ) ) * col1 AS col2 FROM tab0 AS cor0 GROUP BY col1, col0 ---- -49 558 8 skipif mysql # not compatible query I rowsort label-5709 SELECT + 34 + - col0 + COALESCE ( 7, 29 * col0, + col0 * + CAST ( 29 * + col2 AS INTEGER ) ) * col1 AS col2 FROM tab0 AS cor0 GROUP BY col1, col0 ---- -49 558 8 | > | 39491 39492 39493 39494 39495 39496 39497 39498 39499 39500 39501 39502 39503 39504 39505 | SELECT + 34 + - col0 + COALESCE ( 7, 29 * col0, + col0 * + CAST( 29 * + col2 AS SIGNED ) ) * col1 AS col2 FROM tab0 AS cor0 GROUP BY col1, col0 ---- -49 558 8 skipif mysql # not compatible skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort label-5709 SELECT + 34 + - col0 + COALESCE ( 7, 29 * col0, + col0 * + CAST ( 29 * + col2 AS INTEGER ) ) * col1 AS col2 FROM tab0 AS cor0 GROUP BY col1, col0 ---- -49 558 8 |
︙ | ︙ | |||
39411 39412 39413 39414 39415 39416 39417 39418 39419 39420 39421 39422 39423 39424 | query I rowsort SELECT + col1 col2 FROM tab2 WHERE NOT 21 IS NULL GROUP BY col0, col1 HAVING - col0 IS NOT NULL ---- 41 59 61 query II rowsort SELECT - col1 + + 77, col1 * + - 34 AS col2 FROM tab2 GROUP BY col1 HAVING col2 BETWEEN ( NULL ) AND ( NULL ) ---- query I rowsort SELECT DISTINCT 2 AS col0 FROM tab0 GROUP BY col1 ---- | > | 39526 39527 39528 39529 39530 39531 39532 39533 39534 39535 39536 39537 39538 39539 39540 | query I rowsort SELECT + col1 col2 FROM tab2 WHERE NOT 21 IS NULL GROUP BY col0, col1 HAVING - col0 IS NOT NULL ---- 41 59 61 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query II rowsort SELECT - col1 + + 77, col1 * + - 34 AS col2 FROM tab2 GROUP BY col1 HAVING col2 BETWEEN ( NULL ) AND ( NULL ) ---- query I rowsort SELECT DISTINCT 2 AS col0 FROM tab0 GROUP BY col1 ---- |
︙ | ︙ | |||
39475 39476 39477 39478 39479 39480 39481 39482 39483 39484 39485 39486 39487 39488 | onlyif mysql # CAST syntax: DECIMAL type: query I rowsort label-5719 SELECT ALL + col2 * 94 - + 68 + - + col2 * col2 + - + CASE - 2 WHEN - CAST( + 60 AS DECIMAL ) THEN + 38 END AS col1 FROM tab1 cor0 GROUP BY col2 HAVING NULL <= + + col1 ---- skipif mysql # not compatible query I rowsort label-5719 SELECT ALL + col2 * 94 - + 68 + - + col2 * col2 + - + CASE - 2 WHEN - CAST ( + 60 AS REAL ) THEN + 38 END AS col1 FROM tab1 cor0 GROUP BY col2 HAVING NULL <= + + col1 ---- skipif postgresql # PostgreSQL requires AS when renaming output columns query I rowsort SELECT ALL + + col0 * + - ( + 30 ) col2 FROM tab2 AS cor0 GROUP BY col2, col0 HAVING NOT NULL IS NULL | > | 39591 39592 39593 39594 39595 39596 39597 39598 39599 39600 39601 39602 39603 39604 39605 | onlyif mysql # CAST syntax: DECIMAL type: query I rowsort label-5719 SELECT ALL + col2 * 94 - + 68 + - + col2 * col2 + - + CASE - 2 WHEN - CAST( + 60 AS DECIMAL ) THEN + 38 END AS col1 FROM tab1 cor0 GROUP BY col2 HAVING NULL <= + + col1 ---- skipif mysql # not compatible skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort label-5719 SELECT ALL + col2 * 94 - + 68 + - + col2 * col2 + - + CASE - 2 WHEN - CAST ( + 60 AS REAL ) THEN + 38 END AS col1 FROM tab1 cor0 GROUP BY col2 HAVING NULL <= + + col1 ---- skipif postgresql # PostgreSQL requires AS when renaming output columns query I rowsort SELECT ALL + + col0 * + - ( + 30 ) col2 FROM tab2 AS cor0 GROUP BY col2, col0 HAVING NOT NULL IS NULL |
︙ | ︙ | |||
39687 39688 39689 39690 39691 39692 39693 39694 39695 39696 39697 39698 39699 39700 | query I rowsort SELECT ALL - ( + + col1 ) FROM tab1 GROUP BY col1 ---- -44 -57 -6 query II rowsort SELECT 47 + - + col2 col2, 17 FROM tab0 GROUP BY col2 HAVING NOT col2 >= AVG ( - 86 ) ---- onlyif mysql # CAST syntax: SIGNED type: query I rowsort label-5751 SELECT - col0 * + - col0 AS col2 FROM tab2 AS cor0 WHERE - col0 IN ( - col1, - col0, + col2, + - 36 * + 54 * + CAST( - col0 AS SIGNED ), - col2 + - ( - col1 ), col1 ) GROUP BY col2, col0 | > | 39804 39805 39806 39807 39808 39809 39810 39811 39812 39813 39814 39815 39816 39817 39818 | query I rowsort SELECT ALL - ( + + col1 ) FROM tab1 GROUP BY col1 ---- -44 -57 -6 skipif postgresql # PostgreSQL requires AS when renaming output columns query II rowsort SELECT 47 + - + col2 col2, 17 FROM tab0 GROUP BY col2 HAVING NOT col2 >= AVG ( - 86 ) ---- onlyif mysql # CAST syntax: SIGNED type: query I rowsort label-5751 SELECT - col0 * + - col0 AS col2 FROM tab2 AS cor0 WHERE - col0 IN ( - col1, - col0, + col2, + - 36 * + 54 * + CAST( - col0 AS SIGNED ), - col2 + - ( - col1 ), col1 ) GROUP BY col2, col0 |
︙ | ︙ | |||
39952 39953 39954 39955 39956 39957 39958 39959 39960 39961 39962 39963 39964 39965 | onlyif mysql # CAST syntax: SIGNED type: query I rowsort label-5790 SELECT DISTINCT col1 AS col0 FROM tab0 GROUP BY col1 HAVING NOT ( col0 * + CAST( 14 / + col0 AS SIGNED ) > NULL ) ---- skipif mysql # not compatible query I rowsort label-5790 SELECT DISTINCT col1 AS col0 FROM tab0 GROUP BY col1 HAVING NOT ( col0 * + CAST ( 14 / + col0 AS INTEGER ) > NULL ) ---- onlyif mysql # CAST syntax: DECIMAL type: query I rowsort label-5791 SELECT - CAST( NULL AS DECIMAL ) FROM tab2 GROUP BY col1, col1 | > | 40070 40071 40072 40073 40074 40075 40076 40077 40078 40079 40080 40081 40082 40083 40084 | onlyif mysql # CAST syntax: SIGNED type: query I rowsort label-5790 SELECT DISTINCT col1 AS col0 FROM tab0 GROUP BY col1 HAVING NOT ( col0 * + CAST( 14 / + col0 AS SIGNED ) > NULL ) ---- skipif mysql # not compatible skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort label-5790 SELECT DISTINCT col1 AS col0 FROM tab0 GROUP BY col1 HAVING NOT ( col0 * + CAST ( 14 / + col0 AS INTEGER ) > NULL ) ---- onlyif mysql # CAST syntax: DECIMAL type: query I rowsort label-5791 SELECT - CAST( NULL AS DECIMAL ) FROM tab2 GROUP BY col1, col1 |
︙ | ︙ | |||
40152 40153 40154 40155 40156 40157 40158 40159 40160 40161 40162 40163 40164 40165 | SELECT 12 AS col2 FROM tab0 GROUP BY col0, col1, col2 HAVING NOT ( NULL IS NULL ) ---- query I rowsort SELECT + 11 * + - col0 * - col0 / - 97 FROM tab2 cor0 WHERE col2 IS NULL GROUP BY col0 ---- query II rowsort SELECT DISTINCT + col1 * 84 + ( + - 68 ) col1, col2 AS col1 FROM tab2 AS cor0 GROUP BY col2, col1 HAVING ( NULL ) IS NOT NULL ---- query I rowsort SELECT + 0 FROM tab0 AS cor0 GROUP BY col2 ---- | > | 40271 40272 40273 40274 40275 40276 40277 40278 40279 40280 40281 40282 40283 40284 40285 | SELECT 12 AS col2 FROM tab0 GROUP BY col0, col1, col2 HAVING NOT ( NULL IS NULL ) ---- query I rowsort SELECT + 11 * + - col0 * - col0 / - 97 FROM tab2 cor0 WHERE col2 IS NULL GROUP BY col0 ---- skipif postgresql # PostgreSQL requires AS when renaming output columns query II rowsort SELECT DISTINCT + col1 * 84 + ( + - 68 ) col1, col2 AS col1 FROM tab2 AS cor0 GROUP BY col2, col1 HAVING ( NULL ) IS NOT NULL ---- query I rowsort SELECT + 0 FROM tab0 AS cor0 GROUP BY col2 ---- |
︙ | ︙ | |||
40681 40682 40683 40684 40685 40686 40687 40688 40689 40690 40691 40692 40693 40694 | query I rowsort SELECT ALL col0 + 9 FROM tab1 AS cor0 GROUP BY col0 ---- 31 37 91 query II rowsort SELECT 59 col0, - col2 AS col0 FROM tab1 GROUP BY col2 ---- 59 -45 59 -71 | > | 40801 40802 40803 40804 40805 40806 40807 40808 40809 40810 40811 40812 40813 40814 40815 | query I rowsort SELECT ALL col0 + 9 FROM tab1 AS cor0 GROUP BY col0 ---- 31 37 91 skipif postgresql # PostgreSQL requires AS when renaming output columns query II rowsort SELECT 59 col0, - col2 AS col0 FROM tab1 GROUP BY col2 ---- 59 -45 59 -71 |
︙ | ︙ | |||
40894 40895 40896 40897 40898 40899 40900 40901 40902 40903 40904 40905 40906 40907 | query I rowsort SELECT + col0 * 79 AS col0 FROM tab1 AS cor0 GROUP BY col0, col0 ---- 1738 2212 6478 query I rowsort SELECT DISTINCT col2 * + col2 AS col0 FROM tab2 AS cor0 GROUP BY col2, col2 HAVING NULL >= ( col2 + - 30 * col0 ) ---- onlyif mysql # CAST syntax: SIGNED type: query I rowsort label-5924 SELECT DISTINCT col1 - col1 FROM tab1 AS cor0 GROUP BY col1 HAVING NOT - CAST( NULL AS SIGNED ) / - col1 + + col1 <> NULL | > | 41015 41016 41017 41018 41019 41020 41021 41022 41023 41024 41025 41026 41027 41028 41029 | query I rowsort SELECT + col0 * 79 AS col0 FROM tab1 AS cor0 GROUP BY col0, col0 ---- 1738 2212 6478 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT DISTINCT col2 * + col2 AS col0 FROM tab2 AS cor0 GROUP BY col2, col2 HAVING NULL >= ( col2 + - 30 * col0 ) ---- onlyif mysql # CAST syntax: SIGNED type: query I rowsort label-5924 SELECT DISTINCT col1 - col1 FROM tab1 AS cor0 GROUP BY col1 HAVING NOT - CAST( NULL AS SIGNED ) / - col1 + + col1 <> NULL |
︙ | ︙ | |||
41931 41932 41933 41934 41935 41936 41937 41938 41939 41940 41941 41942 41943 41944 | query I rowsort SELECT 48 FROM tab1 GROUP BY col2 ---- 48 48 48 query I rowsort SELECT ( col2 ) AS col1 FROM tab1 GROUP BY col2 HAVING NOT NULL <> + 14 / - col2 * 34 + 1 + - col1 / col1 * col2 ---- query I rowsort SELECT ALL 86 FROM tab0 GROUP BY col0 HAVING NULL IS NULL ---- | > | 42053 42054 42055 42056 42057 42058 42059 42060 42061 42062 42063 42064 42065 42066 42067 | query I rowsort SELECT 48 FROM tab1 GROUP BY col2 ---- 48 48 48 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT ( col2 ) AS col1 FROM tab1 GROUP BY col2 HAVING NOT NULL <> + 14 / - col2 * 34 + 1 + - col1 / col1 * col2 ---- query I rowsort SELECT ALL 86 FROM tab0 GROUP BY col0 HAVING NULL IS NULL ---- |
︙ | ︙ | |||
42143 42144 42145 42146 42147 42148 42149 42150 42151 42152 42153 42154 42155 42156 42157 42158 42159 42160 42161 42162 42163 42164 42165 42166 42167 42168 42169 42170 | query I rowsort SELECT DISTINCT - col0 AS col2 FROM tab1 GROUP BY col1, col0 ---- -22 -28 -82 query I rowsort SELECT 71 AS col1 FROM tab2 GROUP BY col2 HAVING NOT NULL NOT BETWEEN NULL AND - col1 / + col2 ---- onlyif mysql # CAST syntax: SIGNED type: query I rowsort label-6089 SELECT DISTINCT + CAST( NULL AS SIGNED ) AS col0 FROM tab0 AS cor0 WHERE - 29 IS NULL GROUP BY col0, col2 HAVING + col2 IS NULL ---- skipif mysql # not compatible query I rowsort label-6089 SELECT DISTINCT + CAST ( NULL AS INTEGER ) AS col0 FROM tab0 AS cor0 WHERE - 29 IS NULL GROUP BY col0, col2 HAVING + col2 IS NULL ---- query I rowsort SELECT ALL + COALESCE ( 47, col2 ) FROM tab0 AS cor0 GROUP BY col0, col0 ---- 47 47 47 | > > | 42266 42267 42268 42269 42270 42271 42272 42273 42274 42275 42276 42277 42278 42279 42280 42281 42282 42283 42284 42285 42286 42287 42288 42289 42290 42291 42292 42293 42294 42295 | query I rowsort SELECT DISTINCT - col0 AS col2 FROM tab1 GROUP BY col1, col0 ---- -22 -28 -82 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT 71 AS col1 FROM tab2 GROUP BY col2 HAVING NOT NULL NOT BETWEEN NULL AND - col1 / + col2 ---- onlyif mysql # CAST syntax: SIGNED type: query I rowsort label-6089 SELECT DISTINCT + CAST( NULL AS SIGNED ) AS col0 FROM tab0 AS cor0 WHERE - 29 IS NULL GROUP BY col0, col2 HAVING + col2 IS NULL ---- skipif mysql # not compatible query I rowsort label-6089 SELECT DISTINCT + CAST ( NULL AS INTEGER ) AS col0 FROM tab0 AS cor0 WHERE - 29 IS NULL GROUP BY col0, col2 HAVING + col2 IS NULL ---- skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT ALL + COALESCE ( 47, col2 ) FROM tab0 AS cor0 GROUP BY col0, col0 ---- 47 47 47 |
︙ | ︙ | |||
42330 42331 42332 42333 42334 42335 42336 42337 42338 42339 42340 42341 42342 42343 | 49 49 query I rowsort SELECT col0 AS col1 FROM tab0 AS cor0 GROUP BY col0 HAVING NOT + col0 <> + - col0 - + + col0 ---- query II rowsort SELECT - ( - 68 ) col2, col2 * - 47 FROM tab2 cor0 GROUP BY col2 HAVING NOT NULL IS NULL ---- query I rowsort SELECT DISTINCT + col1 AS col2 FROM tab1 WHERE NULL BETWEEN + + col2 AND NULL GROUP BY col1 ---- | > | 42455 42456 42457 42458 42459 42460 42461 42462 42463 42464 42465 42466 42467 42468 42469 | 49 49 query I rowsort SELECT col0 AS col1 FROM tab0 AS cor0 GROUP BY col0 HAVING NOT + col0 <> + - col0 - + + col0 ---- skipif postgresql # PostgreSQL requires AS when renaming output columns query II rowsort SELECT - ( - 68 ) col2, col2 * - 47 FROM tab2 cor0 GROUP BY col2 HAVING NOT NULL IS NULL ---- query I rowsort SELECT DISTINCT + col1 AS col2 FROM tab1 WHERE NULL BETWEEN + + col2 AND NULL GROUP BY col1 ---- |
︙ | ︙ | |||
42354 42355 42356 42357 42358 42359 42360 42361 42362 42363 42364 42365 42366 42367 | query I rowsort label-6116 SELECT - + 76 / col2 AS col1 FROM tab1 AS cor0 GROUP BY col2 ---- -1 -1 -9 query II rowsort SELECT + - col1 col0, + col1 * col1 FROM tab0 WHERE - + 42 NOT BETWEEN + ( + + col0 ) AND + col0 GROUP BY col1 HAVING NOT NULL IS NOT NULL ---- -81 6561 0 0 | > | 42480 42481 42482 42483 42484 42485 42486 42487 42488 42489 42490 42491 42492 42493 42494 | query I rowsort label-6116 SELECT - + 76 / col2 AS col1 FROM tab1 AS cor0 GROUP BY col2 ---- -1 -1 -9 skipif postgresql # PostgreSQL requires AS when renaming output columns query II rowsort SELECT + - col1 col0, + col1 * col1 FROM tab0 WHERE - + 42 NOT BETWEEN + ( + + col0 ) AND + col0 GROUP BY col1 HAVING NOT NULL IS NOT NULL ---- -81 6561 0 0 |
︙ | ︙ | |||
42536 42537 42538 42539 42540 42541 42542 42543 42544 42545 42546 42547 42548 42549 | -12 -88 query I rowsort SELECT - 86 AS col0 FROM tab1 AS cor0 WHERE NOT NULL BETWEEN - 11 + 20 AND - + col2 GROUP BY col2 ---- query II rowsort SELECT DISTINCT col0 col2, - col0 AS col1 FROM tab2 AS cor0 GROUP BY col0 ---- 15 -15 91 -91 | > | 42663 42664 42665 42666 42667 42668 42669 42670 42671 42672 42673 42674 42675 42676 42677 | -12 -88 query I rowsort SELECT - 86 AS col0 FROM tab1 AS cor0 WHERE NOT NULL BETWEEN - 11 + 20 AND - + col2 GROUP BY col2 ---- skipif postgresql # PostgreSQL requires AS when renaming output columns query II rowsort SELECT DISTINCT col0 col2, - col0 AS col1 FROM tab2 AS cor0 GROUP BY col0 ---- 15 -15 91 -91 |
︙ | ︙ | |||
42777 42778 42779 42780 42781 42782 42783 42784 42785 42786 42787 42788 42789 42790 | 77 78 query II rowsort SELECT - - 9 * + - 82, 98 FROM tab0 AS cor0 GROUP BY col0, col2 HAVING NOT ( NULL ) IS NULL ---- query I rowsort SELECT - col2 + 45 AS col1 FROM tab2 AS cor0 GROUP BY col0, col2 HAVING NOT NULL > + col1 ---- query II rowsort SELECT ALL + col0, col0 FROM tab2 GROUP BY col0 HAVING 46 IS NULL ---- | > | 42905 42906 42907 42908 42909 42910 42911 42912 42913 42914 42915 42916 42917 42918 42919 | 77 78 query II rowsort SELECT - - 9 * + - 82, 98 FROM tab0 AS cor0 GROUP BY col0, col2 HAVING NOT ( NULL ) IS NULL ---- skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT - col2 + 45 AS col1 FROM tab2 AS cor0 GROUP BY col0, col2 HAVING NOT NULL > + col1 ---- query II rowsort SELECT ALL + col0, col0 FROM tab2 GROUP BY col0 HAVING 46 IS NULL ---- |
︙ | ︙ | |||
42921 42922 42923 42924 42925 42926 42927 42928 42929 42930 42931 42932 42933 42934 | skipif mysql # not compatible query I rowsort label-6202 SELECT DISTINCT - + ( - col2 ) / - col2 FROM tab0 AS cor0 GROUP BY col2 ---- -1 query I rowsort SELECT DISTINCT + col2 AS col0 FROM tab2 AS cor0 GROUP BY col2 HAVING NOT NULL <> + NULLIF ( - col0, 49 ) + - 92 ---- skipif postgresql # PostgreSQL requires AS when renaming output columns query I rowsort SELECT - col1 * col1 col2 FROM tab1 AS cor0 GROUP BY col1 | > | 43050 43051 43052 43053 43054 43055 43056 43057 43058 43059 43060 43061 43062 43063 43064 | skipif mysql # not compatible query I rowsort label-6202 SELECT DISTINCT - + ( - col2 ) / - col2 FROM tab0 AS cor0 GROUP BY col2 ---- -1 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT DISTINCT + col2 AS col0 FROM tab2 AS cor0 GROUP BY col2 HAVING NOT NULL <> + NULLIF ( - col0, 49 ) + - 92 ---- skipif postgresql # PostgreSQL requires AS when renaming output columns query I rowsort SELECT - col1 * col1 col2 FROM tab1 AS cor0 GROUP BY col1 |
︙ | ︙ | |||
42988 42989 42990 42991 42992 42993 42994 42995 42996 42997 42998 42999 43000 43001 | query I rowsort label-6212 SELECT col0 * col0 / + col0 FROM tab2 GROUP BY col0 HAVING ( ( + 13 ) - - col0 ) <> + 39 - - col0 + - 79 * - 78 ---- 15 91 92 query I rowsort SELECT ALL - + col1 * 63 + + 89 * + col2 AS col0 FROM tab2 AS cor0 GROUP BY col2, col1, col2 HAVING NULL >= - + col0 / + col1 ---- query I rowsort SELECT col1 - + col1 * - - ( col1 ) AS col0 FROM tab1 GROUP BY col1 ---- | > | 43118 43119 43120 43121 43122 43123 43124 43125 43126 43127 43128 43129 43130 43131 43132 | query I rowsort label-6212 SELECT col0 * col0 / + col0 FROM tab2 GROUP BY col0 HAVING ( ( + 13 ) - - col0 ) <> + 39 - - col0 + - 79 * - 78 ---- 15 91 92 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT ALL - + col1 * 63 + + 89 * + col2 AS col0 FROM tab2 AS cor0 GROUP BY col2, col1, col2 HAVING NULL >= - + col0 / + col1 ---- query I rowsort SELECT col1 - + col1 * - - ( col1 ) AS col0 FROM tab1 GROUP BY col1 ---- |
︙ | ︙ | |||
43171 43172 43173 43174 43175 43176 43177 43178 43179 43180 43181 43182 43183 43184 | onlyif mysql # CAST syntax: SIGNED type: query I rowsort label-6239 SELECT ALL + col2 AS col1 FROM tab1 GROUP BY col0, col2 HAVING NOT ( + 1 ) IN ( + CASE + ( col0 ) WHEN 79 * + CAST( NULL AS SIGNED ) THEN col1 END ) ---- skipif mysql # not compatible query I rowsort label-6239 SELECT ALL + col2 AS col1 FROM tab1 GROUP BY col0, col2 HAVING NOT ( + 1 ) IN ( + CASE + ( col0 ) WHEN 79 * + CAST ( NULL AS INTEGER ) THEN col1 END ) ---- onlyif mysql # DIV for integer division: query I rowsort label-6240 SELECT + col1 - + 72 DIV + 35 + + col1 AS col1 FROM tab0 GROUP BY col1, col0, col2 | > | 43302 43303 43304 43305 43306 43307 43308 43309 43310 43311 43312 43313 43314 43315 43316 | onlyif mysql # CAST syntax: SIGNED type: query I rowsort label-6239 SELECT ALL + col2 AS col1 FROM tab1 GROUP BY col0, col2 HAVING NOT ( + 1 ) IN ( + CASE + ( col0 ) WHEN 79 * + CAST( NULL AS SIGNED ) THEN col1 END ) ---- skipif mysql # not compatible skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort label-6239 SELECT ALL + col2 AS col1 FROM tab1 GROUP BY col0, col2 HAVING NOT ( + 1 ) IN ( + CASE + ( col0 ) WHEN 79 * + CAST ( NULL AS INTEGER ) THEN col1 END ) ---- onlyif mysql # DIV for integer division: query I rowsort label-6240 SELECT + col1 - + 72 DIV + 35 + + col1 AS col1 FROM tab0 GROUP BY col1, col0, col2 |
︙ | ︙ | |||
43280 43281 43282 43283 43284 43285 43286 43287 43288 43289 43290 43291 43292 43293 | SELECT + - 5 * + + NULLIF ( + CAST( NULL AS SIGNED ), - NULLIF ( col0, col0 * CAST( + 64 AS SIGNED ) ) * 91 + - col1 ) FROM tab0 AS cor0 GROUP BY col0, col0 ---- NULL NULL NULL skipif mysql # not compatible query I rowsort label-6255 SELECT + - 5 * + + NULLIF ( + CAST ( NULL AS INTEGER ), - NULLIF ( col0, col0 * CAST ( + 64 AS INTEGER ) ) * 91 + - col1 ) FROM tab0 AS cor0 GROUP BY col0, col0 ---- NULL NULL NULL | > | 43412 43413 43414 43415 43416 43417 43418 43419 43420 43421 43422 43423 43424 43425 43426 | SELECT + - 5 * + + NULLIF ( + CAST( NULL AS SIGNED ), - NULLIF ( col0, col0 * CAST( + 64 AS SIGNED ) ) * 91 + - col1 ) FROM tab0 AS cor0 GROUP BY col0, col0 ---- NULL NULL NULL skipif mysql # not compatible skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort label-6255 SELECT + - 5 * + + NULLIF ( + CAST ( NULL AS INTEGER ), - NULLIF ( col0, col0 * CAST ( + 64 AS INTEGER ) ) * 91 + - col1 ) FROM tab0 AS cor0 GROUP BY col0, col0 ---- NULL NULL NULL |
︙ | ︙ | |||
43491 43492 43493 43494 43495 43496 43497 43498 43499 43500 43501 43502 43503 43504 | ---- 6111 -30 6111 -5 skipif mysql # not compatible query II rowsort label-6283 SELECT DISTINCT 97 * + 63 col1, - col0 / - - 3 AS col1 FROM tab2 GROUP BY col0, col0 ---- 6111 -30 6111 -5 | > | 43624 43625 43626 43627 43628 43629 43630 43631 43632 43633 43634 43635 43636 43637 43638 | ---- 6111 -30 6111 -5 skipif mysql # not compatible skipif postgresql # PostgreSQL requires AS when renaming output columns query II rowsort label-6283 SELECT DISTINCT 97 * + 63 col1, - col0 / - - 3 AS col1 FROM tab2 GROUP BY col0, col0 ---- 6111 -30 6111 -5 |
︙ | ︙ | |||
43963 43964 43965 43966 43967 43968 43969 43970 43971 43972 43973 43974 43975 43976 | query I rowsort SELECT + + col2 - + col1 col2 FROM tab0 AS cor0 GROUP BY col2, col1, col2 ---- -57 38 79 query I rowsort SELECT DISTINCT - 21 + + col1 + - 41 AS col2 FROM tab1 AS cor0 GROUP BY col1 HAVING + 44 + + col2 NOT BETWEEN NULL AND ( NULL ) ---- query I rowsort SELECT - + col2 * + - col2 AS col0 FROM tab1 AS cor0 GROUP BY col2 HAVING ( NULL ) IS NULL ---- | > | 44097 44098 44099 44100 44101 44102 44103 44104 44105 44106 44107 44108 44109 44110 44111 | query I rowsort SELECT + + col2 - + col1 col2 FROM tab0 AS cor0 GROUP BY col2, col1, col2 ---- -57 38 79 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT DISTINCT - 21 + + col1 + - 41 AS col2 FROM tab1 AS cor0 GROUP BY col1 HAVING + 44 + + col2 NOT BETWEEN NULL AND ( NULL ) ---- query I rowsort SELECT - + col2 * + - col2 AS col0 FROM tab1 AS cor0 GROUP BY col2 HAVING ( NULL ) IS NULL ---- |
︙ | ︙ | |||
44418 44419 44420 44421 44422 44423 44424 44425 44426 44427 44428 44429 44430 44431 | onlyif mysql # CAST syntax: DECIMAL type: query II rowsort label-6416 SELECT ALL col2 col2, col2 FROM tab2 WHERE CAST( NULL AS DECIMAL ) >= + col1 GROUP BY col2 ---- skipif mysql # not compatible query II rowsort label-6416 SELECT ALL col2 col2, col2 FROM tab2 WHERE CAST ( NULL AS REAL ) >= + col1 GROUP BY col2 ---- skipif postgresql # PostgreSQL requires AS when renaming output columns query I rowsort SELECT - - col0 col1 FROM tab1 cor0 GROUP BY col0 | > | 44553 44554 44555 44556 44557 44558 44559 44560 44561 44562 44563 44564 44565 44566 44567 | onlyif mysql # CAST syntax: DECIMAL type: query II rowsort label-6416 SELECT ALL col2 col2, col2 FROM tab2 WHERE CAST( NULL AS DECIMAL ) >= + col1 GROUP BY col2 ---- skipif mysql # not compatible skipif postgresql # PostgreSQL requires AS when renaming output columns query II rowsort label-6416 SELECT ALL col2 col2, col2 FROM tab2 WHERE CAST ( NULL AS REAL ) >= + col1 GROUP BY col2 ---- skipif postgresql # PostgreSQL requires AS when renaming output columns query I rowsort SELECT - - col0 col1 FROM tab1 cor0 GROUP BY col0 |
︙ | ︙ | |||
44468 44469 44470 44471 44472 44473 44474 44475 44476 44477 44478 44479 44480 44481 | query I rowsort label-6420 SELECT DISTINCT ( + 4 ) + - col2 / + 17 FROM tab2 GROUP BY col2 ---- -1 0 1 query I rowsort SELECT ALL col2 + - 55 + 50 * - + ( + col2 ) AS col1 FROM tab2 GROUP BY col2 HAVING - + col1 > NULL ---- onlyif mysql # DIV for integer division: query I rowsort label-6422 SELECT DISTINCT - 45 DIV + col1 col0 FROM tab1 AS cor0 GROUP BY col1 HAVING NOT NULL IS NOT NULL | > | 44604 44605 44606 44607 44608 44609 44610 44611 44612 44613 44614 44615 44616 44617 44618 | query I rowsort label-6420 SELECT DISTINCT ( + 4 ) + - col2 / + 17 FROM tab2 GROUP BY col2 ---- -1 0 1 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT ALL col2 + - 55 + 50 * - + ( + col2 ) AS col1 FROM tab2 GROUP BY col2 HAVING - + col1 > NULL ---- onlyif mysql # DIV for integer division: query I rowsort label-6422 SELECT DISTINCT - 45 DIV + col1 col0 FROM tab1 AS cor0 GROUP BY col1 HAVING NOT NULL IS NOT NULL |
︙ | ︙ | |||
44997 44998 44999 45000 45001 45002 45003 45004 45005 45006 45007 45008 45009 45010 | query I rowsort SELECT + + ( - col2 ) col2 FROM tab1 AS cor0 GROUP BY col1, col2 ---- -45 -71 -8 query II rowsort SELECT ALL col1 col2, - col1 * col1 FROM tab0 GROUP BY col1 ---- 0 0 81 -6561 | > | 45134 45135 45136 45137 45138 45139 45140 45141 45142 45143 45144 45145 45146 45147 45148 | query I rowsort SELECT + + ( - col2 ) col2 FROM tab1 AS cor0 GROUP BY col1, col2 ---- -45 -71 -8 skipif postgresql # PostgreSQL requires AS when renaming output columns query II rowsort SELECT ALL col1 col2, - col1 * col1 FROM tab0 GROUP BY col1 ---- 0 0 81 -6561 |
︙ | ︙ | |||
45042 45043 45044 45045 45046 45047 45048 45049 45050 45051 45052 45053 45054 45055 | query I rowsort SELECT col0 + 70 FROM tab0 GROUP BY col0, col2 ---- 113 153 96 query I rowsort SELECT CASE - - 38 WHEN + col1 THEN - col2 END col0 FROM tab1 GROUP BY col1, col2, col1 ---- NULL NULL NULL | > | 45180 45181 45182 45183 45184 45185 45186 45187 45188 45189 45190 45191 45192 45193 45194 | query I rowsort SELECT col0 + 70 FROM tab0 GROUP BY col0, col2 ---- 113 153 96 skipif postgresql # PostgreSQL requires AS when renaming output columns query I rowsort SELECT CASE - - 38 WHEN + col1 THEN - col2 END col0 FROM tab1 GROUP BY col1, col2, col1 ---- NULL NULL NULL |
︙ | ︙ | |||
45433 45434 45435 45436 45437 45438 45439 45440 45441 45442 45443 45444 45445 45446 | -43 -83 query II rowsort SELECT ALL col0 * - col2 * + col0 * - + 98, - col2 + - 70 AS col1 FROM tab2 GROUP BY col0, col2 HAVING ( NOT - - col0 IS NOT NULL ) ---- query II rowsort SELECT - col0 + - col0 - + - 24 col2, col0 + - 19 FROM tab1 cor0 GROUP BY col0 HAVING ( NULL ) IS NOT NULL ---- query I rowsort SELECT 31 * - col2 + + - 17 AS col2 FROM tab0 AS cor0 GROUP BY col2, col0 ---- | > | 45572 45573 45574 45575 45576 45577 45578 45579 45580 45581 45582 45583 45584 45585 45586 | -43 -83 query II rowsort SELECT ALL col0 * - col2 * + col0 * - + 98, - col2 + - 70 AS col1 FROM tab2 GROUP BY col0, col2 HAVING ( NOT - - col0 IS NOT NULL ) ---- skipif postgresql # PostgreSQL requires AS when renaming output columns query II rowsort SELECT - col0 + - col0 - + - 24 col2, col0 + - 19 FROM tab1 cor0 GROUP BY col0 HAVING ( NULL ) IS NOT NULL ---- query I rowsort SELECT 31 * - col2 + + - 17 AS col2 FROM tab0 AS cor0 GROUP BY col2, col0 ---- |
︙ | ︙ | |||
45467 45468 45469 45470 45471 45472 45473 45474 45475 45476 45477 45478 45479 45480 | 51 51 query I rowsort SELECT ALL 8 FROM tab2 AS cor0 GROUP BY col0, col0 HAVING NOT ( NULL ) <> - 78 ---- query I rowsort SELECT - COALESCE ( + 10, - - col2 + - 67, - + 99 ) * + 93 FROM tab1 GROUP BY col0, col0 ---- -930 -930 -930 | > | 45607 45608 45609 45610 45611 45612 45613 45614 45615 45616 45617 45618 45619 45620 45621 | 51 51 query I rowsort SELECT ALL 8 FROM tab2 AS cor0 GROUP BY col0, col0 HAVING NOT ( NULL ) <> - 78 ---- skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT - COALESCE ( + 10, - - col2 + - 67, - + 99 ) * + 93 FROM tab1 GROUP BY col0, col0 ---- -930 -930 -930 |
︙ | ︙ | |||
46210 46211 46212 46213 46214 46215 46216 46217 46218 46219 46220 46221 46222 46223 | query I rowsort label-6659 SELECT + ( - CAST ( NULL AS INTEGER ) ) + 36 * - - 0 FROM tab2 AS cor0 GROUP BY col0 ---- NULL NULL NULL query II rowsort SELECT col0 * - col2 col2, col0 AS col2 FROM tab2 GROUP BY col2, col0 HAVING 93 / col2 + - col2 IS NOT NULL ---- -1305 15 -5336 92 | > | 46351 46352 46353 46354 46355 46356 46357 46358 46359 46360 46361 46362 46363 46364 46365 | query I rowsort label-6659 SELECT + ( - CAST ( NULL AS INTEGER ) ) + 36 * - - 0 FROM tab2 AS cor0 GROUP BY col0 ---- NULL NULL NULL skipif postgresql # PostgreSQL requires AS when renaming output columns query II rowsort SELECT col0 * - col2 col2, col0 AS col2 FROM tab2 GROUP BY col2, col0 HAVING 93 / col2 + - col2 IS NOT NULL ---- -1305 15 -5336 92 |
︙ | ︙ | |||
46433 46434 46435 46436 46437 46438 46439 46440 46441 46442 46443 46444 46445 46446 | NULL -1 NULL -1 NULL skipif mysql # not compatible query II rowsort label-6688 SELECT ALL col1 / - col1, + CASE + - 33 WHEN + 66 THEN col0 + + col2 + - - col1 + - - col0 * + col0 ELSE NULL END AS col0 FROM tab2 GROUP BY col1 ---- -1 NULL -1 NULL | > | 46575 46576 46577 46578 46579 46580 46581 46582 46583 46584 46585 46586 46587 46588 46589 | NULL -1 NULL -1 NULL skipif mysql # not compatible skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query II rowsort label-6688 SELECT ALL col1 / - col1, + CASE + - 33 WHEN + 66 THEN col0 + + col2 + - - col1 + - - col0 * + col0 ELSE NULL END AS col0 FROM tab2 GROUP BY col1 ---- -1 NULL -1 NULL |
︙ | ︙ | |||
46679 46680 46681 46682 46683 46684 46685 46686 46687 46688 46689 46690 46691 46692 | ---- 1 query I rowsort SELECT ALL col0 + - col0 AS col1 FROM tab0 WHERE col1 + col0 < ( NULL ) GROUP BY col0 HAVING - 63 BETWEEN + col0 AND + col0 ---- query I rowsort SELECT ALL + col1 AS col0 FROM tab1 GROUP BY col1 HAVING NULL NOT BETWEEN ( - 66 * + col0 ) AND NULL ---- query I rowsort SELECT col0 FROM tab0 GROUP BY col0 HAVING NOT 71 >= NULL ---- | > | 46822 46823 46824 46825 46826 46827 46828 46829 46830 46831 46832 46833 46834 46835 46836 | ---- 1 query I rowsort SELECT ALL col0 + - col0 AS col1 FROM tab0 WHERE col1 + col0 < ( NULL ) GROUP BY col0 HAVING - 63 BETWEEN + col0 AND + col0 ---- skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT ALL + col1 AS col0 FROM tab1 GROUP BY col1 HAVING NULL NOT BETWEEN ( - 66 * + col0 ) AND NULL ---- query I rowsort SELECT col0 FROM tab0 GROUP BY col0 HAVING NOT 71 >= NULL ---- |
︙ | ︙ | |||
46790 46791 46792 46793 46794 46795 46796 46797 46798 46799 46800 46801 46802 46803 | 30 30 query I rowsort SELECT DISTINCT - col0 AS col2 FROM tab2 cor0 WHERE ( - 88 ) NOT BETWEEN NULL AND NULL GROUP BY col0 HAVING NULL = ( - 15 ) ---- query II rowsort SELECT - + col1 col1, 66 FROM tab1 cor0 GROUP BY col1 HAVING NOT ( col1 ) NOT BETWEEN NULL AND - 0 ---- query I rowsort SELECT ALL + col2 FROM tab1 AS cor0 GROUP BY col0, col2 HAVING NOT NULL >= 17 ---- | > | 46934 46935 46936 46937 46938 46939 46940 46941 46942 46943 46944 46945 46946 46947 46948 | 30 30 query I rowsort SELECT DISTINCT - col0 AS col2 FROM tab2 cor0 WHERE ( - 88 ) NOT BETWEEN NULL AND NULL GROUP BY col0 HAVING NULL = ( - 15 ) ---- skipif postgresql # PostgreSQL requires AS when renaming output columns query II rowsort SELECT - + col1 col1, 66 FROM tab1 cor0 GROUP BY col1 HAVING NOT ( col1 ) NOT BETWEEN NULL AND - 0 ---- query I rowsort SELECT ALL + col2 FROM tab1 AS cor0 GROUP BY col0, col2 HAVING NOT NULL >= 17 ---- |
︙ | ︙ | |||
46874 46875 46876 46877 46878 46879 46880 46881 46882 46883 46884 46885 46886 46887 | query I rowsort SELECT + 45 - - col0 AS col1 FROM tab2 GROUP BY col0 ---- 136 137 60 query I rowsort SELECT 19 AS col2 FROM tab2 GROUP BY col0, col1, col1 HAVING NULL NOT BETWEEN + - NULLIF ( + - col2, - + ( + 2 ) ) AND + col2 ---- query I rowsort SELECT 21 AS col0 FROM tab2 GROUP BY col2 ---- | > | 47019 47020 47021 47022 47023 47024 47025 47026 47027 47028 47029 47030 47031 47032 47033 | query I rowsort SELECT + 45 - - col0 AS col1 FROM tab2 GROUP BY col0 ---- 136 137 60 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT 19 AS col2 FROM tab2 GROUP BY col0, col1, col1 HAVING NULL NOT BETWEEN + - NULLIF ( + - col2, - + ( + 2 ) ) AND + col2 ---- query I rowsort SELECT 21 AS col0 FROM tab2 GROUP BY col2 ---- |
︙ | ︙ | |||
47832 47833 47834 47835 47836 47837 47838 47839 47840 47841 47842 47843 47844 47845 | -74 query I rowsort SELECT DISTINCT - 54 FROM tab1 cor0 GROUP BY col0 ---- -54 query II rowsort SELECT ALL + col1 col1, col1 + - col1 FROM tab1 GROUP BY col1 ---- 44 0 57 0 | > | 47978 47979 47980 47981 47982 47983 47984 47985 47986 47987 47988 47989 47990 47991 47992 | -74 query I rowsort SELECT DISTINCT - 54 FROM tab1 cor0 GROUP BY col0 ---- -54 skipif postgresql # PostgreSQL requires AS when renaming output columns query II rowsort SELECT ALL + col1 col1, col1 + - col1 FROM tab1 GROUP BY col1 ---- 44 0 57 0 |
︙ | ︙ | |||
47991 47992 47993 47994 47995 47996 47997 47998 47999 48000 48001 48002 48003 48004 | query I rowsort SELECT DISTINCT - col1 * col1 AS col2 FROM tab0 GROUP BY col2, col1 ---- -6561 0 query II rowsort SELECT DISTINCT 1 - + ( + - 97 ) col0, - col1 AS col1 FROM tab2 AS cor0 GROUP BY col1 HAVING NULL > ( NULL ) ---- query I rowsort SELECT + col0 * + col0 FROM tab0 AS cor0 GROUP BY col0, col0 HAVING NULL IS NULL ---- | > | 48138 48139 48140 48141 48142 48143 48144 48145 48146 48147 48148 48149 48150 48151 48152 | query I rowsort SELECT DISTINCT - col1 * col1 AS col2 FROM tab0 GROUP BY col2, col1 ---- -6561 0 skipif postgresql # PostgreSQL requires AS when renaming output columns query II rowsort SELECT DISTINCT 1 - + ( + - 97 ) col0, - col1 AS col1 FROM tab2 AS cor0 GROUP BY col1 HAVING NULL > ( NULL ) ---- query I rowsort SELECT + col0 * + col0 FROM tab0 AS cor0 GROUP BY col0, col0 HAVING NULL IS NULL ---- |
︙ | ︙ | |||
48053 48054 48055 48056 48057 48058 48059 48060 48061 48062 48063 48064 48065 48066 | onlyif mysql # CAST syntax: SIGNED type: DECIMAL type: query I rowsort label-6908 SELECT - + ( CAST( + + CAST( - col0 AS DECIMAL ) AS SIGNED ) ) + - + COALESCE ( - + 27, + - col1, + col0 ) * + col0 + - ( + col0 ) - - 6 AS col2 FROM tab1 AS cor0 GROUP BY col0, col1 HAVING NOT NULL NOT BETWEEN - col2 + - 97 * - col2 AND - ( col2 ) ---- skipif mysql # not compatible query I rowsort label-6908 SELECT - + ( CAST ( + + CAST ( - col0 AS REAL ) AS INTEGER ) ) + - + COALESCE ( - + 27, + - col1, + col0 ) * + col0 + - ( + col0 ) - - 6 AS col2 FROM tab1 AS cor0 GROUP BY col0, col1 HAVING NOT NULL NOT BETWEEN - col2 + - 97 * - col2 AND - ( col2 ) ---- query I rowsort SELECT DISTINCT - col2 FROM tab2 cor0 GROUP BY col2, col2 HAVING NULL IS NOT NULL ---- | > | 48201 48202 48203 48204 48205 48206 48207 48208 48209 48210 48211 48212 48213 48214 48215 | onlyif mysql # CAST syntax: SIGNED type: DECIMAL type: query I rowsort label-6908 SELECT - + ( CAST( + + CAST( - col0 AS DECIMAL ) AS SIGNED ) ) + - + COALESCE ( - + 27, + - col1, + col0 ) * + col0 + - ( + col0 ) - - 6 AS col2 FROM tab1 AS cor0 GROUP BY col0, col1 HAVING NOT NULL NOT BETWEEN - col2 + - 97 * - col2 AND - ( col2 ) ---- skipif mysql # not compatible skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort label-6908 SELECT - + ( CAST ( + + CAST ( - col0 AS REAL ) AS INTEGER ) ) + - + COALESCE ( - + 27, + - col1, + col0 ) * + col0 + - ( + col0 ) - - 6 AS col2 FROM tab1 AS cor0 GROUP BY col0, col1 HAVING NOT NULL NOT BETWEEN - col2 + - 97 * - col2 AND - ( col2 ) ---- query I rowsort SELECT DISTINCT - col2 FROM tab2 cor0 GROUP BY col2, col2 HAVING NULL IS NOT NULL ---- |
︙ | ︙ | |||
48086 48087 48088 48089 48090 48091 48092 48093 48094 48095 48096 48097 48098 48099 | SELECT DISTINCT + col0 FROM tab2 AS cor0 WHERE NOT ( NOT + 74 < col0 * + col1 + + 95 ) GROUP BY col0, col0 HAVING NOT NULL > - 40 ---- query I rowsort SELECT DISTINCT ( - 95 ) AS col1 FROM tab1 AS cor0 GROUP BY col1, col0 HAVING - col1 IS NULL ---- query II rowsort SELECT + 20 AS col2, - COALESCE ( + 41, - + col0 + + + 75 ) / + - 8 * - ( - col2 ) AS col2 FROM tab2 WHERE + 73 IS NOT NULL GROUP BY col2, col2 HAVING + 58 * 6 BETWEEN NULL AND + col2 ---- query II rowsort SELECT ALL 46, + col0 FROM tab1 GROUP BY col2, col0 ---- | > | 48235 48236 48237 48238 48239 48240 48241 48242 48243 48244 48245 48246 48247 48248 48249 | SELECT DISTINCT + col0 FROM tab2 AS cor0 WHERE NOT ( NOT + 74 < col0 * + col1 + + 95 ) GROUP BY col0, col0 HAVING NOT NULL > - 40 ---- query I rowsort SELECT DISTINCT ( - 95 ) AS col1 FROM tab1 AS cor0 GROUP BY col1, col0 HAVING - col1 IS NULL ---- skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query II rowsort SELECT + 20 AS col2, - COALESCE ( + 41, - + col0 + + + 75 ) / + - 8 * - ( - col2 ) AS col2 FROM tab2 WHERE + 73 IS NOT NULL GROUP BY col2, col2 HAVING + 58 * 6 BETWEEN NULL AND + col2 ---- query II rowsort SELECT ALL 46, + col0 FROM tab1 GROUP BY col2, col0 ---- |
︙ | ︙ | |||
48699 48700 48701 48702 48703 48704 48705 48706 48707 48708 48709 48710 48711 48712 | onlyif mysql # CAST syntax: DECIMAL type: query II rowsort label-6993 SELECT 49 col2, + col0 / + - 43 - - 14 FROM tab1 AS cor0 GROUP BY col0 HAVING NOT ( NULL ) < + - 27 - + NULLIF ( - + col0, CAST( + col0 AS DECIMAL ) ) ---- skipif mysql # not compatible query II rowsort label-6993 SELECT 49 col2, + col0 / + - 43 - - 14 FROM tab1 AS cor0 GROUP BY col0 HAVING NOT ( NULL ) < + - 27 - + NULLIF ( - + col0, CAST ( + col0 AS REAL ) ) ---- onlyif mysql # CAST syntax: SIGNED type: query I rowsort label-6994 SELECT - ( - + 16 ) / + CAST( NULL AS SIGNED ) * + 20 FROM tab2 GROUP BY col0, col0 | > | 48849 48850 48851 48852 48853 48854 48855 48856 48857 48858 48859 48860 48861 48862 48863 | onlyif mysql # CAST syntax: DECIMAL type: query II rowsort label-6993 SELECT 49 col2, + col0 / + - 43 - - 14 FROM tab1 AS cor0 GROUP BY col0 HAVING NOT ( NULL ) < + - 27 - + NULLIF ( - + col0, CAST( + col0 AS DECIMAL ) ) ---- skipif mysql # not compatible skipif postgresql # PostgreSQL requires AS when renaming output columns query II rowsort label-6993 SELECT 49 col2, + col0 / + - 43 - - 14 FROM tab1 AS cor0 GROUP BY col0 HAVING NOT ( NULL ) < + - 27 - + NULLIF ( - + col0, CAST ( + col0 AS REAL ) ) ---- onlyif mysql # CAST syntax: SIGNED type: query I rowsort label-6994 SELECT - ( - + 16 ) / + CAST( NULL AS SIGNED ) * + 20 FROM tab2 GROUP BY col0, col0 |
︙ | ︙ | |||
48858 48859 48860 48861 48862 48863 48864 48865 48866 48867 48868 48869 48870 48871 | ---- query I rowsort SELECT DISTINCT - ( + 21 ) * + - 48 FROM tab1 AS cor0 GROUP BY col2 HAVING NULL IS NULL ---- 1008 query I rowsort SELECT ALL + 45 + - col2 AS col1 FROM tab2 AS cor0 GROUP BY col2 HAVING NOT + ( col1 ) < ( NULL ) ---- query I rowsort SELECT ALL + - 94 + col1 + col1 * - ( + 16 ) FROM tab1 cor0 GROUP BY col1 ---- | > | 49009 49010 49011 49012 49013 49014 49015 49016 49017 49018 49019 49020 49021 49022 49023 | ---- query I rowsort SELECT DISTINCT - ( + 21 ) * + - 48 FROM tab1 AS cor0 GROUP BY col2 HAVING NULL IS NULL ---- 1008 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT ALL + 45 + - col2 AS col1 FROM tab2 AS cor0 GROUP BY col2 HAVING NOT + ( col1 ) < ( NULL ) ---- query I rowsort SELECT ALL + - 94 + col1 + col1 * - ( + 16 ) FROM tab1 cor0 GROUP BY col1 ---- |
︙ | ︙ | |||
49179 49180 49181 49182 49183 49184 49185 49186 49187 49188 49189 49190 49191 49192 | query I rowsort label-7059 SELECT ALL + - CAST ( NULL AS INTEGER ) FROM tab2 AS cor0 GROUP BY col1 HAVING + col1 IS NOT NULL ---- NULL NULL NULL query I rowsort SELECT DISTINCT - col2 AS col0 FROM tab1 AS cor0 WHERE NOT ( - col2 + - ( + + col1 ) + + col0 + 31 * - ( + col0 ) ) BETWEEN NULL AND 52 GROUP BY col2 HAVING NULL <= - 87 * - col0 + - 59 ---- onlyif mysql # CAST syntax: SIGNED type: query I rowsort label-7061 SELECT DISTINCT + - CAST( NULL AS SIGNED ) * - - col0 FROM tab0 cor0 GROUP BY col0 | > | 49331 49332 49333 49334 49335 49336 49337 49338 49339 49340 49341 49342 49343 49344 49345 | query I rowsort label-7059 SELECT ALL + - CAST ( NULL AS INTEGER ) FROM tab2 AS cor0 GROUP BY col1 HAVING + col1 IS NOT NULL ---- NULL NULL NULL skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT DISTINCT - col2 AS col0 FROM tab1 AS cor0 WHERE NOT ( - col2 + - ( + + col1 ) + + col0 + 31 * - ( + col0 ) ) BETWEEN NULL AND 52 GROUP BY col2 HAVING NULL <= - 87 * - col0 + - 59 ---- onlyif mysql # CAST syntax: SIGNED type: query I rowsort label-7061 SELECT DISTINCT + - CAST( NULL AS SIGNED ) * - - col0 FROM tab0 cor0 GROUP BY col0 |
︙ | ︙ | |||
49374 49375 49376 49377 49378 49379 49380 49381 49382 49383 49384 49385 49386 49387 | onlyif mysql # CAST syntax: SIGNED type: query II rowsort label-7086 SELECT - col1 col2, 69 / - CAST( NULL AS SIGNED ) AS col1 FROM tab0 WHERE NOT NULL NOT BETWEEN - col2 AND + col1 GROUP BY col1 ---- skipif mysql # not compatible query II rowsort label-7086 SELECT - col1 col2, 69 / - CAST ( NULL AS INTEGER ) AS col1 FROM tab0 WHERE NOT NULL NOT BETWEEN - col2 AND + col1 GROUP BY col1 ---- onlyif mysql # CAST syntax: SIGNED type: query I rowsort label-7087 SELECT + col0 + CAST( NULL AS SIGNED ) FROM tab0 GROUP BY col0 | > | 49527 49528 49529 49530 49531 49532 49533 49534 49535 49536 49537 49538 49539 49540 49541 | onlyif mysql # CAST syntax: SIGNED type: query II rowsort label-7086 SELECT - col1 col2, 69 / - CAST( NULL AS SIGNED ) AS col1 FROM tab0 WHERE NOT NULL NOT BETWEEN - col2 AND + col1 GROUP BY col1 ---- skipif mysql # not compatible skipif postgresql # PostgreSQL requires AS when renaming output columns query II rowsort label-7086 SELECT - col1 col2, 69 / - CAST ( NULL AS INTEGER ) AS col1 FROM tab0 WHERE NOT NULL NOT BETWEEN - col2 AND + col1 GROUP BY col1 ---- onlyif mysql # CAST syntax: SIGNED type: query I rowsort label-7087 SELECT + col0 + CAST( NULL AS SIGNED ) FROM tab0 GROUP BY col0 |
︙ | ︙ | |||
49540 49541 49542 49543 49544 49545 49546 49547 49548 49549 49550 49551 49552 49553 | SELECT ( + CASE CAST( NULL AS SIGNED ) WHEN - - col1 THEN 0 / col1 END ) FROM tab1 WHERE + col2 IS NOT NULL GROUP BY col0, col0 ---- NULL NULL NULL skipif mysql # not compatible query I rowsort label-7107 SELECT ( + CASE CAST ( NULL AS INTEGER ) WHEN - - col1 THEN 0 / col1 END ) FROM tab1 WHERE + col2 IS NOT NULL GROUP BY col0, col0 ---- NULL NULL NULL | > | 49694 49695 49696 49697 49698 49699 49700 49701 49702 49703 49704 49705 49706 49707 49708 | SELECT ( + CASE CAST( NULL AS SIGNED ) WHEN - - col1 THEN 0 / col1 END ) FROM tab1 WHERE + col2 IS NOT NULL GROUP BY col0, col0 ---- NULL NULL NULL skipif mysql # not compatible skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort label-7107 SELECT ( + CASE CAST ( NULL AS INTEGER ) WHEN - - col1 THEN 0 / col1 END ) FROM tab1 WHERE + col2 IS NOT NULL GROUP BY col0, col0 ---- NULL NULL NULL |
︙ | ︙ | |||
50844 50845 50846 50847 50848 50849 50850 50851 50852 50853 50854 50855 50856 50857 | query I rowsort SELECT ALL + col2 + + 37 FROM tab0 AS cor0 GROUP BY col2, col2 ---- 116 61 75 query II rowsort SELECT col2 AS col1, col2 AS col2 FROM tab0 AS cor0 GROUP BY col2, col2 HAVING NOT ( col1 ) BETWEEN NULL AND ( NULL ) ---- query I rowsort SELECT 90 AS col2 FROM tab0 GROUP BY col0, col0 HAVING NOT NULL BETWEEN NULL AND NULL ---- | > | 50999 51000 51001 51002 51003 51004 51005 51006 51007 51008 51009 51010 51011 51012 51013 | query I rowsort SELECT ALL + col2 + + 37 FROM tab0 AS cor0 GROUP BY col2, col2 ---- 116 61 75 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query II rowsort SELECT col2 AS col1, col2 AS col2 FROM tab0 AS cor0 GROUP BY col2, col2 HAVING NOT ( col1 ) BETWEEN NULL AND ( NULL ) ---- query I rowsort SELECT 90 AS col2 FROM tab0 GROUP BY col0, col0 HAVING NOT NULL BETWEEN NULL AND NULL ---- |
︙ | ︙ | |||
51133 51134 51135 51136 51137 51138 51139 51140 51141 51142 51143 51144 51145 51146 | query I rowsort SELECT ALL 7 AS col0 FROM tab1 AS cor0 GROUP BY col2 ---- 7 7 7 query I rowsort SELECT ALL + COALESCE ( col1, + + 68, ( + col2 ) ) AS col2 FROM tab2 AS cor0 GROUP BY col1, col1 ---- 41 59 61 | > | 51289 51290 51291 51292 51293 51294 51295 51296 51297 51298 51299 51300 51301 51302 51303 | query I rowsort SELECT ALL 7 AS col0 FROM tab1 AS cor0 GROUP BY col2 ---- 7 7 7 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT ALL + COALESCE ( col1, + + 68, ( + col2 ) ) AS col2 FROM tab2 AS cor0 GROUP BY col1, col1 ---- 41 59 61 |
︙ | ︙ | |||
51308 51309 51310 51311 51312 51313 51314 51315 51316 51317 51318 51319 51320 51321 | 624 988 query I rowsort SELECT + 14 + - + col0 * + col0 AS col0 FROM tab2 AS cor0 GROUP BY col0, col0 HAVING NOT ( + col0 ) >= NULL ---- query I rowsort SELECT - + col1 AS col2 FROM tab1 cor0 GROUP BY col1 HAVING col2 <> NULL ---- query I rowsort SELECT + 7 AS col2 FROM tab0 GROUP BY col1, col0 ---- | > | 51465 51466 51467 51468 51469 51470 51471 51472 51473 51474 51475 51476 51477 51478 51479 | 624 988 query I rowsort SELECT + 14 + - + col0 * + col0 AS col0 FROM tab2 AS cor0 GROUP BY col0, col0 HAVING NOT ( + col0 ) >= NULL ---- skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT - + col1 AS col2 FROM tab1 cor0 GROUP BY col1 HAVING col2 <> NULL ---- query I rowsort SELECT + 7 AS col2 FROM tab0 GROUP BY col1, col0 ---- |
︙ | ︙ | |||
51617 51618 51619 51620 51621 51622 51623 51624 51625 51626 51627 51628 51629 51630 | ---- skipif mysql # not compatible query I rowsort label-7381 SELECT DISTINCT ( - CAST ( - - 52 AS INTEGER ) ) * - col1 + 7 * - 23 + col1 AS col1 FROM tab2 GROUP BY col1, col1, col0, col2 HAVING NOT + CAST ( - col2 AS REAL ) BETWEEN NULL AND ( - col0 + + col1 ) ---- query I rowsort SELECT - 49 AS col1 FROM tab1 WHERE + + 47 + + - col1 > NULL GROUP BY col2 HAVING NULL NOT BETWEEN - col1 AND ( - 53 + 29 ) ---- query I rowsort SELECT DISTINCT col1 + + 9 FROM tab0 GROUP BY col1 ---- | > | 51775 51776 51777 51778 51779 51780 51781 51782 51783 51784 51785 51786 51787 51788 51789 | ---- skipif mysql # not compatible query I rowsort label-7381 SELECT DISTINCT ( - CAST ( - - 52 AS INTEGER ) ) * - col1 + 7 * - 23 + col1 AS col1 FROM tab2 GROUP BY col1, col1, col0, col2 HAVING NOT + CAST ( - col2 AS REAL ) BETWEEN NULL AND ( - col0 + + col1 ) ---- skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT - 49 AS col1 FROM tab1 WHERE + + 47 + + - col1 > NULL GROUP BY col2 HAVING NULL NOT BETWEEN - col1 AND ( - 53 + 29 ) ---- query I rowsort SELECT DISTINCT col1 + + 9 FROM tab0 GROUP BY col1 ---- |
︙ | ︙ | |||
51684 51685 51686 51687 51688 51689 51690 51691 51692 51693 51694 51695 51696 51697 | ---- 1944 query I rowsort SELECT ALL - col1 + col1 * - col1 FROM tab1 AS cor0 WHERE 48 * - col1 IN ( 70 / 93 ) GROUP BY col1 ---- query I rowsort SELECT + COALESCE ( 69, + col2 - - col2, col2 ) * - COALESCE ( - col0, + col0 ) FROM tab1 GROUP BY col0 HAVING NOT + 0 <> ( + 57 ) ---- query I rowsort SELECT - 55 AS col0 FROM tab0 GROUP BY col1 HAVING NOT + 91 IS NULL ---- | > | 51843 51844 51845 51846 51847 51848 51849 51850 51851 51852 51853 51854 51855 51856 51857 | ---- 1944 query I rowsort SELECT ALL - col1 + col1 * - col1 FROM tab1 AS cor0 WHERE 48 * - col1 IN ( 70 / 93 ) GROUP BY col1 ---- skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT + COALESCE ( 69, + col2 - - col2, col2 ) * - COALESCE ( - col0, + col0 ) FROM tab1 GROUP BY col0 HAVING NOT + 0 <> ( + 57 ) ---- query I rowsort SELECT - 55 AS col0 FROM tab0 GROUP BY col1 HAVING NOT + 91 IS NULL ---- |
︙ | ︙ | |||
51756 51757 51758 51759 51760 51761 51762 51763 51764 51765 51766 51767 51768 51769 51770 51771 51772 51773 51774 51775 51776 51777 51778 51779 51780 51781 51782 | ---- -1 query I rowsort SELECT DISTINCT + col0 * col0 + - 81 FROM tab0 AS cor0 WHERE NOT NULL IS NULL GROUP BY col1, col0 HAVING NOT AVG ( ALL 21 ) IS NOT NULL ---- query I rowsort SELECT ALL - col2 AS col1 FROM tab1 AS cor0 GROUP BY col2 HAVING ( + col1 ) <= NULL ---- onlyif mysql # DIV for integer division: query I rowsort label-7407 SELECT ALL - - col2 DIV + col2 + - COALESCE ( + 98 + - 95, col1 ) FROM tab2 cor0 GROUP BY col2 ---- -2 -2 -2 skipif mysql # not compatible query I rowsort label-7407 SELECT ALL - - col2 / + col2 + - COALESCE ( + 98 + - 95, col1 ) FROM tab2 cor0 GROUP BY col2 ---- -2 -2 -2 | > > | 51916 51917 51918 51919 51920 51921 51922 51923 51924 51925 51926 51927 51928 51929 51930 51931 51932 51933 51934 51935 51936 51937 51938 51939 51940 51941 51942 51943 51944 | ---- -1 query I rowsort SELECT DISTINCT + col0 * col0 + - 81 FROM tab0 AS cor0 WHERE NOT NULL IS NULL GROUP BY col1, col0 HAVING NOT AVG ( ALL 21 ) IS NOT NULL ---- skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT ALL - col2 AS col1 FROM tab1 AS cor0 GROUP BY col2 HAVING ( + col1 ) <= NULL ---- onlyif mysql # DIV for integer division: query I rowsort label-7407 SELECT ALL - - col2 DIV + col2 + - COALESCE ( + 98 + - 95, col1 ) FROM tab2 cor0 GROUP BY col2 ---- -2 -2 -2 skipif mysql # not compatible skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort label-7407 SELECT ALL - - col2 / + col2 + - COALESCE ( + 98 + - 95, col1 ) FROM tab2 cor0 GROUP BY col2 ---- -2 -2 -2 |
︙ | ︙ | |||
51934 51935 51936 51937 51938 51939 51940 51941 51942 51943 51944 51945 51946 51947 | query I rowsort SELECT COALESCE ( - 54, - 75 ) FROM tab0 AS cor0 GROUP BY col2 ---- -54 -54 -54 query II rowsort SELECT col0, 75 * col2 AS col1 FROM tab2 GROUP BY col2, col0 HAVING NOT + col1 < NULL ---- query I rowsort SELECT DISTINCT 89 AS col1 FROM tab0 GROUP BY col1, col1 ---- | > | 52096 52097 52098 52099 52100 52101 52102 52103 52104 52105 52106 52107 52108 52109 52110 | query I rowsort SELECT COALESCE ( - 54, - 75 ) FROM tab0 AS cor0 GROUP BY col2 ---- -54 -54 -54 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query II rowsort SELECT col0, 75 * col2 AS col1 FROM tab2 GROUP BY col2, col0 HAVING NOT + col1 < NULL ---- query I rowsort SELECT DISTINCT 89 AS col1 FROM tab0 GROUP BY col1, col1 ---- |
︙ | ︙ | |||
52127 52128 52129 52130 52131 52132 52133 52134 52135 52136 52137 52138 52139 52140 | SELECT col2 + - col2 + + COALESCE ( ( - 39 ), + ( + NULLIF ( + + CAST( + CAST( col2 AS SIGNED ) AS SIGNED ), - - col0 * ( 79 ) ) ) + col2, - + col2 * - col2 ) FROM tab0 GROUP BY col2, col2 ---- -39 -39 -39 skipif mysql # not compatible query I rowsort label-7456 SELECT col2 + - col2 + + COALESCE ( ( - 39 ), + ( + NULLIF ( + + CAST ( + CAST ( col2 AS INTEGER ) AS INTEGER ), - - col0 * ( 79 ) ) ) + col2, - + col2 * - col2 ) FROM tab0 GROUP BY col2, col2 ---- -39 -39 -39 | > | 52290 52291 52292 52293 52294 52295 52296 52297 52298 52299 52300 52301 52302 52303 52304 | SELECT col2 + - col2 + + COALESCE ( ( - 39 ), + ( + NULLIF ( + + CAST( + CAST( col2 AS SIGNED ) AS SIGNED ), - - col0 * ( 79 ) ) ) + col2, - + col2 * - col2 ) FROM tab0 GROUP BY col2, col2 ---- -39 -39 -39 skipif mysql # not compatible skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort label-7456 SELECT col2 + - col2 + + COALESCE ( ( - 39 ), + ( + NULLIF ( + + CAST ( + CAST ( col2 AS INTEGER ) AS INTEGER ), - - col0 * ( 79 ) ) ) + col2, - + col2 * - col2 ) FROM tab0 GROUP BY col2, col2 ---- -39 -39 -39 |
︙ | ︙ | |||
52475 52476 52477 52478 52479 52480 52481 52482 52483 52484 52485 52486 52487 52488 52489 52490 52491 52492 52493 52494 52495 52496 52497 52498 | query I rowsort SELECT col2 + - col2 AS col0 FROM tab1 GROUP BY col2 ---- 0 0 0 query I rowsort SELECT CASE 42 WHEN - 99 THEN AVG ( 13 ) * - col1 - + col2 * + col2 END + + col2 FROM tab0 WHERE ( NULL ) NOT BETWEEN ( col1 ) AND ( - CASE WHEN col2 NOT BETWEEN NULL AND ( col2 + 48 ) THEN col1 ELSE + col2 * + col0 END ) GROUP BY col2 HAVING NOT NULL BETWEEN ( - col2 ) AND NULL ---- onlyif mysql # CAST syntax: SIGNED type: query I rowsort label-7512 SELECT ALL col0 / - COALESCE ( 87 * - 29, NULLIF ( col0, - col1 ) * - col1 + col0 ) FROM tab2 WHERE NOT col1 NOT BETWEEN - 11 + - CAST( NULL AS SIGNED ) * - CAST( - col1 AS SIGNED ) AND col0 GROUP BY col0, col0 ---- skipif mysql # not compatible query I rowsort label-7512 SELECT ALL col0 / - COALESCE ( 87 * - 29, NULLIF ( col0, - col1 ) * - col1 + col0 ) FROM tab2 WHERE NOT col1 NOT BETWEEN - 11 + - CAST ( NULL AS INTEGER ) * - CAST ( - col1 AS INTEGER ) AND col0 GROUP BY col0, col0 ---- query I rowsort SELECT ALL 41 AS col1 FROM tab1 GROUP BY col0 ---- | > > | 52639 52640 52641 52642 52643 52644 52645 52646 52647 52648 52649 52650 52651 52652 52653 52654 52655 52656 52657 52658 52659 52660 52661 52662 52663 52664 | query I rowsort SELECT col2 + - col2 AS col0 FROM tab1 GROUP BY col2 ---- 0 0 0 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT CASE 42 WHEN - 99 THEN AVG ( 13 ) * - col1 - + col2 * + col2 END + + col2 FROM tab0 WHERE ( NULL ) NOT BETWEEN ( col1 ) AND ( - CASE WHEN col2 NOT BETWEEN NULL AND ( col2 + 48 ) THEN col1 ELSE + col2 * + col0 END ) GROUP BY col2 HAVING NOT NULL BETWEEN ( - col2 ) AND NULL ---- onlyif mysql # CAST syntax: SIGNED type: query I rowsort label-7512 SELECT ALL col0 / - COALESCE ( 87 * - 29, NULLIF ( col0, - col1 ) * - col1 + col0 ) FROM tab2 WHERE NOT col1 NOT BETWEEN - 11 + - CAST( NULL AS SIGNED ) * - CAST( - col1 AS SIGNED ) AND col0 GROUP BY col0, col0 ---- skipif mysql # not compatible skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort label-7512 SELECT ALL col0 / - COALESCE ( 87 * - 29, NULLIF ( col0, - col1 ) * - col1 + col0 ) FROM tab2 WHERE NOT col1 NOT BETWEEN - 11 + - CAST ( NULL AS INTEGER ) * - CAST ( - col1 AS INTEGER ) AND col0 GROUP BY col0, col0 ---- query I rowsort SELECT ALL 41 AS col1 FROM tab1 GROUP BY col0 ---- |
︙ | ︙ | |||
52673 52674 52675 52676 52677 52678 52679 52680 52681 52682 52683 52684 52685 52686 | query I rowsort SELECT DISTINCT - col0 AS col2 FROM tab0 GROUP BY col2, col0 ---- -26 -43 -83 query II rowsort SELECT col0 + + 0 col0, col0 * + ( 52 ) FROM tab1 GROUP BY col0 HAVING - 58 < ( 2 + - 41 ) ---- 22 1144 28 1456 | > | 52839 52840 52841 52842 52843 52844 52845 52846 52847 52848 52849 52850 52851 52852 52853 | query I rowsort SELECT DISTINCT - col0 AS col2 FROM tab0 GROUP BY col2, col0 ---- -26 -43 -83 skipif postgresql # PostgreSQL requires AS when renaming output columns query II rowsort SELECT col0 + + 0 col0, col0 * + ( 52 ) FROM tab1 GROUP BY col0 HAVING - 58 < ( 2 + - 41 ) ---- 22 1144 28 1456 |
︙ | ︙ | |||
52843 52844 52845 52846 52847 52848 52849 52850 52851 52852 52853 52854 52855 52856 | query I rowsort SELECT 99 + col1 FROM tab2 GROUP BY col1, col1 ---- 140 158 160 query II rowsort SELECT - col0 * - col0 * + col0 * + + col0 * col0 AS col0, col0 AS col1 FROM tab2 GROUP BY col0, col0 HAVING NOT NULL <= + col1 ---- onlyif mysql # CAST syntax: SIGNED type: query I rowsort label-7564 SELECT ALL col0 * + CAST( - CAST( NULL AS SIGNED ) AS SIGNED ) FROM tab2 cor0 GROUP BY col0 | > | 53010 53011 53012 53013 53014 53015 53016 53017 53018 53019 53020 53021 53022 53023 53024 | query I rowsort SELECT 99 + col1 FROM tab2 GROUP BY col1, col1 ---- 140 158 160 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query II rowsort SELECT - col0 * - col0 * + col0 * + + col0 * col0 AS col0, col0 AS col1 FROM tab2 GROUP BY col0, col0 HAVING NOT NULL <= + col1 ---- onlyif mysql # CAST syntax: SIGNED type: query I rowsort label-7564 SELECT ALL col0 * + CAST( - CAST( NULL AS SIGNED ) AS SIGNED ) FROM tab2 cor0 GROUP BY col0 |
︙ | ︙ | |||
53055 53056 53057 53058 53059 53060 53061 53062 53063 53064 53065 53066 53067 53068 | -24 24 -38 38 -79 79 query II rowsort SELECT - col0 col1, + 16 FROM tab2 GROUP BY col0, col1 ---- -15 16 -91 16 | > | 53223 53224 53225 53226 53227 53228 53229 53230 53231 53232 53233 53234 53235 53236 53237 | -24 24 -38 38 -79 79 skipif postgresql # PostgreSQL requires AS when renaming output columns query II rowsort SELECT - col0 col1, + 16 FROM tab2 GROUP BY col0, col1 ---- -15 16 -91 16 |
︙ | ︙ | |||
53199 53200 53201 53202 53203 53204 53205 53206 53207 53208 53209 53210 53211 53212 | ---- skipif mysql # not compatible query I rowsort label-7609 SELECT ALL + CAST ( - 27 AS INTEGER ) FROM tab1 AS cor0 GROUP BY col1 HAVING NOT NULL >= - 26 ---- query I rowsort SELECT DISTINCT - COALESCE ( - - 86, - + COALESCE ( col0, col1 + - col1 ) * - - ( + col0 ) ) AS col2 FROM tab0 GROUP BY col2 ---- -86 query I rowsort SELECT + 29 - + - col1 + - - 54 FROM tab0 GROUP BY col1, col0 HAVING NULL IS NOT NULL | > | 53368 53369 53370 53371 53372 53373 53374 53375 53376 53377 53378 53379 53380 53381 53382 | ---- skipif mysql # not compatible query I rowsort label-7609 SELECT ALL + CAST ( - 27 AS INTEGER ) FROM tab1 AS cor0 GROUP BY col1 HAVING NOT NULL >= - 26 ---- skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT DISTINCT - COALESCE ( - - 86, - + COALESCE ( col0, col1 + - col1 ) * - - ( + col0 ) ) AS col2 FROM tab0 GROUP BY col2 ---- -86 query I rowsort SELECT + 29 - + - col1 + - - 54 FROM tab0 GROUP BY col1, col0 HAVING NULL IS NOT NULL |
︙ | ︙ | |||
53504 53505 53506 53507 53508 53509 53510 53511 53512 53513 53514 53515 53516 53517 | query I rowsort label-7652 SELECT - CAST ( NULL AS INTEGER ) col2 FROM tab0 GROUP BY col2, col0 ---- NULL NULL NULL query I rowsort SELECT DISTINCT col1 - + col1 AS col2 FROM tab2 GROUP BY col1, col1 HAVING NOT - - col2 >= NULL ---- query I rowsort SELECT ALL 57 FROM tab0 AS cor0 GROUP BY col1 HAVING col1 IS NOT NULL ---- | > | 53674 53675 53676 53677 53678 53679 53680 53681 53682 53683 53684 53685 53686 53687 53688 | query I rowsort label-7652 SELECT - CAST ( NULL AS INTEGER ) col2 FROM tab0 GROUP BY col2, col0 ---- NULL NULL NULL skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT DISTINCT col1 - + col1 AS col2 FROM tab2 GROUP BY col1, col1 HAVING NOT - - col2 >= NULL ---- query I rowsort SELECT ALL 57 FROM tab0 AS cor0 GROUP BY col1 HAVING col1 IS NOT NULL ---- |
︙ | ︙ | |||
53858 53859 53860 53861 53862 53863 53864 53865 53866 53867 53868 53869 53870 53871 | SELECT col0 FROM tab0 GROUP BY col0 HAVING NOT ( NOT + 55 * 56 <= NULL ) ---- query I rowsort SELECT - col1 FROM tab0 AS cor0 WHERE NULL IN ( - col1 ) GROUP BY col0, col1 ---- query II rowsort SELECT ALL + COALESCE ( 34, - col1 * - col0 + + + 60 ), 32 AS col1 FROM tab0 cor0 GROUP BY col2, col0 HAVING + 30 > - col0 * 14 ---- 34 32 34 32 | > | 54029 54030 54031 54032 54033 54034 54035 54036 54037 54038 54039 54040 54041 54042 54043 | SELECT col0 FROM tab0 GROUP BY col0 HAVING NOT ( NOT + 55 * 56 <= NULL ) ---- query I rowsort SELECT - col1 FROM tab0 AS cor0 WHERE NULL IN ( - col1 ) GROUP BY col0, col1 ---- skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query II rowsort SELECT ALL + COALESCE ( 34, - col1 * - col0 + + + 60 ), 32 AS col1 FROM tab0 cor0 GROUP BY col2, col0 HAVING + 30 > - col0 * 14 ---- 34 32 34 32 |
︙ | ︙ | |||
53890 53891 53892 53893 53894 53895 53896 53897 53898 53899 53900 53901 53902 53903 | SELECT - col2 / col2 * - 44 / - col1 AS col1 FROM tab0 GROUP BY col2, col2, col1 HAVING NULL < + + col2 ---- query I rowsort SELECT col2 AS col0 FROM tab1 AS cor0 GROUP BY col2, col2 HAVING - 33 = + col2 ---- query I rowsort SELECT - COALESCE ( - 72, - + col0 * - - col2 + - + col1 ) FROM tab1 GROUP BY col1 ---- 72 72 72 | > | 54062 54063 54064 54065 54066 54067 54068 54069 54070 54071 54072 54073 54074 54075 54076 | SELECT - col2 / col2 * - 44 / - col1 AS col1 FROM tab0 GROUP BY col2, col2, col1 HAVING NULL < + + col2 ---- query I rowsort SELECT col2 AS col0 FROM tab1 AS cor0 GROUP BY col2, col2 HAVING - 33 = + col2 ---- skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT - COALESCE ( - 72, - + col0 * - - col2 + - + col1 ) FROM tab1 GROUP BY col1 ---- 72 72 72 |
︙ | ︙ | |||
54064 54065 54066 54067 54068 54069 54070 54071 54072 54073 54074 54075 54076 54077 54078 54079 54080 54081 | onlyif mysql # CAST syntax: SIGNED type: query I rowsort label-7733 SELECT col1 AS col2 FROM tab2 GROUP BY col1 HAVING NULL BETWEEN ( - col1 / CAST( col2 AS SIGNED ) ) AND ( 13 ) ---- skipif mysql # not compatible query I rowsort label-7733 SELECT col1 AS col2 FROM tab2 GROUP BY col1 HAVING NULL BETWEEN ( - col1 / CAST ( col2 AS INTEGER ) ) AND ( 13 ) ---- query I rowsort SELECT - COALESCE ( + 0, col1 ) FROM tab1 GROUP BY col2 HAVING NOT NULL > NULL ---- query I rowsort SELECT 66 FROM tab2 GROUP BY col2 ---- | > > | 54237 54238 54239 54240 54241 54242 54243 54244 54245 54246 54247 54248 54249 54250 54251 54252 54253 54254 54255 54256 | onlyif mysql # CAST syntax: SIGNED type: query I rowsort label-7733 SELECT col1 AS col2 FROM tab2 GROUP BY col1 HAVING NULL BETWEEN ( - col1 / CAST( col2 AS SIGNED ) ) AND ( 13 ) ---- skipif mysql # not compatible skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort label-7733 SELECT col1 AS col2 FROM tab2 GROUP BY col1 HAVING NULL BETWEEN ( - col1 / CAST ( col2 AS INTEGER ) ) AND ( 13 ) ---- skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT - COALESCE ( + 0, col1 ) FROM tab1 GROUP BY col2 HAVING NOT NULL > NULL ---- query I rowsort SELECT 66 FROM tab2 GROUP BY col2 ---- |
︙ | ︙ | |||
54300 54301 54302 54303 54304 54305 54306 54307 54308 54309 54310 54311 54312 54313 | NULL 22 NULL 28 NULL 82 query I rowsort SELECT COALESCE ( 89, + col2 ) FROM tab0 cor0 GROUP BY col1 ---- 89 89 query I rowsort | > | 54475 54476 54477 54478 54479 54480 54481 54482 54483 54484 54485 54486 54487 54488 54489 | NULL 22 NULL 28 NULL 82 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT COALESCE ( 89, + col2 ) FROM tab0 cor0 GROUP BY col1 ---- 89 89 query I rowsort |
︙ | ︙ | |||
55610 55611 55612 55613 55614 55615 55616 55617 55618 55619 55620 55621 55622 55623 | -3364 -3364 -6241 -6241 -7569 -7569 query II rowsort SELECT 36 * + + 81 col1, + col2 FROM tab1 GROUP BY col2 ---- 2916 45 2916 71 | > | 55786 55787 55788 55789 55790 55791 55792 55793 55794 55795 55796 55797 55798 55799 55800 | -3364 -3364 -6241 -6241 -7569 -7569 skipif postgresql # PostgreSQL requires AS when renaming output columns query II rowsort SELECT 36 * + + 81 col1, + col2 FROM tab1 GROUP BY col2 ---- 2916 45 2916 71 |
︙ | ︙ | |||
56314 56315 56316 56317 56318 56319 56320 56321 56322 56323 56324 56325 56326 56327 | onlyif mysql # CAST syntax: SIGNED type: DECIMAL type: query II rowsort label-8045 SELECT - + 63 + - 36 AS col2, + NULLIF ( - CAST( NULL AS SIGNED ), + col2 ) + - + col0 / - 32 / + col0 FROM tab2 AS cor0 GROUP BY col0 HAVING NOT + CAST( NULL AS DECIMAL ) > ( - + 7 ) ---- skipif mysql # not compatible query II rowsort label-8045 SELECT - + 63 + - 36 AS col2, + NULLIF ( - CAST ( NULL AS INTEGER ), + col2 ) + - + col0 / - 32 / + col0 FROM tab2 AS cor0 GROUP BY col0 HAVING NOT + CAST ( NULL AS REAL ) > ( - + 7 ) ---- query I rowsort SELECT 91 FROM tab2 GROUP BY col2 ---- | > | 56491 56492 56493 56494 56495 56496 56497 56498 56499 56500 56501 56502 56503 56504 56505 | onlyif mysql # CAST syntax: SIGNED type: DECIMAL type: query II rowsort label-8045 SELECT - + 63 + - 36 AS col2, + NULLIF ( - CAST( NULL AS SIGNED ), + col2 ) + - + col0 / - 32 / + col0 FROM tab2 AS cor0 GROUP BY col0 HAVING NOT + CAST( NULL AS DECIMAL ) > ( - + 7 ) ---- skipif mysql # not compatible skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query II rowsort label-8045 SELECT - + 63 + - 36 AS col2, + NULLIF ( - CAST ( NULL AS INTEGER ), + col2 ) + - + col0 / - 32 / + col0 FROM tab2 AS cor0 GROUP BY col0 HAVING NOT + CAST ( NULL AS REAL ) > ( - + 7 ) ---- query I rowsort SELECT 91 FROM tab2 GROUP BY col2 ---- |
︙ | ︙ | |||
56385 56386 56387 56388 56389 56390 56391 56392 56393 56394 56395 56396 56397 56398 | SELECT ALL - col1 AS col1 FROM tab1 AS cor0 WHERE NOT ( - col1 + + col2 ) NOT BETWEEN + col0 AND + col2 GROUP BY col2, col1 ---- query I rowsort SELECT DISTINCT + - 73 AS col2 FROM tab2 AS cor0 WHERE NOT ( NULL ) IS NULL GROUP BY col2, col0 ---- query I rowsort SELECT ALL + 53 * + 8 + col1 * + 13 - - COALESCE ( + 83, - col0, - col1 * + 59 ) AS col2 FROM tab0 GROUP BY col1, col1, col1 HAVING NOT NULL IS NOT NULL ---- 1560 507 query I rowsort | > | 56563 56564 56565 56566 56567 56568 56569 56570 56571 56572 56573 56574 56575 56576 56577 | SELECT ALL - col1 AS col1 FROM tab1 AS cor0 WHERE NOT ( - col1 + + col2 ) NOT BETWEEN + col0 AND + col2 GROUP BY col2, col1 ---- query I rowsort SELECT DISTINCT + - 73 AS col2 FROM tab2 AS cor0 WHERE NOT ( NULL ) IS NULL GROUP BY col2, col0 ---- skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT ALL + 53 * + 8 + col1 * + 13 - - COALESCE ( + 83, - col0, - col1 * + 59 ) AS col2 FROM tab0 GROUP BY col1, col1, col1 HAVING NOT NULL IS NOT NULL ---- 1560 507 query I rowsort |
︙ | ︙ | |||
56424 56425 56426 56427 56428 56429 56430 56431 56432 56433 56434 56435 56436 56437 | SELECT ALL + ( + ( + COALESCE ( CAST( + 0 AS SIGNED ), + col1 ) ) ) - - 96 AS col1 FROM tab0 AS cor0 GROUP BY col2 ---- 96 96 96 skipif mysql # not compatible query I rowsort label-8061 SELECT ALL + ( + ( + COALESCE ( CAST ( + 0 AS INTEGER ), + col1 ) ) ) - - 96 AS col1 FROM tab0 AS cor0 GROUP BY col2 ---- 96 96 96 | > | 56603 56604 56605 56606 56607 56608 56609 56610 56611 56612 56613 56614 56615 56616 56617 | SELECT ALL + ( + ( + COALESCE ( CAST( + 0 AS SIGNED ), + col1 ) ) ) - - 96 AS col1 FROM tab0 AS cor0 GROUP BY col2 ---- 96 96 96 skipif mysql # not compatible skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort label-8061 SELECT ALL + ( + ( + COALESCE ( CAST ( + 0 AS INTEGER ), + col1 ) ) ) - - 96 AS col1 FROM tab0 AS cor0 GROUP BY col2 ---- 96 96 96 |
︙ | ︙ | |||
56727 56728 56729 56730 56731 56732 56733 56734 56735 56736 56737 56738 56739 56740 | query I rowsort SELECT - ( 86 ) FROM tab0 GROUP BY col2, col1 ---- -86 -86 -86 query II rowsort SELECT ALL + col1 col2, + 14 AS col0 FROM tab0 AS cor0 WHERE NOT ( NOT + col2 IS NULL ) GROUP BY col1 HAVING NOT 59 IS NULL ---- query I rowsort SELECT 69 AS col2 FROM tab1 AS cor0 GROUP BY col0 ---- | > | 56907 56908 56909 56910 56911 56912 56913 56914 56915 56916 56917 56918 56919 56920 56921 | query I rowsort SELECT - ( 86 ) FROM tab0 GROUP BY col2, col1 ---- -86 -86 -86 skipif postgresql # PostgreSQL requires AS when renaming output columns query II rowsort SELECT ALL + col1 col2, + 14 AS col0 FROM tab0 AS cor0 WHERE NOT ( NOT + col2 IS NULL ) GROUP BY col1 HAVING NOT 59 IS NULL ---- query I rowsort SELECT 69 AS col2 FROM tab1 AS cor0 GROUP BY col0 ---- |
︙ | ︙ | |||
58112 58113 58114 58115 58116 58117 58118 58119 58120 58121 58122 58123 58124 58125 | -4203 91 -4250 92 -631 15 query I rowsort SELECT ALL - 72 AS col2 FROM tab2 AS cor0 GROUP BY col0 HAVING - 49 NOT BETWEEN ( - 46 ) AND - + 47 + - + col2 ---- -72 -72 -72 | > | 58293 58294 58295 58296 58297 58298 58299 58300 58301 58302 58303 58304 58305 58306 58307 | -4203 91 -4250 92 -631 15 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT ALL - 72 AS col2 FROM tab2 AS cor0 GROUP BY col0 HAVING - 49 NOT BETWEEN ( - 46 ) AND - + 47 + - + col2 ---- -72 -72 -72 |
︙ | ︙ | |||
58483 58484 58485 58486 58487 58488 58489 58490 58491 58492 58493 58494 58495 58496 | onlyif mysql # CAST syntax: SIGNED type: query III rowsort label-8342 SELECT ALL - + col0 col1, - col0 * - col0 * - col0 AS col1, + - 81 - 18 AS col2 FROM tab2 AS cor0 GROUP BY col0 HAVING + CAST( + + 36 AS SIGNED ) IS NULL ---- skipif mysql # not compatible query III rowsort label-8342 SELECT ALL - + col0 col1, - col0 * - col0 * - col0 AS col1, + - 81 - 18 AS col2 FROM tab2 AS cor0 GROUP BY col0 HAVING + CAST ( + + 36 AS INTEGER ) IS NULL ---- onlyif mysql # DIV for integer division: query I rowsort label-8343 SELECT - + col1 DIV + col1 + col1 col0 FROM tab2 AS cor0 GROUP BY col1 | > | 58665 58666 58667 58668 58669 58670 58671 58672 58673 58674 58675 58676 58677 58678 58679 | onlyif mysql # CAST syntax: SIGNED type: query III rowsort label-8342 SELECT ALL - + col0 col1, - col0 * - col0 * - col0 AS col1, + - 81 - 18 AS col2 FROM tab2 AS cor0 GROUP BY col0 HAVING + CAST( + + 36 AS SIGNED ) IS NULL ---- skipif mysql # not compatible skipif postgresql # PostgreSQL requires AS when renaming output columns query III rowsort label-8342 SELECT ALL - + col0 col1, - col0 * - col0 * - col0 AS col1, + - 81 - 18 AS col2 FROM tab2 AS cor0 GROUP BY col0 HAVING + CAST ( + + 36 AS INTEGER ) IS NULL ---- onlyif mysql # DIV for integer division: query I rowsort label-8343 SELECT - + col1 DIV + col1 + col1 col0 FROM tab2 AS cor0 GROUP BY col1 |
︙ | ︙ | |||
58837 58838 58839 58840 58841 58842 58843 58844 58845 58846 58847 58848 58849 58850 | onlyif mysql # CAST syntax: SIGNED type: query II rowsort label-8387 SELECT ALL col0, - col0 AS col1 FROM tab0 GROUP BY col0 HAVING NULL = col0 + + col1 / + CAST( NULL AS SIGNED ) ---- skipif mysql # not compatible query II rowsort label-8387 SELECT ALL col0, - col0 AS col1 FROM tab0 GROUP BY col0 HAVING NULL = col0 + + col1 / + CAST ( NULL AS INTEGER ) ---- onlyif mysql # CAST syntax: SIGNED type: query II rowsort label-8388 SELECT ALL - col0 + col0 AS col1, CAST( + 32 AS SIGNED ) col2 FROM tab1 cor0 GROUP BY col0 | > | 59020 59021 59022 59023 59024 59025 59026 59027 59028 59029 59030 59031 59032 59033 59034 | onlyif mysql # CAST syntax: SIGNED type: query II rowsort label-8387 SELECT ALL col0, - col0 AS col1 FROM tab0 GROUP BY col0 HAVING NULL = col0 + + col1 / + CAST( NULL AS SIGNED ) ---- skipif mysql # not compatible skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query II rowsort label-8387 SELECT ALL col0, - col0 AS col1 FROM tab0 GROUP BY col0 HAVING NULL = col0 + + col1 / + CAST ( NULL AS INTEGER ) ---- onlyif mysql # CAST syntax: SIGNED type: query II rowsort label-8388 SELECT ALL - col0 + col0 AS col1, CAST( + 32 AS SIGNED ) col2 FROM tab1 cor0 GROUP BY col0 |
︙ | ︙ | |||
59287 59288 59289 59290 59291 59292 59293 59294 59295 59296 59297 59298 59299 59300 | NULL NULL query I rowsort SELECT NULLIF ( - 6, + + col0 ) AS col2 FROM tab2 AS cor0 WHERE 41 IS NULL GROUP BY col2, col0 ---- query II rowsort SELECT + col0, col0 / - col0 AS col2 FROM tab1 AS cor0 GROUP BY col0 HAVING NOT col2 NOT BETWEEN NULL AND NULL ---- query I rowsort SELECT - ( col2 ) AS col2 FROM tab2 AS cor0 GROUP BY col2 ---- | > | 59471 59472 59473 59474 59475 59476 59477 59478 59479 59480 59481 59482 59483 59484 59485 | NULL NULL query I rowsort SELECT NULLIF ( - 6, + + col0 ) AS col2 FROM tab2 AS cor0 WHERE 41 IS NULL GROUP BY col2, col0 ---- skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query II rowsort SELECT + col0, col0 / - col0 AS col2 FROM tab1 AS cor0 GROUP BY col0 HAVING NOT col2 NOT BETWEEN NULL AND NULL ---- query I rowsort SELECT - ( col2 ) AS col2 FROM tab2 AS cor0 GROUP BY col2 ---- |
︙ | ︙ | |||
59421 59422 59423 59424 59425 59426 59427 59428 59429 59430 59431 59432 59433 59434 | query I rowsort SELECT - 36 + + 65 FROM tab0 AS cor0 GROUP BY col0 ---- 29 29 29 query I rowsort SELECT + + 82 + - col1 + + - 6 - COALESCE ( + 79, 34 + - col2 ) AS col2 FROM tab2 AS cor0 WHERE NOT ( NULL ) IS NOT NULL GROUP BY col1 ---- -44 -62 -64 | > | 59606 59607 59608 59609 59610 59611 59612 59613 59614 59615 59616 59617 59618 59619 59620 | query I rowsort SELECT - 36 + + 65 FROM tab0 AS cor0 GROUP BY col0 ---- 29 29 29 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT + + 82 + - col1 + + - 6 - COALESCE ( + 79, 34 + - col2 ) AS col2 FROM tab2 AS cor0 WHERE NOT ( NULL ) IS NOT NULL GROUP BY col1 ---- -44 -62 -64 |
︙ | ︙ | |||
59463 59464 59465 59466 59467 59468 59469 59470 59471 59472 59473 59474 59475 59476 | SELECT DISTINCT + col2 * + + CAST ( NULL AS INTEGER ) FROM tab2 GROUP BY col2, col1 HAVING NOT NULL IS NULL ---- query I rowsort SELECT + col1 - + 53 / + 34 FROM tab1 WHERE NULL IS NULL GROUP BY col1 HAVING + 8 = NULL ---- query II rowsort SELECT col2 col2, 46 + + col2 + + + col2 AS col0 FROM tab1 GROUP BY col2, col2 ---- 45 136 71 188 | > | 59649 59650 59651 59652 59653 59654 59655 59656 59657 59658 59659 59660 59661 59662 59663 | SELECT DISTINCT + col2 * + + CAST ( NULL AS INTEGER ) FROM tab2 GROUP BY col2, col1 HAVING NOT NULL IS NULL ---- query I rowsort SELECT + col1 - + 53 / + 34 FROM tab1 WHERE NULL IS NULL GROUP BY col1 HAVING + 8 = NULL ---- skipif postgresql # PostgreSQL requires AS when renaming output columns query II rowsort SELECT col2 col2, 46 + + col2 + + + col2 AS col0 FROM tab1 GROUP BY col2, col2 ---- 45 136 71 188 |
︙ | ︙ | |||
59564 59565 59566 59567 59568 59569 59570 59571 59572 59573 59574 59575 59576 59577 | query I rowsort SELECT ALL col0 FROM tab0 GROUP BY col0, col0, col2 HAVING NULL IS NULL ---- 26 43 83 query I rowsort SELECT + CASE - - 56 WHEN + 25 THEN + - col2 * + + 18 * + 96 + - ( + + 15 ) * col2 - + col2 * - col0 + + col0 END FROM tab1 AS cor0 GROUP BY col2 ---- NULL NULL NULL | > | 59751 59752 59753 59754 59755 59756 59757 59758 59759 59760 59761 59762 59763 59764 59765 | query I rowsort SELECT ALL col0 FROM tab0 GROUP BY col0, col0, col2 HAVING NULL IS NULL ---- 26 43 83 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT + CASE - - 56 WHEN + 25 THEN + - col2 * + + 18 * + 96 + - ( + + 15 ) * col2 - + col2 * - col0 + + col0 END FROM tab1 AS cor0 GROUP BY col2 ---- NULL NULL NULL |
︙ | ︙ | |||
59866 59867 59868 59869 59870 59871 59872 59873 59874 59875 59876 59877 59878 59879 | query I rowsort SELECT DISTINCT col1 + 83 FROM tab0 AS cor0 GROUP BY col1 ---- 164 83 query II rowsort SELECT ALL + col1 col1, - 69 AS col1 FROM tab0 AS cor0 GROUP BY col1 HAVING ( - 79 ) = ( NULL ) ---- query I rowsort SELECT col0 * - - col1 AS col0 FROM tab2 GROUP BY col0, col1 ---- | > | 60054 60055 60056 60057 60058 60059 60060 60061 60062 60063 60064 60065 60066 60067 60068 | query I rowsort SELECT DISTINCT col1 + 83 FROM tab0 AS cor0 GROUP BY col1 ---- 164 83 skipif postgresql # PostgreSQL requires AS when renaming output columns query II rowsort SELECT ALL + col1 col1, - 69 AS col1 FROM tab0 AS cor0 GROUP BY col1 HAVING ( - 79 ) = ( NULL ) ---- query I rowsort SELECT col0 * - - col1 AS col0 FROM tab2 GROUP BY col0, col1 ---- |
︙ | ︙ | |||
61663 61664 61665 61666 61667 61668 61669 61670 61671 61672 61673 61674 61675 61676 | query I rowsort SELECT + col0 FROM tab1 AS cor0 GROUP BY col0 HAVING ( - 51 ) IS NOT NULL ---- 22 28 82 query I rowsort SELECT + 50 AS col0 FROM tab0 AS cor0 GROUP BY col1, col2 HAVING NOT ( NULL ) NOT BETWEEN ( col2 ) AND + col0 + 13 * col0 ---- query I rowsort SELECT - ( - + col2 ) AS col2 FROM tab1 AS cor0 GROUP BY col2, col2 ---- | > | 61852 61853 61854 61855 61856 61857 61858 61859 61860 61861 61862 61863 61864 61865 61866 | query I rowsort SELECT + col0 FROM tab1 AS cor0 GROUP BY col0 HAVING ( - 51 ) IS NOT NULL ---- 22 28 82 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT + 50 AS col0 FROM tab0 AS cor0 GROUP BY col1, col2 HAVING NOT ( NULL ) NOT BETWEEN ( col2 ) AND + col0 + 13 * col0 ---- query I rowsort SELECT - ( - + col2 ) AS col2 FROM tab1 AS cor0 GROUP BY col2, col2 ---- |
︙ | ︙ | |||
61709 61710 61711 61712 61713 61714 61715 61716 61717 61718 61719 61720 61721 61722 61723 61724 61725 61726 61727 61728 61729 61730 61731 61732 61733 61734 61735 61736 61737 61738 61739 61740 61741 61742 61743 61744 61745 61746 | onlyif mysql # CAST syntax: SIGNED type: query I rowsort label-8761 SELECT CAST( NULL AS SIGNED ) AS col2 FROM tab0 GROUP BY col1 HAVING NOT ( col2 <= NULL ) ---- skipif mysql # not compatible query I rowsort label-8761 SELECT CAST ( NULL AS INTEGER ) AS col2 FROM tab0 GROUP BY col1 HAVING NOT ( col2 <= NULL ) ---- query I rowsort SELECT + CASE WHEN NOT NULL NOT BETWEEN NULL AND NULL THEN - col1 ELSE NULL END FROM tab2 GROUP BY col0 ---- NULL NULL NULL query I rowsort SELECT - 99 FROM tab0 GROUP BY col1 HAVING NULL IS NULL ---- -99 -99 onlyif mysql # CAST syntax: SIGNED type: query I rowsort label-8764 SELECT DISTINCT - 9 + COALESCE ( + - 50, col1, col0 * CAST( NULL AS SIGNED ) ) FROM tab1 WHERE NOT NULL IS NOT NULL GROUP BY col0, col0 ---- -59 skipif mysql # not compatible query I rowsort label-8764 SELECT DISTINCT - 9 + COALESCE ( + - 50, col1, col0 * CAST ( NULL AS INTEGER ) ) FROM tab1 WHERE NOT NULL IS NOT NULL GROUP BY col0, col0 ---- -59 query I rowsort SELECT + col2 AS col0 FROM tab0 GROUP BY col2 HAVING - + col2 BETWEEN ( NULL ) AND NULL | > > > | 61899 61900 61901 61902 61903 61904 61905 61906 61907 61908 61909 61910 61911 61912 61913 61914 61915 61916 61917 61918 61919 61920 61921 61922 61923 61924 61925 61926 61927 61928 61929 61930 61931 61932 61933 61934 61935 61936 61937 61938 61939 | onlyif mysql # CAST syntax: SIGNED type: query I rowsort label-8761 SELECT CAST( NULL AS SIGNED ) AS col2 FROM tab0 GROUP BY col1 HAVING NOT ( col2 <= NULL ) ---- skipif mysql # not compatible skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort label-8761 SELECT CAST ( NULL AS INTEGER ) AS col2 FROM tab0 GROUP BY col1 HAVING NOT ( col2 <= NULL ) ---- skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT + CASE WHEN NOT NULL NOT BETWEEN NULL AND NULL THEN - col1 ELSE NULL END FROM tab2 GROUP BY col0 ---- NULL NULL NULL query I rowsort SELECT - 99 FROM tab0 GROUP BY col1 HAVING NULL IS NULL ---- -99 -99 onlyif mysql # CAST syntax: SIGNED type: query I rowsort label-8764 SELECT DISTINCT - 9 + COALESCE ( + - 50, col1, col0 * CAST( NULL AS SIGNED ) ) FROM tab1 WHERE NOT NULL IS NOT NULL GROUP BY col0, col0 ---- -59 skipif mysql # not compatible skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort label-8764 SELECT DISTINCT - 9 + COALESCE ( + - 50, col1, col0 * CAST ( NULL AS INTEGER ) ) FROM tab1 WHERE NOT NULL IS NOT NULL GROUP BY col0, col0 ---- -59 query I rowsort SELECT + col2 AS col0 FROM tab0 GROUP BY col2 HAVING - + col2 BETWEEN ( NULL ) AND NULL |
︙ | ︙ | |||
62280 62281 62282 62283 62284 62285 62286 62287 62288 62289 62290 62291 62292 62293 62294 62295 62296 62297 62298 62299 62300 62301 62302 62303 62304 | -22 22 -28 28 -82 82 query II rowsort SELECT ALL ( + col1 ) AS col0, col1 AS col2 FROM tab0 AS cor0 WHERE NOT ( + ( + col0 ) ) IS NULL GROUP BY col1 HAVING ( NOT col2 * + 27 * + - 3 <> NULL ) ---- query I rowsort SELECT - 92 - + + 12 AS col1 FROM tab2 AS cor0 GROUP BY col2, col0 ---- -104 -104 -104 query I rowsort SELECT + col0 * COALESCE ( 0, 77 * NULLIF ( + col0, - col0 ) + - 30, + col0, col1 * + 49 ) FROM tab1 WHERE NOT 27 * + - col1 IS NULL GROUP BY col0, col0 HAVING NOT + 81 IS NOT NULL ---- query I rowsort SELECT DISTINCT - - 44 AS col2 FROM tab1 WHERE NULL < NULL GROUP BY col1, col0 ---- | > > | 62473 62474 62475 62476 62477 62478 62479 62480 62481 62482 62483 62484 62485 62486 62487 62488 62489 62490 62491 62492 62493 62494 62495 62496 62497 62498 62499 | -22 22 -28 28 -82 82 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query II rowsort SELECT ALL ( + col1 ) AS col0, col1 AS col2 FROM tab0 AS cor0 WHERE NOT ( + ( + col0 ) ) IS NULL GROUP BY col1 HAVING ( NOT col2 * + 27 * + - 3 <> NULL ) ---- query I rowsort SELECT - 92 - + + 12 AS col1 FROM tab2 AS cor0 GROUP BY col2, col0 ---- -104 -104 -104 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT + col0 * COALESCE ( 0, 77 * NULLIF ( + col0, - col0 ) + - 30, + col0, col1 * + 49 ) FROM tab1 WHERE NOT 27 * + - col1 IS NULL GROUP BY col0, col0 HAVING NOT + 81 IS NOT NULL ---- query I rowsort SELECT DISTINCT - - 44 AS col2 FROM tab1 WHERE NULL < NULL GROUP BY col1, col0 ---- |
︙ | ︙ | |||
62823 62824 62825 62826 62827 62828 62829 62830 62831 62832 62833 62834 62835 62836 | skipif mysql # not compatible query I rowsort label-8919 SELECT DISTINCT + 73 / 85 FROM tab0 AS cor0 GROUP BY col1 HAVING NOT NULL IS NOT NULL OR NOT NULL = NULL ---- 0 query II rowsort SELECT col0 col2, col0 AS col0 FROM tab0 AS cor0 GROUP BY col0 ---- 26 26 43 43 | > | 63018 63019 63020 63021 63022 63023 63024 63025 63026 63027 63028 63029 63030 63031 63032 | skipif mysql # not compatible query I rowsort label-8919 SELECT DISTINCT + 73 / 85 FROM tab0 AS cor0 GROUP BY col1 HAVING NOT NULL IS NOT NULL OR NOT NULL = NULL ---- 0 skipif postgresql # PostgreSQL requires AS when renaming output columns query II rowsort SELECT col0 col2, col0 AS col0 FROM tab0 AS cor0 GROUP BY col0 ---- 26 26 43 43 |
︙ | ︙ | |||
62919 62920 62921 62922 62923 62924 62925 62926 62927 62928 62929 62930 62931 62932 | query I rowsort SELECT ALL - col1 FROM tab1 GROUP BY col1, col1, col2 ---- -44 -57 -6 query II rowsort SELECT DISTINCT + 68 col2, + col0 FROM tab0 AS cor0 GROUP BY col0 ---- 68 26 68 43 | > | 63115 63116 63117 63118 63119 63120 63121 63122 63123 63124 63125 63126 63127 63128 63129 | query I rowsort SELECT ALL - col1 FROM tab1 GROUP BY col1, col1, col2 ---- -44 -57 -6 skipif postgresql # PostgreSQL requires AS when renaming output columns query II rowsort SELECT DISTINCT + 68 col2, + col0 FROM tab0 AS cor0 GROUP BY col0 ---- 68 26 68 43 |
︙ | ︙ | |||
63071 63072 63073 63074 63075 63076 63077 63078 63079 63080 63081 63082 63083 63084 | NULL 43 NULL 84 NULL skipif mysql # not compatible query II rowsort label-8953 SELECT DISTINCT + col2 + 5 + + col1 col0, 50 - - 34 * ( + CAST ( NULL AS INTEGER ) ) AS col1 FROM tab0 GROUP BY col2, col1 ---- 110 NULL 43 NULL | > | 63268 63269 63270 63271 63272 63273 63274 63275 63276 63277 63278 63279 63280 63281 63282 | NULL 43 NULL 84 NULL skipif mysql # not compatible skipif postgresql # PostgreSQL requires AS when renaming output columns query II rowsort label-8953 SELECT DISTINCT + col2 + 5 + + col1 col0, 50 - - 34 * ( + CAST ( NULL AS INTEGER ) ) AS col1 FROM tab0 GROUP BY col2, col1 ---- 110 NULL 43 NULL |
︙ | ︙ | |||
63857 63858 63859 63860 63861 63862 63863 63864 63865 63866 63867 63868 63869 63870 | query I rowsort SELECT ALL 38 * + col1 + + + 6 FROM tab2 GROUP BY col1 HAVING NOT NULL IS NOT NULL ---- 1564 2248 2324 query II rowsort SELECT ALL - col1 col0, col1 AS col2 FROM tab0 AS cor0 GROUP BY col1 HAVING NOT NULL IS NOT NULL ---- -81 81 0 0 | > | 64055 64056 64057 64058 64059 64060 64061 64062 64063 64064 64065 64066 64067 64068 64069 | query I rowsort SELECT ALL 38 * + col1 + + + 6 FROM tab2 GROUP BY col1 HAVING NOT NULL IS NOT NULL ---- 1564 2248 2324 skipif postgresql # PostgreSQL requires AS when renaming output columns query II rowsort SELECT ALL - col1 col0, col1 AS col2 FROM tab0 AS cor0 GROUP BY col1 HAVING NOT NULL IS NOT NULL ---- -81 81 0 0 |
︙ | ︙ | |||
64412 64413 64414 64415 64416 64417 64418 64419 64420 64421 64422 64423 64424 64425 | query I rowsort SELECT - 98 AS col0 FROM tab0 AS cor0 GROUP BY col2 HAVING - col2 <= + 36 ---- -98 -98 -98 query II rowsort SELECT ALL col1 AS col0, col1 FROM tab0 GROUP BY col1, col1 HAVING NOT NULL < col0 ---- query I rowsort SELECT col0 - col2 * + 71 FROM tab1 GROUP BY col2, col0 HAVING NOT - col0 > NULL ---- | > | 64611 64612 64613 64614 64615 64616 64617 64618 64619 64620 64621 64622 64623 64624 64625 | query I rowsort SELECT - 98 AS col0 FROM tab0 AS cor0 GROUP BY col2 HAVING - col2 <= + 36 ---- -98 -98 -98 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query II rowsort SELECT ALL col1 AS col0, col1 FROM tab0 GROUP BY col1, col1 HAVING NOT NULL < col0 ---- query I rowsort SELECT col0 - col2 * + 71 FROM tab1 GROUP BY col2, col0 HAVING NOT - col0 > NULL ---- |
︙ | ︙ | |||
64480 64481 64482 64483 64484 64485 64486 64487 64488 64489 64490 64491 64492 64493 | -2 skipif postgresql # PostgreSQL requires AS when renaming output columns query I rowsort SELECT ALL - col1 col2 FROM tab0 WHERE NULL NOT BETWEEN + ( ( - col1 ) ) AND + - col0 GROUP BY col0, col1, col0 ---- query II rowsort SELECT ALL col2 col0, 12 AS col1 FROM tab2 AS cor0 WHERE - col0 < NULL GROUP BY col2 HAVING NULL IS NULL ---- onlyif mysql # CAST syntax: SIGNED type: query I rowsort label-9155 SELECT ALL CAST( NULL AS SIGNED ) FROM tab1 GROUP BY col0 | > | 64680 64681 64682 64683 64684 64685 64686 64687 64688 64689 64690 64691 64692 64693 64694 | -2 skipif postgresql # PostgreSQL requires AS when renaming output columns query I rowsort SELECT ALL - col1 col2 FROM tab0 WHERE NULL NOT BETWEEN + ( ( - col1 ) ) AND + - col0 GROUP BY col0, col1, col0 ---- skipif postgresql # PostgreSQL requires AS when renaming output columns query II rowsort SELECT ALL col2 col0, 12 AS col1 FROM tab2 AS cor0 WHERE - col0 < NULL GROUP BY col2 HAVING NULL IS NULL ---- onlyif mysql # CAST syntax: SIGNED type: query I rowsort label-9155 SELECT ALL CAST( NULL AS SIGNED ) FROM tab1 GROUP BY col0 |
︙ | ︙ | |||
65127 65128 65129 65130 65131 65132 65133 65134 65135 65136 65137 65138 65139 65140 | -83 -83 query I rowsort SELECT col1 FROM tab2 GROUP BY col1 HAVING NOT ( - col1 + - ( + 17 ) ) IS NOT NULL ---- query I rowsort SELECT ALL - COALESCE ( - + 18, + - 49, + - col2 + - col2 * 99 ) * 70 FROM tab1 GROUP BY col0 HAVING + 33 IS NULL ---- skipif postgresql # PostgreSQL requires AS when renaming output columns query I rowsort SELECT ( + 72 ) + - col1 col2 FROM tab0 GROUP BY col1 | > | 65328 65329 65330 65331 65332 65333 65334 65335 65336 65337 65338 65339 65340 65341 65342 | -83 -83 query I rowsort SELECT col1 FROM tab2 GROUP BY col1 HAVING NOT ( - col1 + - ( + 17 ) ) IS NOT NULL ---- skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT ALL - COALESCE ( - + 18, + - 49, + - col2 + - col2 * 99 ) * 70 FROM tab1 GROUP BY col0 HAVING + 33 IS NULL ---- skipif postgresql # PostgreSQL requires AS when renaming output columns query I rowsort SELECT ( + 72 ) + - col1 col2 FROM tab0 GROUP BY col1 |
︙ | ︙ | |||
65160 65161 65162 65163 65164 65165 65166 65167 65168 65169 65170 65171 65172 65173 | query I rowsort SELECT + 81 FROM tab0 GROUP BY col0 ---- 81 81 81 query I rowsort SELECT + - COALESCE ( - ( + 3 ), col0 ) - col1 * NULLIF ( col1, col1 - 24 ) AS col2 FROM tab1 AS cor0 GROUP BY col1 HAVING NOT NULL <> ( NULL ) ---- query I rowsort SELECT ALL 37 AS col1 FROM tab0 GROUP BY col1, col2 ---- | > | 65362 65363 65364 65365 65366 65367 65368 65369 65370 65371 65372 65373 65374 65375 65376 | query I rowsort SELECT + 81 FROM tab0 GROUP BY col0 ---- 81 81 81 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT + - COALESCE ( - ( + 3 ), col0 ) - col1 * NULLIF ( col1, col1 - 24 ) AS col2 FROM tab1 AS cor0 GROUP BY col1 HAVING NOT NULL <> ( NULL ) ---- query I rowsort SELECT ALL 37 AS col1 FROM tab0 GROUP BY col1, col2 ---- |
︙ | ︙ | |||
65428 65429 65430 65431 65432 65433 65434 65435 65436 65437 65438 65439 65440 65441 | onlyif mysql # CAST syntax: SIGNED type: query I rowsort label-9278 SELECT DISTINCT - - CASE WHEN NOT ( NULL ) BETWEEN ( + + 21 ) AND 42 * - CASE - col1 WHEN - col1 * - 20 * - col1 + - 83 THEN NULL ELSE - COALESCE ( CAST( NULL AS SIGNED ), + + 58 + 99 ) * + col1 END THEN + - 84 END AS col2 FROM tab1 cor0 GROUP BY col0 ---- NULL skipif mysql # not compatible query I rowsort label-9278 SELECT DISTINCT - - CASE WHEN NOT ( NULL ) BETWEEN ( + + 21 ) AND 42 * - CASE - col1 WHEN - col1 * - 20 * - col1 + - 83 THEN NULL ELSE - COALESCE ( CAST ( NULL AS INTEGER ), + + 58 + 99 ) * + col1 END THEN + - 84 END AS col2 FROM tab1 cor0 GROUP BY col0 ---- NULL query I rowsort SELECT + 2 * + - col1 + col1 AS col2 FROM tab1 AS cor0 GROUP BY col1 | > | 65631 65632 65633 65634 65635 65636 65637 65638 65639 65640 65641 65642 65643 65644 65645 | onlyif mysql # CAST syntax: SIGNED type: query I rowsort label-9278 SELECT DISTINCT - - CASE WHEN NOT ( NULL ) BETWEEN ( + + 21 ) AND 42 * - CASE - col1 WHEN - col1 * - 20 * - col1 + - 83 THEN NULL ELSE - COALESCE ( CAST( NULL AS SIGNED ), + + 58 + 99 ) * + col1 END THEN + - 84 END AS col2 FROM tab1 cor0 GROUP BY col0 ---- NULL skipif mysql # not compatible skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort label-9278 SELECT DISTINCT - - CASE WHEN NOT ( NULL ) BETWEEN ( + + 21 ) AND 42 * - CASE - col1 WHEN - col1 * - 20 * - col1 + - 83 THEN NULL ELSE - COALESCE ( CAST ( NULL AS INTEGER ), + + 58 + 99 ) * + col1 END THEN + - 84 END AS col2 FROM tab1 cor0 GROUP BY col0 ---- NULL query I rowsort SELECT + 2 * + - col1 + col1 AS col2 FROM tab1 AS cor0 GROUP BY col1 |
︙ | ︙ | |||
65573 65574 65575 65576 65577 65578 65579 65580 65581 65582 65583 65584 65585 65586 | query I rowsort SELECT ALL + + 87 - 12 FROM tab0 AS cor0 GROUP BY col1 ---- 75 75 query I rowsort SELECT ALL + 9 AS col0 FROM tab1 AS cor0 GROUP BY col1 HAVING NOT 13 * - col0 <= NULL ---- skipif postgresql # PostgreSQL requires AS when renaming output columns query II rowsort SELECT - col0 AS col0, + col0 * + 49 - col0 + + ( col0 ) * - col0 + - col0 col1 FROM tab2 AS cor0 GROUP BY col0 | > | 65777 65778 65779 65780 65781 65782 65783 65784 65785 65786 65787 65788 65789 65790 65791 | query I rowsort SELECT ALL + + 87 - 12 FROM tab0 AS cor0 GROUP BY col1 ---- 75 75 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT ALL + 9 AS col0 FROM tab1 AS cor0 GROUP BY col1 HAVING NOT 13 * - col0 <= NULL ---- skipif postgresql # PostgreSQL requires AS when renaming output columns query II rowsort SELECT - col0 AS col0, + col0 * + 49 - col0 + + ( col0 ) * - col0 + - col0 col1 FROM tab2 AS cor0 GROUP BY col0 |
︙ | ︙ | |||
65775 65776 65777 65778 65779 65780 65781 65782 65783 65784 65785 65786 65787 65788 | -5156 -78 query I rowsort SELECT ALL - 22 + + col0 FROM tab2 AS cor0 WHERE + col0 * col0 IS NOT NULL GROUP BY col0 HAVING NOT NULL NOT IN ( col0 ) ---- query I rowsort SELECT - col1 * + - COALESCE ( + 48, + COALESCE ( 27, col2 ) ) + - 76 * ( - col1 + + col1 * col1 ) FROM tab1 AS cor0 GROUP BY col1 ---- -141680 -1992 -239856 | > | 65980 65981 65982 65983 65984 65985 65986 65987 65988 65989 65990 65991 65992 65993 65994 | -5156 -78 query I rowsort SELECT ALL - 22 + + col0 FROM tab2 AS cor0 WHERE + col0 * col0 IS NOT NULL GROUP BY col0 HAVING NOT NULL NOT IN ( col0 ) ---- skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT - col1 * + - COALESCE ( + 48, + COALESCE ( 27, col2 ) ) + - 76 * ( - col1 + + col1 * col1 ) FROM tab1 AS cor0 GROUP BY col1 ---- -141680 -1992 -239856 |
︙ | ︙ | |||
65848 65849 65850 65851 65852 65853 65854 65855 65856 65857 65858 65859 65860 65861 | query I rowsort SELECT DISTINCT col1 col2 FROM tab2 GROUP BY col0, col1, col0 ---- 41 59 61 query I rowsort SELECT - COALESCE ( + 4, + + col0 * 32 ) FROM tab2 AS cor0 GROUP BY col2 ---- -4 -4 -4 | > | 66054 66055 66056 66057 66058 66059 66060 66061 66062 66063 66064 66065 66066 66067 66068 | query I rowsort SELECT DISTINCT col1 col2 FROM tab2 GROUP BY col0, col1, col0 ---- 41 59 61 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT - COALESCE ( + 4, + + col0 * 32 ) FROM tab2 AS cor0 GROUP BY col2 ---- -4 -4 -4 |
︙ | ︙ | |||
65895 65896 65897 65898 65899 65900 65901 65902 65903 65904 65905 65906 65907 65908 | onlyif mysql # CAST syntax: SIGNED type: query II rowsort label-9346 SELECT CAST( NULL AS SIGNED ) + col2 col1, - col2 - - + COALESCE ( 3, + NULLIF ( 47, + 66 / col0 ), - 79 ) AS col2 FROM tab0 AS cor0 GROUP BY col2, col2 HAVING NOT + CAST( + ( + 90 ) AS SIGNED ) >= ( NULL ) ---- skipif mysql # not compatible query II rowsort label-9346 SELECT CAST ( NULL AS INTEGER ) + col2 col1, - col2 - - + COALESCE ( 3, + NULLIF ( 47, + 66 / col0 ), - 79 ) AS col2 FROM tab0 AS cor0 GROUP BY col2, col2 HAVING NOT + CAST ( + ( + 90 ) AS INTEGER ) >= ( NULL ) ---- query I rowsort SELECT - col1 AS col2 FROM tab0 GROUP BY col1 HAVING NOT ( ( NULL IS NULL ) ) ---- | > | 66102 66103 66104 66105 66106 66107 66108 66109 66110 66111 66112 66113 66114 66115 66116 | onlyif mysql # CAST syntax: SIGNED type: query II rowsort label-9346 SELECT CAST( NULL AS SIGNED ) + col2 col1, - col2 - - + COALESCE ( 3, + NULLIF ( 47, + 66 / col0 ), - 79 ) AS col2 FROM tab0 AS cor0 GROUP BY col2, col2 HAVING NOT + CAST( + ( + 90 ) AS SIGNED ) >= ( NULL ) ---- skipif mysql # not compatible skipif postgresql # PostgreSQL requires AS when renaming output columns query II rowsort label-9346 SELECT CAST ( NULL AS INTEGER ) + col2 col1, - col2 - - + COALESCE ( 3, + NULLIF ( 47, + 66 / col0 ), - 79 ) AS col2 FROM tab0 AS cor0 GROUP BY col2, col2 HAVING NOT + CAST ( + ( + 90 ) AS INTEGER ) >= ( NULL ) ---- query I rowsort SELECT - col1 AS col2 FROM tab0 GROUP BY col1 HAVING NOT ( ( NULL IS NULL ) ) ---- |
︙ | ︙ | |||
65986 65987 65988 65989 65990 65991 65992 65993 65994 65995 65996 65997 65998 65999 | SELECT col0 - - + 61 DIV - - COALESCE ( - 35, + 83, - col2 ) FROM tab0 AS cor0 GROUP BY col0 ---- 25 42 82 skipif mysql # not compatible query I rowsort label-9356 SELECT col0 - - + 61 / - - COALESCE ( - 35, + 83, - col2 ) FROM tab0 AS cor0 GROUP BY col0 ---- 25 42 82 | > | 66194 66195 66196 66197 66198 66199 66200 66201 66202 66203 66204 66205 66206 66207 66208 | SELECT col0 - - + 61 DIV - - COALESCE ( - 35, + 83, - col2 ) FROM tab0 AS cor0 GROUP BY col0 ---- 25 42 82 skipif mysql # not compatible skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort label-9356 SELECT col0 - - + 61 / - - COALESCE ( - 35, + 83, - col2 ) FROM tab0 AS cor0 GROUP BY col0 ---- 25 42 82 |
︙ | ︙ | |||
67372 67373 67374 67375 67376 67377 67378 67379 67380 67381 67382 67383 67384 67385 67386 67387 67388 67389 67390 67391 67392 67393 67394 67395 67396 | query I rowsort SELECT ALL + - ( + col0 ) col2 FROM tab1 AS cor0 GROUP BY col1, col0, col0 ---- -22 -28 -82 query I rowsort SELECT - - col0 + - ( + col0 ) + + - CASE WHEN ( + col0 ) < ( NULL ) THEN - col2 END + 97 / col0 FROM tab1 AS cor0 GROUP BY col0 HAVING NOT NULL NOT IN ( - col0 * + col0 ) ---- query I rowsort SELECT col1 * + col1 AS col2 FROM tab1 GROUP BY col2, col1 ---- 1936 3249 36 query II rowsort SELECT DISTINCT - col0 col0, 90 + 62 + 53 + - + col0 * - col0 AS col2 FROM tab2 GROUP BY col0 HAVING NULL IS NOT NULL ---- query I rowsort SELECT - col2 FROM tab0 GROUP BY col1, col2, col1 ---- | > > | 67581 67582 67583 67584 67585 67586 67587 67588 67589 67590 67591 67592 67593 67594 67595 67596 67597 67598 67599 67600 67601 67602 67603 67604 67605 67606 67607 | query I rowsort SELECT ALL + - ( + col0 ) col2 FROM tab1 AS cor0 GROUP BY col1, col0, col0 ---- -22 -28 -82 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT - - col0 + - ( + col0 ) + + - CASE WHEN ( + col0 ) < ( NULL ) THEN - col2 END + 97 / col0 FROM tab1 AS cor0 GROUP BY col0 HAVING NOT NULL NOT IN ( - col0 * + col0 ) ---- query I rowsort SELECT col1 * + col1 AS col2 FROM tab1 GROUP BY col2, col1 ---- 1936 3249 36 skipif postgresql # PostgreSQL requires AS when renaming output columns query II rowsort SELECT DISTINCT - col0 col0, 90 + 62 + 53 + - + col0 * - col0 AS col2 FROM tab2 GROUP BY col0 HAVING NULL IS NOT NULL ---- query I rowsort SELECT - col2 FROM tab0 GROUP BY col1, col2, col1 ---- |
︙ | ︙ | |||
67423 67424 67425 67426 67427 67428 67429 67430 67431 67432 67433 67434 67435 67436 | query I rowsort SELECT - 34 + - 62 FROM tab0 WHERE - + col1 IS NOT NULL GROUP BY col2, col1 ---- -96 -96 -96 query I rowsort SELECT DISTINCT col2 AS col0 FROM tab2 AS cor0 GROUP BY col2, col1 HAVING COALESCE ( COALESCE ( + 24, col0 ), - - NULLIF ( - col1, + col2 ) * 51 + CASE + col0 - - 79 * col1 WHEN + ( - col2 ) THEN NULL ELSE - 5 * col2 END ) > NULL ---- onlyif mysql # CAST syntax: SIGNED type: query I rowsort label-9551 SELECT + 0 / col2 + + + ( CAST( NULL AS SIGNED ) ) * + col2 + - col2 FROM tab2 cor0 GROUP BY col2, col2 | > | 67634 67635 67636 67637 67638 67639 67640 67641 67642 67643 67644 67645 67646 67647 67648 | query I rowsort SELECT - 34 + - 62 FROM tab0 WHERE - + col1 IS NOT NULL GROUP BY col2, col1 ---- -96 -96 -96 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT DISTINCT col2 AS col0 FROM tab2 AS cor0 GROUP BY col2, col1 HAVING COALESCE ( COALESCE ( + 24, col0 ), - - NULLIF ( - col1, + col2 ) * 51 + CASE + col0 - - 79 * col1 WHEN + ( - col2 ) THEN NULL ELSE - 5 * col2 END ) > NULL ---- onlyif mysql # CAST syntax: SIGNED type: query I rowsort label-9551 SELECT + 0 / col2 + + + ( CAST( NULL AS SIGNED ) ) * + col2 + - col2 FROM tab2 cor0 GROUP BY col2, col2 |
︙ | ︙ | |||
68264 68265 68266 68267 68268 68269 68270 68271 68272 68273 68274 68275 68276 68277 | ---- query I rowsort SELECT ALL + 46 FROM tab0 cor0 GROUP BY col1, col2, col0 HAVING - col2 + - - col0 NOT BETWEEN - + col0 AND NULL ---- 46 query I rowsort SELECT DISTINCT - col2 AS col0 FROM tab1 AS cor0 GROUP BY col2 HAVING NOT ( ( NULL ) > - 11 * + - col0 + + ( + col0 ) ) ---- query II rowsort SELECT col0 * + + col0 AS col1, - col1 + col0 AS col1 FROM tab0 AS cor0 GROUP BY col1, col0, col1 ---- | > | 68476 68477 68478 68479 68480 68481 68482 68483 68484 68485 68486 68487 68488 68489 68490 | ---- query I rowsort SELECT ALL + 46 FROM tab0 cor0 GROUP BY col1, col2, col0 HAVING - col2 + - - col0 NOT BETWEEN - + col0 AND NULL ---- 46 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT DISTINCT - col2 AS col0 FROM tab1 AS cor0 GROUP BY col2 HAVING NOT ( ( NULL ) > - 11 * + - col0 + + ( + col0 ) ) ---- query II rowsort SELECT col0 * + + col0 AS col1, - col1 + col0 AS col1 FROM tab0 AS cor0 GROUP BY col1, col0, col1 ---- |
︙ | ︙ | |||
68323 68324 68325 68326 68327 68328 68329 68330 68331 68332 68333 68334 68335 68336 | query I rowsort label-9663 SELECT 41 + 71 - + + 40 * CAST ( NULL AS REAL ) FROM tab2 AS cor0 GROUP BY col2, col2 ---- NULL NULL NULL query II rowsort SELECT - 2 col1, col0 AS col0 FROM tab2 AS cor0 GROUP BY col0, col0 HAVING NOT - 46 IS NULL ---- -2 15 -2 91 | > | 68536 68537 68538 68539 68540 68541 68542 68543 68544 68545 68546 68547 68548 68549 68550 | query I rowsort label-9663 SELECT 41 + 71 - + + 40 * CAST ( NULL AS REAL ) FROM tab2 AS cor0 GROUP BY col2, col2 ---- NULL NULL NULL skipif postgresql # PostgreSQL requires AS when renaming output columns query II rowsort SELECT - 2 col1, col0 AS col0 FROM tab2 AS cor0 GROUP BY col0, col0 HAVING NOT - 46 IS NULL ---- -2 15 -2 91 |
︙ | ︙ | |||
68444 68445 68446 68447 68448 68449 68450 68451 68452 68453 68454 68455 68456 68457 | onlyif mysql # CAST syntax: SIGNED type: DIV for integer division: query III rowsort label-9684 SELECT col0 DIV - - 41 * - col0 col1, + col0 * + col0, - 3 * + CAST( NULL AS SIGNED ) AS col1 FROM tab2 cor0 GROUP BY col0 ---- 9 values hashing to 28d1a296c6990b10de76d21db8c99739 skipif mysql # not compatible query III rowsort label-9684 SELECT col0 / - - 41 * - col0 col1, + col0 * + col0, - 3 * + CAST ( NULL AS INTEGER ) AS col1 FROM tab2 cor0 GROUP BY col0 ---- 9 values hashing to 28d1a296c6990b10de76d21db8c99739 query I rowsort SELECT + 66 + - col1 FROM tab1 AS cor0 GROUP BY col0, col1 HAVING NULL <= - col1 | > | 68658 68659 68660 68661 68662 68663 68664 68665 68666 68667 68668 68669 68670 68671 68672 | onlyif mysql # CAST syntax: SIGNED type: DIV for integer division: query III rowsort label-9684 SELECT col0 DIV - - 41 * - col0 col1, + col0 * + col0, - 3 * + CAST( NULL AS SIGNED ) AS col1 FROM tab2 cor0 GROUP BY col0 ---- 9 values hashing to 28d1a296c6990b10de76d21db8c99739 skipif mysql # not compatible skipif postgresql # PostgreSQL requires AS when renaming output columns query III rowsort label-9684 SELECT col0 / - - 41 * - col0 col1, + col0 * + col0, - 3 * + CAST ( NULL AS INTEGER ) AS col1 FROM tab2 cor0 GROUP BY col0 ---- 9 values hashing to 28d1a296c6990b10de76d21db8c99739 query I rowsort SELECT + 66 + - col1 FROM tab1 AS cor0 GROUP BY col0, col1 HAVING NULL <= - col1 |
︙ | ︙ | |||
69624 69625 69626 69627 69628 69629 69630 69631 69632 69633 69634 69635 69636 69637 | -819 -828 query I rowsort SELECT col1 AS col1 FROM tab0 AS cor0 GROUP BY col1, col0 HAVING NULL <> ( - 52 ) ---- query II rowsort SELECT - col0 col1, + col0 AS col2 FROM tab2 cor0 GROUP BY col0 ---- -15 15 -91 91 | > | 69839 69840 69841 69842 69843 69844 69845 69846 69847 69848 69849 69850 69851 69852 69853 | -819 -828 query I rowsort SELECT col1 AS col1 FROM tab0 AS cor0 GROUP BY col1, col0 HAVING NULL <> ( - 52 ) ---- skipif postgresql # PostgreSQL requires AS when renaming output columns query II rowsort SELECT - col0 col1, + col0 AS col2 FROM tab2 cor0 GROUP BY col0 ---- -15 15 -91 91 |
︙ | ︙ | |||
69706 69707 69708 69709 69710 69711 69712 69713 69714 69715 69716 69717 69718 69719 | SELECT DISTINCT col0 + - 25 + + - col0 FROM tab2 AS cor0 GROUP BY col0 HAVING NOT NULL IS NULL ---- query I rowsort SELECT ALL col0 FROM tab0 GROUP BY col0, col0, col2 HAVING NOT NULL <= NULL ---- query II rowsort SELECT + 9 col2, col2 AS col0 FROM tab1 AS cor0 GROUP BY col1, col2 HAVING NOT ( NULL ) >= NULL ---- query I rowsort SELECT - 46 * + col1 FROM tab2 GROUP BY col1 ---- | > | 69922 69923 69924 69925 69926 69927 69928 69929 69930 69931 69932 69933 69934 69935 69936 | SELECT DISTINCT col0 + - 25 + + - col0 FROM tab2 AS cor0 GROUP BY col0 HAVING NOT NULL IS NULL ---- query I rowsort SELECT ALL col0 FROM tab0 GROUP BY col0, col0, col2 HAVING NOT NULL <= NULL ---- skipif postgresql # PostgreSQL requires AS when renaming output columns query II rowsort SELECT + 9 col2, col2 AS col0 FROM tab1 AS cor0 GROUP BY col1, col2 HAVING NOT ( NULL ) >= NULL ---- query I rowsort SELECT - 46 * + col1 FROM tab2 GROUP BY col1 ---- |
︙ | ︙ | |||
69772 69773 69774 69775 69776 69777 69778 69779 69780 69781 69782 69783 69784 69785 | 0 81 query I rowsort SELECT ALL - AVG ( DISTINCT 81 ) AS col2 FROM tab2 cor0 WHERE NOT - col2 * col2 <= + 17 GROUP BY col1 HAVING NOT - ( col1 ) IS NOT NULL ---- query I rowsort SELECT + - ( ( + - col2 ) ) AS col1 FROM tab1 AS cor0 GROUP BY col2, col0 HAVING NOT + col1 <> NULL ---- query I rowsort SELECT ALL + - col0 AS col2 FROM tab1 AS cor0 GROUP BY col0, col0 ---- | > | 69989 69990 69991 69992 69993 69994 69995 69996 69997 69998 69999 70000 70001 70002 70003 | 0 81 query I rowsort SELECT ALL - AVG ( DISTINCT 81 ) AS col2 FROM tab2 cor0 WHERE NOT - col2 * col2 <= + 17 GROUP BY col1 HAVING NOT - ( col1 ) IS NOT NULL ---- skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT + - ( ( + - col2 ) ) AS col1 FROM tab1 AS cor0 GROUP BY col2, col0 HAVING NOT + col1 <> NULL ---- query I rowsort SELECT ALL + - col0 AS col2 FROM tab1 AS cor0 GROUP BY col0, col0 ---- |
︙ | ︙ | |||
70183 70184 70185 70186 70187 70188 70189 70190 70191 70192 70193 70194 70195 70196 | onlyif mysql # CAST syntax: SIGNED type: query I rowsort label-9925 SELECT + 45 * + CAST( 44 AS SIGNED ) * + COALESCE ( 13, - col1 ) + col2 FROM tab0 GROUP BY col2, col0, col2 HAVING ( - 39 + + col0 ) IS NULL ---- skipif mysql # not compatible query I rowsort label-9925 SELECT + 45 * + CAST ( 44 AS INTEGER ) * + COALESCE ( 13, - col1 ) + col2 FROM tab0 GROUP BY col2, col0, col2 HAVING ( - 39 + + col0 ) IS NULL ---- query I rowsort SELECT DISTINCT - col0 + + col1 * + col1 AS col1 FROM tab1 GROUP BY col1, col0 ---- | > | 70401 70402 70403 70404 70405 70406 70407 70408 70409 70410 70411 70412 70413 70414 70415 | onlyif mysql # CAST syntax: SIGNED type: query I rowsort label-9925 SELECT + 45 * + CAST( 44 AS SIGNED ) * + COALESCE ( 13, - col1 ) + col2 FROM tab0 GROUP BY col2, col0, col2 HAVING ( - 39 + + col0 ) IS NULL ---- skipif mysql # not compatible skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort label-9925 SELECT + 45 * + CAST ( 44 AS INTEGER ) * + COALESCE ( 13, - col1 ) + col2 FROM tab0 GROUP BY col2, col0, col2 HAVING ( - 39 + + col0 ) IS NULL ---- query I rowsort SELECT DISTINCT - col0 + + col1 * + col1 AS col1 FROM tab1 GROUP BY col1, col0 ---- |
︙ | ︙ | |||
70321 70322 70323 70324 70325 70326 70327 70328 70329 70330 70331 70332 70333 70334 | 91 92 query I rowsort SELECT ALL + ( + col1 ) AS col0 FROM tab1 AS cor0 GROUP BY col1, col0 HAVING NOT NULL <> - col0 ---- query II rowsort SELECT col1, + col1 + 43 AS col0 FROM tab0 AS cor0 GROUP BY col1, col2 HAVING NULL BETWEEN ( col0 ) AND - + 68 * + + 41 - - 84 + + - col1 ---- query I rowsort SELECT DISTINCT 24 AS col0 FROM tab0 GROUP BY col0 ---- | > | 70540 70541 70542 70543 70544 70545 70546 70547 70548 70549 70550 70551 70552 70553 70554 | 91 92 query I rowsort SELECT ALL + ( + col1 ) AS col0 FROM tab1 AS cor0 GROUP BY col1, col0 HAVING NOT NULL <> - col0 ---- skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query II rowsort SELECT col1, + col1 + 43 AS col0 FROM tab0 AS cor0 GROUP BY col1, col2 HAVING NULL BETWEEN ( col0 ) AND - + 68 * + + 41 - - 84 + + - col1 ---- query I rowsort SELECT DISTINCT 24 AS col0 FROM tab0 GROUP BY col0 ---- |
︙ | ︙ | |||
70681 70682 70683 70684 70685 70686 70687 70688 70689 70690 70691 70692 70693 70694 | 137 43 56 26 56 83 query II rowsort SELECT DISTINCT col0 col2, 96 AS col0 FROM tab1 AS cor0 GROUP BY col0, col0 HAVING ( col0 ) NOT BETWEEN - 73 AND NULL ---- query I rowsort SELECT + col2 FROM tab1 AS cor0 GROUP BY col2 HAVING NULL IS NOT NULL ---- | > | 70901 70902 70903 70904 70905 70906 70907 70908 70909 70910 70911 70912 70913 70914 70915 | 137 43 56 26 56 83 skipif postgresql # PostgreSQL requires AS when renaming output columns query II rowsort SELECT DISTINCT col0 col2, 96 AS col0 FROM tab1 AS cor0 GROUP BY col0, col0 HAVING ( col0 ) NOT BETWEEN - 73 AND NULL ---- query I rowsort SELECT + col2 FROM tab1 AS cor0 GROUP BY col2 HAVING NULL IS NOT NULL ---- |
︙ | ︙ |
Changes to test/random/groupby/slt_good_12.test.
︙ | ︙ | |||
32 33 34 35 36 37 38 39 40 41 42 43 44 45 | statement ok INSERT INTO tab2 VALUES(91,59,79) statement ok INSERT INTO tab2 VALUES(92,41,58) query I rowsort SELECT DISTINCT CASE + col2 WHEN 61 THEN NULL ELSE + col2 * - + 95 * + 29 END col1 FROM tab2 GROUP BY col2 HAVING NOT ( NULL ) > NULL ---- query I rowsort SELECT DISTINCT + col1 - + ( col1 ) FROM tab2 GROUP BY col1 ---- | > | 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 | statement ok INSERT INTO tab2 VALUES(91,59,79) statement ok INSERT INTO tab2 VALUES(92,41,58) skipif postgresql # PostgreSQL requires AS when renaming output columns query I rowsort SELECT DISTINCT CASE + col2 WHEN 61 THEN NULL ELSE + col2 * - + 95 * + 29 END col1 FROM tab2 GROUP BY col2 HAVING NOT ( NULL ) > NULL ---- query I rowsort SELECT DISTINCT + col1 - + ( col1 ) FROM tab2 GROUP BY col1 ---- |
︙ | ︙ | |||
433 434 435 436 437 438 439 440 441 442 443 444 445 446 | query I rowsort SELECT NULLIF ( col2, - col2 ) AS col2 FROM tab0 GROUP BY col2, col2, col0 ---- 24 38 79 query II rowsort SELECT ALL + col2 + - + ( - 41 ) - - - col1 col1, 7 FROM tab1 cor0 GROUP BY col2, col1 ---- 29 7 43 7 | > | 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 | query I rowsort SELECT NULLIF ( col2, - col2 ) AS col2 FROM tab0 GROUP BY col2, col2, col0 ---- 24 38 79 skipif postgresql # PostgreSQL requires AS when renaming output columns query II rowsort SELECT ALL + col2 + - + ( - 41 ) - - - col1 col1, 7 FROM tab1 cor0 GROUP BY col2, col1 ---- 29 7 43 7 |
︙ | ︙ | |||
2085 2086 2087 2088 2089 2090 2091 2092 2093 2094 2095 2096 2097 2098 | onlyif mysql # CAST syntax: SIGNED type: query I rowsort label-281 SELECT ALL - 29 * - + 95 AS col1 FROM tab0 GROUP BY col0 HAVING + CAST( NULL AS SIGNED ) / ( + 17 ) = - + ( ( - + col1 ) ) ---- skipif mysql # not compatible query I rowsort label-281 SELECT ALL - 29 * - + 95 AS col1 FROM tab0 GROUP BY col0 HAVING + CAST ( NULL AS INTEGER ) / ( + 17 ) = - + ( ( - + col1 ) ) ---- query I rowsort SELECT + 49 FROM tab2 AS cor0 GROUP BY col2 ---- | > | 2087 2088 2089 2090 2091 2092 2093 2094 2095 2096 2097 2098 2099 2100 2101 | onlyif mysql # CAST syntax: SIGNED type: query I rowsort label-281 SELECT ALL - 29 * - + 95 AS col1 FROM tab0 GROUP BY col0 HAVING + CAST( NULL AS SIGNED ) / ( + 17 ) = - + ( ( - + col1 ) ) ---- skipif mysql # not compatible skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort label-281 SELECT ALL - 29 * - + 95 AS col1 FROM tab0 GROUP BY col0 HAVING + CAST ( NULL AS INTEGER ) / ( + 17 ) = - + ( ( - + col1 ) ) ---- query I rowsort SELECT + 49 FROM tab2 AS cor0 GROUP BY col2 ---- |
︙ | ︙ | |||
2617 2618 2619 2620 2621 2622 2623 2624 2625 2626 2627 2628 2629 2630 | -1403 -943 query I rowsort SELECT ALL - + 88 + + CASE + col2 WHEN + 75 THEN + col2 END FROM tab0 AS cor0 GROUP BY col2, col2 HAVING ( NULL ) IS NOT NULL ---- query I rowsort SELECT DISTINCT 79 AS col2 FROM tab2 WHERE NULL BETWEEN ( + col1 ) AND col0 GROUP BY col1 HAVING NOT col2 NOT BETWEEN NULL AND NULL ---- query I rowsort SELECT DISTINCT 48 / col0 AS col2 FROM tab1 GROUP BY col0 HAVING NOT col0 NOT BETWEEN + col0 * 96 AND ( NULL ) ---- | > | 2620 2621 2622 2623 2624 2625 2626 2627 2628 2629 2630 2631 2632 2633 2634 | -1403 -943 query I rowsort SELECT ALL - + 88 + + CASE + col2 WHEN + 75 THEN + col2 END FROM tab0 AS cor0 GROUP BY col2, col2 HAVING ( NULL ) IS NOT NULL ---- skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT DISTINCT 79 AS col2 FROM tab2 WHERE NULL BETWEEN ( + col1 ) AND col0 GROUP BY col1 HAVING NOT col2 NOT BETWEEN NULL AND NULL ---- query I rowsort SELECT DISTINCT 48 / col0 AS col2 FROM tab1 GROUP BY col0 HAVING NOT col0 NOT BETWEEN + col0 * 96 AND ( NULL ) ---- |
︙ | ︙ | |||
2953 2954 2955 2956 2957 2958 2959 2960 2961 2962 2963 2964 2965 2966 | 1540 -44 1995 -57 210 -6 query II rowsort SELECT - col0 col1, + 92 + + + col0 AS col2 FROM tab2 cor0 GROUP BY col0 ---- -15 107 -91 183 | > | 2957 2958 2959 2960 2961 2962 2963 2964 2965 2966 2967 2968 2969 2970 2971 | 1540 -44 1995 -57 210 -6 skipif postgresql # PostgreSQL requires AS when renaming output columns query II rowsort SELECT - col0 col1, + 92 + + + col0 AS col2 FROM tab2 cor0 GROUP BY col0 ---- -15 107 -91 183 |
︙ | ︙ | |||
3438 3439 3440 3441 3442 3443 3444 3445 3446 3447 3448 3449 3450 3451 | query I rowsort SELECT DISTINCT col1 AS col0 FROM tab1 GROUP BY col1 HAVING NOT 47 IS NULL ---- 44 57 6 query I rowsort SELECT ALL - col0 AS col1 FROM tab1 GROUP BY col0, col2 HAVING NOT NULL <= col1 ---- query I rowsort SELECT DISTINCT col1 FROM tab2 WHERE NOT ( NULL ) <= col1 GROUP BY col1 HAVING NOT AVG ( + col1 ) IS NULL ---- | > | 3443 3444 3445 3446 3447 3448 3449 3450 3451 3452 3453 3454 3455 3456 3457 | query I rowsort SELECT DISTINCT col1 AS col0 FROM tab1 GROUP BY col1 HAVING NOT 47 IS NULL ---- 44 57 6 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT ALL - col0 AS col1 FROM tab1 GROUP BY col0, col2 HAVING NOT NULL <= col1 ---- query I rowsort SELECT DISTINCT col1 FROM tab2 WHERE NOT ( NULL ) <= col1 GROUP BY col1 HAVING NOT AVG ( + col1 ) IS NULL ---- |
︙ | ︙ | |||
4039 4040 4041 4042 4043 4044 4045 4046 4047 4048 4049 4050 4051 4052 | query I rowsort SELECT - ( + col0 ) * + - 60 - - + col0 FROM tab2 cor0 GROUP BY col0 ---- 5551 5612 915 query I rowsort SELECT + col2 AS col1 FROM tab2 AS cor0 GROUP BY col2 HAVING NOT col1 <> NULL ---- query I rowsort SELECT + col2 * + col2 FROM tab1 cor0 GROUP BY col0, col2 ---- | > | 4045 4046 4047 4048 4049 4050 4051 4052 4053 4054 4055 4056 4057 4058 4059 | query I rowsort SELECT - ( + col0 ) * + - 60 - - + col0 FROM tab2 cor0 GROUP BY col0 ---- 5551 5612 915 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT + col2 AS col1 FROM tab2 AS cor0 GROUP BY col2 HAVING NOT col1 <> NULL ---- query I rowsort SELECT + col2 * + col2 FROM tab1 cor0 GROUP BY col0, col2 ---- |
︙ | ︙ | |||
5071 5072 5073 5074 5075 5076 5077 5078 5079 5080 5081 5082 5083 5084 5085 5086 5087 5088 5089 5090 5091 5092 5093 5094 5095 5096 | ---- skipif mysql # not compatible query I rowsort label-684 SELECT - CAST ( 23 AS INTEGER ) FROM tab0 AS cor0 GROUP BY col2 HAVING NOT ( NULL ) > ( NULL ) ---- query I rowsort SELECT 81 AS col0 FROM tab2 AS cor0 GROUP BY col1 HAVING NOT ( NULL ) < 65 / col0 * 39 ---- query I rowsort SELECT ALL - 71 AS col2 FROM tab1 AS cor0 GROUP BY col2, col1 HAVING ( + - 18 + - 34 ) > ( NULL ) ---- query I rowsort SELECT ALL - ( col2 ) AS col0 FROM tab0 AS cor0 WHERE NOT ( col0 * - COALESCE ( col2, + - 75, 11 * col0 ) * col1 + + 58 ) NOT BETWEEN - ( - 33 ) + 99 AND col2 GROUP BY col1, col2 ---- query I rowsort SELECT + - col1 * col1 / ( + - col1 ) - - col1 / col1 AS col2 FROM tab0 AS cor0 GROUP BY col1 HAVING NOT NULL = ( + col1 / - ( + col2 ) ) ---- onlyif mysql # DIV for integer division: query I rowsort label-689 SELECT col1 - + + 42 DIV - 42 - - col1 col1 FROM tab0 AS cor0 GROUP BY col1, col1 HAVING ( - col1 ) IS NOT NULL | > > | 5078 5079 5080 5081 5082 5083 5084 5085 5086 5087 5088 5089 5090 5091 5092 5093 5094 5095 5096 5097 5098 5099 5100 5101 5102 5103 5104 5105 | ---- skipif mysql # not compatible query I rowsort label-684 SELECT - CAST ( 23 AS INTEGER ) FROM tab0 AS cor0 GROUP BY col2 HAVING NOT ( NULL ) > ( NULL ) ---- skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT 81 AS col0 FROM tab2 AS cor0 GROUP BY col1 HAVING NOT ( NULL ) < 65 / col0 * 39 ---- query I rowsort SELECT ALL - 71 AS col2 FROM tab1 AS cor0 GROUP BY col2, col1 HAVING ( + - 18 + - 34 ) > ( NULL ) ---- query I rowsort SELECT ALL - ( col2 ) AS col0 FROM tab0 AS cor0 WHERE NOT ( col0 * - COALESCE ( col2, + - 75, 11 * col0 ) * col1 + + 58 ) NOT BETWEEN - ( - 33 ) + 99 AND col2 GROUP BY col1, col2 ---- skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT + - col1 * col1 / ( + - col1 ) - - col1 / col1 AS col2 FROM tab0 AS cor0 GROUP BY col1 HAVING NOT NULL = ( + col1 / - ( + col2 ) ) ---- onlyif mysql # DIV for integer division: query I rowsort label-689 SELECT col1 - + + 42 DIV - 42 - - col1 col1 FROM tab0 AS cor0 GROUP BY col1, col1 HAVING ( - col1 ) IS NOT NULL |
︙ | ︙ | |||
5355 5356 5357 5358 5359 5360 5361 5362 5363 5364 5365 5366 5367 5368 5369 5370 5371 5372 5373 5374 5375 5376 5377 5378 | onlyif mysql # CAST syntax: SIGNED type: query I rowsort label-728 SELECT DISTINCT + 86 * 64 AS col0 FROM tab1 GROUP BY col1 HAVING col0 - + CAST( NULL AS SIGNED ) >= NULL ---- skipif mysql # not compatible query I rowsort label-728 SELECT DISTINCT + 86 * 64 AS col0 FROM tab1 GROUP BY col1 HAVING col0 - + CAST ( NULL AS INTEGER ) >= NULL ---- onlyif mysql # CAST syntax: DECIMAL type: query I rowsort label-729 SELECT DISTINCT + + AVG ( - ( col0 ) ) AS col2 FROM tab0 AS cor0 GROUP BY col0 HAVING NOT ( col2 ) >= + CAST( NULL AS DECIMAL ) ---- skipif mysql # not compatible query I rowsort label-729 SELECT DISTINCT + + AVG ( - ( col0 ) ) AS col2 FROM tab0 AS cor0 GROUP BY col0 HAVING NOT ( col2 ) >= + CAST ( NULL AS REAL ) ---- query I rowsort SELECT - 58 * col1 FROM tab1 GROUP BY col1 ---- | > > | 5364 5365 5366 5367 5368 5369 5370 5371 5372 5373 5374 5375 5376 5377 5378 5379 5380 5381 5382 5383 5384 5385 5386 5387 5388 5389 | onlyif mysql # CAST syntax: SIGNED type: query I rowsort label-728 SELECT DISTINCT + 86 * 64 AS col0 FROM tab1 GROUP BY col1 HAVING col0 - + CAST( NULL AS SIGNED ) >= NULL ---- skipif mysql # not compatible skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort label-728 SELECT DISTINCT + 86 * 64 AS col0 FROM tab1 GROUP BY col1 HAVING col0 - + CAST ( NULL AS INTEGER ) >= NULL ---- onlyif mysql # CAST syntax: DECIMAL type: query I rowsort label-729 SELECT DISTINCT + + AVG ( - ( col0 ) ) AS col2 FROM tab0 AS cor0 GROUP BY col0 HAVING NOT ( col2 ) >= + CAST( NULL AS DECIMAL ) ---- skipif mysql # not compatible skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort label-729 SELECT DISTINCT + + AVG ( - ( col0 ) ) AS col2 FROM tab0 AS cor0 GROUP BY col0 HAVING NOT ( col2 ) >= + CAST ( NULL AS REAL ) ---- query I rowsort SELECT - 58 * col1 FROM tab1 GROUP BY col1 ---- |
︙ | ︙ | |||
5551 5552 5553 5554 5555 5556 5557 5558 5559 5560 5561 5562 5563 5564 | ---- query I rowsort SELECT DISTINCT - 79 FROM tab1 GROUP BY col2 ---- -79 query I rowsort SELECT - col0 AS col2 FROM tab2 cor0 GROUP BY col0 HAVING + NULLIF ( col2, + + 58 ) >= NULL ---- query I rowsort SELECT DISTINCT - ( - 30 ) + col1 FROM tab1 AS cor0 GROUP BY col1 ---- | > | 5562 5563 5564 5565 5566 5567 5568 5569 5570 5571 5572 5573 5574 5575 5576 | ---- query I rowsort SELECT DISTINCT - 79 FROM tab1 GROUP BY col2 ---- -79 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT - col0 AS col2 FROM tab2 cor0 GROUP BY col0 HAVING + NULLIF ( col2, + + 58 ) >= NULL ---- query I rowsort SELECT DISTINCT - ( - 30 ) + col1 FROM tab1 AS cor0 GROUP BY col1 ---- |
︙ | ︙ | |||
5857 5858 5859 5860 5861 5862 5863 5864 5865 5866 5867 5868 5869 5870 | query I rowsort label-793 SELECT DISTINCT - 91 / + + col2 - col1 FROM tab0 GROUP BY col2, col1 ---- -1 -2 -84 query II rowsort SELECT - col0 col1, col0 FROM tab0 GROUP BY col0, col0 ---- -26 26 -43 43 | > | 5869 5870 5871 5872 5873 5874 5875 5876 5877 5878 5879 5880 5881 5882 5883 | query I rowsort label-793 SELECT DISTINCT - 91 / + + col2 - col1 FROM tab0 GROUP BY col2, col1 ---- -1 -2 -84 skipif postgresql # PostgreSQL requires AS when renaming output columns query II rowsort SELECT - col0 col1, col0 FROM tab0 GROUP BY col0, col0 ---- -26 26 -43 43 |
︙ | ︙ | |||
6192 6193 6194 6195 6196 6197 6198 6199 6200 6201 6202 6203 6204 6205 | query I rowsort SELECT ALL - 21 - + col1 FROM tab1 AS cor0 GROUP BY col1, col1 ---- -27 -65 -78 query II rowsort SELECT ALL - 70 AS col0, 2 AS col2 FROM tab1 AS cor0 GROUP BY col2 HAVING - ( - - col0 ) <= NULL ---- query I rowsort SELECT + ( - col1 ) FROM tab1 GROUP BY col1 ---- | > | 6205 6206 6207 6208 6209 6210 6211 6212 6213 6214 6215 6216 6217 6218 6219 | query I rowsort SELECT ALL - 21 - + col1 FROM tab1 AS cor0 GROUP BY col1, col1 ---- -27 -65 -78 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query II rowsort SELECT ALL - 70 AS col0, 2 AS col2 FROM tab1 AS cor0 GROUP BY col2 HAVING - ( - - col0 ) <= NULL ---- query I rowsort SELECT + ( - col1 ) FROM tab1 GROUP BY col1 ---- |
︙ | ︙ | |||
6344 6345 6346 6347 6348 6349 6350 6351 6352 6353 6354 6355 6356 6357 6358 6359 6360 6361 6362 6363 6364 6365 6366 6367 6368 | ---- 53 query I rowsort SELECT ALL + AVG ( DISTINCT - + col0 ) AS col1 FROM tab1 AS cor0 GROUP BY col0 HAVING ( ( NULL ) IS NOT NULL ) ---- query I rowsort SELECT ALL + col1 * - col0 * CASE WHEN NULL = + col2 THEN NULL ELSE col0 END + + col1 FROM tab0 AS cor0 GROUP BY col0, col1 ---- -149688 0 0 query I rowsort SELECT DISTINCT + COALESCE ( 37, col2 / + col1 ) AS col2 FROM tab2 AS cor0 GROUP BY col0, col0 HAVING ( + col0 ) * - - 4 >= NULL ---- query II rowsort SELECT 9 * col2 + col2 + 30 * - col0 col1, col0 + - 1 * + 0 * - ( - col0 ) AS col0 FROM tab1 cor0 GROUP BY col0, col2 ---- -1750 82 -390 28 | > > > | 6358 6359 6360 6361 6362 6363 6364 6365 6366 6367 6368 6369 6370 6371 6372 6373 6374 6375 6376 6377 6378 6379 6380 6381 6382 6383 6384 6385 | ---- 53 query I rowsort SELECT ALL + AVG ( DISTINCT - + col0 ) AS col1 FROM tab1 AS cor0 GROUP BY col0 HAVING ( ( NULL ) IS NOT NULL ) ---- skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT ALL + col1 * - col0 * CASE WHEN NULL = + col2 THEN NULL ELSE col0 END + + col1 FROM tab0 AS cor0 GROUP BY col0, col1 ---- -149688 0 0 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT DISTINCT + COALESCE ( 37, col2 / + col1 ) AS col2 FROM tab2 AS cor0 GROUP BY col0, col0 HAVING ( + col0 ) * - - 4 >= NULL ---- skipif postgresql # PostgreSQL requires AS when renaming output columns query II rowsort SELECT 9 * col2 + col2 + 30 * - col0 col1, col0 + - 1 * + 0 * - ( - col0 ) AS col0 FROM tab1 cor0 GROUP BY col0, col2 ---- -1750 82 -390 28 |
︙ | ︙ | |||
6626 6627 6628 6629 6630 6631 6632 6633 6634 6635 6636 6637 6638 6639 | query I rowsort SELECT ALL - ( - col2 ) FROM tab0 GROUP BY col2 ---- 24 38 79 query II rowsort SELECT + - 17 * + - 64 col0, + 49 AS col2 FROM tab2 cor0 GROUP BY col1 ---- 1088 49 1088 49 | > | 6643 6644 6645 6646 6647 6648 6649 6650 6651 6652 6653 6654 6655 6656 6657 | query I rowsort SELECT ALL - ( - col2 ) FROM tab0 GROUP BY col2 ---- 24 38 79 skipif postgresql # PostgreSQL requires AS when renaming output columns query II rowsort SELECT + - 17 * + - 64 col0, + 49 AS col2 FROM tab2 cor0 GROUP BY col1 ---- 1088 49 1088 49 |
︙ | ︙ | |||
6781 6782 6783 6784 6785 6786 6787 6788 6789 6790 6791 6792 6793 6794 6795 6796 6797 6798 6799 6800 6801 6802 6803 6804 | onlyif mysql # CAST syntax: SIGNED type: query II rowsort label-916 SELECT - - 92 * + + CAST( NULL AS SIGNED ) AS col1, ( - - 48 ) AS col0 FROM tab0 AS cor0 GROUP BY col1 HAVING - col0 <= NULL ---- skipif mysql # not compatible query II rowsort label-916 SELECT - - 92 * + + CAST ( NULL AS INTEGER ) AS col1, ( - - 48 ) AS col0 FROM tab0 AS cor0 GROUP BY col1 HAVING - col0 <= NULL ---- query I rowsort SELECT - 7 FROM tab0 GROUP BY col1 ---- -7 -7 query I rowsort SELECT DISTINCT col1 * - + col1 * + COALESCE ( + - 17, - COALESCE ( - col0, + + col0 * col2 + + + col2 ), - col2 ) - col1 AS col1 FROM tab1 GROUP BY col1, col1 HAVING NULL > NULL ---- query I rowsort SELECT ALL 43 * + col2 AS col1 FROM tab1 AS cor0 GROUP BY col2, col2 HAVING NULL IS NOT NULL ---- | > > | 6799 6800 6801 6802 6803 6804 6805 6806 6807 6808 6809 6810 6811 6812 6813 6814 6815 6816 6817 6818 6819 6820 6821 6822 6823 6824 | onlyif mysql # CAST syntax: SIGNED type: query II rowsort label-916 SELECT - - 92 * + + CAST( NULL AS SIGNED ) AS col1, ( - - 48 ) AS col0 FROM tab0 AS cor0 GROUP BY col1 HAVING - col0 <= NULL ---- skipif mysql # not compatible skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query II rowsort label-916 SELECT - - 92 * + + CAST ( NULL AS INTEGER ) AS col1, ( - - 48 ) AS col0 FROM tab0 AS cor0 GROUP BY col1 HAVING - col0 <= NULL ---- query I rowsort SELECT - 7 FROM tab0 GROUP BY col1 ---- -7 -7 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT DISTINCT col1 * - + col1 * + COALESCE ( + - 17, - COALESCE ( - col0, + + col0 * col2 + + + col2 ), - col2 ) - col1 AS col1 FROM tab1 GROUP BY col1, col1 HAVING NULL > NULL ---- query I rowsort SELECT ALL 43 * + col2 AS col1 FROM tab1 AS cor0 GROUP BY col2, col2 HAVING NULL IS NOT NULL ---- |
︙ | ︙ | |||
6962 6963 6964 6965 6966 6967 6968 6969 6970 6971 6972 6973 6974 6975 | query I rowsort SELECT + 43 * - col0 + + 68 col0 FROM tab0 AS cor0 GROUP BY col0 ---- -1050 -1781 -3501 query II rowsort SELECT col1 col0, col1 + 87 AS col2 FROM tab0 GROUP BY col1, col1 HAVING NULL <> NULL ---- query I rowsort SELECT - + 2 AS col1 FROM tab2 WHERE NULL >= NULL GROUP BY col2 ---- | > | 6982 6983 6984 6985 6986 6987 6988 6989 6990 6991 6992 6993 6994 6995 6996 | query I rowsort SELECT + 43 * - col0 + + 68 col0 FROM tab0 AS cor0 GROUP BY col0 ---- -1050 -1781 -3501 skipif postgresql # PostgreSQL requires AS when renaming output columns query II rowsort SELECT col1 col0, col1 + 87 AS col2 FROM tab0 GROUP BY col1, col1 HAVING NULL <> NULL ---- query I rowsort SELECT - + 2 AS col1 FROM tab2 WHERE NULL >= NULL GROUP BY col2 ---- |
︙ | ︙ | |||
7285 7286 7287 7288 7289 7290 7291 7292 7293 7294 7295 7296 7297 7298 | -1 -8 query I rowsort SELECT ALL col1 AS col1 FROM tab2 AS cor0 GROUP BY col1, col0 HAVING NOT - col1 * + + col0 IS NOT NULL ---- query II rowsort SELECT DISTINCT - + col0 + + col0 col1, col0 AS col2 FROM tab0 cor0 GROUP BY col0, col0 ---- 0 26 0 43 | > | 7306 7307 7308 7309 7310 7311 7312 7313 7314 7315 7316 7317 7318 7319 7320 | -1 -8 query I rowsort SELECT ALL col1 AS col1 FROM tab2 AS cor0 GROUP BY col1, col0 HAVING NOT - col1 * + + col0 IS NOT NULL ---- skipif postgresql # PostgreSQL requires AS when renaming output columns query II rowsort SELECT DISTINCT - + col0 + + col0 col1, col0 AS col2 FROM tab0 cor0 GROUP BY col0, col0 ---- 0 26 0 43 |
︙ | ︙ | |||
7643 7644 7645 7646 7647 7648 7649 7650 7651 7652 7653 7654 7655 7656 7657 7658 7659 7660 7661 7662 7663 7664 7665 7666 7667 7668 7669 7670 7671 7672 | onlyif mysql # CAST syntax: DECIMAL type: query I rowsort label-1034 SELECT DISTINCT - col2 + + col0 + + + NULLIF ( + CAST( NULL AS DECIMAL ), + col0 + - col1 ) FROM tab2 cor0 GROUP BY col0, col2 ---- NULL skipif mysql # not compatible query I rowsort label-1034 SELECT DISTINCT - col2 + + col0 + + + NULLIF ( + CAST ( NULL AS REAL ), + col0 + - col1 ) FROM tab2 cor0 GROUP BY col0, col2 ---- NULL query I rowsort SELECT + col1 - 26 FROM tab2 GROUP BY col1, col0 HAVING NULL BETWEEN + CASE - 99 WHEN - - col1 THEN NULL ELSE + 56 END AND 35 * - 64 ---- query I rowsort SELECT ALL 85 FROM tab0 GROUP BY col0, col0 ---- 85 85 85 query I rowsort SELECT ALL col0 AS col1 FROM tab0 AS cor0 GROUP BY col0, col0 HAVING ( NOT NULL < - col1 * 9 ) ---- query I rowsort SELECT - 36 FROM tab0 GROUP BY col2, col2 HAVING NULL IS NULL ---- | > > | 7665 7666 7667 7668 7669 7670 7671 7672 7673 7674 7675 7676 7677 7678 7679 7680 7681 7682 7683 7684 7685 7686 7687 7688 7689 7690 7691 7692 7693 7694 7695 7696 | onlyif mysql # CAST syntax: DECIMAL type: query I rowsort label-1034 SELECT DISTINCT - col2 + + col0 + + + NULLIF ( + CAST( NULL AS DECIMAL ), + col0 + - col1 ) FROM tab2 cor0 GROUP BY col0, col2 ---- NULL skipif mysql # not compatible skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort label-1034 SELECT DISTINCT - col2 + + col0 + + + NULLIF ( + CAST ( NULL AS REAL ), + col0 + - col1 ) FROM tab2 cor0 GROUP BY col0, col2 ---- NULL query I rowsort SELECT + col1 - 26 FROM tab2 GROUP BY col1, col0 HAVING NULL BETWEEN + CASE - 99 WHEN - - col1 THEN NULL ELSE + 56 END AND 35 * - 64 ---- query I rowsort SELECT ALL 85 FROM tab0 GROUP BY col0, col0 ---- 85 85 85 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT ALL col0 AS col1 FROM tab0 AS cor0 GROUP BY col0, col0 HAVING ( NOT NULL < - col1 * 9 ) ---- query I rowsort SELECT - 36 FROM tab0 GROUP BY col2, col2 HAVING NULL IS NULL ---- |
︙ | ︙ | |||
7811 7812 7813 7814 7815 7816 7817 7818 7819 7820 7821 7822 7823 7824 | query I rowsort SELECT DISTINCT - col0 + - 54 AS col2 FROM tab0 AS cor0 GROUP BY col0, col2, col0 ---- -137 -80 -97 query I rowsort SELECT DISTINCT - COALESCE ( - 30, + col0 ) - 2 FROM tab0 cor0 GROUP BY col2 ---- 28 query I rowsort SELECT ALL col1 AS col1 FROM tab2 WHERE ( - 94 ) < col2 GROUP BY col1 | > | 7835 7836 7837 7838 7839 7840 7841 7842 7843 7844 7845 7846 7847 7848 7849 | query I rowsort SELECT DISTINCT - col0 + - 54 AS col2 FROM tab0 AS cor0 GROUP BY col0, col2, col0 ---- -137 -80 -97 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT DISTINCT - COALESCE ( - 30, + col0 ) - 2 FROM tab0 cor0 GROUP BY col2 ---- 28 query I rowsort SELECT ALL col1 AS col1 FROM tab2 WHERE ( - 94 ) < col2 GROUP BY col1 |
︙ | ︙ | |||
8100 8101 8102 8103 8104 8105 8106 8107 8108 8109 8110 8111 8112 8113 | -7505 -8265 query I rowsort SELECT ALL + 43 * + col1 AS col2 FROM tab0 GROUP BY col1 HAVING NULL = NULL ---- query I rowsort SELECT DISTINCT col1 * col1 AS col2 FROM tab0 WHERE NOT ( NULL ) IS NULL GROUP BY col1 HAVING NULL >= col2 ---- onlyif mysql # CAST syntax: SIGNED type: query I rowsort label-1099 SELECT DISTINCT CAST( NULL AS SIGNED ) col0 FROM tab1 GROUP BY col2 | > | 8125 8126 8127 8128 8129 8130 8131 8132 8133 8134 8135 8136 8137 8138 8139 | -7505 -8265 query I rowsort SELECT ALL + 43 * + col1 AS col2 FROM tab0 GROUP BY col1 HAVING NULL = NULL ---- skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT DISTINCT col1 * col1 AS col2 FROM tab0 WHERE NOT ( NULL ) IS NULL GROUP BY col1 HAVING NULL >= col2 ---- onlyif mysql # CAST syntax: SIGNED type: query I rowsort label-1099 SELECT DISTINCT CAST( NULL AS SIGNED ) col0 FROM tab1 GROUP BY col2 |
︙ | ︙ | |||
8140 8141 8142 8143 8144 8145 8146 8147 8148 8149 8150 8151 8152 8153 | ---- query I rowsort SELECT DISTINCT + 90 FROM tab1 GROUP BY col0, col0 HAVING NOT NULL IS NOT NULL ---- 90 query II rowsort SELECT - col1 col2, col1 AS col1 FROM tab2 AS cor0 GROUP BY col1 ---- -41 41 -59 59 | > | 8166 8167 8168 8169 8170 8171 8172 8173 8174 8175 8176 8177 8178 8179 8180 | ---- query I rowsort SELECT DISTINCT + 90 FROM tab1 GROUP BY col0, col0 HAVING NOT NULL IS NOT NULL ---- 90 skipif postgresql # PostgreSQL requires AS when renaming output columns query II rowsort SELECT - col1 col2, col1 AS col1 FROM tab2 AS cor0 GROUP BY col1 ---- -41 41 -59 59 |
︙ | ︙ | |||
8395 8396 8397 8398 8399 8400 8401 8402 8403 8404 8405 8406 8407 8408 | query I rowsort SELECT col0 + - + col0 AS col2 FROM tab0 GROUP BY col0 ---- 0 0 0 query I rowsort SELECT DISTINCT col2 AS col1 FROM tab2 GROUP BY col2, col2 HAVING + - col1 NOT BETWEEN NULL AND NULL ---- query I rowsort SELECT ALL + - 85 FROM tab1 AS cor0 GROUP BY col0, col2 ---- | > | 8422 8423 8424 8425 8426 8427 8428 8429 8430 8431 8432 8433 8434 8435 8436 | query I rowsort SELECT col0 + - + col0 AS col2 FROM tab0 GROUP BY col0 ---- 0 0 0 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT DISTINCT col2 AS col1 FROM tab2 GROUP BY col2, col2 HAVING + - col1 NOT BETWEEN NULL AND NULL ---- query I rowsort SELECT ALL + - 85 FROM tab1 AS cor0 GROUP BY col0, col2 ---- |
︙ | ︙ | |||
8732 8733 8734 8735 8736 8737 8738 8739 8740 8741 8742 8743 8744 8745 | onlyif mysql # CAST syntax: SIGNED type: query I rowsort label-1184 SELECT DISTINCT + - NULLIF ( - CAST( NULL AS SIGNED ), - 74 * + NULLIF ( - - col2, ( - col2 ) ) / + col0 ) FROM tab1 AS cor0 GROUP BY col1, col0 ---- NULL skipif mysql # not compatible query I rowsort label-1184 SELECT DISTINCT + - NULLIF ( - CAST ( NULL AS INTEGER ), - 74 * + NULLIF ( - - col2, ( - col2 ) ) / + col0 ) FROM tab1 AS cor0 GROUP BY col1, col0 ---- NULL query I rowsort SELECT DISTINCT 85 FROM tab0 GROUP BY col1, col0 | > | 8760 8761 8762 8763 8764 8765 8766 8767 8768 8769 8770 8771 8772 8773 8774 | onlyif mysql # CAST syntax: SIGNED type: query I rowsort label-1184 SELECT DISTINCT + - NULLIF ( - CAST( NULL AS SIGNED ), - 74 * + NULLIF ( - - col2, ( - col2 ) ) / + col0 ) FROM tab1 AS cor0 GROUP BY col1, col0 ---- NULL skipif mysql # not compatible skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort label-1184 SELECT DISTINCT + - NULLIF ( - CAST ( NULL AS INTEGER ), - 74 * + NULLIF ( - - col2, ( - col2 ) ) / + col0 ) FROM tab1 AS cor0 GROUP BY col1, col0 ---- NULL query I rowsort SELECT DISTINCT 85 FROM tab0 GROUP BY col1, col0 |
︙ | ︙ | |||
9545 9546 9547 9548 9549 9550 9551 9552 9553 9554 9555 9556 9557 9558 | SELECT - 57 + - col2 - + COALESCE ( + 83, + col1 ) + col2 + - CAST( NULL AS SIGNED ) * + 18 * + col2 - - + ( - ( - 90 ) ) FROM tab0 AS cor0 GROUP BY col2 ---- NULL NULL NULL skipif mysql # not compatible query I rowsort label-1295 SELECT - 57 + - col2 - + COALESCE ( + 83, + col1 ) + col2 + - CAST ( NULL AS INTEGER ) * + 18 * + col2 - - + ( - ( - 90 ) ) FROM tab0 AS cor0 GROUP BY col2 ---- NULL NULL NULL | > | 9574 9575 9576 9577 9578 9579 9580 9581 9582 9583 9584 9585 9586 9587 9588 | SELECT - 57 + - col2 - + COALESCE ( + 83, + col1 ) + col2 + - CAST( NULL AS SIGNED ) * + 18 * + col2 - - + ( - ( - 90 ) ) FROM tab0 AS cor0 GROUP BY col2 ---- NULL NULL NULL skipif mysql # not compatible skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort label-1295 SELECT - 57 + - col2 - + COALESCE ( + 83, + col1 ) + col2 + - CAST ( NULL AS INTEGER ) * + 18 * + col2 - - + ( - ( - 90 ) ) FROM tab0 AS cor0 GROUP BY col2 ---- NULL NULL NULL |
︙ | ︙ | |||
9585 9586 9587 9588 9589 9590 9591 9592 9593 9594 9595 9596 9597 9598 | NULL NULL query II rowsort SELECT ALL + 56 AS col0, 51 * col1 FROM tab0 GROUP BY col1 HAVING NOT + 30 * + 69 > NULL ---- query II rowsort SELECT + 50 col2, + col0 * + + 69 * - + col0 * ( + + col0 ) FROM tab2 WHERE NOT NULL IS NULL GROUP BY col0 ---- query I rowsort SELECT 26 * + col2 + - col2 + + - col2 AS col0 FROM tab2 cor0 GROUP BY col2 HAVING ( ( NULL > NULL ) ) ---- | > | 9615 9616 9617 9618 9619 9620 9621 9622 9623 9624 9625 9626 9627 9628 9629 | NULL NULL query II rowsort SELECT ALL + 56 AS col0, 51 * col1 FROM tab0 GROUP BY col1 HAVING NOT + 30 * + 69 > NULL ---- skipif postgresql # PostgreSQL requires AS when renaming output columns query II rowsort SELECT + 50 col2, + col0 * + + 69 * - + col0 * ( + + col0 ) FROM tab2 WHERE NOT NULL IS NULL GROUP BY col0 ---- query I rowsort SELECT 26 * + col2 + - col2 + + - col2 AS col0 FROM tab2 cor0 GROUP BY col2 HAVING ( ( NULL > NULL ) ) ---- |
︙ | ︙ | |||
9663 9664 9665 9666 9667 9668 9669 9670 9671 9672 9673 9674 9675 9676 | query I rowsort SELECT 15 AS col0 FROM tab2 GROUP BY col2 ---- 15 15 15 query I rowsort SELECT + col1 AS col2 FROM tab1 GROUP BY col1, col0 HAVING + col2 < NULL ---- query I rowsort SELECT DISTINCT - 22 * + 29 AS col1 FROM tab0 GROUP BY col1 ---- | > | 9694 9695 9696 9697 9698 9699 9700 9701 9702 9703 9704 9705 9706 9707 9708 | query I rowsort SELECT 15 AS col0 FROM tab2 GROUP BY col2 ---- 15 15 15 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT + col1 AS col2 FROM tab1 GROUP BY col1, col0 HAVING + col2 < NULL ---- query I rowsort SELECT DISTINCT - 22 * + 29 AS col1 FROM tab0 GROUP BY col1 ---- |
︙ | ︙ | |||
10106 10107 10108 10109 10110 10111 10112 10113 10114 10115 10116 10117 10118 10119 | onlyif mysql # CAST syntax: SIGNED type: query I rowsort label-1375 SELECT DISTINCT + col0 * - col0 - - col0 * - col0 AS col1 FROM tab2 AS cor0 WHERE NOT - CAST( + col0 AS SIGNED ) <> - col1 / + col2 GROUP BY col0 HAVING NOT NULL BETWEEN NULL AND + CAST( NULL AS SIGNED ) - col1 / - col0 ---- skipif mysql # not compatible query I rowsort label-1375 SELECT DISTINCT + col0 * - col0 - - col0 * - col0 AS col1 FROM tab2 AS cor0 WHERE NOT - CAST ( + col0 AS INTEGER ) <> - col1 / + col2 GROUP BY col0 HAVING NOT NULL BETWEEN NULL AND + CAST ( NULL AS INTEGER ) - col1 / - col0 ---- query I rowsort SELECT DISTINCT - 53 FROM tab1 AS cor0 GROUP BY col1, col0, col2 ---- | > | 10138 10139 10140 10141 10142 10143 10144 10145 10146 10147 10148 10149 10150 10151 10152 | onlyif mysql # CAST syntax: SIGNED type: query I rowsort label-1375 SELECT DISTINCT + col0 * - col0 - - col0 * - col0 AS col1 FROM tab2 AS cor0 WHERE NOT - CAST( + col0 AS SIGNED ) <> - col1 / + col2 GROUP BY col0 HAVING NOT NULL BETWEEN NULL AND + CAST( NULL AS SIGNED ) - col1 / - col0 ---- skipif mysql # not compatible skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort label-1375 SELECT DISTINCT + col0 * - col0 - - col0 * - col0 AS col1 FROM tab2 AS cor0 WHERE NOT - CAST ( + col0 AS INTEGER ) <> - col1 / + col2 GROUP BY col0 HAVING NOT NULL BETWEEN NULL AND + CAST ( NULL AS INTEGER ) - col1 / - col0 ---- query I rowsort SELECT DISTINCT - 53 FROM tab1 AS cor0 GROUP BY col1, col0, col2 ---- |
︙ | ︙ | |||
10752 10753 10754 10755 10756 10757 10758 10759 10760 10761 10762 10763 10764 10765 | 30 30 query I rowsort SELECT ALL + col1 + - col1 * NULLIF ( + col1, col1 ) AS col0 FROM tab0 GROUP BY col1 HAVING NULL NOT BETWEEN NULL AND NULL ---- query I rowsort SELECT col2 AS col0 FROM tab0 AS cor0 GROUP BY col2 HAVING - col2 * + col2 + - col0 + + 39 - - + 32 <= NULL ---- query II rowsort SELECT ALL 91 AS col2, + col0 + + 83 AS col2 FROM tab0 AS cor0 GROUP BY col0, col2 ---- | > | 10785 10786 10787 10788 10789 10790 10791 10792 10793 10794 10795 10796 10797 10798 10799 | 30 30 query I rowsort SELECT ALL + col1 + - col1 * NULLIF ( + col1, col1 ) AS col0 FROM tab0 GROUP BY col1 HAVING NULL NOT BETWEEN NULL AND NULL ---- skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT col2 AS col0 FROM tab0 AS cor0 GROUP BY col2 HAVING - col2 * + col2 + - col0 + + 39 - - + 32 <= NULL ---- query II rowsort SELECT ALL 91 AS col2, + col0 + + 83 AS col2 FROM tab0 AS cor0 GROUP BY col0, col2 ---- |
︙ | ︙ | |||
10778 10779 10780 10781 10782 10783 10784 10785 10786 10787 10788 10789 10790 10791 | 0 NULL 0 NULL 0 skipif mysql # not compatible query II rowsort label-1468 SELECT ALL + 47 + - CAST ( NULL AS INTEGER ) col2, + col0 - col0 FROM tab1 AS cor0 GROUP BY col0 ---- NULL 0 NULL 0 | > | 10812 10813 10814 10815 10816 10817 10818 10819 10820 10821 10822 10823 10824 10825 10826 | 0 NULL 0 NULL 0 skipif mysql # not compatible skipif postgresql # PostgreSQL requires AS when renaming output columns query II rowsort label-1468 SELECT ALL + 47 + - CAST ( NULL AS INTEGER ) col2, + col0 - col0 FROM tab1 AS cor0 GROUP BY col0 ---- NULL 0 NULL 0 |
︙ | ︙ | |||
10844 10845 10846 10847 10848 10849 10850 10851 10852 10853 10854 10855 10856 10857 | query I rowsort SELECT ALL + 82 + - col1 FROM tab2 GROUP BY col1 ---- 21 23 41 query II rowsort SELECT 64 * - col0 col1, - ( - - col0 ) AS col0 FROM tab1 GROUP BY col0, col0 ---- -1408 -22 -1792 -28 | > | 10879 10880 10881 10882 10883 10884 10885 10886 10887 10888 10889 10890 10891 10892 10893 | query I rowsort SELECT ALL + 82 + - col1 FROM tab2 GROUP BY col1 ---- 21 23 41 skipif postgresql # PostgreSQL requires AS when renaming output columns query II rowsort SELECT 64 * - col0 col1, - ( - - col0 ) AS col0 FROM tab1 GROUP BY col0, col0 ---- -1408 -22 -1792 -28 |
︙ | ︙ | |||
10881 10882 10883 10884 10885 10886 10887 10888 10889 10890 10891 10892 10893 10894 | NULL NULL query I rowsort SELECT - ( + col2 ) FROM tab0 AS cor0 GROUP BY col2, col0 HAVING ( NULL ) IS NOT NULL ---- query I rowsort SELECT 40 AS col0 FROM tab1 GROUP BY col1 HAVING ( NULL ) < - col0 ---- query I rowsort SELECT 63 FROM tab1 AS cor0 GROUP BY col0 ---- | > | 10917 10918 10919 10920 10921 10922 10923 10924 10925 10926 10927 10928 10929 10930 10931 | NULL NULL query I rowsort SELECT - ( + col2 ) FROM tab0 AS cor0 GROUP BY col2, col0 HAVING ( NULL ) IS NOT NULL ---- skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT 40 AS col0 FROM tab1 GROUP BY col1 HAVING ( NULL ) < - col0 ---- query I rowsort SELECT 63 FROM tab1 AS cor0 GROUP BY col0 ---- |
︙ | ︙ | |||
12798 12799 12800 12801 12802 12803 12804 12805 12806 12807 12808 12809 12810 12811 | SELECT col0 AS col2 FROM tab1 AS cor0 GROUP BY col0, col0 HAVING NOT 71 <> NULL ---- query I rowsort SELECT ALL 77 * + 26 AS col1 FROM tab2 GROUP BY col0 HAVING ( NULL ) >= col0 * 57 ---- query I rowsort SELECT col2 * - - COALESCE ( - 89, col1 * NULLIF ( ( 97 ), + col2 * - col2 ), - col2 + col1 ) AS col1 FROM tab0 GROUP BY col2 ---- -2136 -3382 -7031 | > | 12835 12836 12837 12838 12839 12840 12841 12842 12843 12844 12845 12846 12847 12848 12849 | SELECT col0 AS col2 FROM tab1 AS cor0 GROUP BY col0, col0 HAVING NOT 71 <> NULL ---- query I rowsort SELECT ALL 77 * + 26 AS col1 FROM tab2 GROUP BY col0 HAVING ( NULL ) >= col0 * 57 ---- skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT col2 * - - COALESCE ( - 89, col1 * NULLIF ( ( 97 ), + col2 * - col2 ), - col2 + col1 ) AS col1 FROM tab0 GROUP BY col2 ---- -2136 -3382 -7031 |
︙ | ︙ | |||
12865 12866 12867 12868 12869 12870 12871 12872 12873 12874 12875 12876 12877 12878 | query I rowsort SELECT ALL - + 13 FROM tab1 AS cor0 GROUP BY col1 HAVING col1 IS NOT NULL ---- -13 -13 -13 query II rowsort SELECT col0 * + col0 - + col0 + + col0 + - 14 + col0 col0, col0 FROM tab1 AS cor0 GROUP BY col0 ---- 492 22 6792 82 | > | 12903 12904 12905 12906 12907 12908 12909 12910 12911 12912 12913 12914 12915 12916 12917 | query I rowsort SELECT ALL - + 13 FROM tab1 AS cor0 GROUP BY col1 HAVING col1 IS NOT NULL ---- -13 -13 -13 skipif postgresql # PostgreSQL requires AS when renaming output columns query II rowsort SELECT col0 * + col0 - + col0 + + col0 + - 14 + col0 col0, col0 FROM tab1 AS cor0 GROUP BY col0 ---- 492 22 6792 82 |
︙ | ︙ | |||
13344 13345 13346 13347 13348 13349 13350 13351 13352 13353 13354 13355 13356 13357 | query I rowsort SELECT ALL - col0 FROM tab1 cor0 GROUP BY col0 HAVING - + 91 IS NOT NULL ---- -22 -28 -82 query II rowsort SELECT DISTINCT - col2 / + 34 * - 30 + + 38 AS col0, - 43 FROM tab2 AS cor0 GROUP BY col2 HAVING NULL < 69 * col0 ---- onlyif mysql # CAST syntax: SIGNED type: query II rowsort label-1821 SELECT DISTINCT - CASE + - col2 WHEN ( - CAST( NULL AS SIGNED ) ) + - - 76 + + - 56 THEN 53 END AS col2, + col0 FROM tab2 GROUP BY col2, col0 | > | 13383 13384 13385 13386 13387 13388 13389 13390 13391 13392 13393 13394 13395 13396 13397 | query I rowsort SELECT ALL - col0 FROM tab1 cor0 GROUP BY col0 HAVING - + 91 IS NOT NULL ---- -22 -28 -82 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query II rowsort SELECT DISTINCT - col2 / + 34 * - 30 + + 38 AS col0, - 43 FROM tab2 AS cor0 GROUP BY col2 HAVING NULL < 69 * col0 ---- onlyif mysql # CAST syntax: SIGNED type: query II rowsort label-1821 SELECT DISTINCT - CASE + - col2 WHEN ( - CAST( NULL AS SIGNED ) ) + - - 76 + + - 56 THEN 53 END AS col2, + col0 FROM tab2 GROUP BY col2, col0 |
︙ | ︙ | |||
13662 13663 13664 13665 13666 13667 13668 13669 13670 13671 13672 13673 13674 13675 | query I rowsort SELECT ALL 39 FROM tab0 GROUP BY col0, col0 ---- 39 39 39 query II rowsort SELECT ALL 29 col2, - col0 * + 72 + - 77 * + col0 - - + col2 AS col2 FROM tab1 GROUP BY col0, col2 HAVING NOT NULL IS NULL ---- onlyif mysql # DIV for integer division: query I rowsort label-1866 SELECT DISTINCT + - col2 DIV col1 FROM tab1 AS cor0 GROUP BY col2, col1, col0 | > | 13702 13703 13704 13705 13706 13707 13708 13709 13710 13711 13712 13713 13714 13715 13716 | query I rowsort SELECT ALL 39 FROM tab0 GROUP BY col0, col0 ---- 39 39 39 skipif postgresql # PostgreSQL requires AS when renaming output columns query II rowsort SELECT ALL 29 col2, - col0 * + 72 + - 77 * + col0 - - + col2 AS col2 FROM tab1 GROUP BY col0, col2 HAVING NOT NULL IS NULL ---- onlyif mysql # DIV for integer division: query I rowsort label-1866 SELECT DISTINCT + - col2 DIV col1 FROM tab1 AS cor0 GROUP BY col2, col1, col0 |
︙ | ︙ | |||
13865 13866 13867 13868 13869 13870 13871 13872 13873 13874 13875 13876 13877 13878 | SELECT col1 AS col0 FROM tab2 AS cor0 GROUP BY col1, col0 HAVING NOT NULL IS NULL ---- query I rowsort SELECT - 21 * col2 AS col2 FROM tab0 AS cor0 GROUP BY col2, col1 HAVING NOT ( col2 IS NOT NULL ) ---- query I rowsort SELECT col0 AS col1 FROM tab0 GROUP BY col0 HAVING NOT NULL <= - col1 - - col1 ---- query I rowsort SELECT ALL + 58 * 8 FROM tab0 GROUP BY col2 HAVING NOT NULL IS NULL ---- | > | 13906 13907 13908 13909 13910 13911 13912 13913 13914 13915 13916 13917 13918 13919 13920 | SELECT col1 AS col0 FROM tab2 AS cor0 GROUP BY col1, col0 HAVING NOT NULL IS NULL ---- query I rowsort SELECT - 21 * col2 AS col2 FROM tab0 AS cor0 GROUP BY col2, col1 HAVING NOT ( col2 IS NOT NULL ) ---- skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT col0 AS col1 FROM tab0 GROUP BY col0 HAVING NOT NULL <= - col1 - - col1 ---- query I rowsort SELECT ALL + 58 * 8 FROM tab0 GROUP BY col2 HAVING NOT NULL IS NULL ---- |
︙ | ︙ | |||
13974 13975 13976 13977 13978 13979 13980 13981 13982 13983 13984 13985 13986 13987 | 6605 query I rowsort SELECT DISTINCT 40 FROM tab1 GROUP BY col0, col1 HAVING ( col1 ) IS NOT NULL ---- 40 query I rowsort SELECT DISTINCT + col2 AS col1 FROM tab2 GROUP BY col0, col2 HAVING NOT + col1 >= NULL ---- query I rowsort SELECT col0 AS col2 FROM tab0 GROUP BY col0, col1, col0 ---- | > | 14016 14017 14018 14019 14020 14021 14022 14023 14024 14025 14026 14027 14028 14029 14030 | 6605 query I rowsort SELECT DISTINCT 40 FROM tab1 GROUP BY col0, col1 HAVING ( col1 ) IS NOT NULL ---- 40 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT DISTINCT + col2 AS col1 FROM tab2 GROUP BY col0, col2 HAVING NOT + col1 >= NULL ---- query I rowsort SELECT col0 AS col2 FROM tab0 GROUP BY col0, col1, col0 ---- |
︙ | ︙ | |||
14028 14029 14030 14031 14032 14033 14034 14035 14036 14037 14038 14039 14040 14041 14042 14043 14044 14045 14046 14047 14048 | ---- query I rowsort SELECT DISTINCT 95 * - ( - 56 ) * + ( - + 69 ) FROM tab0 AS cor0 GROUP BY col1 ---- -367080 query I rowsort SELECT ALL ( - COALESCE ( + 57, - col0 * 81 * col1 ) ) FROM tab1 GROUP BY col1 ---- -57 -57 -57 query I rowsort SELECT + + col1 - col1 * COALESCE ( - + 86, - + col0 * - + col1 + col2, col2 ) - 55 * + - 11 AS col1 FROM tab2 AS cor0 WHERE col1 NOT BETWEEN NULL AND NULL GROUP BY col1 HAVING NOT NULL IS NULL ---- skipif postgresql # PostgreSQL requires AS when renaming output columns query I rowsort SELECT DISTINCT + col1 col0 FROM tab2 AS cor0 GROUP BY col1 HAVING NOT + col0 + - + col0 NOT BETWEEN NULL AND NULL | > > | 14071 14072 14073 14074 14075 14076 14077 14078 14079 14080 14081 14082 14083 14084 14085 14086 14087 14088 14089 14090 14091 14092 14093 | ---- query I rowsort SELECT DISTINCT 95 * - ( - 56 ) * + ( - + 69 ) FROM tab0 AS cor0 GROUP BY col1 ---- -367080 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT ALL ( - COALESCE ( + 57, - col0 * 81 * col1 ) ) FROM tab1 GROUP BY col1 ---- -57 -57 -57 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT + + col1 - col1 * COALESCE ( - + 86, - + col0 * - + col1 + col2, col2 ) - 55 * + - 11 AS col1 FROM tab2 AS cor0 WHERE col1 NOT BETWEEN NULL AND NULL GROUP BY col1 HAVING NOT NULL IS NULL ---- skipif postgresql # PostgreSQL requires AS when renaming output columns query I rowsort SELECT DISTINCT + col1 col0 FROM tab2 AS cor0 GROUP BY col1 HAVING NOT + col0 + - + col0 NOT BETWEEN NULL AND NULL |
︙ | ︙ | |||
14268 14269 14270 14271 14272 14273 14274 14275 14276 14277 14278 14279 14280 14281 | query I rowsort label-1946 SELECT + col1 * 89 - col1 + col1 / - - col0 - 42 FROM tab1 AS cor0 GROUP BY col0, col1 ---- 3830 486 4976 query I rowsort SELECT ALL - ( - col1 ) AS col2 FROM tab2 AS cor0 GROUP BY col1, col1 HAVING ( + col2 >= ( NULL ) ) ---- query I rowsort SELECT ALL 9 * - col2 AS col1 FROM tab0 GROUP BY col2 ---- | > | 14313 14314 14315 14316 14317 14318 14319 14320 14321 14322 14323 14324 14325 14326 14327 | query I rowsort label-1946 SELECT + col1 * 89 - col1 + col1 / - - col0 - 42 FROM tab1 AS cor0 GROUP BY col0, col1 ---- 3830 486 4976 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT ALL - ( - col1 ) AS col2 FROM tab2 AS cor0 GROUP BY col1, col1 HAVING ( + col2 >= ( NULL ) ) ---- query I rowsort SELECT ALL 9 * - col2 AS col1 FROM tab0 GROUP BY col2 ---- |
︙ | ︙ | |||
14519 14520 14521 14522 14523 14524 14525 14526 14527 14528 14529 14530 14531 14532 | SELECT ALL col0 AS col2 FROM tab2 WHERE NULL IS NOT NULL GROUP BY col1, col0 ---- query I rowsort SELECT ALL + col2 AS col1 FROM tab0 GROUP BY col2, col1, col2 HAVING 32 + ( col2 ) >= NULL ---- query II rowsort SELECT ALL + + 8 col0, col1 + 8 * 91 + + 57 FROM tab0 AS cor0 GROUP BY col1 HAVING NOT 63 * - col1 * + col1 >= NULL ---- onlyif mysql # CAST syntax: SIGNED type: query I rowsort label-1988 SELECT ALL col1 FROM tab0 AS cor0 GROUP BY col1 HAVING NULL NOT BETWEEN + 36 AND - CAST( NULL AS SIGNED ) + - - 75 | > | 14565 14566 14567 14568 14569 14570 14571 14572 14573 14574 14575 14576 14577 14578 14579 | SELECT ALL col0 AS col2 FROM tab2 WHERE NULL IS NOT NULL GROUP BY col1, col0 ---- query I rowsort SELECT ALL + col2 AS col1 FROM tab0 GROUP BY col2, col1, col2 HAVING 32 + ( col2 ) >= NULL ---- skipif postgresql # PostgreSQL requires AS when renaming output columns query II rowsort SELECT ALL + + 8 col0, col1 + 8 * 91 + + 57 FROM tab0 AS cor0 GROUP BY col1 HAVING NOT 63 * - col1 * + col1 >= NULL ---- onlyif mysql # CAST syntax: SIGNED type: query I rowsort label-1988 SELECT ALL col1 FROM tab0 AS cor0 GROUP BY col1 HAVING NULL NOT BETWEEN + 36 AND - CAST( NULL AS SIGNED ) + - - 75 |
︙ | ︙ | |||
14928 14929 14930 14931 14932 14933 14934 14935 14936 14937 14938 14939 14940 14941 14942 14943 14944 14945 14946 14947 14948 14949 14950 14951 | query I rowsort SELECT ( col2 ) AS col2 FROM tab2 GROUP BY col2 ---- 58 79 87 query II rowsort SELECT + col1 col2, col1 FROM tab1 GROUP BY col1 ---- 44 44 57 57 6 6 query II rowsort SELECT ALL - AVG ( + + col1 ) * col1 col2, col1 AS col2 FROM tab1 GROUP BY col1 ---- -1936 44 -3249 57 | > > | 14975 14976 14977 14978 14979 14980 14981 14982 14983 14984 14985 14986 14987 14988 14989 14990 14991 14992 14993 14994 14995 14996 14997 14998 14999 15000 | query I rowsort SELECT ( col2 ) AS col2 FROM tab2 GROUP BY col2 ---- 58 79 87 skipif postgresql # PostgreSQL requires AS when renaming output columns query II rowsort SELECT + col1 col2, col1 FROM tab1 GROUP BY col1 ---- 44 44 57 57 6 6 skipif postgresql # PostgreSQL requires AS when renaming output columns query II rowsort SELECT ALL - AVG ( + + col1 ) * col1 col2, col1 AS col2 FROM tab1 GROUP BY col1 ---- -1936 44 -3249 57 |
︙ | ︙ | |||
15421 15422 15423 15424 15425 15426 15427 15428 15429 15430 15431 15432 15433 15434 | 0 21 query I rowsort SELECT ALL + col1 AS col2 FROM tab1 AS cor0 GROUP BY col0, col1 HAVING NOT NULL = NULL ---- query III rowsort SELECT ALL col2 + + col2 col0, col2 * col2 AS col2, 87 FROM tab2 GROUP BY col2 ---- 9 values hashing to 33cb52a23dd54bb82284e857c641ea18 query I rowsort SELECT - 32 * - 19 FROM tab2 AS cor0 GROUP BY col1 | > | 15470 15471 15472 15473 15474 15475 15476 15477 15478 15479 15480 15481 15482 15483 15484 | 0 21 query I rowsort SELECT ALL + col1 AS col2 FROM tab1 AS cor0 GROUP BY col0, col1 HAVING NOT NULL = NULL ---- skipif postgresql # PostgreSQL requires AS when renaming output columns query III rowsort SELECT ALL col2 + + col2 col0, col2 * col2 AS col2, 87 FROM tab2 GROUP BY col2 ---- 9 values hashing to 33cb52a23dd54bb82284e857c641ea18 query I rowsort SELECT - 32 * - 19 FROM tab2 AS cor0 GROUP BY col1 |
︙ | ︙ | |||
15514 15515 15516 15517 15518 15519 15520 15521 15522 15523 15524 15525 15526 15527 | ---- skipif mysql # not compatible query I rowsort label-2116 SELECT + CAST ( NULL AS INTEGER ) FROM tab1 GROUP BY col0 HAVING + CAST ( - col0 AS INTEGER ) IS NULL ---- query I rowsort SELECT ALL + 39 * - 65 / + col1 + col1 * col1 AS col0 FROM tab1 AS cor0 GROUP BY col1 HAVING NOT col0 <= NULL ---- query II rowsort SELECT DISTINCT col0, - col1 AS col1 FROM tab2 GROUP BY col0, col1 ---- | > | 15564 15565 15566 15567 15568 15569 15570 15571 15572 15573 15574 15575 15576 15577 15578 | ---- skipif mysql # not compatible query I rowsort label-2116 SELECT + CAST ( NULL AS INTEGER ) FROM tab1 GROUP BY col0 HAVING + CAST ( - col0 AS INTEGER ) IS NULL ---- skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT ALL + 39 * - 65 / + col1 + col1 * col1 AS col0 FROM tab1 AS cor0 GROUP BY col1 HAVING NOT col0 <= NULL ---- query II rowsort SELECT DISTINCT col0, - col1 AS col1 FROM tab2 GROUP BY col0, col1 ---- |
︙ | ︙ | |||
15564 15565 15566 15567 15568 15569 15570 15571 15572 15573 15574 15575 15576 15577 | query I rowsort SELECT ALL - col2 + - 41 AS col1 FROM tab1 AS cor0 GROUP BY col2 ---- -112 -49 -86 query II rowsort SELECT col1 col0, col1 FROM tab0 GROUP BY col1 ---- 0 0 81 81 | > | 15615 15616 15617 15618 15619 15620 15621 15622 15623 15624 15625 15626 15627 15628 15629 | query I rowsort SELECT ALL - col2 + - 41 AS col1 FROM tab1 AS cor0 GROUP BY col2 ---- -112 -49 -86 skipif postgresql # PostgreSQL requires AS when renaming output columns query II rowsort SELECT col1 col0, col1 FROM tab0 GROUP BY col1 ---- 0 0 81 81 |
︙ | ︙ | |||
16242 16243 16244 16245 16246 16247 16248 16249 16250 16251 16252 16253 16254 16255 | -5278 0 -5336 2 -870 skipif mysql # not compatible query II rowsort label-2221 SELECT DISTINCT 43 / - - ( - CAST ( - col0 AS INTEGER ) ) col2, - 59 * + col0 - - col0 FROM tab2 AS cor0 GROUP BY col0 ---- 0 -5278 0 -5336 | > | 16294 16295 16296 16297 16298 16299 16300 16301 16302 16303 16304 16305 16306 16307 16308 | -5278 0 -5336 2 -870 skipif mysql # not compatible skipif postgresql # PostgreSQL requires AS when renaming output columns query II rowsort label-2221 SELECT DISTINCT 43 / - - ( - CAST ( - col0 AS INTEGER ) ) col2, - 59 * + col0 - - col0 FROM tab2 AS cor0 GROUP BY col0 ---- 0 -5278 0 -5336 |
︙ | ︙ | |||
16278 16279 16280 16281 16282 16283 16284 16285 16286 16287 16288 16289 16290 16291 | SELECT - col1 * - + col1 FROM tab0 GROUP BY col1 HAVING NOT + - 36 * col1 IS NOT NULL ---- query I rowsort SELECT ALL - col2 + + + col2 * + 26 AS col2 FROM tab0 AS cor0 GROUP BY col2 HAVING NOT NULL IS NULL ---- query II rowsort SELECT ALL + 65 AS col0, col2 AS col2 FROM tab2 AS cor0 WHERE NOT NULL NOT IN ( col2, col2 * + + 24 + - ( col2 ), + 11 * + + col1 ) GROUP BY col1, col2 HAVING NULL NOT BETWEEN ( - col0 + 81 ) AND col0 ---- query II rowsort SELECT col2 AS col2, + 62 AS col0 FROM tab1 GROUP BY col2 ---- | > | 16331 16332 16333 16334 16335 16336 16337 16338 16339 16340 16341 16342 16343 16344 16345 | SELECT - col1 * - + col1 FROM tab0 GROUP BY col1 HAVING NOT + - 36 * col1 IS NOT NULL ---- query I rowsort SELECT ALL - col2 + + + col2 * + 26 AS col2 FROM tab0 AS cor0 GROUP BY col2 HAVING NOT NULL IS NULL ---- skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query II rowsort SELECT ALL + 65 AS col0, col2 AS col2 FROM tab2 AS cor0 WHERE NOT NULL NOT IN ( col2, col2 * + + 24 + - ( col2 ), + 11 * + + col1 ) GROUP BY col1, col2 HAVING NULL NOT BETWEEN ( - col0 + 81 ) AND col0 ---- query II rowsort SELECT col2 AS col2, + 62 AS col0 FROM tab1 GROUP BY col2 ---- |
︙ | ︙ | |||
16574 16575 16576 16577 16578 16579 16580 16581 16582 16583 16584 16585 16586 16587 | ---- skipif mysql # not compatible query II rowsort label-2266 SELECT - - col2 AS col1, - col2 * + + 59 + - - CAST ( NULL AS INTEGER ) FROM tab0 WHERE + 29 + + col0 = - + ( - col0 ) GROUP BY col1, col2 ---- query I rowsort SELECT ALL - AVG ( - col1 ) * 60 AS col2 FROM tab0 AS cor0 GROUP BY col1 HAVING NOT NULL <= ( - col2 ) ---- onlyif mysql # CAST syntax: SIGNED type: query I rowsort label-2268 SELECT DISTINCT - CAST( + + 34 AS SIGNED ) col2 FROM tab1 AS cor0 GROUP BY col2 | > | 16628 16629 16630 16631 16632 16633 16634 16635 16636 16637 16638 16639 16640 16641 16642 | ---- skipif mysql # not compatible query II rowsort label-2266 SELECT - - col2 AS col1, - col2 * + + 59 + - - CAST ( NULL AS INTEGER ) FROM tab0 WHERE + 29 + + col0 = - + ( - col0 ) GROUP BY col1, col2 ---- skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT ALL - AVG ( - col1 ) * 60 AS col2 FROM tab0 AS cor0 GROUP BY col1 HAVING NOT NULL <= ( - col2 ) ---- onlyif mysql # CAST syntax: SIGNED type: query I rowsort label-2268 SELECT DISTINCT - CAST( + + 34 AS SIGNED ) col2 FROM tab1 AS cor0 GROUP BY col2 |
︙ | ︙ | |||
16639 16640 16641 16642 16643 16644 16645 16646 16647 16648 16649 16650 16651 16652 | onlyif mysql # CAST syntax: SIGNED type: query I rowsort label-2274 SELECT DISTINCT + col2 * 32 AS col1 FROM tab1 GROUP BY col2 HAVING NOT NULL >= CAST( NULL AS SIGNED ) / col1 - 6 ---- skipif mysql # not compatible query I rowsort label-2274 SELECT DISTINCT + col2 * 32 AS col1 FROM tab1 GROUP BY col2 HAVING NOT NULL >= CAST ( NULL AS INTEGER ) / col1 - 6 ---- query I rowsort SELECT DISTINCT + col1 AS col0 FROM tab2 GROUP BY col1 HAVING NOT ( + 49 ) IS NULL ---- | > | 16694 16695 16696 16697 16698 16699 16700 16701 16702 16703 16704 16705 16706 16707 16708 | onlyif mysql # CAST syntax: SIGNED type: query I rowsort label-2274 SELECT DISTINCT + col2 * 32 AS col1 FROM tab1 GROUP BY col2 HAVING NOT NULL >= CAST( NULL AS SIGNED ) / col1 - 6 ---- skipif mysql # not compatible skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort label-2274 SELECT DISTINCT + col2 * 32 AS col1 FROM tab1 GROUP BY col2 HAVING NOT NULL >= CAST ( NULL AS INTEGER ) / col1 - 6 ---- query I rowsort SELECT DISTINCT + col1 AS col0 FROM tab2 GROUP BY col1 HAVING NOT ( + 49 ) IS NULL ---- |
︙ | ︙ | |||
18054 18055 18056 18057 18058 18059 18060 18061 18062 18063 18064 18065 18066 18067 | query I rowsort label-2459 SELECT ALL - col0 + - + col2 / + 29 FROM tab2 GROUP BY col2, col0, col0 ---- -18 -93 -94 query II rowsort SELECT col2 col2, col2 * - + ( - 8 ) FROM tab2 GROUP BY col1, col2 ---- 58 464 79 632 | > | 18110 18111 18112 18113 18114 18115 18116 18117 18118 18119 18120 18121 18122 18123 18124 | query I rowsort label-2459 SELECT ALL - col0 + - + col2 / + 29 FROM tab2 GROUP BY col2, col0, col0 ---- -18 -93 -94 skipif postgresql # PostgreSQL requires AS when renaming output columns query II rowsort SELECT col2 col2, col2 * - + ( - 8 ) FROM tab2 GROUP BY col1, col2 ---- 58 464 79 632 |
︙ | ︙ | |||
18549 18550 18551 18552 18553 18554 18555 18556 18557 18558 18559 18560 18561 18562 | SELECT DISTINCT - col0 + - COALESCE ( + 92, - + 56 * + ( + col1 DIV 9 ) + 78 * - col2, - 67, - col0 + + 40 ) + + 32 DIV + col0 FROM tab2 GROUP BY col0 HAVING ( NULL ) IS NULL ---- -105 -183 -184 skipif mysql # not compatible query I rowsort label-2532 SELECT DISTINCT - col0 + - COALESCE ( + 92, - + 56 * + ( + col1 / 9 ) + 78 * - col2, - 67, - col0 + + 40 ) + + 32 / + col0 FROM tab2 GROUP BY col0 HAVING ( NULL ) IS NULL ---- -105 -183 -184 | > | 18606 18607 18608 18609 18610 18611 18612 18613 18614 18615 18616 18617 18618 18619 18620 | SELECT DISTINCT - col0 + - COALESCE ( + 92, - + 56 * + ( + col1 DIV 9 ) + 78 * - col2, - 67, - col0 + + 40 ) + + 32 DIV + col0 FROM tab2 GROUP BY col0 HAVING ( NULL ) IS NULL ---- -105 -183 -184 skipif mysql # not compatible skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort label-2532 SELECT DISTINCT - col0 + - COALESCE ( + 92, - + 56 * + ( + col1 / 9 ) + 78 * - col2, - 67, - col0 + + 40 ) + + 32 / + col0 FROM tab2 GROUP BY col0 HAVING ( NULL ) IS NULL ---- -105 -183 -184 |
︙ | ︙ | |||
18805 18806 18807 18808 18809 18810 18811 18812 18813 18814 18815 18816 18817 18818 18819 18820 18821 18822 18823 18824 18825 18826 18827 18828 18829 18830 18831 18832 18833 18834 18835 18836 | skipif mysql # not compatible query I rowsort label-2563 SELECT DISTINCT col2 / col2 AS col0 FROM tab2 AS cor0 GROUP BY col2 ---- 1 query II rowsort SELECT DISTINCT ( 24 ) col1, - col2 * - col2 AS col0 FROM tab0 cor0 GROUP BY col2 HAVING NULL IS NOT NULL ---- query I rowsort SELECT ALL - + col2 FROM tab2 AS cor0 GROUP BY col2 HAVING NOT ( - col2 IS NULL ) ---- -58 -79 -87 query I rowsort SELECT - 29 FROM tab2 GROUP BY col1 ---- -29 -29 -29 query II rowsort SELECT + + col0 AS col2, - col0 AS col2 FROM tab1 AS cor0 GROUP BY col0 HAVING NULL BETWEEN col2 AND NULL ---- query II rowsort SELECT - 8 AS col1, + col0 FROM tab1 GROUP BY col1, col0, col0 ---- | > > | 18863 18864 18865 18866 18867 18868 18869 18870 18871 18872 18873 18874 18875 18876 18877 18878 18879 18880 18881 18882 18883 18884 18885 18886 18887 18888 18889 18890 18891 18892 18893 18894 18895 18896 | skipif mysql # not compatible query I rowsort label-2563 SELECT DISTINCT col2 / col2 AS col0 FROM tab2 AS cor0 GROUP BY col2 ---- 1 skipif postgresql # PostgreSQL requires AS when renaming output columns query II rowsort SELECT DISTINCT ( 24 ) col1, - col2 * - col2 AS col0 FROM tab0 cor0 GROUP BY col2 HAVING NULL IS NOT NULL ---- query I rowsort SELECT ALL - + col2 FROM tab2 AS cor0 GROUP BY col2 HAVING NOT ( - col2 IS NULL ) ---- -58 -79 -87 query I rowsort SELECT - 29 FROM tab2 GROUP BY col1 ---- -29 -29 -29 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query II rowsort SELECT + + col0 AS col2, - col0 AS col2 FROM tab1 AS cor0 GROUP BY col0 HAVING NULL BETWEEN col2 AND NULL ---- query II rowsort SELECT - 8 AS col1, + col0 FROM tab1 GROUP BY col1, col0, col0 ---- |
︙ | ︙ | |||
18901 18902 18903 18904 18905 18906 18907 18908 18909 18910 18911 18912 18913 18914 | query I rowsort label-2575 SELECT - AVG ( ALL + CAST ( NULL AS INTEGER ) ) FROM tab2 AS cor0 GROUP BY col2 ---- NULL NULL NULL query II rowsort SELECT 22 col1, + 2 * ( col1 ) FROM tab0 AS cor0 WHERE 89 IS NULL GROUP BY col1 ---- query I rowsort SELECT DISTINCT - + col0 AS col2 FROM tab1 AS cor0 GROUP BY col0 ---- | > | 18961 18962 18963 18964 18965 18966 18967 18968 18969 18970 18971 18972 18973 18974 18975 | query I rowsort label-2575 SELECT - AVG ( ALL + CAST ( NULL AS INTEGER ) ) FROM tab2 AS cor0 GROUP BY col2 ---- NULL NULL NULL skipif postgresql # PostgreSQL requires AS when renaming output columns query II rowsort SELECT 22 col1, + 2 * ( col1 ) FROM tab0 AS cor0 WHERE 89 IS NULL GROUP BY col1 ---- query I rowsort SELECT DISTINCT - + col0 AS col2 FROM tab1 AS cor0 GROUP BY col0 ---- |
︙ | ︙ | |||
19070 19071 19072 19073 19074 19075 19076 19077 19078 19079 19080 19081 19082 19083 | onlyif mysql # CAST syntax: DECIMAL type: query II rowsort label-2602 SELECT DISTINCT 34 * + + col2 * + AVG ( ALL - 64 ) + + col2 col1, CAST( NULL AS DECIMAL ) / - col0 / col0 FROM tab1 GROUP BY col0, col2 HAVING NOT ( - col2 >= NULL ) ---- skipif mysql # not compatible query II rowsort label-2602 SELECT DISTINCT 34 * + + col2 * + AVG ( ALL - 64 ) + + col2 col1, CAST ( NULL AS REAL ) / - col0 / col0 FROM tab1 GROUP BY col0, col2 HAVING NOT ( - col2 >= NULL ) ---- query I rowsort SELECT ALL col1 + + col0 FROM tab2 GROUP BY col0, col1 HAVING - 6 IS NOT NULL ---- | > | 19131 19132 19133 19134 19135 19136 19137 19138 19139 19140 19141 19142 19143 19144 19145 | onlyif mysql # CAST syntax: DECIMAL type: query II rowsort label-2602 SELECT DISTINCT 34 * + + col2 * + AVG ( ALL - 64 ) + + col2 col1, CAST( NULL AS DECIMAL ) / - col0 / col0 FROM tab1 GROUP BY col0, col2 HAVING NOT ( - col2 >= NULL ) ---- skipif mysql # not compatible skipif postgresql # PostgreSQL requires AS when renaming output columns query II rowsort label-2602 SELECT DISTINCT 34 * + + col2 * + AVG ( ALL - 64 ) + + col2 col1, CAST ( NULL AS REAL ) / - col0 / col0 FROM tab1 GROUP BY col0, col2 HAVING NOT ( - col2 >= NULL ) ---- query I rowsort SELECT ALL col1 + + col0 FROM tab2 GROUP BY col0, col1 HAVING - 6 IS NOT NULL ---- |
︙ | ︙ | |||
19529 19530 19531 19532 19533 19534 19535 19536 19537 19538 19539 19540 19541 19542 | -8 query I rowsort SELECT DISTINCT + + 27 AS col1 FROM tab0 cor0 GROUP BY col2, col2 ---- 27 query II rowsort SELECT - + 20 - + col2 col0, col2 AS col1 FROM tab2 AS cor0 GROUP BY col2 ---- -107 87 -78 58 | > | 19591 19592 19593 19594 19595 19596 19597 19598 19599 19600 19601 19602 19603 19604 19605 | -8 query I rowsort SELECT DISTINCT + + 27 AS col1 FROM tab0 cor0 GROUP BY col2, col2 ---- 27 skipif postgresql # PostgreSQL requires AS when renaming output columns query II rowsort SELECT - + 20 - + col2 col0, col2 AS col1 FROM tab2 AS cor0 GROUP BY col2 ---- -107 87 -78 58 |
︙ | ︙ | |||
19844 19845 19846 19847 19848 19849 19850 19851 19852 19853 19854 19855 19856 19857 | onlyif mysql # CAST syntax: SIGNED type: query I rowsort label-2716 SELECT + col1 AS col0 FROM tab0 GROUP BY col1 HAVING + + 48 BETWEEN + + 73 AND col0 * + CAST( + 28 AS SIGNED ) ---- skipif mysql # not compatible query I rowsort label-2716 SELECT + col1 AS col0 FROM tab0 GROUP BY col1 HAVING + + 48 BETWEEN + + 73 AND col0 * + CAST ( + 28 AS INTEGER ) ---- query I rowsort SELECT 90 FROM tab0 GROUP BY col0 ---- | > | 19907 19908 19909 19910 19911 19912 19913 19914 19915 19916 19917 19918 19919 19920 19921 | onlyif mysql # CAST syntax: SIGNED type: query I rowsort label-2716 SELECT + col1 AS col0 FROM tab0 GROUP BY col1 HAVING + + 48 BETWEEN + + 73 AND col0 * + CAST( + 28 AS SIGNED ) ---- skipif mysql # not compatible skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort label-2716 SELECT + col1 AS col0 FROM tab0 GROUP BY col1 HAVING + + 48 BETWEEN + + 73 AND col0 * + CAST ( + 28 AS INTEGER ) ---- query I rowsort SELECT 90 FROM tab0 GROUP BY col0 ---- |
︙ | ︙ | |||
20737 20738 20739 20740 20741 20742 20743 20744 20745 20746 20747 20748 20749 20750 | 28 82 query I rowsort SELECT DISTINCT col1 FROM tab0 GROUP BY col1 HAVING ( NULL ) IN ( - 60 ) ---- query I rowsort SELECT + 89 AS col2 FROM tab2 AS cor0 GROUP BY col0 HAVING NOT NULL >= col2 / col2 ---- query I rowsort SELECT DISTINCT col0 FROM tab1 GROUP BY col0, col1 HAVING ( NULL ) IN ( - col0 ) ---- | > | 20801 20802 20803 20804 20805 20806 20807 20808 20809 20810 20811 20812 20813 20814 20815 | 28 82 query I rowsort SELECT DISTINCT col1 FROM tab0 GROUP BY col1 HAVING ( NULL ) IN ( - 60 ) ---- skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT + 89 AS col2 FROM tab2 AS cor0 GROUP BY col0 HAVING NOT NULL >= col2 / col2 ---- query I rowsort SELECT DISTINCT col0 FROM tab1 GROUP BY col0, col1 HAVING ( NULL ) IN ( - col0 ) ---- |
︙ | ︙ | |||
21030 21031 21032 21033 21034 21035 21036 21037 21038 21039 21040 21041 21042 21043 | query I rowsort SELECT + ( - col0 ) AS col0 FROM tab2 AS cor0 GROUP BY col0 ---- -15 -91 -92 query II rowsort SELECT DISTINCT - ( col0 ), col0 AS col1 FROM tab2 GROUP BY col0 HAVING NOT NULL NOT BETWEEN + col0 AND AVG ( DISTINCT + col1 ) + - col1 ---- query I rowsort SELECT DISTINCT + col0 * + col0 * + col0 AS col0 FROM tab1 GROUP BY col0 HAVING NULL IS NOT NULL ---- | > | 21095 21096 21097 21098 21099 21100 21101 21102 21103 21104 21105 21106 21107 21108 21109 | query I rowsort SELECT + ( - col0 ) AS col0 FROM tab2 AS cor0 GROUP BY col0 ---- -15 -91 -92 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query II rowsort SELECT DISTINCT - ( col0 ), col0 AS col1 FROM tab2 GROUP BY col0 HAVING NOT NULL NOT BETWEEN + col0 AND AVG ( DISTINCT + col1 ) + - col1 ---- query I rowsort SELECT DISTINCT + col0 * + col0 * + col0 AS col0 FROM tab1 GROUP BY col0 HAVING NULL IS NOT NULL ---- |
︙ | ︙ | |||
21490 21491 21492 21493 21494 21495 21496 21497 21498 21499 21500 21501 21502 21503 | 2474 query I rowsort SELECT DISTINCT - + 67 FROM tab0 AS cor0 GROUP BY col1 HAVING NOT ( - 36 ) IS NULL ---- -67 query I rowsort SELECT col2 AS col1 FROM tab0 AS cor0 GROUP BY col2 HAVING ( NULL ) >= + col2 + + col1 * + 71 ---- skipif postgresql # PostgreSQL requires AS when renaming output columns query I rowsort SELECT - - 77 col2 FROM tab2 AS cor0 GROUP BY col0 | > | 21556 21557 21558 21559 21560 21561 21562 21563 21564 21565 21566 21567 21568 21569 21570 | 2474 query I rowsort SELECT DISTINCT - + 67 FROM tab0 AS cor0 GROUP BY col1 HAVING NOT ( - 36 ) IS NULL ---- -67 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT col2 AS col1 FROM tab0 AS cor0 GROUP BY col2 HAVING ( NULL ) >= + col2 + + col1 * + 71 ---- skipif postgresql # PostgreSQL requires AS when renaming output columns query I rowsort SELECT - - 77 col2 FROM tab2 AS cor0 GROUP BY col0 |
︙ | ︙ | |||
21712 21713 21714 21715 21716 21717 21718 21719 21720 21721 21722 21723 21724 21725 | NULL query I rowsort SELECT DISTINCT + 68 AS col0 FROM tab0 GROUP BY col0 ---- 68 query I rowsort SELECT col1 AS col0 FROM tab0 GROUP BY col1 HAVING NOT ( NULL ) BETWEEN + col0 AND NULL ---- query II rowsort SELECT - + 24, + col2 FROM tab2 AS cor0 GROUP BY col1, col2 ---- | > | 21779 21780 21781 21782 21783 21784 21785 21786 21787 21788 21789 21790 21791 21792 21793 | NULL query I rowsort SELECT DISTINCT + 68 AS col0 FROM tab0 GROUP BY col0 ---- 68 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT col1 AS col0 FROM tab0 GROUP BY col1 HAVING NOT ( NULL ) BETWEEN + col0 AND NULL ---- query II rowsort SELECT - + 24, + col2 FROM tab2 AS cor0 GROUP BY col1, col2 ---- |
︙ | ︙ | |||
21752 21753 21754 21755 21756 21757 21758 21759 21760 21761 21762 21763 21764 21765 | -8281 -8464 query I rowsort SELECT 34 FROM tab2 GROUP BY col2 HAVING NOT NULL IS NULL ---- query I rowsort SELECT ALL + ( col0 ) AS col1 FROM tab1 GROUP BY col0 HAVING ( NULL ) NOT BETWEEN 67 + col0 * + col1 AND + col0 ---- query I rowsort SELECT ( 18 ) + + col0 FROM tab0 GROUP BY col0, col0 HAVING NULL IS NOT NULL ---- | > | 21820 21821 21822 21823 21824 21825 21826 21827 21828 21829 21830 21831 21832 21833 21834 | -8281 -8464 query I rowsort SELECT 34 FROM tab2 GROUP BY col2 HAVING NOT NULL IS NULL ---- skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT ALL + ( col0 ) AS col1 FROM tab1 GROUP BY col0 HAVING ( NULL ) NOT BETWEEN 67 + col0 * + col1 AND + col0 ---- query I rowsort SELECT ( 18 ) + + col0 FROM tab0 GROUP BY col0, col0 HAVING NULL IS NOT NULL ---- |
︙ | ︙ | |||
22156 22157 22158 22159 22160 22161 22162 22163 22164 22165 22166 22167 22168 22169 | SELECT ALL col1, col1 AS col1 FROM tab0 AS cor0 GROUP BY col1 ---- 0 0 81 81 query II rowsort SELECT col1, - COALESCE ( 52, - col0 * - + col0 + - + col2 ) FROM tab2 AS cor0 GROUP BY col1 HAVING NOT - 91 / + 60 IS NULL ---- 41 -52 59 -52 | > | 22225 22226 22227 22228 22229 22230 22231 22232 22233 22234 22235 22236 22237 22238 22239 | SELECT ALL col1, col1 AS col1 FROM tab0 AS cor0 GROUP BY col1 ---- 0 0 81 81 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query II rowsort SELECT col1, - COALESCE ( 52, - col0 * - + col0 + - + col2 ) FROM tab2 AS cor0 GROUP BY col1 HAVING NOT - 91 / + 60 IS NULL ---- 41 -52 59 -52 |
︙ | ︙ | |||
22307 22308 22309 22310 22311 22312 22313 22314 22315 22316 22317 22318 22319 22320 | onlyif mysql # CAST syntax: SIGNED type: query II rowsort label-3051 SELECT ALL + CAST( NULL AS SIGNED ) - 37, - 43 / - COALESCE ( - 92, - col0 * 85 + + col0 ) + - 19 - 10 * 97 FROM tab0 GROUP BY col1, col2, col1 HAVING NOT 21 = NULL ---- skipif mysql # not compatible query II rowsort label-3051 SELECT ALL + CAST ( NULL AS INTEGER ) - 37, - 43 / - COALESCE ( - 92, - col0 * 85 + + col0 ) + - 19 - 10 * 97 FROM tab0 GROUP BY col1, col2, col1 HAVING NOT 21 = NULL ---- query I rowsort SELECT DISTINCT ( + col0 ) * + + 19 AS col2 FROM tab1 GROUP BY col0 ---- | > | 22377 22378 22379 22380 22381 22382 22383 22384 22385 22386 22387 22388 22389 22390 22391 | onlyif mysql # CAST syntax: SIGNED type: query II rowsort label-3051 SELECT ALL + CAST( NULL AS SIGNED ) - 37, - 43 / - COALESCE ( - 92, - col0 * 85 + + col0 ) + - 19 - 10 * 97 FROM tab0 GROUP BY col1, col2, col1 HAVING NOT 21 = NULL ---- skipif mysql # not compatible skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query II rowsort label-3051 SELECT ALL + CAST ( NULL AS INTEGER ) - 37, - 43 / - COALESCE ( - 92, - col0 * 85 + + col0 ) + - 19 - 10 * 97 FROM tab0 GROUP BY col1, col2, col1 HAVING NOT 21 = NULL ---- query I rowsort SELECT DISTINCT ( + col0 ) * + + 19 AS col2 FROM tab1 GROUP BY col0 ---- |
︙ | ︙ | |||
22519 22520 22521 22522 22523 22524 22525 22526 22527 22528 22529 22530 22531 22532 | 58 58 79 79 87 87 query I rowsort SELECT + - col1 AS col0 FROM tab1 cor0 GROUP BY col1, col1 HAVING NULL < col0 + ( + 38 ) ---- query II rowsort SELECT DISTINCT - 12 AS col1, 4 / col0 AS col0 FROM tab2 cor0 GROUP BY col0 HAVING NOT NULL IS NULL ---- | > | 22590 22591 22592 22593 22594 22595 22596 22597 22598 22599 22600 22601 22602 22603 22604 | 58 58 79 79 87 87 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT + - col1 AS col0 FROM tab1 cor0 GROUP BY col1, col1 HAVING NULL < col0 + ( + 38 ) ---- query II rowsort SELECT DISTINCT - 12 AS col1, 4 / col0 AS col0 FROM tab2 cor0 GROUP BY col0 HAVING NOT NULL IS NULL ---- |
︙ | ︙ | |||
22966 22967 22968 22969 22970 22971 22972 22973 22974 22975 22976 22977 22978 22979 | 1166 22 1484 28 4346 82 query II rowsort SELECT ALL - 74 - - 47 + + - 82 col2, col0 FROM tab0 AS cor0 WHERE NOT - col1 IS NULL GROUP BY col1, col0 HAVING col1 IS NULL ---- skipif postgresql # PostgreSQL requires AS when renaming output columns query I rowsort SELECT DISTINCT 34 + + 62 * - + col1 col0 FROM tab2 GROUP BY col1 | > | 23038 23039 23040 23041 23042 23043 23044 23045 23046 23047 23048 23049 23050 23051 23052 | 1166 22 1484 28 4346 82 skipif postgresql # PostgreSQL requires AS when renaming output columns query II rowsort SELECT ALL - 74 - - 47 + + - 82 col2, col0 FROM tab0 AS cor0 WHERE NOT - col1 IS NULL GROUP BY col1, col0 HAVING col1 IS NULL ---- skipif postgresql # PostgreSQL requires AS when renaming output columns query I rowsort SELECT DISTINCT 34 + + 62 * - + col1 col0 FROM tab2 GROUP BY col1 |
︙ | ︙ | |||
23188 23189 23190 23191 23192 23193 23194 23195 23196 23197 23198 23199 23200 23201 | query I rowsort SELECT DISTINCT - col0 AS col2 FROM tab2 AS cor0 GROUP BY col0 HAVING - col0 IS NOT NULL ---- -15 -91 -92 query I rowsort SELECT ALL col0 * - 92 + AVG ( + col0 ) AS col2 FROM tab0 GROUP BY col0 HAVING ( NULL ) <= col2 ---- query I rowsort SELECT ALL col2 + col2 AS col2 FROM tab1 GROUP BY col1, col2 ---- | > | 23261 23262 23263 23264 23265 23266 23267 23268 23269 23270 23271 23272 23273 23274 23275 | query I rowsort SELECT DISTINCT - col0 AS col2 FROM tab2 AS cor0 GROUP BY col0 HAVING - col0 IS NOT NULL ---- -15 -91 -92 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT ALL col0 * - 92 + AVG ( + col0 ) AS col2 FROM tab0 GROUP BY col0 HAVING ( NULL ) <= col2 ---- query I rowsort SELECT ALL col2 + col2 AS col2 FROM tab1 GROUP BY col1, col2 ---- |
︙ | ︙ | |||
23754 23755 23756 23757 23758 23759 23760 23761 23762 23763 23764 23765 23766 23767 | onlyif mysql # CAST syntax: SIGNED type: query I rowsort label-3242 SELECT DISTINCT - - col1 / + col1 - COALESCE ( 56, col0 * + 88 + CAST( NULL AS SIGNED ) * + - col0 + + col1 * - col2 ) * col1 AS col0 FROM tab2 AS cor0 GROUP BY col1 HAVING NOT + col0 <= ( NULL ) ---- skipif mysql # not compatible query I rowsort label-3242 SELECT DISTINCT - - col1 / + col1 - COALESCE ( 56, col0 * + 88 + CAST ( NULL AS INTEGER ) * + - col0 + + col1 * - col2 ) * col1 AS col0 FROM tab2 AS cor0 GROUP BY col1 HAVING NOT + col0 <= ( NULL ) ---- query I rowsort SELECT 72 FROM tab2 GROUP BY col2, col1 HAVING col1 IN ( + - col2 + - + col2 ) ---- | > | 23828 23829 23830 23831 23832 23833 23834 23835 23836 23837 23838 23839 23840 23841 23842 | onlyif mysql # CAST syntax: SIGNED type: query I rowsort label-3242 SELECT DISTINCT - - col1 / + col1 - COALESCE ( 56, col0 * + 88 + CAST( NULL AS SIGNED ) * + - col0 + + col1 * - col2 ) * col1 AS col0 FROM tab2 AS cor0 GROUP BY col1 HAVING NOT + col0 <= ( NULL ) ---- skipif mysql # not compatible skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort label-3242 SELECT DISTINCT - - col1 / + col1 - COALESCE ( 56, col0 * + 88 + CAST ( NULL AS INTEGER ) * + - col0 + + col1 * - col2 ) * col1 AS col0 FROM tab2 AS cor0 GROUP BY col1 HAVING NOT + col0 <= ( NULL ) ---- query I rowsort SELECT 72 FROM tab2 GROUP BY col2, col1 HAVING col1 IN ( + - col2 + - + col2 ) ---- |
︙ | ︙ | |||
23812 23813 23814 23815 23816 23817 23818 23819 23820 23821 23822 23823 23824 23825 | onlyif mysql # CAST syntax: SIGNED type: query I rowsort label-3251 SELECT CAST( NULL AS SIGNED ) + 73 * col1 AS col2 FROM tab2 GROUP BY col1 HAVING NOT col2 NOT BETWEEN NULL AND NULL ---- skipif mysql # not compatible query I rowsort label-3251 SELECT CAST ( NULL AS INTEGER ) + 73 * col1 AS col2 FROM tab2 GROUP BY col1 HAVING NOT col2 NOT BETWEEN NULL AND NULL ---- query I rowsort SELECT 42 + + col0 AS col0 FROM tab2 GROUP BY col0 ---- | > | 23887 23888 23889 23890 23891 23892 23893 23894 23895 23896 23897 23898 23899 23900 23901 | onlyif mysql # CAST syntax: SIGNED type: query I rowsort label-3251 SELECT CAST( NULL AS SIGNED ) + 73 * col1 AS col2 FROM tab2 GROUP BY col1 HAVING NOT col2 NOT BETWEEN NULL AND NULL ---- skipif mysql # not compatible skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort label-3251 SELECT CAST ( NULL AS INTEGER ) + 73 * col1 AS col2 FROM tab2 GROUP BY col1 HAVING NOT col2 NOT BETWEEN NULL AND NULL ---- query I rowsort SELECT 42 + + col0 AS col0 FROM tab2 GROUP BY col0 ---- |
︙ | ︙ | |||
24659 24660 24661 24662 24663 24664 24665 24666 24667 24668 24669 24670 24671 24672 | onlyif mysql # CAST syntax: SIGNED type: query I rowsort label-3355 SELECT DISTINCT - + CASE col2 WHEN - CAST( NULL AS SIGNED ) THEN + - col1 END * - ( - col1 ) - - col1 FROM tab1 AS cor0 GROUP BY col1 HAVING NOT + - col1 IS NULL ---- NULL skipif mysql # not compatible query I rowsort label-3355 SELECT DISTINCT - + CASE col2 WHEN - CAST ( NULL AS INTEGER ) THEN + - col1 END * - ( - col1 ) - - col1 FROM tab1 AS cor0 GROUP BY col1 HAVING NOT + - col1 IS NULL ---- NULL query I rowsort SELECT ALL - col1 AS col2 FROM tab0 AS cor0 GROUP BY col1 HAVING NOT NULL IS NOT NULL | > | 24735 24736 24737 24738 24739 24740 24741 24742 24743 24744 24745 24746 24747 24748 24749 | onlyif mysql # CAST syntax: SIGNED type: query I rowsort label-3355 SELECT DISTINCT - + CASE col2 WHEN - CAST( NULL AS SIGNED ) THEN + - col1 END * - ( - col1 ) - - col1 FROM tab1 AS cor0 GROUP BY col1 HAVING NOT + - col1 IS NULL ---- NULL skipif mysql # not compatible skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort label-3355 SELECT DISTINCT - + CASE col2 WHEN - CAST ( NULL AS INTEGER ) THEN + - col1 END * - ( - col1 ) - - col1 FROM tab1 AS cor0 GROUP BY col1 HAVING NOT + - col1 IS NULL ---- NULL query I rowsort SELECT ALL - col1 AS col2 FROM tab0 AS cor0 GROUP BY col1 HAVING NOT NULL IS NOT NULL |
︙ | ︙ | |||
24801 24802 24803 24804 24805 24806 24807 24808 24809 24810 24811 24812 24813 24814 | onlyif mysql # CAST syntax: SIGNED type: query I rowsort label-3375 SELECT ALL + COALESCE ( + + 36, - 17 * - - col1 + + col2, col0 ) AS col1 FROM tab2 GROUP BY col2, col0 HAVING NULL NOT BETWEEN - CAST( 60 AS SIGNED ) / - CAST( - col1 AS SIGNED ) AND + 12 ---- skipif mysql # not compatible query I rowsort label-3375 SELECT ALL + COALESCE ( + + 36, - 17 * - - col1 + + col2, col0 ) AS col1 FROM tab2 GROUP BY col2, col0 HAVING NULL NOT BETWEEN - CAST ( 60 AS INTEGER ) / - CAST ( - col1 AS INTEGER ) AND + 12 ---- onlyif mysql # CAST syntax: SIGNED type: query III rowsort label-3376 SELECT ALL + col2 + + 38, - col2, + 67 col2 FROM tab0 WHERE NOT ( - + 61 ) <> - CAST( + CAST( NULL AS SIGNED ) AS SIGNED ) GROUP BY col2 HAVING ( + col2 ) = - 86 | > | 24878 24879 24880 24881 24882 24883 24884 24885 24886 24887 24888 24889 24890 24891 24892 | onlyif mysql # CAST syntax: SIGNED type: query I rowsort label-3375 SELECT ALL + COALESCE ( + + 36, - 17 * - - col1 + + col2, col0 ) AS col1 FROM tab2 GROUP BY col2, col0 HAVING NULL NOT BETWEEN - CAST( 60 AS SIGNED ) / - CAST( - col1 AS SIGNED ) AND + 12 ---- skipif mysql # not compatible skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort label-3375 SELECT ALL + COALESCE ( + + 36, - 17 * - - col1 + + col2, col0 ) AS col1 FROM tab2 GROUP BY col2, col0 HAVING NULL NOT BETWEEN - CAST ( 60 AS INTEGER ) / - CAST ( - col1 AS INTEGER ) AND + 12 ---- onlyif mysql # CAST syntax: SIGNED type: query III rowsort label-3376 SELECT ALL + col2 + + 38, - col2, + 67 col2 FROM tab0 WHERE NOT ( - + 61 ) <> - CAST( + CAST( NULL AS SIGNED ) AS SIGNED ) GROUP BY col2 HAVING ( + col2 ) = - 86 |
︙ | ︙ | |||
25323 25324 25325 25326 25327 25328 25329 25330 25331 25332 25333 25334 25335 25336 | -79 -79 query I rowsort SELECT DISTINCT - col1 FROM tab1 AS cor0 WHERE - col0 BETWEEN NULL AND col1 GROUP BY col1, col0 ---- query I rowsort SELECT + + CASE - 56 WHEN + 63 THEN col2 * + 96 * col1 / + - 84 / + - col2 + + col1 ELSE NULL END AS col1 FROM tab2 AS cor0 GROUP BY col1, col0 ---- NULL NULL NULL | > | 25401 25402 25403 25404 25405 25406 25407 25408 25409 25410 25411 25412 25413 25414 25415 | -79 -79 query I rowsort SELECT DISTINCT - col1 FROM tab1 AS cor0 WHERE - col0 BETWEEN NULL AND col1 GROUP BY col1, col0 ---- skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT + + CASE - 56 WHEN + 63 THEN col2 * + 96 * col1 / + - 84 / + - col2 + + col1 ELSE NULL END AS col1 FROM tab2 AS cor0 GROUP BY col1, col0 ---- NULL NULL NULL |
︙ | ︙ | |||
25916 25917 25918 25919 25920 25921 25922 25923 25924 25925 25926 25927 25928 25929 | onlyif mysql # CAST syntax: SIGNED type: query II rowsort label-3523 SELECT - col2 col1, - col0 FROM tab1 WHERE + CAST( + col0 AS SIGNED ) + - NULLIF ( 91, + - 5 + 87 ) IS NOT NULL GROUP BY col0, col2, col1 HAVING NOT col2 / + 87 + + col1 IS NOT NULL ---- skipif mysql # not compatible query II rowsort label-3523 SELECT - col2 col1, - col0 FROM tab1 WHERE + CAST ( + col0 AS INTEGER ) + - NULLIF ( 91, + - 5 + 87 ) IS NOT NULL GROUP BY col0, col2, col1 HAVING NOT col2 / + 87 + + col1 IS NOT NULL ---- query II rowsort SELECT + col2 AS col2, - col2 AS col0 FROM tab0 GROUP BY col2, col2 ---- | > | 25995 25996 25997 25998 25999 26000 26001 26002 26003 26004 26005 26006 26007 26008 26009 | onlyif mysql # CAST syntax: SIGNED type: query II rowsort label-3523 SELECT - col2 col1, - col0 FROM tab1 WHERE + CAST( + col0 AS SIGNED ) + - NULLIF ( 91, + - 5 + 87 ) IS NOT NULL GROUP BY col0, col2, col1 HAVING NOT col2 / + 87 + + col1 IS NOT NULL ---- skipif mysql # not compatible skipif postgresql # PostgreSQL requires AS when renaming output columns query II rowsort label-3523 SELECT - col2 col1, - col0 FROM tab1 WHERE + CAST ( + col0 AS INTEGER ) + - NULLIF ( 91, + - 5 + 87 ) IS NOT NULL GROUP BY col0, col2, col1 HAVING NOT col2 / + 87 + + col1 IS NOT NULL ---- query II rowsort SELECT + col2 AS col2, - col2 AS col0 FROM tab0 GROUP BY col2, col2 ---- |
︙ | ︙ | |||
26238 26239 26240 26241 26242 26243 26244 26245 26246 26247 26248 26249 26250 26251 | query I rowsort SELECT ALL + 64 AS col1 FROM tab2 AS cor0 GROUP BY col2 ---- 64 64 64 query I rowsort SELECT col2 * - + COALESCE ( + 81, + col2, - + col1 ) AS col0 FROM tab0 AS cor0 GROUP BY col2 HAVING NULL NOT IN ( + + ( - 67 ) ) ---- onlyif mysql # CAST syntax: SIGNED type: query II rowsort label-3568 SELECT DISTINCT col2, + col2 AS col1 FROM tab1 AS cor0 WHERE + col2 * - - col2 <= - CAST( col1 AS SIGNED ) GROUP BY col2, col1 HAVING NOT + col1 IS NULL | > | 26318 26319 26320 26321 26322 26323 26324 26325 26326 26327 26328 26329 26330 26331 26332 | query I rowsort SELECT ALL + 64 AS col1 FROM tab2 AS cor0 GROUP BY col2 ---- 64 64 64 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT col2 * - + COALESCE ( + 81, + col2, - + col1 ) AS col0 FROM tab0 AS cor0 GROUP BY col2 HAVING NULL NOT IN ( + + ( - 67 ) ) ---- onlyif mysql # CAST syntax: SIGNED type: query II rowsort label-3568 SELECT DISTINCT col2, + col2 AS col1 FROM tab1 AS cor0 WHERE + col2 * - - col2 <= - CAST( col1 AS SIGNED ) GROUP BY col2, col1 HAVING NOT + col1 IS NULL |
︙ | ︙ | |||
26855 26856 26857 26858 26859 26860 26861 26862 26863 26864 26865 26866 26867 26868 | query I rowsort SELECT + col0 AS col0 FROM tab0 GROUP BY col0, col2, col1 ---- 26 43 83 query II rowsort SELECT DISTINCT + - col1 col1, + col1 FROM tab1 AS cor0 WHERE NOT ( NULL ) = - col0 GROUP BY col1 ---- query I rowsort SELECT col1 - - 79 + col1 FROM tab1 AS cor0 GROUP BY col1 ---- | > | 26936 26937 26938 26939 26940 26941 26942 26943 26944 26945 26946 26947 26948 26949 26950 | query I rowsort SELECT + col0 AS col0 FROM tab0 GROUP BY col0, col2, col1 ---- 26 43 83 skipif postgresql # PostgreSQL requires AS when renaming output columns query II rowsort SELECT DISTINCT + - col1 col1, + col1 FROM tab1 AS cor0 WHERE NOT ( NULL ) = - col0 GROUP BY col1 ---- query I rowsort SELECT col1 - - 79 + col1 FROM tab1 AS cor0 GROUP BY col1 ---- |
︙ | ︙ | |||
27523 27524 27525 27526 27527 27528 27529 27530 27531 27532 27533 27534 27535 27536 | query I rowsort label-3747 SELECT - col1 * + COALESCE ( + - 80, + + col0, col2 + col0 DIV col0 ) AS col2 FROM tab0 AS cor0 GROUP BY col1 ---- 0 6480 skipif mysql # not compatible query I rowsort label-3747 SELECT - col1 * + COALESCE ( + - 80, + + col0, col2 + col0 / col0 ) AS col2 FROM tab0 AS cor0 GROUP BY col1 ---- 0 6480 query I rowsort | > | 27605 27606 27607 27608 27609 27610 27611 27612 27613 27614 27615 27616 27617 27618 27619 | query I rowsort label-3747 SELECT - col1 * + COALESCE ( + - 80, + + col0, col2 + col0 DIV col0 ) AS col2 FROM tab0 AS cor0 GROUP BY col1 ---- 0 6480 skipif mysql # not compatible skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort label-3747 SELECT - col1 * + COALESCE ( + - 80, + + col0, col2 + col0 / col0 ) AS col2 FROM tab0 AS cor0 GROUP BY col1 ---- 0 6480 query I rowsort |
︙ | ︙ | |||
27745 27746 27747 27748 27749 27750 27751 27752 27753 27754 27755 27756 27757 27758 | ---- skipif mysql # not compatible query I rowsort label-3778 SELECT - col1 FROM tab1 AS cor0 GROUP BY col1 HAVING - col1 / - 94 * + CAST ( NULL AS INTEGER ) IS NOT NULL ---- query II rowsort SELECT DISTINCT col2 - + col2 AS col1, ( + col2 ) * - col2 * + + 40 * + 9 AS col0 FROM tab2 GROUP BY col2 HAVING NOT NULL BETWEEN ( col2 * + col0 ) AND NULL ---- query I rowsort SELECT - col2 + - - ( + col2 ) + + + col2 FROM tab0 GROUP BY col2 ---- | > | 27828 27829 27830 27831 27832 27833 27834 27835 27836 27837 27838 27839 27840 27841 27842 | ---- skipif mysql # not compatible query I rowsort label-3778 SELECT - col1 FROM tab1 AS cor0 GROUP BY col1 HAVING - col1 / - 94 * + CAST ( NULL AS INTEGER ) IS NOT NULL ---- skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query II rowsort SELECT DISTINCT col2 - + col2 AS col1, ( + col2 ) * - col2 * + + 40 * + 9 AS col0 FROM tab2 GROUP BY col2 HAVING NOT NULL BETWEEN ( col2 * + col0 ) AND NULL ---- query I rowsort SELECT - col2 + - - ( + col2 ) + + + col2 FROM tab0 GROUP BY col2 ---- |
︙ | ︙ | |||
29067 29068 29069 29070 29071 29072 29073 29074 29075 29076 29077 29078 29079 29080 | onlyif mysql # CAST syntax: DECIMAL type: query I rowsort label-3949 SELECT DISTINCT - NULLIF ( + ( CAST( NULL AS DECIMAL ) ), - col1 ) * + col0 AS col2 FROM tab1 WHERE NOT - 41 + 34 * col0 = + - col0 GROUP BY col0 ---- NULL skipif mysql # not compatible query I rowsort label-3949 SELECT DISTINCT - NULLIF ( + ( CAST ( NULL AS REAL ) ), - col1 ) * + col0 AS col2 FROM tab1 WHERE NOT - 41 + 34 * col0 = + - col0 GROUP BY col0 ---- NULL query I rowsort SELECT - col2 * + col2 FROM tab1 WHERE - ( - ( - col0 ) ) NOT IN ( - col0 ) GROUP BY col2, col2 | > | 29151 29152 29153 29154 29155 29156 29157 29158 29159 29160 29161 29162 29163 29164 29165 | onlyif mysql # CAST syntax: DECIMAL type: query I rowsort label-3949 SELECT DISTINCT - NULLIF ( + ( CAST( NULL AS DECIMAL ) ), - col1 ) * + col0 AS col2 FROM tab1 WHERE NOT - 41 + 34 * col0 = + - col0 GROUP BY col0 ---- NULL skipif mysql # not compatible skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort label-3949 SELECT DISTINCT - NULLIF ( + ( CAST ( NULL AS REAL ) ), - col1 ) * + col0 AS col2 FROM tab1 WHERE NOT - 41 + 34 * col0 = + - col0 GROUP BY col0 ---- NULL query I rowsort SELECT - col2 * + col2 FROM tab1 WHERE - ( - ( - col0 ) ) NOT IN ( - col0 ) GROUP BY col2, col2 |
︙ | ︙ | |||
29484 29485 29486 29487 29488 29489 29490 29491 29492 29493 29494 29495 29496 29497 | SELECT - + col1 DIV + col1 + col1 + - 98 + + - col1 DIV + COALESCE ( 39, - 78 * + col0 * ( + col2 ) - + 27, + 50 ) AS col1 FROM tab2 AS cor0 GROUP BY col1 HAVING NULL IS NULL ---- -39 -41 -59 skipif mysql # not compatible query I rowsort label-4012 SELECT - + col1 / + col1 + col1 + - 98 + + - col1 / + COALESCE ( 39, - 78 * + col0 * ( + col2 ) - + 27, + 50 ) AS col1 FROM tab2 AS cor0 GROUP BY col1 HAVING NULL IS NULL ---- -39 -41 -59 | > | 29569 29570 29571 29572 29573 29574 29575 29576 29577 29578 29579 29580 29581 29582 29583 | SELECT - + col1 DIV + col1 + col1 + - 98 + + - col1 DIV + COALESCE ( 39, - 78 * + col0 * ( + col2 ) - + 27, + 50 ) AS col1 FROM tab2 AS cor0 GROUP BY col1 HAVING NULL IS NULL ---- -39 -41 -59 skipif mysql # not compatible skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort label-4012 SELECT - + col1 / + col1 + col1 + - 98 + + - col1 / + COALESCE ( 39, - 78 * + col0 * ( + col2 ) - + 27, + 50 ) AS col1 FROM tab2 AS cor0 GROUP BY col1 HAVING NULL IS NULL ---- -39 -41 -59 |
︙ | ︙ | |||
29694 29695 29696 29697 29698 29699 29700 29701 29702 29703 29704 29705 29706 29707 | onlyif mysql # CAST syntax: SIGNED type: query II rowsort label-4036 SELECT col0 + 74 AS col1, col0 AS col2 FROM tab0 GROUP BY col0 HAVING NOT NULL <> CAST( + + col2 AS SIGNED ) + - NULLIF ( - + col2, - - col1 + - col2 ) ---- skipif mysql # not compatible query II rowsort label-4036 SELECT col0 + 74 AS col1, col0 AS col2 FROM tab0 GROUP BY col0 HAVING NOT NULL <> CAST ( + + col2 AS INTEGER ) + - NULLIF ( - + col2, - - col1 + - col2 ) ---- query I rowsort SELECT ALL + col1 + - - col1 + + + col2 - + 23 AS col1 FROM tab1 AS cor0 GROUP BY col2, col0, col1 ---- | > | 29780 29781 29782 29783 29784 29785 29786 29787 29788 29789 29790 29791 29792 29793 29794 | onlyif mysql # CAST syntax: SIGNED type: query II rowsort label-4036 SELECT col0 + 74 AS col1, col0 AS col2 FROM tab0 GROUP BY col0 HAVING NOT NULL <> CAST( + + col2 AS SIGNED ) + - NULLIF ( - + col2, - - col1 + - col2 ) ---- skipif mysql # not compatible skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query II rowsort label-4036 SELECT col0 + 74 AS col1, col0 AS col2 FROM tab0 GROUP BY col0 HAVING NOT NULL <> CAST ( + + col2 AS INTEGER ) + - NULLIF ( - + col2, - - col1 + - col2 ) ---- query I rowsort SELECT ALL + col1 + - - col1 + + + col2 - + 23 AS col1 FROM tab1 AS cor0 GROUP BY col2, col0, col1 ---- |
︙ | ︙ | |||
30405 30406 30407 30408 30409 30410 30411 30412 30413 30414 30415 30416 30417 30418 | SELECT + col1 FROM tab2 AS cor0 GROUP BY col2, col1 HAVING NULL > - ( 44 ) * - ( + CAST ( + 38 AS REAL ) ) * + + 40 ---- query I rowsort SELECT DISTINCT 62 AS col0 FROM tab2 GROUP BY col1, col1 HAVING NOT ( - COALESCE ( + - 19, ( - 66 ) + + 13 ) ) <= ( NULL ) ---- query I rowsort SELECT col1 AS col2 FROM tab0 GROUP BY col1 HAVING NULL < col1 * col2 ---- query I rowsort SELECT DISTINCT - 65 AS col0 FROM tab2 AS cor0 WHERE NOT - col1 IS NOT NULL GROUP BY col0, col1 HAVING NULL IS NULL ---- | > | 30492 30493 30494 30495 30496 30497 30498 30499 30500 30501 30502 30503 30504 30505 30506 | SELECT + col1 FROM tab2 AS cor0 GROUP BY col2, col1 HAVING NULL > - ( 44 ) * - ( + CAST ( + 38 AS REAL ) ) * + + 40 ---- query I rowsort SELECT DISTINCT 62 AS col0 FROM tab2 GROUP BY col1, col1 HAVING NOT ( - COALESCE ( + - 19, ( - 66 ) + + 13 ) ) <= ( NULL ) ---- skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT col1 AS col2 FROM tab0 GROUP BY col1 HAVING NULL < col1 * col2 ---- query I rowsort SELECT DISTINCT - 65 AS col0 FROM tab2 AS cor0 WHERE NOT - col1 IS NOT NULL GROUP BY col0, col1 HAVING NULL IS NULL ---- |
︙ | ︙ | |||
31721 31722 31723 31724 31725 31726 31727 31728 31729 31730 31731 31732 31733 31734 | query I rowsort SELECT ALL + col2 AS col2 FROM tab1 AS cor0 GROUP BY col2, col2 HAVING + 87 IS NOT NULL ---- 45 71 8 query I rowsort SELECT DISTINCT + COALESCE ( 65, col2 * - col2 / - col2 + + col2 + - 26 + col0, + - col1 ) AS col0 FROM tab0 AS cor0 GROUP BY col2 HAVING NOT NULL <= + - col0 ---- query I rowsort SELECT + col0 AS col1 FROM tab2 GROUP BY col0, col2 ---- | > | 31809 31810 31811 31812 31813 31814 31815 31816 31817 31818 31819 31820 31821 31822 31823 | query I rowsort SELECT ALL + col2 AS col2 FROM tab1 AS cor0 GROUP BY col2, col2 HAVING + 87 IS NOT NULL ---- 45 71 8 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT DISTINCT + COALESCE ( 65, col2 * - col2 / - col2 + + col2 + - 26 + col0, + - col1 ) AS col0 FROM tab0 AS cor0 GROUP BY col2 HAVING NOT NULL <= + - col0 ---- query I rowsort SELECT + col0 AS col1 FROM tab2 GROUP BY col0, col2 ---- |
︙ | ︙ | |||
32002 32003 32004 32005 32006 32007 32008 32009 32010 32011 32012 32013 32014 32015 | -8281 -8464 query I rowsort SELECT ALL col1 * ( + - col0 ) FROM tab0 GROUP BY col1, col0 HAVING + 52 + - col0 * + 98 IS NULL ---- query I rowsort SELECT ALL 54 * - 57 AS col1 FROM tab1 AS cor0 GROUP BY col0, col2, col0 HAVING NOT NULL NOT BETWEEN ( - col1 ) AND NULL ---- skipif postgresql # PostgreSQL requires AS when renaming output columns query I rowsort SELECT ALL col2 col1 FROM tab2 WHERE ( NULL ) <> ( NULL ) GROUP BY col0, col2, col0 HAVING - col2 >= 17 * - ( AVG ( - ( col1 ) ) ) | > | 32091 32092 32093 32094 32095 32096 32097 32098 32099 32100 32101 32102 32103 32104 32105 | -8281 -8464 query I rowsort SELECT ALL col1 * ( + - col0 ) FROM tab0 GROUP BY col1, col0 HAVING + 52 + - col0 * + 98 IS NULL ---- skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT ALL 54 * - 57 AS col1 FROM tab1 AS cor0 GROUP BY col0, col2, col0 HAVING NOT NULL NOT BETWEEN ( - col1 ) AND NULL ---- skipif postgresql # PostgreSQL requires AS when renaming output columns query I rowsort SELECT ALL col2 col1 FROM tab2 WHERE ( NULL ) <> ( NULL ) GROUP BY col0, col2, col0 HAVING - col2 >= 17 * - ( AVG ( - ( col1 ) ) ) |
︙ | ︙ | |||
32491 32492 32493 32494 32495 32496 32497 32498 32499 32500 32501 32502 32503 32504 | query I rowsort SELECT + col2 FROM tab0 AS cor0 GROUP BY col2 HAVING 75 IS NOT NULL ---- 24 38 79 query I rowsort SELECT ALL - col1 AS col2 FROM tab1 GROUP BY col1 HAVING NOT - col2 BETWEEN NULL AND NULL ---- query I rowsort SELECT ALL - 12 * col0 AS col0 FROM tab2 GROUP BY col1, col0 ---- | > | 32581 32582 32583 32584 32585 32586 32587 32588 32589 32590 32591 32592 32593 32594 32595 | query I rowsort SELECT + col2 FROM tab0 AS cor0 GROUP BY col2 HAVING 75 IS NOT NULL ---- 24 38 79 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT ALL - col1 AS col2 FROM tab1 GROUP BY col1 HAVING NOT - col2 BETWEEN NULL AND NULL ---- query I rowsort SELECT ALL - 12 * col0 AS col0 FROM tab2 GROUP BY col1, col0 ---- |
︙ | ︙ | |||
32894 32895 32896 32897 32898 32899 32900 32901 32902 32903 32904 32905 32906 32907 | query I rowsort SELECT ALL 96 AS col0 FROM tab1 cor0 GROUP BY col1, col0 ---- 96 96 96 query II rowsort SELECT DISTINCT col0 col1, - col0 FROM tab1 AS cor0 WHERE NOT ( NULL ) IS NOT NULL GROUP BY col0 ---- 22 -22 28 -28 | > | 32985 32986 32987 32988 32989 32990 32991 32992 32993 32994 32995 32996 32997 32998 32999 | query I rowsort SELECT ALL 96 AS col0 FROM tab1 cor0 GROUP BY col1, col0 ---- 96 96 96 skipif postgresql # PostgreSQL requires AS when renaming output columns query II rowsort SELECT DISTINCT col0 col1, - col0 FROM tab1 AS cor0 WHERE NOT ( NULL ) IS NOT NULL GROUP BY col0 ---- 22 -22 28 -28 |
︙ | ︙ | |||
32969 32970 32971 32972 32973 32974 32975 32976 32977 32978 32979 32980 32981 32982 | query I rowsort label-4485 SELECT DISTINCT col2 + - + 69 / + col2 AS col0 FROM tab1 AS cor0 GROUP BY col2 ---- 0 44 71 query I rowsort SELECT ALL col1 + + col1 + - col1 * - col1 + - col2 - - col1 AS col0 FROM tab2 AS cor0 WHERE - col2 + - 42 IS NULL GROUP BY col1, col2, col1 HAVING ( NULL ) NOT BETWEEN col0 AND - col0 / - - col0 * col0 + col2 ---- query I rowsort SELECT ALL col2 * - - col1 FROM tab2 AS cor0 GROUP BY col1, col2 ---- | > | 33061 33062 33063 33064 33065 33066 33067 33068 33069 33070 33071 33072 33073 33074 33075 | query I rowsort label-4485 SELECT DISTINCT col2 + - + 69 / + col2 AS col0 FROM tab1 AS cor0 GROUP BY col2 ---- 0 44 71 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT ALL col1 + + col1 + - col1 * - col1 + - col2 - - col1 AS col0 FROM tab2 AS cor0 WHERE - col2 + - 42 IS NULL GROUP BY col1, col2, col1 HAVING ( NULL ) NOT BETWEEN col0 AND - col0 / - - col0 * col0 + col2 ---- query I rowsort SELECT ALL col2 * - - col1 FROM tab2 AS cor0 GROUP BY col1, col2 ---- |
︙ | ︙ | |||
33065 33066 33067 33068 33069 33070 33071 33072 33073 33074 33075 33076 33077 33078 | 45 45 71 71 8 8 query II rowsort SELECT 61 col2, - col0 AS col1 FROM tab0 GROUP BY col0 ---- 61 -26 61 -43 | > | 33158 33159 33160 33161 33162 33163 33164 33165 33166 33167 33168 33169 33170 33171 33172 | 45 45 71 71 8 8 skipif postgresql # PostgreSQL requires AS when renaming output columns query II rowsort SELECT 61 col2, - col0 AS col1 FROM tab0 GROUP BY col0 ---- 61 -26 61 -43 |
︙ | ︙ | |||
33164 33165 33166 33167 33168 33169 33170 33171 33172 33173 33174 33175 33176 33177 | skipif mysql # not compatible skipif postgresql # PostgreSQL requires AS when renaming output columns query I rowsort label-4511 SELECT - - col0 / 19 * 7 + - col0 * + CAST ( - col0 AS REAL ) - + + CAST ( - CAST ( NULL AS INTEGER ) AS INTEGER ) col1 FROM tab0 cor0 GROUP BY col0 HAVING NULL NOT BETWEEN ( - ( - col1 ) ) AND NULL ---- query II rowsort SELECT + col1 col0, - col1 * col1 AS col0 FROM tab1 GROUP BY col1 ---- 44 -1936 57 -3249 | > | 33258 33259 33260 33261 33262 33263 33264 33265 33266 33267 33268 33269 33270 33271 33272 | skipif mysql # not compatible skipif postgresql # PostgreSQL requires AS when renaming output columns query I rowsort label-4511 SELECT - - col0 / 19 * 7 + - col0 * + CAST ( - col0 AS REAL ) - + + CAST ( - CAST ( NULL AS INTEGER ) AS INTEGER ) col1 FROM tab0 cor0 GROUP BY col0 HAVING NULL NOT BETWEEN ( - ( - col1 ) ) AND NULL ---- skipif postgresql # PostgreSQL requires AS when renaming output columns query II rowsort SELECT + col1 col0, - col1 * col1 AS col0 FROM tab1 GROUP BY col1 ---- 44 -1936 57 -3249 |
︙ | ︙ | |||
33302 33303 33304 33305 33306 33307 33308 33309 33310 33311 33312 33313 33314 33315 | onlyif mysql # CAST syntax: SIGNED type: query I rowsort label-4530 SELECT - ( - + CAST( + 34 AS SIGNED ) ) AS col1 FROM tab2 AS cor0 GROUP BY col2, col0 HAVING NOT NULL NOT BETWEEN + col1 AND NULL ---- skipif mysql # not compatible query I rowsort label-4530 SELECT - ( - + CAST ( + 34 AS INTEGER ) ) AS col1 FROM tab2 AS cor0 GROUP BY col2, col0 HAVING NOT NULL NOT BETWEEN + col1 AND NULL ---- query I rowsort SELECT - col1 * + - col1 * + col1 FROM tab1 AS cor0 GROUP BY col1, col1 ---- | > | 33397 33398 33399 33400 33401 33402 33403 33404 33405 33406 33407 33408 33409 33410 33411 | onlyif mysql # CAST syntax: SIGNED type: query I rowsort label-4530 SELECT - ( - + CAST( + 34 AS SIGNED ) ) AS col1 FROM tab2 AS cor0 GROUP BY col2, col0 HAVING NOT NULL NOT BETWEEN + col1 AND NULL ---- skipif mysql # not compatible skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort label-4530 SELECT - ( - + CAST ( + 34 AS INTEGER ) ) AS col1 FROM tab2 AS cor0 GROUP BY col2, col0 HAVING NOT NULL NOT BETWEEN + col1 AND NULL ---- query I rowsort SELECT - col1 * + - col1 * + col1 FROM tab1 AS cor0 GROUP BY col1, col1 ---- |
︙ | ︙ | |||
33553 33554 33555 33556 33557 33558 33559 33560 33561 33562 33563 33564 33565 33566 | -58 58 -79 79 -87 87 query I rowsort SELECT ALL col1 * col0 AS col2 FROM tab0 cor0 GROUP BY col0, col1 HAVING NOT NULL NOT IN ( + - NULLIF ( + - NULLIF ( col2, 11 - - ( - 78 ) + + col2 * col1 * + col0 ), - NULLIF ( + col0, - col0 ) + + col0 * - - col1 + col1 ) ) ---- query I rowsort SELECT + col2 AS col1 FROM tab2 WHERE + col0 IS NOT NULL GROUP BY col2 ---- | > | 33649 33650 33651 33652 33653 33654 33655 33656 33657 33658 33659 33660 33661 33662 33663 | -58 58 -79 79 -87 87 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT ALL col1 * col0 AS col2 FROM tab0 cor0 GROUP BY col0, col1 HAVING NOT NULL NOT IN ( + - NULLIF ( + - NULLIF ( col2, 11 - - ( - 78 ) + + col2 * col1 * + col0 ), - NULLIF ( + col0, - col0 ) + + col0 * - - col1 + col1 ) ) ---- query I rowsort SELECT + col2 AS col1 FROM tab2 WHERE + col0 IS NOT NULL GROUP BY col2 ---- |
︙ | ︙ | |||
33865 33866 33867 33868 33869 33870 33871 33872 33873 33874 33875 33876 33877 33878 | query I rowsort SELECT 10 * col2 + - col2 AS col2 FROM tab0 AS cor0 GROUP BY col2 ---- 216 342 711 query II rowsort SELECT DISTINCT - col1 col2, + col1 FROM tab1 AS cor0 GROUP BY col1 ---- -44 44 -57 57 | > | 33962 33963 33964 33965 33966 33967 33968 33969 33970 33971 33972 33973 33974 33975 33976 | query I rowsort SELECT 10 * col2 + - col2 AS col2 FROM tab0 AS cor0 GROUP BY col2 ---- 216 342 711 skipif postgresql # PostgreSQL requires AS when renaming output columns query II rowsort SELECT DISTINCT - col1 col2, + col1 FROM tab1 AS cor0 GROUP BY col1 ---- -44 44 -57 57 |
︙ | ︙ | |||
34500 34501 34502 34503 34504 34505 34506 34507 34508 34509 34510 34511 34512 34513 | onlyif mysql # aggregate syntax: query II rowsort label-4682 SELECT - ( + - 6 ) + - col2 * + SUM( ALL - 46 ) / - - ( 48 ), CASE WHEN NOT col2 IS NULL THEN NULL WHEN 71 IS NULL THEN - ( col1 ) * - col0 * + - 64 / - AVG ( 57 ) END FROM tab2 AS cor0 GROUP BY col1, col2 HAVING ( + COUNT( * ) > NULL ) ---- skipif mysql # not compatible query II rowsort label-4682 SELECT - ( + - 6 ) + - col2 * + SUM ( ALL - 46 ) / - - ( 48 ), CASE WHEN NOT col2 IS NULL THEN NULL WHEN 71 IS NULL THEN - ( col1 ) * - col0 * + - 64 / - AVG ( 57 ) END FROM tab2 AS cor0 GROUP BY col1, col2 HAVING ( + COUNT ( * ) > NULL ) ---- onlyif mysql # CAST syntax: SIGNED type: query I rowsort label-4683 SELECT ALL CAST( NULL AS SIGNED ) + + 63 FROM tab1 AS cor0 GROUP BY col0 | > | 34598 34599 34600 34601 34602 34603 34604 34605 34606 34607 34608 34609 34610 34611 34612 | onlyif mysql # aggregate syntax: query II rowsort label-4682 SELECT - ( + - 6 ) + - col2 * + SUM( ALL - 46 ) / - - ( 48 ), CASE WHEN NOT col2 IS NULL THEN NULL WHEN 71 IS NULL THEN - ( col1 ) * - col0 * + - 64 / - AVG ( 57 ) END FROM tab2 AS cor0 GROUP BY col1, col2 HAVING ( + COUNT( * ) > NULL ) ---- skipif mysql # not compatible skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query II rowsort label-4682 SELECT - ( + - 6 ) + - col2 * + SUM ( ALL - 46 ) / - - ( 48 ), CASE WHEN NOT col2 IS NULL THEN NULL WHEN 71 IS NULL THEN - ( col1 ) * - col0 * + - 64 / - AVG ( 57 ) END FROM tab2 AS cor0 GROUP BY col1, col2 HAVING ( + COUNT ( * ) > NULL ) ---- onlyif mysql # CAST syntax: SIGNED type: query I rowsort label-4683 SELECT ALL CAST( NULL AS SIGNED ) + + 63 FROM tab1 AS cor0 GROUP BY col0 |
︙ | ︙ | |||
35513 35514 35515 35516 35517 35518 35519 35520 35521 35522 35523 35524 35525 35526 | query I rowsort SELECT - col2 * + 52 AS col0 FROM tab1 GROUP BY col2 HAVING NOT NULL IS NOT NULL ---- -2340 -3692 -416 query I rowsort SELECT COALESCE ( + - 30, - col0 - + 41, 26 * - col0 - - 14 * - 43 ) + + col1 AS col0 FROM tab2 GROUP BY col1 ---- 11 29 31 | > | 35612 35613 35614 35615 35616 35617 35618 35619 35620 35621 35622 35623 35624 35625 35626 | query I rowsort SELECT - col2 * + 52 AS col0 FROM tab1 GROUP BY col2 HAVING NOT NULL IS NOT NULL ---- -2340 -3692 -416 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT COALESCE ( + - 30, - col0 - + 41, 26 * - col0 - - 14 * - 43 ) + + col1 AS col0 FROM tab2 GROUP BY col1 ---- 11 29 31 |
︙ | ︙ | |||
35711 35712 35713 35714 35715 35716 35717 35718 35719 35720 35721 35722 35723 35724 | SELECT ALL - CASE - CAST( NULL AS SIGNED ) WHEN + + 47 THEN + col0 + col1 END * COALESCE ( - 7, 76 * 59, + 47 ) FROM tab1 GROUP BY col2, col0 ---- NULL NULL NULL skipif mysql # not compatible query I rowsort label-4811 SELECT ALL - CASE - CAST ( NULL AS INTEGER ) WHEN + + 47 THEN + col0 + col1 END * COALESCE ( - 7, 76 * 59, + 47 ) FROM tab1 GROUP BY col2, col0 ---- NULL NULL NULL | > | 35811 35812 35813 35814 35815 35816 35817 35818 35819 35820 35821 35822 35823 35824 35825 | SELECT ALL - CASE - CAST( NULL AS SIGNED ) WHEN + + 47 THEN + col0 + col1 END * COALESCE ( - 7, 76 * 59, + 47 ) FROM tab1 GROUP BY col2, col0 ---- NULL NULL NULL skipif mysql # not compatible skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort label-4811 SELECT ALL - CASE - CAST ( NULL AS INTEGER ) WHEN + + 47 THEN + col0 + col1 END * COALESCE ( - 7, 76 * 59, + 47 ) FROM tab1 GROUP BY col2, col0 ---- NULL NULL NULL |
︙ | ︙ | |||
35871 35872 35873 35874 35875 35876 35877 35878 35879 35880 35881 35882 35883 35884 | -1 12 -1 2 -1 skipif mysql # not compatible query II rowsort label-4826 SELECT + - 99 / - col2 col0, - ( - col2 ) / - col2 + col2 - + col2 FROM tab1 AS cor0 GROUP BY col2, col2 ---- 1 -1 12 -1 | > | 35972 35973 35974 35975 35976 35977 35978 35979 35980 35981 35982 35983 35984 35985 35986 | -1 12 -1 2 -1 skipif mysql # not compatible skipif postgresql # PostgreSQL requires AS when renaming output columns query II rowsort label-4826 SELECT + - 99 / - col2 col0, - ( - col2 ) / - col2 + col2 - + col2 FROM tab1 AS cor0 GROUP BY col2, col2 ---- 1 -1 12 -1 |
︙ | ︙ | |||
35933 35934 35935 35936 35937 35938 35939 35940 35941 35942 35943 35944 35945 35946 | query I rowsort SELECT + ( + 55 ) + col0 * - - col0 + 0 FROM tab0 AS cor0 GROUP BY col0 ---- 1904 6944 731 query II rowsort SELECT DISTINCT col1 * col1 * + 1 + col1 col1, 72 + - col1 FROM tab1 GROUP BY col1 ---- 1980 28 3306 15 | > | 36035 36036 36037 36038 36039 36040 36041 36042 36043 36044 36045 36046 36047 36048 36049 | query I rowsort SELECT + ( + 55 ) + col0 * - - col0 + 0 FROM tab0 AS cor0 GROUP BY col0 ---- 1904 6944 731 skipif postgresql # PostgreSQL requires AS when renaming output columns query II rowsort SELECT DISTINCT col1 * col1 * + 1 + col1 col1, 72 + - col1 FROM tab1 GROUP BY col1 ---- 1980 28 3306 15 |
︙ | ︙ | |||
36225 36226 36227 36228 36229 36230 36231 36232 36233 36234 36235 36236 36237 36238 | query I rowsort SELECT ALL + + 30 FROM tab0 AS cor0 WHERE NOT - 45 IS NULL GROUP BY col1 ---- 30 30 query II rowsort SELECT - col1 col2, - 23 FROM tab0 AS cor0 GROUP BY col2, col1 HAVING NOT col2 + col1 IS NOT NULL ---- query I rowsort SELECT ( + 21 ) AS col1 FROM tab2 GROUP BY col0 HAVING NOT NULL >= NULL ---- | > | 36328 36329 36330 36331 36332 36333 36334 36335 36336 36337 36338 36339 36340 36341 36342 | query I rowsort SELECT ALL + + 30 FROM tab0 AS cor0 WHERE NOT - 45 IS NULL GROUP BY col1 ---- 30 30 skipif postgresql # PostgreSQL requires AS when renaming output columns query II rowsort SELECT - col1 col2, - 23 FROM tab0 AS cor0 GROUP BY col2, col1 HAVING NOT col2 + col1 IS NOT NULL ---- query I rowsort SELECT ( + 21 ) AS col1 FROM tab2 GROUP BY col0 HAVING NOT NULL >= NULL ---- |
︙ | ︙ | |||
36787 36788 36789 36790 36791 36792 36793 36794 36795 36796 36797 36798 36799 36800 | SELECT ALL - - COALESCE ( - 85, col2 * - + CAST( + 49 AS SIGNED ), + col1 ) FROM tab2 WHERE NOT NULL IS NOT NULL GROUP BY col0 ---- -85 -85 -85 skipif mysql # not compatible query I rowsort label-4923 SELECT ALL - - COALESCE ( - 85, col2 * - + CAST ( + 49 AS INTEGER ), + col1 ) FROM tab2 WHERE NOT NULL IS NOT NULL GROUP BY col0 ---- -85 -85 -85 | > | 36891 36892 36893 36894 36895 36896 36897 36898 36899 36900 36901 36902 36903 36904 36905 | SELECT ALL - - COALESCE ( - 85, col2 * - + CAST( + 49 AS SIGNED ), + col1 ) FROM tab2 WHERE NOT NULL IS NOT NULL GROUP BY col0 ---- -85 -85 -85 skipif mysql # not compatible skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort label-4923 SELECT ALL - - COALESCE ( - 85, col2 * - + CAST ( + 49 AS INTEGER ), + col1 ) FROM tab2 WHERE NOT NULL IS NOT NULL GROUP BY col0 ---- -85 -85 -85 |
︙ | ︙ | |||
37318 37319 37320 37321 37322 37323 37324 37325 37326 37327 37328 37329 37330 37331 | ---- skipif mysql # not compatible query I rowsort label-4972 SELECT MIN ( - col2 ) + 20 * + 10 AS col1 FROM tab1 GROUP BY col0, col2 HAVING NOT + COUNT ( * ) / + 88 - col0 * 11 NOT BETWEEN NULL AND col0 ---- query I rowsort SELECT - col0 * 1 AS col1 FROM tab2 GROUP BY col0, col2 HAVING NULL NOT BETWEEN col1 * 72 + ( 33 ) AND 17 * col0 ---- onlyif mysql # aggregate syntax: query I rowsort label-4974 SELECT + ( + COUNT( * ) ) FROM tab0 GROUP BY col2, col2 | > | 37423 37424 37425 37426 37427 37428 37429 37430 37431 37432 37433 37434 37435 37436 37437 | ---- skipif mysql # not compatible query I rowsort label-4972 SELECT MIN ( - col2 ) + 20 * + 10 AS col1 FROM tab1 GROUP BY col0, col2 HAVING NOT + COUNT ( * ) / + 88 - col0 * 11 NOT BETWEEN NULL AND col0 ---- skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT - col0 * 1 AS col1 FROM tab2 GROUP BY col0, col2 HAVING NULL NOT BETWEEN col1 * 72 + ( 33 ) AND 17 * col0 ---- onlyif mysql # aggregate syntax: query I rowsort label-4974 SELECT + ( + COUNT( * ) ) FROM tab0 GROUP BY col2, col2 |
︙ | ︙ | |||
37782 37783 37784 37785 37786 37787 37788 37789 37790 37791 37792 37793 37794 37795 | SELECT - CASE + - CAST( NULL AS SIGNED ) WHEN - col0 * - + 67 + + 17 THEN NULL WHEN CAST( NULL AS SIGNED ) THEN - CAST( 37 AS SIGNED ) * - - col1 - + COUNT( * ) + + + COUNT( * ) END + - + ( CAST( + 88 AS DECIMAL ) ) FROM tab0 GROUP BY col0 ---- NULL NULL NULL skipif mysql # not compatible query I rowsort label-5014 SELECT - CASE + - CAST ( NULL AS INTEGER ) WHEN - col0 * - + 67 + + 17 THEN NULL WHEN CAST ( NULL AS INTEGER ) THEN - CAST ( 37 AS INTEGER ) * - - col1 - + COUNT ( * ) + + + COUNT ( * ) END + - + ( CAST ( + 88 AS REAL ) ) FROM tab0 GROUP BY col0 ---- NULL NULL NULL | > | 37888 37889 37890 37891 37892 37893 37894 37895 37896 37897 37898 37899 37900 37901 37902 | SELECT - CASE + - CAST( NULL AS SIGNED ) WHEN - col0 * - + 67 + + 17 THEN NULL WHEN CAST( NULL AS SIGNED ) THEN - CAST( 37 AS SIGNED ) * - - col1 - + COUNT( * ) + + + COUNT( * ) END + - + ( CAST( + 88 AS DECIMAL ) ) FROM tab0 GROUP BY col0 ---- NULL NULL NULL skipif mysql # not compatible skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort label-5014 SELECT - CASE + - CAST ( NULL AS INTEGER ) WHEN - col0 * - + 67 + + 17 THEN NULL WHEN CAST ( NULL AS INTEGER ) THEN - CAST ( 37 AS INTEGER ) * - - col1 - + COUNT ( * ) + + + COUNT ( * ) END + - + ( CAST ( + 88 AS REAL ) ) FROM tab0 GROUP BY col0 ---- NULL NULL NULL |
︙ | ︙ | |||
37812 37813 37814 37815 37816 37817 37818 37819 37820 37821 37822 37823 37824 37825 | query II rowsort label-5017 SELECT DISTINCT + COUNT( * ) col0, + COALESCE ( - 50, - col1, + COUNT( ALL 34 ) * - col0 ) FROM tab2 GROUP BY col1, col1, col1 ---- 1 -50 skipif mysql # not compatible query II rowsort label-5017 SELECT DISTINCT + COUNT ( * ) col0, + COALESCE ( - 50, - col1, + COUNT ( ALL 34 ) * - col0 ) FROM tab2 GROUP BY col1, col1, col1 ---- 1 -50 query I rowsort | > | 37919 37920 37921 37922 37923 37924 37925 37926 37927 37928 37929 37930 37931 37932 37933 | query II rowsort label-5017 SELECT DISTINCT + COUNT( * ) col0, + COALESCE ( - 50, - col1, + COUNT( ALL 34 ) * - col0 ) FROM tab2 GROUP BY col1, col1, col1 ---- 1 -50 skipif mysql # not compatible skipif postgresql # PostgreSQL requires AS when renaming output columns query II rowsort label-5017 SELECT DISTINCT + COUNT ( * ) col0, + COALESCE ( - 50, - col1, + COUNT ( ALL 34 ) * - col0 ) FROM tab2 GROUP BY col1, col1, col1 ---- 1 -50 query I rowsort |
︙ | ︙ | |||
38031 38032 38033 38034 38035 38036 38037 38038 38039 38040 38041 38042 38043 38044 | query I rowsort SELECT DISTINCT + col1 * ( col2 ) FROM tab1 GROUP BY col2, col1 ---- 2565 3124 48 query I rowsort SELECT COALESCE ( + col0, 19, - col2 - col2, + col1 ) * col0 FROM tab0 GROUP BY col0 ---- 1849 676 6889 | > | 38139 38140 38141 38142 38143 38144 38145 38146 38147 38148 38149 38150 38151 38152 38153 | query I rowsort SELECT DISTINCT + col1 * ( col2 ) FROM tab1 GROUP BY col2, col1 ---- 2565 3124 48 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT COALESCE ( + col0, 19, - col2 - col2, + col1 ) * col0 FROM tab0 GROUP BY col0 ---- 1849 676 6889 |
︙ | ︙ | |||
38074 38075 38076 38077 38078 38079 38080 38081 38082 38083 38084 38085 38086 38087 | onlyif mysql # CAST syntax: SIGNED type: query I rowsort label-5046 SELECT DISTINCT CASE - 75 WHEN CAST( NULL AS SIGNED ) THEN col1 END * - col0 FROM tab0 GROUP BY col0, col2 HAVING NOT + AVG ( 29 ) IN ( - col2 ) ---- NULL skipif mysql # not compatible query I rowsort label-5046 SELECT DISTINCT CASE - 75 WHEN CAST ( NULL AS INTEGER ) THEN col1 END * - col0 FROM tab0 GROUP BY col0, col2 HAVING NOT + AVG ( 29 ) IN ( - col2 ) ---- NULL onlyif mysql # aggregate syntax: query I rowsort label-5047 | > | 38183 38184 38185 38186 38187 38188 38189 38190 38191 38192 38193 38194 38195 38196 38197 | onlyif mysql # CAST syntax: SIGNED type: query I rowsort label-5046 SELECT DISTINCT CASE - 75 WHEN CAST( NULL AS SIGNED ) THEN col1 END * - col0 FROM tab0 GROUP BY col0, col2 HAVING NOT + AVG ( 29 ) IN ( - col2 ) ---- NULL skipif mysql # not compatible skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort label-5046 SELECT DISTINCT CASE - 75 WHEN CAST ( NULL AS INTEGER ) THEN col1 END * - col0 FROM tab0 GROUP BY col0, col2 HAVING NOT + AVG ( 29 ) IN ( - col2 ) ---- NULL onlyif mysql # aggregate syntax: query I rowsort label-5047 |
︙ | ︙ | |||
38734 38735 38736 38737 38738 38739 38740 38741 38742 38743 38744 38745 38746 38747 | onlyif mysql # aggregate syntax: query I rowsort label-5120 SELECT DISTINCT + col2 * + MIN( 66 ) * + 40 AS col0 FROM tab1 GROUP BY col2, col1, col2 HAVING ( NULL ) BETWEEN + 67 * col0 AND NULL ---- skipif mysql # not compatible query I rowsort label-5120 SELECT DISTINCT + col2 * + MIN ( 66 ) * + 40 AS col0 FROM tab1 GROUP BY col2, col1, col2 HAVING ( NULL ) BETWEEN + 67 * col0 AND NULL ---- onlyif mysql # CAST syntax: SIGNED type: query I rowsort label-5121 SELECT DISTINCT + col0 FROM tab2 cor0 GROUP BY col0, col2 HAVING NOT ( - CAST( NULL AS SIGNED ) ) <= ( CAST( NULL AS SIGNED ) ) | > | 38844 38845 38846 38847 38848 38849 38850 38851 38852 38853 38854 38855 38856 38857 38858 | onlyif mysql # aggregate syntax: query I rowsort label-5120 SELECT DISTINCT + col2 * + MIN( 66 ) * + 40 AS col0 FROM tab1 GROUP BY col2, col1, col2 HAVING ( NULL ) BETWEEN + 67 * col0 AND NULL ---- skipif mysql # not compatible skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort label-5120 SELECT DISTINCT + col2 * + MIN ( 66 ) * + 40 AS col0 FROM tab1 GROUP BY col2, col1, col2 HAVING ( NULL ) BETWEEN + 67 * col0 AND NULL ---- onlyif mysql # CAST syntax: SIGNED type: query I rowsort label-5121 SELECT DISTINCT + col0 FROM tab2 cor0 GROUP BY col0, col2 HAVING NOT ( - CAST( NULL AS SIGNED ) ) <= ( CAST( NULL AS SIGNED ) ) |
︙ | ︙ | |||
38903 38904 38905 38906 38907 38908 38909 38910 38911 38912 38913 38914 38915 38916 | ---- skipif mysql # not compatible query I rowsort label-5138 SELECT DISTINCT CAST ( NULL AS INTEGER ) FROM tab2 AS cor0 WHERE NOT NULL IN ( col1 ) GROUP BY col1 ---- query I rowsort SELECT ALL 40 - - col0 AS col1 FROM tab1 GROUP BY col0 HAVING NOT ( - + col1 * + col0 ) <= ( NULL ) ---- query I rowsort SELECT DISTINCT col0 * + + col0 AS col1 FROM tab1 GROUP BY col0 HAVING NOT - + 26 IS NOT NULL ---- | > | 39014 39015 39016 39017 39018 39019 39020 39021 39022 39023 39024 39025 39026 39027 39028 | ---- skipif mysql # not compatible query I rowsort label-5138 SELECT DISTINCT CAST ( NULL AS INTEGER ) FROM tab2 AS cor0 WHERE NOT NULL IN ( col1 ) GROUP BY col1 ---- skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT ALL 40 - - col0 AS col1 FROM tab1 GROUP BY col0 HAVING NOT ( - + col1 * + col0 ) <= ( NULL ) ---- query I rowsort SELECT DISTINCT col0 * + + col0 AS col1 FROM tab1 GROUP BY col0 HAVING NOT - + 26 IS NOT NULL ---- |
︙ | ︙ | |||
39000 39001 39002 39003 39004 39005 39006 39007 39008 39009 39010 39011 39012 39013 | onlyif mysql # aggregate syntax: query I rowsort label-5151 SELECT 37 * + COUNT( * ) AS col0 FROM tab0 GROUP BY col1, col2 HAVING NULL BETWEEN ( NULLIF ( col1, col1 / col0 + col1 + - col1 ) * + COUNT( * ) ) AND ( NULL ) ---- skipif mysql # not compatible query I rowsort label-5151 SELECT 37 * + COUNT ( * ) AS col0 FROM tab0 GROUP BY col1, col2 HAVING NULL BETWEEN ( NULLIF ( col1, col1 / col0 + col1 + - col1 ) * + COUNT ( * ) ) AND ( NULL ) ---- query I rowsort SELECT ALL + + col0 + + + 86 * + col1 AS col2 FROM tab2 AS cor0 GROUP BY col1, col0 HAVING NULL IN ( 73 ) ---- | > | 39112 39113 39114 39115 39116 39117 39118 39119 39120 39121 39122 39123 39124 39125 39126 | onlyif mysql # aggregate syntax: query I rowsort label-5151 SELECT 37 * + COUNT( * ) AS col0 FROM tab0 GROUP BY col1, col2 HAVING NULL BETWEEN ( NULLIF ( col1, col1 / col0 + col1 + - col1 ) * + COUNT( * ) ) AND ( NULL ) ---- skipif mysql # not compatible skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort label-5151 SELECT 37 * + COUNT ( * ) AS col0 FROM tab0 GROUP BY col1, col2 HAVING NULL BETWEEN ( NULLIF ( col1, col1 / col0 + col1 + - col1 ) * + COUNT ( * ) ) AND ( NULL ) ---- query I rowsort SELECT ALL + + col0 + + + 86 * + col1 AS col2 FROM tab2 AS cor0 GROUP BY col1, col0 HAVING NULL IN ( 73 ) ---- |
︙ | ︙ | |||
39900 39901 39902 39903 39904 39905 39906 39907 39908 39909 39910 39911 39912 39913 | 0 2 0 3 81 skipif mysql # not compatible query II rowsort label-5241 SELECT DISTINCT - - 81 / - - col2 col1, col1 AS col2 FROM tab0 AS cor0 GROUP BY col2, col1 HAVING ( + col2 / + 58 ) <> 48 ---- 1 0 2 0 | > | 40013 40014 40015 40016 40017 40018 40019 40020 40021 40022 40023 40024 40025 40026 40027 | 0 2 0 3 81 skipif mysql # not compatible skipif postgresql # PostgreSQL requires AS when renaming output columns query II rowsort label-5241 SELECT DISTINCT - - 81 / - - col2 col1, col1 AS col2 FROM tab0 AS cor0 GROUP BY col2, col1 HAVING ( + col2 / + 58 ) <> 48 ---- 1 0 2 0 |
︙ | ︙ | |||
40460 40461 40462 40463 40464 40465 40466 40467 40468 40469 40470 40471 40472 40473 | onlyif mysql # CAST syntax: aggregate syntax: SIGNED type: query I rowsort label-5300 SELECT ALL col1 * - col1 + col1 + col1 + - 7 * - CASE + 93 WHEN 33 THEN - col0 / COUNT( * ) * - col1 + + 1 WHEN - CAST( NULL AS SIGNED ) + + 86 THEN + AVG ( - - col0 ) END * 47 FROM tab2 AS cor0 WHERE NOT NULL > - 75 GROUP BY col1, col1 ---- skipif mysql # not compatible query I rowsort label-5300 SELECT ALL col1 * - col1 + col1 + col1 + - 7 * - CASE + 93 WHEN 33 THEN - col0 / COUNT ( * ) * - col1 + + 1 WHEN - CAST ( NULL AS INTEGER ) + + 86 THEN + AVG ( - - col0 ) END * 47 FROM tab2 AS cor0 WHERE NOT NULL > - 75 GROUP BY col1, col1 ---- query II rowsort SELECT ALL + col1, - col1 AS col2 FROM tab0 AS cor0 GROUP BY col1 ---- | > | 40574 40575 40576 40577 40578 40579 40580 40581 40582 40583 40584 40585 40586 40587 40588 | onlyif mysql # CAST syntax: aggregate syntax: SIGNED type: query I rowsort label-5300 SELECT ALL col1 * - col1 + col1 + col1 + - 7 * - CASE + 93 WHEN 33 THEN - col0 / COUNT( * ) * - col1 + + 1 WHEN - CAST( NULL AS SIGNED ) + + 86 THEN + AVG ( - - col0 ) END * 47 FROM tab2 AS cor0 WHERE NOT NULL > - 75 GROUP BY col1, col1 ---- skipif mysql # not compatible skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort label-5300 SELECT ALL col1 * - col1 + col1 + col1 + - 7 * - CASE + 93 WHEN 33 THEN - col0 / COUNT ( * ) * - col1 + + 1 WHEN - CAST ( NULL AS INTEGER ) + + 86 THEN + AVG ( - - col0 ) END * 47 FROM tab2 AS cor0 WHERE NOT NULL > - 75 GROUP BY col1, col1 ---- query II rowsort SELECT ALL + col1, - col1 AS col2 FROM tab0 AS cor0 GROUP BY col1 ---- |
︙ | ︙ | |||
40718 40719 40720 40721 40722 40723 40724 40725 40726 40727 40728 40729 40730 40731 | onlyif mysql # aggregate syntax: query II rowsort label-5327 SELECT ALL - 89 AS col0, MAX( ALL - col0 ) AS col2 FROM tab2 GROUP BY col0 HAVING NULL = col2 ---- skipif mysql # not compatible query II rowsort label-5327 SELECT ALL - 89 AS col0, MAX ( ALL - col0 ) AS col2 FROM tab2 GROUP BY col0 HAVING NULL = col2 ---- onlyif mysql # CAST syntax: SIGNED type: query I rowsort label-5328 SELECT DISTINCT - 48 + - col1 * + 71 + + - 11 * - 27 FROM tab0 GROUP BY col1 HAVING NOT NULL BETWEEN - col1 AND + col1 * CAST( 13 AS SIGNED ) + + 72 + 65 * - 24 | > | 40833 40834 40835 40836 40837 40838 40839 40840 40841 40842 40843 40844 40845 40846 40847 | onlyif mysql # aggregate syntax: query II rowsort label-5327 SELECT ALL - 89 AS col0, MAX( ALL - col0 ) AS col2 FROM tab2 GROUP BY col0 HAVING NULL = col2 ---- skipif mysql # not compatible skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query II rowsort label-5327 SELECT ALL - 89 AS col0, MAX ( ALL - col0 ) AS col2 FROM tab2 GROUP BY col0 HAVING NULL = col2 ---- onlyif mysql # CAST syntax: SIGNED type: query I rowsort label-5328 SELECT DISTINCT - 48 + - col1 * + 71 + + - 11 * - 27 FROM tab0 GROUP BY col1 HAVING NOT NULL BETWEEN - col1 AND + col1 * CAST( 13 AS SIGNED ) + + 72 + 65 * - 24 |
︙ | ︙ | |||
40760 40761 40762 40763 40764 40765 40766 40767 40768 40769 40770 40771 40772 40773 | onlyif mysql # CAST syntax: DECIMAL type: query I rowsort label-5330 SELECT + CAST( NULL AS DECIMAL ) + - 66 / + col2 AS col0 FROM tab1 GROUP BY col1, col2 HAVING NOT NULL >= col0 ---- skipif mysql # not compatible query I rowsort label-5330 SELECT + CAST ( NULL AS REAL ) + - 66 / + col2 AS col0 FROM tab1 GROUP BY col1, col2 HAVING NOT NULL >= col0 ---- query I rowsort SELECT DISTINCT - 11 FROM tab1 GROUP BY col2, col1 ---- | > | 40876 40877 40878 40879 40880 40881 40882 40883 40884 40885 40886 40887 40888 40889 40890 | onlyif mysql # CAST syntax: DECIMAL type: query I rowsort label-5330 SELECT + CAST( NULL AS DECIMAL ) + - 66 / + col2 AS col0 FROM tab1 GROUP BY col1, col2 HAVING NOT NULL >= col0 ---- skipif mysql # not compatible skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort label-5330 SELECT + CAST ( NULL AS REAL ) + - 66 / + col2 AS col0 FROM tab1 GROUP BY col1, col2 HAVING NOT NULL >= col0 ---- query I rowsort SELECT DISTINCT - 11 FROM tab1 GROUP BY col2, col1 ---- |
︙ | ︙ | |||
41335 41336 41337 41338 41339 41340 41341 41342 41343 41344 41345 41346 41347 41348 | NULL 29 NULL 29 NULL skipif mysql # not compatible query II rowsort label-5392 SELECT ALL + 29 col0, 33 * - MIN ( CAST ( + CASE col1 WHEN + 26 THEN + col1 END AS INTEGER ) ) - col2 * - NULLIF ( 6, col0 ) FROM tab2 GROUP BY col2, col0, col2 ---- 29 NULL 29 NULL | > | 41452 41453 41454 41455 41456 41457 41458 41459 41460 41461 41462 41463 41464 41465 41466 | NULL 29 NULL 29 NULL skipif mysql # not compatible skipif postgresql # PostgreSQL requires AS when renaming output columns query II rowsort label-5392 SELECT ALL + 29 col0, 33 * - MIN ( CAST ( + CASE col1 WHEN + 26 THEN + col1 END AS INTEGER ) ) - col2 * - NULLIF ( 6, col0 ) FROM tab2 GROUP BY col2, col0, col2 ---- 29 NULL 29 NULL |
︙ | ︙ | |||
41361 41362 41363 41364 41365 41366 41367 41368 41369 41370 41371 41372 41373 41374 | onlyif mysql # CAST syntax: SIGNED type: query I rowsort label-5394 SELECT col1 AS col2 FROM tab2 WHERE - - 60 - + col1 BETWEEN + col2 / col1 AND + col0 * + ( CAST( NULL AS SIGNED ) ) GROUP BY col1 HAVING NOT NULL < + col2 ---- skipif mysql # not compatible query I rowsort label-5394 SELECT col1 AS col2 FROM tab2 WHERE - - 60 - + col1 BETWEEN + col2 / col1 AND + col0 * + ( CAST ( NULL AS INTEGER ) ) GROUP BY col1 HAVING NOT NULL < + col2 ---- onlyif mysql # aggregate syntax: DIV for integer division: query I rowsort label-5395 SELECT ALL + - COALESCE ( + col1, + - col0 DIV COUNT( * ) * - + col1 * 21 + MIN( + 23 ), - col0 * 53 + - ( col1 ) * - col0 ) FROM tab0 AS cor0 GROUP BY col0, col1 | > | 41479 41480 41481 41482 41483 41484 41485 41486 41487 41488 41489 41490 41491 41492 41493 | onlyif mysql # CAST syntax: SIGNED type: query I rowsort label-5394 SELECT col1 AS col2 FROM tab2 WHERE - - 60 - + col1 BETWEEN + col2 / col1 AND + col0 * + ( CAST( NULL AS SIGNED ) ) GROUP BY col1 HAVING NOT NULL < + col2 ---- skipif mysql # not compatible skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort label-5394 SELECT col1 AS col2 FROM tab2 WHERE - - 60 - + col1 BETWEEN + col2 / col1 AND + col0 * + ( CAST ( NULL AS INTEGER ) ) GROUP BY col1 HAVING NOT NULL < + col2 ---- onlyif mysql # aggregate syntax: DIV for integer division: query I rowsort label-5395 SELECT ALL + - COALESCE ( + col1, + - col0 DIV COUNT( * ) * - + col1 * 21 + MIN( + 23 ), - col0 * 53 + - ( col1 ) * - col0 ) FROM tab0 AS cor0 GROUP BY col0, col1 |
︙ | ︙ | |||
42052 42053 42054 42055 42056 42057 42058 42059 42060 42061 42062 42063 42064 42065 | skipif mysql # not compatible query I rowsort label-5463 SELECT ALL + + COUNT ( * ) * 8 FROM tab0 AS cor0 GROUP BY col1 ---- 16 8 query II rowsort SELECT ( - AVG ( ALL col2 ) ) + ( + col2 ) col0, + col2 * + + col2 FROM tab0 AS cor0 GROUP BY col2 HAVING NULL IN ( - col0 ) ---- onlyif mysql # aggregate syntax: query I rowsort label-5465 SELECT DISTINCT + COUNT( * ) AS col0 FROM tab0 GROUP BY col2 HAVING NOT - - ( 69 ) < col2 | > | 42171 42172 42173 42174 42175 42176 42177 42178 42179 42180 42181 42182 42183 42184 42185 | skipif mysql # not compatible query I rowsort label-5463 SELECT ALL + + COUNT ( * ) * 8 FROM tab0 AS cor0 GROUP BY col1 ---- 16 8 skipif postgresql # PostgreSQL requires AS when renaming output columns query II rowsort SELECT ( - AVG ( ALL col2 ) ) + ( + col2 ) col0, + col2 * + + col2 FROM tab0 AS cor0 GROUP BY col2 HAVING NULL IN ( - col0 ) ---- onlyif mysql # aggregate syntax: query I rowsort label-5465 SELECT DISTINCT + COUNT( * ) AS col0 FROM tab0 GROUP BY col2 HAVING NOT - - ( 69 ) < col2 |
︙ | ︙ | |||
43086 43087 43088 43089 43090 43091 43092 43093 43094 43095 43096 43097 43098 43099 | -58 -1851360 -58 -5421840 -58 skipif mysql # not compatible query II rowsort label-5557 SELECT MIN ( DISTINCT + 29 ) * + COUNT ( * ) * - - 95 * - ( - col0 ) * + ( - 24 ), - COALESCE ( ( + + 58 ), + - col0 + col2 * + 40 + - 27, + 25 ) AS col1 FROM tab1 GROUP BY col0 ---- -1454640 -58 -1851360 -58 | > | 43206 43207 43208 43209 43210 43211 43212 43213 43214 43215 43216 43217 43218 43219 43220 | -58 -1851360 -58 -5421840 -58 skipif mysql # not compatible skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query II rowsort label-5557 SELECT MIN ( DISTINCT + 29 ) * + COUNT ( * ) * - - 95 * - ( - col0 ) * + ( - 24 ), - COALESCE ( ( + + 58 ), + - col0 + col2 * + 40 + - 27, + 25 ) AS col1 FROM tab1 GROUP BY col0 ---- -1454640 -58 -1851360 -58 |
︙ | ︙ | |||
43300 43301 43302 43303 43304 43305 43306 43307 43308 43309 43310 43311 43312 43313 | onlyif mysql # aggregate syntax: query I rowsort label-5581 SELECT ALL + COALESCE ( + + MIN( DISTINCT 49 ), + - COUNT( * ), + COUNT( * ) * + 97 ) * 8 AS col2 FROM tab2 AS cor0 GROUP BY col0, col1 HAVING NULL >= + col2 / + - 43 * - ( - col2 ) ---- skipif mysql # not compatible query I rowsort label-5581 SELECT ALL + COALESCE ( + + MIN ( DISTINCT 49 ), + - COUNT ( * ), + COUNT ( * ) * + 97 ) * 8 AS col2 FROM tab2 AS cor0 GROUP BY col0, col1 HAVING NULL >= + col2 / + - 43 * - ( - col2 ) ---- onlyif mysql # aggregate syntax: query I rowsort label-5582 SELECT - SUM( + col2 ) * COUNT( * ) - + - 56 + - col2 FROM tab0 WHERE NOT + col2 <> ( - col2 ) GROUP BY col2, col0 | > | 43421 43422 43423 43424 43425 43426 43427 43428 43429 43430 43431 43432 43433 43434 43435 | onlyif mysql # aggregate syntax: query I rowsort label-5581 SELECT ALL + COALESCE ( + + MIN( DISTINCT 49 ), + - COUNT( * ), + COUNT( * ) * + 97 ) * 8 AS col2 FROM tab2 AS cor0 GROUP BY col0, col1 HAVING NULL >= + col2 / + - 43 * - ( - col2 ) ---- skipif mysql # not compatible skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort label-5581 SELECT ALL + COALESCE ( + + MIN ( DISTINCT 49 ), + - COUNT ( * ), + COUNT ( * ) * + 97 ) * 8 AS col2 FROM tab2 AS cor0 GROUP BY col0, col1 HAVING NULL >= + col2 / + - 43 * - ( - col2 ) ---- onlyif mysql # aggregate syntax: query I rowsort label-5582 SELECT - SUM( + col2 ) * COUNT( * ) - + - 56 + - col2 FROM tab0 WHERE NOT + col2 <> ( - col2 ) GROUP BY col2, col0 |
︙ | ︙ | |||
44198 44199 44200 44201 44202 44203 44204 44205 44206 44207 44208 44209 44210 44211 44212 44213 44214 44215 44216 44217 44218 44219 44220 44221 44222 44223 44224 44225 44226 44227 44228 | onlyif mysql # aggregate syntax: query III rowsort label-5677 SELECT 65 - 20 * + MAX( ALL - col0 ) - + - col0 * + col0, + col0 col0, - - col0 FROM tab1 AS cor0 GROUP BY col0 HAVING NOT NULL < - 6 / + + COUNT( col0 ) ---- skipif mysql # not compatible query III rowsort label-5677 SELECT 65 - 20 * + MAX ( ALL - col0 ) - + - col0 * + col0, + col0 col0, - - col0 FROM tab1 AS cor0 GROUP BY col0 HAVING NOT NULL < - 6 / + + COUNT ( col0 ) ---- query I rowsort SELECT DISTINCT - + col2 + - 48 FROM tab2 AS cor0 GROUP BY col2 ---- -106 -127 -135 onlyif mysql # aggregate syntax: query II rowsort label-5679 SELECT DISTINCT - col2, + COUNT( * ) + + + col2 AS col0 FROM tab1 cor0 GROUP BY col2 HAVING NOT - col0 <> NULL ---- skipif mysql # not compatible query II rowsort label-5679 SELECT DISTINCT - col2, + COUNT ( * ) + + + col2 AS col0 FROM tab1 cor0 GROUP BY col2 HAVING NOT - col0 <> NULL ---- skipif postgresql # PostgreSQL requires AS when renaming output columns query II rowsort SELECT ALL - col2, col2 + + col2 col2 FROM tab0 AS cor0 GROUP BY col2 | > > | 44320 44321 44322 44323 44324 44325 44326 44327 44328 44329 44330 44331 44332 44333 44334 44335 44336 44337 44338 44339 44340 44341 44342 44343 44344 44345 44346 44347 44348 44349 44350 44351 44352 | onlyif mysql # aggregate syntax: query III rowsort label-5677 SELECT 65 - 20 * + MAX( ALL - col0 ) - + - col0 * + col0, + col0 col0, - - col0 FROM tab1 AS cor0 GROUP BY col0 HAVING NOT NULL < - 6 / + + COUNT( col0 ) ---- skipif mysql # not compatible skipif postgresql # PostgreSQL requires AS when renaming output columns query III rowsort label-5677 SELECT 65 - 20 * + MAX ( ALL - col0 ) - + - col0 * + col0, + col0 col0, - - col0 FROM tab1 AS cor0 GROUP BY col0 HAVING NOT NULL < - 6 / + + COUNT ( col0 ) ---- query I rowsort SELECT DISTINCT - + col2 + - 48 FROM tab2 AS cor0 GROUP BY col2 ---- -106 -127 -135 onlyif mysql # aggregate syntax: query II rowsort label-5679 SELECT DISTINCT - col2, + COUNT( * ) + + + col2 AS col0 FROM tab1 cor0 GROUP BY col2 HAVING NOT - col0 <> NULL ---- skipif mysql # not compatible skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query II rowsort label-5679 SELECT DISTINCT - col2, + COUNT ( * ) + + + col2 AS col0 FROM tab1 cor0 GROUP BY col2 HAVING NOT - col0 <> NULL ---- skipif postgresql # PostgreSQL requires AS when renaming output columns query II rowsort SELECT ALL - col2, col2 + + col2 col2 FROM tab0 AS cor0 GROUP BY col2 |
︙ | ︙ | |||
44627 44628 44629 44630 44631 44632 44633 44634 44635 44636 44637 44638 44639 44640 | -15 -65 -91 -65 -92 skipif mysql # not compatible query II rowsort label-5720 SELECT - 65 col2, COUNT ( * ) * - ( + col0 ) FROM tab2 GROUP BY col0, col0 HAVING NOT ( NOT ( MIN ( - + col2 ) IS NOT NULL ) ) ---- -65 -15 -65 -91 | > | 44751 44752 44753 44754 44755 44756 44757 44758 44759 44760 44761 44762 44763 44764 44765 | -15 -65 -91 -65 -92 skipif mysql # not compatible skipif postgresql # PostgreSQL requires AS when renaming output columns query II rowsort label-5720 SELECT - 65 col2, COUNT ( * ) * - ( + col0 ) FROM tab2 GROUP BY col0, col0 HAVING NOT ( NOT ( MIN ( - + col2 ) IS NOT NULL ) ) ---- -65 -15 -65 -91 |
︙ | ︙ | |||
44937 44938 44939 44940 44941 44942 44943 44944 44945 44946 44947 44948 44949 44950 | query I rowsort label-5752 SELECT ALL - MIN ( ALL + - col0 ) / col0 AS col1 FROM tab1 AS cor0 GROUP BY col0 HAVING NOT + col0 IS NULL ---- 1 1 1 query I rowsort SELECT ALL + COALESCE ( col0, - 17 + 18, - ( + - 1 ) + ( + + col1 ) - - + 65 ) FROM tab1 cor0 GROUP BY col0 ---- 22 28 82 | > | 45062 45063 45064 45065 45066 45067 45068 45069 45070 45071 45072 45073 45074 45075 45076 | query I rowsort label-5752 SELECT ALL - MIN ( ALL + - col0 ) / col0 AS col1 FROM tab1 AS cor0 GROUP BY col0 HAVING NOT + col0 IS NULL ---- 1 1 1 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT ALL + COALESCE ( col0, - 17 + 18, - ( + - 1 ) + ( + + col1 ) - - + 65 ) FROM tab1 cor0 GROUP BY col0 ---- 22 28 82 |
︙ | ︙ | |||
44976 44977 44978 44979 44980 44981 44982 44983 44984 44985 44986 44987 44988 44989 | onlyif mysql # CAST syntax: aggregate syntax: SIGNED type: query I rowsort label-5757 SELECT col2 * - + CAST( NULL AS SIGNED ) + + col2 AS col1 FROM tab1 WHERE NOT ( NOT NULL < + col0 + + col0 ) GROUP BY col2 HAVING NOT NULL = + 70 + - + col1 AND 60 - + COUNT( * ) + col2 + - col1 <> NULL ---- skipif mysql # not compatible query I rowsort label-5757 SELECT col2 * - + CAST ( NULL AS INTEGER ) + + col2 AS col1 FROM tab1 WHERE NOT ( NOT NULL < + col0 + + col0 ) GROUP BY col2 HAVING NOT NULL = + 70 + - + col1 AND 60 - + COUNT ( * ) + col2 + - col1 <> NULL ---- query I rowsort SELECT DISTINCT - col0 AS col1 FROM tab2 GROUP BY col0 HAVING NULL = NULL ---- | > | 45102 45103 45104 45105 45106 45107 45108 45109 45110 45111 45112 45113 45114 45115 45116 | onlyif mysql # CAST syntax: aggregate syntax: SIGNED type: query I rowsort label-5757 SELECT col2 * - + CAST( NULL AS SIGNED ) + + col2 AS col1 FROM tab1 WHERE NOT ( NOT NULL < + col0 + + col0 ) GROUP BY col2 HAVING NOT NULL = + 70 + - + col1 AND 60 - + COUNT( * ) + col2 + - col1 <> NULL ---- skipif mysql # not compatible skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort label-5757 SELECT col2 * - + CAST ( NULL AS INTEGER ) + + col2 AS col1 FROM tab1 WHERE NOT ( NOT NULL < + col0 + + col0 ) GROUP BY col2 HAVING NOT NULL = + 70 + - + col1 AND 60 - + COUNT ( * ) + col2 + - col1 <> NULL ---- query I rowsort SELECT DISTINCT - col0 AS col1 FROM tab2 GROUP BY col0 HAVING NULL = NULL ---- |
︙ | ︙ | |||
45188 45189 45190 45191 45192 45193 45194 45195 45196 45197 45198 45199 45200 45201 45202 45203 45204 45205 45206 45207 45208 45209 45210 45211 | ---- query I rowsort SELECT DISTINCT 35 AS col1 FROM tab1 GROUP BY col2, col1, col0 HAVING NOT + col2 + + col1 IS NULL ---- 35 query II rowsort SELECT col0 col1, - 38 FROM tab2 GROUP BY col2, col2, col0 ---- 15 -38 91 -38 92 -38 query II rowsort SELECT ALL + col1 col0, col1 FROM tab1 GROUP BY col1 HAVING + 20 < - 77 ---- query I rowsort SELECT col0 + col0 + + + col1 + - + col0 AS col0 FROM tab1 AS cor0 GROUP BY col1, col0 ---- | > > | 45315 45316 45317 45318 45319 45320 45321 45322 45323 45324 45325 45326 45327 45328 45329 45330 45331 45332 45333 45334 45335 45336 45337 45338 45339 45340 | ---- query I rowsort SELECT DISTINCT 35 AS col1 FROM tab1 GROUP BY col2, col1, col0 HAVING NOT + col2 + + col1 IS NULL ---- 35 skipif postgresql # PostgreSQL requires AS when renaming output columns query II rowsort SELECT col0 col1, - 38 FROM tab2 GROUP BY col2, col2, col0 ---- 15 -38 91 -38 92 -38 skipif postgresql # PostgreSQL requires AS when renaming output columns query II rowsort SELECT ALL + col1 col0, col1 FROM tab1 GROUP BY col1 HAVING + 20 < - 77 ---- query I rowsort SELECT col0 + col0 + + + col1 + - + col0 AS col0 FROM tab1 AS cor0 GROUP BY col1, col0 ---- |
︙ | ︙ | |||
45259 45260 45261 45262 45263 45264 45265 45266 45267 45268 45269 45270 45271 45272 | 0 78 query I rowsort SELECT + col2 * col2 + - + col0 * + + AVG ( - col2 ) FROM tab1 AS cor0 GROUP BY col2, col0, col2 HAVING + - 50 IS NULL ---- query II rowsort SELECT + - col0 col0, col0 + + - 40 FROM tab1 AS cor0 WHERE ( NULL ) IS NOT NULL GROUP BY col0, col2 ---- query I rowsort SELECT DISTINCT col2 AS col1 FROM tab1 WHERE NULL IS NOT NULL GROUP BY col2 ---- | > | 45388 45389 45390 45391 45392 45393 45394 45395 45396 45397 45398 45399 45400 45401 45402 | 0 78 query I rowsort SELECT + col2 * col2 + - + col0 * + + AVG ( - col2 ) FROM tab1 AS cor0 GROUP BY col2, col0, col2 HAVING + - 50 IS NULL ---- skipif postgresql # PostgreSQL requires AS when renaming output columns query II rowsort SELECT + - col0 col0, col0 + + - 40 FROM tab1 AS cor0 WHERE ( NULL ) IS NOT NULL GROUP BY col0, col2 ---- query I rowsort SELECT DISTINCT col2 AS col1 FROM tab1 WHERE NULL IS NOT NULL GROUP BY col2 ---- |
︙ | ︙ | |||
45631 45632 45633 45634 45635 45636 45637 45638 45639 45640 45641 45642 45643 45644 45645 45646 45647 45648 45649 45650 45651 | ---- skipif mysql # not compatible query I rowsort label-5829 SELECT DISTINCT + 13 + - CAST ( - col2 AS INTEGER ) + + col2 * - 21 FROM tab1 AS cor0 WHERE NOT ( NULL ) NOT BETWEEN NULL AND - col2 GROUP BY col2, col1 ---- query I rowsort SELECT ALL - 98 + col2 + + COALESCE ( - - ( - 21 ), + - ( col0 ) ) * ( - col2 ) * + col2 + - col2 FROM tab1 AS cor0 GROUP BY col2 ---- 105763 1246 42427 query I rowsort SELECT DISTINCT + 8 + + 52 AS col1 FROM tab0 AS cor0 GROUP BY col2 HAVING NOT NULL >= col2 + col1 ---- onlyif mysql # aggregate syntax: query I rowsort label-5832 SELECT + - col0 * - MAX( - col0 ) * + + col0 * + + col0 + - col0 FROM tab1 AS cor0 GROUP BY col0 | > > | 45761 45762 45763 45764 45765 45766 45767 45768 45769 45770 45771 45772 45773 45774 45775 45776 45777 45778 45779 45780 45781 45782 45783 | ---- skipif mysql # not compatible query I rowsort label-5829 SELECT DISTINCT + 13 + - CAST ( - col2 AS INTEGER ) + + col2 * - 21 FROM tab1 AS cor0 WHERE NOT ( NULL ) NOT BETWEEN NULL AND - col2 GROUP BY col2, col1 ---- skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT ALL - 98 + col2 + + COALESCE ( - - ( - 21 ), + - ( col0 ) ) * ( - col2 ) * + col2 + - col2 FROM tab1 AS cor0 GROUP BY col2 ---- 105763 1246 42427 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT DISTINCT + 8 + + 52 AS col1 FROM tab0 AS cor0 GROUP BY col2 HAVING NOT NULL >= col2 + col1 ---- onlyif mysql # aggregate syntax: query I rowsort label-5832 SELECT + - col0 * - MAX( - col0 ) * + + col0 * + + col0 + - col0 FROM tab1 AS cor0 GROUP BY col0 |
︙ | ︙ | |||
45840 45841 45842 45843 45844 45845 45846 45847 45848 45849 45850 45851 45852 45853 | SELECT CASE + 58 WHEN + 5 THEN col0 END col0 FROM tab0 GROUP BY col0, col0, col2 HAVING ( + 30 ) NOT BETWEEN NULL AND - COUNT( * ) + - col2 ---- NULL NULL NULL skipif mysql # not compatible query I rowsort label-5853 SELECT CASE + 58 WHEN + 5 THEN col0 END col0 FROM tab0 GROUP BY col0, col0, col2 HAVING ( + 30 ) NOT BETWEEN NULL AND - COUNT ( * ) + - col2 ---- NULL NULL NULL | > | 45972 45973 45974 45975 45976 45977 45978 45979 45980 45981 45982 45983 45984 45985 45986 | SELECT CASE + 58 WHEN + 5 THEN col0 END col0 FROM tab0 GROUP BY col0, col0, col2 HAVING ( + 30 ) NOT BETWEEN NULL AND - COUNT( * ) + - col2 ---- NULL NULL NULL skipif mysql # not compatible skipif postgresql # PostgreSQL requires AS when renaming output columns query I rowsort label-5853 SELECT CASE + 58 WHEN + 5 THEN col0 END col0 FROM tab0 GROUP BY col0, col0, col2 HAVING ( + 30 ) NOT BETWEEN NULL AND - COUNT ( * ) + - col2 ---- NULL NULL NULL |
︙ | ︙ | |||
46120 46121 46122 46123 46124 46125 46126 46127 46128 46129 46130 46131 46132 46133 | onlyif mysql # CAST syntax: aggregate syntax: SIGNED type: query I rowsort label-5884 SELECT - - ( + 90 ) AS col1 FROM tab0 AS cor0 GROUP BY col0 HAVING NOT NULL <= - + 21 * ( + 30 / 82 + MIN( DISTINCT CAST( NULL AS SIGNED ) ) ) + ( col1 - COUNT( * ) / 80 ) * + 28 ---- skipif mysql # not compatible query I rowsort label-5884 SELECT - - ( + 90 ) AS col1 FROM tab0 AS cor0 GROUP BY col0 HAVING NOT NULL <= - + 21 * ( + 30 / 82 + MIN ( DISTINCT CAST ( NULL AS INTEGER ) ) ) + ( col1 - COUNT ( * ) / 80 ) * + 28 ---- query I rowsort SELECT ALL + col1 + + col1 AS col2 FROM tab1 cor0 GROUP BY col1 ---- | > | 46253 46254 46255 46256 46257 46258 46259 46260 46261 46262 46263 46264 46265 46266 46267 | onlyif mysql # CAST syntax: aggregate syntax: SIGNED type: query I rowsort label-5884 SELECT - - ( + 90 ) AS col1 FROM tab0 AS cor0 GROUP BY col0 HAVING NOT NULL <= - + 21 * ( + 30 / 82 + MIN( DISTINCT CAST( NULL AS SIGNED ) ) ) + ( col1 - COUNT( * ) / 80 ) * + 28 ---- skipif mysql # not compatible skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort label-5884 SELECT - - ( + 90 ) AS col1 FROM tab0 AS cor0 GROUP BY col0 HAVING NOT NULL <= - + 21 * ( + 30 / 82 + MIN ( DISTINCT CAST ( NULL AS INTEGER ) ) ) + ( col1 - COUNT ( * ) / 80 ) * + 28 ---- query I rowsort SELECT ALL + col1 + + col1 AS col2 FROM tab1 cor0 GROUP BY col1 ---- |
︙ | ︙ | |||
46486 46487 46488 46489 46490 46491 46492 46493 46494 46495 46496 46497 46498 46499 | query I rowsort label-5924 SELECT DISTINCT col1 * - CASE WHEN NULL NOT IN ( 52, - col0, + col0 + ( + + COUNT( * ) ), - CAST( NULL AS SIGNED ) ) THEN + - NULLIF ( - 84, + - SUM( + col2 ) - 35 ) ELSE COUNT( * ) END FROM tab0 GROUP BY col1 ---- -81 0 skipif mysql # not compatible query I rowsort label-5924 SELECT DISTINCT col1 * - CASE WHEN NULL NOT IN ( 52, - col0, + col0 + ( + + COUNT ( * ) ), - CAST ( NULL AS INTEGER ) ) THEN + - NULLIF ( - 84, + - SUM ( + col2 ) - 35 ) ELSE COUNT ( * ) END FROM tab0 GROUP BY col1 ---- -81 0 onlyif mysql # CAST syntax: aggregate syntax: DECIMAL type: | > | 46620 46621 46622 46623 46624 46625 46626 46627 46628 46629 46630 46631 46632 46633 46634 | query I rowsort label-5924 SELECT DISTINCT col1 * - CASE WHEN NULL NOT IN ( 52, - col0, + col0 + ( + + COUNT( * ) ), - CAST( NULL AS SIGNED ) ) THEN + - NULLIF ( - 84, + - SUM( + col2 ) - 35 ) ELSE COUNT( * ) END FROM tab0 GROUP BY col1 ---- -81 0 skipif mysql # not compatible skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort label-5924 SELECT DISTINCT col1 * - CASE WHEN NULL NOT IN ( 52, - col0, + col0 + ( + + COUNT ( * ) ), - CAST ( NULL AS INTEGER ) ) THEN + - NULLIF ( - 84, + - SUM ( + col2 ) - 35 ) ELSE COUNT ( * ) END FROM tab0 GROUP BY col1 ---- -81 0 onlyif mysql # CAST syntax: aggregate syntax: DECIMAL type: |
︙ | ︙ | |||
46565 46566 46567 46568 46569 46570 46571 46572 46573 46574 46575 46576 46577 46578 | onlyif mysql # CAST syntax: aggregate syntax: SIGNED type: query I rowsort label-5932 SELECT ALL col2 + col2 - - 43 * + - COUNT( * ) / CASE + CAST( NULL AS SIGNED ) WHEN - - COALESCE ( - + 59, col1 / col1 * + COUNT( ALL + - 40 ) * - 52, - - CASE WHEN col1 NOT BETWEEN NULL AND NULL THEN NULL ELSE 33 + + col0 / 65 END * col2 ) * - col2 + col0 THEN - COUNT( * ) WHEN col0 THEN NULL END FROM tab2 GROUP BY col0, col2 HAVING ( col0 ) BETWEEN ( CAST( NULL AS SIGNED ) ) AND NULLIF ( - CAST( NULL AS SIGNED ), 92 + + ( - AVG ( DISTINCT col2 ) ) / 76 ) ---- skipif mysql # not compatible query I rowsort label-5932 SELECT ALL col2 + col2 - - 43 * + - COUNT ( * ) / CASE + CAST ( NULL AS INTEGER ) WHEN - - COALESCE ( - + 59, col1 / col1 * + COUNT ( ALL + - 40 ) * - 52, - - CASE WHEN col1 NOT BETWEEN NULL AND NULL THEN NULL ELSE 33 + + col0 / 65 END * col2 ) * - col2 + col0 THEN - COUNT ( * ) WHEN col0 THEN NULL END FROM tab2 GROUP BY col0, col2 HAVING ( col0 ) BETWEEN ( CAST ( NULL AS INTEGER ) ) AND NULLIF ( - CAST ( NULL AS INTEGER ), 92 + + ( - AVG ( DISTINCT col2 ) ) / 76 ) ---- onlyif mysql # aggregate syntax: query I rowsort label-5933 SELECT MAX( - ( - col1 ) ) FROM tab2 cor0 GROUP BY col1, col1 | > | 46700 46701 46702 46703 46704 46705 46706 46707 46708 46709 46710 46711 46712 46713 46714 | onlyif mysql # CAST syntax: aggregate syntax: SIGNED type: query I rowsort label-5932 SELECT ALL col2 + col2 - - 43 * + - COUNT( * ) / CASE + CAST( NULL AS SIGNED ) WHEN - - COALESCE ( - + 59, col1 / col1 * + COUNT( ALL + - 40 ) * - 52, - - CASE WHEN col1 NOT BETWEEN NULL AND NULL THEN NULL ELSE 33 + + col0 / 65 END * col2 ) * - col2 + col0 THEN - COUNT( * ) WHEN col0 THEN NULL END FROM tab2 GROUP BY col0, col2 HAVING ( col0 ) BETWEEN ( CAST( NULL AS SIGNED ) ) AND NULLIF ( - CAST( NULL AS SIGNED ), 92 + + ( - AVG ( DISTINCT col2 ) ) / 76 ) ---- skipif mysql # not compatible skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort label-5932 SELECT ALL col2 + col2 - - 43 * + - COUNT ( * ) / CASE + CAST ( NULL AS INTEGER ) WHEN - - COALESCE ( - + 59, col1 / col1 * + COUNT ( ALL + - 40 ) * - 52, - - CASE WHEN col1 NOT BETWEEN NULL AND NULL THEN NULL ELSE 33 + + col0 / 65 END * col2 ) * - col2 + col0 THEN - COUNT ( * ) WHEN col0 THEN NULL END FROM tab2 GROUP BY col0, col2 HAVING ( col0 ) BETWEEN ( CAST ( NULL AS INTEGER ) ) AND NULLIF ( - CAST ( NULL AS INTEGER ), 92 + + ( - AVG ( DISTINCT col2 ) ) / 76 ) ---- onlyif mysql # aggregate syntax: query I rowsort label-5933 SELECT MAX( - ( - col1 ) ) FROM tab2 cor0 GROUP BY col1, col1 |
︙ | ︙ | |||
47193 47194 47195 47196 47197 47198 47199 47200 47201 47202 47203 47204 47205 47206 | onlyif mysql # CAST syntax: aggregate syntax: SIGNED type: query I rowsort label-5990 SELECT DISTINCT - ( - COALESCE ( 45, + col2, + col1, CAST( + COUNT( * ) AS SIGNED ) ) ) FROM tab1 WHERE NULL IS NOT NULL GROUP BY col1 ---- skipif mysql # not compatible query I rowsort label-5990 SELECT DISTINCT - ( - COALESCE ( 45, + col2, + col1, CAST ( + COUNT ( * ) AS INTEGER ) ) ) FROM tab1 WHERE NULL IS NOT NULL GROUP BY col1 ---- query I rowsort SELECT DISTINCT 40 FROM tab0 GROUP BY col2, col1 ---- | > | 47329 47330 47331 47332 47333 47334 47335 47336 47337 47338 47339 47340 47341 47342 47343 | onlyif mysql # CAST syntax: aggregate syntax: SIGNED type: query I rowsort label-5990 SELECT DISTINCT - ( - COALESCE ( 45, + col2, + col1, CAST( + COUNT( * ) AS SIGNED ) ) ) FROM tab1 WHERE NULL IS NOT NULL GROUP BY col1 ---- skipif mysql # not compatible skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort label-5990 SELECT DISTINCT - ( - COALESCE ( 45, + col2, + col1, CAST ( + COUNT ( * ) AS INTEGER ) ) ) FROM tab1 WHERE NULL IS NOT NULL GROUP BY col1 ---- query I rowsort SELECT DISTINCT 40 FROM tab0 GROUP BY col2, col1 ---- |
︙ | ︙ | |||
48365 48366 48367 48368 48369 48370 48371 48372 48373 48374 48375 48376 48377 48378 | query I rowsort label-6112 SELECT + ( + 59 ) + ( + NULLIF ( 79, + ( + COUNT ( * ) ) ) ) FROM tab2 GROUP BY col0, col1, col1 ---- 138 138 138 query I rowsort SELECT col0 + - 78 AS col1 FROM tab0 GROUP BY col0, col0 HAVING NOT NULL > col1 - - col0 ---- skipif postgresql # PostgreSQL requires AS when renaming output columns query I rowsort SELECT + + 74 col2 FROM tab2 AS cor0 GROUP BY col2, col1 HAVING NOT ( + col1 ) < ( NULL ) | > | 48502 48503 48504 48505 48506 48507 48508 48509 48510 48511 48512 48513 48514 48515 48516 | query I rowsort label-6112 SELECT + ( + 59 ) + ( + NULLIF ( 79, + ( + COUNT ( * ) ) ) ) FROM tab2 GROUP BY col0, col1, col1 ---- 138 138 138 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT col0 + - 78 AS col1 FROM tab0 GROUP BY col0, col0 HAVING NOT NULL > col1 - - col0 ---- skipif postgresql # PostgreSQL requires AS when renaming output columns query I rowsort SELECT + + 74 col2 FROM tab2 AS cor0 GROUP BY col2, col1 HAVING NOT ( + col1 ) < ( NULL ) |
︙ | ︙ | |||
48492 48493 48494 48495 48496 48497 48498 48499 48500 48501 48502 48503 48504 48505 | query I rowsort SELECT + ( - col2 ) AS col1 FROM tab0 AS cor0 GROUP BY col2 HAVING NULL IS NULL ---- -24 -38 -79 query II rowsort SELECT + + col2 col2, 27 FROM tab0 cor0 GROUP BY col2 ---- 24 27 38 27 | > | 48630 48631 48632 48633 48634 48635 48636 48637 48638 48639 48640 48641 48642 48643 48644 | query I rowsort SELECT + ( - col2 ) AS col1 FROM tab0 AS cor0 GROUP BY col2 HAVING NULL IS NULL ---- -24 -38 -79 skipif postgresql # PostgreSQL requires AS when renaming output columns query II rowsort SELECT + + col2 col2, 27 FROM tab0 cor0 GROUP BY col2 ---- 24 27 38 27 |
︙ | ︙ | |||
48727 48728 48729 48730 48731 48732 48733 48734 48735 48736 48737 48738 48739 48740 | SELECT + - NULLIF ( - CAST( NULL AS SIGNED ), + CAST( 46 AS SIGNED ) + - CAST( + col0 AS DECIMAL ) ) FROM tab2 AS cor0 GROUP BY col2 ---- NULL NULL NULL skipif mysql # not compatible query I rowsort label-6154 SELECT + - NULLIF ( - CAST ( NULL AS INTEGER ), + CAST ( 46 AS INTEGER ) + - CAST ( + col0 AS REAL ) ) FROM tab2 AS cor0 GROUP BY col2 ---- NULL NULL NULL | > | 48866 48867 48868 48869 48870 48871 48872 48873 48874 48875 48876 48877 48878 48879 48880 | SELECT + - NULLIF ( - CAST( NULL AS SIGNED ), + CAST( 46 AS SIGNED ) + - CAST( + col0 AS DECIMAL ) ) FROM tab2 AS cor0 GROUP BY col2 ---- NULL NULL NULL skipif mysql # not compatible skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort label-6154 SELECT + - NULLIF ( - CAST ( NULL AS INTEGER ), + CAST ( 46 AS INTEGER ) + - CAST ( + col0 AS REAL ) ) FROM tab2 AS cor0 GROUP BY col2 ---- NULL NULL NULL |
︙ | ︙ | |||
48809 48810 48811 48812 48813 48814 48815 48816 48817 48818 48819 48820 48821 48822 | -24 144 -38 228 -79 474 query I rowsort SELECT - 0 AS col2 FROM tab2 GROUP BY col0 HAVING - col2 - col0 < NULL ---- onlyif mysql # aggregate syntax: query II rowsort label-6161 SELECT ALL 92, COUNT( * ) FROM tab0 GROUP BY col0 HAVING + 14 IS NULL | > | 48949 48950 48951 48952 48953 48954 48955 48956 48957 48958 48959 48960 48961 48962 48963 | -24 144 -38 228 -79 474 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT - 0 AS col2 FROM tab2 GROUP BY col0 HAVING - col2 - col0 < NULL ---- onlyif mysql # aggregate syntax: query II rowsort label-6161 SELECT ALL 92, COUNT( * ) FROM tab0 GROUP BY col0 HAVING + 14 IS NULL |
︙ | ︙ | |||
48871 48872 48873 48874 48875 48876 48877 48878 48879 48880 48881 48882 48883 48884 | onlyif mysql # aggregate syntax: query I rowsort label-6165 SELECT DISTINCT + col0 * - col0 + MIN( + 27 ) AS col2 FROM tab0 AS cor0 WHERE - col0 IS NULL GROUP BY col0 HAVING NOT - col2 <= NULL ---- skipif mysql # not compatible query I rowsort label-6165 SELECT DISTINCT + col0 * - col0 + MIN ( + 27 ) AS col2 FROM tab0 AS cor0 WHERE - col0 IS NULL GROUP BY col0 HAVING NOT - col2 <= NULL ---- query I rowsort SELECT ALL - col1 AS col2 FROM tab0 AS cor0 GROUP BY col1 HAVING NOT + 60 IS NOT NULL ---- | > | 49012 49013 49014 49015 49016 49017 49018 49019 49020 49021 49022 49023 49024 49025 49026 | onlyif mysql # aggregate syntax: query I rowsort label-6165 SELECT DISTINCT + col0 * - col0 + MIN( + 27 ) AS col2 FROM tab0 AS cor0 WHERE - col0 IS NULL GROUP BY col0 HAVING NOT - col2 <= NULL ---- skipif mysql # not compatible skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort label-6165 SELECT DISTINCT + col0 * - col0 + MIN ( + 27 ) AS col2 FROM tab0 AS cor0 WHERE - col0 IS NULL GROUP BY col0 HAVING NOT - col2 <= NULL ---- query I rowsort SELECT ALL - col1 AS col2 FROM tab0 AS cor0 GROUP BY col1 HAVING NOT + 60 IS NOT NULL ---- |
︙ | ︙ | |||
48965 48966 48967 48968 48969 48970 48971 48972 48973 48974 48975 48976 48977 48978 | onlyif mysql # aggregate syntax: query I rowsort label-6176 SELECT ALL + - COUNT( * ) * + col1 AS col2 FROM tab1 AS cor0 GROUP BY col1 HAVING - 19 + col2 > NULL ---- skipif mysql # not compatible query I rowsort label-6176 SELECT ALL + - COUNT ( * ) * + col1 AS col2 FROM tab1 AS cor0 GROUP BY col1 HAVING - 19 + col2 > NULL ---- query I rowsort SELECT 40 AS col1 FROM tab0 AS cor0 WHERE NOT + 91 + - 78 - + col1 IS NULL GROUP BY col2 ---- | > | 49107 49108 49109 49110 49111 49112 49113 49114 49115 49116 49117 49118 49119 49120 49121 | onlyif mysql # aggregate syntax: query I rowsort label-6176 SELECT ALL + - COUNT( * ) * + col1 AS col2 FROM tab1 AS cor0 GROUP BY col1 HAVING - 19 + col2 > NULL ---- skipif mysql # not compatible skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort label-6176 SELECT ALL + - COUNT ( * ) * + col1 AS col2 FROM tab1 AS cor0 GROUP BY col1 HAVING - 19 + col2 > NULL ---- query I rowsort SELECT 40 AS col1 FROM tab0 AS cor0 WHERE NOT + 91 + - 78 - + col1 IS NULL GROUP BY col2 ---- |
︙ | ︙ | |||
49104 49105 49106 49107 49108 49109 49110 49111 49112 49113 49114 49115 49116 49117 | 49 query I rowsort SELECT ALL + col0 * 4 FROM tab1 WHERE NOT col0 BETWEEN + 24 AND + + col0 GROUP BY col0, col2 ---- 88 query I rowsort SELECT ALL + col1 AS col2 FROM tab2 GROUP BY col1 HAVING NOT - col2 < NULL ---- query I rowsort SELECT col0 AS col2 FROM tab2 WHERE NULL > - + col0 - 41 + + 14 GROUP BY col1, col0 HAVING NOT + + col0 IS NOT NULL ---- | > | 49247 49248 49249 49250 49251 49252 49253 49254 49255 49256 49257 49258 49259 49260 49261 | 49 query I rowsort SELECT ALL + col0 * 4 FROM tab1 WHERE NOT col0 BETWEEN + 24 AND + + col0 GROUP BY col0, col2 ---- 88 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT ALL + col1 AS col2 FROM tab2 GROUP BY col1 HAVING NOT - col2 < NULL ---- query I rowsort SELECT col0 AS col2 FROM tab2 WHERE NULL > - + col0 - 41 + + 14 GROUP BY col1, col0 HAVING NOT + + col0 IS NOT NULL ---- |
︙ | ︙ | |||
49150 49151 49152 49153 49154 49155 49156 49157 49158 49159 49160 49161 49162 49163 | onlyif mysql # aggregate syntax: query II rowsort label-6199 SELECT ALL + + col2 * col0 - - 89 col1, - 93 AS col1 FROM tab2 AS cor0 GROUP BY col0, col2 HAVING col0 + - + 4 BETWEEN COUNT( * ) * - + 88 * + + ( col0 ) AND ( NULL ) ---- skipif mysql # not compatible query II rowsort label-6199 SELECT ALL + + col2 * col0 - - 89 col1, - 93 AS col1 FROM tab2 AS cor0 GROUP BY col0, col2 HAVING col0 + - + 4 BETWEEN COUNT ( * ) * - + 88 * + + ( col0 ) AND ( NULL ) ---- onlyif mysql # CAST syntax: SIGNED type: query I rowsort label-6200 SELECT CAST( NULL AS SIGNED ) AS col1 FROM tab0 GROUP BY col2 HAVING NOT NULL IS NULL | > | 49294 49295 49296 49297 49298 49299 49300 49301 49302 49303 49304 49305 49306 49307 49308 | onlyif mysql # aggregate syntax: query II rowsort label-6199 SELECT ALL + + col2 * col0 - - 89 col1, - 93 AS col1 FROM tab2 AS cor0 GROUP BY col0, col2 HAVING col0 + - + 4 BETWEEN COUNT( * ) * - + 88 * + + ( col0 ) AND ( NULL ) ---- skipif mysql # not compatible skipif postgresql # PostgreSQL requires AS when renaming output columns query II rowsort label-6199 SELECT ALL + + col2 * col0 - - 89 col1, - 93 AS col1 FROM tab2 AS cor0 GROUP BY col0, col2 HAVING col0 + - + 4 BETWEEN COUNT ( * ) * - + 88 * + + ( col0 ) AND ( NULL ) ---- onlyif mysql # CAST syntax: SIGNED type: query I rowsort label-6200 SELECT CAST( NULL AS SIGNED ) AS col1 FROM tab0 GROUP BY col2 HAVING NOT NULL IS NULL |
︙ | ︙ | |||
49479 49480 49481 49482 49483 49484 49485 49486 49487 49488 49489 49490 49491 49492 | query I rowsort label-6231 SELECT col1 - - ( col1 ) / col1 col0 FROM tab1 AS cor0 GROUP BY col1 ---- 45 58 7 query II rowsort SELECT + ( 33 ) col0, + col1 FROM tab0 GROUP BY col1 HAVING col1 <> NULL ---- query I rowsort SELECT ALL + col1 * - - col1 FROM tab0 GROUP BY col1 ---- | > | 49624 49625 49626 49627 49628 49629 49630 49631 49632 49633 49634 49635 49636 49637 49638 | query I rowsort label-6231 SELECT col1 - - ( col1 ) / col1 col0 FROM tab1 AS cor0 GROUP BY col1 ---- 45 58 7 skipif postgresql # PostgreSQL requires AS when renaming output columns query II rowsort SELECT + ( 33 ) col0, + col1 FROM tab0 GROUP BY col1 HAVING col1 <> NULL ---- query I rowsort SELECT ALL + col1 * - - col1 FROM tab0 GROUP BY col1 ---- |
︙ | ︙ | |||
49621 49622 49623 49624 49625 49626 49627 49628 49629 49630 49631 49632 49633 49634 | 1 -71 1 -8 1 skipif mysql # not compatible query II rowsort label-6247 SELECT + - MIN ( + col2 ) col0, COUNT ( * ) AS col1 FROM tab1 AS cor0 GROUP BY col2 ---- -45 1 -71 1 | > | 49767 49768 49769 49770 49771 49772 49773 49774 49775 49776 49777 49778 49779 49780 49781 | 1 -71 1 -8 1 skipif mysql # not compatible skipif postgresql # PostgreSQL requires AS when renaming output columns query II rowsort label-6247 SELECT + - MIN ( + col2 ) col0, COUNT ( * ) AS col1 FROM tab1 AS cor0 GROUP BY col2 ---- -45 1 -71 1 |
︙ | ︙ | |||
49689 49690 49691 49692 49693 49694 49695 49696 49697 49698 49699 49700 49701 49702 | query I rowsort SELECT ( + col2 ) * col2 * 30 - + col2 * - 4 + - col2 FROM tab0 GROUP BY col2 ---- 17352 187467 43434 query I rowsort SELECT DISTINCT - COALESCE ( 67, ( + - col0 ) ) FROM tab0 AS cor0 GROUP BY col2 ---- -67 query I rowsort SELECT ALL + col2 * + col2 + + col2 * + 19 AS col2 FROM tab2 AS cor0 GROUP BY col2, col2 | > | 49836 49837 49838 49839 49840 49841 49842 49843 49844 49845 49846 49847 49848 49849 49850 | query I rowsort SELECT ( + col2 ) * col2 * 30 - + col2 * - 4 + - col2 FROM tab0 GROUP BY col2 ---- 17352 187467 43434 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT DISTINCT - COALESCE ( 67, ( + - col0 ) ) FROM tab0 AS cor0 GROUP BY col2 ---- -67 query I rowsort SELECT ALL + col2 * + col2 + + col2 * + 19 AS col2 FROM tab2 AS cor0 GROUP BY col2, col2 |
︙ | ︙ | |||
50336 50337 50338 50339 50340 50341 50342 50343 50344 50345 50346 50347 50348 50349 | ---- 1 50 2 50 skipif mysql # not compatible query II rowsort label-6325 SELECT COUNT ( * ) col2, + 50 AS col2 FROM tab0 cor0 GROUP BY col1, col1 ---- 1 50 2 50 | > | 50484 50485 50486 50487 50488 50489 50490 50491 50492 50493 50494 50495 50496 50497 50498 | ---- 1 50 2 50 skipif mysql # not compatible skipif postgresql # PostgreSQL requires AS when renaming output columns query II rowsort label-6325 SELECT COUNT ( * ) col2, + 50 AS col2 FROM tab0 cor0 GROUP BY col1, col1 ---- 1 50 2 50 |
︙ | ︙ | |||
50376 50377 50378 50379 50380 50381 50382 50383 50384 50385 50386 50387 50388 50389 | query I rowsort label-6327 SELECT + + COUNT ( * ) * + 88 + + + col1 + - COUNT ( * ) * + col1 + + col1 FROM tab2 AS cor0 GROUP BY col1 HAVING NOT 80 * + - col1 IS NULL ---- 129 147 149 query III rowsort SELECT 93 col2, 28 + col1 * - 85 AS col0, col1 FROM tab2 GROUP BY col1 HAVING NULL IS NOT NULL ---- onlyif mysql # aggregate syntax: query I rowsort label-6329 SELECT DISTINCT + COUNT( * ) * - + col0 FROM tab2 GROUP BY col0, col0 HAVING NULL BETWEEN NULL AND COUNT( * ) * - COUNT( * ) | > | 50525 50526 50527 50528 50529 50530 50531 50532 50533 50534 50535 50536 50537 50538 50539 | query I rowsort label-6327 SELECT + + COUNT ( * ) * + 88 + + + col1 + - COUNT ( * ) * + col1 + + col1 FROM tab2 AS cor0 GROUP BY col1 HAVING NOT 80 * + - col1 IS NULL ---- 129 147 149 skipif postgresql # PostgreSQL requires AS when renaming output columns query III rowsort SELECT 93 col2, 28 + col1 * - 85 AS col0, col1 FROM tab2 GROUP BY col1 HAVING NULL IS NOT NULL ---- onlyif mysql # aggregate syntax: query I rowsort label-6329 SELECT DISTINCT + COUNT( * ) * - + col0 FROM tab2 GROUP BY col0, col0 HAVING NULL BETWEEN NULL AND COUNT( * ) * - COUNT( * ) |
︙ | ︙ | |||
50507 50508 50509 50510 50511 50512 50513 50514 50515 50516 50517 50518 50519 50520 | onlyif mysql # aggregate syntax: query II rowsort label-6341 SELECT - 37 - + col2 * + col2 AS col0, 65 AS col1 FROM tab0 GROUP BY col2 HAVING NULL NOT BETWEEN col1 + + COUNT( * ) AND - 7 ---- skipif mysql # not compatible query II rowsort label-6341 SELECT - 37 - + col2 * + col2 AS col0, 65 AS col1 FROM tab0 GROUP BY col2 HAVING NULL NOT BETWEEN col1 + + COUNT ( * ) AND - 7 ---- query II rowsort SELECT ALL + col2 AS col0, col2 AS col0 FROM tab1 GROUP BY col2 ---- | > | 50657 50658 50659 50660 50661 50662 50663 50664 50665 50666 50667 50668 50669 50670 50671 | onlyif mysql # aggregate syntax: query II rowsort label-6341 SELECT - 37 - + col2 * + col2 AS col0, 65 AS col1 FROM tab0 GROUP BY col2 HAVING NULL NOT BETWEEN col1 + + COUNT( * ) AND - 7 ---- skipif mysql # not compatible skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query II rowsort label-6341 SELECT - 37 - + col2 * + col2 AS col0, 65 AS col1 FROM tab0 GROUP BY col2 HAVING NULL NOT BETWEEN col1 + + COUNT ( * ) AND - 7 ---- query II rowsort SELECT ALL + col2 AS col0, col2 AS col0 FROM tab1 GROUP BY col2 ---- |
︙ | ︙ | |||
50642 50643 50644 50645 50646 50647 50648 50649 50650 50651 50652 50653 50654 50655 | query I rowsort label-6353 SELECT COUNT ( + ( - col0 ) ) / 53 col1 FROM tab0 GROUP BY col0 ---- 0 0 0 query I rowsort SELECT DISTINCT col1 + + 28 AS col2 FROM tab2 GROUP BY col1, col1 HAVING NOT col2 >= NULL ---- onlyif mysql # CAST syntax: aggregate syntax: SIGNED type: DIV for integer division: query I rowsort label-6355 SELECT + MAX( ALL + NULLIF ( + COALESCE ( - CAST( col1 AS SIGNED ), 0 ), col2 ) ) DIV 37 FROM tab2 GROUP BY col1 | > | 50793 50794 50795 50796 50797 50798 50799 50800 50801 50802 50803 50804 50805 50806 50807 | query I rowsort label-6353 SELECT COUNT ( + ( - col0 ) ) / 53 col1 FROM tab0 GROUP BY col0 ---- 0 0 0 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT DISTINCT col1 + + 28 AS col2 FROM tab2 GROUP BY col1, col1 HAVING NOT col2 >= NULL ---- onlyif mysql # CAST syntax: aggregate syntax: SIGNED type: DIV for integer division: query I rowsort label-6355 SELECT + MAX( ALL + NULLIF ( + COALESCE ( - CAST( col1 AS SIGNED ), 0 ), col2 ) ) DIV 37 FROM tab2 GROUP BY col1 |
︙ | ︙ | |||
50677 50678 50679 50680 50681 50682 50683 50684 50685 50686 50687 50688 50689 50690 | 2 query I rowsort SELECT DISTINCT + 97 FROM tab2 GROUP BY col2 HAVING NOT ( + 0 ) IS NULL ---- 97 query I rowsort SELECT ALL + COALESCE ( ( 36 ), col0 + + col1, - col0 + + col0 ) * col0 AS col0 FROM tab1 GROUP BY col0, col2 ---- 1008 2952 792 | > | 50829 50830 50831 50832 50833 50834 50835 50836 50837 50838 50839 50840 50841 50842 50843 | 2 query I rowsort SELECT DISTINCT + 97 FROM tab2 GROUP BY col2 HAVING NOT ( + 0 ) IS NULL ---- 97 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT ALL + COALESCE ( ( 36 ), col0 + + col1, - col0 + + col0 ) * col0 AS col0 FROM tab1 GROUP BY col0, col2 ---- 1008 2952 792 |
︙ | ︙ | |||
50838 50839 50840 50841 50842 50843 50844 50845 50846 50847 50848 50849 50850 50851 50852 50853 50854 50855 50856 50857 50858 50859 50860 50861 | onlyif mysql # aggregate syntax: query I rowsort label-6376 SELECT DISTINCT + ( - col2 ) AS col0 FROM tab2 AS cor0 WHERE NOT ( - 1 * col2 ) <> ( 37 ) GROUP BY col2 HAVING ( col2 ) IN ( COALESCE ( + ( + COALESCE ( - 64, COUNT( * ) + ( col0 ) * 12 ) ), + COUNT( * ), COUNT( * ) / 97 ) ) ---- skipif mysql # not compatible query I rowsort label-6376 SELECT DISTINCT + ( - col2 ) AS col0 FROM tab2 AS cor0 WHERE NOT ( - 1 * col2 ) <> ( 37 ) GROUP BY col2 HAVING ( col2 ) IN ( COALESCE ( + ( + COALESCE ( - 64, COUNT ( * ) + ( col0 ) * 12 ) ), + COUNT ( * ), COUNT ( * ) / 97 ) ) ---- onlyif mysql # CAST syntax: DECIMAL type: query I rowsort label-6377 SELECT + col0 AS col1 FROM tab0 AS cor0 GROUP BY col0 HAVING ( NULL ) NOT BETWEEN CAST( NULL AS DECIMAL ) AND ( - col1 ) ---- skipif mysql # not compatible query I rowsort label-6377 SELECT + col0 AS col1 FROM tab0 AS cor0 GROUP BY col0 HAVING ( NULL ) NOT BETWEEN CAST ( NULL AS REAL ) AND ( - col1 ) ---- onlyif mysql # CAST syntax: aggregate syntax: SIGNED type: query I rowsort label-6378 SELECT + COUNT( * ) FROM tab2 AS cor0 GROUP BY col2 HAVING NOT CAST( NULL AS SIGNED ) NOT IN ( - 58 ) | > > | 50991 50992 50993 50994 50995 50996 50997 50998 50999 51000 51001 51002 51003 51004 51005 51006 51007 51008 51009 51010 51011 51012 51013 51014 51015 51016 | onlyif mysql # aggregate syntax: query I rowsort label-6376 SELECT DISTINCT + ( - col2 ) AS col0 FROM tab2 AS cor0 WHERE NOT ( - 1 * col2 ) <> ( 37 ) GROUP BY col2 HAVING ( col2 ) IN ( COALESCE ( + ( + COALESCE ( - 64, COUNT( * ) + ( col0 ) * 12 ) ), + COUNT( * ), COUNT( * ) / 97 ) ) ---- skipif mysql # not compatible skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort label-6376 SELECT DISTINCT + ( - col2 ) AS col0 FROM tab2 AS cor0 WHERE NOT ( - 1 * col2 ) <> ( 37 ) GROUP BY col2 HAVING ( col2 ) IN ( COALESCE ( + ( + COALESCE ( - 64, COUNT ( * ) + ( col0 ) * 12 ) ), + COUNT ( * ), COUNT ( * ) / 97 ) ) ---- onlyif mysql # CAST syntax: DECIMAL type: query I rowsort label-6377 SELECT + col0 AS col1 FROM tab0 AS cor0 GROUP BY col0 HAVING ( NULL ) NOT BETWEEN CAST( NULL AS DECIMAL ) AND ( - col1 ) ---- skipif mysql # not compatible skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort label-6377 SELECT + col0 AS col1 FROM tab0 AS cor0 GROUP BY col0 HAVING ( NULL ) NOT BETWEEN CAST ( NULL AS REAL ) AND ( - col1 ) ---- onlyif mysql # CAST syntax: aggregate syntax: SIGNED type: query I rowsort label-6378 SELECT + COUNT( * ) FROM tab2 AS cor0 GROUP BY col2 HAVING NOT CAST( NULL AS SIGNED ) NOT IN ( - 58 ) |
︙ | ︙ | |||
51426 51427 51428 51429 51430 51431 51432 51433 51434 51435 51436 51437 51438 51439 | onlyif mysql # aggregate syntax: query I rowsort label-6437 SELECT DISTINCT - COUNT( * ) + - col0 + + col0 AS col2 FROM tab2 AS cor0 GROUP BY col0 HAVING NULL NOT BETWEEN + col2 * + NULLIF ( - - COUNT( * ), + col0 ) AND + CASE - col0 WHEN - col2 THEN + MIN( ALL + col2 ) WHEN COUNT( * ) * col0 THEN NULL END ---- skipif mysql # not compatible query I rowsort label-6437 SELECT DISTINCT - COUNT ( * ) + - col0 + + col0 AS col2 FROM tab2 AS cor0 GROUP BY col0 HAVING NULL NOT BETWEEN + col2 * + NULLIF ( - - COUNT ( * ), + col0 ) AND + CASE - col0 WHEN - col2 THEN + MIN ( ALL + col2 ) WHEN COUNT ( * ) * col0 THEN NULL END ---- onlyif mysql # aggregate syntax: query II rowsort label-6438 SELECT 10 AS col2, col2 FROM tab0 AS cor0 GROUP BY col2, col0 HAVING NOT - 67 * + ( - - COUNT( * ) ) <> + col2 - col0 | > | 51581 51582 51583 51584 51585 51586 51587 51588 51589 51590 51591 51592 51593 51594 51595 | onlyif mysql # aggregate syntax: query I rowsort label-6437 SELECT DISTINCT - COUNT( * ) + - col0 + + col0 AS col2 FROM tab2 AS cor0 GROUP BY col0 HAVING NULL NOT BETWEEN + col2 * + NULLIF ( - - COUNT( * ), + col0 ) AND + CASE - col0 WHEN - col2 THEN + MIN( ALL + col2 ) WHEN COUNT( * ) * col0 THEN NULL END ---- skipif mysql # not compatible skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort label-6437 SELECT DISTINCT - COUNT ( * ) + - col0 + + col0 AS col2 FROM tab2 AS cor0 GROUP BY col0 HAVING NULL NOT BETWEEN + col2 * + NULLIF ( - - COUNT ( * ), + col0 ) AND + CASE - col0 WHEN - col2 THEN + MIN ( ALL + col2 ) WHEN COUNT ( * ) * col0 THEN NULL END ---- onlyif mysql # aggregate syntax: query II rowsort label-6438 SELECT 10 AS col2, col2 FROM tab0 AS cor0 GROUP BY col2, col0 HAVING NOT - 67 * + ( - - COUNT( * ) ) <> + col2 - col0 |
︙ | ︙ | |||
51486 51487 51488 51489 51490 51491 51492 51493 51494 51495 51496 51497 51498 51499 | skipif mysql # not compatible query I rowsort label-6443 SELECT DISTINCT + SUM ( - + 28 ) FROM tab1 GROUP BY col0 HAVING NULL IS NULL ---- -28 query II rowsort SELECT - + 3 col2, ( + col2 ) - + 40 AS col1 FROM tab0 AS cor0 GROUP BY col2 HAVING ( NULL ) IS NOT NULL ---- onlyif mysql # CAST syntax: aggregate syntax: SIGNED type: query I rowsort label-6445 SELECT - - col0 + + 94 + + col0 * col0 * CAST( + CAST( + 84 AS SIGNED ) AS SIGNED ) AS col2 FROM tab0 AS cor0 GROUP BY col0 HAVING ( + COUNT( * ) ) IS NULL | > | 51642 51643 51644 51645 51646 51647 51648 51649 51650 51651 51652 51653 51654 51655 51656 | skipif mysql # not compatible query I rowsort label-6443 SELECT DISTINCT + SUM ( - + 28 ) FROM tab1 GROUP BY col0 HAVING NULL IS NULL ---- -28 skipif postgresql # PostgreSQL requires AS when renaming output columns query II rowsort SELECT - + 3 col2, ( + col2 ) - + 40 AS col1 FROM tab0 AS cor0 GROUP BY col2 HAVING ( NULL ) IS NOT NULL ---- onlyif mysql # CAST syntax: aggregate syntax: SIGNED type: query I rowsort label-6445 SELECT - - col0 + + 94 + + col0 * col0 * CAST( + CAST( + 84 AS SIGNED ) AS SIGNED ) AS col2 FROM tab0 AS cor0 GROUP BY col0 HAVING ( + COUNT( * ) ) IS NULL |
︙ | ︙ | |||
52634 52635 52636 52637 52638 52639 52640 52641 52642 52643 52644 52645 52646 52647 | onlyif mysql # aggregate syntax: query II rowsort label-6560 SELECT DISTINCT - - col2 * + + col2 - - col2 + col2 col0, + 14 AS col2 FROM tab2 AS cor0 GROUP BY col2 HAVING NOT - 18 NOT IN ( - COUNT( * ) ) ---- skipif mysql # not compatible query II rowsort label-6560 SELECT DISTINCT - - col2 * + + col2 - - col2 + col2 col0, + 14 AS col2 FROM tab2 AS cor0 GROUP BY col2 HAVING NOT - 18 NOT IN ( - COUNT ( * ) ) ---- onlyif mysql # aggregate syntax: query I rowsort label-6561 SELECT - - SUM( + 56 ) AS col1 FROM tab2 AS cor0 GROUP BY col2 HAVING + 59 IS NOT NULL | > | 52791 52792 52793 52794 52795 52796 52797 52798 52799 52800 52801 52802 52803 52804 52805 | onlyif mysql # aggregate syntax: query II rowsort label-6560 SELECT DISTINCT - - col2 * + + col2 - - col2 + col2 col0, + 14 AS col2 FROM tab2 AS cor0 GROUP BY col2 HAVING NOT - 18 NOT IN ( - COUNT( * ) ) ---- skipif mysql # not compatible skipif postgresql # PostgreSQL requires AS when renaming output columns query II rowsort label-6560 SELECT DISTINCT - - col2 * + + col2 - - col2 + col2 col0, + 14 AS col2 FROM tab2 AS cor0 GROUP BY col2 HAVING NOT - 18 NOT IN ( - COUNT ( * ) ) ---- onlyif mysql # aggregate syntax: query I rowsort label-6561 SELECT - - SUM( + 56 ) AS col1 FROM tab2 AS cor0 GROUP BY col2 HAVING + 59 IS NOT NULL |
︙ | ︙ | |||
53182 53183 53184 53185 53186 53187 53188 53189 53190 53191 53192 53193 53194 53195 53196 53197 53198 53199 53200 53201 53202 53203 53204 53205 53206 53207 53208 | SELECT + 23 DIV + col1 AS col2 FROM tab2 GROUP BY col1 HAVING NOT NULLIF ( + ( CAST( NULL AS SIGNED ) ), CAST( - COUNT( 12 ) AS DECIMAL ) - col2 ) IS NOT NULL ---- 0 0 0 skipif mysql # not compatible query I rowsort label-6618 SELECT + 23 / + col1 AS col2 FROM tab2 GROUP BY col1 HAVING NOT NULLIF ( + ( CAST ( NULL AS INTEGER ) ), CAST ( - COUNT ( 12 ) AS REAL ) - col2 ) IS NOT NULL ---- 0 0 0 onlyif mysql # aggregate syntax: query I rowsort label-6619 SELECT DISTINCT col1 AS col0 FROM tab0 GROUP BY col1, col1 HAVING NOT ( NULL ) <> ( - COUNT( * ) + col0 ) ---- skipif mysql # not compatible query I rowsort label-6619 SELECT DISTINCT col1 AS col0 FROM tab0 GROUP BY col1, col1 HAVING NOT ( NULL ) <> ( - COUNT ( * ) + col0 ) ---- onlyif mysql # aggregate syntax: query I rowsort label-6620 SELECT ALL + COUNT( * ) - + col1 FROM tab1 AS cor0 GROUP BY col1 HAVING NOT + col1 IS NOT NULL | > > | 53340 53341 53342 53343 53344 53345 53346 53347 53348 53349 53350 53351 53352 53353 53354 53355 53356 53357 53358 53359 53360 53361 53362 53363 53364 53365 53366 53367 53368 | SELECT + 23 DIV + col1 AS col2 FROM tab2 GROUP BY col1 HAVING NOT NULLIF ( + ( CAST( NULL AS SIGNED ) ), CAST( - COUNT( 12 ) AS DECIMAL ) - col2 ) IS NOT NULL ---- 0 0 0 skipif mysql # not compatible skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort label-6618 SELECT + 23 / + col1 AS col2 FROM tab2 GROUP BY col1 HAVING NOT NULLIF ( + ( CAST ( NULL AS INTEGER ) ), CAST ( - COUNT ( 12 ) AS REAL ) - col2 ) IS NOT NULL ---- 0 0 0 onlyif mysql # aggregate syntax: query I rowsort label-6619 SELECT DISTINCT col1 AS col0 FROM tab0 GROUP BY col1, col1 HAVING NOT ( NULL ) <> ( - COUNT( * ) + col0 ) ---- skipif mysql # not compatible skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort label-6619 SELECT DISTINCT col1 AS col0 FROM tab0 GROUP BY col1, col1 HAVING NOT ( NULL ) <> ( - COUNT ( * ) + col0 ) ---- onlyif mysql # aggregate syntax: query I rowsort label-6620 SELECT ALL + COUNT( * ) - + col1 FROM tab1 AS cor0 GROUP BY col1 HAVING NOT + col1 IS NOT NULL |
︙ | ︙ | |||
53443 53444 53445 53446 53447 53448 53449 53450 53451 53452 53453 53454 53455 53456 | query I rowsort SELECT 44 FROM tab2 cor0 GROUP BY col1 ---- 44 44 44 query I rowsort SELECT + col2 AS col1 FROM tab2 WHERE NULL IS NOT NULL GROUP BY col2 HAVING NOT NULL <> - NULLIF ( + 3, + col1 ) ---- query II rowsort SELECT + ( - + ( - ( col0 ) ) ) AS col0, + 33 + - col2 FROM tab0 GROUP BY col2, col0 ---- | > | 53603 53604 53605 53606 53607 53608 53609 53610 53611 53612 53613 53614 53615 53616 53617 | query I rowsort SELECT 44 FROM tab2 cor0 GROUP BY col1 ---- 44 44 44 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT + col2 AS col1 FROM tab2 WHERE NULL IS NOT NULL GROUP BY col2 HAVING NOT NULL <> - NULLIF ( + 3, + col1 ) ---- query II rowsort SELECT + ( - + ( - ( col0 ) ) ) AS col0, + 33 + - col2 FROM tab0 GROUP BY col2, col0 ---- |
︙ | ︙ | |||
53591 53592 53593 53594 53595 53596 53597 53598 53599 53600 53601 53602 53603 53604 | onlyif mysql # CAST syntax: aggregate syntax: SIGNED type: query I rowsort label-6662 SELECT - 97 + AVG ( ( - + col1 ) ) + 33 + CAST( + 89 AS SIGNED ) / - col1 * - + col1 AS col2 FROM tab0 AS cor0 GROUP BY col1, col1 HAVING NOT - COUNT( * ) - ( + 5 ) * + col2 = NULL ---- skipif mysql # not compatible query I rowsort label-6662 SELECT - 97 + AVG ( ( - + col1 ) ) + 33 + CAST ( + 89 AS INTEGER ) / - col1 * - + col1 AS col2 FROM tab0 AS cor0 GROUP BY col1, col1 HAVING NOT - COUNT ( * ) - ( + 5 ) * + col2 = NULL ---- query I rowsort SELECT - + col2 FROM tab0 AS cor0 WHERE ( NULL ) = NULL GROUP BY col2 ---- | > | 53752 53753 53754 53755 53756 53757 53758 53759 53760 53761 53762 53763 53764 53765 53766 | onlyif mysql # CAST syntax: aggregate syntax: SIGNED type: query I rowsort label-6662 SELECT - 97 + AVG ( ( - + col1 ) ) + 33 + CAST( + 89 AS SIGNED ) / - col1 * - + col1 AS col2 FROM tab0 AS cor0 GROUP BY col1, col1 HAVING NOT - COUNT( * ) - ( + 5 ) * + col2 = NULL ---- skipif mysql # not compatible skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort label-6662 SELECT - 97 + AVG ( ( - + col1 ) ) + 33 + CAST ( + 89 AS INTEGER ) / - col1 * - + col1 AS col2 FROM tab0 AS cor0 GROUP BY col1, col1 HAVING NOT - COUNT ( * ) - ( + 5 ) * + col2 = NULL ---- query I rowsort SELECT - + col2 FROM tab0 AS cor0 WHERE ( NULL ) = NULL GROUP BY col2 ---- |
︙ | ︙ | |||
53630 53631 53632 53633 53634 53635 53636 53637 53638 53639 53640 53641 53642 53643 | onlyif mysql # aggregate syntax: query I rowsort label-6668 SELECT DISTINCT MIN( + - col0 ) + + 29 + - + col0 AS col1 FROM tab0 AS cor0 WHERE NOT 57 BETWEEN NULL AND - - col2 GROUP BY col2, col0, col0 HAVING NULL BETWEEN - col1 AND COUNT( * ) ---- skipif mysql # not compatible query I rowsort label-6668 SELECT DISTINCT MIN ( + - col0 ) + + 29 + - + col0 AS col1 FROM tab0 AS cor0 WHERE NOT 57 BETWEEN NULL AND - - col2 GROUP BY col2, col0, col0 HAVING NULL BETWEEN - col1 AND COUNT ( * ) ---- query I rowsort SELECT - col1 + + col1 + - 39 + col1 FROM tab0 GROUP BY col1 ---- | > | 53792 53793 53794 53795 53796 53797 53798 53799 53800 53801 53802 53803 53804 53805 53806 | onlyif mysql # aggregate syntax: query I rowsort label-6668 SELECT DISTINCT MIN( + - col0 ) + + 29 + - + col0 AS col1 FROM tab0 AS cor0 WHERE NOT 57 BETWEEN NULL AND - - col2 GROUP BY col2, col0, col0 HAVING NULL BETWEEN - col1 AND COUNT( * ) ---- skipif mysql # not compatible skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort label-6668 SELECT DISTINCT MIN ( + - col0 ) + + 29 + - + col0 AS col1 FROM tab0 AS cor0 WHERE NOT 57 BETWEEN NULL AND - - col2 GROUP BY col2, col0, col0 HAVING NULL BETWEEN - col1 AND COUNT ( * ) ---- query I rowsort SELECT - col1 + + col1 + - 39 + col1 FROM tab0 GROUP BY col1 ---- |
︙ | ︙ | |||
53990 53991 53992 53993 53994 53995 53996 53997 53998 53999 54000 54001 54002 54003 | onlyif mysql # CAST syntax: SIGNED type: query II rowsort label-6707 SELECT DISTINCT CAST( NULL AS SIGNED ) col2, - 66 / - col1 * - col1 AS col2 FROM tab0 GROUP BY col0, col1 HAVING col1 + + col2 * - col0 NOT IN ( ( + CAST( NULL AS SIGNED ) ) / 44 + - 73 ) ---- skipif mysql # not compatible query II rowsort label-6707 SELECT DISTINCT CAST ( NULL AS INTEGER ) col2, - 66 / - col1 * - col1 AS col2 FROM tab0 GROUP BY col0, col1 HAVING col1 + + col2 * - col0 NOT IN ( ( + CAST ( NULL AS INTEGER ) ) / 44 + - 73 ) ---- onlyif mysql # DIV for integer division: query II rowsort label-6708 SELECT + 80 DIV - - 8, + col1 col1 FROM tab2 GROUP BY col1, col2 | > | 54153 54154 54155 54156 54157 54158 54159 54160 54161 54162 54163 54164 54165 54166 54167 | onlyif mysql # CAST syntax: SIGNED type: query II rowsort label-6707 SELECT DISTINCT CAST( NULL AS SIGNED ) col2, - 66 / - col1 * - col1 AS col2 FROM tab0 GROUP BY col0, col1 HAVING col1 + + col2 * - col0 NOT IN ( ( + CAST( NULL AS SIGNED ) ) / 44 + - 73 ) ---- skipif mysql # not compatible skipif postgresql # PostgreSQL requires AS when renaming output columns query II rowsort label-6707 SELECT DISTINCT CAST ( NULL AS INTEGER ) col2, - 66 / - col1 * - col1 AS col2 FROM tab0 GROUP BY col0, col1 HAVING col1 + + col2 * - col0 NOT IN ( ( + CAST ( NULL AS INTEGER ) ) / 44 + - 73 ) ---- onlyif mysql # DIV for integer division: query II rowsort label-6708 SELECT + 80 DIV - - 8, + col1 col1 FROM tab2 GROUP BY col1, col2 |
︙ | ︙ | |||
54112 54113 54114 54115 54116 54117 54118 54119 54120 54121 54122 54123 54124 54125 | SELECT ALL ( - - CASE + + 50 WHEN + col2 THEN NULL WHEN ( - 84 ) THEN col2 * + col0 ELSE COUNT( * ) * 39 END ) * + + col2 FROM tab0 GROUP BY col2 ---- 1482 3081 936 skipif mysql # not compatible query I rowsort label-6716 SELECT ALL ( - - CASE + + 50 WHEN + col2 THEN NULL WHEN ( - 84 ) THEN col2 * + col0 ELSE COUNT ( * ) * 39 END ) * + + col2 FROM tab0 GROUP BY col2 ---- 1482 3081 936 | > | 54276 54277 54278 54279 54280 54281 54282 54283 54284 54285 54286 54287 54288 54289 54290 | SELECT ALL ( - - CASE + + 50 WHEN + col2 THEN NULL WHEN ( - 84 ) THEN col2 * + col0 ELSE COUNT( * ) * 39 END ) * + + col2 FROM tab0 GROUP BY col2 ---- 1482 3081 936 skipif mysql # not compatible skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort label-6716 SELECT ALL ( - - CASE + + 50 WHEN + col2 THEN NULL WHEN ( - 84 ) THEN col2 * + col0 ELSE COUNT ( * ) * 39 END ) * + + col2 FROM tab0 GROUP BY col2 ---- 1482 3081 936 |
︙ | ︙ | |||
54793 54794 54795 54796 54797 54798 54799 54800 54801 54802 54803 54804 54805 54806 | skipif mysql # not compatible query II rowsort label-6789 SELECT DISTINCT - 54 / 27 AS col0, 74 FROM tab0 GROUP BY col0, col0 ---- -2 74 query I rowsort SELECT + NULLIF ( col0, - - 92 ) AS col2 FROM tab1 GROUP BY col0 HAVING NULL < - col2 ---- query I rowsort SELECT DISTINCT col1 FROM tab1 AS cor0 GROUP BY col1 HAVING ( NULL IS NULL ) ---- | > | 54958 54959 54960 54961 54962 54963 54964 54965 54966 54967 54968 54969 54970 54971 54972 | skipif mysql # not compatible query II rowsort label-6789 SELECT DISTINCT - 54 / 27 AS col0, 74 FROM tab0 GROUP BY col0, col0 ---- -2 74 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT + NULLIF ( col0, - - 92 ) AS col2 FROM tab1 GROUP BY col0 HAVING NULL < - col2 ---- query I rowsort SELECT DISTINCT col1 FROM tab1 AS cor0 GROUP BY col1 HAVING ( NULL IS NULL ) ---- |
︙ | ︙ | |||
54976 54977 54978 54979 54980 54981 54982 54983 54984 54985 54986 54987 54988 54989 | SELECT - COALESCE ( - + 77, + COUNT( + col0 ), + + 2 + - + col1 - col2 + - SUM( DISTINCT - + 97 ) + - - col1 DIV - 77 * - col1 ) FROM tab0 GROUP BY col0, col1 ---- 77 77 77 skipif mysql # not compatible query I rowsort label-6808 SELECT - COALESCE ( - + 77, + COUNT ( + col0 ), + + 2 + - + col1 - col2 + - SUM ( DISTINCT - + 97 ) + - - col1 / - 77 * - col1 ) FROM tab0 GROUP BY col0, col1 ---- 77 77 77 | > | 55142 55143 55144 55145 55146 55147 55148 55149 55150 55151 55152 55153 55154 55155 55156 | SELECT - COALESCE ( - + 77, + COUNT( + col0 ), + + 2 + - + col1 - col2 + - SUM( DISTINCT - + 97 ) + - - col1 DIV - 77 * - col1 ) FROM tab0 GROUP BY col0, col1 ---- 77 77 77 skipif mysql # not compatible skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort label-6808 SELECT - COALESCE ( - + 77, + COUNT ( + col0 ), + + 2 + - + col1 - col2 + - SUM ( DISTINCT - + 97 ) + - - col1 / - 77 * - col1 ) FROM tab0 GROUP BY col0, col1 ---- 77 77 77 |
︙ | ︙ | |||
55439 55440 55441 55442 55443 55444 55445 55446 55447 55448 55449 55450 55451 55452 | NULL 4 NULL 4 NULL skipif mysql # not compatible query II rowsort label-6853 SELECT col0 / - - 20 col1, + COUNT ( * ) + + ( CAST ( NULL AS INTEGER ) ) FROM tab2 AS cor0 GROUP BY col0 ---- 0 NULL 4 NULL | > | 55606 55607 55608 55609 55610 55611 55612 55613 55614 55615 55616 55617 55618 55619 55620 | NULL 4 NULL 4 NULL skipif mysql # not compatible skipif postgresql # PostgreSQL requires AS when renaming output columns query II rowsort label-6853 SELECT col0 / - - 20 col1, + COUNT ( * ) + + ( CAST ( NULL AS INTEGER ) ) FROM tab2 AS cor0 GROUP BY col0 ---- 0 NULL 4 NULL |
︙ | ︙ | |||
56016 56017 56018 56019 56020 56021 56022 56023 56024 56025 56026 56027 56028 56029 | SELECT - ( - 55 ) * - col2 + COALESCE ( 75, - CASE WHEN NOT + col0 IS NOT NULL THEN NULL WHEN NOT NULL NOT IN ( + 10 + ( + CAST( + 47 AS SIGNED ) ) ) THEN - col1 * + col2 END DIV - 62 ) * - col0 FROM tab2 GROUP BY col2, col0 ---- -10090 -11170 -5910 skipif mysql # not compatible query I rowsort label-6913 SELECT - ( - 55 ) * - col2 + COALESCE ( 75, - CASE WHEN NOT + col0 IS NOT NULL THEN NULL WHEN NOT NULL NOT IN ( + 10 + ( + CAST ( + 47 AS INTEGER ) ) ) THEN - col1 * + col2 END / - 62 ) * - col0 FROM tab2 GROUP BY col2, col0 ---- -10090 -11170 -5910 | > | 56184 56185 56186 56187 56188 56189 56190 56191 56192 56193 56194 56195 56196 56197 56198 | SELECT - ( - 55 ) * - col2 + COALESCE ( 75, - CASE WHEN NOT + col0 IS NOT NULL THEN NULL WHEN NOT NULL NOT IN ( + 10 + ( + CAST( + 47 AS SIGNED ) ) ) THEN - col1 * + col2 END DIV - 62 ) * - col0 FROM tab2 GROUP BY col2, col0 ---- -10090 -11170 -5910 skipif mysql # not compatible skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort label-6913 SELECT - ( - 55 ) * - col2 + COALESCE ( 75, - CASE WHEN NOT + col0 IS NOT NULL THEN NULL WHEN NOT NULL NOT IN ( + 10 + ( + CAST ( + 47 AS INTEGER ) ) ) THEN - col1 * + col2 END / - 62 ) * - col0 FROM tab2 GROUP BY col2, col0 ---- -10090 -11170 -5910 |
︙ | ︙ | |||
56244 56245 56246 56247 56248 56249 56250 56251 56252 56253 56254 56255 56256 56257 | SELECT + COALESCE ( 92, col2 + + 40 * MAX( DISTINCT + 95 ) ) DIV col0 FROM tab1 GROUP BY col0 ---- 1 3 4 skipif mysql # not compatible query I rowsort label-6933 SELECT + COALESCE ( 92, col2 + + 40 * MAX ( DISTINCT + 95 ) ) / col0 FROM tab1 GROUP BY col0 ---- 1 3 4 | > | 56413 56414 56415 56416 56417 56418 56419 56420 56421 56422 56423 56424 56425 56426 56427 | SELECT + COALESCE ( 92, col2 + + 40 * MAX( DISTINCT + 95 ) ) DIV col0 FROM tab1 GROUP BY col0 ---- 1 3 4 skipif mysql # not compatible skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort label-6933 SELECT + COALESCE ( 92, col2 + + 40 * MAX ( DISTINCT + 95 ) ) / col0 FROM tab1 GROUP BY col0 ---- 1 3 4 |
︙ | ︙ | |||
56303 56304 56305 56306 56307 56308 56309 56310 56311 56312 56313 56314 56315 56316 | 22 -22 28 -28 82 -82 query II rowsort SELECT - 20 col1, + 28 * + col0 + + col0 FROM tab2 GROUP BY col0, col0 ---- -20 2639 -20 2668 | > | 56473 56474 56475 56476 56477 56478 56479 56480 56481 56482 56483 56484 56485 56486 56487 | 22 -22 28 -28 82 -82 skipif postgresql # PostgreSQL requires AS when renaming output columns query II rowsort SELECT - 20 col1, + 28 * + col0 + + col0 FROM tab2 GROUP BY col0, col0 ---- -20 2639 -20 2668 |
︙ | ︙ | |||
56594 56595 56596 56597 56598 56599 56600 56601 56602 56603 56604 56605 56606 56607 | onlyif mysql # CAST syntax: aggregate syntax: SIGNED type: query I rowsort label-6967 SELECT - COALESCE ( ( 53 ), COUNT( * ), - NULLIF ( - SUM( DISTINCT - CAST( NULL AS SIGNED ) ), CASE - col0 WHEN COUNT( * ) / - ( - col1 ) THEN - col2 - col0 ELSE - COALESCE ( col0, + 78 + + ( col2 ) * ( col0 ) ) * - col2 END ) ) FROM tab2 AS cor0 WHERE NOT - ( + ( col1 ) ) - + - col2 + col2 + - col2 + + - col2 * 74 + - col0 IS NOT NULL GROUP BY col0, col1 ---- skipif mysql # not compatible query I rowsort label-6967 SELECT - COALESCE ( ( 53 ), COUNT ( * ), - NULLIF ( - SUM ( DISTINCT - CAST ( NULL AS INTEGER ) ), CASE - col0 WHEN COUNT ( * ) / - ( - col1 ) THEN - col2 - col0 ELSE - COALESCE ( col0, + 78 + + ( col2 ) * ( col0 ) ) * - col2 END ) ) FROM tab2 AS cor0 WHERE NOT - ( + ( col1 ) ) - + - col2 + col2 + - col2 + + - col2 * 74 + - col0 IS NOT NULL GROUP BY col0, col1 ---- query I rowsort SELECT ALL - col1 AS col1 FROM tab0 GROUP BY col1 HAVING NULL IS NOT NULL ---- | > | 56765 56766 56767 56768 56769 56770 56771 56772 56773 56774 56775 56776 56777 56778 56779 | onlyif mysql # CAST syntax: aggregate syntax: SIGNED type: query I rowsort label-6967 SELECT - COALESCE ( ( 53 ), COUNT( * ), - NULLIF ( - SUM( DISTINCT - CAST( NULL AS SIGNED ) ), CASE - col0 WHEN COUNT( * ) / - ( - col1 ) THEN - col2 - col0 ELSE - COALESCE ( col0, + 78 + + ( col2 ) * ( col0 ) ) * - col2 END ) ) FROM tab2 AS cor0 WHERE NOT - ( + ( col1 ) ) - + - col2 + col2 + - col2 + + - col2 * 74 + - col0 IS NOT NULL GROUP BY col0, col1 ---- skipif mysql # not compatible skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort label-6967 SELECT - COALESCE ( ( 53 ), COUNT ( * ), - NULLIF ( - SUM ( DISTINCT - CAST ( NULL AS INTEGER ) ), CASE - col0 WHEN COUNT ( * ) / - ( - col1 ) THEN - col2 - col0 ELSE - COALESCE ( col0, + 78 + + ( col2 ) * ( col0 ) ) * - col2 END ) ) FROM tab2 AS cor0 WHERE NOT - ( + ( col1 ) ) - + - col2 + col2 + - col2 + + - col2 * 74 + - col0 IS NOT NULL GROUP BY col0, col1 ---- query I rowsort SELECT ALL - col1 AS col1 FROM tab0 GROUP BY col1 HAVING NULL IS NOT NULL ---- |
︙ | ︙ | |||
56654 56655 56656 56657 56658 56659 56660 56661 56662 56663 56664 56665 56666 56667 | onlyif mysql # CAST syntax: SIGNED type: query II rowsort label-6975 SELECT COALESCE ( - - 33, + ( + col2 ) * - + col1 * + + col0 * + - 9 * col1 - - + col1 + col2 * NULLIF ( + col2, - + col1 * CAST( col2 AS SIGNED ) ) ) * - - 6, + 23 + - col1 + - col1 * + col1 AS col2 FROM tab0 AS cor0 GROUP BY col1 HAVING NULL IS NOT NULL ---- skipif mysql # not compatible query II rowsort label-6975 SELECT COALESCE ( - - 33, + ( + col2 ) * - + col1 * + + col0 * + - 9 * col1 - - + col1 + col2 * NULLIF ( + col2, - + col1 * CAST ( col2 AS INTEGER ) ) ) * - - 6, + 23 + - col1 + - col1 * + col1 AS col2 FROM tab0 AS cor0 GROUP BY col1 HAVING NULL IS NOT NULL ---- onlyif mysql # aggregate syntax: DIV for integer division: query II rowsort label-6976 SELECT + ( - + COUNT( * ) ) DIV - 83 * - 76 * - col2 - col2, col2 + - - 10 AS col1 FROM tab0 AS cor0 GROUP BY col2 HAVING NOT ( NULL ) IS NOT NULL | > | 56826 56827 56828 56829 56830 56831 56832 56833 56834 56835 56836 56837 56838 56839 56840 | onlyif mysql # CAST syntax: SIGNED type: query II rowsort label-6975 SELECT COALESCE ( - - 33, + ( + col2 ) * - + col1 * + + col0 * + - 9 * col1 - - + col1 + col2 * NULLIF ( + col2, - + col1 * CAST( col2 AS SIGNED ) ) ) * - - 6, + 23 + - col1 + - col1 * + col1 AS col2 FROM tab0 AS cor0 GROUP BY col1 HAVING NULL IS NOT NULL ---- skipif mysql # not compatible skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query II rowsort label-6975 SELECT COALESCE ( - - 33, + ( + col2 ) * - + col1 * + + col0 * + - 9 * col1 - - + col1 + col2 * NULLIF ( + col2, - + col1 * CAST ( col2 AS INTEGER ) ) ) * - - 6, + 23 + - col1 + - col1 * + col1 AS col2 FROM tab0 AS cor0 GROUP BY col1 HAVING NULL IS NOT NULL ---- onlyif mysql # aggregate syntax: DIV for integer division: query II rowsort label-6976 SELECT + ( - + COUNT( * ) ) DIV - 83 * - 76 * - col2 - col2, col2 + - - 10 AS col1 FROM tab0 AS cor0 GROUP BY col2 HAVING NOT ( NULL ) IS NOT NULL |
︙ | ︙ | |||
57174 57175 57176 57177 57178 57179 57180 57181 57182 57183 57184 57185 57186 57187 | NULL -2337 NULL -246 NULL skipif mysql # not compatible query II rowsort label-7026 SELECT ALL - 41 * col1 col1, 88 + col1 * CAST ( NULL AS REAL ) AS col1 FROM tab1 AS cor0 GROUP BY col1, col0 ---- -1804 NULL -2337 NULL | > | 57347 57348 57349 57350 57351 57352 57353 57354 57355 57356 57357 57358 57359 57360 57361 | NULL -2337 NULL -246 NULL skipif mysql # not compatible skipif postgresql # PostgreSQL requires AS when renaming output columns query II rowsort label-7026 SELECT ALL - 41 * col1 col1, 88 + col1 * CAST ( NULL AS REAL ) AS col1 FROM tab1 AS cor0 GROUP BY col1, col0 ---- -1804 NULL -2337 NULL |
︙ | ︙ | |||
57650 57651 57652 57653 57654 57655 57656 57657 57658 57659 57660 57661 57662 57663 | SELECT CASE - CAST( NULL AS SIGNED ) WHEN - 14 * - col0 + - - 3 + + col1 THEN + + 94 * col2 ELSE NULL END FROM tab0 GROUP BY col1, col0 ---- NULL NULL NULL skipif mysql # not compatible query I rowsort label-7078 SELECT CASE - CAST ( NULL AS INTEGER ) WHEN - 14 * - col0 + - - 3 + + col1 THEN + + 94 * col2 ELSE NULL END FROM tab0 GROUP BY col1, col0 ---- NULL NULL NULL | > | 57824 57825 57826 57827 57828 57829 57830 57831 57832 57833 57834 57835 57836 57837 57838 | SELECT CASE - CAST( NULL AS SIGNED ) WHEN - 14 * - col0 + - - 3 + + col1 THEN + + 94 * col2 ELSE NULL END FROM tab0 GROUP BY col1, col0 ---- NULL NULL NULL skipif mysql # not compatible skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort label-7078 SELECT CASE - CAST ( NULL AS INTEGER ) WHEN - 14 * - col0 + - - 3 + + col1 THEN + + 94 * col2 ELSE NULL END FROM tab0 GROUP BY col1, col0 ---- NULL NULL NULL |
︙ | ︙ | |||
58574 58575 58576 58577 58578 58579 58580 58581 58582 58583 58584 58585 58586 58587 | query I rowsort SELECT DISTINCT col1 * 40 FROM tab0 WHERE NOT NULL IS NOT NULL GROUP BY col1 ---- 0 3240 query I rowsort SELECT COALESCE ( + 96, + - col2 * - 1 ) FROM tab2 GROUP BY col1 ---- 96 96 96 | > | 58749 58750 58751 58752 58753 58754 58755 58756 58757 58758 58759 58760 58761 58762 58763 | query I rowsort SELECT DISTINCT col1 * 40 FROM tab0 WHERE NOT NULL IS NOT NULL GROUP BY col1 ---- 0 3240 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT COALESCE ( + 96, + - col2 * - 1 ) FROM tab2 GROUP BY col1 ---- 96 96 96 |
︙ | ︙ | |||
58848 58849 58850 58851 58852 58853 58854 58855 58856 58857 58858 58859 58860 58861 | ---- skipif mysql # not compatible query I rowsort label-7203 SELECT DISTINCT - 1 AS col0 FROM tab0 GROUP BY col1, col1 HAVING NOT ( COUNT ( * ) IS NOT NULL ) ---- query I rowsort SELECT col0 AS col2 FROM tab1 GROUP BY col0, col0 HAVING NOT - 81 * - - col2 < NULL ---- onlyif mysql # CAST syntax: aggregate syntax: SIGNED type: query I rowsort label-7205 SELECT ALL COUNT( * ) + + col2 * + 93 + + + col2 * + col2 + CAST( NULL AS SIGNED ) + + MIN( - col2 ) / + col2 AS col1 FROM tab1 GROUP BY col2, col2 | > | 59024 59025 59026 59027 59028 59029 59030 59031 59032 59033 59034 59035 59036 59037 59038 | ---- skipif mysql # not compatible query I rowsort label-7203 SELECT DISTINCT - 1 AS col0 FROM tab0 GROUP BY col1, col1 HAVING NOT ( COUNT ( * ) IS NOT NULL ) ---- skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT col0 AS col2 FROM tab1 GROUP BY col0, col0 HAVING NOT - 81 * - - col2 < NULL ---- onlyif mysql # CAST syntax: aggregate syntax: SIGNED type: query I rowsort label-7205 SELECT ALL COUNT( * ) + + col2 * + 93 + + + col2 * + col2 + CAST( NULL AS SIGNED ) + + MIN( - col2 ) / + col2 AS col1 FROM tab1 GROUP BY col2, col2 |
︙ | ︙ | |||
59015 59016 59017 59018 59019 59020 59021 59022 59023 59024 59025 59026 59027 59028 | onlyif mysql # CAST syntax: aggregate syntax: DECIMAL type: query I rowsort label-7221 SELECT ALL + col0 * + COALESCE ( - - MAX( ALL col1 ), - 55 ) AS col2 FROM tab2 GROUP BY col0 HAVING NOT ( NULL ) IS NULL AND NOT ( NULL ) BETWEEN ( - CAST( 96 AS DECIMAL ) ) AND - 45 * CASE COUNT( - 11 ) / - SUM( + col0 ) WHEN 1 THEN - col0 ELSE NULL END - col2 ---- skipif mysql # not compatible query I rowsort label-7221 SELECT ALL + col0 * + COALESCE ( - - MAX ( ALL col1 ), - 55 ) AS col2 FROM tab2 GROUP BY col0 HAVING NOT ( NULL ) IS NULL AND NOT ( NULL ) BETWEEN ( - CAST ( 96 AS REAL ) ) AND - 45 * CASE COUNT ( - 11 ) / - SUM ( + col0 ) WHEN 1 THEN - col0 ELSE NULL END - col2 ---- onlyif mysql # CAST syntax: SIGNED type: query I rowsort label-7222 SELECT DISTINCT CAST( NULL AS SIGNED ) * CAST( NULL AS SIGNED ) + + 13 - col0 * + col0 - - ( - 64 ) * col2 + 95 AS col1 FROM tab1 WHERE NULL IS NOT NULL GROUP BY col2, col1, col0 HAVING NULL NOT BETWEEN - col1 AND NULL | > | 59192 59193 59194 59195 59196 59197 59198 59199 59200 59201 59202 59203 59204 59205 59206 | onlyif mysql # CAST syntax: aggregate syntax: DECIMAL type: query I rowsort label-7221 SELECT ALL + col0 * + COALESCE ( - - MAX( ALL col1 ), - 55 ) AS col2 FROM tab2 GROUP BY col0 HAVING NOT ( NULL ) IS NULL AND NOT ( NULL ) BETWEEN ( - CAST( 96 AS DECIMAL ) ) AND - 45 * CASE COUNT( - 11 ) / - SUM( + col0 ) WHEN 1 THEN - col0 ELSE NULL END - col2 ---- skipif mysql # not compatible skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort label-7221 SELECT ALL + col0 * + COALESCE ( - - MAX ( ALL col1 ), - 55 ) AS col2 FROM tab2 GROUP BY col0 HAVING NOT ( NULL ) IS NULL AND NOT ( NULL ) BETWEEN ( - CAST ( 96 AS REAL ) ) AND - 45 * CASE COUNT ( - 11 ) / - SUM ( + col0 ) WHEN 1 THEN - col0 ELSE NULL END - col2 ---- onlyif mysql # CAST syntax: SIGNED type: query I rowsort label-7222 SELECT DISTINCT CAST( NULL AS SIGNED ) * CAST( NULL AS SIGNED ) + + 13 - col0 * + col0 - - ( - 64 ) * col2 + 95 AS col1 FROM tab1 WHERE NULL IS NOT NULL GROUP BY col2, col1, col0 HAVING NULL NOT BETWEEN - col1 AND NULL |
︙ | ︙ | |||
59198 59199 59200 59201 59202 59203 59204 59205 59206 59207 59208 59209 59210 59211 | ---- skipif mysql # not compatible query I rowsort label-7237 SELECT col1 FROM tab1 GROUP BY col1 HAVING - - COUNT ( * ) + + col1 + + 13 < + 12 ---- query I rowsort SELECT DISTINCT COALESCE ( - 59, + 39 * + col2 * - 15 ) + + - col0 + + 91 * + - 10 + - col0 AS col1 FROM tab1 AS cor0 GROUP BY col0 ---- -1013 -1025 -1133 | > | 59376 59377 59378 59379 59380 59381 59382 59383 59384 59385 59386 59387 59388 59389 59390 | ---- skipif mysql # not compatible query I rowsort label-7237 SELECT col1 FROM tab1 GROUP BY col1 HAVING - - COUNT ( * ) + + col1 + + 13 < + 12 ---- skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT DISTINCT COALESCE ( - 59, + 39 * + col2 * - 15 ) + + - col0 + + 91 * + - 10 + - col0 AS col1 FROM tab1 AS cor0 GROUP BY col0 ---- -1013 -1025 -1133 |
︙ | ︙ | |||
60049 60050 60051 60052 60053 60054 60055 60056 60057 60058 60059 60060 60061 60062 | skipif mysql # not compatible query I rowsort label-7321 SELECT ALL + + 51 + - + 36 + - COUNT ( * ) - + 32 FROM tab0 AS cor0 GROUP BY col1 ---- -18 -19 query II rowsort SELECT ALL - col1 col1, ( + - col1 ) AS col1 FROM tab0 AS cor0 GROUP BY col1 ---- -81 -81 0 0 | > | 60228 60229 60230 60231 60232 60233 60234 60235 60236 60237 60238 60239 60240 60241 60242 | skipif mysql # not compatible query I rowsort label-7321 SELECT ALL + + 51 + - + 36 + - COUNT ( * ) - + 32 FROM tab0 AS cor0 GROUP BY col1 ---- -18 -19 skipif postgresql # PostgreSQL requires AS when renaming output columns query II rowsort SELECT ALL - col1 col1, ( + - col1 ) AS col1 FROM tab0 AS cor0 GROUP BY col1 ---- -81 -81 0 0 |
︙ | ︙ | |||
60371 60372 60373 60374 60375 60376 60377 60378 60379 60380 60381 60382 60383 60384 | SELECT + COALESCE ( - 31, + - col0 DIV - col1 + + col1, - 64, CAST( NULL AS SIGNED ) ) AS col1 FROM tab1 AS cor0 GROUP BY col2 ---- -31 -31 -31 skipif mysql # not compatible query I rowsort label-7356 SELECT + COALESCE ( - 31, + - col0 / - col1 + + col1, - 64, CAST ( NULL AS INTEGER ) ) AS col1 FROM tab1 AS cor0 GROUP BY col2 ---- -31 -31 -31 | > | 60551 60552 60553 60554 60555 60556 60557 60558 60559 60560 60561 60562 60563 60564 60565 | SELECT + COALESCE ( - 31, + - col0 DIV - col1 + + col1, - 64, CAST( NULL AS SIGNED ) ) AS col1 FROM tab1 AS cor0 GROUP BY col2 ---- -31 -31 -31 skipif mysql # not compatible skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort label-7356 SELECT + COALESCE ( - 31, + - col0 / - col1 + + col1, - 64, CAST ( NULL AS INTEGER ) ) AS col1 FROM tab1 AS cor0 GROUP BY col2 ---- -31 -31 -31 |
︙ | ︙ | |||
61452 61453 61454 61455 61456 61457 61458 61459 61460 61461 61462 61463 61464 61465 | onlyif mysql # CAST syntax: aggregate syntax: SIGNED type: query I rowsort label-7477 SELECT ALL col2 - col2 * COALESCE ( + 54, - col1 * CAST( - - 33 AS SIGNED ) * - col0 * - col2 + - - 55 - - 27 + MAX( - col0 ) + + - CAST( NULL AS SIGNED ) / - + COALESCE ( col1, col0 + - col2, + NULLIF ( col1, + NULLIF ( 19, 46 / 46 ) ) * ( 63 ) ) + col2, + 51 ) + MIN( DISTINCT col2 ) AS col1 FROM tab0 GROUP BY col2, col2 HAVING NOT NULL NOT BETWEEN ( col1 + COUNT( * ) ) AND NULL ---- skipif mysql # not compatible query I rowsort label-7477 SELECT ALL col2 - col2 * COALESCE ( + 54, - col1 * CAST ( - - 33 AS INTEGER ) * - col0 * - col2 + - - 55 - - 27 + MAX ( - col0 ) + + - CAST ( NULL AS INTEGER ) / - + COALESCE ( col1, col0 + - col2, + NULLIF ( col1, + NULLIF ( 19, 46 / 46 ) ) * ( 63 ) ) + col2, + 51 ) + MIN ( DISTINCT col2 ) AS col1 FROM tab0 GROUP BY col2, col2 HAVING NOT NULL NOT BETWEEN ( col1 + COUNT ( * ) ) AND NULL ---- onlyif mysql # aggregate syntax: query I rowsort label-7478 SELECT - col2 + - COUNT( ( 65 ) ) + + col0 + col2 * - + col0 FROM tab2 GROUP BY col0, col2 | > | 61633 61634 61635 61636 61637 61638 61639 61640 61641 61642 61643 61644 61645 61646 61647 | onlyif mysql # CAST syntax: aggregate syntax: SIGNED type: query I rowsort label-7477 SELECT ALL col2 - col2 * COALESCE ( + 54, - col1 * CAST( - - 33 AS SIGNED ) * - col0 * - col2 + - - 55 - - 27 + MAX( - col0 ) + + - CAST( NULL AS SIGNED ) / - + COALESCE ( col1, col0 + - col2, + NULLIF ( col1, + NULLIF ( 19, 46 / 46 ) ) * ( 63 ) ) + col2, + 51 ) + MIN( DISTINCT col2 ) AS col1 FROM tab0 GROUP BY col2, col2 HAVING NOT NULL NOT BETWEEN ( col1 + COUNT( * ) ) AND NULL ---- skipif mysql # not compatible skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort label-7477 SELECT ALL col2 - col2 * COALESCE ( + 54, - col1 * CAST ( - - 33 AS INTEGER ) * - col0 * - col2 + - - 55 - - 27 + MAX ( - col0 ) + + - CAST ( NULL AS INTEGER ) / - + COALESCE ( col1, col0 + - col2, + NULLIF ( col1, + NULLIF ( 19, 46 / 46 ) ) * ( 63 ) ) + col2, + 51 ) + MIN ( DISTINCT col2 ) AS col1 FROM tab0 GROUP BY col2, col2 HAVING NOT NULL NOT BETWEEN ( col1 + COUNT ( * ) ) AND NULL ---- onlyif mysql # aggregate syntax: query I rowsort label-7478 SELECT - col2 + - COUNT( ( 65 ) ) + + col0 + col2 * - + col0 FROM tab2 GROUP BY col0, col2 |
︙ | ︙ | |||
61906 61907 61908 61909 61910 61911 61912 61913 61914 61915 61916 61917 61918 61919 | -1694 -28 -2156 -82 -6314 skipif mysql # not compatible query II rowsort label-7532 SELECT - col0 col2, - col0 * - NULLIF ( - COALESCE ( 77, 7 ), col0 + - CAST ( NULL AS INTEGER ) ) AS col2 FROM tab1 GROUP BY col2, col0 ---- -22 -1694 -28 -2156 | > | 62088 62089 62090 62091 62092 62093 62094 62095 62096 62097 62098 62099 62100 62101 62102 | -1694 -28 -2156 -82 -6314 skipif mysql # not compatible skipif postgresql # PostgreSQL requires AS when renaming output columns query II rowsort label-7532 SELECT - col0 col2, - col0 * - NULLIF ( - COALESCE ( 77, 7 ), col0 + - CAST ( NULL AS INTEGER ) ) AS col2 FROM tab1 GROUP BY col2, col0 ---- -22 -1694 -28 -2156 |
︙ | ︙ | |||
61953 61954 61955 61956 61957 61958 61959 61960 61961 61962 61963 61964 61965 61966 | query I rowsort SELECT - col1 FROM tab1 AS cor0 WHERE + col2 IS NOT NULL GROUP BY col1 ---- -44 -57 -6 query I rowsort SELECT DISTINCT - col1 + + AVG ( + 55 ) AS col2 FROM tab1 GROUP BY col0, col1 HAVING NOT ( col2 * + 67 <> NULL ) ---- query I rowsort SELECT - col2 AS col2 FROM tab0 cor0 GROUP BY col1, col2 ---- | > | 62136 62137 62138 62139 62140 62141 62142 62143 62144 62145 62146 62147 62148 62149 62150 | query I rowsort SELECT - col1 FROM tab1 AS cor0 WHERE + col2 IS NOT NULL GROUP BY col1 ---- -44 -57 -6 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT DISTINCT - col1 + + AVG ( + 55 ) AS col2 FROM tab1 GROUP BY col0, col1 HAVING NOT ( col2 * + 67 <> NULL ) ---- query I rowsort SELECT - col2 AS col2 FROM tab0 cor0 GROUP BY col1, col2 ---- |
︙ | ︙ | |||
62720 62721 62722 62723 62724 62725 62726 62727 62728 62729 62730 62731 62732 62733 | 70 41 70 59 70 61 query II rowsort SELECT ALL + col2 col2, 55 AS col0 FROM tab0 AS cor0 GROUP BY col2 ---- 24 55 38 55 | > | 62904 62905 62906 62907 62908 62909 62910 62911 62912 62913 62914 62915 62916 62917 62918 | 70 41 70 59 70 61 skipif postgresql # PostgreSQL requires AS when renaming output columns query II rowsort SELECT ALL + col2 col2, 55 AS col0 FROM tab0 AS cor0 GROUP BY col2 ---- 24 55 38 55 |
︙ | ︙ | |||
62833 62834 62835 62836 62837 62838 62839 62840 62841 62842 62843 62844 62845 62846 | onlyif mysql # aggregate syntax: query II rowsort label-7626 SELECT col1 col1, + col1 AS col1 FROM tab0 GROUP BY col1 HAVING NOT + COUNT( * ) IS NOT NULL ---- skipif mysql # not compatible query II rowsort label-7626 SELECT col1 col1, + col1 AS col1 FROM tab0 GROUP BY col1 HAVING NOT + COUNT ( * ) IS NOT NULL ---- query II rowsort SELECT col2 AS col2, + col2 AS col0 FROM tab1 AS cor0 GROUP BY col2 ---- | > | 63018 63019 63020 63021 63022 63023 63024 63025 63026 63027 63028 63029 63030 63031 63032 | onlyif mysql # aggregate syntax: query II rowsort label-7626 SELECT col1 col1, + col1 AS col1 FROM tab0 GROUP BY col1 HAVING NOT + COUNT( * ) IS NOT NULL ---- skipif mysql # not compatible skipif postgresql # PostgreSQL requires AS when renaming output columns query II rowsort label-7626 SELECT col1 col1, + col1 AS col1 FROM tab0 GROUP BY col1 HAVING NOT + COUNT ( * ) IS NOT NULL ---- query II rowsort SELECT col2 AS col2, + col2 AS col0 FROM tab1 AS cor0 GROUP BY col2 ---- |
︙ | ︙ | |||
63384 63385 63386 63387 63388 63389 63390 63391 63392 63393 63394 63395 63396 63397 | -71 -8 query I rowsort SELECT 45 * + + col1 + col1 AS col2 FROM tab1 GROUP BY col1 HAVING NULL <= - 98 + - 30 * 48 ---- query II rowsort SELECT - col1 + - + col1 col0, col1 - - col1 * col1 AS col2 FROM tab2 GROUP BY col1 ---- -118 3540 -122 3782 | > | 63570 63571 63572 63573 63574 63575 63576 63577 63578 63579 63580 63581 63582 63583 63584 | -71 -8 query I rowsort SELECT 45 * + + col1 + col1 AS col2 FROM tab1 GROUP BY col1 HAVING NULL <= - 98 + - 30 * 48 ---- skipif postgresql # PostgreSQL requires AS when renaming output columns query II rowsort SELECT - col1 + - + col1 col0, col1 - - col1 * col1 AS col2 FROM tab2 GROUP BY col1 ---- -118 3540 -122 3782 |
︙ | ︙ | |||
63864 63865 63866 63867 63868 63869 63870 63871 63872 63873 63874 63875 63876 63877 | ---- skipif mysql # not compatible query I rowsort label-7736 SELECT DISTINCT ( + - SUM ( DISTINCT - + 34 ) ) * + col0 / - + col1 * + COUNT ( - 53 ) + - COUNT ( ( - col1 ) + col1 ) FROM tab1 AS cor0 WHERE NOT - col2 + + - 16 + + col2 + - col0 >= col0 GROUP BY col0, col1 HAVING NOT + 56 - - SUM ( + col2 ) <= NULL ---- query II rowsort SELECT DISTINCT - col0 col2, - 18 * + + col0 - - 77 AS col1 FROM tab2 AS cor0 GROUP BY col0, col0 HAVING NULL IS NULL ---- -15 -193 -91 -1561 | > | 64051 64052 64053 64054 64055 64056 64057 64058 64059 64060 64061 64062 64063 64064 64065 | ---- skipif mysql # not compatible query I rowsort label-7736 SELECT DISTINCT ( + - SUM ( DISTINCT - + 34 ) ) * + col0 / - + col1 * + COUNT ( - 53 ) + - COUNT ( ( - col1 ) + col1 ) FROM tab1 AS cor0 WHERE NOT - col2 + + - 16 + + col2 + - col0 >= col0 GROUP BY col0, col1 HAVING NOT + 56 - - SUM ( + col2 ) <= NULL ---- skipif postgresql # PostgreSQL requires AS when renaming output columns query II rowsort SELECT DISTINCT - col0 col2, - 18 * + + col0 - - 77 AS col1 FROM tab2 AS cor0 GROUP BY col0, col0 HAVING NULL IS NULL ---- -15 -193 -91 -1561 |
︙ | ︙ | |||
64175 64176 64177 64178 64179 64180 64181 64182 64183 64184 64185 64186 64187 64188 | onlyif mysql # CAST syntax: aggregate syntax: SIGNED type: query I rowsort label-7773 SELECT DISTINCT + 26 / + + COUNT( * ) * - ( - + CAST( NULL AS SIGNED ) ) * + col2 + + CAST( NULL AS SIGNED ) * COALESCE ( + 19, - col2 + + col0 ) + - col2 FROM tab0 GROUP BY col2 ---- NULL skipif mysql # not compatible query I rowsort label-7773 SELECT DISTINCT + 26 / + + COUNT ( * ) * - ( - + CAST ( NULL AS INTEGER ) ) * + col2 + + CAST ( NULL AS INTEGER ) * COALESCE ( + 19, - col2 + + col0 ) + - col2 FROM tab0 GROUP BY col2 ---- NULL onlyif mysql # DIV for integer division: query II rowsort label-7774 | > | 64363 64364 64365 64366 64367 64368 64369 64370 64371 64372 64373 64374 64375 64376 64377 | onlyif mysql # CAST syntax: aggregate syntax: SIGNED type: query I rowsort label-7773 SELECT DISTINCT + 26 / + + COUNT( * ) * - ( - + CAST( NULL AS SIGNED ) ) * + col2 + + CAST( NULL AS SIGNED ) * COALESCE ( + 19, - col2 + + col0 ) + - col2 FROM tab0 GROUP BY col2 ---- NULL skipif mysql # not compatible skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort label-7773 SELECT DISTINCT + 26 / + + COUNT ( * ) * - ( - + CAST ( NULL AS INTEGER ) ) * + col2 + + CAST ( NULL AS INTEGER ) * COALESCE ( + 19, - col2 + + col0 ) + - col2 FROM tab0 GROUP BY col2 ---- NULL onlyif mysql # DIV for integer division: query II rowsort label-7774 |
︙ | ︙ | |||
64478 64479 64480 64481 64482 64483 64484 64485 64486 64487 64488 64489 64490 64491 | -71 -8 query I rowsort SELECT DISTINCT - 18 + col2 FROM tab1 AS cor0 GROUP BY col0, col2 HAVING NOT - 81 BETWEEN NULL AND NULL ---- query II rowsort SELECT + 54 * + col1 * col1 col1, - 5 + + col1 AS col1 FROM tab1 AS cor0 GROUP BY col1 HAVING NOT col1 IS NULL ---- 104544 39 175446 52 | > | 64667 64668 64669 64670 64671 64672 64673 64674 64675 64676 64677 64678 64679 64680 64681 | -71 -8 query I rowsort SELECT DISTINCT - 18 + col2 FROM tab1 AS cor0 GROUP BY col0, col2 HAVING NOT - 81 BETWEEN NULL AND NULL ---- skipif postgresql # PostgreSQL requires AS when renaming output columns query II rowsort SELECT + 54 * + col1 * col1 col1, - 5 + + col1 AS col1 FROM tab1 AS cor0 GROUP BY col1 HAVING NOT col1 IS NULL ---- 104544 39 175446 52 |
︙ | ︙ | |||
64726 64727 64728 64729 64730 64731 64732 64733 64734 64735 64736 64737 64738 64739 64740 64741 64742 64743 64744 64745 64746 64747 64748 64749 64750 64751 64752 | SELECT COALESCE ( - 54, + 91 + ( - - col1 ) * + 25 DIV + col2 * col2 - - + 77 ) FROM tab1 GROUP BY col0 ---- -54 -54 -54 skipif mysql # not compatible query I rowsort label-7829 SELECT COALESCE ( - 54, + 91 + ( - - col1 ) * + 25 / + col2 * col2 - - + 77 ) FROM tab1 GROUP BY col0 ---- -54 -54 -54 onlyif mysql # aggregate syntax: query II rowsort label-7830 SELECT ALL + col1 col1, col1 + - 1 * - + COUNT( * ) * + + MIN( + col1 ) AS col1 FROM tab2 GROUP BY col1 HAVING NOT ( NULL ) > - 86 ---- skipif mysql # not compatible query II rowsort label-7830 SELECT ALL + col1 col1, col1 + - 1 * - + COUNT ( * ) * + + MIN ( + col1 ) AS col1 FROM tab2 GROUP BY col1 HAVING NOT ( NULL ) > - 86 ---- onlyif mysql # aggregate syntax: query I rowsort label-7831 SELECT DISTINCT - + COUNT( * ) AS col0 FROM tab1 AS cor0 GROUP BY col1 | > > | 64916 64917 64918 64919 64920 64921 64922 64923 64924 64925 64926 64927 64928 64929 64930 64931 64932 64933 64934 64935 64936 64937 64938 64939 64940 64941 64942 64943 64944 | SELECT COALESCE ( - 54, + 91 + ( - - col1 ) * + 25 DIV + col2 * col2 - - + 77 ) FROM tab1 GROUP BY col0 ---- -54 -54 -54 skipif mysql # not compatible skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort label-7829 SELECT COALESCE ( - 54, + 91 + ( - - col1 ) * + 25 / + col2 * col2 - - + 77 ) FROM tab1 GROUP BY col0 ---- -54 -54 -54 onlyif mysql # aggregate syntax: query II rowsort label-7830 SELECT ALL + col1 col1, col1 + - 1 * - + COUNT( * ) * + + MIN( + col1 ) AS col1 FROM tab2 GROUP BY col1 HAVING NOT ( NULL ) > - 86 ---- skipif mysql # not compatible skipif postgresql # PostgreSQL requires AS when renaming output columns query II rowsort label-7830 SELECT ALL + col1 col1, col1 + - 1 * - + COUNT ( * ) * + + MIN ( + col1 ) AS col1 FROM tab2 GROUP BY col1 HAVING NOT ( NULL ) > - 86 ---- onlyif mysql # aggregate syntax: query I rowsort label-7831 SELECT DISTINCT - + COUNT( * ) AS col0 FROM tab1 AS cor0 GROUP BY col1 |
︙ | ︙ | |||
64832 64833 64834 64835 64836 64837 64838 64839 64840 64841 64842 64843 64844 64845 | skipif mysql # not compatible query I rowsort label-7839 SELECT DISTINCT + ( + col0 ) * - col0 / - CAST ( - CAST ( NULL AS INTEGER ) AS INTEGER ) + 3 * + - col0 * - col0 AS col0 FROM tab1 GROUP BY col0 ---- NULL query II rowsort SELECT ALL col0 * - - ( ( - + 20 ) ) * + COALESCE ( + 88, + + col2 ) + col0, col0 AS col2 FROM tab1 GROUP BY col0 ---- -144238 82 -38698 22 | > | 65024 65025 65026 65027 65028 65029 65030 65031 65032 65033 65034 65035 65036 65037 65038 | skipif mysql # not compatible query I rowsort label-7839 SELECT DISTINCT + ( + col0 ) * - col0 / - CAST ( - CAST ( NULL AS INTEGER ) AS INTEGER ) + 3 * + - col0 * - col0 AS col0 FROM tab1 GROUP BY col0 ---- NULL skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query II rowsort SELECT ALL col0 * - - ( ( - + 20 ) ) * + COALESCE ( + 88, + + col2 ) + col0, col0 AS col2 FROM tab1 GROUP BY col0 ---- -144238 82 -38698 22 |
︙ | ︙ | |||
66280 66281 66282 66283 66284 66285 66286 66287 66288 66289 66290 66291 66292 66293 | SELECT COALESCE ( - + 20, COUNT( * ) + - CASE + col0 WHEN col2 * + NULLIF ( NULLIF ( COALESCE ( - col1, 62 * - 42 ), 41 * col2 ), + CAST( - col1 AS SIGNED ) * MIN( CAST( NULL AS SIGNED ) + CASE col2 WHEN 81 + col1 THEN + col1 END ) ) * - col0 + COUNT( * ) THEN NULL WHEN + CAST( - ( + CAST( COUNT( * ) AS SIGNED ) ) AS SIGNED ) * - 99 THEN 66 ELSE NULL END + + col1 ) FROM tab0 GROUP BY col2, col1 ---- -20 -20 -20 skipif mysql # not compatible query I rowsort label-7984 SELECT COALESCE ( - + 20, COUNT ( * ) + - CASE + col0 WHEN col2 * + NULLIF ( NULLIF ( COALESCE ( - col1, 62 * - 42 ), 41 * col2 ), + CAST ( - col1 AS INTEGER ) * MIN ( CAST ( NULL AS INTEGER ) + CASE col2 WHEN 81 + col1 THEN + col1 END ) ) * - col0 + COUNT ( * ) THEN NULL WHEN + CAST ( - ( + CAST ( COUNT ( * ) AS INTEGER ) ) AS INTEGER ) * - 99 THEN 66 ELSE NULL END + + col1 ) FROM tab0 GROUP BY col2, col1 ---- -20 -20 -20 | > | 66473 66474 66475 66476 66477 66478 66479 66480 66481 66482 66483 66484 66485 66486 66487 | SELECT COALESCE ( - + 20, COUNT( * ) + - CASE + col0 WHEN col2 * + NULLIF ( NULLIF ( COALESCE ( - col1, 62 * - 42 ), 41 * col2 ), + CAST( - col1 AS SIGNED ) * MIN( CAST( NULL AS SIGNED ) + CASE col2 WHEN 81 + col1 THEN + col1 END ) ) * - col0 + COUNT( * ) THEN NULL WHEN + CAST( - ( + CAST( COUNT( * ) AS SIGNED ) ) AS SIGNED ) * - 99 THEN 66 ELSE NULL END + + col1 ) FROM tab0 GROUP BY col2, col1 ---- -20 -20 -20 skipif mysql # not compatible skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort label-7984 SELECT COALESCE ( - + 20, COUNT ( * ) + - CASE + col0 WHEN col2 * + NULLIF ( NULLIF ( COALESCE ( - col1, 62 * - 42 ), 41 * col2 ), + CAST ( - col1 AS INTEGER ) * MIN ( CAST ( NULL AS INTEGER ) + CASE col2 WHEN 81 + col1 THEN + col1 END ) ) * - col0 + COUNT ( * ) THEN NULL WHEN + CAST ( - ( + CAST ( COUNT ( * ) AS INTEGER ) ) AS INTEGER ) * - 99 THEN 66 ELSE NULL END + + col1 ) FROM tab0 GROUP BY col2, col1 ---- -20 -20 -20 |
︙ | ︙ | |||
66721 66722 66723 66724 66725 66726 66727 66728 66729 66730 66731 66732 66733 66734 | -22 90 -28 90 -82 skipif mysql # not compatible query II rowsort label-8034 SELECT + 90 col1, + ( + MIN ( ALL - + col0 ) ) FROM tab1 cor0 GROUP BY col1, col1, col0 ---- 90 -22 90 -28 | > | 66915 66916 66917 66918 66919 66920 66921 66922 66923 66924 66925 66926 66927 66928 66929 | -22 90 -28 90 -82 skipif mysql # not compatible skipif postgresql # PostgreSQL requires AS when renaming output columns query II rowsort label-8034 SELECT + 90 col1, + ( + MIN ( ALL - + col0 ) ) FROM tab1 cor0 GROUP BY col1, col1, col0 ---- 90 -22 90 -28 |
︙ | ︙ | |||
67418 67419 67420 67421 67422 67423 67424 67425 67426 67427 67428 67429 67430 67431 | onlyif mysql # CAST syntax: aggregate syntax: SIGNED type: query II rowsort label-8106 SELECT DISTINCT - 33 + + col2 * MAX( 25 ), - col1 + + col1 AS col0 FROM tab0 GROUP BY col1, col2 HAVING + col1 - CASE + col0 WHEN - col0 * + 10 THEN CASE + CASE WHEN col1 > col1 * + col2 + 78 * + 17 + - + col2 THEN NULL ELSE + COUNT( * ) END WHEN + - col1 * - col0 THEN - COUNT( DISTINCT + col1 ) * - COALESCE ( - 43, + COUNT( * ), + + col1 ) / - + AVG ( + - col0 ) ELSE + - 74 + col2 / - CAST( NULL AS SIGNED ) END * col2 + + col2 ELSE - 58 * + 40 + col2 END >= ( NULL ) ---- skipif mysql # not compatible query II rowsort label-8106 SELECT DISTINCT - 33 + + col2 * MAX ( 25 ), - col1 + + col1 AS col0 FROM tab0 GROUP BY col1, col2 HAVING + col1 - CASE + col0 WHEN - col0 * + 10 THEN CASE + CASE WHEN col1 > col1 * + col2 + 78 * + 17 + - + col2 THEN NULL ELSE + COUNT ( * ) END WHEN + - col1 * - col0 THEN - COUNT ( DISTINCT + col1 ) * - COALESCE ( - 43, + COUNT ( * ), + + col1 ) / - + AVG ( + - col0 ) ELSE + - 74 + col2 / - CAST ( NULL AS INTEGER ) END * col2 + + col2 ELSE - 58 * + 40 + col2 END >= ( NULL ) ---- onlyif mysql # aggregate syntax: query I rowsort label-8107 SELECT + - COUNT( * ) FROM tab1 AS cor0 GROUP BY col0, col0 HAVING ( NULL ) = NULL | > | 67613 67614 67615 67616 67617 67618 67619 67620 67621 67622 67623 67624 67625 67626 67627 | onlyif mysql # CAST syntax: aggregate syntax: SIGNED type: query II rowsort label-8106 SELECT DISTINCT - 33 + + col2 * MAX( 25 ), - col1 + + col1 AS col0 FROM tab0 GROUP BY col1, col2 HAVING + col1 - CASE + col0 WHEN - col0 * + 10 THEN CASE + CASE WHEN col1 > col1 * + col2 + 78 * + 17 + - + col2 THEN NULL ELSE + COUNT( * ) END WHEN + - col1 * - col0 THEN - COUNT( DISTINCT + col1 ) * - COALESCE ( - 43, + COUNT( * ), + + col1 ) / - + AVG ( + - col0 ) ELSE + - 74 + col2 / - CAST( NULL AS SIGNED ) END * col2 + + col2 ELSE - 58 * + 40 + col2 END >= ( NULL ) ---- skipif mysql # not compatible skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query II rowsort label-8106 SELECT DISTINCT - 33 + + col2 * MAX ( 25 ), - col1 + + col1 AS col0 FROM tab0 GROUP BY col1, col2 HAVING + col1 - CASE + col0 WHEN - col0 * + 10 THEN CASE + CASE WHEN col1 > col1 * + col2 + 78 * + 17 + - + col2 THEN NULL ELSE + COUNT ( * ) END WHEN + - col1 * - col0 THEN - COUNT ( DISTINCT + col1 ) * - COALESCE ( - 43, + COUNT ( * ), + + col1 ) / - + AVG ( + - col0 ) ELSE + - 74 + col2 / - CAST ( NULL AS INTEGER ) END * col2 + + col2 ELSE - 58 * + 40 + col2 END >= ( NULL ) ---- onlyif mysql # aggregate syntax: query I rowsort label-8107 SELECT + - COUNT( * ) FROM tab1 AS cor0 GROUP BY col0, col0 HAVING ( NULL ) = NULL |
︙ | ︙ | |||
67658 67659 67660 67661 67662 67663 67664 67665 67666 67667 67668 67669 67670 67671 | onlyif mysql # aggregate syntax: query I rowsort label-8132 SELECT ALL - MAX( DISTINCT + + col1 ) - + col1 * + - col1 + + col1 * + col1 * - COALESCE ( - 89, - + col1 * - + col2, + - NULLIF ( + COUNT( 65 ), + 21 + + col1 ) * - - col2 + col0 ) FROM tab0 cor0 GROUP BY col1 HAVING NULL IS NOT NULL ---- skipif mysql # not compatible query I rowsort label-8132 SELECT ALL - MAX ( DISTINCT + + col1 ) - + col1 * + - col1 + + col1 * + col1 * - COALESCE ( - 89, - + col1 * - + col2, + - NULLIF ( + COUNT ( 65 ), + 21 + + col1 ) * - - col2 + col0 ) FROM tab0 cor0 GROUP BY col1 HAVING NULL IS NOT NULL ---- query I rowsort SELECT + 22 * - col0 / - col2 AS col0 FROM tab0 GROUP BY col0, col0, col2 HAVING NOT + col0 * col0 * col2 + 78 > NULL ---- | > | 67854 67855 67856 67857 67858 67859 67860 67861 67862 67863 67864 67865 67866 67867 67868 | onlyif mysql # aggregate syntax: query I rowsort label-8132 SELECT ALL - MAX( DISTINCT + + col1 ) - + col1 * + - col1 + + col1 * + col1 * - COALESCE ( - 89, - + col1 * - + col2, + - NULLIF ( + COUNT( 65 ), + 21 + + col1 ) * - - col2 + col0 ) FROM tab0 cor0 GROUP BY col1 HAVING NULL IS NOT NULL ---- skipif mysql # not compatible skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort label-8132 SELECT ALL - MAX ( DISTINCT + + col1 ) - + col1 * + - col1 + + col1 * + col1 * - COALESCE ( - 89, - + col1 * - + col2, + - NULLIF ( + COUNT ( 65 ), + 21 + + col1 ) * - - col2 + col0 ) FROM tab0 cor0 GROUP BY col1 HAVING NULL IS NOT NULL ---- query I rowsort SELECT + 22 * - col0 / - col2 AS col0 FROM tab0 GROUP BY col0, col0, col2 HAVING NOT + col0 * col0 * col2 + 78 > NULL ---- |
︙ | ︙ | |||
68704 68705 68706 68707 68708 68709 68710 68711 68712 68713 68714 68715 68716 68717 | onlyif mysql # CAST syntax: aggregate syntax: SIGNED type: query I rowsort label-8249 SELECT + NULLIF ( - - ( - CAST( NULL AS SIGNED ) ), + col1 + col0 * - 14 * + CAST( + COUNT( * ) AS SIGNED ) ) + + - MIN( + col1 ) + + col1 FROM tab0 GROUP BY col1 HAVING NOT + 0 IS NOT NULL ---- skipif mysql # not compatible query I rowsort label-8249 SELECT + NULLIF ( - - ( - CAST ( NULL AS INTEGER ) ), + col1 + col0 * - 14 * + CAST ( + COUNT ( * ) AS INTEGER ) ) + + - MIN ( + col1 ) + + col1 FROM tab0 GROUP BY col1 HAVING NOT + 0 IS NOT NULL ---- query I rowsort SELECT + - ( - + col1 ) + + + 0 * - col1 * - 16 AS col0 FROM tab1 AS cor0 GROUP BY col1, col1 ---- | > | 68901 68902 68903 68904 68905 68906 68907 68908 68909 68910 68911 68912 68913 68914 68915 | onlyif mysql # CAST syntax: aggregate syntax: SIGNED type: query I rowsort label-8249 SELECT + NULLIF ( - - ( - CAST( NULL AS SIGNED ) ), + col1 + col0 * - 14 * + CAST( + COUNT( * ) AS SIGNED ) ) + + - MIN( + col1 ) + + col1 FROM tab0 GROUP BY col1 HAVING NOT + 0 IS NOT NULL ---- skipif mysql # not compatible skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort label-8249 SELECT + NULLIF ( - - ( - CAST ( NULL AS INTEGER ) ), + col1 + col0 * - 14 * + CAST ( + COUNT ( * ) AS INTEGER ) ) + + - MIN ( + col1 ) + + col1 FROM tab0 GROUP BY col1 HAVING NOT + 0 IS NOT NULL ---- query I rowsort SELECT + - ( - + col1 ) + + + 0 * - col1 * - 16 AS col0 FROM tab1 AS cor0 GROUP BY col1, col1 ---- |
︙ | ︙ | |||
68780 68781 68782 68783 68784 68785 68786 68787 68788 68789 68790 68791 68792 68793 | SELECT + NULLIF ( - ( CAST( NULL AS SIGNED ) ), - + col2 ) + + col1 - ( - col1 ) FROM tab1 AS cor0 GROUP BY col1, col1 ---- NULL NULL NULL skipif mysql # not compatible query I rowsort label-8258 SELECT + NULLIF ( - ( CAST ( NULL AS INTEGER ) ), - + col2 ) + + col1 - ( - col1 ) FROM tab1 AS cor0 GROUP BY col1, col1 ---- NULL NULL NULL | > | 68978 68979 68980 68981 68982 68983 68984 68985 68986 68987 68988 68989 68990 68991 68992 | SELECT + NULLIF ( - ( CAST( NULL AS SIGNED ) ), - + col2 ) + + col1 - ( - col1 ) FROM tab1 AS cor0 GROUP BY col1, col1 ---- NULL NULL NULL skipif mysql # not compatible skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort label-8258 SELECT + NULLIF ( - ( CAST ( NULL AS INTEGER ) ), - + col2 ) + + col1 - ( - col1 ) FROM tab1 AS cor0 GROUP BY col1, col1 ---- NULL NULL NULL |
︙ | ︙ | |||
69324 69325 69326 69327 69328 69329 69330 69331 69332 69333 69334 69335 69336 69337 | onlyif mysql # CAST syntax: aggregate syntax: SIGNED type: DECIMAL type: query I rowsort label-8317 SELECT ALL CASE - col0 WHEN 57 * SUM( - + col0 ) THEN NULL WHEN - - 91 THEN - col1 ELSE NULL END AS col2 FROM tab2 GROUP BY col1, col0 HAVING NOT + 6 * + - col0 + CAST( + COUNT( * ) AS DECIMAL ) * - col2 >= - - CAST( NULL AS SIGNED ) ---- skipif mysql # not compatible query I rowsort label-8317 SELECT ALL CASE - col0 WHEN 57 * SUM ( - + col0 ) THEN NULL WHEN - - 91 THEN - col1 ELSE NULL END AS col2 FROM tab2 GROUP BY col1, col0 HAVING NOT + 6 * + - col0 + CAST ( + COUNT ( * ) AS REAL ) * - col2 >= - - CAST ( NULL AS INTEGER ) ---- query I rowsort SELECT - + col1 FROM tab2 cor0 GROUP BY col0, col1 HAVING NULL >= + - col0 ---- | > | 69523 69524 69525 69526 69527 69528 69529 69530 69531 69532 69533 69534 69535 69536 69537 | onlyif mysql # CAST syntax: aggregate syntax: SIGNED type: DECIMAL type: query I rowsort label-8317 SELECT ALL CASE - col0 WHEN 57 * SUM( - + col0 ) THEN NULL WHEN - - 91 THEN - col1 ELSE NULL END AS col2 FROM tab2 GROUP BY col1, col0 HAVING NOT + 6 * + - col0 + CAST( + COUNT( * ) AS DECIMAL ) * - col2 >= - - CAST( NULL AS SIGNED ) ---- skipif mysql # not compatible skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort label-8317 SELECT ALL CASE - col0 WHEN 57 * SUM ( - + col0 ) THEN NULL WHEN - - 91 THEN - col1 ELSE NULL END AS col2 FROM tab2 GROUP BY col1, col0 HAVING NOT + 6 * + - col0 + CAST ( + COUNT ( * ) AS REAL ) * - col2 >= - - CAST ( NULL AS INTEGER ) ---- query I rowsort SELECT - + col1 FROM tab2 cor0 GROUP BY col0, col1 HAVING NULL >= + - col0 ---- |
︙ | ︙ | |||
69528 69529 69530 69531 69532 69533 69534 69535 69536 69537 69538 69539 69540 69541 | ---- skipif mysql # not compatible query II rowsort label-8338 SELECT + col2 AS col1, 16 * - MAX ( ALL - col2 ) * + + col2 * + - ( - - 16 ) AS col1 FROM tab2 WHERE NOT + CASE - col1 WHEN - ( + 14 ) THEN + 99 END IS NOT NULL GROUP BY col2 HAVING NOT ( NULL ) = - 22 + + col2 ---- query I rowsort SELECT DISTINCT + col2 + - 33 AS col1 FROM tab2 GROUP BY col2 HAVING NOT NULL <> - col1 ---- onlyif mysql # aggregate syntax: query I rowsort label-8340 SELECT MAX( 60 ) * + SUM( - + col1 ) + - col1 + + COUNT( * ) AS col0 FROM tab0 GROUP BY col1 | > | 69728 69729 69730 69731 69732 69733 69734 69735 69736 69737 69738 69739 69740 69741 69742 | ---- skipif mysql # not compatible query II rowsort label-8338 SELECT + col2 AS col1, 16 * - MAX ( ALL - col2 ) * + + col2 * + - ( - - 16 ) AS col1 FROM tab2 WHERE NOT + CASE - col1 WHEN - ( + 14 ) THEN + 99 END IS NOT NULL GROUP BY col2 HAVING NOT ( NULL ) = - 22 + + col2 ---- skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT DISTINCT + col2 + - 33 AS col1 FROM tab2 GROUP BY col2 HAVING NOT NULL <> - col1 ---- onlyif mysql # aggregate syntax: query I rowsort label-8340 SELECT MAX( 60 ) * + SUM( - + col1 ) + - col1 + + COUNT( * ) AS col0 FROM tab0 GROUP BY col1 |
︙ | ︙ | |||
70016 70017 70018 70019 70020 70021 70022 70023 70024 70025 70026 70027 70028 70029 | 13 query I rowsort SELECT DISTINCT - 5 AS col0 FROM tab1 GROUP BY col2, col2 ---- -5 query II rowsort SELECT col0 col0, + 6 FROM tab0 GROUP BY col0 HAVING NOT 84 IS NOT NULL ---- onlyif mysql # CAST syntax: SIGNED type: query I rowsort label-8393 SELECT DISTINCT CAST( - CAST( NULL AS SIGNED ) AS SIGNED ) * + col2 FROM tab2 GROUP BY col2 | > | 70217 70218 70219 70220 70221 70222 70223 70224 70225 70226 70227 70228 70229 70230 70231 | 13 query I rowsort SELECT DISTINCT - 5 AS col0 FROM tab1 GROUP BY col2, col2 ---- -5 skipif postgresql # PostgreSQL requires AS when renaming output columns query II rowsort SELECT col0 col0, + 6 FROM tab0 GROUP BY col0 HAVING NOT 84 IS NOT NULL ---- onlyif mysql # CAST syntax: SIGNED type: query I rowsort label-8393 SELECT DISTINCT CAST( - CAST( NULL AS SIGNED ) AS SIGNED ) * + col2 FROM tab2 GROUP BY col2 |
︙ | ︙ | |||
70133 70134 70135 70136 70137 70138 70139 70140 70141 70142 70143 70144 70145 70146 | 1 -59 1 -61 1 skipif mysql # not compatible query II rowsort label-8404 SELECT ALL - col1 col1, + COUNT ( * ) FROM tab2 AS cor0 GROUP BY col1 ---- -41 1 -59 1 | > | 70335 70336 70337 70338 70339 70340 70341 70342 70343 70344 70345 70346 70347 70348 70349 | 1 -59 1 -61 1 skipif mysql # not compatible skipif postgresql # PostgreSQL requires AS when renaming output columns query II rowsort label-8404 SELECT ALL - col1 col1, + COUNT ( * ) FROM tab2 AS cor0 GROUP BY col1 ---- -41 1 -59 1 |
︙ | ︙ | |||
70361 70362 70363 70364 70365 70366 70367 70368 70369 70370 70371 70372 70373 70374 | onlyif mysql # CAST syntax: aggregate syntax: SIGNED type: query I rowsort label-8428 SELECT + COALESCE ( + - 66, col0 + 1 + - - col1 ) + + CAST( + COUNT( * ) AS SIGNED ) + - 64 + + + 20 * - col1 + - - COUNT( DISTINCT + col1 ) * - col1 / COUNT( * ) * - col1 / 8 FROM tab0 WHERE NOT - - col0 IS NOT NULL GROUP BY col1 HAVING NULL <> NULL ---- skipif mysql # not compatible query I rowsort label-8428 SELECT + COALESCE ( + - 66, col0 + 1 + - - col1 ) + + CAST ( + COUNT ( * ) AS INTEGER ) + - 64 + + + 20 * - col1 + - - COUNT ( DISTINCT + col1 ) * - col1 / COUNT ( * ) * - col1 / 8 FROM tab0 WHERE NOT - - col0 IS NOT NULL GROUP BY col1 HAVING NULL <> NULL ---- query I rowsort SELECT - col2 FROM tab2 WHERE NOT + - 1 IS NULL GROUP BY col2 ---- | > | 70564 70565 70566 70567 70568 70569 70570 70571 70572 70573 70574 70575 70576 70577 70578 | onlyif mysql # CAST syntax: aggregate syntax: SIGNED type: query I rowsort label-8428 SELECT + COALESCE ( + - 66, col0 + 1 + - - col1 ) + + CAST( + COUNT( * ) AS SIGNED ) + - 64 + + + 20 * - col1 + - - COUNT( DISTINCT + col1 ) * - col1 / COUNT( * ) * - col1 / 8 FROM tab0 WHERE NOT - - col0 IS NOT NULL GROUP BY col1 HAVING NULL <> NULL ---- skipif mysql # not compatible skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort label-8428 SELECT + COALESCE ( + - 66, col0 + 1 + - - col1 ) + + CAST ( + COUNT ( * ) AS INTEGER ) + - 64 + + + 20 * - col1 + - - COUNT ( DISTINCT + col1 ) * - col1 / COUNT ( * ) * - col1 / 8 FROM tab0 WHERE NOT - - col0 IS NOT NULL GROUP BY col1 HAVING NULL <> NULL ---- query I rowsort SELECT - col2 FROM tab2 WHERE NOT + - 1 IS NULL GROUP BY col2 ---- |
︙ | ︙ | |||
70672 70673 70674 70675 70676 70677 70678 70679 70680 70681 70682 70683 70684 70685 | SELECT + 87 / col2 / col2 FROM tab0 GROUP BY col2 HAVING NOT ( NULL ) IS NULL ---- query I rowsort SELECT col2 * col2 FROM tab2 AS cor0 GROUP BY col2 HAVING NOT NULL >= + col2 ---- query I rowsort SELECT + 16 AS col2 FROM tab1 AS cor0 GROUP BY col1 HAVING NOT ( + 53 ) BETWEEN + col2 * + col1 AND 22 ---- 16 16 16 | > | 70876 70877 70878 70879 70880 70881 70882 70883 70884 70885 70886 70887 70888 70889 70890 | SELECT + 87 / col2 / col2 FROM tab0 GROUP BY col2 HAVING NOT ( NULL ) IS NULL ---- query I rowsort SELECT col2 * col2 FROM tab2 AS cor0 GROUP BY col2 HAVING NOT NULL >= + col2 ---- skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT + 16 AS col2 FROM tab1 AS cor0 GROUP BY col1 HAVING NOT ( + 53 ) BETWEEN + col2 * + col1 AND 22 ---- 16 16 16 |
︙ | ︙ | |||
70978 70979 70980 70981 70982 70983 70984 70985 70986 70987 70988 70989 70990 70991 | onlyif mysql # aggregate syntax: query I rowsort label-8503 SELECT DISTINCT - + 1 * COALESCE ( - 46, - + COUNT( * ) ) / 79 + col2 - - col2 / AVG ( ALL - + 1 ) AS col1 FROM tab0 AS cor0 GROUP BY col2 HAVING COUNT( * ) * - col1 = NULL ---- skipif mysql # not compatible query I rowsort label-8503 SELECT DISTINCT - + 1 * COALESCE ( - 46, - + COUNT ( * ) ) / 79 + col2 - - col2 / AVG ( ALL - + 1 ) AS col1 FROM tab0 AS cor0 GROUP BY col2 HAVING COUNT ( * ) * - col1 = NULL ---- onlyif mysql # aggregate syntax: query I rowsort label-8504 SELECT ALL - col0 AS col1 FROM tab2 AS cor0 GROUP BY col0 HAVING - COUNT( * ) NOT IN ( - COUNT( * ), 88, COUNT( * ) ) | > | 71183 71184 71185 71186 71187 71188 71189 71190 71191 71192 71193 71194 71195 71196 71197 | onlyif mysql # aggregate syntax: query I rowsort label-8503 SELECT DISTINCT - + 1 * COALESCE ( - 46, - + COUNT( * ) ) / 79 + col2 - - col2 / AVG ( ALL - + 1 ) AS col1 FROM tab0 AS cor0 GROUP BY col2 HAVING COUNT( * ) * - col1 = NULL ---- skipif mysql # not compatible skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort label-8503 SELECT DISTINCT - + 1 * COALESCE ( - 46, - + COUNT ( * ) ) / 79 + col2 - - col2 / AVG ( ALL - + 1 ) AS col1 FROM tab0 AS cor0 GROUP BY col2 HAVING COUNT ( * ) * - col1 = NULL ---- onlyif mysql # aggregate syntax: query I rowsort label-8504 SELECT ALL - col0 AS col1 FROM tab2 AS cor0 GROUP BY col0 HAVING - COUNT( * ) NOT IN ( - COUNT( * ), 88, COUNT( * ) ) |
︙ | ︙ | |||
71164 71165 71166 71167 71168 71169 71170 71171 71172 71173 71174 71175 71176 71177 | SELECT ALL - + CASE + 33 WHEN - - 67 THEN col0 ELSE - CAST( - col1 AS SIGNED ) END * - col2 AS col2 FROM tab1 AS cor0 GROUP BY col2, col1 ---- 2565 3124 48 skipif mysql # not compatible query I rowsort label-8518 SELECT ALL - + CASE + 33 WHEN - - 67 THEN col0 ELSE - CAST ( - col1 AS INTEGER ) END * - col2 AS col2 FROM tab1 AS cor0 GROUP BY col2, col1 ---- 2565 3124 48 | > | 71370 71371 71372 71373 71374 71375 71376 71377 71378 71379 71380 71381 71382 71383 71384 | SELECT ALL - + CASE + 33 WHEN - - 67 THEN col0 ELSE - CAST( - col1 AS SIGNED ) END * - col2 AS col2 FROM tab1 AS cor0 GROUP BY col2, col1 ---- 2565 3124 48 skipif mysql # not compatible skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort label-8518 SELECT ALL - + CASE + 33 WHEN - - 67 THEN col0 ELSE - CAST ( - col1 AS INTEGER ) END * - col2 AS col2 FROM tab1 AS cor0 GROUP BY col2, col1 ---- 2565 3124 48 |
︙ | ︙ | |||
71302 71303 71304 71305 71306 71307 71308 71309 71310 71311 71312 71313 71314 71315 | onlyif mysql # CAST syntax: SIGNED type: query I rowsort label-8529 SELECT + col0 AS col1 FROM tab1 cor0 GROUP BY col0 HAVING NULL <> - - CAST( + + col1 AS SIGNED ) + 42 + - col1 + - 16 ---- skipif mysql # not compatible query I rowsort label-8529 SELECT + col0 AS col1 FROM tab1 cor0 GROUP BY col0 HAVING NULL <> - - CAST ( + + col1 AS INTEGER ) + 42 + - col1 + - 16 ---- query I rowsort SELECT + + col0 AS col0 FROM tab2 AS cor0 GROUP BY col0 HAVING NOT NULL < NULL ---- | > | 71509 71510 71511 71512 71513 71514 71515 71516 71517 71518 71519 71520 71521 71522 71523 | onlyif mysql # CAST syntax: SIGNED type: query I rowsort label-8529 SELECT + col0 AS col1 FROM tab1 cor0 GROUP BY col0 HAVING NULL <> - - CAST( + + col1 AS SIGNED ) + 42 + - col1 + - 16 ---- skipif mysql # not compatible skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort label-8529 SELECT + col0 AS col1 FROM tab1 cor0 GROUP BY col0 HAVING NULL <> - - CAST ( + + col1 AS INTEGER ) + 42 + - col1 + - 16 ---- query I rowsort SELECT + + col0 AS col0 FROM tab2 AS cor0 GROUP BY col0 HAVING NOT NULL < NULL ---- |
︙ | ︙ | |||
71920 71921 71922 71923 71924 71925 71926 71927 71928 71929 71930 71931 71932 71933 | onlyif mysql # aggregate syntax: query II rowsort label-8593 SELECT ALL + col1 col1, - col1 AS col2 FROM tab1 WHERE NOT NULL < NULL GROUP BY col1 HAVING NOT + COUNT( * ) NOT BETWEEN NULL AND NULL ---- skipif mysql # not compatible query II rowsort label-8593 SELECT ALL + col1 col1, - col1 AS col2 FROM tab1 WHERE NOT NULL < NULL GROUP BY col1 HAVING NOT + COUNT ( * ) NOT BETWEEN NULL AND NULL ---- query I rowsort SELECT col2 * + 40 AS col1 FROM tab1 GROUP BY col2 ---- | > | 72128 72129 72130 72131 72132 72133 72134 72135 72136 72137 72138 72139 72140 72141 72142 | onlyif mysql # aggregate syntax: query II rowsort label-8593 SELECT ALL + col1 col1, - col1 AS col2 FROM tab1 WHERE NOT NULL < NULL GROUP BY col1 HAVING NOT + COUNT( * ) NOT BETWEEN NULL AND NULL ---- skipif mysql # not compatible skipif postgresql # PostgreSQL requires AS when renaming output columns query II rowsort label-8593 SELECT ALL + col1 col1, - col1 AS col2 FROM tab1 WHERE NOT NULL < NULL GROUP BY col1 HAVING NOT + COUNT ( * ) NOT BETWEEN NULL AND NULL ---- query I rowsort SELECT col2 * + 40 AS col1 FROM tab1 GROUP BY col2 ---- |
︙ | ︙ | |||
72214 72215 72216 72217 72218 72219 72220 72221 72222 72223 72224 72225 72226 72227 | onlyif mysql # aggregate syntax: query II rowsort label-8622 SELECT DISTINCT col0 + col1 col0, - ( 71 ) + + COUNT( * ) * col0 * + + ( + 33 ) FROM tab2 GROUP BY col1, col0 HAVING ( NULL ) IS NOT NULL ---- skipif mysql # not compatible query II rowsort label-8622 SELECT DISTINCT col0 + col1 col0, - ( 71 ) + + COUNT ( * ) * col0 * + + ( + 33 ) FROM tab2 GROUP BY col1, col0 HAVING ( NULL ) IS NOT NULL ---- onlyif mysql # aggregate syntax: DIV for integer division: query I rowsort label-8623 SELECT + COUNT( * ) DIV + - 99 - COUNT( * ) FROM tab1 AS cor0 GROUP BY col2 | > | 72423 72424 72425 72426 72427 72428 72429 72430 72431 72432 72433 72434 72435 72436 72437 | onlyif mysql # aggregate syntax: query II rowsort label-8622 SELECT DISTINCT col0 + col1 col0, - ( 71 ) + + COUNT( * ) * col0 * + + ( + 33 ) FROM tab2 GROUP BY col1, col0 HAVING ( NULL ) IS NOT NULL ---- skipif mysql # not compatible skipif postgresql # PostgreSQL requires AS when renaming output columns query II rowsort label-8622 SELECT DISTINCT col0 + col1 col0, - ( 71 ) + + COUNT ( * ) * col0 * + + ( + 33 ) FROM tab2 GROUP BY col1, col0 HAVING ( NULL ) IS NOT NULL ---- onlyif mysql # aggregate syntax: DIV for integer division: query I rowsort label-8623 SELECT + COUNT( * ) DIV + - 99 - COUNT( * ) FROM tab1 AS cor0 GROUP BY col2 |
︙ | ︙ | |||
72599 72600 72601 72602 72603 72604 72605 72606 72607 72608 72609 72610 72611 72612 | onlyif mysql # aggregate syntax: query I rowsort label-8660 SELECT DISTINCT - 54 AS col2 FROM tab0 GROUP BY col0 HAVING NULL BETWEEN ( ( - col2 ) ) * - - COUNT( * ) AND - - 79 ---- skipif mysql # not compatible query I rowsort label-8660 SELECT DISTINCT - 54 AS col2 FROM tab0 GROUP BY col0 HAVING NULL BETWEEN ( ( - col2 ) ) * - - COUNT ( * ) AND - - 79 ---- onlyif mysql # DIV for integer division: query I rowsort label-8661 SELECT ALL col0 DIV col0 * - - col0 * col0 AS col0 FROM tab2 GROUP BY col0 | > | 72809 72810 72811 72812 72813 72814 72815 72816 72817 72818 72819 72820 72821 72822 72823 | onlyif mysql # aggregate syntax: query I rowsort label-8660 SELECT DISTINCT - 54 AS col2 FROM tab0 GROUP BY col0 HAVING NULL BETWEEN ( ( - col2 ) ) * - - COUNT( * ) AND - - 79 ---- skipif mysql # not compatible skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort label-8660 SELECT DISTINCT - 54 AS col2 FROM tab0 GROUP BY col0 HAVING NULL BETWEEN ( ( - col2 ) ) * - - COUNT ( * ) AND - - 79 ---- onlyif mysql # DIV for integer division: query I rowsort label-8661 SELECT ALL col0 DIV col0 * - - col0 * col0 AS col0 FROM tab2 GROUP BY col0 |
︙ | ︙ | |||
72757 72758 72759 72760 72761 72762 72763 72764 72765 72766 72767 72768 72769 72770 | query I rowsort SELECT + 69 FROM tab1 GROUP BY col0 ---- 69 69 69 query I rowsort SELECT DISTINCT + COALESCE ( + 60, - + col1, + col2 ) FROM tab1 AS cor0 GROUP BY col2 ---- 60 query I rowsort SELECT + 37 FROM tab2 AS cor0 GROUP BY col1, col1 | > | 72968 72969 72970 72971 72972 72973 72974 72975 72976 72977 72978 72979 72980 72981 72982 | query I rowsort SELECT + 69 FROM tab1 GROUP BY col0 ---- 69 69 69 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT DISTINCT + COALESCE ( + 60, - + col1, + col2 ) FROM tab1 AS cor0 GROUP BY col2 ---- 60 query I rowsort SELECT + 37 FROM tab2 AS cor0 GROUP BY col1, col1 |
︙ | ︙ | |||
77235 77236 77237 77238 77239 77240 77241 77242 77243 77244 77245 77246 77247 77248 | query I rowsort SELECT DISTINCT 39 + + col2 FROM tab1 GROUP BY tab1.col2 ---- 110 47 84 query I rowsort SELECT - COALESCE ( + 26, + cor0.col2 + cor0.col0 ) FROM tab2 AS cor0 GROUP BY cor0.col0 ---- -26 -26 -26 | > | 77447 77448 77449 77450 77451 77452 77453 77454 77455 77456 77457 77458 77459 77460 77461 | query I rowsort SELECT DISTINCT 39 + + col2 FROM tab1 GROUP BY tab1.col2 ---- 110 47 84 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT - COALESCE ( + 26, + cor0.col2 + cor0.col0 ) FROM tab2 AS cor0 GROUP BY cor0.col0 ---- -26 -26 -26 |
︙ | ︙ | |||
78566 78567 78568 78569 78570 78571 78572 78573 78574 78575 78576 78577 78578 78579 | 4 query I rowsort SELECT DISTINCT + 59 FROM tab2 cor0 GROUP BY cor0.col0 ---- 59 query I rowsort SELECT - COALESCE ( + 80, col0 ) * + cor0.col1 FROM tab2 cor0 GROUP BY cor0.col2, cor0.col1 ---- -3280 -4720 -4880 | > | 78779 78780 78781 78782 78783 78784 78785 78786 78787 78788 78789 78790 78791 78792 78793 | 4 query I rowsort SELECT DISTINCT + 59 FROM tab2 cor0 GROUP BY cor0.col0 ---- 59 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT - COALESCE ( + 80, col0 ) * + cor0.col1 FROM tab2 cor0 GROUP BY cor0.col2, cor0.col1 ---- -3280 -4720 -4880 |
︙ | ︙ |
Changes to test/random/groupby/slt_good_13.test.
︙ | ︙ | |||
1172 1173 1174 1175 1176 1177 1178 1179 1180 1181 1182 1183 1184 1185 | query I rowsort SELECT - cor0.col1 + 92 FROM tab2 AS cor0 GROUP BY cor0.col1 ---- 31 33 51 query I rowsort SELECT DISTINCT COALESCE ( + 59, - cor0.col0 * + cor0.col1 ) FROM tab0 AS cor0 GROUP BY cor0.col1 ---- 59 onlyif mysql # DIV for integer division: query I rowsort label-159 | > | 1172 1173 1174 1175 1176 1177 1178 1179 1180 1181 1182 1183 1184 1185 1186 | query I rowsort SELECT - cor0.col1 + 92 FROM tab2 AS cor0 GROUP BY cor0.col1 ---- 31 33 51 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT DISTINCT COALESCE ( + 59, - cor0.col0 * + cor0.col1 ) FROM tab0 AS cor0 GROUP BY cor0.col1 ---- 59 onlyif mysql # DIV for integer division: query I rowsort label-159 |
︙ | ︙ | |||
2648 2649 2650 2651 2652 2653 2654 2655 2656 2657 2658 2659 2660 2661 | query I rowsort SELECT 56 FROM tab2 AS cor0 GROUP BY cor0.col0 ---- 56 56 56 query I rowsort SELECT DISTINCT COALESCE ( - 79, - cor0.col0 ) FROM tab2 cor0 GROUP BY cor0.col1 ---- -79 skipif postgresql # PostgreSQL requires AS when renaming output columns query I rowsort | > | 2649 2650 2651 2652 2653 2654 2655 2656 2657 2658 2659 2660 2661 2662 2663 | query I rowsort SELECT 56 FROM tab2 AS cor0 GROUP BY cor0.col0 ---- 56 56 56 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT DISTINCT COALESCE ( - 79, - cor0.col0 ) FROM tab2 cor0 GROUP BY cor0.col1 ---- -79 skipif postgresql # PostgreSQL requires AS when renaming output columns query I rowsort |
︙ | ︙ | |||
4374 4375 4376 4377 4378 4379 4380 4381 4382 4383 4384 4385 4386 4387 | query I rowsort SELECT + 63 AS col0 FROM tab1 AS cor0 GROUP BY cor0.col1 ---- 63 63 63 query I rowsort SELECT ALL - COALESCE ( 55, cor0.col2 ) AS col0 FROM tab1 AS cor0 GROUP BY cor0.col1 ---- -55 -55 -55 | > | 4376 4377 4378 4379 4380 4381 4382 4383 4384 4385 4386 4387 4388 4389 4390 | query I rowsort SELECT + 63 AS col0 FROM tab1 AS cor0 GROUP BY cor0.col1 ---- 63 63 63 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT ALL - COALESCE ( 55, cor0.col2 ) AS col0 FROM tab1 AS cor0 GROUP BY cor0.col1 ---- -55 -55 -55 |
︙ | ︙ | |||
6232 6233 6234 6235 6236 6237 6238 6239 6240 6241 6242 6243 6244 6245 | query I rowsort SELECT ALL - tab1.col1 + - 90 * - 72 FROM tab1 GROUP BY col1 ---- 6423 6436 6474 query I rowsort SELECT COALESCE ( - 48, cor0.col0 ) AS col1 FROM tab1 AS cor0 GROUP BY cor0.col2 ---- -48 -48 -48 | > | 6235 6236 6237 6238 6239 6240 6241 6242 6243 6244 6245 6246 6247 6248 6249 | query I rowsort SELECT ALL - tab1.col1 + - 90 * - 72 FROM tab1 GROUP BY col1 ---- 6423 6436 6474 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT COALESCE ( - 48, cor0.col0 ) AS col1 FROM tab1 AS cor0 GROUP BY cor0.col2 ---- -48 -48 -48 |
︙ | ︙ | |||
8064 8065 8066 8067 8068 8069 8070 8071 8072 8073 8074 8075 8076 8077 | query I rowsort SELECT ( col2 ) * cor0.col1 FROM tab1 AS cor0 GROUP BY col2, cor0.col1 ---- 2565 3124 48 query I rowsort SELECT - COALESCE ( 27, cor0.col0 + - col2 ) * + 32 FROM tab0 AS cor0 GROUP BY col1 ---- -864 -864 skipif postgresql # PostgreSQL requires AS when renaming output columns | > | 8068 8069 8070 8071 8072 8073 8074 8075 8076 8077 8078 8079 8080 8081 8082 | query I rowsort SELECT ( col2 ) * cor0.col1 FROM tab1 AS cor0 GROUP BY col2, cor0.col1 ---- 2565 3124 48 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT - COALESCE ( 27, cor0.col0 + - col2 ) * + 32 FROM tab0 AS cor0 GROUP BY col1 ---- -864 -864 skipif postgresql # PostgreSQL requires AS when renaming output columns |
︙ | ︙ | |||
8895 8896 8897 8898 8899 8900 8901 8902 8903 8904 8905 8906 8907 8908 | query I rowsort SELECT ALL + 5 FROM tab0 AS cor0 GROUP BY col0 ---- 5 5 5 query I rowsort SELECT COALESCE ( + 97, cor0.col2 ) + + cor0.col1 FROM tab0 AS cor0 GROUP BY cor0.col1 ---- 178 97 query I rowsort | > | 8900 8901 8902 8903 8904 8905 8906 8907 8908 8909 8910 8911 8912 8913 8914 | query I rowsort SELECT ALL + 5 FROM tab0 AS cor0 GROUP BY col0 ---- 5 5 5 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT COALESCE ( + 97, cor0.col2 ) + + cor0.col1 FROM tab0 AS cor0 GROUP BY cor0.col1 ---- 178 97 query I rowsort |
︙ | ︙ | |||
10408 10409 10410 10411 10412 10413 10414 10415 10416 10417 10418 10419 10420 10421 | query I rowsort SELECT 30 FROM tab1 AS cor0 GROUP BY cor0.col1 ---- 30 30 30 query I rowsort SELECT + COALESCE ( + 47, - cor0.col0 ) AS col2 FROM tab0 AS cor0 GROUP BY cor0.col2 ---- 47 47 47 | > | 10414 10415 10416 10417 10418 10419 10420 10421 10422 10423 10424 10425 10426 10427 10428 | query I rowsort SELECT 30 FROM tab1 AS cor0 GROUP BY cor0.col1 ---- 30 30 30 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT + COALESCE ( + 47, - cor0.col0 ) AS col2 FROM tab0 AS cor0 GROUP BY cor0.col2 ---- 47 47 47 |
︙ | ︙ | |||
12159 12160 12161 12162 12163 12164 12165 12166 12167 12168 12169 12170 12171 12172 | 89 query I rowsort SELECT DISTINCT ( 83 ) AS col0 FROM tab2 AS cor0 GROUP BY cor0.col1 ---- 83 query I rowsort SELECT DISTINCT + COALESCE ( 60, tab0.col0 ) FROM tab0 GROUP BY tab0.col1 ---- 60 query I rowsort SELECT + 72 * 16 FROM tab1 AS cor0 GROUP BY cor0.col2 | > | 12166 12167 12168 12169 12170 12171 12172 12173 12174 12175 12176 12177 12178 12179 12180 | 89 query I rowsort SELECT DISTINCT ( 83 ) AS col0 FROM tab2 AS cor0 GROUP BY cor0.col1 ---- 83 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT DISTINCT + COALESCE ( 60, tab0.col0 ) FROM tab0 GROUP BY tab0.col1 ---- 60 query I rowsort SELECT + 72 * 16 FROM tab1 AS cor0 GROUP BY cor0.col2 |
︙ | ︙ | |||
12988 12989 12990 12991 12992 12993 12994 12995 12996 12997 12998 12999 13000 13001 | skipif mysql # not compatible query I rowsort label-1754 SELECT DISTINCT col0 / cor0.col0 AS col1 FROM tab1 AS cor0 GROUP BY cor0.col0 ---- 1 query I rowsort SELECT DISTINCT COALESCE ( + 81, cor0.col0 ) FROM tab2 AS cor0 GROUP BY cor0.col2 ---- 81 query I rowsort SELECT 29 AS col0 FROM tab1 AS cor0 GROUP BY cor0.col0 | > | 12996 12997 12998 12999 13000 13001 13002 13003 13004 13005 13006 13007 13008 13009 13010 | skipif mysql # not compatible query I rowsort label-1754 SELECT DISTINCT col0 / cor0.col0 AS col1 FROM tab1 AS cor0 GROUP BY cor0.col0 ---- 1 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT DISTINCT COALESCE ( + 81, cor0.col0 ) FROM tab2 AS cor0 GROUP BY cor0.col2 ---- 81 query I rowsort SELECT 29 AS col0 FROM tab1 AS cor0 GROUP BY cor0.col0 |
︙ | ︙ | |||
14938 14939 14940 14941 14942 14943 14944 14945 14946 14947 14948 14949 14950 14951 | -5440 query I rowsort SELECT DISTINCT + 35 FROM tab2 cor0 GROUP BY cor0.col1 ---- 35 query I rowsort SELECT + COALESCE ( 6, cor0.col2 ) + - cor0.col0 FROM tab2 AS cor0 GROUP BY cor0.col0 ---- -85 -86 -9 | > | 14947 14948 14949 14950 14951 14952 14953 14954 14955 14956 14957 14958 14959 14960 14961 | -5440 query I rowsort SELECT DISTINCT + 35 FROM tab2 cor0 GROUP BY cor0.col1 ---- 35 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT + COALESCE ( 6, cor0.col2 ) + - cor0.col0 FROM tab2 AS cor0 GROUP BY cor0.col0 ---- -85 -86 -9 |
︙ | ︙ | |||
14975 14976 14977 14978 14979 14980 14981 14982 14983 14984 14985 14986 14987 14988 | query I rowsort SELECT ALL - NULLIF ( - cor0.col0, cor0.col0 * col1 ) FROM tab1 AS cor0 GROUP BY cor0.col0, col1 ---- 22 28 82 query I rowsort SELECT ALL + 15 * COALESCE ( + 58, tab2.col0 ) FROM tab2 GROUP BY tab2.col2 ---- 870 870 870 | > | 14985 14986 14987 14988 14989 14990 14991 14992 14993 14994 14995 14996 14997 14998 14999 | query I rowsort SELECT ALL - NULLIF ( - cor0.col0, cor0.col0 * col1 ) FROM tab1 AS cor0 GROUP BY cor0.col0, col1 ---- 22 28 82 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT ALL + 15 * COALESCE ( + 58, tab2.col0 ) FROM tab2 GROUP BY tab2.col2 ---- 870 870 870 |
︙ | ︙ | |||
15101 15102 15103 15104 15105 15106 15107 15108 15109 15110 15111 15112 15113 15114 | query I rowsort label-2039 SELECT DISTINCT + 8 * - tab1.col2 * tab1.col2 - + 39 / 10 FROM tab1 GROUP BY tab1.col2 ---- -16203 -40331 -515 query I rowsort SELECT ALL COALESCE ( + 5, + tab1.col1 ) AS col1 FROM tab1, tab0 AS cor0 GROUP BY cor0.col2 ---- 5 5 5 | > | 15112 15113 15114 15115 15116 15117 15118 15119 15120 15121 15122 15123 15124 15125 15126 | query I rowsort label-2039 SELECT DISTINCT + 8 * - tab1.col2 * tab1.col2 - + 39 / 10 FROM tab1 GROUP BY tab1.col2 ---- -16203 -40331 -515 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT ALL COALESCE ( + 5, + tab1.col1 ) AS col1 FROM tab1, tab0 AS cor0 GROUP BY cor0.col2 ---- 5 5 5 |
︙ | ︙ | |||
22860 22861 22862 22863 22864 22865 22866 22867 22868 22869 22870 22871 22872 22873 22874 22875 22876 22877 22878 22879 22880 22881 22882 22883 22884 22885 22886 | query I rowsort label-3085 SELECT cor0.col1 * + CAST( + COALESCE ( + 7, cor0.col2 ) AS SIGNED ) AS col2 FROM tab0 AS cor0 GROUP BY cor0.col1 ---- 0 567 skipif mysql # not compatible query I rowsort label-3085 SELECT cor0.col1 * + CAST ( + COALESCE ( + 7, cor0.col2 ) AS INTEGER ) AS col2 FROM tab0 AS cor0 GROUP BY cor0.col1 ---- 0 567 query I rowsort SELECT - cor0.col1 + COALESCE ( 3, col0 ) * + col0 AS col0 FROM tab2 AS cor0 GROUP BY cor0.col1, cor0.col0, col0 ---- -16 214 235 query I rowsort SELECT DISTINCT - COALESCE ( - 6, cor0.col1, + cor0.col0 ) FROM tab0 AS cor0 GROUP BY cor0.col0 ---- 6 query I rowsort SELECT ALL 57 * - COALESCE ( cor0.col0, - cor0.col1, NULLIF ( + cor0.col2, + cor0.col0 ) ) AS col0 FROM tab1 AS cor0 GROUP BY cor0.col1, col0, cor0.col2 | > > | 22872 22873 22874 22875 22876 22877 22878 22879 22880 22881 22882 22883 22884 22885 22886 22887 22888 22889 22890 22891 22892 22893 22894 22895 22896 22897 22898 22899 22900 | query I rowsort label-3085 SELECT cor0.col1 * + CAST( + COALESCE ( + 7, cor0.col2 ) AS SIGNED ) AS col2 FROM tab0 AS cor0 GROUP BY cor0.col1 ---- 0 567 skipif mysql # not compatible skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort label-3085 SELECT cor0.col1 * + CAST ( + COALESCE ( + 7, cor0.col2 ) AS INTEGER ) AS col2 FROM tab0 AS cor0 GROUP BY cor0.col1 ---- 0 567 query I rowsort SELECT - cor0.col1 + COALESCE ( 3, col0 ) * + col0 AS col0 FROM tab2 AS cor0 GROUP BY cor0.col1, cor0.col0, col0 ---- -16 214 235 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT DISTINCT - COALESCE ( - 6, cor0.col1, + cor0.col0 ) FROM tab0 AS cor0 GROUP BY cor0.col0 ---- 6 query I rowsort SELECT ALL 57 * - COALESCE ( cor0.col0, - cor0.col1, NULLIF ( + cor0.col2, + cor0.col0 ) ) AS col0 FROM tab1 AS cor0 GROUP BY cor0.col1, col0, cor0.col2 |
︙ | ︙ | |||
22898 22899 22900 22901 22902 22903 22904 22905 22906 22907 22908 22909 22910 22911 22912 22913 22914 22915 22916 22917 22918 22919 22920 22921 22922 22923 22924 22925 22926 22927 22928 22929 22930 22931 22932 | query I rowsort SELECT DISTINCT 62 * COALESCE ( - 12 * - col2, - cor0.col1, 84 * + cor0.col1 ) FROM tab2 AS cor0 GROUP BY cor0.col1, cor0.col2 ---- 43152 58776 64728 query I rowsort SELECT ALL cor0.col2 * - COALESCE ( - 91, cor0.col1 * cor0.col1, + 73 ) FROM tab1 AS cor0 GROUP BY cor0.col2 ---- 4095 6461 728 query I rowsort SELECT - cor0.col1 * COALESCE ( + 75, cor0.col1, - cor0.col2, col0 ) FROM tab1 AS cor0 GROUP BY cor0.col1 ---- -3300 -4275 -450 query I rowsort SELECT COALESCE ( cor0.col1, cor0.col2 ) AS col1 FROM tab1 AS cor0 GROUP BY cor0.col1, cor0.col2 ---- 44 57 6 query I rowsort SELECT ALL - COALESCE ( 25, cor0.col0 ) + 12 FROM tab0 AS cor0 GROUP BY cor0.col2 ---- -13 -13 -13 | > > > | 22912 22913 22914 22915 22916 22917 22918 22919 22920 22921 22922 22923 22924 22925 22926 22927 22928 22929 22930 22931 22932 22933 22934 22935 22936 22937 22938 22939 22940 22941 22942 22943 22944 22945 22946 22947 22948 22949 | query I rowsort SELECT DISTINCT 62 * COALESCE ( - 12 * - col2, - cor0.col1, 84 * + cor0.col1 ) FROM tab2 AS cor0 GROUP BY cor0.col1, cor0.col2 ---- 43152 58776 64728 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT ALL cor0.col2 * - COALESCE ( - 91, cor0.col1 * cor0.col1, + 73 ) FROM tab1 AS cor0 GROUP BY cor0.col2 ---- 4095 6461 728 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT - cor0.col1 * COALESCE ( + 75, cor0.col1, - cor0.col2, col0 ) FROM tab1 AS cor0 GROUP BY cor0.col1 ---- -3300 -4275 -450 query I rowsort SELECT COALESCE ( cor0.col1, cor0.col2 ) AS col1 FROM tab1 AS cor0 GROUP BY cor0.col1, cor0.col2 ---- 44 57 6 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT ALL - COALESCE ( 25, cor0.col0 ) + 12 FROM tab0 AS cor0 GROUP BY cor0.col2 ---- -13 -13 -13 |
︙ | ︙ | |||
22948 22949 22950 22951 22952 22953 22954 22955 22956 22957 22958 22959 22960 22961 22962 22963 22964 22965 22966 22967 22968 22969 22970 22971 22972 22973 22974 22975 22976 22977 22978 22979 22980 22981 | query I rowsort label-3097 SELECT DISTINCT + 43 * cor0.col1 + cor0.col1 * CAST( COALESCE ( 43, - col2 ) AS SIGNED ) AS col1 FROM tab0 AS cor0 GROUP BY cor0.col1 ---- 0 6966 skipif mysql # not compatible query I rowsort label-3097 SELECT DISTINCT + 43 * cor0.col1 + cor0.col1 * CAST ( COALESCE ( 43, - col2 ) AS INTEGER ) AS col1 FROM tab0 AS cor0 GROUP BY cor0.col1 ---- 0 6966 query I rowsort SELECT ALL COALESCE ( + 73, + cor0.col2 ) FROM tab0 AS cor0 GROUP BY cor0.col2 ---- 73 73 73 query I rowsort SELECT COALESCE ( + 97, cor0.col0, + cor0.col0 ) * cor0.col1 * 54 FROM tab2 AS cor0 GROUP BY col1, cor0.col2 ---- 214758 309042 319518 query I rowsort SELECT DISTINCT - COALESCE ( 41, + cor0.col1 ) FROM tab1 AS cor0 CROSS JOIN tab0 AS cor1 GROUP BY cor1.col0, cor1.col1 ---- -41 query I rowsort SELECT - COALESCE ( cor0.col1, cor0.col1 ) * cor0.col1 AS col0 FROM tab0 AS cor0 GROUP BY cor0.col1 | > > > | 22965 22966 22967 22968 22969 22970 22971 22972 22973 22974 22975 22976 22977 22978 22979 22980 22981 22982 22983 22984 22985 22986 22987 22988 22989 22990 22991 22992 22993 22994 22995 22996 22997 22998 22999 23000 23001 | query I rowsort label-3097 SELECT DISTINCT + 43 * cor0.col1 + cor0.col1 * CAST( COALESCE ( 43, - col2 ) AS SIGNED ) AS col1 FROM tab0 AS cor0 GROUP BY cor0.col1 ---- 0 6966 skipif mysql # not compatible skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort label-3097 SELECT DISTINCT + 43 * cor0.col1 + cor0.col1 * CAST ( COALESCE ( 43, - col2 ) AS INTEGER ) AS col1 FROM tab0 AS cor0 GROUP BY cor0.col1 ---- 0 6966 query I rowsort SELECT ALL COALESCE ( + 73, + cor0.col2 ) FROM tab0 AS cor0 GROUP BY cor0.col2 ---- 73 73 73 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT COALESCE ( + 97, cor0.col0, + cor0.col0 ) * cor0.col1 * 54 FROM tab2 AS cor0 GROUP BY col1, cor0.col2 ---- 214758 309042 319518 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT DISTINCT - COALESCE ( 41, + cor0.col1 ) FROM tab1 AS cor0 CROSS JOIN tab0 AS cor1 GROUP BY cor1.col0, cor1.col1 ---- -41 query I rowsort SELECT - COALESCE ( cor0.col1, cor0.col1 ) * cor0.col1 AS col0 FROM tab0 AS cor0 GROUP BY cor0.col1 |
︙ | ︙ | |||
23000 23001 23002 23003 23004 23005 23006 23007 23008 23009 23010 23011 23012 23013 | onlyif mysql # DIV for integer division: query I rowsort label-3104 SELECT DISTINCT - cor0.col0 * COALESCE ( + 24, - cor0.col0 + + cor0.col2 ) DIV cor0.col0 FROM tab2 AS cor0 GROUP BY cor0.col0, cor0.col0 ---- -24 skipif mysql # not compatible query I rowsort label-3104 SELECT DISTINCT - cor0.col0 * COALESCE ( + 24, - cor0.col0 + + cor0.col2 ) / cor0.col0 FROM tab2 AS cor0 GROUP BY cor0.col0, cor0.col0 ---- -24 query I rowsort SELECT + COALESCE ( + 36, cor0.col1 ) AS col0 FROM tab0 AS cor0 GROUP BY cor0.col1 | > | 23020 23021 23022 23023 23024 23025 23026 23027 23028 23029 23030 23031 23032 23033 23034 | onlyif mysql # DIV for integer division: query I rowsort label-3104 SELECT DISTINCT - cor0.col0 * COALESCE ( + 24, - cor0.col0 + + cor0.col2 ) DIV cor0.col0 FROM tab2 AS cor0 GROUP BY cor0.col0, cor0.col0 ---- -24 skipif mysql # not compatible skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort label-3104 SELECT DISTINCT - cor0.col0 * COALESCE ( + 24, - cor0.col0 + + cor0.col2 ) / cor0.col0 FROM tab2 AS cor0 GROUP BY cor0.col0, cor0.col0 ---- -24 query I rowsort SELECT + COALESCE ( + 36, cor0.col1 ) AS col0 FROM tab0 AS cor0 GROUP BY cor0.col1 |
︙ | ︙ | |||
23033 23034 23035 23036 23037 23038 23039 23040 23041 23042 23043 23044 23045 23046 | query I rowsort SELECT + col1 * + cor0.col2 + COALESCE ( cor0.col1 + cor0.col1, 40, + cor0.col2 ) * + 31 AS col1 FROM tab0 AS cor0 GROUP BY cor0.col1, cor0.col2 ---- 0 0 6966 query I rowsort SELECT DISTINCT + COALESCE ( NULLIF ( + cor0.col0, - cor0.col0 ) * 43, 52, cor0.col1 + cor0.col2 * cor0.col0 ) FROM tab2 AS cor0 GROUP BY cor0.col0 ---- 3913 3956 645 | > | 23054 23055 23056 23057 23058 23059 23060 23061 23062 23063 23064 23065 23066 23067 23068 | query I rowsort SELECT + col1 * + cor0.col2 + COALESCE ( cor0.col1 + cor0.col1, 40, + cor0.col2 ) * + 31 AS col1 FROM tab0 AS cor0 GROUP BY cor0.col1, cor0.col2 ---- 0 0 6966 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT DISTINCT + COALESCE ( NULLIF ( + cor0.col0, - cor0.col0 ) * 43, 52, cor0.col1 + cor0.col2 * cor0.col0 ) FROM tab2 AS cor0 GROUP BY cor0.col0 ---- 3913 3956 645 |
︙ | ︙ | |||
23084 23085 23086 23087 23088 23089 23090 23091 23092 23093 23094 23095 23096 23097 23098 23099 23100 23101 23102 23103 23104 23105 23106 23107 23108 23109 23110 23111 23112 | query I rowsort SELECT ALL COALESCE ( 75, cor0.col0 + cor0.col0 * - 85 ) AS col2 FROM tab2 AS cor0 GROUP BY cor0.col0 ---- 75 75 75 query I rowsort SELECT ALL - COALESCE ( 40, cor0.col0, + cor0.col1, cor0.col0 ) + + col2 FROM tab1 AS cor0 GROUP BY col2, cor0.col1 ---- -32 31 5 onlyif mysql # DIV for integer division: query I rowsort label-3116 SELECT DISTINCT + COALESCE ( 42, cor0.col0 ) DIV + cor0.col2 AS col1 FROM tab0 AS cor0 GROUP BY cor0.col2 ---- 0 1 skipif mysql # not compatible query I rowsort label-3116 SELECT DISTINCT + COALESCE ( 42, cor0.col0 ) / + cor0.col2 AS col1 FROM tab0 AS cor0 GROUP BY cor0.col2 ---- 0 1 query I rowsort | > > | 23106 23107 23108 23109 23110 23111 23112 23113 23114 23115 23116 23117 23118 23119 23120 23121 23122 23123 23124 23125 23126 23127 23128 23129 23130 23131 23132 23133 23134 23135 23136 | query I rowsort SELECT ALL COALESCE ( 75, cor0.col0 + cor0.col0 * - 85 ) AS col2 FROM tab2 AS cor0 GROUP BY cor0.col0 ---- 75 75 75 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT ALL - COALESCE ( 40, cor0.col0, + cor0.col1, cor0.col0 ) + + col2 FROM tab1 AS cor0 GROUP BY col2, cor0.col1 ---- -32 31 5 onlyif mysql # DIV for integer division: query I rowsort label-3116 SELECT DISTINCT + COALESCE ( 42, cor0.col0 ) DIV + cor0.col2 AS col1 FROM tab0 AS cor0 GROUP BY cor0.col2 ---- 0 1 skipif mysql # not compatible skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort label-3116 SELECT DISTINCT + COALESCE ( 42, cor0.col0 ) / + cor0.col2 AS col1 FROM tab0 AS cor0 GROUP BY cor0.col2 ---- 0 1 query I rowsort |
︙ | ︙ | |||
23175 23176 23177 23178 23179 23180 23181 23182 23183 23184 23185 23186 23187 23188 23189 23190 23191 23192 23193 23194 23195 | query I rowsort SELECT ALL col2 * - COALESCE ( 91 * cor0.col1, + cor0.col2, + cor0.col1 * cor0.col1 ) AS col1 FROM tab1 cor0 GROUP BY cor0.col0, col2, cor0.col1 ---- -233415 -284284 -4368 query I rowsort SELECT DISTINCT - COALESCE ( 80, + cor0.col2, + col0 ) - cor0.col0 AS col2 FROM tab2 AS cor0 GROUP BY cor0.col0 ---- -171 -172 -95 query I rowsort SELECT DISTINCT COALESCE ( 16, cor0.col1 ) AS col1 FROM tab1 AS cor0 GROUP BY cor0.col2 ---- 16 query I rowsort SELECT + COALESCE ( 46 + + cor0.col1, NULLIF ( 22, cor0.col1 ), + cor0.col1 ) AS col1 FROM tab1 cor0 GROUP BY cor0.col1, cor0.col1 | > > | 23199 23200 23201 23202 23203 23204 23205 23206 23207 23208 23209 23210 23211 23212 23213 23214 23215 23216 23217 23218 23219 23220 23221 | query I rowsort SELECT ALL col2 * - COALESCE ( 91 * cor0.col1, + cor0.col2, + cor0.col1 * cor0.col1 ) AS col1 FROM tab1 cor0 GROUP BY cor0.col0, col2, cor0.col1 ---- -233415 -284284 -4368 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT DISTINCT - COALESCE ( 80, + cor0.col2, + col0 ) - cor0.col0 AS col2 FROM tab2 AS cor0 GROUP BY cor0.col0 ---- -171 -172 -95 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT DISTINCT COALESCE ( 16, cor0.col1 ) AS col1 FROM tab1 AS cor0 GROUP BY cor0.col2 ---- 16 query I rowsort SELECT + COALESCE ( 46 + + cor0.col1, NULLIF ( 22, cor0.col1 ), + cor0.col1 ) AS col1 FROM tab1 cor0 GROUP BY cor0.col1, cor0.col1 |
︙ | ︙ | |||
23235 23236 23237 23238 23239 23240 23241 23242 23243 23244 23245 23246 23247 23248 23249 23250 23251 23252 23253 23254 23255 23256 23257 23258 23259 23260 23261 23262 23263 23264 23265 23266 23267 23268 23269 23270 23271 23272 23273 23274 23275 23276 23277 23278 23279 23280 23281 23282 | query I rowsort SELECT DISTINCT COALESCE ( cor0.col0, + 5 ) + cor0.col1 FROM tab2 cor0 GROUP BY cor0.col1, cor0.col0 ---- 133 150 76 query I rowsort SELECT ALL + COALESCE ( + 64, + col2 ) + + tab0.col0 FROM tab0 GROUP BY tab0.col0 ---- 107 147 90 query I rowsort SELECT ALL COALESCE ( - cor0.col1 * + cor0.col1, cor0.col1, 4 ) AS col0 FROM tab0 AS cor0 GROUP BY cor0.col1 ---- -6561 0 query I rowsort SELECT + COALESCE ( + 12 + cor0.col1, ( 51 ) * cor0.col1 ) AS col1 FROM tab2 AS cor0 GROUP BY cor0.col1, cor0.col1 ---- 53 71 73 query I rowsort SELECT ALL + COALESCE ( + 12, cor0.col1, cor0.col0, cor0.col0 ) FROM tab0 AS cor0 GROUP BY cor0.col0 ---- 12 12 12 query I rowsort SELECT ALL COALESCE ( 53, cor0.col2 * + ( 19 ) ) AS col1 FROM tab1 AS cor0 GROUP BY cor0.col2 ---- 53 53 53 query I rowsort SELECT DISTINCT COALESCE ( + 99, - tab2.col2 ) AS col2 FROM tab2 GROUP BY col0 ---- 99 onlyif mysql # DIV for integer division: query I rowsort label-3138 | > > > | 23261 23262 23263 23264 23265 23266 23267 23268 23269 23270 23271 23272 23273 23274 23275 23276 23277 23278 23279 23280 23281 23282 23283 23284 23285 23286 23287 23288 23289 23290 23291 23292 23293 23294 23295 23296 23297 23298 23299 23300 23301 23302 23303 23304 23305 23306 23307 23308 23309 23310 23311 | query I rowsort SELECT DISTINCT COALESCE ( cor0.col0, + 5 ) + cor0.col1 FROM tab2 cor0 GROUP BY cor0.col1, cor0.col0 ---- 133 150 76 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT ALL + COALESCE ( + 64, + col2 ) + + tab0.col0 FROM tab0 GROUP BY tab0.col0 ---- 107 147 90 query I rowsort SELECT ALL COALESCE ( - cor0.col1 * + cor0.col1, cor0.col1, 4 ) AS col0 FROM tab0 AS cor0 GROUP BY cor0.col1 ---- -6561 0 query I rowsort SELECT + COALESCE ( + 12 + cor0.col1, ( 51 ) * cor0.col1 ) AS col1 FROM tab2 AS cor0 GROUP BY cor0.col1, cor0.col1 ---- 53 71 73 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT ALL + COALESCE ( + 12, cor0.col1, cor0.col0, cor0.col0 ) FROM tab0 AS cor0 GROUP BY cor0.col0 ---- 12 12 12 query I rowsort SELECT ALL COALESCE ( 53, cor0.col2 * + ( 19 ) ) AS col1 FROM tab1 AS cor0 GROUP BY cor0.col2 ---- 53 53 53 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT DISTINCT COALESCE ( + 99, - tab2.col2 ) AS col2 FROM tab2 GROUP BY col0 ---- 99 onlyif mysql # DIV for integer division: query I rowsort label-3138 |
︙ | ︙ | |||
23299 23300 23301 23302 23303 23304 23305 23306 23307 23308 23309 23310 23311 23312 | SELECT COALESCE ( - 83, + cor0.col1 ) DIV - col0 AS col0 FROM tab0 AS cor0 GROUP BY cor0.col0 ---- 1 1 3 skipif mysql # not compatible query I rowsort label-3139 SELECT COALESCE ( - 83, + cor0.col1 ) / - col0 AS col0 FROM tab0 AS cor0 GROUP BY cor0.col0 ---- 1 1 3 | > | 23328 23329 23330 23331 23332 23333 23334 23335 23336 23337 23338 23339 23340 23341 23342 | SELECT COALESCE ( - 83, + cor0.col1 ) DIV - col0 AS col0 FROM tab0 AS cor0 GROUP BY cor0.col0 ---- 1 1 3 skipif mysql # not compatible skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort label-3139 SELECT COALESCE ( - 83, + cor0.col1 ) / - col0 AS col0 FROM tab0 AS cor0 GROUP BY cor0.col0 ---- 1 1 3 |
︙ | ︙ |
Changes to test/random/groupby/slt_good_2.test.
︙ | ︙ | |||
900 901 902 903 904 905 906 907 908 909 910 911 912 913 | query I rowsort SELECT cor0.col1 + - cor0.col1 * - 2 AS col2 FROM tab2 AS cor0 GROUP BY col1 ---- 123 177 183 query I rowsort SELECT COALESCE ( - 17, cor0.col2 ) FROM tab2 AS cor0 GROUP BY cor0.col0 ---- -17 -17 -17 | > | 900 901 902 903 904 905 906 907 908 909 910 911 912 913 914 | query I rowsort SELECT cor0.col1 + - cor0.col1 * - 2 AS col2 FROM tab2 AS cor0 GROUP BY col1 ---- 123 177 183 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT COALESCE ( - 17, cor0.col2 ) FROM tab2 AS cor0 GROUP BY cor0.col0 ---- -17 -17 -17 |
︙ | ︙ | |||
1431 1432 1433 1434 1435 1436 1437 1438 1439 1440 1441 1442 1443 1444 | query I rowsort SELECT DISTINCT cor0.col2 col2 FROM tab1 AS cor0 CROSS JOIN tab0 AS cor1 GROUP BY cor0.col2 ---- 45 71 8 query I rowsort SELECT NULLIF ( + 7, + cor0.col1 * cor0.col1 + + COALESCE ( 95, cor0.col0 * - ( - cor0.col1 * - cor0.col2 ) + col2, - cor0.col1 + cor0.col0 ) * cor0.col1 ) FROM tab2 AS cor0 GROUP BY col0, cor0.col1 ---- 7 7 7 | > | 1432 1433 1434 1435 1436 1437 1438 1439 1440 1441 1442 1443 1444 1445 1446 | query I rowsort SELECT DISTINCT cor0.col2 col2 FROM tab1 AS cor0 CROSS JOIN tab0 AS cor1 GROUP BY cor0.col2 ---- 45 71 8 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT NULLIF ( + 7, + cor0.col1 * cor0.col1 + + COALESCE ( 95, cor0.col0 * - ( - cor0.col1 * - cor0.col2 ) + col2, - cor0.col1 + cor0.col0 ) * cor0.col1 ) FROM tab2 AS cor0 GROUP BY col0, cor0.col1 ---- 7 7 7 |
︙ | ︙ | |||
2109 2110 2111 2112 2113 2114 2115 2116 2117 2118 2119 2120 2121 2122 | query I rowsort SELECT - 68 FROM tab1 AS cor0 CROSS JOIN tab2 AS cor1 GROUP BY cor1.col2 ---- -68 -68 -68 query I rowsort SELECT DISTINCT COALESCE ( 22, cor0.col1 * + col2 ) FROM tab1 AS cor0 GROUP BY cor0.col2 ---- 22 query I rowsort SELECT ALL 85 FROM tab1 AS cor0 GROUP BY cor0.col0 | > | 2111 2112 2113 2114 2115 2116 2117 2118 2119 2120 2121 2122 2123 2124 2125 | query I rowsort SELECT - 68 FROM tab1 AS cor0 CROSS JOIN tab2 AS cor1 GROUP BY cor1.col2 ---- -68 -68 -68 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT DISTINCT COALESCE ( 22, cor0.col1 * + col2 ) FROM tab1 AS cor0 GROUP BY cor0.col2 ---- 22 query I rowsort SELECT ALL 85 FROM tab1 AS cor0 GROUP BY cor0.col0 |
︙ | ︙ | |||
3548 3549 3550 3551 3552 3553 3554 3555 3556 3557 3558 3559 3560 3561 | query I rowsort SELECT cor0.col1 col0 FROM tab1 cor0 GROUP BY col1 ---- 44 57 6 query I rowsort SELECT DISTINCT cor0.col1 * COALESCE ( 26, col1, + ( + 42 ) + cor0.col0 ) FROM tab1 AS cor0 GROUP BY cor0.col1 ---- 1144 1482 156 | > | 3551 3552 3553 3554 3555 3556 3557 3558 3559 3560 3561 3562 3563 3564 3565 | query I rowsort SELECT cor0.col1 col0 FROM tab1 cor0 GROUP BY col1 ---- 44 57 6 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT DISTINCT cor0.col1 * COALESCE ( 26, col1, + ( + 42 ) + cor0.col0 ) FROM tab1 AS cor0 GROUP BY cor0.col1 ---- 1144 1482 156 |
︙ | ︙ | |||
4456 4457 4458 4459 4460 4461 4462 4463 4464 4465 4466 4467 4468 4469 | query I rowsort SELECT - col1 * - cor0.col0 - cor0.col1 * cor0.col1 AS col2 FROM tab0 AS cor0 GROUP BY cor0.col1, cor0.col0 ---- -3078 0 0 query I rowsort SELECT DISTINCT cor0.col1 + COALESCE ( + 39, + cor0.col2 * + cor0.col0 ) AS col0 FROM tab2 AS cor0 GROUP BY col1 ---- 100 80 98 | > | 4460 4461 4462 4463 4464 4465 4466 4467 4468 4469 4470 4471 4472 4473 4474 | query I rowsort SELECT - col1 * - cor0.col0 - cor0.col1 * cor0.col1 AS col2 FROM tab0 AS cor0 GROUP BY cor0.col1, cor0.col0 ---- -3078 0 0 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT DISTINCT cor0.col1 + COALESCE ( + 39, + cor0.col2 * + cor0.col0 ) AS col0 FROM tab2 AS cor0 GROUP BY col1 ---- 100 80 98 |
︙ | ︙ | |||
6214 6215 6216 6217 6218 6219 6220 6221 6222 6223 6224 6225 6226 6227 | -8 query I rowsort SELECT DISTINCT - 17 FROM tab0 GROUP BY tab0.col0 ---- -17 query I rowsort SELECT DISTINCT COALESCE ( 51, cor0.col1 ) FROM tab0 AS cor0 GROUP BY col0 ---- 51 skipif postgresql # PostgreSQL requires AS when renaming output columns query I rowsort | > | 6219 6220 6221 6222 6223 6224 6225 6226 6227 6228 6229 6230 6231 6232 6233 | -8 query I rowsort SELECT DISTINCT - 17 FROM tab0 GROUP BY tab0.col0 ---- -17 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT DISTINCT COALESCE ( 51, cor0.col1 ) FROM tab0 AS cor0 GROUP BY col0 ---- 51 skipif postgresql # PostgreSQL requires AS when renaming output columns query I rowsort |
︙ | ︙ | |||
6556 6557 6558 6559 6560 6561 6562 6563 6564 6565 6566 6567 6568 6569 | SELECT COALESCE ( 30, col1 DIV CAST( 11 AS SIGNED ), cor0.col0 DIV - cor0.col2 + + cor0.col2, cor0.col2 + cor0.col2 DIV col2 ) AS col1 FROM tab0 AS cor0 GROUP BY cor0.col2, col1 ---- 30 30 30 skipif mysql # not compatible query I rowsort label-904 SELECT COALESCE ( 30, col1 / CAST ( 11 AS INTEGER ), cor0.col0 / - cor0.col2 + + cor0.col2, cor0.col2 + cor0.col2 / col2 ) AS col1 FROM tab0 AS cor0 GROUP BY cor0.col2, col1 ---- 30 30 30 | > | 6562 6563 6564 6565 6566 6567 6568 6569 6570 6571 6572 6573 6574 6575 6576 | SELECT COALESCE ( 30, col1 DIV CAST( 11 AS SIGNED ), cor0.col0 DIV - cor0.col2 + + cor0.col2, cor0.col2 + cor0.col2 DIV col2 ) AS col1 FROM tab0 AS cor0 GROUP BY cor0.col2, col1 ---- 30 30 30 skipif mysql # not compatible skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort label-904 SELECT COALESCE ( 30, col1 / CAST ( 11 AS INTEGER ), cor0.col0 / - cor0.col2 + + cor0.col2, cor0.col2 + cor0.col2 / col2 ) AS col1 FROM tab0 AS cor0 GROUP BY cor0.col2, col1 ---- 30 30 30 |
︙ | ︙ | |||
7084 7085 7086 7087 7088 7089 7090 7091 7092 7093 7094 7095 7096 7097 | query I rowsort SELECT ALL - cor0.col0 * 32 FROM tab0 AS cor0 GROUP BY cor0.col0 ---- -1376 -2656 -832 query I rowsort SELECT ALL - COALESCE ( 60, cor0.col0 ) + cor0.col1 * - cor0.col2 AS col1 FROM tab0 cor0 GROUP BY cor0.col1, cor0.col2 ---- -2004 -60 -60 | > | 7091 7092 7093 7094 7095 7096 7097 7098 7099 7100 7101 7102 7103 7104 7105 | query I rowsort SELECT ALL - cor0.col0 * 32 FROM tab0 AS cor0 GROUP BY cor0.col0 ---- -1376 -2656 -832 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT ALL - COALESCE ( 60, cor0.col0 ) + cor0.col1 * - cor0.col2 AS col1 FROM tab0 cor0 GROUP BY cor0.col1, cor0.col2 ---- -2004 -60 -60 |
︙ | ︙ | |||
8337 8338 8339 8340 8341 8342 8343 8344 8345 8346 8347 8348 8349 8350 | skipif postgresql # PostgreSQL requires AS when renaming output columns query I rowsort SELECT cor0.col1 + + col1 col0 FROM tab0 AS cor0 GROUP BY col1 ---- 0 162 query I rowsort SELECT ALL + - COALESCE ( - 90, tab2.col2 ) FROM tab2 GROUP BY col1 ---- 90 90 90 | > | 8345 8346 8347 8348 8349 8350 8351 8352 8353 8354 8355 8356 8357 8358 8359 | skipif postgresql # PostgreSQL requires AS when renaming output columns query I rowsort SELECT cor0.col1 + + col1 col0 FROM tab0 AS cor0 GROUP BY col1 ---- 0 162 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT ALL + - COALESCE ( - 90, tab2.col2 ) FROM tab2 GROUP BY col1 ---- 90 90 90 |
︙ | ︙ | |||
8844 8845 8846 8847 8848 8849 8850 8851 8852 8853 8854 8855 8856 8857 | query I rowsort SELECT ALL 15 FROM tab2 AS cor0 GROUP BY cor0.col2, cor0.col0 ---- 15 15 15 query I rowsort SELECT DISTINCT - COALESCE ( - 73, - cor0.col2 * cor0.col0, 69 ) FROM tab1 AS cor0 GROUP BY cor0.col2 ---- 73 query I rowsort SELECT + 47 FROM tab0 AS cor0 GROUP BY cor0.col0 | > | 8853 8854 8855 8856 8857 8858 8859 8860 8861 8862 8863 8864 8865 8866 8867 | query I rowsort SELECT ALL 15 FROM tab2 AS cor0 GROUP BY cor0.col2, cor0.col0 ---- 15 15 15 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT DISTINCT - COALESCE ( - 73, - cor0.col2 * cor0.col0, 69 ) FROM tab1 AS cor0 GROUP BY cor0.col2 ---- 73 query I rowsort SELECT + 47 FROM tab0 AS cor0 GROUP BY cor0.col0 |
︙ | ︙ | |||
10213 10214 10215 10216 10217 10218 10219 10220 10221 10222 10223 10224 10225 10226 | query I rowsort SELECT DISTINCT cor0.col1 * 64 FROM tab2 AS cor0 GROUP BY col1 ---- 2624 3776 3904 query I rowsort SELECT col1 + - COALESCE ( + 68, - cor0.col0 ) FROM tab0 cor0 GROUP BY cor0.col1 ---- -68 13 query I rowsort | > | 10223 10224 10225 10226 10227 10228 10229 10230 10231 10232 10233 10234 10235 10236 10237 | query I rowsort SELECT DISTINCT cor0.col1 * 64 FROM tab2 AS cor0 GROUP BY col1 ---- 2624 3776 3904 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT col1 + - COALESCE ( + 68, - cor0.col0 ) FROM tab0 cor0 GROUP BY cor0.col1 ---- -68 13 query I rowsort |
︙ | ︙ | |||
10344 10345 10346 10347 10348 10349 10350 10351 10352 10353 10354 10355 10356 10357 | query I rowsort SELECT cor0.col1 AS col1 FROM tab1 AS cor0 GROUP BY col1, col1, cor0.col2 ---- 44 57 6 query I rowsort SELECT COALESCE ( 53, cor0.col0 ) FROM tab1 AS cor0 GROUP BY cor0.col1 ---- 53 53 53 | > | 10355 10356 10357 10358 10359 10360 10361 10362 10363 10364 10365 10366 10367 10368 10369 | query I rowsort SELECT cor0.col1 AS col1 FROM tab1 AS cor0 GROUP BY col1, col1, cor0.col2 ---- 44 57 6 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT COALESCE ( 53, cor0.col0 ) FROM tab1 AS cor0 GROUP BY cor0.col1 ---- 53 53 53 |
︙ | ︙ | |||
10888 10889 10890 10891 10892 10893 10894 10895 10896 10897 10898 10899 10900 10901 | 65 query I rowsort SELECT DISTINCT - 71 AS col1 FROM tab1 GROUP BY tab1.col2 ---- -71 query I rowsort SELECT + CASE - 80 WHEN tab2.col1 THEN - 83 END col0 FROM tab2 GROUP BY tab2.col1 ---- NULL NULL NULL | > | 10900 10901 10902 10903 10904 10905 10906 10907 10908 10909 10910 10911 10912 10913 10914 | 65 query I rowsort SELECT DISTINCT - 71 AS col1 FROM tab1 GROUP BY tab1.col2 ---- -71 skipif postgresql # PostgreSQL requires AS when renaming output columns query I rowsort SELECT + CASE - 80 WHEN tab2.col1 THEN - 83 END col0 FROM tab2 GROUP BY tab2.col1 ---- NULL NULL NULL |
︙ | ︙ | |||
15413 15414 15415 15416 15417 15418 15419 15420 15421 15422 15423 15424 15425 15426 | query I rowsort SELECT DISTINCT - 11 * tab0.col1 AS col2 FROM tab0 GROUP BY tab0.col1 ---- -891 0 query I rowsort SELECT + COALESCE ( 82, - cor0.col2, COALESCE ( - 87, 88 * cor0.col0 + cor0.col1 ), + cor0.col1 + + col2 * + CASE 66 WHEN cor0.col0 * col2 - - 76 THEN NULL WHEN - cor0.col1 * cor0.col0 THEN col0 WHEN cor0.col0 THEN - cor0.col1 END ) FROM tab2 AS cor0 GROUP BY cor0.col0 ---- 82 82 82 | > | 15426 15427 15428 15429 15430 15431 15432 15433 15434 15435 15436 15437 15438 15439 15440 | query I rowsort SELECT DISTINCT - 11 * tab0.col1 AS col2 FROM tab0 GROUP BY tab0.col1 ---- -891 0 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT + COALESCE ( 82, - cor0.col2, COALESCE ( - 87, 88 * cor0.col0 + cor0.col1 ), + cor0.col1 + + col2 * + CASE 66 WHEN cor0.col0 * col2 - - 76 THEN NULL WHEN - cor0.col1 * cor0.col0 THEN col0 WHEN cor0.col0 THEN - cor0.col1 END ) FROM tab2 AS cor0 GROUP BY cor0.col0 ---- 82 82 82 |
︙ | ︙ | |||
15456 15457 15458 15459 15460 15461 15462 15463 15464 15465 15466 15467 15468 15469 | query I rowsort SELECT ALL + 65 col1 FROM tab2 AS cor0 GROUP BY cor0.col0 ---- 65 65 65 query I rowsort SELECT COALESCE ( 80, cor0.col0 * - cor0.col0 ) * col1 FROM tab0 AS cor0 GROUP BY cor0.col1, cor0.col1 ---- 0 6480 query I rowsort | > | 15470 15471 15472 15473 15474 15475 15476 15477 15478 15479 15480 15481 15482 15483 15484 | query I rowsort SELECT ALL + 65 col1 FROM tab2 AS cor0 GROUP BY cor0.col0 ---- 65 65 65 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT COALESCE ( 80, cor0.col0 * - cor0.col0 ) * col1 FROM tab0 AS cor0 GROUP BY cor0.col1, cor0.col1 ---- 0 6480 query I rowsort |
︙ | ︙ | |||
15581 15582 15583 15584 15585 15586 15587 15588 15589 15590 15591 15592 15593 15594 | 13 query I rowsort SELECT DISTINCT + 44 AS col2 FROM tab1 AS cor0 GROUP BY cor0.col1 ---- 44 query I rowsort SELECT cor0.col2 * COALESCE ( - 34, + cor0.col0, cor0.col2 ) FROM tab1 AS cor0 GROUP BY col2 ---- -1530 -2414 -272 | > | 15596 15597 15598 15599 15600 15601 15602 15603 15604 15605 15606 15607 15608 15609 15610 | 13 query I rowsort SELECT DISTINCT + 44 AS col2 FROM tab1 AS cor0 GROUP BY cor0.col1 ---- 44 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT cor0.col2 * COALESCE ( - 34, + cor0.col0, cor0.col2 ) FROM tab1 AS cor0 GROUP BY col2 ---- -1530 -2414 -272 |
︙ | ︙ | |||
16130 16131 16132 16133 16134 16135 16136 16137 16138 16139 16140 16141 16142 16143 | -4473 -504 query I rowsort SELECT col1 FROM tab1 AS cor0 GROUP BY cor0.col1 HAVING NOT ( NULL ) IS NULL ---- query I rowsort SELECT DISTINCT cor0.col0 AS col1 FROM tab2 AS cor0 GROUP BY cor0.col0 HAVING NOT ( NOT col1 IS NOT NULL ) AND ( NULL ) IS NOT NULL ---- onlyif mysql # DIV for integer division: query I rowsort label-2237 SELECT ALL + col1 DIV - tab1.col1 FROM tab1 GROUP BY tab1.col1 | > | 16146 16147 16148 16149 16150 16151 16152 16153 16154 16155 16156 16157 16158 16159 16160 | -4473 -504 query I rowsort SELECT col1 FROM tab1 AS cor0 GROUP BY cor0.col1 HAVING NOT ( NULL ) IS NULL ---- skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT DISTINCT cor0.col0 AS col1 FROM tab2 AS cor0 GROUP BY cor0.col0 HAVING NOT ( NOT col1 IS NOT NULL ) AND ( NULL ) IS NOT NULL ---- onlyif mysql # DIV for integer division: query I rowsort label-2237 SELECT ALL + col1 DIV - tab1.col1 FROM tab1 GROUP BY tab1.col1 |
︙ | ︙ | |||
16350 16351 16352 16353 16354 16355 16356 16357 16358 16359 16360 16361 16362 16363 | SELECT cor0.col1 DIV COALESCE ( + 99, - cor0.col1 * NULLIF ( + 77, - cor0.col0 * cor0.col1 + NULLIF ( 69, - cor0.col2 + + 78 ) * cor0.col1 ), cor0.col0 - cor0.col0 ) AS col2 FROM tab1 AS cor0 GROUP BY cor0.col1 ---- 0 0 0 skipif mysql # not compatible query I rowsort label-2265 SELECT cor0.col1 / COALESCE ( + 99, - cor0.col1 * NULLIF ( + 77, - cor0.col0 * cor0.col1 + NULLIF ( 69, - cor0.col2 + + 78 ) * cor0.col1 ), cor0.col0 - cor0.col0 ) AS col2 FROM tab1 AS cor0 GROUP BY cor0.col1 ---- 0 0 0 | > | 16367 16368 16369 16370 16371 16372 16373 16374 16375 16376 16377 16378 16379 16380 16381 | SELECT cor0.col1 DIV COALESCE ( + 99, - cor0.col1 * NULLIF ( + 77, - cor0.col0 * cor0.col1 + NULLIF ( 69, - cor0.col2 + + 78 ) * cor0.col1 ), cor0.col0 - cor0.col0 ) AS col2 FROM tab1 AS cor0 GROUP BY cor0.col1 ---- 0 0 0 skipif mysql # not compatible skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort label-2265 SELECT cor0.col1 / COALESCE ( + 99, - cor0.col1 * NULLIF ( + 77, - cor0.col0 * cor0.col1 + NULLIF ( 69, - cor0.col2 + + 78 ) * cor0.col1 ), cor0.col0 - cor0.col0 ) AS col2 FROM tab1 AS cor0 GROUP BY cor0.col1 ---- 0 0 0 |
︙ | ︙ | |||
17019 17020 17021 17022 17023 17024 17025 17026 17027 17028 17029 17030 17031 17032 | query I rowsort SELECT 54 col1 FROM tab1 AS cor0 GROUP BY cor0.col0, col0 ---- 54 54 54 query I rowsort SELECT DISTINCT - 29 - + COALESCE ( - 26, - col1 ) AS col0 FROM tab1 AS cor0 GROUP BY cor0.col2, col2 ---- -3 query I rowsort SELECT DISTINCT 23 AS col1 FROM tab2 GROUP BY col2 | > | 17037 17038 17039 17040 17041 17042 17043 17044 17045 17046 17047 17048 17049 17050 17051 | query I rowsort SELECT 54 col1 FROM tab1 AS cor0 GROUP BY cor0.col0, col0 ---- 54 54 54 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT DISTINCT - 29 - + COALESCE ( - 26, - col1 ) AS col0 FROM tab1 AS cor0 GROUP BY cor0.col2, col2 ---- -3 query I rowsort SELECT DISTINCT 23 AS col1 FROM tab2 GROUP BY col2 |
︙ | ︙ | |||
17481 17482 17483 17484 17485 17486 17487 17488 17489 17490 17491 17492 17493 17494 | query I rowsort SELECT 9 FROM tab0 cor0 GROUP BY cor0.col0, cor0.col2 ---- 9 9 9 query I rowsort SELECT DISTINCT - COALESCE ( + 20, cor0.col2 + - 10 * cor0.col0 ) FROM tab1 AS cor0 GROUP BY col0 ---- -20 query I rowsort SELECT cor0.col2 * - cor0.col2 AS col2 FROM tab2 AS cor0 GROUP BY cor0.col2 | > | 17500 17501 17502 17503 17504 17505 17506 17507 17508 17509 17510 17511 17512 17513 17514 | query I rowsort SELECT 9 FROM tab0 cor0 GROUP BY cor0.col0, cor0.col2 ---- 9 9 9 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT DISTINCT - COALESCE ( + 20, cor0.col2 + - 10 * cor0.col0 ) FROM tab1 AS cor0 GROUP BY col0 ---- -20 query I rowsort SELECT cor0.col2 * - cor0.col2 AS col2 FROM tab2 AS cor0 GROUP BY cor0.col2 |
︙ | ︙ | |||
18612 18613 18614 18615 18616 18617 18618 18619 18620 18621 18622 18623 18624 18625 | skipif mysql # not compatible query I rowsort label-2576 SELECT DISTINCT cor0.col1 + + cor0.col0 / cor0.col0 FROM tab0 AS cor0 GROUP BY cor0.col0, cor0.col1 ---- 1 82 query I rowsort SELECT COALESCE ( + 51, cor0.col1, cor0.col0 - cor0.col2 ) FROM tab1 AS cor0 GROUP BY cor0.col0 ---- 51 51 51 | > | 18632 18633 18634 18635 18636 18637 18638 18639 18640 18641 18642 18643 18644 18645 18646 | skipif mysql # not compatible query I rowsort label-2576 SELECT DISTINCT cor0.col1 + + cor0.col0 / cor0.col0 FROM tab0 AS cor0 GROUP BY cor0.col0, cor0.col1 ---- 1 82 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT COALESCE ( + 51, cor0.col1, cor0.col0 - cor0.col2 ) FROM tab1 AS cor0 GROUP BY cor0.col0 ---- 51 51 51 |
︙ | ︙ | |||
22630 22631 22632 22633 22634 22635 22636 22637 22638 22639 22640 22641 22642 22643 | SELECT + CAST( - COALESCE ( 99, - col2, - tab2.col1 ) AS SIGNED ) AS col2 FROM tab2 GROUP BY col0 ---- -99 -99 -99 skipif mysql # not compatible query I rowsort label-3139 SELECT + CAST ( - COALESCE ( 99, - col2, - tab2.col1 ) AS INTEGER ) AS col2 FROM tab2 GROUP BY col0 ---- -99 -99 -99 | > | 22651 22652 22653 22654 22655 22656 22657 22658 22659 22660 22661 22662 22663 22664 22665 | SELECT + CAST( - COALESCE ( 99, - col2, - tab2.col1 ) AS SIGNED ) AS col2 FROM tab2 GROUP BY col0 ---- -99 -99 -99 skipif mysql # not compatible skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort label-3139 SELECT + CAST ( - COALESCE ( 99, - col2, - tab2.col1 ) AS INTEGER ) AS col2 FROM tab2 GROUP BY col0 ---- -99 -99 -99 |
︙ | ︙ | |||
24215 24216 24217 24218 24219 24220 24221 24222 24223 24224 24225 24226 24227 24228 | SELECT ALL cor0.col2 * + COALESCE ( 25, + cor0.col1 DIV + col2, + 99 ) AS col1 FROM tab0 AS cor0 GROUP BY cor0.col2, cor0.col0 ---- 1975 600 950 skipif mysql # not compatible query I rowsort label-3359 SELECT ALL cor0.col2 * + COALESCE ( 25, + cor0.col1 / + col2, + 99 ) AS col1 FROM tab0 AS cor0 GROUP BY cor0.col2, cor0.col0 ---- 1975 600 950 | > | 24237 24238 24239 24240 24241 24242 24243 24244 24245 24246 24247 24248 24249 24250 24251 | SELECT ALL cor0.col2 * + COALESCE ( 25, + cor0.col1 DIV + col2, + 99 ) AS col1 FROM tab0 AS cor0 GROUP BY cor0.col2, cor0.col0 ---- 1975 600 950 skipif mysql # not compatible skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort label-3359 SELECT ALL cor0.col2 * + COALESCE ( 25, + cor0.col1 / + col2, + 99 ) AS col1 FROM tab0 AS cor0 GROUP BY cor0.col2, cor0.col0 ---- 1975 600 950 |
︙ | ︙ | |||
24493 24494 24495 24496 24497 24498 24499 24500 24501 24502 24503 24504 24505 24506 24507 24508 24509 24510 24511 24512 24513 24514 24515 24516 24517 24518 24519 24520 | SELECT COALESCE ( 26, + cor0.col0 * cor0.col2, cor0.col0 + - cor0.col0 DIV + cor0.col1 ) FROM tab2 AS cor0 GROUP BY col0 ---- 26 26 26 skipif mysql # not compatible query I rowsort label-3397 SELECT COALESCE ( 26, + cor0.col0 * cor0.col2, cor0.col0 + - cor0.col0 / + cor0.col1 ) FROM tab2 AS cor0 GROUP BY col0 ---- 26 26 26 query I rowsort SELECT + - 39 FROM tab0 GROUP BY tab0.col2 ---- -39 -39 -39 query I rowsort SELECT COALESCE ( 49, cor0.col0 * cor0.col2 - + 33 ) AS col0 FROM tab0 AS cor0 GROUP BY cor0.col2 ---- 49 49 49 | > > | 24516 24517 24518 24519 24520 24521 24522 24523 24524 24525 24526 24527 24528 24529 24530 24531 24532 24533 24534 24535 24536 24537 24538 24539 24540 24541 24542 24543 24544 24545 | SELECT COALESCE ( 26, + cor0.col0 * cor0.col2, cor0.col0 + - cor0.col0 DIV + cor0.col1 ) FROM tab2 AS cor0 GROUP BY col0 ---- 26 26 26 skipif mysql # not compatible skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort label-3397 SELECT COALESCE ( 26, + cor0.col0 * cor0.col2, cor0.col0 + - cor0.col0 / + cor0.col1 ) FROM tab2 AS cor0 GROUP BY col0 ---- 26 26 26 query I rowsort SELECT + - 39 FROM tab0 GROUP BY tab0.col2 ---- -39 -39 -39 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT COALESCE ( 49, cor0.col0 * cor0.col2 - + 33 ) AS col0 FROM tab0 AS cor0 GROUP BY cor0.col2 ---- 49 49 49 |
︙ | ︙ | |||
24672 24673 24674 24675 24676 24677 24678 24679 24680 24681 24682 24683 24684 24685 | -29 query I rowsort SELECT DISTINCT 67 FROM tab1 GROUP BY tab1.col1 ---- 67 query I rowsort SELECT DISTINCT + COALESCE ( 67, tab1.col0, + ( - 26 ) ) FROM tab1 GROUP BY tab1.col1 ---- 67 query I rowsort SELECT - + 99 AS col2 FROM tab2 GROUP BY tab2.col0 | > | 24697 24698 24699 24700 24701 24702 24703 24704 24705 24706 24707 24708 24709 24710 24711 | -29 query I rowsort SELECT DISTINCT 67 FROM tab1 GROUP BY tab1.col1 ---- 67 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT DISTINCT + COALESCE ( 67, tab1.col0, + ( - 26 ) ) FROM tab1 GROUP BY tab1.col1 ---- 67 query I rowsort SELECT - + 99 AS col2 FROM tab2 GROUP BY tab2.col0 |
︙ | ︙ | |||
25578 25579 25580 25581 25582 25583 25584 25585 25586 25587 25588 25589 25590 25591 | query I rowsort SELECT + 88 * - cor0.col2 AS col1 FROM tab2, tab0 AS cor0 GROUP BY cor0.col2 ---- -2112 -3344 -6952 query I rowsort SELECT DISTINCT COALESCE ( 75, cor0.col2 ) * + col0 FROM tab1 AS cor0 GROUP BY cor0.col0, cor0.col0 ---- 1650 2100 6150 | > | 25604 25605 25606 25607 25608 25609 25610 25611 25612 25613 25614 25615 25616 25617 25618 | query I rowsort SELECT + 88 * - cor0.col2 AS col1 FROM tab2, tab0 AS cor0 GROUP BY cor0.col2 ---- -2112 -3344 -6952 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT DISTINCT COALESCE ( 75, cor0.col2 ) * + col0 FROM tab1 AS cor0 GROUP BY cor0.col0, cor0.col0 ---- 1650 2100 6150 |
︙ | ︙ | |||
27073 27074 27075 27076 27077 27078 27079 27080 27081 27082 27083 27084 27085 27086 | query I rowsort SELECT DISTINCT ( col2 ) FROM tab2 AS cor0 GROUP BY col2, col2 ---- 58 79 87 query I rowsort SELECT - - COALESCE ( + 42, - col2 ) AS col2 FROM tab2 GROUP BY tab2.col0 ---- 42 42 42 | > | 27100 27101 27102 27103 27104 27105 27106 27107 27108 27109 27110 27111 27112 27113 27114 | query I rowsort SELECT DISTINCT ( col2 ) FROM tab2 AS cor0 GROUP BY col2, col2 ---- 58 79 87 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT - - COALESCE ( + 42, - col2 ) AS col2 FROM tab2 GROUP BY tab2.col0 ---- 42 42 42 |
︙ | ︙ | |||
27887 27888 27889 27890 27891 27892 27893 27894 27895 27896 27897 27898 27899 27900 | query I rowsort SELECT DISTINCT - cor0.col0 * cor0.col0 + 75 FROM tab2 AS cor0 GROUP BY cor0.col0 ---- -150 -8206 -8389 query I rowsort SELECT COALESCE ( 65, cor0.col1 - cor0.col1 ) FROM tab0 AS cor0 GROUP BY cor0.col0 ---- 65 65 65 | > | 27915 27916 27917 27918 27919 27920 27921 27922 27923 27924 27925 27926 27927 27928 27929 | query I rowsort SELECT DISTINCT - cor0.col0 * cor0.col0 + 75 FROM tab2 AS cor0 GROUP BY cor0.col0 ---- -150 -8206 -8389 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT COALESCE ( 65, cor0.col1 - cor0.col1 ) FROM tab0 AS cor0 GROUP BY cor0.col0 ---- 65 65 65 |
︙ | ︙ | |||
28388 28389 28390 28391 28392 28393 28394 28395 28396 28397 28398 28399 28400 28401 | query I rowsort label-3917 SELECT ALL + 69 / 4 FROM tab1 GROUP BY col0 ---- 17 17 17 query I rowsort SELECT ALL COALESCE ( 26, cor0.col2, cor0.col2 ) FROM tab0 AS cor0 GROUP BY col1 ---- 26 26 skipif postgresql # PostgreSQL requires AS when renaming output columns | > | 28417 28418 28419 28420 28421 28422 28423 28424 28425 28426 28427 28428 28429 28430 28431 | query I rowsort label-3917 SELECT ALL + 69 / 4 FROM tab1 GROUP BY col0 ---- 17 17 17 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT ALL COALESCE ( 26, cor0.col2, cor0.col2 ) FROM tab0 AS cor0 GROUP BY col1 ---- 26 26 skipif postgresql # PostgreSQL requires AS when renaming output columns |
︙ | ︙ | |||
30088 30089 30090 30091 30092 30093 30094 30095 30096 30097 30098 30099 30100 30101 | query I rowsort SELECT ALL - cor0.col1 * + 86 + 81 FROM tab1 AS cor0 GROUP BY cor0.col1 ---- -3703 -435 -4821 query I rowsort SELECT - COALESCE ( 40, col1 * - tab2.col2 ) FROM tab2 GROUP BY tab2.col1 ---- -40 -40 -40 | > | 30118 30119 30120 30121 30122 30123 30124 30125 30126 30127 30128 30129 30130 30131 30132 | query I rowsort SELECT ALL - cor0.col1 * + 86 + 81 FROM tab1 AS cor0 GROUP BY cor0.col1 ---- -3703 -435 -4821 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT - COALESCE ( 40, col1 * - tab2.col2 ) FROM tab2 GROUP BY tab2.col1 ---- -40 -40 -40 |
︙ | ︙ | |||
30266 30267 30268 30269 30270 30271 30272 30273 30274 30275 30276 30277 30278 30279 | query I rowsort SELECT + 97 * cor0.col2 AS col2 FROM tab2 AS cor0 GROUP BY cor0.col2, cor0.col0 ---- 5626 7663 8439 query I rowsort SELECT ALL COALESCE ( 15, col0 ) AS col2 FROM tab0 cor0 GROUP BY cor0.col1 ---- 15 15 query I rowsort | > | 30297 30298 30299 30300 30301 30302 30303 30304 30305 30306 30307 30308 30309 30310 30311 | query I rowsort SELECT + 97 * cor0.col2 AS col2 FROM tab2 AS cor0 GROUP BY cor0.col2, cor0.col0 ---- 5626 7663 8439 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT ALL COALESCE ( 15, col0 ) AS col2 FROM tab0 cor0 GROUP BY cor0.col1 ---- 15 15 query I rowsort |
︙ | ︙ | |||
30972 30973 30974 30975 30976 30977 30978 30979 30980 30981 30982 30983 30984 30985 | query I rowsort SELECT cor0.col1 * + cor0.col1 AS col2 FROM tab1 AS cor0 GROUP BY col1 ---- 1936 3249 36 query I rowsort SELECT DISTINCT + COALESCE ( + 92, cor0.col0 + cor0.col2, cor0.col0 * cor0.col0 + + cor0.col2 ) AS col1 FROM tab2 AS cor0 GROUP BY cor0.col2 ---- 92 query I rowsort SELECT - cor0.col0 + - 34 AS col0 FROM tab0 cor0 GROUP BY cor0.col0 | > | 31004 31005 31006 31007 31008 31009 31010 31011 31012 31013 31014 31015 31016 31017 31018 | query I rowsort SELECT cor0.col1 * + cor0.col1 AS col2 FROM tab1 AS cor0 GROUP BY col1 ---- 1936 3249 36 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT DISTINCT + COALESCE ( + 92, cor0.col0 + cor0.col2, cor0.col0 * cor0.col0 + + cor0.col2 ) AS col1 FROM tab2 AS cor0 GROUP BY cor0.col2 ---- 92 query I rowsort SELECT - cor0.col0 + - 34 AS col0 FROM tab0 cor0 GROUP BY cor0.col0 |
︙ | ︙ | |||
33902 33903 33904 33905 33906 33907 33908 33909 33910 33911 33912 33913 33914 33915 | query I rowsort SELECT cor0.col2 AS col0 FROM tab2 AS cor0 GROUP BY col2, cor0.col1, cor0.col0 ---- 58 79 87 query I rowsort SELECT - COALESCE ( - 95, + cor0.col2, col2 + + cor0.col2 ) FROM tab1 cor0 GROUP BY cor0.col1 ---- 95 95 95 | > | 33935 33936 33937 33938 33939 33940 33941 33942 33943 33944 33945 33946 33947 33948 33949 | query I rowsort SELECT cor0.col2 AS col0 FROM tab2 AS cor0 GROUP BY col2, cor0.col1, cor0.col0 ---- 58 79 87 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT - COALESCE ( - 95, + cor0.col2, col2 + + cor0.col2 ) FROM tab1 cor0 GROUP BY cor0.col1 ---- 95 95 95 |
︙ | ︙ | |||
34264 34265 34266 34267 34268 34269 34270 34271 34272 34273 34274 34275 34276 34277 | query I rowsort SELECT DISTINCT - cor0.col2 * + cor0.col2 AS col0 FROM tab1 AS cor0 GROUP BY cor0.col2 ---- -2025 -5041 -64 query I rowsort SELECT ALL - COALESCE ( 18, cor0.col0 ) FROM tab0 AS cor0 GROUP BY cor0.col2 ---- -18 -18 -18 | > | 34298 34299 34300 34301 34302 34303 34304 34305 34306 34307 34308 34309 34310 34311 34312 | query I rowsort SELECT DISTINCT - cor0.col2 * + cor0.col2 AS col0 FROM tab1 AS cor0 GROUP BY cor0.col2 ---- -2025 -5041 -64 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT ALL - COALESCE ( 18, cor0.col0 ) FROM tab0 AS cor0 GROUP BY cor0.col2 ---- -18 -18 -18 |
︙ | ︙ | |||
34586 34587 34588 34589 34590 34591 34592 34593 34594 34595 34596 34597 34598 34599 | query I rowsort SELECT DISTINCT + cor0.col2 AS col2 FROM tab0 AS cor0 GROUP BY col2, cor0.col0 ---- 24 38 79 query I rowsort SELECT ALL - cor0.col1 * COALESCE ( + 35, cor0.col2 * - cor0.col0 ) FROM tab0, tab0 AS cor0 GROUP BY cor0.col1 ---- -2835 0 query I rowsort | > | 34621 34622 34623 34624 34625 34626 34627 34628 34629 34630 34631 34632 34633 34634 34635 | query I rowsort SELECT DISTINCT + cor0.col2 AS col2 FROM tab0 AS cor0 GROUP BY col2, cor0.col0 ---- 24 38 79 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT ALL - cor0.col1 * COALESCE ( + 35, cor0.col2 * - cor0.col0 ) FROM tab0, tab0 AS cor0 GROUP BY cor0.col1 ---- -2835 0 query I rowsort |
︙ | ︙ | |||
38004 38005 38006 38007 38008 38009 38010 38011 38012 38013 38014 38015 38016 38017 | query I rowsort SELECT ALL cor0.col2 + + cor0.col2 * - 91 FROM tab1 AS cor0 GROUP BY cor0.col2, cor0.col2 ---- -4050 -6390 -720 query I rowsort SELECT ALL - cor0.col2 + + COALESCE ( 22, cor0.col0, - cor0.col1 + cor0.col2 * col2, + cor0.col1 + - 10 ) * + cor0.col2 FROM tab0 AS cor0 GROUP BY cor0.col2, cor0.col1 ---- 1659 504 798 | > | 38040 38041 38042 38043 38044 38045 38046 38047 38048 38049 38050 38051 38052 38053 38054 | query I rowsort SELECT ALL cor0.col2 + + cor0.col2 * - 91 FROM tab1 AS cor0 GROUP BY cor0.col2, cor0.col2 ---- -4050 -6390 -720 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT ALL - cor0.col2 + + COALESCE ( 22, cor0.col0, - cor0.col1 + cor0.col2 * col2, + cor0.col1 + - 10 ) * + cor0.col2 FROM tab0 AS cor0 GROUP BY cor0.col2, cor0.col1 ---- 1659 504 798 |
︙ | ︙ | |||
38647 38648 38649 38650 38651 38652 38653 38654 38655 38656 38657 38658 38659 38660 | query I rowsort SELECT + cor0.col0 * - cor0.col0 FROM tab2 cor0 GROUP BY cor0.col0 ---- -225 -8281 -8464 query I rowsort SELECT + COALESCE ( + 4, + cor0.col1 * 26, col2 ) AS col2 FROM tab0 AS cor0 GROUP BY cor0.col2 ---- 4 4 4 | > | 38684 38685 38686 38687 38688 38689 38690 38691 38692 38693 38694 38695 38696 38697 38698 | query I rowsort SELECT + cor0.col0 * - cor0.col0 FROM tab2 cor0 GROUP BY cor0.col0 ---- -225 -8281 -8464 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT + COALESCE ( + 4, + cor0.col1 * 26, col2 ) AS col2 FROM tab0 AS cor0 GROUP BY cor0.col2 ---- 4 4 4 |
︙ | ︙ | |||
39736 39737 39738 39739 39740 39741 39742 39743 39744 39745 39746 39747 39748 39749 | query I rowsort SELECT 36 FROM tab2 GROUP BY tab2.col1 ---- 36 36 36 query I rowsort SELECT - COALESCE ( - 82, cor0.col1 - cor0.col2 * - CASE + cor0.col1 * + cor0.col1 WHEN cor0.col1 + cor0.col2 THEN cor0.col2 WHEN cor0.col2 * - col2 + - cor0.col1 THEN col0 END ) FROM tab2 AS cor0 GROUP BY cor0.col0 ---- 82 82 82 | > | 39774 39775 39776 39777 39778 39779 39780 39781 39782 39783 39784 39785 39786 39787 39788 | query I rowsort SELECT 36 FROM tab2 GROUP BY tab2.col1 ---- 36 36 36 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT - COALESCE ( - 82, cor0.col1 - cor0.col2 * - CASE + cor0.col1 * + cor0.col1 WHEN cor0.col1 + cor0.col2 THEN cor0.col2 WHEN cor0.col2 * - col2 + - cor0.col1 THEN col0 END ) FROM tab2 AS cor0 GROUP BY cor0.col0 ---- 82 82 82 |
︙ | ︙ | |||
40525 40526 40527 40528 40529 40530 40531 40532 40533 40534 40535 40536 40537 40538 | onlyif mysql # DIV for integer division: query I rowsort label-5569 SELECT DISTINCT COALESCE ( 5, - cor0.col1 DIV + cor0.col0 ) FROM tab1 AS cor0 GROUP BY cor0.col0 ---- 5 skipif mysql # not compatible query I rowsort label-5569 SELECT DISTINCT COALESCE ( 5, - cor0.col1 / + cor0.col0 ) FROM tab1 AS cor0 GROUP BY cor0.col0 ---- 5 query I rowsort SELECT DISTINCT - cor0.col1 FROM tab2 AS cor0 GROUP BY cor0.col1, cor0.col2 | > | 40564 40565 40566 40567 40568 40569 40570 40571 40572 40573 40574 40575 40576 40577 40578 | onlyif mysql # DIV for integer division: query I rowsort label-5569 SELECT DISTINCT COALESCE ( 5, - cor0.col1 DIV + cor0.col0 ) FROM tab1 AS cor0 GROUP BY cor0.col0 ---- 5 skipif mysql # not compatible skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort label-5569 SELECT DISTINCT COALESCE ( 5, - cor0.col1 / + cor0.col0 ) FROM tab1 AS cor0 GROUP BY cor0.col0 ---- 5 query I rowsort SELECT DISTINCT - cor0.col1 FROM tab2 AS cor0 GROUP BY cor0.col1, cor0.col2 |
︙ | ︙ | |||
45467 45468 45469 45470 45471 45472 45473 45474 45475 45476 45477 45478 45479 45480 | query I rowsort SELECT ALL + 64 FROM tab1 cor0 GROUP BY cor0.col2 ---- 64 64 64 query I rowsort SELECT ALL COALESCE ( 25, - cor0.col0 * cor0.col1, cor0.col2 + - cor0.col0 ) FROM tab1 AS cor0 GROUP BY cor0.col1 ---- 25 25 25 | > | 45507 45508 45509 45510 45511 45512 45513 45514 45515 45516 45517 45518 45519 45520 45521 | query I rowsort SELECT ALL + 64 FROM tab1 cor0 GROUP BY cor0.col2 ---- 64 64 64 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT ALL COALESCE ( 25, - cor0.col0 * cor0.col1, cor0.col2 + - cor0.col0 ) FROM tab1 AS cor0 GROUP BY cor0.col1 ---- 25 25 25 |
︙ | ︙ | |||
46164 46165 46166 46167 46168 46169 46170 46171 46172 46173 46174 46175 46176 46177 | skipif postgresql # PostgreSQL requires AS when renaming output columns query I rowsort SELECT + 74 + 25 col2 FROM tab0 GROUP BY tab0.col1 ---- 99 99 query I rowsort SELECT - COALESCE ( - 52, + col2 ) * tab1.col1 AS col0 FROM tab1 GROUP BY tab1.col1 ---- 2288 2964 312 | > | 46205 46206 46207 46208 46209 46210 46211 46212 46213 46214 46215 46216 46217 46218 46219 | skipif postgresql # PostgreSQL requires AS when renaming output columns query I rowsort SELECT + 74 + 25 col2 FROM tab0 GROUP BY tab0.col1 ---- 99 99 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT - COALESCE ( - 52, + col2 ) * tab1.col1 AS col0 FROM tab1 GROUP BY tab1.col1 ---- 2288 2964 312 |
︙ | ︙ | |||
48222 48223 48224 48225 48226 48227 48228 48229 48230 48231 48232 48233 48234 48235 | query I rowsort SELECT DISTINCT - + tab2.col2 AS col2 FROM tab2 GROUP BY col2 ---- -58 -79 -87 query I rowsort SELECT + COALESCE ( + 13, + tab1.col1, tab1.col0 ) FROM tab1 GROUP BY tab1.col1 ---- 13 13 13 | > | 48264 48265 48266 48267 48268 48269 48270 48271 48272 48273 48274 48275 48276 48277 48278 | query I rowsort SELECT DISTINCT - + tab2.col2 AS col2 FROM tab2 GROUP BY col2 ---- -58 -79 -87 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT + COALESCE ( + 13, + tab1.col1, tab1.col0 ) FROM tab1 GROUP BY tab1.col1 ---- 13 13 13 |
︙ | ︙ | |||
48263 48264 48265 48266 48267 48268 48269 48270 48271 48272 48273 48274 48275 48276 | query I rowsort SELECT - 43 FROM tab0 GROUP BY tab0.col1 ---- -43 -43 query I rowsort SELECT + ( - COALESCE ( + 62, col1 + + cor0.col2, + cor0.col2 ) ) FROM tab0 AS cor0 GROUP BY col0 ---- -62 -62 -62 | > | 48306 48307 48308 48309 48310 48311 48312 48313 48314 48315 48316 48317 48318 48319 48320 | query I rowsort SELECT - 43 FROM tab0 GROUP BY tab0.col1 ---- -43 -43 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT + ( - COALESCE ( + 62, col1 + + cor0.col2, + cor0.col2 ) ) FROM tab0 AS cor0 GROUP BY col0 ---- -62 -62 -62 |
︙ | ︙ | |||
48784 48785 48786 48787 48788 48789 48790 48791 48792 48793 48794 48795 48796 48797 | query I rowsort SELECT DISTINCT + cor0.col2 * - cor0.col2 FROM tab1, tab2 cor0 GROUP BY cor0.col2 ---- -3364 -6241 -7569 query I rowsort SELECT COALESCE ( COALESCE ( 6, + cor0.col0 ), - cor0.col2 ) * cor0.col0 AS col0 FROM tab0 AS cor0 GROUP BY col0 ---- 156 258 498 | > | 48828 48829 48830 48831 48832 48833 48834 48835 48836 48837 48838 48839 48840 48841 48842 | query I rowsort SELECT DISTINCT + cor0.col2 * - cor0.col2 FROM tab1, tab2 cor0 GROUP BY cor0.col2 ---- -3364 -6241 -7569 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT COALESCE ( COALESCE ( 6, + cor0.col0 ), - cor0.col2 ) * cor0.col0 AS col0 FROM tab0 AS cor0 GROUP BY col0 ---- 156 258 498 |
︙ | ︙ | |||
51475 51476 51477 51478 51479 51480 51481 51482 51483 51484 51485 51486 51487 51488 | query I rowsort SELECT + cor0.col0 * - cor0.col1 AS col0 FROM tab1 AS cor0 GROUP BY cor0.col1, cor0.col0 ---- -132 -1596 -3608 query I rowsort SELECT DISTINCT COALESCE ( 47, + cor0.col2 ) AS col2 FROM tab2 AS cor0 GROUP BY cor0.col1 ---- 47 query I rowsort SELECT + 42 AS col1 FROM tab0 AS cor0 GROUP BY cor0.col1 | > | 51520 51521 51522 51523 51524 51525 51526 51527 51528 51529 51530 51531 51532 51533 51534 | query I rowsort SELECT + cor0.col0 * - cor0.col1 AS col0 FROM tab1 AS cor0 GROUP BY cor0.col1, cor0.col0 ---- -132 -1596 -3608 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT DISTINCT COALESCE ( 47, + cor0.col2 ) AS col2 FROM tab2 AS cor0 GROUP BY cor0.col1 ---- 47 query I rowsort SELECT + 42 AS col1 FROM tab0 AS cor0 GROUP BY cor0.col1 |
︙ | ︙ | |||
52164 52165 52166 52167 52168 52169 52170 52171 52172 52173 52174 52175 52176 52177 | query I rowsort SELECT ALL + 51 FROM tab1 GROUP BY tab1.col0 ---- 51 51 51 query I rowsort SELECT COALESCE ( 0, + cor1.col2 ) AS col1 FROM tab0 AS cor0 CROSS JOIN tab2 AS cor1 GROUP BY cor1.col0 ---- 0 0 0 | > | 52210 52211 52212 52213 52214 52215 52216 52217 52218 52219 52220 52221 52222 52223 52224 | query I rowsort SELECT ALL + 51 FROM tab1 GROUP BY tab1.col0 ---- 51 51 51 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT COALESCE ( 0, + cor1.col2 ) AS col1 FROM tab0 AS cor0 CROSS JOIN tab2 AS cor1 GROUP BY cor1.col0 ---- 0 0 0 |
︙ | ︙ | |||
53674 53675 53676 53677 53678 53679 53680 53681 53682 53683 53684 53685 53686 53687 | query I rowsort SELECT 38 col2 FROM tab0 GROUP BY tab0.col2 ---- 38 38 38 query I rowsort SELECT COALESCE ( 25, 70, + cor0.col1 ) AS col1 FROM tab0 AS cor0 GROUP BY cor0.col2 ---- 25 25 25 | > | 53721 53722 53723 53724 53725 53726 53727 53728 53729 53730 53731 53732 53733 53734 53735 | query I rowsort SELECT 38 col2 FROM tab0 GROUP BY tab0.col2 ---- 38 38 38 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT COALESCE ( 25, 70, + cor0.col1 ) AS col1 FROM tab0 AS cor0 GROUP BY cor0.col2 ---- 25 25 25 |
︙ | ︙ | |||
54430 54431 54432 54433 54434 54435 54436 54437 54438 54439 54440 54441 54442 54443 | query I rowsort SELECT - 76 AS col0 FROM tab1 cor0 GROUP BY cor0.col1 ---- -76 -76 -76 query I rowsort SELECT ALL COALESCE ( 23, col1 ) AS col0 FROM tab0 AS cor0 GROUP BY cor0.col2 ---- 23 23 23 | > | 54478 54479 54480 54481 54482 54483 54484 54485 54486 54487 54488 54489 54490 54491 54492 | query I rowsort SELECT - 76 AS col0 FROM tab1 cor0 GROUP BY cor0.col1 ---- -76 -76 -76 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT ALL COALESCE ( 23, col1 ) AS col0 FROM tab0 AS cor0 GROUP BY cor0.col2 ---- 23 23 23 |
︙ | ︙ | |||
55710 55711 55712 55713 55714 55715 55716 55717 55718 55719 55720 55721 55722 55723 | onlyif mysql # CAST syntax: SIGNED type: query I rowsort label-7660 SELECT DISTINCT - CASE - COALESCE ( + tab2.col2, tab2.col1, tab2.col0 * + tab2.col1 + + tab2.col0 ) WHEN CAST( NULL AS SIGNED ) THEN - tab2.col2 ELSE NULL END AS col2 FROM tab2 GROUP BY tab2.col1 ---- NULL skipif mysql # not compatible query I rowsort label-7660 SELECT DISTINCT - CASE - COALESCE ( + tab2.col2, tab2.col1, tab2.col0 * + tab2.col1 + + tab2.col0 ) WHEN CAST ( NULL AS INTEGER ) THEN - tab2.col2 ELSE NULL END AS col2 FROM tab2 GROUP BY tab2.col1 ---- NULL query I rowsort SELECT DISTINCT 68 FROM tab2 cor0 GROUP BY cor0.col0, cor0.col1 | > | 55759 55760 55761 55762 55763 55764 55765 55766 55767 55768 55769 55770 55771 55772 55773 | onlyif mysql # CAST syntax: SIGNED type: query I rowsort label-7660 SELECT DISTINCT - CASE - COALESCE ( + tab2.col2, tab2.col1, tab2.col0 * + tab2.col1 + + tab2.col0 ) WHEN CAST( NULL AS SIGNED ) THEN - tab2.col2 ELSE NULL END AS col2 FROM tab2 GROUP BY tab2.col1 ---- NULL skipif mysql # not compatible skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort label-7660 SELECT DISTINCT - CASE - COALESCE ( + tab2.col2, tab2.col1, tab2.col0 * + tab2.col1 + + tab2.col0 ) WHEN CAST ( NULL AS INTEGER ) THEN - tab2.col2 ELSE NULL END AS col2 FROM tab2 GROUP BY tab2.col1 ---- NULL query I rowsort SELECT DISTINCT 68 FROM tab2 cor0 GROUP BY cor0.col0, cor0.col1 |
︙ | ︙ | |||
56836 56837 56838 56839 56840 56841 56842 56843 56844 56845 56846 56847 56848 56849 | query I rowsort SELECT ALL + + tab2.col0 * 31 FROM tab2 GROUP BY tab2.col0 ---- 2821 2852 465 query I rowsort SELECT DISTINCT + COALESCE ( - ( 22 ), tab0.col2 * ( COALESCE ( tab0.col1, 24 * - tab0.col0, tab0.col0 ) * - tab0.col2 ) ) + tab0.col2 FROM tab0 GROUP BY tab0.col2 ---- 16 2 57 | > | 56886 56887 56888 56889 56890 56891 56892 56893 56894 56895 56896 56897 56898 56899 56900 | query I rowsort SELECT ALL + + tab2.col0 * 31 FROM tab2 GROUP BY tab2.col0 ---- 2821 2852 465 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT DISTINCT + COALESCE ( - ( 22 ), tab0.col2 * ( COALESCE ( tab0.col1, 24 * - tab0.col0, tab0.col0 ) * - tab0.col2 ) ) + tab0.col2 FROM tab0 GROUP BY tab0.col2 ---- 16 2 57 |
︙ | ︙ | |||
57802 57803 57804 57805 57806 57807 57808 57809 57810 57811 57812 57813 57814 57815 | query I rowsort SELECT ALL 73 * - ( tab2.col1 ) FROM tab2 GROUP BY tab2.col1 ---- -2993 -4307 -4453 query I rowsort SELECT + + COALESCE ( + 62, col2, 94, - 39 * tab2.col0 ) FROM tab2 GROUP BY tab2.col1 ---- 62 62 62 | > | 57853 57854 57855 57856 57857 57858 57859 57860 57861 57862 57863 57864 57865 57866 57867 | query I rowsort SELECT ALL 73 * - ( tab2.col1 ) FROM tab2 GROUP BY tab2.col1 ---- -2993 -4307 -4453 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT + + COALESCE ( + 62, col2, 94, - 39 * tab2.col0 ) FROM tab2 GROUP BY tab2.col1 ---- 62 62 62 |
︙ | ︙ | |||
58458 58459 58460 58461 58462 58463 58464 58465 58466 58467 58468 58469 58470 58471 | skipif mysql # not compatible query I rowsort label-8026 SELECT DISTINCT - - 55 / - tab2.col2 AS col2 FROM tab2 GROUP BY tab2.col2 ---- 0 query I rowsort SELECT cor0.col2 * COALESCE ( - 40, cor0.col1 * - ( cor0.col2 ) ) AS col2 FROM tab2 AS cor0 GROUP BY cor0.col2 ---- -2320 -3160 -3480 | > | 58510 58511 58512 58513 58514 58515 58516 58517 58518 58519 58520 58521 58522 58523 58524 | skipif mysql # not compatible query I rowsort label-8026 SELECT DISTINCT - - 55 / - tab2.col2 AS col2 FROM tab2 GROUP BY tab2.col2 ---- 0 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT cor0.col2 * COALESCE ( - 40, cor0.col1 * - ( cor0.col2 ) ) AS col2 FROM tab2 AS cor0 GROUP BY cor0.col2 ---- -2320 -3160 -3480 |
︙ | ︙ | |||
59512 59513 59514 59515 59516 59517 59518 59519 59520 59521 59522 59523 59524 59525 | SELECT + + COALESCE ( - 51, col2 * - col0 ) DIV + 84 AS col0 FROM tab0 GROUP BY tab0.col0 ---- 0 0 0 skipif mysql # not compatible query I rowsort label-8176 SELECT + + COALESCE ( - 51, col2 * - col0 ) / + 84 AS col0 FROM tab0 GROUP BY tab0.col0 ---- 0 0 0 | > | 59565 59566 59567 59568 59569 59570 59571 59572 59573 59574 59575 59576 59577 59578 59579 | SELECT + + COALESCE ( - 51, col2 * - col0 ) DIV + 84 AS col0 FROM tab0 GROUP BY tab0.col0 ---- 0 0 0 skipif mysql # not compatible skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort label-8176 SELECT + + COALESCE ( - 51, col2 * - col0 ) / + 84 AS col0 FROM tab0 GROUP BY tab0.col0 ---- 0 0 0 |
︙ | ︙ | |||
60037 60038 60039 60040 60041 60042 60043 60044 60045 60046 60047 60048 60049 60050 | query I rowsort SELECT ALL - 96 col0 FROM tab2 GROUP BY tab2.col0 ---- -96 -96 -96 query I rowsort SELECT COALESCE ( - 72, - tab2.col1 ) AS col1 FROM tab2 GROUP BY tab2.col0 ---- -72 -72 -72 | > | 60091 60092 60093 60094 60095 60096 60097 60098 60099 60100 60101 60102 60103 60104 60105 | query I rowsort SELECT ALL - 96 col0 FROM tab2 GROUP BY tab2.col0 ---- -96 -96 -96 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT COALESCE ( - 72, - tab2.col1 ) AS col1 FROM tab2 GROUP BY tab2.col0 ---- -72 -72 -72 |
︙ | ︙ | |||
62742 62743 62744 62745 62746 62747 62748 62749 62750 62751 62752 62753 62754 62755 | -66 query I rowsort SELECT DISTINCT 20 AS col0 FROM tab1 cor0 GROUP BY cor0.col0 ---- 20 query I rowsort SELECT - COALESCE ( 32, + tab0.col0, - ( tab0.col0 ) * - tab0.col2 ) AS col1 FROM tab0 GROUP BY tab0.col1 ---- -32 -32 query I rowsort | > | 62797 62798 62799 62800 62801 62802 62803 62804 62805 62806 62807 62808 62809 62810 62811 | -66 query I rowsort SELECT DISTINCT 20 AS col0 FROM tab1 cor0 GROUP BY cor0.col0 ---- 20 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT - COALESCE ( 32, + tab0.col0, - ( tab0.col0 ) * - tab0.col2 ) AS col1 FROM tab0 GROUP BY tab0.col1 ---- -32 -32 query I rowsort |
︙ | ︙ | |||
63217 63218 63219 63220 63221 63222 63223 63224 63225 63226 63227 63228 63229 63230 | query I rowsort SELECT ALL + 17 FROM tab1 GROUP BY tab1.col2 ---- 17 17 17 query I rowsort SELECT ALL - COALESCE ( 6, - tab2.col0 ) FROM tab2 GROUP BY tab2.col2 ---- -6 -6 -6 | > | 63273 63274 63275 63276 63277 63278 63279 63280 63281 63282 63283 63284 63285 63286 63287 | query I rowsort SELECT ALL + 17 FROM tab1 GROUP BY tab1.col2 ---- 17 17 17 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT ALL - COALESCE ( 6, - tab2.col0 ) FROM tab2 GROUP BY tab2.col2 ---- -6 -6 -6 |
︙ | ︙ | |||
63780 63781 63782 63783 63784 63785 63786 63787 63788 63789 63790 63791 63792 63793 | query I rowsort SELECT + - 78 + - 95 FROM tab0 GROUP BY tab0.col1 ---- -173 -173 query I rowsort SELECT - + COALESCE ( + 27, col1 ) FROM tab0 GROUP BY tab0.col2 ---- -27 -27 -27 | > | 63837 63838 63839 63840 63841 63842 63843 63844 63845 63846 63847 63848 63849 63850 63851 | query I rowsort SELECT + - 78 + - 95 FROM tab0 GROUP BY tab0.col1 ---- -173 -173 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT - + COALESCE ( + 27, col1 ) FROM tab0 GROUP BY tab0.col2 ---- -27 -27 -27 |
︙ | ︙ | |||
64554 64555 64556 64557 64558 64559 64560 64561 64562 64563 64564 64565 64566 64567 | query I rowsort SELECT DISTINCT - col1 AS col0 FROM tab0 GROUP BY tab0.col1 ---- -81 0 query I rowsort SELECT DISTINCT - tab1.col1 * COALESCE ( 52, - tab1.col1, + tab1.col2 * + 64 ) FROM tab1 GROUP BY tab1.col1 ---- -2288 -2964 -312 | > | 64612 64613 64614 64615 64616 64617 64618 64619 64620 64621 64622 64623 64624 64625 64626 | query I rowsort SELECT DISTINCT - col1 AS col0 FROM tab0 GROUP BY tab0.col1 ---- -81 0 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT DISTINCT - tab1.col1 * COALESCE ( 52, - tab1.col1, + tab1.col2 * + 64 ) FROM tab1 GROUP BY tab1.col1 ---- -2288 -2964 -312 |
︙ | ︙ | |||
64696 64697 64698 64699 64700 64701 64702 64703 64704 64705 64706 64707 64708 64709 | SELECT DISTINCT + + COALESCE ( + tab0.col0, 33, + tab0.col2 DIV - tab0.col1 ) * + 7 AS col2 FROM tab0 GROUP BY tab0.col0 ---- 182 301 581 skipif mysql # not compatible query I rowsort label-8874 SELECT DISTINCT + + COALESCE ( + tab0.col0, 33, + tab0.col2 / - tab0.col1 ) * + 7 AS col2 FROM tab0 GROUP BY tab0.col0 ---- 182 301 581 | > | 64755 64756 64757 64758 64759 64760 64761 64762 64763 64764 64765 64766 64767 64768 64769 | SELECT DISTINCT + + COALESCE ( + tab0.col0, 33, + tab0.col2 DIV - tab0.col1 ) * + 7 AS col2 FROM tab0 GROUP BY tab0.col0 ---- 182 301 581 skipif mysql # not compatible skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort label-8874 SELECT DISTINCT + + COALESCE ( + tab0.col0, 33, + tab0.col2 / - tab0.col1 ) * + 7 AS col2 FROM tab0 GROUP BY tab0.col0 ---- 182 301 581 |
︙ | ︙ | |||
64740 64741 64742 64743 64744 64745 64746 64747 64748 64749 64750 64751 64752 64753 | SELECT - COALESCE ( - 76, + col1, + ( 16 ) - - tab2.col0 ) + + CAST( NULL AS DECIMAL ) AS col1 FROM tab2 GROUP BY tab2.col0 ---- NULL NULL NULL skipif mysql # not compatible query I rowsort label-8879 SELECT - COALESCE ( - 76, + col1, + ( 16 ) - - tab2.col0 ) + + CAST ( NULL AS REAL ) AS col1 FROM tab2 GROUP BY tab2.col0 ---- NULL NULL NULL | > | 64800 64801 64802 64803 64804 64805 64806 64807 64808 64809 64810 64811 64812 64813 64814 | SELECT - COALESCE ( - 76, + col1, + ( 16 ) - - tab2.col0 ) + + CAST( NULL AS DECIMAL ) AS col1 FROM tab2 GROUP BY tab2.col0 ---- NULL NULL NULL skipif mysql # not compatible skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort label-8879 SELECT - COALESCE ( - 76, + col1, + ( 16 ) - - tab2.col0 ) + + CAST ( NULL AS REAL ) AS col1 FROM tab2 GROUP BY tab2.col0 ---- NULL NULL NULL |
︙ | ︙ | |||
65183 65184 65185 65186 65187 65188 65189 65190 65191 65192 65193 65194 65195 65196 | query I rowsort SELECT - - 86 AS col1 FROM tab2 GROUP BY tab2.col1 ---- 86 86 86 query I rowsort SELECT DISTINCT COALESCE ( + COALESCE ( 41, tab0.col1 ), - tab0.col1 * + tab0.col0 + tab0.col0 ) AS col2 FROM tab0 GROUP BY tab0.col1 ---- 41 query I rowsort SELECT DISTINCT NULLIF ( tab2.col1, - tab2.col1 * tab2.col1 ) FROM tab2 GROUP BY tab2.col1 | > | 65244 65245 65246 65247 65248 65249 65250 65251 65252 65253 65254 65255 65256 65257 65258 | query I rowsort SELECT - - 86 AS col1 FROM tab2 GROUP BY tab2.col1 ---- 86 86 86 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT DISTINCT COALESCE ( + COALESCE ( 41, tab0.col1 ), - tab0.col1 * + tab0.col0 + tab0.col0 ) AS col2 FROM tab0 GROUP BY tab0.col1 ---- 41 query I rowsort SELECT DISTINCT NULLIF ( tab2.col1, - tab2.col1 * tab2.col1 ) FROM tab2 GROUP BY tab2.col1 |
︙ | ︙ | |||
65740 65741 65742 65743 65744 65745 65746 65747 65748 65749 65750 65751 65752 65753 | query I rowsort SELECT ALL + tab1.col1 * - 38 AS col0 FROM tab1 GROUP BY tab1.col1 ---- -1672 -2166 -228 query I rowsort SELECT ALL + + COALESCE ( - 49, tab0.col2, tab0.col0 ) FROM tab0 GROUP BY tab0.col1 ---- -49 -49 query I rowsort | > | 65802 65803 65804 65805 65806 65807 65808 65809 65810 65811 65812 65813 65814 65815 65816 | query I rowsort SELECT ALL + tab1.col1 * - 38 AS col0 FROM tab1 GROUP BY tab1.col1 ---- -1672 -2166 -228 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT ALL + + COALESCE ( - 49, tab0.col2, tab0.col0 ) FROM tab0 GROUP BY tab0.col1 ---- -49 -49 query I rowsort |
︙ | ︙ | |||
69255 69256 69257 69258 69259 69260 69261 69262 69263 69264 69265 69266 69267 69268 | onlyif mysql # CAST syntax: SIGNED type: query I rowsort label-9508 SELECT DISTINCT COALESCE ( 61, tab0.col1 ) * + CAST( NULL AS SIGNED ) FROM tab0 GROUP BY col0 ---- NULL skipif mysql # not compatible query I rowsort label-9508 SELECT DISTINCT COALESCE ( 61, tab0.col1 ) * + CAST ( NULL AS INTEGER ) FROM tab0 GROUP BY col0 ---- NULL query I rowsort SELECT DISTINCT - - 44 - tab2.col2 * tab2.col2 FROM tab2 GROUP BY tab2.col2 | > | 69318 69319 69320 69321 69322 69323 69324 69325 69326 69327 69328 69329 69330 69331 69332 | onlyif mysql # CAST syntax: SIGNED type: query I rowsort label-9508 SELECT DISTINCT COALESCE ( 61, tab0.col1 ) * + CAST( NULL AS SIGNED ) FROM tab0 GROUP BY col0 ---- NULL skipif mysql # not compatible skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort label-9508 SELECT DISTINCT COALESCE ( 61, tab0.col1 ) * + CAST ( NULL AS INTEGER ) FROM tab0 GROUP BY col0 ---- NULL query I rowsort SELECT DISTINCT - - 44 - tab2.col2 * tab2.col2 FROM tab2 GROUP BY tab2.col2 |
︙ | ︙ | |||
69467 69468 69469 69470 69471 69472 69473 69474 69475 69476 69477 69478 69479 69480 69481 69482 69483 69484 69485 69486 69487 69488 69489 69490 69491 69492 69493 69494 69495 | query I rowsort SELECT DISTINCT 56 * col0 AS col2 FROM tab2 AS cor0 GROUP BY cor0.col0 ---- 5096 5152 840 query I rowsort SELECT - COALESCE ( - 85, cor0.col1 ) AS col0 FROM tab2 AS cor0 GROUP BY cor0.col0 ---- 85 85 85 skipif postgresql # PostgreSQL requires AS when renaming output columns query I rowsort SELECT + - 63 col2 FROM tab0 GROUP BY col0 ---- -63 -63 -63 query I rowsort SELECT - COALESCE ( 22, cor0.col0 * ( - cor0.col1 ), + cor0.col1 + + cor0.col2 * cor0.col1 ) * cor0.col2 AS col2 FROM tab1 AS cor0 GROUP BY cor0.col2 ---- -1562 -176 -990 | > > | 69531 69532 69533 69534 69535 69536 69537 69538 69539 69540 69541 69542 69543 69544 69545 69546 69547 69548 69549 69550 69551 69552 69553 69554 69555 69556 69557 69558 69559 69560 69561 | query I rowsort SELECT DISTINCT 56 * col0 AS col2 FROM tab2 AS cor0 GROUP BY cor0.col0 ---- 5096 5152 840 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT - COALESCE ( - 85, cor0.col1 ) AS col0 FROM tab2 AS cor0 GROUP BY cor0.col0 ---- 85 85 85 skipif postgresql # PostgreSQL requires AS when renaming output columns query I rowsort SELECT + - 63 col2 FROM tab0 GROUP BY col0 ---- -63 -63 -63 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT - COALESCE ( 22, cor0.col0 * ( - cor0.col1 ), + cor0.col1 + + cor0.col2 * cor0.col1 ) * cor0.col2 AS col2 FROM tab1 AS cor0 GROUP BY cor0.col2 ---- -1562 -176 -990 |
︙ | ︙ | |||
69805 69806 69807 69808 69809 69810 69811 69812 69813 69814 69815 69816 69817 69818 | SELECT COALESCE ( 36, cor0.col1 + - COALESCE ( + cor0.col0, + cor0.col1 DIV - cor0.col0 ), cor0.col1 DIV col2 ) AS col2 FROM tab1 AS cor0 GROUP BY cor0.col1 ---- 36 36 36 skipif mysql # not compatible query I rowsort label-9581 SELECT COALESCE ( 36, cor0.col1 + - COALESCE ( + cor0.col0, + cor0.col1 / - cor0.col0 ), cor0.col1 / col2 ) AS col2 FROM tab1 AS cor0 GROUP BY cor0.col1 ---- 36 36 36 | > | 69871 69872 69873 69874 69875 69876 69877 69878 69879 69880 69881 69882 69883 69884 69885 | SELECT COALESCE ( 36, cor0.col1 + - COALESCE ( + cor0.col0, + cor0.col1 DIV - cor0.col0 ), cor0.col1 DIV col2 ) AS col2 FROM tab1 AS cor0 GROUP BY cor0.col1 ---- 36 36 36 skipif mysql # not compatible skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort label-9581 SELECT COALESCE ( 36, cor0.col1 + - COALESCE ( + cor0.col0, + cor0.col1 / - cor0.col0 ), cor0.col1 / col2 ) AS col2 FROM tab1 AS cor0 GROUP BY cor0.col1 ---- 36 36 36 |
︙ | ︙ | |||
69938 69939 69940 69941 69942 69943 69944 69945 69946 69947 69948 69949 69950 69951 | 46 query I rowsort SELECT DISTINCT 87 FROM tab0 GROUP BY tab0.col1 ---- 87 query I rowsort SELECT - COALESCE ( + 14, - tab2.col0 ) FROM tab2, tab0 AS cor0 GROUP BY tab2.col2 ---- -14 -14 -14 | > | 70005 70006 70007 70008 70009 70010 70011 70012 70013 70014 70015 70016 70017 70018 70019 | 46 query I rowsort SELECT DISTINCT 87 FROM tab0 GROUP BY tab0.col1 ---- 87 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT - COALESCE ( + 14, - tab2.col0 ) FROM tab2, tab0 AS cor0 GROUP BY tab2.col2 ---- -14 -14 -14 |
︙ | ︙ | |||
70297 70298 70299 70300 70301 70302 70303 70304 70305 70306 70307 70308 70309 70310 | query I rowsort SELECT 45 FROM tab0 GROUP BY tab0.col2 ---- 45 45 45 query I rowsort SELECT DISTINCT COALESCE ( 83, + cor1.col1 ) FROM tab0 cor0 CROSS JOIN tab0 AS cor1 GROUP BY cor0.col2, cor1.col0, cor1.col2 ---- 83 query I rowsort SELECT ALL cor1.col0 * + 82 AS col0 FROM tab2 AS cor0 CROSS JOIN tab1 AS cor1 GROUP BY cor0.col2, cor1.col0, cor0.col0 | > | 70365 70366 70367 70368 70369 70370 70371 70372 70373 70374 70375 70376 70377 70378 70379 | query I rowsort SELECT 45 FROM tab0 GROUP BY tab0.col2 ---- 45 45 45 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT DISTINCT COALESCE ( 83, + cor1.col1 ) FROM tab0 cor0 CROSS JOIN tab0 AS cor1 GROUP BY cor0.col2, cor1.col0, cor1.col2 ---- 83 query I rowsort SELECT ALL cor1.col0 * + 82 AS col0 FROM tab2 AS cor0 CROSS JOIN tab1 AS cor1 GROUP BY cor0.col2, cor1.col0, cor0.col0 |
︙ | ︙ | |||
70811 70812 70813 70814 70815 70816 70817 70818 70819 70820 70821 70822 70823 70824 | query I rowsort SELECT + - 97 AS col0 FROM tab2 GROUP BY tab2.col0 ---- -97 -97 -97 query I rowsort SELECT DISTINCT + - COALESCE ( 73, tab0.col1 ) AS col2 FROM tab0 GROUP BY tab0.col2 ---- -73 onlyif mysql # DIV for integer division: query I rowsort label-9720 | > | 70880 70881 70882 70883 70884 70885 70886 70887 70888 70889 70890 70891 70892 70893 70894 | query I rowsort SELECT + - 97 AS col0 FROM tab2 GROUP BY tab2.col0 ---- -97 -97 -97 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT DISTINCT + - COALESCE ( 73, tab0.col1 ) AS col2 FROM tab0 GROUP BY tab0.col2 ---- -73 onlyif mysql # DIV for integer division: query I rowsort label-9720 |
︙ | ︙ | |||
71945 71946 71947 71948 71949 71950 71951 71952 71953 71954 71955 71956 71957 71958 | query I rowsort SELECT - - 74 FROM tab1 GROUP BY tab1.col2 ---- 74 74 74 query I rowsort SELECT - COALESCE ( - 80, + tab0.col2 * col2 + tab0.col1 ) AS col2 FROM tab0 GROUP BY tab0.col0 ---- 80 80 80 | > | 72015 72016 72017 72018 72019 72020 72021 72022 72023 72024 72025 72026 72027 72028 72029 | query I rowsort SELECT - - 74 FROM tab1 GROUP BY tab1.col2 ---- 74 74 74 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT - COALESCE ( - 80, + tab0.col2 * col2 + tab0.col1 ) AS col2 FROM tab0 GROUP BY tab0.col0 ---- 80 80 80 |
︙ | ︙ | |||
72591 72592 72593 72594 72595 72596 72597 72598 72599 72600 72601 72602 72603 72604 | query I rowsort SELECT + - 74 FROM tab1 GROUP BY tab1.col1 ---- -74 -74 -74 query I rowsort SELECT + CASE 16 WHEN + cor0.col2 THEN NULL WHEN 67 THEN + ( + cor0.col1 ) END AS col0 FROM tab2 AS cor0 GROUP BY cor0.col2 ---- NULL NULL NULL | > | 72662 72663 72664 72665 72666 72667 72668 72669 72670 72671 72672 72673 72674 72675 72676 | query I rowsort SELECT + - 74 FROM tab1 GROUP BY tab1.col1 ---- -74 -74 -74 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT + CASE 16 WHEN + cor0.col2 THEN NULL WHEN 67 THEN + ( + cor0.col1 ) END AS col0 FROM tab2 AS cor0 GROUP BY cor0.col2 ---- NULL NULL NULL |
︙ | ︙ |
Changes to test/random/groupby/slt_good_3.test.
︙ | ︙ | |||
123 124 125 126 127 128 129 130 131 132 133 134 135 136 | SELECT + ( COALESCE ( + 29, + tab1.col2 ) ) DIV - tab1.col1 AS col0 FROM tab1 GROUP BY col1 ---- -4 0 0 skipif mysql # not compatible query I rowsort label-11 SELECT + ( COALESCE ( + 29, + tab1.col2 ) ) / - tab1.col1 AS col0 FROM tab1 GROUP BY col1 ---- -4 0 0 | > | 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 | SELECT + ( COALESCE ( + 29, + tab1.col2 ) ) DIV - tab1.col1 AS col0 FROM tab1 GROUP BY col1 ---- -4 0 0 skipif mysql # not compatible skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort label-11 SELECT + ( COALESCE ( + 29, + tab1.col2 ) ) / - tab1.col1 AS col0 FROM tab1 GROUP BY col1 ---- -4 0 0 |
︙ | ︙ | |||
1614 1615 1616 1617 1618 1619 1620 1621 1622 1623 1624 1625 1626 1627 | query I rowsort SELECT - 89 FROM tab0 GROUP BY tab0.col0 ---- -89 -89 -89 query I rowsort SELECT - COALESCE ( - 4, cor0.col0 * col0, ( - cor0.col2 ) ) * cor0.col0 AS col1 FROM tab0 AS cor0 GROUP BY col0 ---- 104 172 332 | > | 1615 1616 1617 1618 1619 1620 1621 1622 1623 1624 1625 1626 1627 1628 1629 | query I rowsort SELECT - 89 FROM tab0 GROUP BY tab0.col0 ---- -89 -89 -89 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT - COALESCE ( - 4, cor0.col0 * col0, ( - cor0.col2 ) ) * cor0.col0 AS col1 FROM tab0 AS cor0 GROUP BY col0 ---- 104 172 332 |
︙ | ︙ | |||
3239 3240 3241 3242 3243 3244 3245 3246 3247 3248 3249 3250 3251 3252 | query I rowsort SELECT ALL - + ( 46 ) AS col0 FROM tab0 GROUP BY tab0.col1 ---- -46 -46 query I rowsort SELECT NULLIF ( - col2, tab0.col2 * - COALESCE ( + 59, col1, col2 ) ) + COALESCE ( 83, tab0.col2 + - ( tab0.col2 ) * + tab0.col2 ) AS col1 FROM tab0 GROUP BY tab0.col2 ---- 4 45 59 | > | 3241 3242 3243 3244 3245 3246 3247 3248 3249 3250 3251 3252 3253 3254 3255 | query I rowsort SELECT ALL - + ( 46 ) AS col0 FROM tab0 GROUP BY tab0.col1 ---- -46 -46 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT NULLIF ( - col2, tab0.col2 * - COALESCE ( + 59, col1, col2 ) ) + COALESCE ( 83, tab0.col2 + - ( tab0.col2 ) * + tab0.col2 ) AS col1 FROM tab0 GROUP BY tab0.col2 ---- 4 45 59 |
︙ | ︙ | |||
3986 3987 3988 3989 3990 3991 3992 3993 3994 3995 3996 3997 3998 3999 | query I rowsort SELECT ALL + 75 AS col1 FROM tab0 GROUP BY tab0.col0 ---- 75 75 75 query I rowsort SELECT + 20 * COALESCE ( 95, - tab1.col2, - tab1.col1 ) FROM tab1 GROUP BY tab1.col0 ---- 1900 1900 1900 | > | 3989 3990 3991 3992 3993 3994 3995 3996 3997 3998 3999 4000 4001 4002 4003 | query I rowsort SELECT ALL + 75 AS col1 FROM tab0 GROUP BY tab0.col0 ---- 75 75 75 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT + 20 * COALESCE ( 95, - tab1.col2, - tab1.col1 ) FROM tab1 GROUP BY tab1.col0 ---- 1900 1900 1900 |
︙ | ︙ | |||
4133 4134 4135 4136 4137 4138 4139 4140 4141 4142 4143 4144 4145 4146 | query I rowsort SELECT DISTINCT ( cor0.col0 ) AS col2 FROM tab1 AS cor0 GROUP BY cor0.col0 ---- 22 28 82 query I rowsort SELECT ALL COALESCE ( 10, cor0.col1, - cor0.col2 + + 31 ) * 25 + cor0.col2 * + ( 75 ) AS col2 FROM tab1 AS cor0 GROUP BY cor0.col0, cor0.col2 ---- 3625 5575 850 | > | 4137 4138 4139 4140 4141 4142 4143 4144 4145 4146 4147 4148 4149 4150 4151 | query I rowsort SELECT DISTINCT ( cor0.col0 ) AS col2 FROM tab1 AS cor0 GROUP BY cor0.col0 ---- 22 28 82 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT ALL COALESCE ( 10, cor0.col1, - cor0.col2 + + 31 ) * 25 + cor0.col2 * + ( 75 ) AS col2 FROM tab1 AS cor0 GROUP BY cor0.col0, cor0.col2 ---- 3625 5575 850 |
︙ | ︙ | |||
4551 4552 4553 4554 4555 4556 4557 4558 4559 4560 4561 4562 4563 4564 | query I rowsort SELECT DISTINCT - + col2 AS col0 FROM tab2 GROUP BY tab2.col2 ---- -58 -79 -87 query I rowsort SELECT col1 * COALESCE ( 32, - col2 ) AS col2 FROM tab0 GROUP BY col1 ---- 0 2592 skipif postgresql # PostgreSQL requires AS when renaming output columns | > | 4556 4557 4558 4559 4560 4561 4562 4563 4564 4565 4566 4567 4568 4569 4570 | query I rowsort SELECT DISTINCT - + col2 AS col0 FROM tab2 GROUP BY tab2.col2 ---- -58 -79 -87 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT col1 * COALESCE ( 32, - col2 ) AS col2 FROM tab0 GROUP BY col1 ---- 0 2592 skipif postgresql # PostgreSQL requires AS when renaming output columns |
︙ | ︙ | |||
5379 5380 5381 5382 5383 5384 5385 5386 5387 5388 5389 5390 5391 5392 | query I rowsort SELECT DISTINCT + cor0.col1 AS col1 FROM tab2 cor0 GROUP BY cor0.col1 ---- 41 59 61 query I rowsort SELECT DISTINCT 73 * COALESCE ( 82, cor0.col0 - - CASE cor0.col1 WHEN - col2 / + CASE cor0.col2 WHEN + 66 * - cor0.col2 THEN NULL WHEN COALESCE ( + cor0.col1, + cor0.col1 + cor0.col1 * - cor0.col0, - cor0.col2 * col2 ) THEN cor0.col1 END THEN - cor0.col0 + + cor0.col1 ELSE + cor0.col0 END * - cor0.col0 ) FROM tab0 AS cor0 GROUP BY cor0.col2 ---- 5986 query I rowsort SELECT DISTINCT + 24 AS col1 FROM tab0 AS cor0 GROUP BY cor0.col2 | > | 5385 5386 5387 5388 5389 5390 5391 5392 5393 5394 5395 5396 5397 5398 5399 | query I rowsort SELECT DISTINCT + cor0.col1 AS col1 FROM tab2 cor0 GROUP BY cor0.col1 ---- 41 59 61 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT DISTINCT 73 * COALESCE ( 82, cor0.col0 - - CASE cor0.col1 WHEN - col2 / + CASE cor0.col2 WHEN + 66 * - cor0.col2 THEN NULL WHEN COALESCE ( + cor0.col1, + cor0.col1 + cor0.col1 * - cor0.col0, - cor0.col2 * col2 ) THEN cor0.col1 END THEN - cor0.col0 + + cor0.col1 ELSE + cor0.col0 END * - cor0.col0 ) FROM tab0 AS cor0 GROUP BY cor0.col2 ---- 5986 query I rowsort SELECT DISTINCT + 24 AS col1 FROM tab0 AS cor0 GROUP BY cor0.col2 |
︙ | ︙ | |||
5448 5449 5450 5451 5452 5453 5454 5455 5456 5457 5458 5459 5460 5461 | SELECT ALL COALESCE ( 98, - col0 + - cor0.col2 DIV + cor0.col1 ) FROM tab2 AS cor0 GROUP BY cor0.col1, cor0.col1 ---- 98 98 98 skipif mysql # not compatible query I rowsort label-738 SELECT ALL COALESCE ( 98, - col0 + - cor0.col2 / + cor0.col1 ) FROM tab2 AS cor0 GROUP BY cor0.col1, cor0.col1 ---- 98 98 98 | > | 5455 5456 5457 5458 5459 5460 5461 5462 5463 5464 5465 5466 5467 5468 5469 | SELECT ALL COALESCE ( 98, - col0 + - cor0.col2 DIV + cor0.col1 ) FROM tab2 AS cor0 GROUP BY cor0.col1, cor0.col1 ---- 98 98 98 skipif mysql # not compatible skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort label-738 SELECT ALL COALESCE ( 98, - col0 + - cor0.col2 / + cor0.col1 ) FROM tab2 AS cor0 GROUP BY cor0.col1, cor0.col1 ---- 98 98 98 |
︙ | ︙ | |||
5593 5594 5595 5596 5597 5598 5599 5600 5601 5602 5603 5604 5605 5606 | query I rowsort SELECT + 61 AS col2 FROM tab0 AS cor0 GROUP BY cor0.col0, cor0.col0 ---- 61 61 61 query I rowsort SELECT - COALESCE ( - 31, cor0.col2, ( 36 ), cor0.col1 ) FROM tab0 cor0 GROUP BY cor0.col0, cor0.col1 ---- 31 31 31 | > | 5601 5602 5603 5604 5605 5606 5607 5608 5609 5610 5611 5612 5613 5614 5615 | query I rowsort SELECT + 61 AS col2 FROM tab0 AS cor0 GROUP BY cor0.col0, cor0.col0 ---- 61 61 61 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT - COALESCE ( - 31, cor0.col2, ( 36 ), cor0.col1 ) FROM tab0 cor0 GROUP BY cor0.col0, cor0.col1 ---- 31 31 31 |
︙ | ︙ | |||
6441 6442 6443 6444 6445 6446 6447 6448 6449 6450 6451 6452 6453 6454 | SELECT ALL - COALESCE ( 90, + tab0.col1 * 71 + + tab0.col1 DIV tab0.col0, - tab0.col0 * + tab0.col2 ) * 3 AS col0 FROM tab0 GROUP BY col2 ---- -270 -270 -270 skipif mysql # not compatible query I rowsort label-869 SELECT ALL - COALESCE ( 90, + tab0.col1 * 71 + + tab0.col1 / tab0.col0, - tab0.col0 * + tab0.col2 ) * 3 AS col0 FROM tab0 GROUP BY col2 ---- -270 -270 -270 | > | 6450 6451 6452 6453 6454 6455 6456 6457 6458 6459 6460 6461 6462 6463 6464 | SELECT ALL - COALESCE ( 90, + tab0.col1 * 71 + + tab0.col1 DIV tab0.col0, - tab0.col0 * + tab0.col2 ) * 3 AS col0 FROM tab0 GROUP BY col2 ---- -270 -270 -270 skipif mysql # not compatible skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort label-869 SELECT ALL - COALESCE ( 90, + tab0.col1 * 71 + + tab0.col1 / tab0.col0, - tab0.col0 * + tab0.col2 ) * 3 AS col0 FROM tab0 GROUP BY col2 ---- -270 -270 -270 |
︙ | ︙ | |||
6934 6935 6936 6937 6938 6939 6940 6941 6942 6943 6944 6945 6946 6947 | query I rowsort SELECT ALL 78 + - 74 AS col2 FROM tab2 GROUP BY tab2.col2 ---- 4 4 4 query I rowsort SELECT DISTINCT - COALESCE ( 59, tab2.col0 ) AS col1 FROM tab2 GROUP BY tab2.col2 ---- -59 onlyif mysql # DIV for integer division: query I rowsort label-936 | > | 6944 6945 6946 6947 6948 6949 6950 6951 6952 6953 6954 6955 6956 6957 6958 | query I rowsort SELECT ALL 78 + - 74 AS col2 FROM tab2 GROUP BY tab2.col2 ---- 4 4 4 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT DISTINCT - COALESCE ( 59, tab2.col0 ) AS col1 FROM tab2 GROUP BY tab2.col2 ---- -59 onlyif mysql # DIV for integer division: query I rowsort label-936 |
︙ | ︙ | |||
7500 7501 7502 7503 7504 7505 7506 7507 7508 7509 7510 7511 7512 7513 | query I rowsort SELECT ALL + - 7 FROM tab2 GROUP BY tab2.col0 ---- -7 -7 -7 query I rowsort SELECT ALL - + COALESCE ( + 73, tab1.col0 ) AS col0 FROM tab1 GROUP BY tab1.col2 ---- -73 -73 -73 | > | 7511 7512 7513 7514 7515 7516 7517 7518 7519 7520 7521 7522 7523 7524 7525 | query I rowsort SELECT ALL + - 7 FROM tab2 GROUP BY tab2.col0 ---- -7 -7 -7 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT ALL - + COALESCE ( + 73, tab1.col0 ) AS col0 FROM tab1 GROUP BY tab1.col2 ---- -73 -73 -73 |
︙ | ︙ | |||
8120 8121 8122 8123 8124 8125 8126 8127 8128 8129 8130 8131 8132 8133 | query I rowsort SELECT ALL + 17 - - tab2.col2 FROM tab2 GROUP BY col2 ---- 104 75 96 query I rowsort SELECT DISTINCT COALESCE ( + 49, col1, tab1.col0 + tab1.col1 ) FROM tab1 GROUP BY col2 ---- 49 query I rowsort SELECT + 72 AS col0 FROM tab2 cor0 GROUP BY cor0.col1 | > | 8132 8133 8134 8135 8136 8137 8138 8139 8140 8141 8142 8143 8144 8145 8146 | query I rowsort SELECT ALL + 17 - - tab2.col2 FROM tab2 GROUP BY col2 ---- 104 75 96 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT DISTINCT COALESCE ( + 49, col1, tab1.col0 + tab1.col1 ) FROM tab1 GROUP BY col2 ---- 49 query I rowsort SELECT + 72 AS col0 FROM tab2 cor0 GROUP BY cor0.col1 |
︙ | ︙ | |||
8222 8223 8224 8225 8226 8227 8228 8229 8230 8231 8232 8233 8234 8235 | query I rowsort SELECT + 5 FROM tab0 cor0 GROUP BY cor0.col2 ---- 5 5 5 query I rowsort SELECT COALESCE ( + 78, + tab1.col2 + - tab1.col1 ) AS col1 FROM tab1 GROUP BY tab1.col2 ---- 78 78 78 | > | 8235 8236 8237 8238 8239 8240 8241 8242 8243 8244 8245 8246 8247 8248 8249 | query I rowsort SELECT + 5 FROM tab0 cor0 GROUP BY cor0.col2 ---- 5 5 5 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT COALESCE ( + 78, + tab1.col2 + - tab1.col1 ) AS col1 FROM tab1 GROUP BY tab1.col2 ---- 78 78 78 |
︙ | ︙ | |||
10875 10876 10877 10878 10879 10880 10881 10882 10883 10884 10885 10886 10887 10888 | query I rowsort SELECT col0 * + cor0.col1 FROM tab0 AS cor0 GROUP BY cor0.col1, cor0.col0 ---- 0 0 3483 query I rowsort SELECT cor0.col1 + COALESCE ( 35, cor0.col0 - cor0.col2, + cor0.col0 - - CASE cor0.col0 + + cor0.col1 / cor0.col1 WHEN + cor0.col2 * cor0.col2 THEN + cor0.col0 + cor0.col2 WHEN cor0.col2 THEN NULL END, cor0.col2 * cor0.col2 ) AS col1 FROM tab1 AS cor0 GROUP BY cor0.col1 ---- 41 79 92 | > | 10889 10890 10891 10892 10893 10894 10895 10896 10897 10898 10899 10900 10901 10902 10903 | query I rowsort SELECT col0 * + cor0.col1 FROM tab0 AS cor0 GROUP BY cor0.col1, cor0.col0 ---- 0 0 3483 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT cor0.col1 + COALESCE ( 35, cor0.col0 - cor0.col2, + cor0.col0 - - CASE cor0.col0 + + cor0.col1 / cor0.col1 WHEN + cor0.col2 * cor0.col2 THEN + cor0.col0 + cor0.col2 WHEN cor0.col2 THEN NULL END, cor0.col2 * cor0.col2 ) AS col1 FROM tab1 AS cor0 GROUP BY cor0.col1 ---- 41 79 92 |
︙ | ︙ | |||
11775 11776 11777 11778 11779 11780 11781 11782 11783 11784 11785 11786 11787 11788 | query I rowsort SELECT 14 + 18 FROM tab0 GROUP BY tab0.col0 ---- 32 32 32 query I rowsort SELECT COALESCE ( 27, tab0.col2 ) * tab0.col0 FROM tab0 GROUP BY tab0.col0 ---- 1161 2241 702 | > | 11790 11791 11792 11793 11794 11795 11796 11797 11798 11799 11800 11801 11802 11803 11804 | query I rowsort SELECT 14 + 18 FROM tab0 GROUP BY tab0.col0 ---- 32 32 32 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT COALESCE ( 27, tab0.col2 ) * tab0.col0 FROM tab0 GROUP BY tab0.col0 ---- 1161 2241 702 |
︙ | ︙ | |||
13165 13166 13167 13168 13169 13170 13171 13172 13173 13174 13175 13176 13177 13178 | 20 query I rowsort SELECT DISTINCT 91 FROM tab0 AS cor0 GROUP BY cor0.col0 ---- 91 query I rowsort SELECT DISTINCT - COALESCE ( - 70, cor0.col1 ) AS col0 FROM tab1 AS cor0 GROUP BY cor0.col0 ---- 70 query I rowsort SELECT ALL + 43 * col2 FROM tab2 AS cor0 GROUP BY cor0.col2 | > | 13181 13182 13183 13184 13185 13186 13187 13188 13189 13190 13191 13192 13193 13194 13195 | 20 query I rowsort SELECT DISTINCT 91 FROM tab0 AS cor0 GROUP BY cor0.col0 ---- 91 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT DISTINCT - COALESCE ( - 70, cor0.col1 ) AS col0 FROM tab1 AS cor0 GROUP BY cor0.col0 ---- 70 query I rowsort SELECT ALL + 43 * col2 FROM tab2 AS cor0 GROUP BY cor0.col2 |
︙ | ︙ | |||
14871 14872 14873 14874 14875 14876 14877 14878 14879 14880 14881 14882 14883 14884 | query I rowsort SELECT + tab0.col1 * 52 FROM tab0 GROUP BY tab0.col1 ---- 0 4212 query I rowsort SELECT + + COALESCE ( 38, - tab2.col0 + - tab2.col2 ) * tab2.col1 AS col1 FROM tab2 GROUP BY tab2.col1 ---- 1558 2242 2318 | > | 14888 14889 14890 14891 14892 14893 14894 14895 14896 14897 14898 14899 14900 14901 14902 | query I rowsort SELECT + tab0.col1 * 52 FROM tab0 GROUP BY tab0.col1 ---- 0 4212 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT + + COALESCE ( 38, - tab2.col0 + - tab2.col2 ) * tab2.col1 AS col1 FROM tab2 GROUP BY tab2.col1 ---- 1558 2242 2318 |
︙ | ︙ | |||
14969 14970 14971 14972 14973 14974 14975 14976 14977 14978 14979 14980 14981 14982 | SELECT DISTINCT cor0.col1 * COALESCE ( + 14, cor0.col2 DIV + cor0.col0 + cor0.col2, - cor0.col1 ) AS col0 FROM tab2 AS cor0 GROUP BY cor0.col0, cor0.col1 ---- 574 826 854 skipif mysql # not compatible query I rowsort label-2004 SELECT DISTINCT cor0.col1 * COALESCE ( + 14, cor0.col2 / + cor0.col0 + cor0.col2, - cor0.col1 ) AS col0 FROM tab2 AS cor0 GROUP BY cor0.col0, cor0.col1 ---- 574 826 854 | > | 14987 14988 14989 14990 14991 14992 14993 14994 14995 14996 14997 14998 14999 15000 15001 | SELECT DISTINCT cor0.col1 * COALESCE ( + 14, cor0.col2 DIV + cor0.col0 + cor0.col2, - cor0.col1 ) AS col0 FROM tab2 AS cor0 GROUP BY cor0.col0, cor0.col1 ---- 574 826 854 skipif mysql # not compatible skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort label-2004 SELECT DISTINCT cor0.col1 * COALESCE ( + 14, cor0.col2 / + cor0.col0 + cor0.col2, - cor0.col1 ) AS col0 FROM tab2 AS cor0 GROUP BY cor0.col0, cor0.col1 ---- 574 826 854 |
︙ | ︙ | |||
15113 15114 15115 15116 15117 15118 15119 15120 15121 15122 15123 15124 15125 15126 | query I rowsort SELECT + tab0.col0 * col0 FROM tab0 GROUP BY col0 ---- 1849 676 6889 query I rowsort SELECT ALL - - tab0.col2 * COALESCE ( - 18, + tab0.col0 * CASE 98 WHEN - tab0.col0 THEN NULL WHEN - tab0.col2 - tab0.col2 * tab0.col2 THEN NULL WHEN + tab0.col2 THEN tab0.col1 * tab0.col0 ELSE NULL END, tab0.col1 ) FROM tab0 GROUP BY col2 ---- -1422 -432 -684 | > | 15132 15133 15134 15135 15136 15137 15138 15139 15140 15141 15142 15143 15144 15145 15146 | query I rowsort SELECT + tab0.col0 * col0 FROM tab0 GROUP BY col0 ---- 1849 676 6889 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT ALL - - tab0.col2 * COALESCE ( - 18, + tab0.col0 * CASE 98 WHEN - tab0.col0 THEN NULL WHEN - tab0.col2 - tab0.col2 * tab0.col2 THEN NULL WHEN + tab0.col2 THEN tab0.col1 * tab0.col0 ELSE NULL END, tab0.col1 ) FROM tab0 GROUP BY col2 ---- -1422 -432 -684 |
︙ | ︙ | |||
16137 16138 16139 16140 16141 16142 16143 16144 16145 16146 16147 16148 16149 16150 | query I rowsort SELECT 14 FROM tab0 AS cor0 CROSS JOIN tab0 AS cor1 GROUP BY cor0.col0 ---- 14 14 14 query I rowsort SELECT ALL COALESCE ( - 97, + cor0.col1 + NULLIF ( + cor0.col0 + - cor0.col0, cor0.col0 ) ) FROM tab0 AS cor0 GROUP BY cor0.col2 ---- -97 -97 -97 | > | 16157 16158 16159 16160 16161 16162 16163 16164 16165 16166 16167 16168 16169 16170 16171 | query I rowsort SELECT 14 FROM tab0 AS cor0 CROSS JOIN tab0 AS cor1 GROUP BY cor0.col0 ---- 14 14 14 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT ALL COALESCE ( - 97, + cor0.col1 + NULLIF ( + cor0.col0 + - cor0.col0, cor0.col0 ) ) FROM tab0 AS cor0 GROUP BY cor0.col2 ---- -97 -97 -97 |
︙ | ︙ | |||
16261 16262 16263 16264 16265 16266 16267 16268 16269 16270 16271 16272 16273 16274 | skipif mysql # not compatible query I rowsort label-2184 SELECT DISTINCT - CAST ( NULL AS REAL ) + NULLIF ( 48, tab0.col1 ) AS col2 FROM tab0 GROUP BY tab0.col1 ---- NULL query I rowsort SELECT ALL + + tab1.col1 * COALESCE ( 23, tab1.col0 * 50 ) FROM tab1 GROUP BY tab1.col1 ---- 1012 1311 138 | > | 16282 16283 16284 16285 16286 16287 16288 16289 16290 16291 16292 16293 16294 16295 16296 | skipif mysql # not compatible query I rowsort label-2184 SELECT DISTINCT - CAST ( NULL AS REAL ) + NULLIF ( 48, tab0.col1 ) AS col2 FROM tab0 GROUP BY tab0.col1 ---- NULL skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT ALL + + tab1.col1 * COALESCE ( 23, tab1.col0 * 50 ) FROM tab1 GROUP BY tab1.col1 ---- 1012 1311 138 |
︙ | ︙ | |||
17076 17077 17078 17079 17080 17081 17082 17083 17084 17085 17086 17087 17088 17089 | query I rowsort SELECT - + 51 + 87 FROM tab0 GROUP BY tab0.col1 ---- 36 36 query I rowsort SELECT DISTINCT COALESCE ( - ( 23 ), + cor0.col1 * 73, + cor0.col2 ) * + cor0.col2 AS col0 FROM tab1 AS cor0 GROUP BY cor0.col2 ---- -1035 -1633 -184 | > | 17098 17099 17100 17101 17102 17103 17104 17105 17106 17107 17108 17109 17110 17111 17112 | query I rowsort SELECT - + 51 + 87 FROM tab0 GROUP BY tab0.col1 ---- 36 36 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT DISTINCT COALESCE ( - ( 23 ), + cor0.col1 * 73, + cor0.col2 ) * + cor0.col2 AS col0 FROM tab1 AS cor0 GROUP BY cor0.col2 ---- -1035 -1633 -184 |
︙ | ︙ | |||
17102 17103 17104 17105 17106 17107 17108 17109 17110 17111 17112 17113 17114 17115 17116 17117 17118 17119 17120 17121 17122 17123 17124 17125 17126 17127 17128 | query I rowsort SELECT ALL + 30 AS col1 FROM tab0 AS cor0 GROUP BY cor0.col0, cor0.col1 ---- 30 30 30 query I rowsort SELECT + COALESCE ( + 53, + cor0.col1, col1, 72 ) * cor0.col0 AS col0 FROM tab1 AS cor0 GROUP BY cor0.col0 ---- 1166 1484 4346 query I rowsort SELECT ALL - + 17 AS col1 FROM tab0 GROUP BY tab0.col1 ---- -17 -17 query I rowsort SELECT DISTINCT + COALESCE ( - 72, cor0.col1, - cor0.col1 + cor0.col2 * cor0.col2 ) FROM tab0 cor0 GROUP BY cor0.col0 ---- -72 query I rowsort SELECT DISTINCT + cor0.col0 AS col2 FROM tab1 cor0 GROUP BY cor0.col0 | > > | 17125 17126 17127 17128 17129 17130 17131 17132 17133 17134 17135 17136 17137 17138 17139 17140 17141 17142 17143 17144 17145 17146 17147 17148 17149 17150 17151 17152 17153 | query I rowsort SELECT ALL + 30 AS col1 FROM tab0 AS cor0 GROUP BY cor0.col0, cor0.col1 ---- 30 30 30 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT + COALESCE ( + 53, + cor0.col1, col1, 72 ) * cor0.col0 AS col0 FROM tab1 AS cor0 GROUP BY cor0.col0 ---- 1166 1484 4346 query I rowsort SELECT ALL - + 17 AS col1 FROM tab0 GROUP BY tab0.col1 ---- -17 -17 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT DISTINCT + COALESCE ( - 72, cor0.col1, - cor0.col1 + cor0.col2 * cor0.col2 ) FROM tab0 cor0 GROUP BY cor0.col0 ---- -72 query I rowsort SELECT DISTINCT + cor0.col0 AS col2 FROM tab1 cor0 GROUP BY cor0.col0 |
︙ | ︙ | |||
17143 17144 17145 17146 17147 17148 17149 17150 17151 17152 17153 17154 17155 17156 | SELECT COALESCE ( - 79, - cor0.col2 DIV col0, NULLIF ( col2, cor0.col2 ) ) DIV 92 FROM tab2 AS cor0 GROUP BY cor0.col1 ---- 0 0 0 skipif mysql # not compatible query I rowsort label-2303 SELECT COALESCE ( - 79, - cor0.col2 / col0, NULLIF ( col2, cor0.col2 ) ) / 92 FROM tab2 AS cor0 GROUP BY cor0.col1 ---- 0 0 0 | > | 17168 17169 17170 17171 17172 17173 17174 17175 17176 17177 17178 17179 17180 17181 17182 | SELECT COALESCE ( - 79, - cor0.col2 DIV col0, NULLIF ( col2, cor0.col2 ) ) DIV 92 FROM tab2 AS cor0 GROUP BY cor0.col1 ---- 0 0 0 skipif mysql # not compatible skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort label-2303 SELECT COALESCE ( - 79, - cor0.col2 / col0, NULLIF ( col2, cor0.col2 ) ) / 92 FROM tab2 AS cor0 GROUP BY cor0.col1 ---- 0 0 0 |
︙ | ︙ | |||
17453 17454 17455 17456 17457 17458 17459 17460 17461 17462 17463 17464 17465 17466 | SELECT + tab2.col2 * COALESCE ( 15, tab2.col2 + + ( tab2.col1 ) DIV + tab2.col0 ) FROM tab2 GROUP BY tab2.col2 ---- 1185 1305 870 skipif mysql # not compatible query I rowsort label-2345 SELECT + tab2.col2 * COALESCE ( 15, tab2.col2 + + ( tab2.col1 ) / + tab2.col0 ) FROM tab2 GROUP BY tab2.col2 ---- 1185 1305 870 | > | 17479 17480 17481 17482 17483 17484 17485 17486 17487 17488 17489 17490 17491 17492 17493 | SELECT + tab2.col2 * COALESCE ( 15, tab2.col2 + + ( tab2.col1 ) DIV + tab2.col0 ) FROM tab2 GROUP BY tab2.col2 ---- 1185 1305 870 skipif mysql # not compatible skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort label-2345 SELECT + tab2.col2 * COALESCE ( 15, tab2.col2 + + ( tab2.col1 ) / + tab2.col0 ) FROM tab2 GROUP BY tab2.col2 ---- 1185 1305 870 |
︙ | ︙ | |||
18453 18454 18455 18456 18457 18458 18459 18460 18461 18462 18463 18464 18465 18466 | query I rowsort SELECT 21 * + 64 AS col1 FROM tab2 AS cor0 GROUP BY cor0.col2 ---- 1344 1344 1344 query I rowsort SELECT DISTINCT COALESCE ( 95, - cor0.col2 * 84, - 58 * col0 ) AS col1 FROM tab1 AS cor0 GROUP BY cor0.col0 ---- 95 query I rowsort SELECT ALL tab1.col1 * + 70 FROM tab1 GROUP BY col1 | > | 18480 18481 18482 18483 18484 18485 18486 18487 18488 18489 18490 18491 18492 18493 18494 | query I rowsort SELECT 21 * + 64 AS col1 FROM tab2 AS cor0 GROUP BY cor0.col2 ---- 1344 1344 1344 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT DISTINCT COALESCE ( 95, - cor0.col2 * 84, - 58 * col0 ) AS col1 FROM tab1 AS cor0 GROUP BY cor0.col0 ---- 95 query I rowsort SELECT ALL tab1.col1 * + 70 FROM tab1 GROUP BY col1 |
︙ | ︙ | |||
18555 18556 18557 18558 18559 18560 18561 18562 18563 18564 18565 18566 18567 18568 | SELECT cor0.col1 * - COALESCE ( - 54, - cor0.col0, cor0.col0 DIV CASE cor0.col2 WHEN - cor0.col2 THEN 60 * - cor0.col0 ELSE NULL END ) AS col1 FROM tab2 AS cor0 GROUP BY cor0.col0, cor0.col1 ---- 2214 3186 3294 skipif mysql # not compatible query I rowsort label-2487 SELECT cor0.col1 * - COALESCE ( - 54, - cor0.col0, cor0.col0 / CASE cor0.col2 WHEN - cor0.col2 THEN 60 * - cor0.col0 ELSE NULL END ) AS col1 FROM tab2 AS cor0 GROUP BY cor0.col0, cor0.col1 ---- 2214 3186 3294 | > | 18583 18584 18585 18586 18587 18588 18589 18590 18591 18592 18593 18594 18595 18596 18597 | SELECT cor0.col1 * - COALESCE ( - 54, - cor0.col0, cor0.col0 DIV CASE cor0.col2 WHEN - cor0.col2 THEN 60 * - cor0.col0 ELSE NULL END ) AS col1 FROM tab2 AS cor0 GROUP BY cor0.col0, cor0.col1 ---- 2214 3186 3294 skipif mysql # not compatible skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort label-2487 SELECT cor0.col1 * - COALESCE ( - 54, - cor0.col0, cor0.col0 / CASE cor0.col2 WHEN - cor0.col2 THEN 60 * - cor0.col0 ELSE NULL END ) AS col1 FROM tab2 AS cor0 GROUP BY cor0.col0, cor0.col1 ---- 2214 3186 3294 |
︙ | ︙ | |||
18694 18695 18696 18697 18698 18699 18700 18701 18702 18703 18704 18705 18706 18707 | query I rowsort SELECT 96 * - tab2.col0 AS col0 FROM tab2 GROUP BY tab2.col0 ---- -1440 -8736 -8832 query I rowsort SELECT 16 - + tab0.col0 * COALESCE ( + 35, tab0.col2 * + col2 ) FROM tab0 GROUP BY tab0.col0 ---- -1489 -2889 -894 | > | 18723 18724 18725 18726 18727 18728 18729 18730 18731 18732 18733 18734 18735 18736 18737 | query I rowsort SELECT 96 * - tab2.col0 AS col0 FROM tab2 GROUP BY tab2.col0 ---- -1440 -8736 -8832 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT 16 - + tab0.col0 * COALESCE ( + 35, tab0.col2 * + col2 ) FROM tab0 GROUP BY tab0.col0 ---- -1489 -2889 -894 |
︙ | ︙ | |||
18903 18904 18905 18906 18907 18908 18909 18910 18911 18912 18913 18914 18915 18916 | query I rowsort SELECT DISTINCT cor0.col1 AS col0 FROM tab2 cor0 GROUP BY cor0.col1 ---- 41 59 61 query I rowsort SELECT ALL - - COALESCE ( 14, + tab2.col1 ) FROM tab2 GROUP BY tab2.col0 ---- 14 14 14 | > | 18933 18934 18935 18936 18937 18938 18939 18940 18941 18942 18943 18944 18945 18946 18947 | query I rowsort SELECT DISTINCT cor0.col1 AS col0 FROM tab2 cor0 GROUP BY cor0.col1 ---- 41 59 61 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT ALL - - COALESCE ( 14, + tab2.col1 ) FROM tab2 GROUP BY tab2.col0 ---- 14 14 14 |
︙ | ︙ | |||
19046 19047 19048 19049 19050 19051 19052 19053 19054 19055 19056 19057 19058 19059 | query I rowsort SELECT 10 FROM tab0 AS cor0 CROSS JOIN tab2 AS cor1 GROUP BY cor1.col0 ---- 10 10 10 query I rowsort SELECT + COALESCE ( - 67, + tab1.col1, + tab1.col0, tab1.col0 ) FROM tab1 GROUP BY tab1.col1 ---- -67 -67 -67 | > | 19077 19078 19079 19080 19081 19082 19083 19084 19085 19086 19087 19088 19089 19090 19091 | query I rowsort SELECT 10 FROM tab0 AS cor0 CROSS JOIN tab2 AS cor1 GROUP BY cor1.col0 ---- 10 10 10 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT + COALESCE ( - 67, + tab1.col1, + tab1.col0, tab1.col0 ) FROM tab1 GROUP BY tab1.col1 ---- -67 -67 -67 |
︙ | ︙ | |||
19461 19462 19463 19464 19465 19466 19467 19468 19469 19470 19471 19472 19473 19474 | query I rowsort SELECT 43 AS col1 FROM tab0 GROUP BY tab0.col2 ---- 43 43 43 query I rowsort SELECT COALESCE ( 29, + cor0.col0 + 3 ) FROM tab2 AS cor0 GROUP BY cor0.col1 ---- 29 29 29 | > | 19493 19494 19495 19496 19497 19498 19499 19500 19501 19502 19503 19504 19505 19506 19507 | query I rowsort SELECT 43 AS col1 FROM tab0 GROUP BY tab0.col2 ---- 43 43 43 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT COALESCE ( 29, + cor0.col0 + 3 ) FROM tab2 AS cor0 GROUP BY cor0.col1 ---- 29 29 29 |
︙ | ︙ | |||
21798 21799 21800 21801 21802 21803 21804 21805 21806 21807 21808 21809 21810 21811 | query I rowsort SELECT DISTINCT + col2 + 14 * tab2.col2 AS col0 FROM tab2 GROUP BY col2 ---- 1185 1305 870 query I rowsort SELECT DISTINCT - - COALESCE ( - 55, + tab1.col2 ) FROM tab1 GROUP BY tab1.col1 ---- -55 query I rowsort SELECT ALL - + 58 FROM tab2 GROUP BY tab2.col1 | > | 21831 21832 21833 21834 21835 21836 21837 21838 21839 21840 21841 21842 21843 21844 21845 | query I rowsort SELECT DISTINCT + col2 + 14 * tab2.col2 AS col0 FROM tab2 GROUP BY col2 ---- 1185 1305 870 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT DISTINCT - - COALESCE ( - 55, + tab1.col2 ) FROM tab1 GROUP BY tab1.col1 ---- -55 query I rowsort SELECT ALL - + 58 FROM tab2 GROUP BY tab2.col1 |
︙ | ︙ | |||
22113 22114 22115 22116 22117 22118 22119 22120 22121 22122 22123 22124 22125 22126 | SELECT - COALESCE ( 91, - cor0.col2 + cor0.col1 DIV + cor0.col0, cor0.col2 * cor0.col0 ) * - 27 FROM tab1 AS cor0 GROUP BY cor0.col1 ---- 2457 2457 2457 skipif mysql # not compatible query I rowsort label-2973 SELECT - COALESCE ( 91, - cor0.col2 + cor0.col1 / + cor0.col0, cor0.col2 * cor0.col0 ) * - 27 FROM tab1 AS cor0 GROUP BY cor0.col1 ---- 2457 2457 2457 | > | 22147 22148 22149 22150 22151 22152 22153 22154 22155 22156 22157 22158 22159 22160 22161 | SELECT - COALESCE ( 91, - cor0.col2 + cor0.col1 DIV + cor0.col0, cor0.col2 * cor0.col0 ) * - 27 FROM tab1 AS cor0 GROUP BY cor0.col1 ---- 2457 2457 2457 skipif mysql # not compatible skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort label-2973 SELECT - COALESCE ( 91, - cor0.col2 + cor0.col1 / + cor0.col0, cor0.col2 * cor0.col0 ) * - 27 FROM tab1 AS cor0 GROUP BY cor0.col1 ---- 2457 2457 2457 |
︙ | ︙ | |||
22725 22726 22727 22728 22729 22730 22731 22732 22733 22734 22735 22736 22737 22738 | query I rowsort SELECT 89 AS col0 FROM tab2 AS cor0 GROUP BY cor0.col1 ---- 89 89 89 query I rowsort SELECT + + COALESCE ( + 5, tab0.col2 ) FROM tab0 GROUP BY col0 ---- 5 5 5 | > | 22760 22761 22762 22763 22764 22765 22766 22767 22768 22769 22770 22771 22772 22773 22774 | query I rowsort SELECT 89 AS col0 FROM tab2 AS cor0 GROUP BY cor0.col1 ---- 89 89 89 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT + + COALESCE ( + 5, tab0.col2 ) FROM tab0 GROUP BY col0 ---- 5 5 5 |
︙ | ︙ | |||
23086 23087 23088 23089 23090 23091 23092 23093 23094 23095 23096 23097 23098 23099 | 7569 query I rowsort SELECT DISTINCT + + 40 AS col1 FROM tab2 GROUP BY tab2.col0 ---- 40 query I rowsort SELECT ALL - COALESCE ( + 2, cor0.col2, cor0.col2 * cor0.col2 ) FROM tab1 cor0 GROUP BY cor0.col1 ---- -2 -2 -2 | > | 23122 23123 23124 23125 23126 23127 23128 23129 23130 23131 23132 23133 23134 23135 23136 | 7569 query I rowsort SELECT DISTINCT + + 40 AS col1 FROM tab2 GROUP BY tab2.col0 ---- 40 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT ALL - COALESCE ( + 2, cor0.col2, cor0.col2 * cor0.col2 ) FROM tab1 cor0 GROUP BY cor0.col1 ---- -2 -2 -2 |
︙ | ︙ | |||
23594 23595 23596 23597 23598 23599 23600 23601 23602 23603 23604 23605 23606 23607 | -72 query I rowsort SELECT DISTINCT - 64 + 40 AS col1 FROM tab1 GROUP BY tab1.col1 ---- -24 query I rowsort SELECT - COALESCE ( 72, col2 + 98 ) AS col1 FROM tab0 GROUP BY tab0.col1 ---- -72 -72 query I rowsort | > | 23631 23632 23633 23634 23635 23636 23637 23638 23639 23640 23641 23642 23643 23644 23645 | -72 query I rowsort SELECT DISTINCT - 64 + 40 AS col1 FROM tab1 GROUP BY tab1.col1 ---- -24 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT - COALESCE ( 72, col2 + 98 ) AS col1 FROM tab0 GROUP BY tab0.col1 ---- -72 -72 query I rowsort |
︙ | ︙ | |||
27161 27162 27163 27164 27165 27166 27167 27168 27169 27170 27171 27172 27173 27174 | -52 query I rowsort SELECT DISTINCT - + 66 AS col0 FROM tab1 GROUP BY tab1.col2 ---- -66 query I rowsort SELECT DISTINCT + COALESCE ( + 64, tab0.col0 * + tab0.col0 - NULLIF ( tab0.col1 + tab0.col1 * tab0.col0, tab0.col1 + + col1 * tab0.col2 ) ) FROM tab0 GROUP BY tab0.col2 ---- 64 query I rowsort SELECT DISTINCT tab0.col0 - 50 FROM tab0 GROUP BY tab0.col0 | > | 27199 27200 27201 27202 27203 27204 27205 27206 27207 27208 27209 27210 27211 27212 27213 | -52 query I rowsort SELECT DISTINCT - + 66 AS col0 FROM tab1 GROUP BY tab1.col2 ---- -66 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT DISTINCT + COALESCE ( + 64, tab0.col0 * + tab0.col0 - NULLIF ( tab0.col1 + tab0.col1 * tab0.col0, tab0.col1 + + col1 * tab0.col2 ) ) FROM tab0 GROUP BY tab0.col2 ---- 64 query I rowsort SELECT DISTINCT tab0.col0 - 50 FROM tab0 GROUP BY tab0.col0 |
︙ | ︙ | |||
28737 28738 28739 28740 28741 28742 28743 28744 28745 28746 28747 28748 28749 28750 | query I rowsort SELECT + 81 * cor0.col2 FROM tab0 AS cor0 GROUP BY cor0.col2 ---- 1944 3078 6399 query I rowsort SELECT ALL COALESCE ( 92, cor0.col0, + NULLIF ( + 30, 58 + + cor0.col0 ) * 77 ) FROM tab2 AS cor0 GROUP BY cor0.col2 ---- 92 92 92 | > | 28776 28777 28778 28779 28780 28781 28782 28783 28784 28785 28786 28787 28788 28789 28790 | query I rowsort SELECT + 81 * cor0.col2 FROM tab0 AS cor0 GROUP BY cor0.col2 ---- 1944 3078 6399 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT ALL COALESCE ( 92, cor0.col0, + NULLIF ( + 30, 58 + + cor0.col0 ) * 77 ) FROM tab2 AS cor0 GROUP BY cor0.col2 ---- 92 92 92 |
︙ | ︙ | |||
29055 29056 29057 29058 29059 29060 29061 29062 29063 29064 29065 29066 29067 29068 | SELECT - COALESCE ( 27, col1 * 71, cor0.col0 DIV cor0.col1 ) AS col0 FROM tab1 AS cor0 GROUP BY cor0.col1 ---- -27 -27 -27 skipif mysql # not compatible query I rowsort label-3916 SELECT - COALESCE ( 27, col1 * 71, cor0.col0 / cor0.col1 ) AS col0 FROM tab1 AS cor0 GROUP BY cor0.col1 ---- -27 -27 -27 | > | 29095 29096 29097 29098 29099 29100 29101 29102 29103 29104 29105 29106 29107 29108 29109 | SELECT - COALESCE ( 27, col1 * 71, cor0.col0 DIV cor0.col1 ) AS col0 FROM tab1 AS cor0 GROUP BY cor0.col1 ---- -27 -27 -27 skipif mysql # not compatible skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort label-3916 SELECT - COALESCE ( 27, col1 * 71, cor0.col0 / cor0.col1 ) AS col0 FROM tab1 AS cor0 GROUP BY cor0.col1 ---- -27 -27 -27 |
︙ | ︙ | |||
29134 29135 29136 29137 29138 29139 29140 29141 29142 29143 29144 29145 29146 29147 | query I rowsort SELECT ALL + cor0.col2 + 34 FROM tab2 AS cor0 GROUP BY cor0.col2, cor0.col0, cor0.col1 ---- 113 121 92 query I rowsort SELECT DISTINCT tab1.col1 * COALESCE ( 99, + tab1.col2 * tab1.col1 ) FROM tab1 GROUP BY tab1.col1 ---- 4356 5643 594 | > | 29175 29176 29177 29178 29179 29180 29181 29182 29183 29184 29185 29186 29187 29188 29189 | query I rowsort SELECT ALL + cor0.col2 + 34 FROM tab2 AS cor0 GROUP BY cor0.col2, cor0.col0, cor0.col1 ---- 113 121 92 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT DISTINCT tab1.col1 * COALESCE ( 99, + tab1.col2 * tab1.col1 ) FROM tab1 GROUP BY tab1.col1 ---- 4356 5643 594 |
︙ | ︙ | |||
29619 29620 29621 29622 29623 29624 29625 29626 29627 29628 29629 29630 29631 29632 | query I rowsort SELECT cor0.col0 * cor0.col1 AS col1 FROM tab1 AS cor0 GROUP BY cor0.col1, cor0.col0 ---- 132 1596 3608 query I rowsort SELECT - COALESCE ( 47, - cor0.col1, ( cor0.col2 ) ) FROM tab2 AS cor0 GROUP BY cor0.col1 ---- -47 -47 -47 | > | 29661 29662 29663 29664 29665 29666 29667 29668 29669 29670 29671 29672 29673 29674 29675 | query I rowsort SELECT cor0.col0 * cor0.col1 AS col1 FROM tab1 AS cor0 GROUP BY cor0.col1, cor0.col0 ---- 132 1596 3608 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT - COALESCE ( 47, - cor0.col1, ( cor0.col2 ) ) FROM tab2 AS cor0 GROUP BY cor0.col1 ---- -47 -47 -47 |
︙ | ︙ | |||
30351 30352 30353 30354 30355 30356 30357 30358 30359 30360 30361 30362 30363 30364 | query I rowsort label-4085 SELECT - COALESCE ( + 99, tab0.col1 + tab0.col0 ) / CAST( NULL AS SIGNED ) AS col1 FROM tab0 GROUP BY tab0.col1 ---- NULL NULL skipif mysql # not compatible query I rowsort label-4085 SELECT - COALESCE ( + 99, tab0.col1 + tab0.col0 ) / CAST ( NULL AS INTEGER ) AS col1 FROM tab0 GROUP BY tab0.col1 ---- NULL NULL skipif postgresql # PostgreSQL requires AS when renaming output columns | > | 30394 30395 30396 30397 30398 30399 30400 30401 30402 30403 30404 30405 30406 30407 30408 | query I rowsort label-4085 SELECT - COALESCE ( + 99, tab0.col1 + tab0.col0 ) / CAST( NULL AS SIGNED ) AS col1 FROM tab0 GROUP BY tab0.col1 ---- NULL NULL skipif mysql # not compatible skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort label-4085 SELECT - COALESCE ( + 99, tab0.col1 + tab0.col0 ) / CAST ( NULL AS INTEGER ) AS col1 FROM tab0 GROUP BY tab0.col1 ---- NULL NULL skipif postgresql # PostgreSQL requires AS when renaming output columns |
︙ | ︙ | |||
30455 30456 30457 30458 30459 30460 30461 30462 30463 30464 30465 30466 30467 30468 | onlyif mysql # DIV for integer division: query I rowsort label-4097 SELECT DISTINCT COALESCE ( 65, + tab0.col1, + col2 DIV - 35 ) FROM tab0 GROUP BY col2 ---- 65 skipif mysql # not compatible query I rowsort label-4097 SELECT DISTINCT COALESCE ( 65, + tab0.col1, + col2 / - 35 ) FROM tab0 GROUP BY col2 ---- 65 query I rowsort SELECT DISTINCT - + tab0.col0 * NULLIF ( + tab0.col0, - tab0.col0 ) FROM tab0 GROUP BY col0 | > | 30499 30500 30501 30502 30503 30504 30505 30506 30507 30508 30509 30510 30511 30512 30513 | onlyif mysql # DIV for integer division: query I rowsort label-4097 SELECT DISTINCT COALESCE ( 65, + tab0.col1, + col2 DIV - 35 ) FROM tab0 GROUP BY col2 ---- 65 skipif mysql # not compatible skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort label-4097 SELECT DISTINCT COALESCE ( 65, + tab0.col1, + col2 / - 35 ) FROM tab0 GROUP BY col2 ---- 65 query I rowsort SELECT DISTINCT - + tab0.col0 * NULLIF ( + tab0.col0, - tab0.col0 ) FROM tab0 GROUP BY col0 |
︙ | ︙ | |||
31525 31526 31527 31528 31529 31530 31531 31532 31533 31534 31535 31536 31537 31538 | onlyif mysql # DIV for integer division: query I rowsort label-4244 SELECT DISTINCT COALESCE ( 24, cor0.col0 + + cor0.col0 DIV + cor0.col0 ) AS col2 FROM tab0 AS cor0 GROUP BY cor0.col2, col2 ---- 24 skipif mysql # not compatible query I rowsort label-4244 SELECT DISTINCT COALESCE ( 24, cor0.col0 + + cor0.col0 / + cor0.col0 ) AS col2 FROM tab0 AS cor0 GROUP BY cor0.col2, col2 ---- 24 query I rowsort SELECT DISTINCT + 34 + 20 FROM tab0 AS cor0 GROUP BY cor0.col0, cor0.col1 | > | 31570 31571 31572 31573 31574 31575 31576 31577 31578 31579 31580 31581 31582 31583 31584 | onlyif mysql # DIV for integer division: query I rowsort label-4244 SELECT DISTINCT COALESCE ( 24, cor0.col0 + + cor0.col0 DIV + cor0.col0 ) AS col2 FROM tab0 AS cor0 GROUP BY cor0.col2, col2 ---- 24 skipif mysql # not compatible skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort label-4244 SELECT DISTINCT COALESCE ( 24, cor0.col0 + + cor0.col0 / + cor0.col0 ) AS col2 FROM tab0 AS cor0 GROUP BY cor0.col2, col2 ---- 24 query I rowsort SELECT DISTINCT + 34 + 20 FROM tab0 AS cor0 GROUP BY cor0.col0, cor0.col1 |
︙ | ︙ | |||
32103 32104 32105 32106 32107 32108 32109 32110 32111 32112 32113 32114 32115 32116 32117 32118 32119 32120 32121 32122 32123 32124 32125 32126 32127 32128 32129 32130 32131 32132 | SELECT + COALESCE ( - 49, cor0.col0 + - CAST( NULL AS SIGNED ) DIV cor0.col2, cor0.col2 ) FROM tab1 AS cor0 GROUP BY cor0.col1 ---- -49 -49 -49 skipif mysql # not compatible query I rowsort label-4323 SELECT + COALESCE ( - 49, cor0.col0 + - CAST ( NULL AS INTEGER ) / cor0.col2, cor0.col2 ) FROM tab1 AS cor0 GROUP BY cor0.col1 ---- -49 -49 -49 onlyif mysql # DIV for integer division: query I rowsort label-4324 SELECT DISTINCT - ( col1 ) + + cor0.col1 * COALESCE ( 29, cor0.col1 DIV cor0.col1, CASE + col2 WHEN + cor0.col1 + + col0 THEN - cor0.col0 + - cor0.col1 WHEN cor0.col0 - - cor0.col2 THEN + cor0.col0 DIV cor0.col1 + - cor0.col0 ELSE - cor0.col2 END * cor0.col2 ) FROM tab2 AS cor0 GROUP BY col1 ---- 1148 1652 1708 skipif mysql # not compatible query I rowsort label-4324 SELECT DISTINCT - ( col1 ) + + cor0.col1 * COALESCE ( 29, cor0.col1 / cor0.col1, CASE + col2 WHEN + cor0.col1 + + col0 THEN - cor0.col0 + - cor0.col1 WHEN cor0.col0 - - cor0.col2 THEN + cor0.col0 / cor0.col1 + - cor0.col0 ELSE - cor0.col2 END * cor0.col2 ) FROM tab2 AS cor0 GROUP BY col1 ---- 1148 1652 1708 | > > | 32149 32150 32151 32152 32153 32154 32155 32156 32157 32158 32159 32160 32161 32162 32163 32164 32165 32166 32167 32168 32169 32170 32171 32172 32173 32174 32175 32176 32177 32178 32179 32180 | SELECT + COALESCE ( - 49, cor0.col0 + - CAST( NULL AS SIGNED ) DIV cor0.col2, cor0.col2 ) FROM tab1 AS cor0 GROUP BY cor0.col1 ---- -49 -49 -49 skipif mysql # not compatible skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort label-4323 SELECT + COALESCE ( - 49, cor0.col0 + - CAST ( NULL AS INTEGER ) / cor0.col2, cor0.col2 ) FROM tab1 AS cor0 GROUP BY cor0.col1 ---- -49 -49 -49 onlyif mysql # DIV for integer division: query I rowsort label-4324 SELECT DISTINCT - ( col1 ) + + cor0.col1 * COALESCE ( 29, cor0.col1 DIV cor0.col1, CASE + col2 WHEN + cor0.col1 + + col0 THEN - cor0.col0 + - cor0.col1 WHEN cor0.col0 - - cor0.col2 THEN + cor0.col0 DIV cor0.col1 + - cor0.col0 ELSE - cor0.col2 END * cor0.col2 ) FROM tab2 AS cor0 GROUP BY col1 ---- 1148 1652 1708 skipif mysql # not compatible skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort label-4324 SELECT DISTINCT - ( col1 ) + + cor0.col1 * COALESCE ( 29, cor0.col1 / cor0.col1, CASE + col2 WHEN + cor0.col1 + + col0 THEN - cor0.col0 + - cor0.col1 WHEN cor0.col0 - - cor0.col2 THEN + cor0.col0 / cor0.col1 + - cor0.col0 ELSE - cor0.col2 END * cor0.col2 ) FROM tab2 AS cor0 GROUP BY col1 ---- 1148 1652 1708 |
︙ | ︙ | |||
32942 32943 32944 32945 32946 32947 32948 32949 32950 32951 32952 32953 32954 32955 | 61 skipif postgresql # PostgreSQL requires AS when renaming output columns query I rowsort SELECT + tab1.col2 col1 FROM tab1 GROUP BY tab1.col2 HAVING NULL IS NOT NULL OR NOT NULL < ( NULL ) ---- query I rowsort SELECT COALESCE ( 35, - cor0.col0 - + cor0.col0 * cor0.col0, + cor0.col1 + cor0.col0 * - cor0.col0 ) AS col0 FROM tab0 AS cor0 GROUP BY cor0.col1 ---- 35 35 query I rowsort | > | 32990 32991 32992 32993 32994 32995 32996 32997 32998 32999 33000 33001 33002 33003 33004 | 61 skipif postgresql # PostgreSQL requires AS when renaming output columns query I rowsort SELECT + tab1.col2 col1 FROM tab1 GROUP BY tab1.col2 HAVING NULL IS NOT NULL OR NOT NULL < ( NULL ) ---- skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT COALESCE ( 35, - cor0.col0 - + cor0.col0 * cor0.col0, + cor0.col1 + cor0.col0 * - cor0.col0 ) AS col0 FROM tab0 AS cor0 GROUP BY cor0.col1 ---- 35 35 query I rowsort |
︙ | ︙ | |||
32994 32995 32996 32997 32998 32999 33000 33001 33002 33003 33004 33005 33006 33007 | query I rowsort SELECT ALL + cor0.col1 * 64 FROM tab0 AS cor0 GROUP BY cor0.col1, cor0.col1 ---- 0 5184 query I rowsort SELECT + COALESCE ( 36, tab2.col2 ) + - ( tab2.col0 ) AS col0 FROM tab2 GROUP BY tab2.col0 ---- -55 -56 21 | > | 33043 33044 33045 33046 33047 33048 33049 33050 33051 33052 33053 33054 33055 33056 33057 | query I rowsort SELECT ALL + cor0.col1 * 64 FROM tab0 AS cor0 GROUP BY cor0.col1, cor0.col1 ---- 0 5184 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT + COALESCE ( 36, tab2.col2 ) + - ( tab2.col0 ) AS col0 FROM tab2 GROUP BY tab2.col0 ---- -55 -56 21 |
︙ | ︙ | |||
33374 33375 33376 33377 33378 33379 33380 33381 33382 33383 33384 33385 33386 33387 33388 33389 33390 33391 33392 33393 33394 | query I rowsort SELECT + - 41 FROM tab0 GROUP BY col0 ---- -41 -41 -41 query I rowsort SELECT COALESCE ( 65, + tab1.col1 ) FROM tab1 GROUP BY col0 ---- 65 65 65 query I rowsort SELECT DISTINCT + COALESCE ( 4, cor0.col2, cor0.col1 ) AS col2 FROM tab1 cor0 GROUP BY cor0.col1 ---- 4 query I rowsort SELECT 0 AS col2 FROM tab2 cor0 GROUP BY cor0.col1 | > > | 33424 33425 33426 33427 33428 33429 33430 33431 33432 33433 33434 33435 33436 33437 33438 33439 33440 33441 33442 33443 33444 33445 33446 | query I rowsort SELECT + - 41 FROM tab0 GROUP BY col0 ---- -41 -41 -41 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT COALESCE ( 65, + tab1.col1 ) FROM tab1 GROUP BY col0 ---- 65 65 65 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT DISTINCT + COALESCE ( 4, cor0.col2, cor0.col1 ) AS col2 FROM tab1 cor0 GROUP BY cor0.col1 ---- 4 query I rowsort SELECT 0 AS col2 FROM tab2 cor0 GROUP BY cor0.col1 |
︙ | ︙ | |||
33597 33598 33599 33600 33601 33602 33603 33604 33605 33606 33607 33608 33609 33610 | query I rowsort label-4527 SELECT - col2 - CAST ( NULL AS INTEGER ) AS col0 FROM tab2 GROUP BY tab2.col2 ---- NULL NULL NULL query I rowsort SELECT ALL + cor0.col0 + - COALESCE ( 62, col1 * - cor0.col0, + cor0.col1 * + cor0.col0 ) FROM tab1 AS cor0 GROUP BY cor0.col0, col2 ---- -34 -40 20 | > | 33649 33650 33651 33652 33653 33654 33655 33656 33657 33658 33659 33660 33661 33662 33663 | query I rowsort label-4527 SELECT - col2 - CAST ( NULL AS INTEGER ) AS col0 FROM tab2 GROUP BY tab2.col2 ---- NULL NULL NULL skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT ALL + cor0.col0 + - COALESCE ( 62, col1 * - cor0.col0, + cor0.col1 * + cor0.col0 ) FROM tab1 AS cor0 GROUP BY cor0.col0, col2 ---- -34 -40 20 |
︙ | ︙ | |||
33703 33704 33705 33706 33707 33708 33709 33710 33711 33712 33713 33714 33715 33716 | query I rowsort SELECT ALL - - 99 AS col1 FROM tab1 GROUP BY tab1.col2 ---- 99 99 99 query I rowsort SELECT ALL tab0.col1 + COALESCE ( 83, col1, tab0.col1 * + tab0.col2 ) FROM tab0 GROUP BY tab0.col1 ---- 164 83 query I rowsort | > | 33756 33757 33758 33759 33760 33761 33762 33763 33764 33765 33766 33767 33768 33769 33770 | query I rowsort SELECT ALL - - 99 AS col1 FROM tab1 GROUP BY tab1.col2 ---- 99 99 99 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT ALL tab0.col1 + COALESCE ( 83, col1, tab0.col1 * + tab0.col2 ) FROM tab0 GROUP BY tab0.col1 ---- 164 83 query I rowsort |
︙ | ︙ | |||
34079 34080 34081 34082 34083 34084 34085 34086 34087 34088 34089 34090 34091 34092 | query I rowsort SELECT - 32 FROM tab0 AS cor0 GROUP BY cor0.col1, cor0.col0 ---- -32 -32 -32 query I rowsort SELECT DISTINCT + COALESCE ( + 63, - tab0.col2 - tab0.col1 ) AS col2 FROM tab0 GROUP BY tab0.col2 ---- 63 onlyif mysql # DIV for integer division: query I rowsort label-4594 | > | 34133 34134 34135 34136 34137 34138 34139 34140 34141 34142 34143 34144 34145 34146 34147 | query I rowsort SELECT - 32 FROM tab0 AS cor0 GROUP BY cor0.col1, cor0.col0 ---- -32 -32 -32 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT DISTINCT + COALESCE ( + 63, - tab0.col2 - tab0.col1 ) AS col2 FROM tab0 GROUP BY tab0.col2 ---- 63 onlyif mysql # DIV for integer division: query I rowsort label-4594 |
︙ | ︙ | |||
34465 34466 34467 34468 34469 34470 34471 34472 34473 34474 34475 34476 34477 34478 | 2 query I rowsort SELECT DISTINCT 46 FROM tab1 GROUP BY col0 ---- 46 query I rowsort SELECT DISTINCT - COALESCE ( + 43, col2 * + 58, + 29 * - cor0.col2 ) FROM tab2 AS cor0 GROUP BY col0 ---- -43 onlyif mysql # DIV for integer division: query I rowsort label-4646 | > | 34520 34521 34522 34523 34524 34525 34526 34527 34528 34529 34530 34531 34532 34533 34534 | 2 query I rowsort SELECT DISTINCT 46 FROM tab1 GROUP BY col0 ---- 46 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT DISTINCT - COALESCE ( + 43, col2 * + 58, + 29 * - cor0.col2 ) FROM tab2 AS cor0 GROUP BY col0 ---- -43 onlyif mysql # DIV for integer division: query I rowsort label-4646 |
︙ | ︙ | |||
34541 34542 34543 34544 34545 34546 34547 34548 34549 34550 34551 34552 34553 34554 34555 34556 34557 34558 34559 34560 34561 | query I rowsort SELECT 80 FROM tab0 AS cor0 GROUP BY col0 ---- 80 80 80 query I rowsort SELECT COALESCE ( + 89, cor0.col2, - cor0.col1 * + cor0.col2 + - cor0.col2 * - col2 ) AS col0 FROM tab2 AS cor0 GROUP BY cor0.col2, cor0.col0 ---- 89 89 89 query I rowsort SELECT - COALESCE ( - 44, cor0.col0 + - cor0.col0 * cor0.col0, cor0.col0 * cor0.col1 + cor0.col0, cor0.col1 ) FROM tab2 AS cor0 GROUP BY cor0.col2 ---- 44 44 44 | > > | 34597 34598 34599 34600 34601 34602 34603 34604 34605 34606 34607 34608 34609 34610 34611 34612 34613 34614 34615 34616 34617 34618 34619 | query I rowsort SELECT 80 FROM tab0 AS cor0 GROUP BY col0 ---- 80 80 80 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT COALESCE ( + 89, cor0.col2, - cor0.col1 * + cor0.col2 + - cor0.col2 * - col2 ) AS col0 FROM tab2 AS cor0 GROUP BY cor0.col2, cor0.col0 ---- 89 89 89 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT - COALESCE ( - 44, cor0.col0 + - cor0.col0 * cor0.col0, cor0.col0 * cor0.col1 + cor0.col0, cor0.col1 ) FROM tab2 AS cor0 GROUP BY cor0.col2 ---- 44 44 44 |
︙ | ︙ | |||
34729 34730 34731 34732 34733 34734 34735 34736 34737 34738 34739 34740 34741 34742 | query I rowsort SELECT - tab2.col0 * tab2.col0 AS col2 FROM tab2 GROUP BY tab2.col0 ---- -225 -8281 -8464 query I rowsort SELECT DISTINCT + COALESCE ( 6, cor0.col1 ) + 89 FROM tab1 AS cor0 GROUP BY cor0.col0, cor0.col0 ---- 95 skipif postgresql # PostgreSQL requires AS when renaming output columns query I rowsort | > | 34787 34788 34789 34790 34791 34792 34793 34794 34795 34796 34797 34798 34799 34800 34801 | query I rowsort SELECT - tab2.col0 * tab2.col0 AS col2 FROM tab2 GROUP BY tab2.col0 ---- -225 -8281 -8464 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT DISTINCT + COALESCE ( 6, cor0.col1 ) + 89 FROM tab1 AS cor0 GROUP BY cor0.col0, cor0.col0 ---- 95 skipif postgresql # PostgreSQL requires AS when renaming output columns query I rowsort |
︙ | ︙ | |||
34901 34902 34903 34904 34905 34906 34907 34908 34909 34910 34911 34912 34913 34914 | SELECT + COALESCE ( - 50, tab2.col2 + tab2.col2 DIV + tab2.col0 ) * - tab2.col2 FROM tab2 GROUP BY tab2.col2 ---- 2900 3950 4350 skipif mysql # not compatible query I rowsort label-4703 SELECT + COALESCE ( - 50, tab2.col2 + tab2.col2 / + tab2.col0 ) * - tab2.col2 FROM tab2 GROUP BY tab2.col2 ---- 2900 3950 4350 | > | 34960 34961 34962 34963 34964 34965 34966 34967 34968 34969 34970 34971 34972 34973 34974 | SELECT + COALESCE ( - 50, tab2.col2 + tab2.col2 DIV + tab2.col0 ) * - tab2.col2 FROM tab2 GROUP BY tab2.col2 ---- 2900 3950 4350 skipif mysql # not compatible skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort label-4703 SELECT + COALESCE ( - 50, tab2.col2 + tab2.col2 / + tab2.col0 ) * - tab2.col2 FROM tab2 GROUP BY tab2.col2 ---- 2900 3950 4350 |
︙ | ︙ | |||
36076 36077 36078 36079 36080 36081 36082 36083 36084 36085 36086 36087 36088 36089 | query I rowsort SELECT 78 FROM tab2 GROUP BY tab2.col2 ---- 78 78 78 query I rowsort SELECT DISTINCT + COALESCE ( + 95, - cor1.col2, 35 ) FROM tab2 AS cor0 CROSS JOIN tab1 AS cor1 GROUP BY cor1.col1 ---- 95 query I rowsort SELECT ALL 30 FROM tab1 GROUP BY tab1.col1 | > | 36136 36137 36138 36139 36140 36141 36142 36143 36144 36145 36146 36147 36148 36149 36150 | query I rowsort SELECT 78 FROM tab2 GROUP BY tab2.col2 ---- 78 78 78 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT DISTINCT + COALESCE ( + 95, - cor1.col2, 35 ) FROM tab2 AS cor0 CROSS JOIN tab1 AS cor1 GROUP BY cor1.col1 ---- 95 query I rowsort SELECT ALL 30 FROM tab1 GROUP BY tab1.col1 |
︙ | ︙ | |||
36451 36452 36453 36454 36455 36456 36457 36458 36459 36460 36461 36462 36463 36464 | query I rowsort SELECT + 31 * + tab1.col0 AS col2 FROM tab1 GROUP BY tab1.col0 ---- 2542 682 868 query I rowsort SELECT COALESCE ( - 99, tab0.col2 * tab0.col2, - tab0.col2 * col0 ) * tab0.col0 AS col2 FROM tab0 GROUP BY tab0.col0 ---- -2574 -4257 -8217 | > | 36512 36513 36514 36515 36516 36517 36518 36519 36520 36521 36522 36523 36524 36525 36526 | query I rowsort SELECT + 31 * + tab1.col0 AS col2 FROM tab1 GROUP BY tab1.col0 ---- 2542 682 868 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT COALESCE ( - 99, tab0.col2 * tab0.col2, - tab0.col2 * col0 ) * tab0.col0 AS col2 FROM tab0 GROUP BY tab0.col0 ---- -2574 -4257 -8217 |
︙ | ︙ | |||
37103 37104 37105 37106 37107 37108 37109 37110 37111 37112 37113 37114 37115 37116 | query I rowsort label-4993 SELECT DISTINCT - + COALESCE ( 30, tab1.col1, + tab1.col0 * COALESCE ( tab1.col0, ( + tab1.col1 ) + - tab1.col0 ) ) DIV tab1.col0 + + 56 FROM tab1 GROUP BY tab1.col0 ---- 55 56 skipif mysql # not compatible query I rowsort label-4993 SELECT DISTINCT - + COALESCE ( 30, tab1.col1, + tab1.col0 * COALESCE ( tab1.col0, ( + tab1.col1 ) + - tab1.col0 ) ) / tab1.col0 + + 56 FROM tab1 GROUP BY tab1.col0 ---- 55 56 query I rowsort | > | 37165 37166 37167 37168 37169 37170 37171 37172 37173 37174 37175 37176 37177 37178 37179 | query I rowsort label-4993 SELECT DISTINCT - + COALESCE ( 30, tab1.col1, + tab1.col0 * COALESCE ( tab1.col0, ( + tab1.col1 ) + - tab1.col0 ) ) DIV tab1.col0 + + 56 FROM tab1 GROUP BY tab1.col0 ---- 55 56 skipif mysql # not compatible skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort label-4993 SELECT DISTINCT - + COALESCE ( 30, tab1.col1, + tab1.col0 * COALESCE ( tab1.col0, ( + tab1.col1 ) + - tab1.col0 ) ) / tab1.col0 + + 56 FROM tab1 GROUP BY tab1.col0 ---- 55 56 query I rowsort |
︙ | ︙ | |||
37898 37899 37900 37901 37902 37903 37904 37905 37906 37907 37908 37909 37910 37911 | query I rowsort SELECT ALL 96 col0 FROM tab2 GROUP BY tab2.col0 ---- 96 96 96 query I rowsort SELECT DISTINCT COALESCE ( 52, + tab1.col2 ) FROM tab1 GROUP BY tab1.col0 ---- 52 query I rowsort SELECT ALL - + tab1.col0 AS col0 FROM tab1 GROUP BY tab1.col0 | > | 37961 37962 37963 37964 37965 37966 37967 37968 37969 37970 37971 37972 37973 37974 37975 | query I rowsort SELECT ALL 96 col0 FROM tab2 GROUP BY tab2.col0 ---- 96 96 96 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT DISTINCT COALESCE ( 52, + tab1.col2 ) FROM tab1 GROUP BY tab1.col0 ---- 52 query I rowsort SELECT ALL - + tab1.col0 AS col0 FROM tab1 GROUP BY tab1.col0 |
︙ | ︙ | |||
39508 39509 39510 39511 39512 39513 39514 39515 39516 39517 39518 39519 39520 39521 | SELECT - cor0.col0 DIV COALESCE ( 42, cor0.col1 + cor0.col2, CASE 55 WHEN cor0.col1 * col2 THEN NULL WHEN cor0.col2 * cor0.col0 + cor0.col1 * cor0.col1 THEN + col0 ELSE NULL END * - cor0.col1, cor0.col2 ) FROM tab0 AS cor0 GROUP BY cor0.col0 ---- -1 -1 0 skipif mysql # not compatible query I rowsort label-5321 SELECT - cor0.col0 / COALESCE ( 42, cor0.col1 + cor0.col2, CASE 55 WHEN cor0.col1 * col2 THEN NULL WHEN cor0.col2 * cor0.col0 + cor0.col1 * cor0.col1 THEN + col0 ELSE NULL END * - cor0.col1, cor0.col2 ) FROM tab0 AS cor0 GROUP BY cor0.col0 ---- -1 -1 0 | > | 39572 39573 39574 39575 39576 39577 39578 39579 39580 39581 39582 39583 39584 39585 39586 | SELECT - cor0.col0 DIV COALESCE ( 42, cor0.col1 + cor0.col2, CASE 55 WHEN cor0.col1 * col2 THEN NULL WHEN cor0.col2 * cor0.col0 + cor0.col1 * cor0.col1 THEN + col0 ELSE NULL END * - cor0.col1, cor0.col2 ) FROM tab0 AS cor0 GROUP BY cor0.col0 ---- -1 -1 0 skipif mysql # not compatible skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort label-5321 SELECT - cor0.col0 / COALESCE ( 42, cor0.col1 + cor0.col2, CASE 55 WHEN cor0.col1 * col2 THEN NULL WHEN cor0.col2 * cor0.col0 + cor0.col1 * cor0.col1 THEN + col0 ELSE NULL END * - cor0.col1, cor0.col2 ) FROM tab0 AS cor0 GROUP BY cor0.col0 ---- -1 -1 0 |
︙ | ︙ | |||
40476 40477 40478 40479 40480 40481 40482 40483 40484 40485 40486 40487 40488 40489 | query I rowsort SELECT ALL - 4 AS col1 FROM tab1 GROUP BY tab1.col1 ---- -4 -4 -4 query I rowsort SELECT ALL tab2.col1 + COALESCE ( - 68, col0 * ( 43 * + tab2.col2 ) ) AS col0 FROM tab2 GROUP BY tab2.col1 ---- -27 -7 -9 | > | 40541 40542 40543 40544 40545 40546 40547 40548 40549 40550 40551 40552 40553 40554 40555 | query I rowsort SELECT ALL - 4 AS col1 FROM tab1 GROUP BY tab1.col1 ---- -4 -4 -4 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT ALL tab2.col1 + COALESCE ( - 68, col0 * ( 43 * + tab2.col2 ) ) AS col0 FROM tab2 GROUP BY tab2.col1 ---- -27 -7 -9 |
︙ | ︙ | |||
42186 42187 42188 42189 42190 42191 42192 42193 42194 42195 42196 42197 42198 42199 | query I rowsort SELECT ALL + cor0.col0 FROM tab0 AS cor0 GROUP BY col0, cor0.col1 ---- 26 43 83 query I rowsort SELECT DISTINCT + COALESCE ( 84, + cor0.col0 * - cor0.col2 + 62 ) FROM tab0 AS cor0 GROUP BY cor0.col1 ---- 84 query I rowsort SELECT + 1 AS col0 FROM tab1 GROUP BY tab1.col2 | > | 42252 42253 42254 42255 42256 42257 42258 42259 42260 42261 42262 42263 42264 42265 42266 | query I rowsort SELECT ALL + cor0.col0 FROM tab0 AS cor0 GROUP BY col0, cor0.col1 ---- 26 43 83 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT DISTINCT + COALESCE ( 84, + cor0.col0 * - cor0.col2 + 62 ) FROM tab0 AS cor0 GROUP BY cor0.col1 ---- 84 query I rowsort SELECT + 1 AS col0 FROM tab1 GROUP BY tab1.col2 |
︙ | ︙ | |||
42684 42685 42686 42687 42688 42689 42690 42691 42692 42693 42694 42695 42696 42697 | query I rowsort SELECT ALL + tab2.col2 * - 65 FROM tab2 GROUP BY tab2.col2 ---- -3770 -5135 -5655 query I rowsort SELECT + COALESCE ( 34, 75 * - col0 ) AS col0 FROM tab1 GROUP BY tab1.col2 ---- 34 34 34 | > | 42751 42752 42753 42754 42755 42756 42757 42758 42759 42760 42761 42762 42763 42764 42765 | query I rowsort SELECT ALL + tab2.col2 * - 65 FROM tab2 GROUP BY tab2.col2 ---- -3770 -5135 -5655 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT + COALESCE ( 34, 75 * - col0 ) AS col0 FROM tab1 GROUP BY tab1.col2 ---- 34 34 34 |
︙ | ︙ | |||
43281 43282 43283 43284 43285 43286 43287 43288 43289 43290 43291 43292 43293 43294 | onlyif mysql # DIV for integer division: query I rowsort label-5827 SELECT DISTINCT + COALESCE ( 28, col1, cor0.col2 DIV + cor0.col0, cor0.col0 + + col1 * cor0.col1 ) DIV 17 FROM tab2 AS cor0 GROUP BY cor0.col0 ---- 1 skipif mysql # not compatible query I rowsort label-5827 SELECT DISTINCT + COALESCE ( 28, col1, cor0.col2 / + cor0.col0, cor0.col0 + + col1 * cor0.col1 ) / 17 FROM tab2 AS cor0 GROUP BY cor0.col0 ---- 1 query I rowsort SELECT - - tab0.col2 + - 32 FROM tab0 GROUP BY tab0.col2 | > | 43349 43350 43351 43352 43353 43354 43355 43356 43357 43358 43359 43360 43361 43362 43363 | onlyif mysql # DIV for integer division: query I rowsort label-5827 SELECT DISTINCT + COALESCE ( 28, col1, cor0.col2 DIV + cor0.col0, cor0.col0 + + col1 * cor0.col1 ) DIV 17 FROM tab2 AS cor0 GROUP BY cor0.col0 ---- 1 skipif mysql # not compatible skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort label-5827 SELECT DISTINCT + COALESCE ( 28, col1, cor0.col2 / + cor0.col0, cor0.col0 + + col1 * cor0.col1 ) / 17 FROM tab2 AS cor0 GROUP BY cor0.col0 ---- 1 query I rowsort SELECT - - tab0.col2 + - 32 FROM tab0 GROUP BY tab0.col2 |
︙ | ︙ | |||
44634 44635 44636 44637 44638 44639 44640 44641 44642 44643 44644 44645 44646 44647 | query I rowsort SELECT ALL + - 30 FROM tab0 GROUP BY tab0.col2 ---- -30 -30 -30 query I rowsort SELECT ALL COALESCE ( 84, - tab2.col0 ) AS col1 FROM tab2 GROUP BY tab2.col2 ---- 84 84 84 | > | 44703 44704 44705 44706 44707 44708 44709 44710 44711 44712 44713 44714 44715 44716 44717 | query I rowsort SELECT ALL + - 30 FROM tab0 GROUP BY tab0.col2 ---- -30 -30 -30 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT ALL COALESCE ( 84, - tab2.col0 ) AS col1 FROM tab2 GROUP BY tab2.col2 ---- 84 84 84 |
︙ | ︙ | |||
45514 45515 45516 45517 45518 45519 45520 45521 45522 45523 45524 45525 45526 45527 | query I rowsort SELECT 45 FROM tab2 AS cor0 GROUP BY cor0.col1 ---- 45 45 45 query I rowsort SELECT - CASE cor0.col2 WHEN 55 * cor0.col2 + + cor0.col2 THEN - col2 END col2 FROM tab0 AS cor0 GROUP BY cor0.col2 ---- NULL NULL NULL | > | 45584 45585 45586 45587 45588 45589 45590 45591 45592 45593 45594 45595 45596 45597 45598 | query I rowsort SELECT 45 FROM tab2 AS cor0 GROUP BY cor0.col1 ---- 45 45 45 skipif postgresql # PostgreSQL requires AS when renaming output columns query I rowsort SELECT - CASE cor0.col2 WHEN 55 * cor0.col2 + + cor0.col2 THEN - col2 END col2 FROM tab0 AS cor0 GROUP BY cor0.col2 ---- NULL NULL NULL |
︙ | ︙ | |||
45878 45879 45880 45881 45882 45883 45884 45885 45886 45887 45888 45889 45890 45891 | NULL query I rowsort SELECT DISTINCT - + 17 FROM tab0 GROUP BY tab0.col0 ---- -17 query I rowsort SELECT DISTINCT - - COALESCE ( + 38, - tab1.col2 ) FROM tab1 GROUP BY tab1.col0 ---- 38 query I rowsort SELECT NULLIF ( cor0.col1, cor0.col1 ) * 13 AS col1 FROM tab2 AS cor0 GROUP BY col1, cor0.col1 | > | 45949 45950 45951 45952 45953 45954 45955 45956 45957 45958 45959 45960 45961 45962 45963 | NULL query I rowsort SELECT DISTINCT - + 17 FROM tab0 GROUP BY tab0.col0 ---- -17 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT DISTINCT - - COALESCE ( + 38, - tab1.col2 ) FROM tab1 GROUP BY tab1.col0 ---- 38 query I rowsort SELECT NULLIF ( cor0.col1, cor0.col1 ) * 13 AS col1 FROM tab2 AS cor0 GROUP BY col1, cor0.col1 |
︙ | ︙ | |||
47557 47558 47559 47560 47561 47562 47563 47564 47565 47566 47567 47568 47569 47570 | query I rowsort SELECT ALL - + 41 FROM tab1 GROUP BY tab1.col0 ---- -41 -41 -41 query I rowsort SELECT ALL COALESCE ( 78, tab1.col2 ) FROM tab1 GROUP BY tab1.col0 ---- 78 78 78 | > | 47629 47630 47631 47632 47633 47634 47635 47636 47637 47638 47639 47640 47641 47642 47643 | query I rowsort SELECT ALL - + 41 FROM tab1 GROUP BY tab1.col0 ---- -41 -41 -41 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT ALL COALESCE ( 78, tab1.col2 ) FROM tab1 GROUP BY tab1.col0 ---- 78 78 78 |
︙ | ︙ | |||
47607 47608 47609 47610 47611 47612 47613 47614 47615 47616 47617 47618 47619 47620 | SELECT COALESCE ( + 76, + cor0.col0 DIV + cor0.col1 ) FROM tab1 cor0 GROUP BY cor0.col2, col0 ---- 76 76 76 skipif mysql # not compatible query I rowsort label-6413 SELECT COALESCE ( + 76, + cor0.col0 / + cor0.col1 ) FROM tab1 cor0 GROUP BY cor0.col2, col0 ---- 76 76 76 | > | 47680 47681 47682 47683 47684 47685 47686 47687 47688 47689 47690 47691 47692 47693 47694 | SELECT COALESCE ( + 76, + cor0.col0 DIV + cor0.col1 ) FROM tab1 cor0 GROUP BY cor0.col2, col0 ---- 76 76 76 skipif mysql # not compatible skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort label-6413 SELECT COALESCE ( + 76, + cor0.col0 / + cor0.col1 ) FROM tab1 cor0 GROUP BY cor0.col2, col0 ---- 76 76 76 |
︙ | ︙ | |||
48046 48047 48048 48049 48050 48051 48052 48053 48054 48055 48056 48057 48058 48059 | query I rowsort SELECT ALL - 82 * col1 AS col1 FROM tab1 GROUP BY col1 ---- -3608 -4674 -492 query I rowsort SELECT + COALESCE ( cor0.col1, - 88, + cor0.col1, cor0.col2 ) FROM tab1 AS cor0 GROUP BY cor0.col1 ---- 44 57 6 | > | 48120 48121 48122 48123 48124 48125 48126 48127 48128 48129 48130 48131 48132 48133 48134 | query I rowsort SELECT ALL - 82 * col1 AS col1 FROM tab1 GROUP BY col1 ---- -3608 -4674 -492 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT + COALESCE ( cor0.col1, - 88, + cor0.col1, cor0.col2 ) FROM tab1 AS cor0 GROUP BY cor0.col1 ---- 44 57 6 |
︙ | ︙ | |||
48081 48082 48083 48084 48085 48086 48087 48088 48089 48090 48091 48092 48093 48094 | query I rowsort SELECT - 20 FROM tab0 GROUP BY tab0.col1 ---- -20 -20 query I rowsort SELECT + COALESCE ( + 50, tab2.col1 * tab2.col0 - - tab2.col1 ) + 62 AS col0 FROM tab2 GROUP BY tab2.col0 ---- 112 112 112 | > | 48156 48157 48158 48159 48160 48161 48162 48163 48164 48165 48166 48167 48168 48169 48170 | query I rowsort SELECT - 20 FROM tab0 GROUP BY tab0.col1 ---- -20 -20 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT + COALESCE ( + 50, tab2.col1 * tab2.col0 - - tab2.col1 ) + 62 AS col0 FROM tab2 GROUP BY tab2.col0 ---- 112 112 112 |
︙ | ︙ | |||
49174 49175 49176 49177 49178 49179 49180 49181 49182 49183 49184 49185 49186 49187 | query I rowsort SELECT - - col2 * tab1.col2 FROM tab1 GROUP BY col2 ---- 2025 5041 64 query I rowsort SELECT - COALESCE ( 95, + col0 + + tab2.col2 * col2, + tab2.col1 + + tab2.col0 ) * - tab2.col0 FROM tab2 GROUP BY col0 ---- 1425 8645 8740 | > | 49250 49251 49252 49253 49254 49255 49256 49257 49258 49259 49260 49261 49262 49263 49264 | query I rowsort SELECT - - col2 * tab1.col2 FROM tab1 GROUP BY col2 ---- 2025 5041 64 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT - COALESCE ( 95, + col0 + + tab2.col2 * col2, + tab2.col1 + + tab2.col0 ) * - tab2.col0 FROM tab2 GROUP BY col0 ---- 1425 8645 8740 |
︙ | ︙ | |||
49270 49271 49272 49273 49274 49275 49276 49277 49278 49279 49280 49281 49282 49283 | -61 query I rowsort SELECT DISTINCT + 63 AS col1 FROM tab2 AS cor0 GROUP BY cor0.col0 ---- 63 query I rowsort SELECT - + COALESCE ( 63, tab2.col1 ) FROM tab2 GROUP BY tab2.col2 ---- -63 -63 -63 | > | 49347 49348 49349 49350 49351 49352 49353 49354 49355 49356 49357 49358 49359 49360 49361 | -61 query I rowsort SELECT DISTINCT + 63 AS col1 FROM tab2 AS cor0 GROUP BY cor0.col0 ---- 63 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT - + COALESCE ( 63, tab2.col1 ) FROM tab2 GROUP BY tab2.col2 ---- -63 -63 -63 |
︙ | ︙ | |||
49641 49642 49643 49644 49645 49646 49647 49648 49649 49650 49651 49652 49653 49654 | SELECT - COALESCE ( - 89, + cor0.col2 - + cor0.col0 ) DIV 25 AS col2 FROM tab2 AS cor0 GROUP BY cor0.col0, cor0.col0 ---- 3 3 3 skipif mysql # not compatible query I rowsort label-6683 SELECT - COALESCE ( - 89, + cor0.col2 - + cor0.col0 ) / 25 AS col2 FROM tab2 AS cor0 GROUP BY cor0.col0, cor0.col0 ---- 3 3 3 | > | 49719 49720 49721 49722 49723 49724 49725 49726 49727 49728 49729 49730 49731 49732 49733 | SELECT - COALESCE ( - 89, + cor0.col2 - + cor0.col0 ) DIV 25 AS col2 FROM tab2 AS cor0 GROUP BY cor0.col0, cor0.col0 ---- 3 3 3 skipif mysql # not compatible skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort label-6683 SELECT - COALESCE ( - 89, + cor0.col2 - + cor0.col0 ) / 25 AS col2 FROM tab2 AS cor0 GROUP BY cor0.col0, cor0.col0 ---- 3 3 3 |
︙ | ︙ | |||
54651 54652 54653 54654 54655 54656 54657 54658 54659 54660 54661 54662 54663 54664 | SELECT COALESCE ( 82, tab2.col1 + - NULLIF ( - tab2.col0, tab2.col2 ) DIV tab2.col2, tab2.col2 + + 98 ) AS col1 FROM tab2 GROUP BY tab2.col2 ---- 82 82 82 skipif mysql # not compatible query I rowsort label-7364 SELECT COALESCE ( 82, tab2.col1 + - NULLIF ( - tab2.col0, tab2.col2 ) / tab2.col2, tab2.col2 + + 98 ) AS col1 FROM tab2 GROUP BY tab2.col2 ---- 82 82 82 | > | 54730 54731 54732 54733 54734 54735 54736 54737 54738 54739 54740 54741 54742 54743 54744 | SELECT COALESCE ( 82, tab2.col1 + - NULLIF ( - tab2.col0, tab2.col2 ) DIV tab2.col2, tab2.col2 + + 98 ) AS col1 FROM tab2 GROUP BY tab2.col2 ---- 82 82 82 skipif mysql # not compatible skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort label-7364 SELECT COALESCE ( 82, tab2.col1 + - NULLIF ( - tab2.col0, tab2.col2 ) / tab2.col2, tab2.col2 + + 98 ) AS col1 FROM tab2 GROUP BY tab2.col2 ---- 82 82 82 |
︙ | ︙ | |||
54719 54720 54721 54722 54723 54724 54725 54726 54727 54728 54729 54730 54731 54732 | SELECT ALL - col1 * + COALESCE ( 14, - col0 DIV tab2.col2 ) FROM tab2 GROUP BY tab2.col1 ---- -574 -826 -854 skipif mysql # not compatible query I rowsort label-7372 SELECT ALL - col1 * + COALESCE ( 14, - col0 / tab2.col2 ) FROM tab2 GROUP BY tab2.col1 ---- -574 -826 -854 | > | 54799 54800 54801 54802 54803 54804 54805 54806 54807 54808 54809 54810 54811 54812 54813 | SELECT ALL - col1 * + COALESCE ( 14, - col0 DIV tab2.col2 ) FROM tab2 GROUP BY tab2.col1 ---- -574 -826 -854 skipif mysql # not compatible skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort label-7372 SELECT ALL - col1 * + COALESCE ( 14, - col0 / tab2.col2 ) FROM tab2 GROUP BY tab2.col1 ---- -574 -826 -854 |
︙ | ︙ | |||
55306 55307 55308 55309 55310 55311 55312 55313 55314 55315 55316 55317 55318 55319 | query I rowsort SELECT + tab1.col2 + - col2 FROM tab1 GROUP BY tab1.col2 ---- 0 0 0 query I rowsort SELECT ALL + COALESCE ( + 64, col0 ) AS col2 FROM tab2 AS cor0 GROUP BY col1 ---- 64 64 64 | > | 55387 55388 55389 55390 55391 55392 55393 55394 55395 55396 55397 55398 55399 55400 55401 | query I rowsort SELECT + tab1.col2 + - col2 FROM tab1 GROUP BY tab1.col2 ---- 0 0 0 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT ALL + COALESCE ( + 64, col0 ) AS col2 FROM tab2 AS cor0 GROUP BY col1 ---- 64 64 64 |
︙ | ︙ | |||
56449 56450 56451 56452 56453 56454 56455 56456 56457 56458 56459 56460 56461 56462 | query I rowsort SELECT DISTINCT 91 * + cor0.col2 FROM tab2 AS cor0 GROUP BY cor0.col2 ---- 5278 7189 7917 query I rowsort SELECT ALL tab2.col1 - COALESCE ( 60, + tab2.col0, CASE + 87 WHEN tab2.col2 THEN - col2 END * - 64, + tab2.col1 ) AS col0 FROM tab2 GROUP BY tab2.col1 ---- -1 -19 1 | > | 56531 56532 56533 56534 56535 56536 56537 56538 56539 56540 56541 56542 56543 56544 56545 | query I rowsort SELECT DISTINCT 91 * + cor0.col2 FROM tab2 AS cor0 GROUP BY cor0.col2 ---- 5278 7189 7917 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT ALL tab2.col1 - COALESCE ( 60, + tab2.col0, CASE + 87 WHEN tab2.col2 THEN - col2 END * - 64, + tab2.col1 ) AS col0 FROM tab2 GROUP BY tab2.col1 ---- -1 -19 1 |
︙ | ︙ | |||
56948 56949 56950 56951 56952 56953 56954 56955 56956 56957 56958 56959 56960 56961 | 108 query I rowsort SELECT DISTINCT - 77 AS col2 FROM tab1 AS cor0 GROUP BY col2 ---- -77 query I rowsort SELECT ALL 3 * - COALESCE ( + 92, + cor0.col2 - + ( + col1 + - cor0.col1 ) * 58 ) AS col0 FROM tab1 AS cor0 GROUP BY cor0.col1 ---- -276 -276 -276 | > | 57031 57032 57033 57034 57035 57036 57037 57038 57039 57040 57041 57042 57043 57044 57045 | 108 query I rowsort SELECT DISTINCT - 77 AS col2 FROM tab1 AS cor0 GROUP BY col2 ---- -77 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT ALL 3 * - COALESCE ( + 92, + cor0.col2 - + ( + col1 + - cor0.col1 ) * 58 ) AS col0 FROM tab1 AS cor0 GROUP BY cor0.col1 ---- -276 -276 -276 |
︙ | ︙ | |||
57462 57463 57464 57465 57466 57467 57468 57469 57470 57471 57472 57473 57474 57475 | query I rowsort SELECT + col0 * COALESCE ( - cor0.col1 * + col0, cor0.col1 ) FROM tab0 AS cor0 GROUP BY cor0.col1, col0 ---- -149769 0 0 query I rowsort SELECT ( + COALESCE ( - 26, tab2.col0 - ( 73 ) ) ) AS col1 FROM tab2 GROUP BY tab2.col2 ---- -26 -26 -26 | > | 57546 57547 57548 57549 57550 57551 57552 57553 57554 57555 57556 57557 57558 57559 57560 | query I rowsort SELECT + col0 * COALESCE ( - cor0.col1 * + col0, cor0.col1 ) FROM tab0 AS cor0 GROUP BY cor0.col1, col0 ---- -149769 0 0 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT ( + COALESCE ( - 26, tab2.col0 - ( 73 ) ) ) AS col1 FROM tab2 GROUP BY tab2.col2 ---- -26 -26 -26 |
︙ | ︙ | |||
57584 57585 57586 57587 57588 57589 57590 57591 57592 57593 57594 57595 57596 57597 | query I rowsort SELECT - 37 AS col0 FROM tab2 cor0 GROUP BY cor0.col1 ---- -37 -37 -37 query I rowsort SELECT DISTINCT COALESCE ( + 55, col1, cor0.col1 + cor0.col2 * cor0.col2 ) FROM tab1 AS cor0 GROUP BY cor0.col0 ---- 55 onlyif mysql # CAST syntax: SIGNED type: query I rowsort label-7762 | > | 57669 57670 57671 57672 57673 57674 57675 57676 57677 57678 57679 57680 57681 57682 57683 | query I rowsort SELECT - 37 AS col0 FROM tab2 cor0 GROUP BY cor0.col1 ---- -37 -37 -37 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT DISTINCT COALESCE ( + 55, col1, cor0.col1 + cor0.col2 * cor0.col2 ) FROM tab1 AS cor0 GROUP BY cor0.col0 ---- 55 onlyif mysql # CAST syntax: SIGNED type: query I rowsort label-7762 |
︙ | ︙ | |||
57885 57886 57887 57888 57889 57890 57891 57892 57893 57894 57895 57896 57897 57898 | SELECT ALL - + tab2.col2 * - COALESCE ( - 53, tab2.col1 DIV - tab2.col1 + - tab2.col0 DIV tab2.col1, - tab2.col0 ) FROM tab2 GROUP BY tab2.col2 ---- -3074 -4187 -4611 skipif mysql # not compatible query I rowsort label-7802 SELECT ALL - + tab2.col2 * - COALESCE ( - 53, tab2.col1 / - tab2.col1 + - tab2.col0 / tab2.col1, - tab2.col0 ) FROM tab2 GROUP BY tab2.col2 ---- -3074 -4187 -4611 | > | 57971 57972 57973 57974 57975 57976 57977 57978 57979 57980 57981 57982 57983 57984 57985 | SELECT ALL - + tab2.col2 * - COALESCE ( - 53, tab2.col1 DIV - tab2.col1 + - tab2.col0 DIV tab2.col1, - tab2.col0 ) FROM tab2 GROUP BY tab2.col2 ---- -3074 -4187 -4611 skipif mysql # not compatible skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort label-7802 SELECT ALL - + tab2.col2 * - COALESCE ( - 53, tab2.col1 / - tab2.col1 + - tab2.col0 / tab2.col1, - tab2.col0 ) FROM tab2 GROUP BY tab2.col2 ---- -3074 -4187 -4611 |
︙ | ︙ | |||
58078 58079 58080 58081 58082 58083 58084 58085 58086 58087 58088 58089 58090 58091 | query I rowsort SELECT + tab2.col2 * 57 FROM tab2 GROUP BY tab2.col2 ---- 3306 4503 4959 query I rowsort SELECT DISTINCT COALESCE ( - 87, cor0.col0 * + COALESCE ( cor0.col0 * cor0.col2, col1 * - cor0.col2, 91 * - cor0.col1 ), cor0.col1 * cor0.col2 ) FROM tab2 AS cor0 GROUP BY cor0.col0, cor0.col1 ---- -87 onlyif mysql # DIV for integer division: query I rowsort label-7829 | > | 58165 58166 58167 58168 58169 58170 58171 58172 58173 58174 58175 58176 58177 58178 58179 | query I rowsort SELECT + tab2.col2 * 57 FROM tab2 GROUP BY tab2.col2 ---- 3306 4503 4959 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT DISTINCT COALESCE ( - 87, cor0.col0 * + COALESCE ( cor0.col0 * cor0.col2, col1 * - cor0.col2, 91 * - cor0.col1 ), cor0.col1 * cor0.col2 ) FROM tab2 AS cor0 GROUP BY cor0.col0, cor0.col1 ---- -87 onlyif mysql # DIV for integer division: query I rowsort label-7829 |
︙ | ︙ | |||
58475 58476 58477 58478 58479 58480 58481 58482 58483 58484 58485 58486 58487 58488 | 8 query I rowsort SELECT DISTINCT - 77 FROM tab1 AS cor0 GROUP BY col1 ---- -77 query I rowsort SELECT DISTINCT - COALESCE ( 30, + cor0.col2 * - CASE - cor0.col0 WHEN cor0.col0 THEN + cor0.col0 END, + ( + cor0.col1 ) * - cor0.col1 - col0 ) + + 99 * cor0.col2 FROM tab1 AS cor0 GROUP BY col2 ---- 4425 6999 762 | > | 58563 58564 58565 58566 58567 58568 58569 58570 58571 58572 58573 58574 58575 58576 58577 | 8 query I rowsort SELECT DISTINCT - 77 FROM tab1 AS cor0 GROUP BY col1 ---- -77 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT DISTINCT - COALESCE ( 30, + cor0.col2 * - CASE - cor0.col0 WHEN cor0.col0 THEN + cor0.col0 END, + ( + cor0.col1 ) * - cor0.col1 - col0 ) + + 99 * cor0.col2 FROM tab1 AS cor0 GROUP BY col2 ---- 4425 6999 762 |
︙ | ︙ | |||
58736 58737 58738 58739 58740 58741 58742 58743 58744 58745 58746 58747 58748 58749 | query I rowsort label-7910 SELECT CAST ( NULL AS INTEGER ) AS col0 FROM tab1 AS cor0 GROUP BY cor0.col0 ---- NULL NULL NULL query I rowsort SELECT ALL CASE + 19 WHEN 5 THEN - tab2.col0 * - tab2.col2 ELSE NULL END AS col0 FROM tab2 GROUP BY tab2.col2 ---- NULL NULL NULL | > | 58825 58826 58827 58828 58829 58830 58831 58832 58833 58834 58835 58836 58837 58838 58839 | query I rowsort label-7910 SELECT CAST ( NULL AS INTEGER ) AS col0 FROM tab1 AS cor0 GROUP BY cor0.col0 ---- NULL NULL NULL skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT ALL CASE + 19 WHEN 5 THEN - tab2.col0 * - tab2.col2 ELSE NULL END AS col0 FROM tab2 GROUP BY tab2.col2 ---- NULL NULL NULL |
︙ | ︙ | |||
62481 62482 62483 62484 62485 62486 62487 62488 62489 62490 62491 62492 62493 62494 | query I rowsort SELECT ALL 35 * + tab0.col1 AS col0 FROM tab0 GROUP BY tab0.col1 ---- 0 2835 query I rowsort SELECT DISTINCT COALESCE ( 51, + cor0.col2 ) * 28 FROM tab1 AS cor0 GROUP BY cor0.col0 ---- 1428 query I rowsort SELECT ALL - - 62 AS col1 FROM tab0 GROUP BY tab0.col2 | > | 62571 62572 62573 62574 62575 62576 62577 62578 62579 62580 62581 62582 62583 62584 62585 | query I rowsort SELECT ALL 35 * + tab0.col1 AS col0 FROM tab0 GROUP BY tab0.col1 ---- 0 2835 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT DISTINCT COALESCE ( 51, + cor0.col2 ) * 28 FROM tab1 AS cor0 GROUP BY cor0.col0 ---- 1428 query I rowsort SELECT ALL - - 62 AS col1 FROM tab0 GROUP BY tab0.col2 |
︙ | ︙ | |||
62778 62779 62780 62781 62782 62783 62784 62785 62786 62787 62788 62789 62790 62791 | query I rowsort SELECT - 21 FROM tab0 GROUP BY tab0.col0 ---- -21 -21 -21 query I rowsort SELECT - - COALESCE ( + 94, tab2.col0, - col2 ) * tab2.col2 AS col0 FROM tab2 GROUP BY tab2.col2 ---- 5452 7426 8178 | > | 62869 62870 62871 62872 62873 62874 62875 62876 62877 62878 62879 62880 62881 62882 62883 | query I rowsort SELECT - 21 FROM tab0 GROUP BY tab0.col0 ---- -21 -21 -21 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT - - COALESCE ( + 94, tab2.col0, - col2 ) * tab2.col2 AS col0 FROM tab2 GROUP BY tab2.col2 ---- 5452 7426 8178 |
︙ | ︙ | |||
62820 62821 62822 62823 62824 62825 62826 62827 62828 62829 62830 62831 62832 62833 | onlyif mysql # CAST syntax: SIGNED type: query I rowsort label-8474 SELECT DISTINCT CAST( NULL AS SIGNED ) * - CASE + 67 WHEN + col2 THEN 84 END col2 FROM tab0 GROUP BY tab0.col2 ---- NULL skipif mysql # not compatible query I rowsort label-8474 SELECT DISTINCT CAST ( NULL AS INTEGER ) * - CASE + 67 WHEN + col2 THEN 84 END col2 FROM tab0 GROUP BY tab0.col2 ---- NULL query I rowsort SELECT DISTINCT 71 AS col0 FROM tab2 AS cor0 GROUP BY cor0.col0 | > | 62912 62913 62914 62915 62916 62917 62918 62919 62920 62921 62922 62923 62924 62925 62926 | onlyif mysql # CAST syntax: SIGNED type: query I rowsort label-8474 SELECT DISTINCT CAST( NULL AS SIGNED ) * - CASE + 67 WHEN + col2 THEN 84 END col2 FROM tab0 GROUP BY tab0.col2 ---- NULL skipif mysql # not compatible skipif postgresql # PostgreSQL requires AS when renaming output columns query I rowsort label-8474 SELECT DISTINCT CAST ( NULL AS INTEGER ) * - CASE + 67 WHEN + col2 THEN 84 END col2 FROM tab0 GROUP BY tab0.col2 ---- NULL query I rowsort SELECT DISTINCT 71 AS col0 FROM tab2 AS cor0 GROUP BY cor0.col0 |
︙ | ︙ | |||
64280 64281 64282 64283 64284 64285 64286 64287 64288 64289 64290 64291 64292 64293 | query I rowsort SELECT ALL + tab0.col1 * 16 + + 32 AS col2 FROM tab0 GROUP BY tab0.col1 ---- 1328 32 query I rowsort SELECT COALESCE ( 71, - col2 ) FROM tab1 GROUP BY tab1.col0 ---- 71 71 71 | > | 64373 64374 64375 64376 64377 64378 64379 64380 64381 64382 64383 64384 64385 64386 64387 | query I rowsort SELECT ALL + tab0.col1 * 16 + + 32 AS col2 FROM tab0 GROUP BY tab0.col1 ---- 1328 32 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT COALESCE ( 71, - col2 ) FROM tab1 GROUP BY tab1.col0 ---- 71 71 71 |
︙ | ︙ | |||
66375 66376 66377 66378 66379 66380 66381 66382 66383 66384 66385 66386 66387 66388 | SELECT + COALESCE ( + 84, + tab1.col0 * - tab1.col0 - tab1.col1 * tab1.col1 ) DIV - col2 AS col0 FROM tab1 GROUP BY tab1.col2 ---- -1 -1 -10 skipif mysql # not compatible query I rowsort label-8957 SELECT + COALESCE ( + 84, + tab1.col0 * - tab1.col0 - tab1.col1 * tab1.col1 ) / - col2 AS col0 FROM tab1 GROUP BY tab1.col2 ---- -1 -1 -10 | > | 66469 66470 66471 66472 66473 66474 66475 66476 66477 66478 66479 66480 66481 66482 66483 | SELECT + COALESCE ( + 84, + tab1.col0 * - tab1.col0 - tab1.col1 * tab1.col1 ) DIV - col2 AS col0 FROM tab1 GROUP BY tab1.col2 ---- -1 -1 -10 skipif mysql # not compatible skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort label-8957 SELECT + COALESCE ( + 84, + tab1.col0 * - tab1.col0 - tab1.col1 * tab1.col1 ) / - col2 AS col0 FROM tab1 GROUP BY tab1.col2 ---- -1 -1 -10 |
︙ | ︙ | |||
66891 66892 66893 66894 66895 66896 66897 66898 66899 66900 66901 66902 66903 66904 | query I rowsort SELECT DISTINCT + col2 FROM tab1 GROUP BY col2 ---- 45 71 8 query I rowsort SELECT ALL - COALESCE ( 69, cor0.col2, cor0.col0, + cor0.col1 ) + 94 FROM tab2 AS cor0 GROUP BY cor0.col0, cor0.col0 ---- 25 25 25 | > | 66986 66987 66988 66989 66990 66991 66992 66993 66994 66995 66996 66997 66998 66999 67000 | query I rowsort SELECT DISTINCT + col2 FROM tab1 GROUP BY col2 ---- 45 71 8 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT ALL - COALESCE ( 69, cor0.col2, cor0.col0, + cor0.col1 ) + 94 FROM tab2 AS cor0 GROUP BY cor0.col0, cor0.col0 ---- 25 25 25 |
︙ | ︙ | |||
68008 68009 68010 68011 68012 68013 68014 68015 68016 68017 68018 68019 68020 68021 | SELECT + COALESCE ( - 9, - tab1.col0 DIV + tab1.col0 ) FROM tab1 GROUP BY col2 ---- -9 -9 -9 skipif mysql # not compatible query I rowsort label-9173 SELECT + COALESCE ( - 9, - tab1.col0 / + tab1.col0 ) FROM tab1 GROUP BY col2 ---- -9 -9 -9 | > | 68104 68105 68106 68107 68108 68109 68110 68111 68112 68113 68114 68115 68116 68117 68118 | SELECT + COALESCE ( - 9, - tab1.col0 DIV + tab1.col0 ) FROM tab1 GROUP BY col2 ---- -9 -9 -9 skipif mysql # not compatible skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort label-9173 SELECT + COALESCE ( - 9, - tab1.col0 / + tab1.col0 ) FROM tab1 GROUP BY col2 ---- -9 -9 -9 |
︙ | ︙ | |||
68888 68889 68890 68891 68892 68893 68894 68895 68896 68897 68898 68899 68900 68901 | 312 query I rowsort SELECT DISTINCT COALESCE ( 13, col2 ) FROM tab1 AS cor0 GROUP BY cor0.col2, cor0.col0 ---- 13 query I rowsort SELECT DISTINCT + COALESCE ( + 51, col0 - col1 ) AS col2 FROM tab2 GROUP BY col1 ---- 51 query I rowsort SELECT ALL - - 26 AS col0 FROM tab2 GROUP BY tab2.col2 | > | 68985 68986 68987 68988 68989 68990 68991 68992 68993 68994 68995 68996 68997 68998 68999 | 312 query I rowsort SELECT DISTINCT COALESCE ( 13, col2 ) FROM tab1 AS cor0 GROUP BY cor0.col2, cor0.col0 ---- 13 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT DISTINCT + COALESCE ( + 51, col0 - col1 ) AS col2 FROM tab2 GROUP BY col1 ---- 51 query I rowsort SELECT ALL - - 26 AS col0 FROM tab2 GROUP BY tab2.col2 |
︙ | ︙ | |||
69097 69098 69099 69100 69101 69102 69103 69104 69105 69106 69107 69108 69109 69110 | query I rowsort SELECT ALL + + 39 AS col1 FROM tab2 GROUP BY tab2.col1 ---- 39 39 39 query I rowsort SELECT DISTINCT COALESCE ( + 47, - tab1.col1 * tab1.col2 + tab1.col2 ) FROM tab1 GROUP BY tab1.col1 ---- 47 query I rowsort SELECT ALL - + 33 FROM tab1 GROUP BY tab1.col1 | > | 69195 69196 69197 69198 69199 69200 69201 69202 69203 69204 69205 69206 69207 69208 69209 | query I rowsort SELECT ALL + + 39 AS col1 FROM tab2 GROUP BY tab2.col1 ---- 39 39 39 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT DISTINCT COALESCE ( + 47, - tab1.col1 * tab1.col2 + tab1.col2 ) FROM tab1 GROUP BY tab1.col1 ---- 47 query I rowsort SELECT ALL - + 33 FROM tab1 GROUP BY tab1.col1 |
︙ | ︙ | |||
70864 70865 70866 70867 70868 70869 70870 70871 70872 70873 70874 70875 70876 70877 | query I rowsort SELECT DISTINCT - cor0.col1 col1 FROM tab1 AS cor0 GROUP BY col1 ---- -44 -57 -6 query I rowsort SELECT + COALESCE ( 15, - cor0.col2 + + cor0.col0 * cor0.col1 ) FROM tab2 AS cor0 GROUP BY cor0.col2 ---- 15 15 15 | > | 70963 70964 70965 70966 70967 70968 70969 70970 70971 70972 70973 70974 70975 70976 70977 | query I rowsort SELECT DISTINCT - cor0.col1 col1 FROM tab1 AS cor0 GROUP BY col1 ---- -44 -57 -6 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT + COALESCE ( 15, - cor0.col2 + + cor0.col0 * cor0.col1 ) FROM tab2 AS cor0 GROUP BY cor0.col2 ---- 15 15 15 |
︙ | ︙ | |||
71391 71392 71393 71394 71395 71396 71397 71398 71399 71400 71401 71402 71403 71404 | SELECT - COALESCE ( + 81, - tab2.col1 * + tab2.col2, - col0 DIV tab2.col2 ) FROM tab2 GROUP BY tab2.col1 ---- -81 -81 -81 skipif mysql # not compatible query I rowsort label-9632 SELECT - COALESCE ( + 81, - tab2.col1 * + tab2.col2, - col0 / tab2.col2 ) FROM tab2 GROUP BY tab2.col1 ---- -81 -81 -81 | > | 71491 71492 71493 71494 71495 71496 71497 71498 71499 71500 71501 71502 71503 71504 71505 | SELECT - COALESCE ( + 81, - tab2.col1 * + tab2.col2, - col0 DIV tab2.col2 ) FROM tab2 GROUP BY tab2.col1 ---- -81 -81 -81 skipif mysql # not compatible skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort label-9632 SELECT - COALESCE ( + 81, - tab2.col1 * + tab2.col2, - col0 / tab2.col2 ) FROM tab2 GROUP BY tab2.col1 ---- -81 -81 -81 |
︙ | ︙ | |||
72579 72580 72581 72582 72583 72584 72585 72586 72587 72588 72589 72590 72591 72592 | skipif mysql # not compatible query I rowsort label-9793 SELECT DISTINCT - + tab0.col2 / 80 AS col1 FROM tab0 GROUP BY tab0.col2 ---- 0 query I rowsort SELECT ALL + COALESCE ( - 25, + cor0.col1 ) AS col2 FROM tab0 AS cor0 GROUP BY cor0.col0 ---- -25 -25 -25 | > | 72680 72681 72682 72683 72684 72685 72686 72687 72688 72689 72690 72691 72692 72693 72694 | skipif mysql # not compatible query I rowsort label-9793 SELECT DISTINCT - + tab0.col2 / 80 AS col1 FROM tab0 GROUP BY tab0.col2 ---- 0 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT ALL + COALESCE ( - 25, + cor0.col1 ) AS col2 FROM tab0 AS cor0 GROUP BY cor0.col0 ---- -25 -25 -25 |
︙ | ︙ | |||
72861 72862 72863 72864 72865 72866 72867 72868 72869 72870 72871 72872 72873 72874 | SELECT ALL - + COALESCE ( 28, 90 + tab2.col1 DIV tab2.col1 ) DIV tab2.col2 AS col0 FROM tab2 GROUP BY tab2.col2 ---- 0 0 0 skipif mysql # not compatible query I rowsort label-9833 SELECT ALL - + COALESCE ( 28, 90 + tab2.col1 / tab2.col1 ) / tab2.col2 AS col0 FROM tab2 GROUP BY tab2.col2 ---- 0 0 0 | > | 72963 72964 72965 72966 72967 72968 72969 72970 72971 72972 72973 72974 72975 72976 72977 | SELECT ALL - + COALESCE ( 28, 90 + tab2.col1 DIV tab2.col1 ) DIV tab2.col2 AS col0 FROM tab2 GROUP BY tab2.col2 ---- 0 0 0 skipif mysql # not compatible skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort label-9833 SELECT ALL - + COALESCE ( 28, 90 + tab2.col1 / tab2.col1 ) / tab2.col2 AS col0 FROM tab2 GROUP BY tab2.col2 ---- 0 0 0 |
︙ | ︙ |
Changes to test/random/groupby/slt_good_4.test.
︙ | ︙ | |||
594 595 596 597 598 599 600 601 602 603 604 605 606 607 | query I rowsort SELECT - cor0.col0 AS col2 FROM tab1 cor0 GROUP BY col0 ---- -22 -28 -82 query I rowsort SELECT DISTINCT + + COALESCE ( + 77, + tab1.col0 ) AS col2 FROM tab1 GROUP BY tab1.col2 ---- 77 query I rowsort SELECT DISTINCT - 85 AS col1 FROM tab2 cor0 GROUP BY cor0.col1 | > | 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 | query I rowsort SELECT - cor0.col0 AS col2 FROM tab1 cor0 GROUP BY col0 ---- -22 -28 -82 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT DISTINCT + + COALESCE ( + 77, + tab1.col0 ) AS col2 FROM tab1 GROUP BY tab1.col2 ---- 77 query I rowsort SELECT DISTINCT - 85 AS col1 FROM tab2 cor0 GROUP BY cor0.col1 |
︙ | ︙ | |||
1111 1112 1113 1114 1115 1116 1117 1118 1119 1120 1121 1122 1123 1124 | query I rowsort SELECT + tab0.col1 * - 67 FROM tab0 GROUP BY col1 ---- -5427 0 query I rowsort SELECT tab2.col1 + COALESCE ( 82 + 87, - tab2.col2 * - tab2.col2, 74, + tab2.col2 + + tab2.col0 * tab2.col2 ) AS col1 FROM tab2 GROUP BY col1 ---- 210 228 230 | > | 1112 1113 1114 1115 1116 1117 1118 1119 1120 1121 1122 1123 1124 1125 1126 | query I rowsort SELECT + tab0.col1 * - 67 FROM tab0 GROUP BY col1 ---- -5427 0 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT tab2.col1 + COALESCE ( 82 + 87, - tab2.col2 * - tab2.col2, 74, + tab2.col2 + + tab2.col0 * tab2.col2 ) AS col1 FROM tab2 GROUP BY col1 ---- 210 228 230 |
︙ | ︙ | |||
1995 1996 1997 1998 1999 2000 2001 2002 2003 2004 2005 2006 2007 2008 | query I rowsort SELECT - cor0.col0 AS col2 FROM tab2 AS cor0 GROUP BY cor0.col0, col1 ---- -15 -91 -92 query I rowsort SELECT - - COALESCE ( + 40, tab1.col2 * + tab1.col1 ) + - CASE 38 WHEN tab1.col0 THEN NULL ELSE - 55 END FROM tab1 GROUP BY col0 ---- 95 95 95 | > | 1997 1998 1999 2000 2001 2002 2003 2004 2005 2006 2007 2008 2009 2010 2011 | query I rowsort SELECT - cor0.col0 AS col2 FROM tab2 AS cor0 GROUP BY cor0.col0, col1 ---- -15 -91 -92 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT - - COALESCE ( + 40, tab1.col2 * + tab1.col1 ) + - CASE 38 WHEN tab1.col0 THEN NULL ELSE - 55 END FROM tab1 GROUP BY col0 ---- 95 95 95 |
︙ | ︙ | |||
2274 2275 2276 2277 2278 2279 2280 2281 2282 2283 2284 2285 2286 2287 | query I rowsort SELECT DISTINCT cor0.col2 + - 81 FROM tab0 cor0 GROUP BY cor0.col2 ---- -2 -43 -57 query I rowsort SELECT COALESCE ( 55, + cor0.col2 + COALESCE ( - cor0.col0, cor0.col2 ) ) AS col1 FROM tab1 AS cor0 GROUP BY cor0.col2 ---- 55 55 55 | > | 2277 2278 2279 2280 2281 2282 2283 2284 2285 2286 2287 2288 2289 2290 2291 | query I rowsort SELECT DISTINCT cor0.col2 + - 81 FROM tab0 cor0 GROUP BY cor0.col2 ---- -2 -43 -57 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT COALESCE ( 55, + cor0.col2 + COALESCE ( - cor0.col0, cor0.col2 ) ) AS col1 FROM tab1 AS cor0 GROUP BY cor0.col2 ---- 55 55 55 |
︙ | ︙ | |||
3434 3435 3436 3437 3438 3439 3440 3441 3442 3443 3444 3445 3446 3447 | query I rowsort SELECT - cor0.col2 * 0 AS col1 FROM tab1 cor0 GROUP BY cor0.col2 ---- 0 0 0 query I rowsort SELECT - tab0.col2 + COALESCE ( 88, - tab0.col1, tab0.col0 * + 13, + tab0.col2 ) AS col0 FROM tab0 GROUP BY col2 ---- 50 64 9 | > | 3438 3439 3440 3441 3442 3443 3444 3445 3446 3447 3448 3449 3450 3451 3452 | query I rowsort SELECT - cor0.col2 * 0 AS col1 FROM tab1 cor0 GROUP BY cor0.col2 ---- 0 0 0 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT - tab0.col2 + COALESCE ( 88, - tab0.col1, tab0.col0 * + 13, + tab0.col2 ) AS col0 FROM tab0 GROUP BY col2 ---- 50 64 9 |
︙ | ︙ | |||
3975 3976 3977 3978 3979 3980 3981 3982 3983 3984 3985 3986 3987 3988 | query I rowsort SELECT ALL col0 * + tab1.col0 FROM tab1 GROUP BY tab1.col0 ---- 484 6724 784 query I rowsort SELECT ALL + COALESCE ( 11, cor0.col0 * 83, cor0.col1 + cor0.col0 ) FROM tab0 AS cor0 GROUP BY col2 ---- 11 11 11 | > | 3980 3981 3982 3983 3984 3985 3986 3987 3988 3989 3990 3991 3992 3993 3994 | query I rowsort SELECT ALL col0 * + tab1.col0 FROM tab1 GROUP BY tab1.col0 ---- 484 6724 784 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT ALL + COALESCE ( 11, cor0.col0 * 83, cor0.col1 + cor0.col0 ) FROM tab0 AS cor0 GROUP BY col2 ---- 11 11 11 |
︙ | ︙ | |||
4286 4287 4288 4289 4290 4291 4292 4293 4294 4295 4296 4297 4298 4299 | 32 query I rowsort SELECT DISTINCT 15 - 32 FROM tab2 AS cor0 GROUP BY cor0.col1 ---- -17 query I rowsort SELECT + COALESCE ( + 92, cor0.col2, cor0.col0 ) FROM tab0 AS cor0 GROUP BY cor0.col1 ---- 92 92 query I rowsort | > | 4292 4293 4294 4295 4296 4297 4298 4299 4300 4301 4302 4303 4304 4305 4306 | 32 query I rowsort SELECT DISTINCT 15 - 32 FROM tab2 AS cor0 GROUP BY cor0.col1 ---- -17 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT + COALESCE ( + 92, cor0.col2, cor0.col0 ) FROM tab0 AS cor0 GROUP BY cor0.col1 ---- 92 92 query I rowsort |
︙ | ︙ | |||
9731 9732 9733 9734 9735 9736 9737 9738 9739 9740 9741 9742 9743 9744 | onlyif mysql # DIV for integer division: query I rowsort label-1308 SELECT DISTINCT + + COALESCE ( + 8, tab0.col0, COALESCE ( tab0.col0, tab0.col1, - tab0.col2 * tab0.col2 ) * - tab0.col1 + tab0.col2, 34 ) DIV 29 FROM tab0 GROUP BY tab0.col0 ---- 0 skipif mysql # not compatible query I rowsort label-1308 SELECT DISTINCT + + COALESCE ( + 8, tab0.col0, COALESCE ( tab0.col0, tab0.col1, - tab0.col2 * tab0.col2 ) * - tab0.col1 + tab0.col2, 34 ) / 29 FROM tab0 GROUP BY tab0.col0 ---- 0 query I rowsort SELECT + 69 * + tab2.col1 + tab2.col1 AS col2 FROM tab2 GROUP BY tab2.col1 | > | 9738 9739 9740 9741 9742 9743 9744 9745 9746 9747 9748 9749 9750 9751 9752 | onlyif mysql # DIV for integer division: query I rowsort label-1308 SELECT DISTINCT + + COALESCE ( + 8, tab0.col0, COALESCE ( tab0.col0, tab0.col1, - tab0.col2 * tab0.col2 ) * - tab0.col1 + tab0.col2, 34 ) DIV 29 FROM tab0 GROUP BY tab0.col0 ---- 0 skipif mysql # not compatible skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort label-1308 SELECT DISTINCT + + COALESCE ( + 8, tab0.col0, COALESCE ( tab0.col0, tab0.col1, - tab0.col2 * tab0.col2 ) * - tab0.col1 + tab0.col2, 34 ) / 29 FROM tab0 GROUP BY tab0.col0 ---- 0 query I rowsort SELECT + 69 * + tab2.col1 + tab2.col1 AS col2 FROM tab2 GROUP BY tab2.col1 |
︙ | ︙ | |||
10019 10020 10021 10022 10023 10024 10025 10026 10027 10028 10029 10030 10031 10032 | 5 query I rowsort SELECT DISTINCT 36 FROM tab0 GROUP BY tab0.col1 ---- 36 query I rowsort SELECT ALL COALESCE ( tab0.col1, 80, - tab0.col0 ) FROM tab0 GROUP BY tab0.col1 ---- 0 81 skipif postgresql # PostgreSQL requires AS when renaming output columns | > | 10027 10028 10029 10030 10031 10032 10033 10034 10035 10036 10037 10038 10039 10040 10041 | 5 query I rowsort SELECT DISTINCT 36 FROM tab0 GROUP BY tab0.col1 ---- 36 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT ALL COALESCE ( tab0.col1, 80, - tab0.col0 ) FROM tab0 GROUP BY tab0.col1 ---- 0 81 skipif postgresql # PostgreSQL requires AS when renaming output columns |
︙ | ︙ | |||
11253 11254 11255 11256 11257 11258 11259 11260 11261 11262 11263 11264 11265 11266 | query I rowsort SELECT ALL - 30 col2 FROM tab0 GROUP BY tab0.col0 ---- -30 -30 -30 query I rowsort SELECT ALL - NULLIF ( + COALESCE ( + 89, + tab1.col0, - tab1.col1 ), 76 ) FROM tab1 GROUP BY tab1.col0 ---- -89 -89 -89 | > | 11262 11263 11264 11265 11266 11267 11268 11269 11270 11271 11272 11273 11274 11275 11276 | query I rowsort SELECT ALL - 30 col2 FROM tab0 GROUP BY tab0.col0 ---- -30 -30 -30 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT ALL - NULLIF ( + COALESCE ( + 89, + tab1.col0, - tab1.col1 ), 76 ) FROM tab1 GROUP BY tab1.col0 ---- -89 -89 -89 |
︙ | ︙ | |||
12386 12387 12388 12389 12390 12391 12392 12393 12394 12395 12396 12397 12398 12399 | query I rowsort SELECT ALL ( - cor0.col1 ) AS col0 FROM tab2 AS cor0 GROUP BY cor0.col1 ---- -41 -59 -61 query I rowsort SELECT - COALESCE ( 89, - col2 * col1 - ( - col1 ) ) AS col1 FROM tab2 GROUP BY tab2.col2 ---- -89 -89 -89 | > | 12396 12397 12398 12399 12400 12401 12402 12403 12404 12405 12406 12407 12408 12409 12410 | query I rowsort SELECT ALL ( - cor0.col1 ) AS col0 FROM tab2 AS cor0 GROUP BY cor0.col1 ---- -41 -59 -61 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT - COALESCE ( 89, - col2 * col1 - ( - col1 ) ) AS col1 FROM tab2 GROUP BY tab2.col2 ---- -89 -89 -89 |
︙ | ︙ | |||
12824 12825 12826 12827 12828 12829 12830 12831 12832 12833 12834 12835 12836 12837 | query I rowsort label-1730 SELECT + COALESCE ( + 4, - cor0.col0, cor1.col0 DIV + cor1.col2 - cor0.col1 DIV cor1.col2 ) FROM tab0 AS cor0 CROSS JOIN tab0 AS cor1 GROUP BY cor1.col1 ---- 4 4 skipif mysql # not compatible query I rowsort label-1730 SELECT + COALESCE ( + 4, - cor0.col0, cor1.col0 / + cor1.col2 - cor0.col1 / cor1.col2 ) FROM tab0 AS cor0 CROSS JOIN tab0 AS cor1 GROUP BY cor1.col1 ---- 4 4 query I rowsort | > | 12835 12836 12837 12838 12839 12840 12841 12842 12843 12844 12845 12846 12847 12848 12849 | query I rowsort label-1730 SELECT + COALESCE ( + 4, - cor0.col0, cor1.col0 DIV + cor1.col2 - cor0.col1 DIV cor1.col2 ) FROM tab0 AS cor0 CROSS JOIN tab0 AS cor1 GROUP BY cor1.col1 ---- 4 4 skipif mysql # not compatible skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort label-1730 SELECT + COALESCE ( + 4, - cor0.col0, cor1.col0 / + cor1.col2 - cor0.col1 / cor1.col2 ) FROM tab0 AS cor0 CROSS JOIN tab0 AS cor1 GROUP BY cor1.col1 ---- 4 4 query I rowsort |
︙ | ︙ | |||
13137 13138 13139 13140 13141 13142 13143 13144 13145 13146 13147 13148 13149 13150 | SELECT CASE + tab2.col1 WHEN + CAST( NULL AS SIGNED ) THEN - COALESCE ( + 5, tab2.col0 ) END FROM tab2 GROUP BY tab2.col0 ---- NULL NULL NULL skipif mysql # not compatible query I rowsort label-1776 SELECT CASE + tab2.col1 WHEN + CAST ( NULL AS INTEGER ) THEN - COALESCE ( + 5, tab2.col0 ) END FROM tab2 GROUP BY tab2.col0 ---- NULL NULL NULL | > | 13149 13150 13151 13152 13153 13154 13155 13156 13157 13158 13159 13160 13161 13162 13163 | SELECT CASE + tab2.col1 WHEN + CAST( NULL AS SIGNED ) THEN - COALESCE ( + 5, tab2.col0 ) END FROM tab2 GROUP BY tab2.col0 ---- NULL NULL NULL skipif mysql # not compatible skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort label-1776 SELECT CASE + tab2.col1 WHEN + CAST ( NULL AS INTEGER ) THEN - COALESCE ( + 5, tab2.col0 ) END FROM tab2 GROUP BY tab2.col0 ---- NULL NULL NULL |
︙ | ︙ | |||
14050 14051 14052 14053 14054 14055 14056 14057 14058 14059 14060 14061 14062 14063 | query I rowsort SELECT 40 + 55 AS col2 FROM tab1 GROUP BY tab1.col1 ---- 95 95 95 query I rowsort SELECT COALESCE ( 36, cor0.col1 * cor0.col2 ) FROM tab0 AS cor0 GROUP BY cor0.col2 ---- 36 36 36 | > | 14063 14064 14065 14066 14067 14068 14069 14070 14071 14072 14073 14074 14075 14076 14077 | query I rowsort SELECT 40 + 55 AS col2 FROM tab1 GROUP BY tab1.col1 ---- 95 95 95 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT COALESCE ( 36, cor0.col1 * cor0.col2 ) FROM tab0 AS cor0 GROUP BY cor0.col2 ---- 36 36 36 |
︙ | ︙ | |||
14316 14317 14318 14319 14320 14321 14322 14323 14324 14325 14326 14327 14328 14329 | onlyif mysql # DIV for integer division: query I rowsort label-1925 SELECT DISTINCT - COALESCE ( 94, tab1.col0 DIV - tab1.col0 ) FROM tab1 GROUP BY tab1.col2 ---- -94 skipif mysql # not compatible query I rowsort label-1925 SELECT DISTINCT - COALESCE ( 94, tab1.col0 / - tab1.col0 ) FROM tab1 GROUP BY tab1.col2 ---- -94 query I rowsort SELECT DISTINCT - cor0.col0 FROM tab2 cor0 GROUP BY cor0.col0, cor0.col2, cor0.col0 | > | 14330 14331 14332 14333 14334 14335 14336 14337 14338 14339 14340 14341 14342 14343 14344 | onlyif mysql # DIV for integer division: query I rowsort label-1925 SELECT DISTINCT - COALESCE ( 94, tab1.col0 DIV - tab1.col0 ) FROM tab1 GROUP BY tab1.col2 ---- -94 skipif mysql # not compatible skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort label-1925 SELECT DISTINCT - COALESCE ( 94, tab1.col0 / - tab1.col0 ) FROM tab1 GROUP BY tab1.col2 ---- -94 query I rowsort SELECT DISTINCT - cor0.col0 FROM tab2 cor0 GROUP BY cor0.col0, cor0.col2, cor0.col0 |
︙ | ︙ | |||
14624 14625 14626 14627 14628 14629 14630 14631 14632 14633 14634 14635 14636 14637 | SELECT + tab0.col2 + - COALESCE ( 1, + tab0.col0 * - tab0.col1, col2 * tab0.col0 + + tab0.col0 DIV tab0.col1 ) * - tab0.col2 AS col2 FROM tab0 GROUP BY tab0.col2 ---- 158 48 76 skipif mysql # not compatible query I rowsort label-1970 SELECT + tab0.col2 + - COALESCE ( 1, + tab0.col0 * - tab0.col1, col2 * tab0.col0 + + tab0.col0 / tab0.col1 ) * - tab0.col2 AS col2 FROM tab0 GROUP BY tab0.col2 ---- 158 48 76 | > | 14639 14640 14641 14642 14643 14644 14645 14646 14647 14648 14649 14650 14651 14652 14653 | SELECT + tab0.col2 + - COALESCE ( 1, + tab0.col0 * - tab0.col1, col2 * tab0.col0 + + tab0.col0 DIV tab0.col1 ) * - tab0.col2 AS col2 FROM tab0 GROUP BY tab0.col2 ---- 158 48 76 skipif mysql # not compatible skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort label-1970 SELECT + tab0.col2 + - COALESCE ( 1, + tab0.col0 * - tab0.col1, col2 * tab0.col0 + + tab0.col0 / tab0.col1 ) * - tab0.col2 AS col2 FROM tab0 GROUP BY tab0.col2 ---- 158 48 76 |
︙ | ︙ | |||
14838 14839 14840 14841 14842 14843 14844 14845 14846 14847 14848 14849 14850 14851 | query I rowsort SELECT DISTINCT + 89 + cor0.col2 AS col0 FROM tab1 AS cor0 GROUP BY cor0.col2, cor0.col0 ---- 134 160 97 query I rowsort SELECT - tab2.col2 + COALESCE ( + 94, - tab2.col0 - tab2.col2, + tab2.col1, - col2 ) AS col1 FROM tab2 GROUP BY tab2.col2 ---- 15 36 7 | > | 14854 14855 14856 14857 14858 14859 14860 14861 14862 14863 14864 14865 14866 14867 14868 | query I rowsort SELECT DISTINCT + 89 + cor0.col2 AS col0 FROM tab1 AS cor0 GROUP BY cor0.col2, cor0.col0 ---- 134 160 97 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT - tab2.col2 + COALESCE ( + 94, - tab2.col0 - tab2.col2, + tab2.col1, - col2 ) AS col1 FROM tab2 GROUP BY tab2.col2 ---- 15 36 7 |
︙ | ︙ | |||
14942 14943 14944 14945 14946 14947 14948 14949 14950 14951 14952 14953 14954 14955 | query I rowsort SELECT - - 20 AS col2 FROM tab1 GROUP BY tab1.col2 ---- 20 20 20 query I rowsort SELECT ALL + COALESCE ( 62, tab1.col1 * + tab1.col1 ) AS col0 FROM tab1 GROUP BY tab1.col0 ---- 62 62 62 | > | 14959 14960 14961 14962 14963 14964 14965 14966 14967 14968 14969 14970 14971 14972 14973 | query I rowsort SELECT - - 20 AS col2 FROM tab1 GROUP BY tab1.col2 ---- 20 20 20 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT ALL + COALESCE ( 62, tab1.col1 * + tab1.col1 ) AS col0 FROM tab1 GROUP BY tab1.col0 ---- 62 62 62 |
︙ | ︙ | |||
15504 15505 15506 15507 15508 15509 15510 15511 15512 15513 15514 15515 15516 15517 | query I rowsort SELECT DISTINCT + tab1.col0 * 28 AS col2 FROM tab1 GROUP BY tab1.col0 ---- 2296 616 784 query I rowsort SELECT DISTINCT col0 + COALESCE ( 51, tab2.col2 * tab2.col1, - 35 * - tab2.col0 + tab2.col1 ) FROM tab2 GROUP BY tab2.col0 ---- 142 143 66 | > | 15522 15523 15524 15525 15526 15527 15528 15529 15530 15531 15532 15533 15534 15535 15536 | query I rowsort SELECT DISTINCT + tab1.col0 * 28 AS col2 FROM tab1 GROUP BY tab1.col0 ---- 2296 616 784 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT DISTINCT col0 + COALESCE ( 51, tab2.col2 * tab2.col1, - 35 * - tab2.col0 + tab2.col1 ) FROM tab2 GROUP BY tab2.col0 ---- 142 143 66 |
︙ | ︙ | |||
15625 15626 15627 15628 15629 15630 15631 15632 15633 15634 15635 15636 15637 15638 | skipif postgresql # PostgreSQL requires AS when renaming output columns query I rowsort SELECT DISTINCT - 98 col1 FROM tab2 GROUP BY col1 ---- -98 query I rowsort SELECT ALL - - COALESCE ( 27, tab0.col0 ) AS col2 FROM tab0 GROUP BY tab0.col2 ---- 27 27 27 | > | 15644 15645 15646 15647 15648 15649 15650 15651 15652 15653 15654 15655 15656 15657 15658 | skipif postgresql # PostgreSQL requires AS when renaming output columns query I rowsort SELECT DISTINCT - 98 col1 FROM tab2 GROUP BY col1 ---- -98 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT ALL - - COALESCE ( 27, tab0.col0 ) AS col2 FROM tab0 GROUP BY tab0.col2 ---- 27 27 27 |
︙ | ︙ | |||
16027 16028 16029 16030 16031 16032 16033 16034 16035 16036 16037 16038 16039 16040 | query I rowsort label-2166 SELECT 93 / + cor0.col2 AS col0 FROM tab0 AS cor0 GROUP BY col2, cor0.col0 ---- 1 2 3 query I rowsort SELECT DISTINCT cor0.col0 + cor0.col0 * COALESCE ( - 65, cor0.col1 * + ( - cor0.col1 * cor0.col2 ) + cor0.col0 ) FROM tab1 cor0 GROUP BY cor0.col0 ---- -1408 -1792 -5248 | > | 16047 16048 16049 16050 16051 16052 16053 16054 16055 16056 16057 16058 16059 16060 16061 | query I rowsort label-2166 SELECT 93 / + cor0.col2 AS col0 FROM tab0 AS cor0 GROUP BY col2, cor0.col0 ---- 1 2 3 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT DISTINCT cor0.col0 + cor0.col0 * COALESCE ( - 65, cor0.col1 * + ( - cor0.col1 * cor0.col2 ) + cor0.col0 ) FROM tab1 cor0 GROUP BY cor0.col0 ---- -1408 -1792 -5248 |
︙ | ︙ | |||
17408 17409 17410 17411 17412 17413 17414 17415 17416 17417 17418 17419 17420 17421 | query I rowsort SELECT ALL 74 * + cor0.col2 FROM tab0 AS cor0 GROUP BY col2, cor0.col2 ---- 1776 2812 5846 query I rowsort SELECT tab2.col0 AS col2 FROM tab2 GROUP BY tab2.col0 HAVING NOT col2 BETWEEN ( NULL ) AND NULL ---- query I rowsort SELECT DISTINCT - 9 AS col2 FROM tab0 AS cor0 GROUP BY cor0.col0 ---- | > | 17429 17430 17431 17432 17433 17434 17435 17436 17437 17438 17439 17440 17441 17442 17443 | query I rowsort SELECT ALL 74 * + cor0.col2 FROM tab0 AS cor0 GROUP BY col2, cor0.col2 ---- 1776 2812 5846 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT tab2.col0 AS col2 FROM tab2 GROUP BY tab2.col0 HAVING NOT col2 BETWEEN ( NULL ) AND NULL ---- query I rowsort SELECT DISTINCT - 9 AS col2 FROM tab0 AS cor0 GROUP BY cor0.col0 ---- |
︙ | ︙ | |||
17945 17946 17947 17948 17949 17950 17951 17952 17953 17954 17955 17956 17957 17958 | query I rowsort label-2440 SELECT DISTINCT 23 + cor0.col0 / 27 col2 FROM tab1 AS cor0 GROUP BY cor0.col0 ---- 23 24 26 query I rowsort SELECT DISTINCT COALESCE ( 98, - col2, - cor0.col0 ) + col0 FROM tab0 AS cor0 GROUP BY cor0.col0, cor0.col0 ---- 124 141 181 | > | 17967 17968 17969 17970 17971 17972 17973 17974 17975 17976 17977 17978 17979 17980 17981 | query I rowsort label-2440 SELECT DISTINCT 23 + cor0.col0 / 27 col2 FROM tab1 AS cor0 GROUP BY cor0.col0 ---- 23 24 26 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT DISTINCT COALESCE ( 98, - col2, - cor0.col0 ) + col0 FROM tab0 AS cor0 GROUP BY cor0.col0, cor0.col0 ---- 124 141 181 |
︙ | ︙ | |||
17994 17995 17996 17997 17998 17999 18000 18001 18002 18003 18004 18005 18006 18007 | SELECT DISTINCT ( COALESCE ( 14, col0 DIV + cor0.col2 ) ) DIV cor0.col0 + cor0.col0 FROM tab1 AS cor0 GROUP BY cor0.col0 ---- 22 28 82 skipif mysql # not compatible query I rowsort label-2448 SELECT DISTINCT ( COALESCE ( 14, col0 / + cor0.col2 ) ) / cor0.col0 + cor0.col0 FROM tab1 AS cor0 GROUP BY cor0.col0 ---- 22 28 82 | > | 18017 18018 18019 18020 18021 18022 18023 18024 18025 18026 18027 18028 18029 18030 18031 | SELECT DISTINCT ( COALESCE ( 14, col0 DIV + cor0.col2 ) ) DIV cor0.col0 + cor0.col0 FROM tab1 AS cor0 GROUP BY cor0.col0 ---- 22 28 82 skipif mysql # not compatible skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort label-2448 SELECT DISTINCT ( COALESCE ( 14, col0 / + cor0.col2 ) ) / cor0.col0 + cor0.col0 FROM tab1 AS cor0 GROUP BY cor0.col0 ---- 22 28 82 |
︙ | ︙ | |||
18378 18379 18380 18381 18382 18383 18384 18385 18386 18387 18388 18389 18390 18391 | query I rowsort SELECT - 4 AS col1 FROM tab0 AS cor0 GROUP BY cor0.col1 ---- -4 -4 query I rowsort SELECT ALL + + COALESCE ( - 81, tab0.col1 ) * tab0.col0 FROM tab0 GROUP BY tab0.col0 ---- -2106 -3483 -6723 | > | 18402 18403 18404 18405 18406 18407 18408 18409 18410 18411 18412 18413 18414 18415 18416 | query I rowsort SELECT - 4 AS col1 FROM tab0 AS cor0 GROUP BY cor0.col1 ---- -4 -4 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT ALL + + COALESCE ( - 81, tab0.col1 ) * tab0.col0 FROM tab0 GROUP BY tab0.col0 ---- -2106 -3483 -6723 |
︙ | ︙ | |||
18621 18622 18623 18624 18625 18626 18627 18628 18629 18630 18631 18632 18633 18634 | skipif mysql # not compatible query I rowsort label-2533 SELECT - CAST ( NULL AS REAL ) FROM tab0 AS cor0 GROUP BY cor0.col1 ---- NULL NULL query I rowsort SELECT + COALESCE ( - 18, cor0.col1 * + cor0.col0, - cor0.col1 * cor0.col0 ) AS col2 FROM tab0 AS cor0 GROUP BY cor0.col1 ---- -18 -18 query I rowsort | > | 18646 18647 18648 18649 18650 18651 18652 18653 18654 18655 18656 18657 18658 18659 18660 | skipif mysql # not compatible query I rowsort label-2533 SELECT - CAST ( NULL AS REAL ) FROM tab0 AS cor0 GROUP BY cor0.col1 ---- NULL NULL skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT + COALESCE ( - 18, cor0.col1 * + cor0.col0, - cor0.col1 * cor0.col0 ) AS col2 FROM tab0 AS cor0 GROUP BY cor0.col1 ---- -18 -18 query I rowsort |
︙ | ︙ | |||
19765 19766 19767 19768 19769 19770 19771 19772 19773 19774 19775 19776 19777 19778 | query I rowsort SELECT cor0.col1 * 32 + - cor0.col1 AS col0 FROM tab2 cor0 GROUP BY cor0.col1, cor0.col2 ---- 1271 1829 1891 query I rowsort SELECT DISTINCT COALESCE ( 97, + tab2.col0 * - tab2.col1 + + tab2.col0 ) * tab2.col2 AS col0 FROM tab2 GROUP BY tab2.col2 ---- 5626 7663 8439 | > | 19791 19792 19793 19794 19795 19796 19797 19798 19799 19800 19801 19802 19803 19804 19805 | query I rowsort SELECT cor0.col1 * 32 + - cor0.col1 AS col0 FROM tab2 cor0 GROUP BY cor0.col1, cor0.col2 ---- 1271 1829 1891 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT DISTINCT COALESCE ( 97, + tab2.col0 * - tab2.col1 + + tab2.col0 ) * tab2.col2 AS col0 FROM tab2 GROUP BY tab2.col2 ---- 5626 7663 8439 |
︙ | ︙ | |||
19844 19845 19846 19847 19848 19849 19850 19851 19852 19853 19854 19855 19856 19857 | query I rowsort SELECT ALL - cor0.col1 AS col1 FROM tab1 AS cor0 GROUP BY col1, cor0.col0 ---- -44 -57 -6 query I rowsort SELECT ALL col0 * - tab1.col0 + + COALESCE ( 12, col2 * + tab1.col0 ) * - 27 AS col1 FROM tab1 GROUP BY tab1.col0 ---- -1108 -7048 -808 | > | 19871 19872 19873 19874 19875 19876 19877 19878 19879 19880 19881 19882 19883 19884 19885 | query I rowsort SELECT ALL - cor0.col1 AS col1 FROM tab1 AS cor0 GROUP BY col1, cor0.col0 ---- -44 -57 -6 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT ALL col0 * - tab1.col0 + + COALESCE ( 12, col2 * + tab1.col0 ) * - 27 AS col1 FROM tab1 GROUP BY tab1.col0 ---- -1108 -7048 -808 |
︙ | ︙ | |||
20843 20844 20845 20846 20847 20848 20849 20850 20851 20852 20853 20854 20855 20856 | SELECT - COALESCE ( - 37, cor0.col0 DIV 63 + + cor0.col0 ) DIV col2 + cor0.col2 * 41 AS col0 FROM tab1 AS cor0 GROUP BY cor0.col2 ---- 1845 2911 332 skipif mysql # not compatible query I rowsort label-2832 SELECT - COALESCE ( - 37, cor0.col0 / 63 + + cor0.col0 ) / col2 + cor0.col2 * 41 AS col0 FROM tab1 AS cor0 GROUP BY cor0.col2 ---- 1845 2911 332 | > | 20871 20872 20873 20874 20875 20876 20877 20878 20879 20880 20881 20882 20883 20884 20885 | SELECT - COALESCE ( - 37, cor0.col0 DIV 63 + + cor0.col0 ) DIV col2 + cor0.col2 * 41 AS col0 FROM tab1 AS cor0 GROUP BY cor0.col2 ---- 1845 2911 332 skipif mysql # not compatible skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort label-2832 SELECT - COALESCE ( - 37, cor0.col0 / 63 + + cor0.col0 ) / col2 + cor0.col2 * 41 AS col0 FROM tab1 AS cor0 GROUP BY cor0.col2 ---- 1845 2911 332 |
︙ | ︙ | |||
20877 20878 20879 20880 20881 20882 20883 20884 20885 20886 20887 20888 20889 20890 | skipif postgresql # PostgreSQL requires AS when renaming output columns query I rowsort SELECT DISTINCT 4 col2 FROM tab2 GROUP BY tab2.col1 ---- 4 query I rowsort SELECT ALL COALESCE ( - 22, tab0.col1 ) FROM tab0 GROUP BY col0 ---- -22 -22 -22 | > | 20906 20907 20908 20909 20910 20911 20912 20913 20914 20915 20916 20917 20918 20919 20920 | skipif postgresql # PostgreSQL requires AS when renaming output columns query I rowsort SELECT DISTINCT 4 col2 FROM tab2 GROUP BY tab2.col1 ---- 4 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT ALL COALESCE ( - 22, tab0.col1 ) FROM tab0 GROUP BY col0 ---- -22 -22 -22 |
︙ | ︙ | |||
21060 21061 21062 21063 21064 21065 21066 21067 21068 21069 21070 21071 21072 21073 | query I rowsort SELECT ALL + cor0.col2 * + cor0.col2 FROM tab2 AS cor0 GROUP BY cor0.col2 ---- 3364 6241 7569 query I rowsort SELECT + COALESCE ( + 14, tab2.col2 * + tab2.col0, - 45 ) FROM tab2 GROUP BY tab2.col0 ---- 14 14 14 | > | 21090 21091 21092 21093 21094 21095 21096 21097 21098 21099 21100 21101 21102 21103 21104 | query I rowsort SELECT ALL + cor0.col2 * + cor0.col2 FROM tab2 AS cor0 GROUP BY cor0.col2 ---- 3364 6241 7569 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT + COALESCE ( + 14, tab2.col2 * + tab2.col0, - 45 ) FROM tab2 GROUP BY tab2.col0 ---- 14 14 14 |
︙ | ︙ | |||
21278 21279 21280 21281 21282 21283 21284 21285 21286 21287 21288 21289 21290 21291 | skipif postgresql # PostgreSQL requires AS when renaming output columns query I rowsort SELECT ALL + COALESCE ( 55, - cor0.col2 ) col2 FROM tab0 AS cor0 CROSS JOIN tab1 cor1 GROUP BY cor0.col1 ---- 55 55 query I rowsort SELECT ALL COALESCE ( - 71, tab2.col0 ) FROM tab2 GROUP BY tab2.col1 ---- -71 -71 -71 | > | 21309 21310 21311 21312 21313 21314 21315 21316 21317 21318 21319 21320 21321 21322 21323 | skipif postgresql # PostgreSQL requires AS when renaming output columns query I rowsort SELECT ALL + COALESCE ( 55, - cor0.col2 ) col2 FROM tab0 AS cor0 CROSS JOIN tab1 cor1 GROUP BY cor0.col1 ---- 55 55 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT ALL COALESCE ( - 71, tab2.col0 ) FROM tab2 GROUP BY tab2.col1 ---- -71 -71 -71 |
︙ | ︙ | |||
21327 21328 21329 21330 21331 21332 21333 21334 21335 21336 21337 21338 21339 21340 | query I rowsort SELECT + + tab1.col0 * + COALESCE ( - 94, tab1.col1 * + tab1.col2 ) col1 FROM tab1 GROUP BY tab1.col0 ---- -2068 -2632 -7708 query I rowsort SELECT - col1 + + COALESCE ( 31, tab0.col0, tab0.col0 ) FROM tab0 GROUP BY tab0.col1 ---- -50 31 query I rowsort | > | 21359 21360 21361 21362 21363 21364 21365 21366 21367 21368 21369 21370 21371 21372 21373 | query I rowsort SELECT + + tab1.col0 * + COALESCE ( - 94, tab1.col1 * + tab1.col2 ) col1 FROM tab1 GROUP BY tab1.col0 ---- -2068 -2632 -7708 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT - col1 + + COALESCE ( 31, tab0.col0, tab0.col0 ) FROM tab0 GROUP BY tab0.col1 ---- -50 31 query I rowsort |
︙ | ︙ | |||
21378 21379 21380 21381 21382 21383 21384 21385 21386 21387 21388 21389 21390 21391 | SELECT COALESCE ( + 59, tab2.col2 DIV + tab2.col1 ) FROM tab2 GROUP BY col0 ---- 59 59 59 skipif mysql # not compatible query I rowsort label-2904 SELECT COALESCE ( + 59, tab2.col2 / + tab2.col1 ) FROM tab2 GROUP BY col0 ---- 59 59 59 | > | 21411 21412 21413 21414 21415 21416 21417 21418 21419 21420 21421 21422 21423 21424 21425 | SELECT COALESCE ( + 59, tab2.col2 DIV + tab2.col1 ) FROM tab2 GROUP BY col0 ---- 59 59 59 skipif mysql # not compatible skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort label-2904 SELECT COALESCE ( + 59, tab2.col2 / + tab2.col1 ) FROM tab2 GROUP BY col0 ---- 59 59 59 |
︙ | ︙ | |||
21582 21583 21584 21585 21586 21587 21588 21589 21590 21591 21592 21593 21594 21595 | SELECT COALESCE ( - 84, cor0.col2, 78 DIV cor0.col0 + + col0 ) * + cor0.col2 + 21 FROM tab2 AS cor0 GROUP BY cor0.col2 ---- -4851 -6615 -7287 skipif mysql # not compatible query I rowsort label-2929 SELECT COALESCE ( - 84, cor0.col2, 78 / cor0.col0 + + col0 ) * + cor0.col2 + 21 FROM tab2 AS cor0 GROUP BY cor0.col2 ---- -4851 -6615 -7287 | > | 21616 21617 21618 21619 21620 21621 21622 21623 21624 21625 21626 21627 21628 21629 21630 | SELECT COALESCE ( - 84, cor0.col2, 78 DIV cor0.col0 + + col0 ) * + cor0.col2 + 21 FROM tab2 AS cor0 GROUP BY cor0.col2 ---- -4851 -6615 -7287 skipif mysql # not compatible skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort label-2929 SELECT COALESCE ( - 84, cor0.col2, 78 / cor0.col0 + + col0 ) * + cor0.col2 + 21 FROM tab2 AS cor0 GROUP BY cor0.col2 ---- -4851 -6615 -7287 |
︙ | ︙ | |||
21886 21887 21888 21889 21890 21891 21892 21893 21894 21895 21896 21897 21898 21899 | skipif postgresql # PostgreSQL requires AS when renaming output columns query I rowsort SELECT cor0.col1 + cor0.col1 col1 FROM tab0 AS cor0 GROUP BY cor0.col1 ---- 0 162 query I rowsort SELECT - COALESCE ( 69, - cor0.col2 ) FROM tab0 AS cor0 GROUP BY cor0.col0 ---- -69 -69 -69 | > | 21921 21922 21923 21924 21925 21926 21927 21928 21929 21930 21931 21932 21933 21934 21935 | skipif postgresql # PostgreSQL requires AS when renaming output columns query I rowsort SELECT cor0.col1 + cor0.col1 col1 FROM tab0 AS cor0 GROUP BY cor0.col1 ---- 0 162 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT - COALESCE ( 69, - cor0.col2 ) FROM tab0 AS cor0 GROUP BY cor0.col0 ---- -69 -69 -69 |
︙ | ︙ | |||
21907 21908 21909 21910 21911 21912 21913 21914 21915 21916 21917 21918 21919 21920 | query I rowsort SELECT ALL ( - cor0.col2 ) AS col1 FROM tab0 cor0 GROUP BY cor0.col2 ---- -24 -38 -79 query I rowsort SELECT DISTINCT COALESCE ( + 58, cor0.col2 ) AS col2 FROM tab0 AS cor0 GROUP BY cor0.col1 ---- 58 query I rowsort SELECT DISTINCT + tab1.col0 + - tab1.col0 AS col1 FROM tab1 GROUP BY tab1.col0 | > | 21943 21944 21945 21946 21947 21948 21949 21950 21951 21952 21953 21954 21955 21956 21957 | query I rowsort SELECT ALL ( - cor0.col2 ) AS col1 FROM tab0 cor0 GROUP BY cor0.col2 ---- -24 -38 -79 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT DISTINCT COALESCE ( + 58, cor0.col2 ) AS col2 FROM tab0 AS cor0 GROUP BY cor0.col1 ---- 58 query I rowsort SELECT DISTINCT + tab1.col0 + - tab1.col0 AS col1 FROM tab1 GROUP BY tab1.col0 |
︙ | ︙ | |||
23115 23116 23117 23118 23119 23120 23121 23122 23123 23124 23125 23126 23127 23128 | query I rowsort SELECT + 59 * 28 AS col0 FROM tab2 GROUP BY tab2.col0 ---- 1652 1652 1652 query I rowsort SELECT ALL - COALESCE ( tab0.col1, - 16, + col0 ) FROM tab0 GROUP BY tab0.col1 ---- -81 0 onlyif mysql # DIV for integer division: | > | 23152 23153 23154 23155 23156 23157 23158 23159 23160 23161 23162 23163 23164 23165 23166 | query I rowsort SELECT + 59 * 28 AS col0 FROM tab2 GROUP BY tab2.col0 ---- 1652 1652 1652 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT ALL - COALESCE ( tab0.col1, - 16, + col0 ) FROM tab0 GROUP BY tab0.col1 ---- -81 0 onlyif mysql # DIV for integer division: |
︙ | ︙ | |||
23285 23286 23287 23288 23289 23290 23291 23292 23293 23294 23295 23296 23297 23298 | 132 query I rowsort SELECT DISTINCT 84 AS col0 FROM tab0 AS cor0 CROSS JOIN tab0 AS cor1 GROUP BY cor0.col2 ---- 84 query I rowsort SELECT cor0.col0 * - COALESCE ( - 38, cor0.col1 ) FROM tab1 AS cor0 GROUP BY cor0.col0, cor0.col0 ---- 1064 3116 836 | > | 23323 23324 23325 23326 23327 23328 23329 23330 23331 23332 23333 23334 23335 23336 23337 | 132 query I rowsort SELECT DISTINCT 84 AS col0 FROM tab0 AS cor0 CROSS JOIN tab0 AS cor1 GROUP BY cor0.col2 ---- 84 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT cor0.col0 * - COALESCE ( - 38, cor0.col1 ) FROM tab1 AS cor0 GROUP BY cor0.col0, cor0.col0 ---- 1064 3116 836 |
︙ | ︙ | |||
23350 23351 23352 23353 23354 23355 23356 23357 23358 23359 23360 23361 23362 23363 | -7 query I rowsort SELECT DISTINCT - 98 FROM tab0 AS cor0 GROUP BY cor0.col0 ---- -98 query I rowsort SELECT COALESCE ( 24, - tab2.col1, + tab2.col0 * 28 + + tab2.col1 * tab2.col0 ) FROM tab2 GROUP BY tab2.col2 ---- 24 24 24 | > | 23389 23390 23391 23392 23393 23394 23395 23396 23397 23398 23399 23400 23401 23402 23403 | -7 query I rowsort SELECT DISTINCT - 98 FROM tab0 AS cor0 GROUP BY cor0.col0 ---- -98 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT COALESCE ( 24, - tab2.col1, + tab2.col0 * 28 + + tab2.col1 * tab2.col0 ) FROM tab2 GROUP BY tab2.col2 ---- 24 24 24 |
︙ | ︙ | |||
23894 23895 23896 23897 23898 23899 23900 23901 23902 23903 23904 23905 23906 23907 | SELECT CASE - cor0.col0 WHEN CAST( NULL AS SIGNED ) THEN + cor0.col2 / - cor0.col1 END col2 FROM tab1 AS cor0 GROUP BY col1 ---- NULL NULL NULL skipif mysql # not compatible query I rowsort label-3232 SELECT CASE - cor0.col0 WHEN CAST ( NULL AS INTEGER ) THEN + cor0.col2 / - cor0.col1 END col2 FROM tab1 AS cor0 GROUP BY col1 ---- NULL NULL NULL | > | 23934 23935 23936 23937 23938 23939 23940 23941 23942 23943 23944 23945 23946 23947 23948 | SELECT CASE - cor0.col0 WHEN CAST( NULL AS SIGNED ) THEN + cor0.col2 / - cor0.col1 END col2 FROM tab1 AS cor0 GROUP BY col1 ---- NULL NULL NULL skipif mysql # not compatible skipif postgresql # PostgreSQL requires AS when renaming output columns query I rowsort label-3232 SELECT CASE - cor0.col0 WHEN CAST ( NULL AS INTEGER ) THEN + cor0.col2 / - cor0.col1 END col2 FROM tab1 AS cor0 GROUP BY col1 ---- NULL NULL NULL |
︙ | ︙ | |||
24013 24014 24015 24016 24017 24018 24019 24020 24021 24022 24023 24024 24025 24026 | query I rowsort SELECT + 6 FROM tab0 GROUP BY tab0.col0 ---- 6 6 6 query I rowsort SELECT cor0.col1 + COALESCE ( - 50, cor0.col0 ) AS col0 FROM tab1 AS cor0 GROUP BY col1 ---- -44 -6 7 | > | 24054 24055 24056 24057 24058 24059 24060 24061 24062 24063 24064 24065 24066 24067 24068 | query I rowsort SELECT + 6 FROM tab0 GROUP BY tab0.col0 ---- 6 6 6 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT cor0.col1 + COALESCE ( - 50, cor0.col0 ) AS col0 FROM tab1 AS cor0 GROUP BY col1 ---- -44 -6 7 |
︙ | ︙ | |||
24247 24248 24249 24250 24251 24252 24253 24254 24255 24256 24257 24258 24259 24260 | query I rowsort SELECT tab0.col2 + tab0.col2 AS col1 FROM tab0 GROUP BY tab0.col2 ---- 158 48 76 query I rowsort SELECT + - COALESCE ( + 43, tab0.col1 ) * - tab0.col0 FROM tab0 GROUP BY tab0.col0 ---- 1118 1849 3569 | > | 24289 24290 24291 24292 24293 24294 24295 24296 24297 24298 24299 24300 24301 24302 24303 | query I rowsort SELECT tab0.col2 + tab0.col2 AS col1 FROM tab0 GROUP BY tab0.col2 ---- 158 48 76 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT + - COALESCE ( + 43, tab0.col1 ) * - tab0.col0 FROM tab0 GROUP BY tab0.col0 ---- 1118 1849 3569 |
︙ | ︙ | |||
24542 24543 24544 24545 24546 24547 24548 24549 24550 24551 24552 24553 24554 24555 | query I rowsort SELECT DISTINCT - 68 - + cor0.col0 AS col2 FROM tab0 AS cor0 GROUP BY cor0.col0 ---- -111 -151 -94 query I rowsort SELECT DISTINCT + COALESCE ( - 26, - cor0.col2 * cor0.col0, + cor0.col1 ) FROM tab1 AS cor0 GROUP BY cor0.col0 ---- -26 skipif postgresql # PostgreSQL requires AS when renaming output columns query I rowsort | > | 24585 24586 24587 24588 24589 24590 24591 24592 24593 24594 24595 24596 24597 24598 24599 | query I rowsort SELECT DISTINCT - 68 - + cor0.col0 AS col2 FROM tab0 AS cor0 GROUP BY cor0.col0 ---- -111 -151 -94 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT DISTINCT + COALESCE ( - 26, - cor0.col2 * cor0.col0, + cor0.col1 ) FROM tab1 AS cor0 GROUP BY cor0.col0 ---- -26 skipif postgresql # PostgreSQL requires AS when renaming output columns query I rowsort |
︙ | ︙ | |||
25497 25498 25499 25500 25501 25502 25503 25504 25505 25506 25507 25508 25509 25510 | 3627 query I rowsort SELECT DISTINCT 75 AS col2 FROM tab2 GROUP BY tab2.col2 ---- 75 query I rowsort SELECT + COALESCE ( 93, - cor0.col2, cor0.col0 * + 12 ) FROM tab0 AS cor0 GROUP BY cor0.col0 ---- 93 93 93 | > | 25541 25542 25543 25544 25545 25546 25547 25548 25549 25550 25551 25552 25553 25554 25555 | 3627 query I rowsort SELECT DISTINCT 75 AS col2 FROM tab2 GROUP BY tab2.col2 ---- 75 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT + COALESCE ( 93, - cor0.col2, cor0.col0 * + 12 ) FROM tab0 AS cor0 GROUP BY cor0.col0 ---- 93 93 93 |
︙ | ︙ | |||
26128 26129 26130 26131 26132 26133 26134 26135 26136 26137 26138 26139 26140 26141 | query I rowsort SELECT ALL - col1 + col1 AS col0 FROM tab1 GROUP BY tab1.col1 ---- 0 0 0 query I rowsort SELECT DISTINCT + COALESCE ( + 83, col1 + - tab0.col2 ) + 37 AS col0 FROM tab0 GROUP BY tab0.col1 ---- 120 query I rowsort SELECT - ( + tab1.col1 ) FROM tab1 GROUP BY tab1.col1 | > | 26173 26174 26175 26176 26177 26178 26179 26180 26181 26182 26183 26184 26185 26186 26187 | query I rowsort SELECT ALL - col1 + col1 AS col0 FROM tab1 GROUP BY tab1.col1 ---- 0 0 0 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT DISTINCT + COALESCE ( + 83, col1 + - tab0.col2 ) + 37 AS col0 FROM tab0 GROUP BY tab0.col1 ---- 120 query I rowsort SELECT - ( + tab1.col1 ) FROM tab1 GROUP BY tab1.col1 |
︙ | ︙ | |||
26576 26577 26578 26579 26580 26581 26582 26583 26584 26585 26586 26587 26588 26589 | skipif mysql # not compatible skipif postgresql # PostgreSQL requires AS when renaming output columns query I rowsort label-3594 SELECT DISTINCT - cor0.col2 / cor0.col2 col2 FROM tab1 AS cor0 GROUP BY cor0.col2 ---- -1 query I rowsort SELECT ALL + + COALESCE ( - 48, - tab1.col0 * 90 + tab1.col0 ) AS col0 FROM tab1 GROUP BY tab1.col2 ---- -48 -48 -48 | > | 26622 26623 26624 26625 26626 26627 26628 26629 26630 26631 26632 26633 26634 26635 26636 | skipif mysql # not compatible skipif postgresql # PostgreSQL requires AS when renaming output columns query I rowsort label-3594 SELECT DISTINCT - cor0.col2 / cor0.col2 col2 FROM tab1 AS cor0 GROUP BY cor0.col2 ---- -1 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT ALL + + COALESCE ( - 48, - tab1.col0 * 90 + tab1.col0 ) AS col0 FROM tab1 GROUP BY tab1.col2 ---- -48 -48 -48 |
︙ | ︙ | |||
27152 27153 27154 27155 27156 27157 27158 27159 27160 27161 27162 27163 27164 27165 | 59 61 query I rowsort SELECT DISTINCT + tab1.col2 * col2 FROM tab1 GROUP BY tab1.col2 HAVING NOT NULL IS NULL ---- query I rowsort SELECT DISTINCT COALESCE ( - 68, + cor0.col1 ) AS col2 FROM tab1 AS cor0 GROUP BY cor0.col0, cor0.col2 ---- -68 query I rowsort SELECT ALL cor0.col1 * cor0.col0 FROM tab1 AS cor0 GROUP BY cor0.col0, cor0.col1 | > | 27199 27200 27201 27202 27203 27204 27205 27206 27207 27208 27209 27210 27211 27212 27213 | 59 61 query I rowsort SELECT DISTINCT + tab1.col2 * col2 FROM tab1 GROUP BY tab1.col2 HAVING NOT NULL IS NULL ---- skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT DISTINCT COALESCE ( - 68, + cor0.col1 ) AS col2 FROM tab1 AS cor0 GROUP BY cor0.col0, cor0.col2 ---- -68 query I rowsort SELECT ALL cor0.col1 * cor0.col0 FROM tab1 AS cor0 GROUP BY cor0.col0, cor0.col1 |
︙ | ︙ | |||
28417 28418 28419 28420 28421 28422 28423 28424 28425 28426 28427 28428 28429 28430 | query I rowsort SELECT ALL + + 26 AS col2 FROM tab0 GROUP BY tab0.col0 ---- 26 26 26 query I rowsort SELECT + COALESCE ( + 56, + tab0.col1 * - tab0.col0 ) AS col0 FROM tab0 GROUP BY tab0.col2 ---- 56 56 56 | > | 28465 28466 28467 28468 28469 28470 28471 28472 28473 28474 28475 28476 28477 28478 28479 | query I rowsort SELECT ALL + + 26 AS col2 FROM tab0 GROUP BY tab0.col0 ---- 26 26 26 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT + COALESCE ( + 56, + tab0.col1 * - tab0.col0 ) AS col0 FROM tab0 GROUP BY tab0.col2 ---- 56 56 56 |
︙ | ︙ | |||
29713 29714 29715 29716 29717 29718 29719 29720 29721 29722 29723 29724 29725 29726 | query I rowsort SELECT ALL - 95 FROM tab2 AS cor0 GROUP BY cor0.col1 ---- -95 -95 -95 query I rowsort SELECT - cor0.col0 AS col2 FROM tab0 AS cor0 GROUP BY cor0.col0 HAVING ( NULL ) > - col2 ---- query I rowsort SELECT col0 FROM tab2 GROUP BY tab2.col0 HAVING NULL >= ( NULL ) ---- | > | 29762 29763 29764 29765 29766 29767 29768 29769 29770 29771 29772 29773 29774 29775 29776 | query I rowsort SELECT ALL - 95 FROM tab2 AS cor0 GROUP BY cor0.col1 ---- -95 -95 -95 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT - cor0.col0 AS col2 FROM tab0 AS cor0 GROUP BY cor0.col0 HAVING ( NULL ) > - col2 ---- query I rowsort SELECT col0 FROM tab2 GROUP BY tab2.col0 HAVING NULL >= ( NULL ) ---- |
︙ | ︙ | |||
30240 30241 30242 30243 30244 30245 30246 30247 30248 30249 30250 30251 30252 30253 | query I rowsort SELECT + 29 + - 36 AS col2 FROM tab1 GROUP BY tab1.col2 ---- -7 -7 -7 query I rowsort SELECT COALESCE ( - 92, cor0.col2, + 19 * cor0.col2 ) AS col0 FROM tab1 AS cor0 GROUP BY cor0.col1 ---- -92 -92 -92 | > | 30290 30291 30292 30293 30294 30295 30296 30297 30298 30299 30300 30301 30302 30303 30304 | query I rowsort SELECT + 29 + - 36 AS col2 FROM tab1 GROUP BY tab1.col2 ---- -7 -7 -7 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT COALESCE ( - 92, cor0.col2, + 19 * cor0.col2 ) AS col0 FROM tab1 AS cor0 GROUP BY cor0.col1 ---- -92 -92 -92 |
︙ | ︙ | |||
30331 30332 30333 30334 30335 30336 30337 30338 30339 30340 30341 30342 30343 30344 | 0 query I rowsort SELECT DISTINCT - 85 AS col2 FROM tab0 AS cor0 GROUP BY cor0.col1 ---- -85 query I rowsort SELECT - COALESCE ( 19, + cor0.col0 - col2, cor0.col1 ) FROM tab1 AS cor0 GROUP BY cor0.col1 ---- -19 -19 -19 | > | 30382 30383 30384 30385 30386 30387 30388 30389 30390 30391 30392 30393 30394 30395 30396 | 0 query I rowsort SELECT DISTINCT - 85 AS col2 FROM tab0 AS cor0 GROUP BY cor0.col1 ---- -85 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT - COALESCE ( 19, + cor0.col0 - col2, cor0.col1 ) FROM tab1 AS cor0 GROUP BY cor0.col1 ---- -19 -19 -19 |
︙ | ︙ | |||
32305 32306 32307 32308 32309 32310 32311 32312 32313 32314 32315 32316 32317 32318 | query I rowsort SELECT + 40 * + cor0.col0 FROM tab2 AS cor0 GROUP BY col0 ---- 3640 3680 600 query I rowsort SELECT DISTINCT + COALESCE ( + 0, cor0.col1 - ( + 72 ) ) FROM tab0 cor0 GROUP BY cor0.col2 ---- 0 query I rowsort SELECT + 81 + 76 FROM tab0 AS cor0 GROUP BY cor0.col2 | > | 32357 32358 32359 32360 32361 32362 32363 32364 32365 32366 32367 32368 32369 32370 32371 | query I rowsort SELECT + 40 * + cor0.col0 FROM tab2 AS cor0 GROUP BY col0 ---- 3640 3680 600 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT DISTINCT + COALESCE ( + 0, cor0.col1 - ( + 72 ) ) FROM tab0 cor0 GROUP BY cor0.col2 ---- 0 query I rowsort SELECT + 81 + 76 FROM tab0 AS cor0 GROUP BY cor0.col2 |
︙ | ︙ | |||
32526 32527 32528 32529 32530 32531 32532 32533 32534 32535 32536 32537 32538 32539 | 417 query I rowsort SELECT DISTINCT - NULLIF ( - cor0.col2, - col2 ) AS col2 FROM tab1 AS cor0 GROUP BY cor0.col2 ---- NULL query I rowsort SELECT ALL + ( - COALESCE ( 89, cor0.col1, - 97 ) ) AS col2 FROM tab2 AS cor0 GROUP BY cor0.col0, cor0.col0, cor0.col2 ---- -89 -89 -89 | > | 32579 32580 32581 32582 32583 32584 32585 32586 32587 32588 32589 32590 32591 32592 32593 | 417 query I rowsort SELECT DISTINCT - NULLIF ( - cor0.col2, - col2 ) AS col2 FROM tab1 AS cor0 GROUP BY cor0.col2 ---- NULL skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT ALL + ( - COALESCE ( 89, cor0.col1, - 97 ) ) AS col2 FROM tab2 AS cor0 GROUP BY cor0.col0, cor0.col0, cor0.col2 ---- -89 -89 -89 |
︙ | ︙ | |||
32552 32553 32554 32555 32556 32557 32558 32559 32560 32561 32562 32563 32564 32565 | query I rowsort SELECT ALL - 35 FROM tab1 AS cor0 GROUP BY cor0.col1 ---- -35 -35 -35 query I rowsort SELECT ALL - COALESCE ( + 43, - cor0.col1 + + cor0.col2, + cor0.col2 ) FROM tab2 cor0 GROUP BY cor0.col0, col0 ---- -43 -43 -43 | > | 32606 32607 32608 32609 32610 32611 32612 32613 32614 32615 32616 32617 32618 32619 32620 | query I rowsort SELECT ALL - 35 FROM tab1 AS cor0 GROUP BY cor0.col1 ---- -35 -35 -35 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT ALL - COALESCE ( + 43, - cor0.col1 + + cor0.col2, + cor0.col2 ) FROM tab2 cor0 GROUP BY cor0.col0, col0 ---- -43 -43 -43 |
︙ | ︙ | |||
32892 32893 32894 32895 32896 32897 32898 32899 32900 32901 32902 32903 32904 32905 | 3496 570 query I rowsort SELECT - tab1.col0 AS col2 FROM tab1 WHERE + tab1.col0 IN ( - tab1.col0 - tab1.col2 ) AND - tab1.col0 * tab1.col0 IN ( + tab1.col1 ) GROUP BY col0 ---- query I rowsort SELECT COALESCE ( 78, + col1, tab1.col0 + NULLIF ( + tab1.col2 + + tab1.col2, + tab1.col0 ) ) AS col1 FROM tab1 GROUP BY tab1.col0 ---- 78 78 78 | > | 32947 32948 32949 32950 32951 32952 32953 32954 32955 32956 32957 32958 32959 32960 32961 | 3496 570 query I rowsort SELECT - tab1.col0 AS col2 FROM tab1 WHERE + tab1.col0 IN ( - tab1.col0 - tab1.col2 ) AND - tab1.col0 * tab1.col0 IN ( + tab1.col1 ) GROUP BY col0 ---- skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT COALESCE ( 78, + col1, tab1.col0 + NULLIF ( + tab1.col2 + + tab1.col2, + tab1.col0 ) ) AS col1 FROM tab1 GROUP BY tab1.col0 ---- 78 78 78 |
︙ | ︙ | |||
32938 32939 32940 32941 32942 32943 32944 32945 32946 32947 32948 32949 32950 32951 | query I rowsort SELECT DISTINCT cor0.col1 * cor0.col1 AS col2 FROM tab0 AS cor0 GROUP BY cor0.col1 ---- 0 6561 query I rowsort SELECT COALESCE ( 50, - tab0.col0 ) FROM tab0 GROUP BY tab0.col2 ---- 50 50 50 | > | 32994 32995 32996 32997 32998 32999 33000 33001 33002 33003 33004 33005 33006 33007 33008 | query I rowsort SELECT DISTINCT cor0.col1 * cor0.col1 AS col2 FROM tab0 AS cor0 GROUP BY cor0.col1 ---- 0 6561 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT COALESCE ( 50, - tab0.col0 ) FROM tab0 GROUP BY tab0.col2 ---- 50 50 50 |
︙ | ︙ | |||
33250 33251 33252 33253 33254 33255 33256 33257 33258 33259 33260 33261 33262 33263 | query I rowsort SELECT 38 FROM tab0 AS cor0 CROSS JOIN tab1 AS cor1 GROUP BY cor0.col0 ---- 38 38 38 query I rowsort SELECT COALESCE ( + 96, + cor0.col1 * 72 ) FROM tab0 AS cor0 GROUP BY cor0.col0 ---- 96 96 96 | > | 33307 33308 33309 33310 33311 33312 33313 33314 33315 33316 33317 33318 33319 33320 33321 | query I rowsort SELECT 38 FROM tab0 AS cor0 CROSS JOIN tab1 AS cor1 GROUP BY cor0.col0 ---- 38 38 38 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT COALESCE ( + 96, + cor0.col1 * 72 ) FROM tab0 AS cor0 GROUP BY cor0.col0 ---- 96 96 96 |
︙ | ︙ | |||
34091 34092 34093 34094 34095 34096 34097 34098 34099 34100 34101 34102 34103 34104 | query I rowsort SELECT ALL 46 * - 51 FROM tab0 AS cor0 GROUP BY cor0.col2 ---- -2346 -2346 -2346 query I rowsort SELECT COALESCE ( - 50, cor0.col0, - cor0.col2 * + ( cor0.col0 * cor0.col1 ) + - 86 ) FROM tab2 AS cor0 GROUP BY cor0.col1, col2 ---- -50 -50 -50 | > | 34149 34150 34151 34152 34153 34154 34155 34156 34157 34158 34159 34160 34161 34162 34163 | query I rowsort SELECT ALL 46 * - 51 FROM tab0 AS cor0 GROUP BY cor0.col2 ---- -2346 -2346 -2346 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT COALESCE ( - 50, cor0.col0, - cor0.col2 * + ( cor0.col0 * cor0.col1 ) + - 86 ) FROM tab2 AS cor0 GROUP BY cor0.col1, col2 ---- -50 -50 -50 |
︙ | ︙ | |||
35253 35254 35255 35256 35257 35258 35259 35260 35261 35262 35263 35264 35265 35266 | query I rowsort label-4823 SELECT ALL - COALESCE ( + 13, - tab0.col1 + + ( col2 + - tab0.col1 ) ) - - CAST( NULL AS SIGNED ) AS col2 FROM tab0 GROUP BY tab0.col1 ---- NULL NULL skipif mysql # not compatible query I rowsort label-4823 SELECT ALL - COALESCE ( + 13, - tab0.col1 + + ( col2 + - tab0.col1 ) ) - - CAST ( NULL AS INTEGER ) AS col2 FROM tab0 GROUP BY tab0.col1 ---- NULL NULL query I rowsort | > | 35312 35313 35314 35315 35316 35317 35318 35319 35320 35321 35322 35323 35324 35325 35326 | query I rowsort label-4823 SELECT ALL - COALESCE ( + 13, - tab0.col1 + + ( col2 + - tab0.col1 ) ) - - CAST( NULL AS SIGNED ) AS col2 FROM tab0 GROUP BY tab0.col1 ---- NULL NULL skipif mysql # not compatible skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort label-4823 SELECT ALL - COALESCE ( + 13, - tab0.col1 + + ( col2 + - tab0.col1 ) ) - - CAST ( NULL AS INTEGER ) AS col2 FROM tab0 GROUP BY tab0.col1 ---- NULL NULL query I rowsort |
︙ | ︙ | |||
35443 35444 35445 35446 35447 35448 35449 35450 35451 35452 35453 35454 35455 35456 | 76 query I rowsort SELECT DISTINCT 62 AS col0 FROM tab2 GROUP BY tab2.col1 ---- 62 query I rowsort SELECT ALL - COALESCE ( - 25, - tab1.col2 ) * tab1.col1 + 61 FROM tab1 GROUP BY tab1.col1 ---- 1161 1486 211 | > | 35503 35504 35505 35506 35507 35508 35509 35510 35511 35512 35513 35514 35515 35516 35517 | 76 query I rowsort SELECT DISTINCT 62 AS col0 FROM tab2 GROUP BY tab2.col1 ---- 62 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT ALL - COALESCE ( - 25, - tab1.col2 ) * tab1.col1 + 61 FROM tab1 GROUP BY tab1.col1 ---- 1161 1486 211 |
︙ | ︙ | |||
36346 36347 36348 36349 36350 36351 36352 36353 36354 36355 36356 36357 36358 36359 | query I rowsort SELECT + + 76 FROM tab2 GROUP BY col0 ---- 76 76 76 query I rowsort SELECT ALL COALESCE ( + 45, cor0.col1, - cor0.col2 * CASE cor0.col2 WHEN - cor0.col2 + + cor0.col2 THEN cor0.col0 WHEN cor0.col0 + + cor0.col1 THEN cor0.col2 + + cor0.col2 END ) * cor0.col2 FROM tab0 cor0 GROUP BY cor0.col2, cor0.col2 ---- 1080 1710 3555 | > | 36407 36408 36409 36410 36411 36412 36413 36414 36415 36416 36417 36418 36419 36420 36421 | query I rowsort SELECT + + 76 FROM tab2 GROUP BY col0 ---- 76 76 76 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT ALL COALESCE ( + 45, cor0.col1, - cor0.col2 * CASE cor0.col2 WHEN - cor0.col2 + + cor0.col2 THEN cor0.col0 WHEN cor0.col0 + + cor0.col1 THEN cor0.col2 + + cor0.col2 END ) * cor0.col2 FROM tab0 cor0 GROUP BY cor0.col2, cor0.col2 ---- 1080 1710 3555 |
︙ | ︙ | |||
36592 36593 36594 36595 36596 36597 36598 36599 36600 36601 36602 36603 36604 36605 | query I rowsort SELECT ALL + + tab0.col0 * - tab0.col0 AS col1 FROM tab0 GROUP BY col0 ---- -1849 -676 -6889 query I rowsort SELECT ALL COALESCE ( 20, cor0.col2, + ( - COALESCE ( cor0.col1, + cor0.col1, + cor0.col0 ) ) + + 56, + cor0.col0 + col2 ) AS col2 FROM tab1 AS cor0 GROUP BY cor0.col1 ---- 20 20 20 | > | 36654 36655 36656 36657 36658 36659 36660 36661 36662 36663 36664 36665 36666 36667 36668 | query I rowsort SELECT ALL + + tab0.col0 * - tab0.col0 AS col1 FROM tab0 GROUP BY col0 ---- -1849 -676 -6889 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT ALL COALESCE ( 20, cor0.col2, + ( - COALESCE ( cor0.col1, + cor0.col1, + cor0.col0 ) ) + + 56, + cor0.col0 + col2 ) AS col2 FROM tab1 AS cor0 GROUP BY cor0.col1 ---- 20 20 20 |
︙ | ︙ | |||
36672 36673 36674 36675 36676 36677 36678 36679 36680 36681 36682 36683 36684 36685 | SELECT + CASE 74 WHEN cor0.col0 THEN NULL WHEN - CAST( NULL AS DECIMAL ) * + COALESCE ( 45, + cor0.col2 / - col2 + cor0.col1 ) THEN col0 END FROM tab0 AS cor0 GROUP BY cor0.col0 ---- NULL NULL NULL skipif mysql # not compatible query I rowsort label-5016 SELECT + CASE 74 WHEN cor0.col0 THEN NULL WHEN - CAST ( NULL AS REAL ) * + COALESCE ( 45, + cor0.col2 / - col2 + cor0.col1 ) THEN col0 END FROM tab0 AS cor0 GROUP BY cor0.col0 ---- NULL NULL NULL | > | 36735 36736 36737 36738 36739 36740 36741 36742 36743 36744 36745 36746 36747 36748 36749 | SELECT + CASE 74 WHEN cor0.col0 THEN NULL WHEN - CAST( NULL AS DECIMAL ) * + COALESCE ( 45, + cor0.col2 / - col2 + cor0.col1 ) THEN col0 END FROM tab0 AS cor0 GROUP BY cor0.col0 ---- NULL NULL NULL skipif mysql # not compatible skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort label-5016 SELECT + CASE 74 WHEN cor0.col0 THEN NULL WHEN - CAST ( NULL AS REAL ) * + COALESCE ( 45, + cor0.col2 / - col2 + cor0.col1 ) THEN col0 END FROM tab0 AS cor0 GROUP BY cor0.col0 ---- NULL NULL NULL |
︙ | ︙ | |||
36993 36994 36995 36996 36997 36998 36999 37000 37001 37002 37003 37004 37005 37006 | query I rowsort SELECT DISTINCT cor0.col1 * + cor0.col1 FROM tab0 AS cor0 GROUP BY cor0.col1 ---- 0 6561 query I rowsort SELECT ALL COALESCE ( - 67, - cor0.col2 * - cor0.col0 ) FROM tab2 cor0 GROUP BY col0 ---- -67 -67 -67 | > | 37057 37058 37059 37060 37061 37062 37063 37064 37065 37066 37067 37068 37069 37070 37071 | query I rowsort SELECT DISTINCT cor0.col1 * + cor0.col1 FROM tab0 AS cor0 GROUP BY cor0.col1 ---- 0 6561 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT ALL COALESCE ( - 67, - cor0.col2 * - cor0.col0 ) FROM tab2 cor0 GROUP BY col0 ---- -67 -67 -67 |
︙ | ︙ | |||
38691 38692 38693 38694 38695 38696 38697 38698 38699 38700 38701 38702 38703 38704 | -60 query I rowsort SELECT DISTINCT col2 + - cor0.col2 AS col2 FROM tab1 AS cor0 GROUP BY cor0.col1, cor0.col2 ---- 0 query I rowsort SELECT + COALESCE ( 46, - tab2.col2 ) AS col2 FROM tab2 GROUP BY tab2.col1 ---- 46 46 46 | > | 38756 38757 38758 38759 38760 38761 38762 38763 38764 38765 38766 38767 38768 38769 38770 | -60 query I rowsort SELECT DISTINCT col2 + - cor0.col2 AS col2 FROM tab1 AS cor0 GROUP BY cor0.col1, cor0.col2 ---- 0 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT + COALESCE ( 46, - tab2.col2 ) AS col2 FROM tab2 GROUP BY tab2.col1 ---- 46 46 46 |
︙ | ︙ | |||
40531 40532 40533 40534 40535 40536 40537 40538 40539 40540 40541 40542 40543 40544 | onlyif mysql # DIV for integer division: query I rowsort label-5546 SELECT DISTINCT + COALESCE ( 88, + tab0.col2 DIV - tab0.col1 ) FROM tab0 GROUP BY tab0.col2 ---- 88 skipif mysql # not compatible query I rowsort label-5546 SELECT DISTINCT + COALESCE ( 88, + tab0.col2 / - tab0.col1 ) FROM tab0 GROUP BY tab0.col2 ---- 88 query I rowsort SELECT ALL cor0.col2 AS col1 FROM tab2 AS cor0 GROUP BY cor0.col2, cor0.col0 | > | 40597 40598 40599 40600 40601 40602 40603 40604 40605 40606 40607 40608 40609 40610 40611 | onlyif mysql # DIV for integer division: query I rowsort label-5546 SELECT DISTINCT + COALESCE ( 88, + tab0.col2 DIV - tab0.col1 ) FROM tab0 GROUP BY tab0.col2 ---- 88 skipif mysql # not compatible skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort label-5546 SELECT DISTINCT + COALESCE ( 88, + tab0.col2 / - tab0.col1 ) FROM tab0 GROUP BY tab0.col2 ---- 88 query I rowsort SELECT ALL cor0.col2 AS col1 FROM tab2 AS cor0 GROUP BY cor0.col2, cor0.col0 |
︙ | ︙ | |||
40999 41000 41001 41002 41003 41004 41005 41006 41007 41008 41009 41010 41011 41012 | query I rowsort SELECT + + 18 FROM tab0 GROUP BY tab0.col0 ---- 18 18 18 query I rowsort SELECT - cor0.col0 + CASE cor0.col1 WHEN - cor0.col0 / - 21 THEN + cor0.col1 * cor0.col0 END col1 FROM tab2 AS cor0 GROUP BY cor0.col0, cor0.col1 ---- NULL NULL NULL | > | 41066 41067 41068 41069 41070 41071 41072 41073 41074 41075 41076 41077 41078 41079 41080 | query I rowsort SELECT + + 18 FROM tab0 GROUP BY tab0.col0 ---- 18 18 18 skipif postgresql # PostgreSQL requires AS when renaming output columns query I rowsort SELECT - cor0.col0 + CASE cor0.col1 WHEN - cor0.col0 / - 21 THEN + cor0.col1 * cor0.col0 END col1 FROM tab2 AS cor0 GROUP BY cor0.col0, cor0.col1 ---- NULL NULL NULL |
︙ | ︙ | |||
41508 41509 41510 41511 41512 41513 41514 41515 41516 41517 41518 41519 41520 41521 | SELECT ALL + + COALESCE ( 43, tab1.col2 DIV tab1.col0 ) AS col1 FROM tab1 GROUP BY tab1.col1 ---- 43 43 43 skipif mysql # not compatible query I rowsort label-5676 SELECT ALL + + COALESCE ( 43, tab1.col2 / tab1.col0 ) AS col1 FROM tab1 GROUP BY tab1.col1 ---- 43 43 43 | > | 41576 41577 41578 41579 41580 41581 41582 41583 41584 41585 41586 41587 41588 41589 41590 | SELECT ALL + + COALESCE ( 43, tab1.col2 DIV tab1.col0 ) AS col1 FROM tab1 GROUP BY tab1.col1 ---- 43 43 43 skipif mysql # not compatible skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort label-5676 SELECT ALL + + COALESCE ( 43, tab1.col2 / tab1.col0 ) AS col1 FROM tab1 GROUP BY tab1.col1 ---- 43 43 43 |
︙ | ︙ | |||
41654 41655 41656 41657 41658 41659 41660 41661 41662 41663 41664 41665 41666 41667 | query I rowsort SELECT ALL + 22 AS col0 FROM tab1 AS cor0 GROUP BY cor0.col2 ---- 22 22 22 query I rowsort SELECT ALL cor0.col2 + COALESCE ( 65, cor0.col1, + 36 + cor0.col0 ) AS col1 FROM tab1 AS cor0 GROUP BY cor0.col2 ---- 110 136 73 | > | 41723 41724 41725 41726 41727 41728 41729 41730 41731 41732 41733 41734 41735 41736 41737 | query I rowsort SELECT ALL + 22 AS col0 FROM tab1 AS cor0 GROUP BY cor0.col2 ---- 22 22 22 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT ALL cor0.col2 + COALESCE ( 65, cor0.col1, + 36 + cor0.col0 ) AS col1 FROM tab1 AS cor0 GROUP BY cor0.col2 ---- 110 136 73 |
︙ | ︙ | |||
42096 42097 42098 42099 42100 42101 42102 42103 42104 42105 42106 42107 42108 42109 | query I rowsort SELECT + 88 * - 0 FROM tab0 AS cor0 GROUP BY cor0.col0 ---- 0 0 0 query I rowsort SELECT ALL COALESCE ( 82, - col1 ) FROM tab0 AS cor0 GROUP BY cor0.col2 ---- 82 82 82 | > | 42166 42167 42168 42169 42170 42171 42172 42173 42174 42175 42176 42177 42178 42179 42180 | query I rowsort SELECT + 88 * - 0 FROM tab0 AS cor0 GROUP BY cor0.col0 ---- 0 0 0 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT ALL COALESCE ( 82, - col1 ) FROM tab0 AS cor0 GROUP BY cor0.col2 ---- 82 82 82 |
︙ | ︙ | |||
42624 42625 42626 42627 42628 42629 42630 42631 42632 42633 42634 42635 42636 42637 | -1827 query I rowsort SELECT DISTINCT - 52 * 3 FROM tab2 AS cor0 GROUP BY cor0.col2 ---- -156 query I rowsort SELECT + COALESCE ( 59, + cor0.col2, cor0.col2 ) FROM tab1 AS cor0 GROUP BY cor0.col1 ---- 59 59 59 | > | 42695 42696 42697 42698 42699 42700 42701 42702 42703 42704 42705 42706 42707 42708 42709 | -1827 query I rowsort SELECT DISTINCT - 52 * 3 FROM tab2 AS cor0 GROUP BY cor0.col2 ---- -156 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT + COALESCE ( 59, + cor0.col2, cor0.col2 ) FROM tab1 AS cor0 GROUP BY cor0.col1 ---- 59 59 59 |
︙ | ︙ | |||
43227 43228 43229 43230 43231 43232 43233 43234 43235 43236 43237 43238 43239 43240 | query I rowsort SELECT + 44 AS col2 FROM tab2 GROUP BY tab2.col0 ---- 44 44 44 query I rowsort SELECT DISTINCT + COALESCE ( + 26, cor0.col0 * cor0.col0 ) AS col1 FROM tab1 AS cor0 GROUP BY cor0.col1 ---- 26 query I rowsort SELECT - COALESCE ( 68, + 45 - + tab1.col2 ) FROM tab1 GROUP BY tab1.col2 | > | 43299 43300 43301 43302 43303 43304 43305 43306 43307 43308 43309 43310 43311 43312 43313 | query I rowsort SELECT + 44 AS col2 FROM tab2 GROUP BY tab2.col0 ---- 44 44 44 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT DISTINCT + COALESCE ( + 26, cor0.col0 * cor0.col0 ) AS col1 FROM tab1 AS cor0 GROUP BY cor0.col1 ---- 26 query I rowsort SELECT - COALESCE ( 68, + 45 - + tab1.col2 ) FROM tab1 GROUP BY tab1.col2 |
︙ | ︙ | |||
43536 43537 43538 43539 43540 43541 43542 43543 43544 43545 43546 43547 43548 43549 | SELECT - + COALESCE ( + 47, - tab1.col0 DIV 28 ) AS col0 FROM tab1 GROUP BY tab1.col1 ---- -47 -47 -47 skipif mysql # not compatible query I rowsort label-5960 SELECT - + COALESCE ( + 47, - tab1.col0 / 28 ) AS col0 FROM tab1 GROUP BY tab1.col1 ---- -47 -47 -47 | > | 43609 43610 43611 43612 43613 43614 43615 43616 43617 43618 43619 43620 43621 43622 43623 | SELECT - + COALESCE ( + 47, - tab1.col0 DIV 28 ) AS col0 FROM tab1 GROUP BY tab1.col1 ---- -47 -47 -47 skipif mysql # not compatible skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort label-5960 SELECT - + COALESCE ( + 47, - tab1.col0 / 28 ) AS col0 FROM tab1 GROUP BY tab1.col1 ---- -47 -47 -47 |
︙ | ︙ | |||
43837 43838 43839 43840 43841 43842 43843 43844 43845 43846 43847 43848 43849 43850 | query I rowsort SELECT - NULLIF ( 41, col2 ) FROM tab1 GROUP BY tab1.col2 ---- -41 -41 -41 query I rowsort SELECT COALESCE ( + 96, cor0.col0 ) AS col2 FROM tab2 AS cor0 GROUP BY cor0.col2 ---- 96 96 96 | > | 43911 43912 43913 43914 43915 43916 43917 43918 43919 43920 43921 43922 43923 43924 43925 | query I rowsort SELECT - NULLIF ( 41, col2 ) FROM tab1 GROUP BY tab1.col2 ---- -41 -41 -41 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT COALESCE ( + 96, cor0.col0 ) AS col2 FROM tab2 AS cor0 GROUP BY cor0.col2 ---- 96 96 96 |
︙ | ︙ | |||
44431 44432 44433 44434 44435 44436 44437 44438 44439 44440 44441 44442 44443 44444 | query I rowsort SELECT ALL tab0.col2 * - tab0.col2 AS col2 FROM tab0 GROUP BY tab0.col2 ---- -1444 -576 -6241 query I rowsort SELECT - CASE 1 WHEN tab1.col1 * + 75 THEN NULL ELSE 53 END col2 FROM tab1 GROUP BY tab1.col1 ---- -53 -53 -53 | > | 44506 44507 44508 44509 44510 44511 44512 44513 44514 44515 44516 44517 44518 44519 44520 | query I rowsort SELECT ALL tab0.col2 * - tab0.col2 AS col2 FROM tab0 GROUP BY tab0.col2 ---- -1444 -576 -6241 skipif postgresql # PostgreSQL requires AS when renaming output columns query I rowsort SELECT - CASE 1 WHEN tab1.col1 * + 75 THEN NULL ELSE 53 END col2 FROM tab1 GROUP BY tab1.col1 ---- -53 -53 -53 |
︙ | ︙ | |||
44507 44508 44509 44510 44511 44512 44513 44514 44515 44516 44517 44518 44519 44520 | query I rowsort label-6085 SELECT ALL + CAST ( tab1.col1 AS INTEGER ) FROM tab1 GROUP BY tab1.col1 ---- 44 57 6 query I rowsort SELECT ALL - COALESCE ( - 73, tab2.col2 ) FROM tab2 GROUP BY tab2.col1 ---- 73 73 73 | > | 44583 44584 44585 44586 44587 44588 44589 44590 44591 44592 44593 44594 44595 44596 44597 | query I rowsort label-6085 SELECT ALL + CAST ( tab1.col1 AS INTEGER ) FROM tab1 GROUP BY tab1.col1 ---- 44 57 6 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT ALL - COALESCE ( - 73, tab2.col2 ) FROM tab2 GROUP BY tab2.col1 ---- 73 73 73 |
︙ | ︙ | |||
44610 44611 44612 44613 44614 44615 44616 44617 44618 44619 44620 44621 44622 44623 | 82 query I rowsort SELECT DISTINCT ( + 53 ) FROM tab0 AS cor0 GROUP BY cor0.col0 ---- 53 query I rowsort SELECT - COALESCE ( - 8, tab1.col1 ) FROM tab1 GROUP BY tab1.col2 ---- 8 8 8 | > | 44687 44688 44689 44690 44691 44692 44693 44694 44695 44696 44697 44698 44699 44700 44701 | 82 query I rowsort SELECT DISTINCT ( + 53 ) FROM tab0 AS cor0 GROUP BY cor0.col0 ---- 53 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT - COALESCE ( - 8, tab1.col1 ) FROM tab1 GROUP BY tab1.col2 ---- 8 8 8 |
︙ | ︙ | |||
45289 45290 45291 45292 45293 45294 45295 45296 45297 45298 45299 45300 45301 45302 | query I rowsort SELECT + - 75 AS col1 FROM tab0 GROUP BY tab0.col1 ---- -75 -75 query I rowsort SELECT COALESCE ( 56, - tab2.col2, tab2.col1 ) AS col0 FROM tab2 GROUP BY tab2.col2 ---- 56 56 56 | > | 45367 45368 45369 45370 45371 45372 45373 45374 45375 45376 45377 45378 45379 45380 45381 | query I rowsort SELECT + - 75 AS col1 FROM tab0 GROUP BY tab0.col1 ---- -75 -75 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT COALESCE ( 56, - tab2.col2, tab2.col1 ) AS col0 FROM tab2 GROUP BY tab2.col2 ---- 56 56 56 |
︙ | ︙ | |||
46152 46153 46154 46155 46156 46157 46158 46159 46160 46161 46162 46163 46164 46165 | query I rowsort label-6309 SELECT ALL + CAST ( NULL AS INTEGER ) / - 55 AS col0 FROM tab0 GROUP BY tab0.col2 ---- NULL NULL NULL query I rowsort SELECT ALL COALESCE ( 82, tab0.col2, - tab0.col2 ) AS col1 FROM tab0 GROUP BY tab0.col0 ---- 82 82 82 | > | 46231 46232 46233 46234 46235 46236 46237 46238 46239 46240 46241 46242 46243 46244 46245 | query I rowsort label-6309 SELECT ALL + CAST ( NULL AS INTEGER ) / - 55 AS col0 FROM tab0 GROUP BY tab0.col2 ---- NULL NULL NULL skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT ALL COALESCE ( 82, tab0.col2, - tab0.col2 ) AS col1 FROM tab0 GROUP BY tab0.col0 ---- 82 82 82 |
︙ | ︙ | |||
47967 47968 47969 47970 47971 47972 47973 47974 47975 47976 47977 47978 47979 47980 | query I rowsort label-6559 SELECT ALL COALESCE ( - 43, tab0.col0 * + tab0.col0 + ( + tab0.col1 ) * tab0.col1, CASE tab0.col0 WHEN tab0.col0 THEN tab0.col0 * + tab0.col2 WHEN tab0.col0 * tab0.col1 THEN NULL WHEN + col1 + col1 THEN - tab0.col0 DIV - tab0.col1 + + tab0.col1 ELSE col1 END ) FROM tab0 GROUP BY tab0.col1 ---- -43 -43 skipif mysql # not compatible query I rowsort label-6559 SELECT ALL COALESCE ( - 43, tab0.col0 * + tab0.col0 + ( + tab0.col1 ) * tab0.col1, CASE tab0.col0 WHEN tab0.col0 THEN tab0.col0 * + tab0.col2 WHEN tab0.col0 * tab0.col1 THEN NULL WHEN + col1 + col1 THEN - tab0.col0 / - tab0.col1 + + tab0.col1 ELSE col1 END ) FROM tab0 GROUP BY tab0.col1 ---- -43 -43 query I rowsort | > | 48047 48048 48049 48050 48051 48052 48053 48054 48055 48056 48057 48058 48059 48060 48061 | query I rowsort label-6559 SELECT ALL COALESCE ( - 43, tab0.col0 * + tab0.col0 + ( + tab0.col1 ) * tab0.col1, CASE tab0.col0 WHEN tab0.col0 THEN tab0.col0 * + tab0.col2 WHEN tab0.col0 * tab0.col1 THEN NULL WHEN + col1 + col1 THEN - tab0.col0 DIV - tab0.col1 + + tab0.col1 ELSE col1 END ) FROM tab0 GROUP BY tab0.col1 ---- -43 -43 skipif mysql # not compatible skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort label-6559 SELECT ALL COALESCE ( - 43, tab0.col0 * + tab0.col0 + ( + tab0.col1 ) * tab0.col1, CASE tab0.col0 WHEN tab0.col0 THEN tab0.col0 * + tab0.col2 WHEN tab0.col0 * tab0.col1 THEN NULL WHEN + col1 + col1 THEN - tab0.col0 / - tab0.col1 + + tab0.col1 ELSE col1 END ) FROM tab0 GROUP BY tab0.col1 ---- -43 -43 query I rowsort |
︙ | ︙ | |||
49143 49144 49145 49146 49147 49148 49149 49150 49151 49152 49153 49154 49155 49156 | query I rowsort SELECT ALL + 92 FROM tab2 GROUP BY tab2.col2 ---- 92 92 92 query I rowsort SELECT ALL - COALESCE ( 70, tab1.col2 * + tab1.col0 + tab1.col2 ) AS col1 FROM tab1 GROUP BY tab1.col2 ---- -70 -70 -70 | > | 49224 49225 49226 49227 49228 49229 49230 49231 49232 49233 49234 49235 49236 49237 49238 | query I rowsort SELECT ALL + 92 FROM tab2 GROUP BY tab2.col2 ---- 92 92 92 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT ALL - COALESCE ( 70, tab1.col2 * + tab1.col0 + tab1.col2 ) AS col1 FROM tab1 GROUP BY tab1.col2 ---- -70 -70 -70 |
︙ | ︙ | |||
49583 49584 49585 49586 49587 49588 49589 49590 49591 49592 49593 49594 49595 49596 | query I rowsort SELECT + 23 AS col0 FROM tab2 GROUP BY tab2.col1 ---- 23 23 23 query I rowsort SELECT DISTINCT - CASE + 23 WHEN 54 THEN col2 + cor0.col2 * col1 END AS col0 FROM tab1 AS cor0 GROUP BY cor0.col2 ---- NULL query I rowsort SELECT DISTINCT + + 58 AS col0 FROM tab0 GROUP BY tab0.col1 | > | 49665 49666 49667 49668 49669 49670 49671 49672 49673 49674 49675 49676 49677 49678 49679 | query I rowsort SELECT + 23 AS col0 FROM tab2 GROUP BY tab2.col1 ---- 23 23 23 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT DISTINCT - CASE + 23 WHEN 54 THEN col2 + cor0.col2 * col1 END AS col0 FROM tab1 AS cor0 GROUP BY cor0.col2 ---- NULL query I rowsort SELECT DISTINCT + + 58 AS col0 FROM tab0 GROUP BY tab0.col1 |
︙ | ︙ | |||
50888 50889 50890 50891 50892 50893 50894 50895 50896 50897 50898 50899 50900 50901 | query I rowsort SELECT ALL ( + 62 ) col1 FROM tab0 cor0 GROUP BY col0 ---- 62 62 62 query I rowsort SELECT ALL COALESCE ( + 76, - cor0.col0 + cor0.col2 ) AS col2 FROM tab0 AS cor0 GROUP BY cor0.col1, col1 ---- 76 76 onlyif mysql # DIV for integer division: | > | 50971 50972 50973 50974 50975 50976 50977 50978 50979 50980 50981 50982 50983 50984 50985 | query I rowsort SELECT ALL ( + 62 ) col1 FROM tab0 cor0 GROUP BY col0 ---- 62 62 62 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT ALL COALESCE ( + 76, - cor0.col0 + cor0.col2 ) AS col2 FROM tab0 AS cor0 GROUP BY cor0.col1, col1 ---- 76 76 onlyif mysql # DIV for integer division: |
︙ | ︙ | |||
51172 51173 51174 51175 51176 51177 51178 51179 51180 51181 51182 51183 51184 51185 | query I rowsort SELECT ( 43 ) + + cor0.col1 FROM tab1 AS cor0 GROUP BY cor0.col1 ---- 100 49 87 query I rowsort SELECT DISTINCT COALESCE ( - 76, + cor0.col1 * + cor0.col2 ) AS col2 FROM tab1 AS cor0 GROUP BY cor0.col1 ---- -76 query I rowsort SELECT + 87 AS col2 FROM tab0 cor0 GROUP BY cor0.col0 | > | 51256 51257 51258 51259 51260 51261 51262 51263 51264 51265 51266 51267 51268 51269 51270 | query I rowsort SELECT ( 43 ) + + cor0.col1 FROM tab1 AS cor0 GROUP BY cor0.col1 ---- 100 49 87 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT DISTINCT COALESCE ( - 76, + cor0.col1 * + cor0.col2 ) AS col2 FROM tab1 AS cor0 GROUP BY cor0.col1 ---- -76 query I rowsort SELECT + 87 AS col2 FROM tab0 cor0 GROUP BY cor0.col0 |
︙ | ︙ | |||
51466 51467 51468 51469 51470 51471 51472 51473 51474 51475 51476 51477 51478 51479 | query I rowsort SELECT ALL - 21 FROM tab1 GROUP BY tab1.col1 ---- -21 -21 -21 query I rowsort SELECT ALL + COALESCE ( - ( 81 ), + tab1.col0 ) FROM tab1 GROUP BY tab1.col1 ---- -81 -81 -81 | > | 51551 51552 51553 51554 51555 51556 51557 51558 51559 51560 51561 51562 51563 51564 51565 | query I rowsort SELECT ALL - 21 FROM tab1 GROUP BY tab1.col1 ---- -21 -21 -21 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT ALL + COALESCE ( - ( 81 ), + tab1.col0 ) FROM tab1 GROUP BY tab1.col1 ---- -81 -81 -81 |
︙ | ︙ | |||
52713 52714 52715 52716 52717 52718 52719 52720 52721 52722 52723 52724 52725 52726 | query I rowsort label-7195 SELECT - CAST ( NULL AS INTEGER ) + 25 / + cor0.col1 FROM tab2 cor0 GROUP BY cor0.col1, cor0.col2 ---- NULL NULL NULL query I rowsort SELECT DISTINCT COALESCE ( 56, + cor0.col2 ) FROM tab2 AS cor0 GROUP BY cor0.col1 ---- 56 onlyif mysql # DIV for integer division: query I rowsort label-7197 | > | 52799 52800 52801 52802 52803 52804 52805 52806 52807 52808 52809 52810 52811 52812 52813 | query I rowsort label-7195 SELECT - CAST ( NULL AS INTEGER ) + 25 / + cor0.col1 FROM tab2 cor0 GROUP BY cor0.col1, cor0.col2 ---- NULL NULL NULL skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT DISTINCT COALESCE ( 56, + cor0.col2 ) FROM tab2 AS cor0 GROUP BY cor0.col1 ---- 56 onlyif mysql # DIV for integer division: query I rowsort label-7197 |
︙ | ︙ | |||
53177 53178 53179 53180 53181 53182 53183 53184 53185 53186 53187 53188 53189 53190 | SELECT ALL + COALESCE ( 59, - cor0.col0 * ( cor0.col1 ) + + cor0.col2, + ( - 40 ) DIV + 43, cor0.col2 * + cor0.col2 ) DIV 7 FROM tab2 cor0 GROUP BY cor0.col1, cor0.col0 ---- 8 8 8 skipif mysql # not compatible query I rowsort label-7255 SELECT ALL + COALESCE ( 59, - cor0.col0 * ( cor0.col1 ) + + cor0.col2, + ( - 40 ) / + 43, cor0.col2 * + cor0.col2 ) / 7 FROM tab2 cor0 GROUP BY cor0.col1, cor0.col0 ---- 8 8 8 | > | 53264 53265 53266 53267 53268 53269 53270 53271 53272 53273 53274 53275 53276 53277 53278 | SELECT ALL + COALESCE ( 59, - cor0.col0 * ( cor0.col1 ) + + cor0.col2, + ( - 40 ) DIV + 43, cor0.col2 * + cor0.col2 ) DIV 7 FROM tab2 cor0 GROUP BY cor0.col1, cor0.col0 ---- 8 8 8 skipif mysql # not compatible skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort label-7255 SELECT ALL + COALESCE ( 59, - cor0.col0 * ( cor0.col1 ) + + cor0.col2, + ( - 40 ) / + 43, cor0.col2 * + cor0.col2 ) / 7 FROM tab2 cor0 GROUP BY cor0.col1, cor0.col0 ---- 8 8 8 |
︙ | ︙ | |||
53996 53997 53998 53999 54000 54001 54002 54003 54004 54005 54006 54007 54008 54009 | onlyif mysql # DIV for integer division: query I rowsort label-7359 SELECT DISTINCT - COALESCE ( + 66, + tab0.col0 DIV COALESCE ( tab0.col1 * tab0.col1, + tab0.col2 - + tab0.col1 ), + 29 ) FROM tab0 GROUP BY tab0.col2 ---- -66 skipif mysql # not compatible query I rowsort label-7359 SELECT DISTINCT - COALESCE ( + 66, + tab0.col0 / COALESCE ( tab0.col1 * tab0.col1, + tab0.col2 - + tab0.col1 ), + 29 ) FROM tab0 GROUP BY tab0.col2 ---- -66 query I rowsort SELECT DISTINCT - + 60 * 81 AS col2 FROM tab2 GROUP BY tab2.col0 | > | 54084 54085 54086 54087 54088 54089 54090 54091 54092 54093 54094 54095 54096 54097 54098 | onlyif mysql # DIV for integer division: query I rowsort label-7359 SELECT DISTINCT - COALESCE ( + 66, + tab0.col0 DIV COALESCE ( tab0.col1 * tab0.col1, + tab0.col2 - + tab0.col1 ), + 29 ) FROM tab0 GROUP BY tab0.col2 ---- -66 skipif mysql # not compatible skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort label-7359 SELECT DISTINCT - COALESCE ( + 66, + tab0.col0 / COALESCE ( tab0.col1 * tab0.col1, + tab0.col2 - + tab0.col1 ), + 29 ) FROM tab0 GROUP BY tab0.col2 ---- -66 query I rowsort SELECT DISTINCT - + 60 * 81 AS col2 FROM tab2 GROUP BY tab2.col0 |
︙ | ︙ | |||
55089 55090 55091 55092 55093 55094 55095 55096 55097 55098 55099 55100 55101 55102 | query I rowsort SELECT ALL + ( - 81 ) FROM tab1 GROUP BY tab1.col2 ---- -81 -81 -81 query I rowsort SELECT + + COALESCE ( 9, tab1.col1 * tab1.col0 ) FROM tab1 GROUP BY tab1.col0 ---- 9 9 9 | > | 55178 55179 55180 55181 55182 55183 55184 55185 55186 55187 55188 55189 55190 55191 55192 | query I rowsort SELECT ALL + ( - 81 ) FROM tab1 GROUP BY tab1.col2 ---- -81 -81 -81 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT + + COALESCE ( 9, tab1.col1 * tab1.col0 ) FROM tab1 GROUP BY tab1.col0 ---- 9 9 9 |
︙ | ︙ | |||
55414 55415 55416 55417 55418 55419 55420 55421 55422 55423 55424 55425 55426 55427 | query I rowsort SELECT + + tab1.col1 + 92 col2 FROM tab1 GROUP BY tab1.col1 ---- 136 149 98 query I rowsort SELECT ALL + COALESCE ( - 74, + cor0.col2 ) FROM tab0 AS cor0 GROUP BY cor0.col0 ---- -74 -74 -74 | > | 55504 55505 55506 55507 55508 55509 55510 55511 55512 55513 55514 55515 55516 55517 55518 | query I rowsort SELECT + + tab1.col1 + 92 col2 FROM tab1 GROUP BY tab1.col1 ---- 136 149 98 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT ALL + COALESCE ( - 74, + cor0.col2 ) FROM tab0 AS cor0 GROUP BY cor0.col0 ---- -74 -74 -74 |
︙ | ︙ | |||
55703 55704 55705 55706 55707 55708 55709 55710 55711 55712 55713 55714 55715 55716 | NULL query I rowsort SELECT DISTINCT + - 45 FROM tab0 GROUP BY tab0.col2 ---- -45 query I rowsort SELECT ALL - - COALESCE ( 28, tab0.col0, - CASE 4 WHEN tab0.col0 + - tab0.col0 * + tab0.col1 THEN + col1 END * + tab0.col1 ) FROM tab0 GROUP BY col2 ---- 28 28 28 | > | 55794 55795 55796 55797 55798 55799 55800 55801 55802 55803 55804 55805 55806 55807 55808 | NULL query I rowsort SELECT DISTINCT + - 45 FROM tab0 GROUP BY tab0.col2 ---- -45 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT ALL - - COALESCE ( 28, tab0.col0, - CASE 4 WHEN tab0.col0 + - tab0.col0 * + tab0.col1 THEN + col1 END * + tab0.col1 ) FROM tab0 GROUP BY col2 ---- 28 28 28 |
︙ | ︙ | |||
55791 55792 55793 55794 55795 55796 55797 55798 55799 55800 55801 55802 55803 55804 | 44 query I rowsort SELECT DISTINCT - + 5 FROM tab0 GROUP BY tab0.col0 ---- -5 query I rowsort SELECT - tab0.col1 + - COALESCE ( 13, tab0.col1 * tab0.col0 ) FROM tab0 GROUP BY tab0.col1 ---- -13 -94 query I rowsort | > | 55883 55884 55885 55886 55887 55888 55889 55890 55891 55892 55893 55894 55895 55896 55897 | 44 query I rowsort SELECT DISTINCT - + 5 FROM tab0 GROUP BY tab0.col0 ---- -5 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT - tab0.col1 + - COALESCE ( 13, tab0.col1 * tab0.col0 ) FROM tab0 GROUP BY tab0.col1 ---- -13 -94 query I rowsort |
︙ | ︙ | |||
56207 56208 56209 56210 56211 56212 56213 56214 56215 56216 56217 56218 56219 56220 | query I rowsort SELECT - tab0.col1 + - 38 FROM tab0 GROUP BY tab0.col1 ---- -119 -38 query I rowsort SELECT - COALESCE ( 12, tab1.col1 * tab1.col2 ) AS col0 FROM tab1 GROUP BY tab1.col1 ---- -12 -12 -12 | > | 56300 56301 56302 56303 56304 56305 56306 56307 56308 56309 56310 56311 56312 56313 56314 | query I rowsort SELECT - tab0.col1 + - 38 FROM tab0 GROUP BY tab0.col1 ---- -119 -38 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT - COALESCE ( 12, tab1.col1 * tab1.col2 ) AS col0 FROM tab1 GROUP BY tab1.col1 ---- -12 -12 -12 |
︙ | ︙ | |||
57125 57126 57127 57128 57129 57130 57131 57132 57133 57134 57135 57136 57137 57138 | onlyif mysql # CAST syntax: SIGNED type: query I rowsort label-7788 SELECT DISTINCT - COALESCE ( - 8, tab2.col0 + - CAST( NULL AS SIGNED ) ) FROM tab2 GROUP BY col2 ---- 8 skipif mysql # not compatible query I rowsort label-7788 SELECT DISTINCT - COALESCE ( - 8, tab2.col0 + - CAST ( NULL AS INTEGER ) ) FROM tab2 GROUP BY col2 ---- 8 query I rowsort SELECT DISTINCT 14 + + col0 AS col0 FROM tab0 AS cor0 GROUP BY cor0.col0 | > | 57219 57220 57221 57222 57223 57224 57225 57226 57227 57228 57229 57230 57231 57232 57233 | onlyif mysql # CAST syntax: SIGNED type: query I rowsort label-7788 SELECT DISTINCT - COALESCE ( - 8, tab2.col0 + - CAST( NULL AS SIGNED ) ) FROM tab2 GROUP BY col2 ---- 8 skipif mysql # not compatible skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort label-7788 SELECT DISTINCT - COALESCE ( - 8, tab2.col0 + - CAST ( NULL AS INTEGER ) ) FROM tab2 GROUP BY col2 ---- 8 query I rowsort SELECT DISTINCT 14 + + col0 AS col0 FROM tab0 AS cor0 GROUP BY cor0.col0 |
︙ | ︙ | |||
57914 57915 57916 57917 57918 57919 57920 57921 57922 57923 57924 57925 57926 57927 | skipif mysql # not compatible query I rowsort label-7894 SELECT DISTINCT + tab2.col0 / tab2.col0 FROM tab2 GROUP BY tab2.col0 ---- 1 query I rowsort SELECT - + COALESCE ( + 76, tab1.col2 * - CASE + tab1.col0 WHEN - tab1.col2 + ( + 36 ) THEN + tab1.col0 WHEN + tab1.col0 * - 45 THEN tab1.col0 ELSE NULL END - tab1.col2 ) + + tab1.col0 FROM tab1 GROUP BY tab1.col0 ---- -48 -54 6 | > | 58009 58010 58011 58012 58013 58014 58015 58016 58017 58018 58019 58020 58021 58022 58023 | skipif mysql # not compatible query I rowsort label-7894 SELECT DISTINCT + tab2.col0 / tab2.col0 FROM tab2 GROUP BY tab2.col0 ---- 1 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT - + COALESCE ( + 76, tab1.col2 * - CASE + tab1.col0 WHEN - tab1.col2 + ( + 36 ) THEN + tab1.col0 WHEN + tab1.col0 * - 45 THEN tab1.col0 ELSE NULL END - tab1.col2 ) + + tab1.col0 FROM tab1 GROUP BY tab1.col0 ---- -48 -54 6 |
︙ | ︙ | |||
58162 58163 58164 58165 58166 58167 58168 58169 58170 58171 58172 58173 58174 58175 | 8 query I rowsort SELECT DISTINCT - - 89 FROM tab1 GROUP BY tab1.col1 ---- 89 query I rowsort SELECT + COALESCE ( 10, 43 * - tab2.col0 + col0, tab2.col1 ) AS col2 FROM tab2 GROUP BY tab2.col2 ---- 10 10 10 | > | 58258 58259 58260 58261 58262 58263 58264 58265 58266 58267 58268 58269 58270 58271 58272 | 8 query I rowsort SELECT DISTINCT - - 89 FROM tab1 GROUP BY tab1.col1 ---- 89 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT + COALESCE ( 10, 43 * - tab2.col0 + col0, tab2.col1 ) AS col2 FROM tab2 GROUP BY tab2.col2 ---- 10 10 10 |
︙ | ︙ | |||
58665 58666 58667 58668 58669 58670 58671 58672 58673 58674 58675 58676 58677 58678 | query I rowsort SELECT 83 AS col0 FROM tab2 AS cor0 GROUP BY cor0.col1 ---- 83 83 83 query I rowsort SELECT - COALESCE ( 30, - tab1.col1, 66 ) AS col1 FROM tab1 GROUP BY col0 ---- -30 -30 -30 | > | 58762 58763 58764 58765 58766 58767 58768 58769 58770 58771 58772 58773 58774 58775 58776 | query I rowsort SELECT 83 AS col0 FROM tab2 AS cor0 GROUP BY cor0.col1 ---- 83 83 83 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT - COALESCE ( 30, - tab1.col1, 66 ) AS col1 FROM tab1 GROUP BY col0 ---- -30 -30 -30 |
︙ | ︙ | |||
59009 59010 59011 59012 59013 59014 59015 59016 59017 59018 59019 59020 59021 59022 | onlyif mysql # DIV for integer division: query I rowsort label-8041 SELECT DISTINCT - + tab0.col2 DIV COALESCE ( tab0.col2 * + tab0.col2, + 10, - tab0.col1, tab0.col2 * - 99 ) AS col0 FROM tab0 GROUP BY tab0.col2 ---- 0 skipif mysql # not compatible query I rowsort label-8041 SELECT DISTINCT - + tab0.col2 / COALESCE ( tab0.col2 * + tab0.col2, + 10, - tab0.col1, tab0.col2 * - 99 ) AS col0 FROM tab0 GROUP BY tab0.col2 ---- 0 onlyif mysql # CAST syntax: SIGNED type: query I rowsort label-8042 | > | 59107 59108 59109 59110 59111 59112 59113 59114 59115 59116 59117 59118 59119 59120 59121 | onlyif mysql # DIV for integer division: query I rowsort label-8041 SELECT DISTINCT - + tab0.col2 DIV COALESCE ( tab0.col2 * + tab0.col2, + 10, - tab0.col1, tab0.col2 * - 99 ) AS col0 FROM tab0 GROUP BY tab0.col2 ---- 0 skipif mysql # not compatible skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort label-8041 SELECT DISTINCT - + tab0.col2 / COALESCE ( tab0.col2 * + tab0.col2, + 10, - tab0.col1, tab0.col2 * - 99 ) AS col0 FROM tab0 GROUP BY tab0.col2 ---- 0 onlyif mysql # CAST syntax: SIGNED type: query I rowsort label-8042 |
︙ | ︙ | |||
59492 59493 59494 59495 59496 59497 59498 59499 59500 59501 59502 59503 59504 59505 | onlyif mysql # CAST syntax: SIGNED type: query I rowsort label-8109 SELECT DISTINCT - - CASE + tab1.col0 WHEN CAST( NULL AS SIGNED ) THEN + tab1.col1 END FROM tab1 GROUP BY tab1.col2 ---- NULL skipif mysql # not compatible query I rowsort label-8109 SELECT DISTINCT - - CASE + tab1.col0 WHEN CAST ( NULL AS INTEGER ) THEN + tab1.col1 END FROM tab1 GROUP BY tab1.col2 ---- NULL query I rowsort SELECT + 3 AS col2 FROM tab2 GROUP BY tab2.col1 | > | 59591 59592 59593 59594 59595 59596 59597 59598 59599 59600 59601 59602 59603 59604 59605 | onlyif mysql # CAST syntax: SIGNED type: query I rowsort label-8109 SELECT DISTINCT - - CASE + tab1.col0 WHEN CAST( NULL AS SIGNED ) THEN + tab1.col1 END FROM tab1 GROUP BY tab1.col2 ---- NULL skipif mysql # not compatible skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort label-8109 SELECT DISTINCT - - CASE + tab1.col0 WHEN CAST ( NULL AS INTEGER ) THEN + tab1.col1 END FROM tab1 GROUP BY tab1.col2 ---- NULL query I rowsort SELECT + 3 AS col2 FROM tab2 GROUP BY tab2.col1 |
︙ | ︙ | |||
60052 60053 60054 60055 60056 60057 60058 60059 60060 60061 60062 60063 60064 60065 | query I rowsort SELECT - + tab1.col1 * 15 - 46 AS col0 FROM tab1 GROUP BY tab1.col1 ---- -136 -706 -901 query I rowsort SELECT - COALESCE ( 94, cor0.col0 ) FROM tab0 AS cor0 GROUP BY cor0.col2 ---- -94 -94 -94 | > | 60152 60153 60154 60155 60156 60157 60158 60159 60160 60161 60162 60163 60164 60165 60166 | query I rowsort SELECT - + tab1.col1 * 15 - 46 AS col0 FROM tab1 GROUP BY tab1.col1 ---- -136 -706 -901 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT - COALESCE ( 94, cor0.col0 ) FROM tab0 AS cor0 GROUP BY cor0.col2 ---- -94 -94 -94 |
︙ | ︙ | |||
60660 60661 60662 60663 60664 60665 60666 60667 60668 60669 60670 60671 60672 60673 | -6889 query I rowsort SELECT DISTINCT 50 FROM tab0 GROUP BY col2 ---- 50 query I rowsort SELECT ALL COALESCE ( + 63, cor1.col2 ) AS col1 FROM tab2 cor0 CROSS JOIN tab2 AS cor1 GROUP BY cor0.col1, cor0.col0, cor0.col2 ---- 63 63 63 | > | 60761 60762 60763 60764 60765 60766 60767 60768 60769 60770 60771 60772 60773 60774 60775 | -6889 query I rowsort SELECT DISTINCT 50 FROM tab0 GROUP BY col2 ---- 50 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT ALL COALESCE ( + 63, cor1.col2 ) AS col1 FROM tab2 cor0 CROSS JOIN tab2 AS cor1 GROUP BY cor0.col1, cor0.col0, cor0.col2 ---- 63 63 63 |
︙ | ︙ | |||
60857 60858 60859 60860 60861 60862 60863 60864 60865 60866 60867 60868 60869 60870 | query I rowsort SELECT ALL + - tab0.col0 * tab0.col0 AS col1 FROM tab0 GROUP BY col0 ---- -1849 -676 -6889 query I rowsort SELECT + COALESCE ( + 21, tab1.col2 + col2, - tab1.col0 * tab1.col1 ) FROM tab1 GROUP BY tab1.col2 ---- 21 21 21 | > | 60959 60960 60961 60962 60963 60964 60965 60966 60967 60968 60969 60970 60971 60972 60973 | query I rowsort SELECT ALL + - tab0.col0 * tab0.col0 AS col1 FROM tab0 GROUP BY col0 ---- -1849 -676 -6889 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT + COALESCE ( + 21, tab1.col2 + col2, - tab1.col0 * tab1.col1 ) FROM tab1 GROUP BY tab1.col2 ---- 21 21 21 |
︙ | ︙ | |||
61017 61018 61019 61020 61021 61022 61023 61024 61025 61026 61027 61028 61029 61030 | query I rowsort label-8318 SELECT ALL - - tab1.col2 / 83 FROM tab1 GROUP BY tab1.col2 ---- 0 0 0 query I rowsort SELECT COALESCE ( + 8, cor0.col1 * - cor0.col0 ) AS col0 FROM tab1 AS cor0 GROUP BY cor0.col0 ---- 8 8 8 | > | 61120 61121 61122 61123 61124 61125 61126 61127 61128 61129 61130 61131 61132 61133 61134 | query I rowsort label-8318 SELECT ALL - - tab1.col2 / 83 FROM tab1 GROUP BY tab1.col2 ---- 0 0 0 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT COALESCE ( + 8, cor0.col1 * - cor0.col0 ) AS col0 FROM tab1 AS cor0 GROUP BY cor0.col0 ---- 8 8 8 |
︙ | ︙ | |||
61869 61870 61871 61872 61873 61874 61875 61876 61877 61878 61879 61880 61881 61882 | SELECT COALESCE ( 15, + col0 DIV cor0.col0, + cor0.col0 ) FROM tab0 cor0 GROUP BY cor0.col2 ---- 15 15 15 skipif mysql # not compatible query I rowsort label-8437 SELECT COALESCE ( 15, + col0 / cor0.col0, + cor0.col0 ) FROM tab0 cor0 GROUP BY cor0.col2 ---- 15 15 15 | > | 61973 61974 61975 61976 61977 61978 61979 61980 61981 61982 61983 61984 61985 61986 61987 | SELECT COALESCE ( 15, + col0 DIV cor0.col0, + cor0.col0 ) FROM tab0 cor0 GROUP BY cor0.col2 ---- 15 15 15 skipif mysql # not compatible skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort label-8437 SELECT COALESCE ( 15, + col0 / cor0.col0, + cor0.col0 ) FROM tab0 cor0 GROUP BY cor0.col2 ---- 15 15 15 |
︙ | ︙ | |||
62130 62131 62132 62133 62134 62135 62136 62137 62138 62139 62140 62141 62142 62143 | 95 query I rowsort SELECT DISTINCT - 29 AS col0 FROM tab2 GROUP BY tab2.col0 ---- -29 query I rowsort SELECT + + COALESCE ( 27, tab1.col1 ) * tab1.col2 FROM tab1 GROUP BY tab1.col2 ---- 1215 1917 216 | > | 62235 62236 62237 62238 62239 62240 62241 62242 62243 62244 62245 62246 62247 62248 62249 | 95 query I rowsort SELECT DISTINCT - 29 AS col0 FROM tab2 GROUP BY tab2.col0 ---- -29 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT + + COALESCE ( 27, tab1.col1 ) * tab1.col2 FROM tab1 GROUP BY tab1.col2 ---- 1215 1917 216 |
︙ | ︙ | |||
62215 62216 62217 62218 62219 62220 62221 62222 62223 62224 62225 62226 62227 62228 | query I rowsort SELECT ALL + 68 FROM tab1 GROUP BY tab1.col2 ---- 68 68 68 query I rowsort SELECT ALL - COALESCE ( 63, cor0.col2 + + cor0.col2 ) * - 35 FROM tab2 AS cor0 GROUP BY cor0.col0 ---- 2205 2205 2205 | > | 62321 62322 62323 62324 62325 62326 62327 62328 62329 62330 62331 62332 62333 62334 62335 | query I rowsort SELECT ALL + 68 FROM tab1 GROUP BY tab1.col2 ---- 68 68 68 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT ALL - COALESCE ( 63, cor0.col2 + + cor0.col2 ) * - 35 FROM tab2 AS cor0 GROUP BY cor0.col0 ---- 2205 2205 2205 |
︙ | ︙ | |||
62503 62504 62505 62506 62507 62508 62509 62510 62511 62512 62513 62514 62515 62516 | query I rowsort SELECT DISTINCT cor0.col1 + cor0.col2 AS col1 FROM tab1 AS cor0 GROUP BY cor0.col1, col2 ---- 102 115 14 query I rowsort SELECT COALESCE ( - 17, + col2 ) AS col1 FROM tab1 cor0 GROUP BY cor0.col1 ---- -17 -17 -17 | > | 62610 62611 62612 62613 62614 62615 62616 62617 62618 62619 62620 62621 62622 62623 62624 | query I rowsort SELECT DISTINCT cor0.col1 + cor0.col2 AS col1 FROM tab1 AS cor0 GROUP BY cor0.col1, col2 ---- 102 115 14 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT COALESCE ( - 17, + col2 ) AS col1 FROM tab1 cor0 GROUP BY cor0.col1 ---- -17 -17 -17 |
︙ | ︙ | |||
62645 62646 62647 62648 62649 62650 62651 62652 62653 62654 62655 62656 62657 62658 | query I rowsort SELECT ALL - 63 + + cor0.col0 FROM tab0 AS cor0 GROUP BY cor0.col0 ---- -20 -37 20 query I rowsort SELECT + COALESCE ( col2, tab2.col2 + COALESCE ( + 68, + col2 * ( + tab2.col1 * tab2.col1 ) ) * col2 ) FROM tab2 GROUP BY tab2.col2 ---- 58 79 87 | > | 62753 62754 62755 62756 62757 62758 62759 62760 62761 62762 62763 62764 62765 62766 62767 | query I rowsort SELECT ALL - 63 + + cor0.col0 FROM tab0 AS cor0 GROUP BY cor0.col0 ---- -20 -37 20 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT + COALESCE ( col2, tab2.col2 + COALESCE ( + 68, + col2 * ( + tab2.col1 * tab2.col1 ) ) * col2 ) FROM tab2 GROUP BY tab2.col2 ---- 58 79 87 |
︙ | ︙ | |||
62961 62962 62963 62964 62965 62966 62967 62968 62969 62970 62971 62972 62973 62974 | skipif mysql # not compatible query I rowsort label-8584 SELECT DISTINCT - 39 / + 68 FROM tab2 cor0 GROUP BY cor0.col0, cor0.col2 ---- 0 query I rowsort SELECT ALL - COALESCE ( 86, tab0.col1, COALESCE ( 3, + tab0.col0 ) - tab0.col0 * + COALESCE ( tab0.col0, tab0.col0 + tab0.col0 ) ) FROM tab0 GROUP BY col1 ---- -86 -86 query I rowsort | > | 63070 63071 63072 63073 63074 63075 63076 63077 63078 63079 63080 63081 63082 63083 63084 | skipif mysql # not compatible query I rowsort label-8584 SELECT DISTINCT - 39 / + 68 FROM tab2 cor0 GROUP BY cor0.col0, cor0.col2 ---- 0 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT ALL - COALESCE ( 86, tab0.col1, COALESCE ( 3, + tab0.col0 ) - tab0.col0 * + COALESCE ( tab0.col0, tab0.col0 + tab0.col0 ) ) FROM tab0 GROUP BY col1 ---- -86 -86 query I rowsort |
︙ | ︙ | |||
63059 63060 63061 63062 63063 63064 63065 63066 63067 63068 63069 63070 63071 63072 | query I rowsort SELECT ALL - 84 + tab2.col2 * - tab2.col2 AS col0 FROM tab2 GROUP BY tab2.col2 ---- -3448 -6325 -7653 query I rowsort SELECT DISTINCT COALESCE ( 82, - tab0.col2, tab0.col0 ) AS col2 FROM tab0 GROUP BY tab0.col2 ---- 82 query I rowsort SELECT + 90 + tab2.col1 AS col2 FROM tab2 GROUP BY tab2.col1 | > | 63169 63170 63171 63172 63173 63174 63175 63176 63177 63178 63179 63180 63181 63182 63183 | query I rowsort SELECT ALL - 84 + tab2.col2 * - tab2.col2 AS col0 FROM tab2 GROUP BY tab2.col2 ---- -3448 -6325 -7653 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT DISTINCT COALESCE ( 82, - tab0.col2, tab0.col0 ) AS col2 FROM tab0 GROUP BY tab0.col2 ---- 82 query I rowsort SELECT + 90 + tab2.col1 AS col2 FROM tab2 GROUP BY tab2.col1 |
︙ | ︙ | |||
63594 63595 63596 63597 63598 63599 63600 63601 63602 63603 63604 63605 63606 63607 | query I rowsort SELECT 76 FROM tab0 AS cor0 CROSS JOIN tab2 AS cor1 GROUP BY cor0.col0 ---- 76 76 76 query I rowsort SELECT - COALESCE ( 70, tab2.col2, - tab2.col0 ) FROM tab2 GROUP BY tab2.col0 ---- -70 -70 -70 | > | 63705 63706 63707 63708 63709 63710 63711 63712 63713 63714 63715 63716 63717 63718 63719 | query I rowsort SELECT 76 FROM tab0 AS cor0 CROSS JOIN tab2 AS cor1 GROUP BY cor0.col0 ---- 76 76 76 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT - COALESCE ( 70, tab2.col2, - tab2.col0 ) FROM tab2 GROUP BY tab2.col0 ---- -70 -70 -70 |
︙ | ︙ | |||
64406 64407 64408 64409 64410 64411 64412 64413 64414 64415 64416 64417 64418 64419 | query I rowsort label-8790 SELECT ALL cor0.col1 + - COALESCE ( + 10, cor0.col2 + - 61 DIV - cor0.col1 ) FROM tab0 AS cor0 GROUP BY cor0.col1 ---- -10 71 skipif mysql # not compatible query I rowsort label-8790 SELECT ALL cor0.col1 + - COALESCE ( + 10, cor0.col2 + - 61 / - cor0.col1 ) FROM tab0 AS cor0 GROUP BY cor0.col1 ---- -10 71 query I rowsort | > | 64518 64519 64520 64521 64522 64523 64524 64525 64526 64527 64528 64529 64530 64531 64532 | query I rowsort label-8790 SELECT ALL cor0.col1 + - COALESCE ( + 10, cor0.col2 + - 61 DIV - cor0.col1 ) FROM tab0 AS cor0 GROUP BY cor0.col1 ---- -10 71 skipif mysql # not compatible skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort label-8790 SELECT ALL cor0.col1 + - COALESCE ( + 10, cor0.col2 + - 61 / - cor0.col1 ) FROM tab0 AS cor0 GROUP BY cor0.col1 ---- -10 71 query I rowsort |
︙ | ︙ | |||
65211 65212 65213 65214 65215 65216 65217 65218 65219 65220 65221 65222 65223 65224 | query I rowsort SELECT + - 83 + - tab1.col2 col1 FROM tab1 GROUP BY tab1.col2 ---- -128 -154 -91 query I rowsort SELECT DISTINCT - COALESCE ( + 89, tab2.col0, + tab2.col0 + + CASE - tab2.col2 WHEN + 71 THEN 31 ELSE + tab2.col0 + - tab2.col2 * COALESCE ( tab2.col0, tab2.col1 ) END ) AS col1 FROM tab2 GROUP BY tab2.col0 ---- -89 query I rowsort SELECT DISTINCT - 87 + - 18 AS col0 FROM tab1 GROUP BY col0 | > | 65324 65325 65326 65327 65328 65329 65330 65331 65332 65333 65334 65335 65336 65337 65338 | query I rowsort SELECT + - 83 + - tab1.col2 col1 FROM tab1 GROUP BY tab1.col2 ---- -128 -154 -91 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT DISTINCT - COALESCE ( + 89, tab2.col0, + tab2.col0 + + CASE - tab2.col2 WHEN + 71 THEN 31 ELSE + tab2.col0 + - tab2.col2 * COALESCE ( tab2.col0, tab2.col1 ) END ) AS col1 FROM tab2 GROUP BY tab2.col0 ---- -89 query I rowsort SELECT DISTINCT - 87 + - 18 AS col0 FROM tab1 GROUP BY col0 |
︙ | ︙ | |||
66169 66170 66171 66172 66173 66174 66175 66176 66177 66178 66179 66180 66181 66182 | query I rowsort SELECT + 29 AS col1 FROM tab2 AS cor0 GROUP BY cor0.col2 ---- 29 29 29 query I rowsort SELECT - COALESCE ( 31, tab0.col1, 39 * + col1 ) FROM tab0 GROUP BY tab0.col2 ---- -31 -31 -31 | > | 66283 66284 66285 66286 66287 66288 66289 66290 66291 66292 66293 66294 66295 66296 66297 | query I rowsort SELECT + 29 AS col1 FROM tab2 AS cor0 GROUP BY cor0.col2 ---- 29 29 29 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT - COALESCE ( 31, tab0.col1, 39 * + col1 ) FROM tab0 GROUP BY tab0.col2 ---- -31 -31 -31 |
︙ | ︙ | |||
66507 66508 66509 66510 66511 66512 66513 66514 66515 66516 66517 66518 66519 66520 | query I rowsort SELECT ALL - ( - 73 ) + - 94 FROM tab1, tab2 cor0 GROUP BY tab1.col1 ---- -21 -21 -21 query I rowsort SELECT - COALESCE ( + 93, tab2.col0 ) * - tab2.col2 FROM tab2 GROUP BY col2 ---- 5394 7347 8091 | > | 66622 66623 66624 66625 66626 66627 66628 66629 66630 66631 66632 66633 66634 66635 66636 | query I rowsort SELECT ALL - ( - 73 ) + - 94 FROM tab1, tab2 cor0 GROUP BY tab1.col1 ---- -21 -21 -21 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT - COALESCE ( + 93, tab2.col0 ) * - tab2.col2 FROM tab2 GROUP BY col2 ---- 5394 7347 8091 |
︙ | ︙ | |||
66599 66600 66601 66602 66603 66604 66605 66606 66607 66608 66609 66610 66611 66612 | SELECT ALL + 45 DIV COALESCE ( 7, + cor0.col1, ( 65 ) ) - cor0.col2 FROM tab1 AS cor0 GROUP BY cor0.col2 ---- -2 -39 -65 skipif mysql # not compatible query I rowsort label-9085 SELECT ALL + 45 / COALESCE ( 7, + cor0.col1, ( 65 ) ) - cor0.col2 FROM tab1 AS cor0 GROUP BY cor0.col2 ---- -2 -39 -65 | > | 66715 66716 66717 66718 66719 66720 66721 66722 66723 66724 66725 66726 66727 66728 66729 | SELECT ALL + 45 DIV COALESCE ( 7, + cor0.col1, ( 65 ) ) - cor0.col2 FROM tab1 AS cor0 GROUP BY cor0.col2 ---- -2 -39 -65 skipif mysql # not compatible skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort label-9085 SELECT ALL + 45 / COALESCE ( 7, + cor0.col1, ( 65 ) ) - cor0.col2 FROM tab1 AS cor0 GROUP BY cor0.col2 ---- -2 -39 -65 |
︙ | ︙ | |||
67075 67076 67077 67078 67079 67080 67081 67082 67083 67084 67085 67086 67087 67088 | SELECT + COALESCE ( 31, cor0.col2 DIV + cor0.col2, - col1 ) AS col2 FROM tab1 cor0 GROUP BY cor0.col1 ---- 31 31 31 skipif mysql # not compatible query I rowsort label-9145 SELECT + COALESCE ( 31, cor0.col2 / + cor0.col2, - col1 ) AS col2 FROM tab1 cor0 GROUP BY cor0.col1 ---- 31 31 31 | > | 67192 67193 67194 67195 67196 67197 67198 67199 67200 67201 67202 67203 67204 67205 67206 | SELECT + COALESCE ( 31, cor0.col2 DIV + cor0.col2, - col1 ) AS col2 FROM tab1 cor0 GROUP BY cor0.col1 ---- 31 31 31 skipif mysql # not compatible skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort label-9145 SELECT + COALESCE ( 31, cor0.col2 / + cor0.col2, - col1 ) AS col2 FROM tab1 cor0 GROUP BY cor0.col1 ---- 31 31 31 |
︙ | ︙ | |||
68818 68819 68820 68821 68822 68823 68824 68825 68826 68827 68828 68829 68830 68831 | query I rowsort SELECT ALL + - tab1.col2 + - 1 AS col2 FROM tab1 GROUP BY tab1.col2 ---- -46 -72 -9 query I rowsort SELECT COALESCE ( - 99, - tab0.col2 + + tab0.col1 ) FROM tab0 GROUP BY tab0.col0 ---- -99 -99 -99 | > | 68936 68937 68938 68939 68940 68941 68942 68943 68944 68945 68946 68947 68948 68949 68950 | query I rowsort SELECT ALL + - tab1.col2 + - 1 AS col2 FROM tab1 GROUP BY tab1.col2 ---- -46 -72 -9 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT COALESCE ( - 99, - tab0.col2 + + tab0.col1 ) FROM tab0 GROUP BY tab0.col0 ---- -99 -99 -99 |
︙ | ︙ | |||
72494 72495 72496 72497 72498 72499 72500 72501 72502 72503 72504 72505 72506 72507 | query I rowsort SELECT + cor0.col2 AS col1 FROM tab0 AS cor0 GROUP BY cor0.col2 HAVING NOT ( + col2 ) IS NULL ---- 24 38 79 query I rowsort SELECT cor0.col2 AS col0 FROM tab0 AS cor0 GROUP BY cor0.col2 HAVING NULL IN ( + col0 ) ---- query I rowsort SELECT DISTINCT - + 58 FROM tab1 GROUP BY col2 ---- | > | 72613 72614 72615 72616 72617 72618 72619 72620 72621 72622 72623 72624 72625 72626 72627 | query I rowsort SELECT + cor0.col2 AS col1 FROM tab0 AS cor0 GROUP BY cor0.col2 HAVING NOT ( + col2 ) IS NULL ---- 24 38 79 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT cor0.col2 AS col0 FROM tab0 AS cor0 GROUP BY cor0.col2 HAVING NULL IN ( + col0 ) ---- query I rowsort SELECT DISTINCT - + 58 FROM tab1 GROUP BY col2 ---- |
︙ | ︙ | |||
73123 73124 73125 73126 73127 73128 73129 73130 73131 73132 73133 73134 73135 73136 | query I rowsort SELECT DISTINCT + tab2.col1 + ( tab2.col1 ) AS col0 FROM tab2 GROUP BY tab2.col1 ---- 118 122 82 query I rowsort SELECT DISTINCT + COALESCE ( 40, - cor0.col1 + - cor0.col0 * + cor0.col0, - cor0.col1 + + cor0.col1 ) FROM tab0 AS cor0 GROUP BY cor0.col1 ---- 40 query I rowsort SELECT ALL - 76 AS col2 FROM tab0 GROUP BY tab0.col2 | > | 73243 73244 73245 73246 73247 73248 73249 73250 73251 73252 73253 73254 73255 73256 73257 | query I rowsort SELECT DISTINCT + tab2.col1 + ( tab2.col1 ) AS col0 FROM tab2 GROUP BY tab2.col1 ---- 118 122 82 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT DISTINCT + COALESCE ( 40, - cor0.col1 + - cor0.col0 * + cor0.col0, - cor0.col1 + + cor0.col1 ) FROM tab0 AS cor0 GROUP BY cor0.col1 ---- 40 query I rowsort SELECT ALL - 76 AS col2 FROM tab0 GROUP BY tab0.col2 |
︙ | ︙ |
Changes to test/random/groupby/slt_good_5.test.
︙ | ︙ | |||
569 570 571 572 573 574 575 576 577 578 579 580 581 582 | query I rowsort SELECT + tab2.col1 * tab2.col1 + - tab2.col1 FROM tab2 GROUP BY col1 HAVING NOT NULL IS NOT NULL ---- 1640 3422 3660 query I rowsort SELECT col1 + + COALESCE ( 6, cor0.col0 ) FROM tab0 AS cor0 GROUP BY col1, cor0.col1 ---- 6 87 query I rowsort | > | 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 | query I rowsort SELECT + tab2.col1 * tab2.col1 + - tab2.col1 FROM tab2 GROUP BY col1 HAVING NOT NULL IS NOT NULL ---- 1640 3422 3660 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT col1 + + COALESCE ( 6, cor0.col0 ) FROM tab0 AS cor0 GROUP BY col1, cor0.col1 ---- 6 87 query I rowsort |
︙ | ︙ | |||
929 930 931 932 933 934 935 936 937 938 939 940 941 942 | skipif mysql # not compatible query I rowsort label-119 SELECT DISTINCT - tab2.col1 / - ( + 73 ) AS col0 FROM tab2 GROUP BY tab2.col1 ---- 0 query I rowsort SELECT DISTINCT + COALESCE ( tab1.col2, 3, tab1.col1 ) FROM tab1 GROUP BY col2 ---- 45 71 8 | > | 930 931 932 933 934 935 936 937 938 939 940 941 942 943 944 | skipif mysql # not compatible query I rowsort label-119 SELECT DISTINCT - tab2.col1 / - ( + 73 ) AS col0 FROM tab2 GROUP BY tab2.col1 ---- 0 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT DISTINCT + COALESCE ( tab1.col2, 3, tab1.col1 ) FROM tab1 GROUP BY col2 ---- 45 71 8 |
︙ | ︙ | |||
2581 2582 2583 2584 2585 2586 2587 2588 2589 2590 2591 2592 2593 2594 | query I rowsort SELECT 97 AS col1 FROM tab1 AS cor0 GROUP BY col2, cor0.col2 ---- 97 97 97 query I rowsort SELECT tab0.col1 * + COALESCE ( 23, + 14, col2 * - tab0.col0 ) FROM tab0 GROUP BY tab0.col1 ---- 0 1863 onlyif mysql # DIV for integer division: | > | 2583 2584 2585 2586 2587 2588 2589 2590 2591 2592 2593 2594 2595 2596 2597 | query I rowsort SELECT 97 AS col1 FROM tab1 AS cor0 GROUP BY col2, cor0.col2 ---- 97 97 97 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT tab0.col1 * + COALESCE ( 23, + 14, col2 * - tab0.col0 ) FROM tab0 GROUP BY tab0.col1 ---- 0 1863 onlyif mysql # DIV for integer division: |
︙ | ︙ | |||
3773 3774 3775 3776 3777 3778 3779 3780 3781 3782 3783 3784 3785 3786 | query I rowsort label-507 SELECT DISTINCT - cor0.col0 DIV - COALESCE ( + 78, + cor0.col2 * + cor0.col1 + NULLIF ( 73, cor0.col0 ), col1 + + CASE + cor0.col2 WHEN - cor0.col2 THEN col0 WHEN cor0.col1 THEN cor0.col2 ELSE 86 END ) FROM tab2 AS cor0 GROUP BY cor0.col0 ---- 0 1 skipif mysql # not compatible query I rowsort label-507 SELECT DISTINCT - cor0.col0 / - COALESCE ( + 78, + cor0.col2 * + cor0.col1 + NULLIF ( 73, cor0.col0 ), col1 + + CASE + cor0.col2 WHEN - cor0.col2 THEN col0 WHEN cor0.col1 THEN cor0.col2 ELSE 86 END ) FROM tab2 AS cor0 GROUP BY cor0.col0 ---- 0 1 onlyif mysql # DIV for integer division: | > | 3776 3777 3778 3779 3780 3781 3782 3783 3784 3785 3786 3787 3788 3789 3790 | query I rowsort label-507 SELECT DISTINCT - cor0.col0 DIV - COALESCE ( + 78, + cor0.col2 * + cor0.col1 + NULLIF ( 73, cor0.col0 ), col1 + + CASE + cor0.col2 WHEN - cor0.col2 THEN col0 WHEN cor0.col1 THEN cor0.col2 ELSE 86 END ) FROM tab2 AS cor0 GROUP BY cor0.col0 ---- 0 1 skipif mysql # not compatible skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort label-507 SELECT DISTINCT - cor0.col0 / - COALESCE ( + 78, + cor0.col2 * + cor0.col1 + NULLIF ( 73, cor0.col0 ), col1 + + CASE + cor0.col2 WHEN - cor0.col2 THEN col0 WHEN cor0.col1 THEN cor0.col2 ELSE 86 END ) FROM tab2 AS cor0 GROUP BY cor0.col0 ---- 0 1 onlyif mysql # DIV for integer division: |
︙ | ︙ | |||
4918 4919 4920 4921 4922 4923 4924 4925 4926 4927 4928 4929 4930 4931 | query I rowsort SELECT - cor0.col2 * - col2 AS col1 FROM tab0 AS cor0 GROUP BY col2, cor0.col1 ---- 1444 576 6241 query I rowsort SELECT - COALESCE ( - 72, + tab0.col1 * tab0.col2 ) * + 83 FROM tab0 GROUP BY tab0.col2 ---- 5976 5976 5976 | > | 4922 4923 4924 4925 4926 4927 4928 4929 4930 4931 4932 4933 4934 4935 4936 | query I rowsort SELECT - cor0.col2 * - col2 AS col1 FROM tab0 AS cor0 GROUP BY col2, cor0.col1 ---- 1444 576 6241 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT - COALESCE ( - 72, + tab0.col1 * tab0.col2 ) * + 83 FROM tab0 GROUP BY tab0.col2 ---- 5976 5976 5976 |
︙ | ︙ | |||
6511 6512 6513 6514 6515 6516 6517 6518 6519 6520 6521 6522 6523 6524 | query I rowsort SELECT - + col2 AS col2 FROM tab2 GROUP BY tab2.col2 ---- -58 -79 -87 query I rowsort SELECT - - COALESCE ( - 51, - tab1.col2, + tab1.col1 ) + 24 FROM tab1 GROUP BY tab1.col0 ---- -27 -27 -27 | > | 6516 6517 6518 6519 6520 6521 6522 6523 6524 6525 6526 6527 6528 6529 6530 | query I rowsort SELECT - + col2 AS col2 FROM tab2 GROUP BY tab2.col2 ---- -58 -79 -87 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT - - COALESCE ( - 51, - tab1.col2, + tab1.col1 ) + 24 FROM tab1 GROUP BY tab1.col0 ---- -27 -27 -27 |
︙ | ︙ | |||
7562 7563 7564 7565 7566 7567 7568 7569 7570 7571 7572 7573 7574 7575 | query I rowsort SELECT col0 + 2 * cor0.col0 AS col0 FROM tab1 AS cor0 GROUP BY cor0.col0 ---- 246 66 84 query I rowsort SELECT DISTINCT COALESCE ( - 0, cor0.col1 + col1 * cor0.col2, - 59 * cor0.col2 ) AS col1 FROM tab0 AS cor0 GROUP BY cor0.col2 ---- 0 query I rowsort SELECT ALL - tab1.col1 * - tab1.col1 AS col1 FROM tab1 GROUP BY tab1.col1 | > | 7568 7569 7570 7571 7572 7573 7574 7575 7576 7577 7578 7579 7580 7581 7582 | query I rowsort SELECT col0 + 2 * cor0.col0 AS col0 FROM tab1 AS cor0 GROUP BY cor0.col0 ---- 246 66 84 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT DISTINCT COALESCE ( - 0, cor0.col1 + col1 * cor0.col2, - 59 * cor0.col2 ) AS col1 FROM tab0 AS cor0 GROUP BY cor0.col2 ---- 0 query I rowsort SELECT ALL - tab1.col1 * - tab1.col1 AS col1 FROM tab1 GROUP BY tab1.col1 |
︙ | ︙ | |||
7796 7797 7798 7799 7800 7801 7802 7803 7804 7805 7806 7807 7808 7809 | query I rowsort SELECT + 32 * col2 FROM tab2 AS cor0 GROUP BY cor0.col2 ---- 1856 2528 2784 query I rowsort SELECT DISTINCT + cor0.col0 * COALESCE ( 43, - cor0.col1 * cor0.col1 - cor0.col2 ) + - cor0.col0 FROM tab2 AS cor0 GROUP BY col0, cor0.col2 ---- 3822 3864 630 | > | 7803 7804 7805 7806 7807 7808 7809 7810 7811 7812 7813 7814 7815 7816 7817 | query I rowsort SELECT + 32 * col2 FROM tab2 AS cor0 GROUP BY cor0.col2 ---- 1856 2528 2784 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT DISTINCT + cor0.col0 * COALESCE ( 43, - cor0.col1 * cor0.col1 - cor0.col2 ) + - cor0.col0 FROM tab2 AS cor0 GROUP BY col0, cor0.col2 ---- 3822 3864 630 |
︙ | ︙ | |||
8061 8062 8063 8064 8065 8066 8067 8068 8069 8070 8071 8072 8073 8074 | query I rowsort SELECT DISTINCT - col0 AS col2 FROM tab0 GROUP BY tab0.col0 HAVING NULL IS NULL ---- -26 -43 -83 query I rowsort SELECT DISTINCT - COALESCE ( 32, + cor0.col1, - tab0.col1 + cor0.col0 ) AS col0 FROM tab0, tab2 cor0 GROUP BY cor0.col1 ---- -32 query I rowsort SELECT ALL + cor0.col0 * + cor0.col0 + + cor0.col0 FROM tab0 AS cor0 GROUP BY cor0.col0 | > | 8069 8070 8071 8072 8073 8074 8075 8076 8077 8078 8079 8080 8081 8082 8083 | query I rowsort SELECT DISTINCT - col0 AS col2 FROM tab0 GROUP BY tab0.col0 HAVING NULL IS NULL ---- -26 -43 -83 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT DISTINCT - COALESCE ( 32, + cor0.col1, - tab0.col1 + cor0.col0 ) AS col0 FROM tab0, tab2 cor0 GROUP BY cor0.col1 ---- -32 query I rowsort SELECT ALL + cor0.col0 * + cor0.col0 + + cor0.col0 FROM tab0 AS cor0 GROUP BY cor0.col0 |
︙ | ︙ | |||
8866 8867 8868 8869 8870 8871 8872 8873 8874 8875 8876 8877 8878 8879 | 36 query I rowsort SELECT DISTINCT + 27 FROM tab1 GROUP BY tab1.col1 ---- 27 query I rowsort SELECT cor0.col1 * + COALESCE ( + 23, + col1 * col0, + cor0.col1 + + cor0.col2 * cor0.col0 ) FROM tab1 AS cor0 GROUP BY cor0.col1 ---- 1012 1311 138 | > | 8875 8876 8877 8878 8879 8880 8881 8882 8883 8884 8885 8886 8887 8888 8889 | 36 query I rowsort SELECT DISTINCT + 27 FROM tab1 GROUP BY tab1.col1 ---- 27 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT cor0.col1 * + COALESCE ( + 23, + col1 * col0, + cor0.col1 + + cor0.col2 * cor0.col0 ) FROM tab1 AS cor0 GROUP BY cor0.col1 ---- 1012 1311 138 |
︙ | ︙ | |||
9113 9114 9115 9116 9117 9118 9119 9120 9121 9122 9123 9124 9125 9126 | query I rowsort SELECT ALL + cor0.col2 * col2 AS col0 FROM tab0 AS cor0 GROUP BY cor0.col2 ---- 1444 576 6241 query I rowsort SELECT COALESCE ( - 46, tab2.col1 * - tab2.col2 - + CASE - tab2.col2 WHEN tab2.col0 THEN NULL WHEN tab2.col0 + + 85 THEN NULL ELSE + tab2.col0 * tab2.col0 END, + col2 * tab2.col0, - tab2.col1 + tab2.col1, tab2.col1 ) FROM tab2 GROUP BY tab2.col2 ---- -46 -46 -46 | > | 9123 9124 9125 9126 9127 9128 9129 9130 9131 9132 9133 9134 9135 9136 9137 | query I rowsort SELECT ALL + cor0.col2 * col2 AS col0 FROM tab0 AS cor0 GROUP BY cor0.col2 ---- 1444 576 6241 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT COALESCE ( - 46, tab2.col1 * - tab2.col2 - + CASE - tab2.col2 WHEN tab2.col0 THEN NULL WHEN tab2.col0 + + 85 THEN NULL ELSE + tab2.col0 * tab2.col0 END, + col2 * tab2.col0, - tab2.col1 + tab2.col1, tab2.col1 ) FROM tab2 GROUP BY tab2.col2 ---- -46 -46 -46 |
︙ | ︙ | |||
9488 9489 9490 9491 9492 9493 9494 9495 9496 9497 9498 9499 9500 9501 | SELECT + cor0.col2 + - COALESCE ( - 67, + cor0.col0, CASE 97 WHEN + cor0.col2 + cor0.col2 THEN NULL WHEN 21 * + 56 THEN - cor0.col0 DIV cor0.col0 END, - cor0.col1, - col2 + + cor0.col2 ) AS col2 FROM tab2 AS cor0 GROUP BY cor0.col2 ---- 125 146 154 skipif mysql # not compatible query I rowsort label-1293 SELECT + cor0.col2 + - COALESCE ( - 67, + cor0.col0, CASE 97 WHEN + cor0.col2 + cor0.col2 THEN NULL WHEN 21 * + 56 THEN - cor0.col0 / cor0.col0 END, - cor0.col1, - col2 + + cor0.col2 ) AS col2 FROM tab2 AS cor0 GROUP BY cor0.col2 ---- 125 146 154 | > | 9499 9500 9501 9502 9503 9504 9505 9506 9507 9508 9509 9510 9511 9512 9513 | SELECT + cor0.col2 + - COALESCE ( - 67, + cor0.col0, CASE 97 WHEN + cor0.col2 + cor0.col2 THEN NULL WHEN 21 * + 56 THEN - cor0.col0 DIV cor0.col0 END, - cor0.col1, - col2 + + cor0.col2 ) AS col2 FROM tab2 AS cor0 GROUP BY cor0.col2 ---- 125 146 154 skipif mysql # not compatible skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort label-1293 SELECT + cor0.col2 + - COALESCE ( - 67, + cor0.col0, CASE 97 WHEN + cor0.col2 + cor0.col2 THEN NULL WHEN 21 * + 56 THEN - cor0.col0 / cor0.col0 END, - cor0.col1, - col2 + + cor0.col2 ) AS col2 FROM tab2 AS cor0 GROUP BY cor0.col2 ---- 125 146 154 |
︙ | ︙ | |||
9587 9588 9589 9590 9591 9592 9593 9594 9595 9596 9597 9598 9599 9600 | query I rowsort SELECT ALL + 19 FROM tab2 cor0 GROUP BY cor0.col1 ---- 19 19 19 query I rowsort SELECT ALL ( COALESCE ( + 55, - cor0.col1 - + cor0.col2 * cor0.col1, + cor0.col0 + - cor0.col2 ) ) FROM tab2 AS cor0 GROUP BY cor0.col0, col1 ---- 55 55 55 | > | 9599 9600 9601 9602 9603 9604 9605 9606 9607 9608 9609 9610 9611 9612 9613 | query I rowsort SELECT ALL + 19 FROM tab2 cor0 GROUP BY cor0.col1 ---- 19 19 19 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT ALL ( COALESCE ( + 55, - cor0.col1 - + cor0.col2 * cor0.col1, + cor0.col0 + - cor0.col2 ) ) FROM tab2 AS cor0 GROUP BY cor0.col0, col1 ---- 55 55 55 |
︙ | ︙ | |||
10813 10814 10815 10816 10817 10818 10819 10820 10821 10822 10823 10824 10825 10826 10827 10828 10829 10830 10831 | onlyif mysql # DIV for integer division: query I rowsort label-1474 SELECT DISTINCT - NULLIF ( + 20, + tab1.col2 ) DIV COALESCE ( + 29, + tab1.col2 * - tab1.col0, - 76 ) AS col1 FROM tab1 GROUP BY tab1.col2 ---- 0 skipif mysql # not compatible query I rowsort label-1474 SELECT DISTINCT - NULLIF ( + 20, + tab1.col2 ) / COALESCE ( + 29, + tab1.col2 * - tab1.col0, - 76 ) AS col1 FROM tab1 GROUP BY tab1.col2 ---- 0 query I rowsort SELECT DISTINCT - COALESCE ( 27, - tab1.col2 + 19 ) AS col2 FROM tab1 GROUP BY tab1.col0 ---- -27 query I rowsort SELECT DISTINCT 2 FROM tab2 GROUP BY tab2.col2 | > > | 10826 10827 10828 10829 10830 10831 10832 10833 10834 10835 10836 10837 10838 10839 10840 10841 10842 10843 10844 10845 10846 | onlyif mysql # DIV for integer division: query I rowsort label-1474 SELECT DISTINCT - NULLIF ( + 20, + tab1.col2 ) DIV COALESCE ( + 29, + tab1.col2 * - tab1.col0, - 76 ) AS col1 FROM tab1 GROUP BY tab1.col2 ---- 0 skipif mysql # not compatible skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort label-1474 SELECT DISTINCT - NULLIF ( + 20, + tab1.col2 ) / COALESCE ( + 29, + tab1.col2 * - tab1.col0, - 76 ) AS col1 FROM tab1 GROUP BY tab1.col2 ---- 0 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT DISTINCT - COALESCE ( 27, - tab1.col2 + 19 ) AS col2 FROM tab1 GROUP BY tab1.col0 ---- -27 query I rowsort SELECT DISTINCT 2 FROM tab2 GROUP BY tab2.col2 |
︙ | ︙ | |||
11268 11269 11270 11271 11272 11273 11274 11275 11276 11277 11278 11279 11280 11281 | query I rowsort SELECT DISTINCT cor0.col2 AS col0 FROM tab0 cor0 GROUP BY col1, col2 ---- 24 38 79 query I rowsort SELECT + COALESCE ( tab1.col0, 14, - tab1.col0 - - tab1.col2 ) FROM tab1 GROUP BY tab1.col0 ---- 22 28 82 | > | 11283 11284 11285 11286 11287 11288 11289 11290 11291 11292 11293 11294 11295 11296 11297 | query I rowsort SELECT DISTINCT cor0.col2 AS col0 FROM tab0 cor0 GROUP BY col1, col2 ---- 24 38 79 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT + COALESCE ( tab1.col0, 14, - tab1.col0 - - tab1.col2 ) FROM tab1 GROUP BY tab1.col0 ---- 22 28 82 |
︙ | ︙ | |||
12244 12245 12246 12247 12248 12249 12250 12251 12252 12253 12254 12255 12256 12257 | query I rowsort SELECT ALL 41 FROM tab2 AS cor0 GROUP BY cor0.col2 ---- 41 41 41 query I rowsort SELECT - COALESCE ( + 19, cor0.col2 * cor0.col2 ) FROM tab2 AS cor0 GROUP BY cor0.col1 ---- -19 -19 -19 | > | 12260 12261 12262 12263 12264 12265 12266 12267 12268 12269 12270 12271 12272 12273 12274 | query I rowsort SELECT ALL 41 FROM tab2 AS cor0 GROUP BY cor0.col2 ---- 41 41 41 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT - COALESCE ( + 19, cor0.col2 * cor0.col2 ) FROM tab2 AS cor0 GROUP BY cor0.col1 ---- -19 -19 -19 |
︙ | ︙ | |||
12265 12266 12267 12268 12269 12270 12271 12272 12273 12274 12275 12276 12277 12278 | query I rowsort SELECT 5 AS col1 FROM tab1 AS cor0 GROUP BY cor0.col2, col0 ---- 5 5 5 query I rowsort SELECT COALESCE ( 89, cor0.col1 ) AS col2 FROM tab0 AS cor0 GROUP BY cor0.col2 ---- 89 89 89 | > | 12282 12283 12284 12285 12286 12287 12288 12289 12290 12291 12292 12293 12294 12295 12296 | query I rowsort SELECT 5 AS col1 FROM tab1 AS cor0 GROUP BY cor0.col2, col0 ---- 5 5 5 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT COALESCE ( 89, cor0.col1 ) AS col2 FROM tab0 AS cor0 GROUP BY cor0.col2 ---- 89 89 89 |
︙ | ︙ | |||
12420 12421 12422 12423 12424 12425 12426 12427 12428 12429 12430 12431 12432 12433 12434 12435 12436 12437 12438 12439 12440 12441 12442 12443 12444 12445 12446 12447 12448 12449 12450 12451 12452 | query I rowsort SELECT col0 - 77 * - tab1.col0 FROM tab1 GROUP BY tab1.col0 ---- 1716 2184 6396 query I rowsort SELECT COALESCE ( 67, - tab1.col1 + - tab1.col0 ) FROM tab1 GROUP BY tab1.col0 ---- 67 67 67 query I rowsort SELECT COALESCE ( + cor0.col0, - cor0.col0 ) FROM tab1 AS cor0 GROUP BY cor0.col0 ---- 22 28 82 query I rowsort SELECT DISTINCT 73 FROM tab1 GROUP BY tab1.col2 ---- 73 query I rowsort SELECT COALESCE ( 95, - col2 - - tab0.col1 ) FROM tab0 GROUP BY tab0.col1 ---- 95 95 skipif postgresql # PostgreSQL requires AS when renaming output columns | > > | 12438 12439 12440 12441 12442 12443 12444 12445 12446 12447 12448 12449 12450 12451 12452 12453 12454 12455 12456 12457 12458 12459 12460 12461 12462 12463 12464 12465 12466 12467 12468 12469 12470 12471 12472 | query I rowsort SELECT col0 - 77 * - tab1.col0 FROM tab1 GROUP BY tab1.col0 ---- 1716 2184 6396 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT COALESCE ( 67, - tab1.col1 + - tab1.col0 ) FROM tab1 GROUP BY tab1.col0 ---- 67 67 67 query I rowsort SELECT COALESCE ( + cor0.col0, - cor0.col0 ) FROM tab1 AS cor0 GROUP BY cor0.col0 ---- 22 28 82 query I rowsort SELECT DISTINCT 73 FROM tab1 GROUP BY tab1.col2 ---- 73 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT COALESCE ( 95, - col2 - - tab0.col1 ) FROM tab0 GROUP BY tab0.col1 ---- 95 95 skipif postgresql # PostgreSQL requires AS when renaming output columns |
︙ | ︙ | |||
13211 13212 13213 13214 13215 13216 13217 13218 13219 13220 13221 13222 13223 13224 | query I rowsort SELECT DISTINCT cor0.col1 * + cor0.col2 AS col1 FROM tab1 cor0 GROUP BY cor0.col2, cor0.col1 ---- 2565 3124 48 query I rowsort SELECT + COALESCE ( 72, + tab1.col1 ) FROM tab1 GROUP BY tab1.col0 ---- 72 72 72 | > | 13231 13232 13233 13234 13235 13236 13237 13238 13239 13240 13241 13242 13243 13244 13245 | query I rowsort SELECT DISTINCT cor0.col1 * + cor0.col2 AS col1 FROM tab1 cor0 GROUP BY cor0.col2, cor0.col1 ---- 2565 3124 48 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT + COALESCE ( 72, + tab1.col1 ) FROM tab1 GROUP BY tab1.col0 ---- 72 72 72 |
︙ | ︙ | |||
14328 14329 14330 14331 14332 14333 14334 14335 14336 14337 14338 14339 14340 14341 | 10 query I rowsort SELECT DISTINCT - + 28 FROM tab1 GROUP BY tab1.col2 ---- -28 query I rowsort SELECT DISTINCT COALESCE ( 19, + tab2.col1 ) AS col2 FROM tab2 GROUP BY tab2.col2 ---- 19 query I rowsort SELECT ALL - 89 FROM tab2 cor0 GROUP BY col1, cor0.col1 | > | 14349 14350 14351 14352 14353 14354 14355 14356 14357 14358 14359 14360 14361 14362 14363 | 10 query I rowsort SELECT DISTINCT - + 28 FROM tab1 GROUP BY tab1.col2 ---- -28 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT DISTINCT COALESCE ( 19, + tab2.col1 ) AS col2 FROM tab2 GROUP BY tab2.col2 ---- 19 query I rowsort SELECT ALL - 89 FROM tab2 cor0 GROUP BY col1, cor0.col1 |
︙ | ︙ | |||
14613 14614 14615 14616 14617 14618 14619 14620 14621 14622 14623 14624 14625 14626 | query I rowsort SELECT + + 16 AS col1 FROM tab0 GROUP BY tab0.col1 ---- 16 16 query I rowsort SELECT ALL + - tab0.col0 * COALESCE ( 71, col2 ) FROM tab0 GROUP BY tab0.col0 ---- -1846 -3053 -5893 | > | 14635 14636 14637 14638 14639 14640 14641 14642 14643 14644 14645 14646 14647 14648 14649 | query I rowsort SELECT + + 16 AS col1 FROM tab0 GROUP BY tab0.col1 ---- 16 16 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT ALL + - tab0.col0 * COALESCE ( 71, col2 ) FROM tab0 GROUP BY tab0.col0 ---- -1846 -3053 -5893 |
︙ | ︙ | |||
15204 15205 15206 15207 15208 15209 15210 15211 15212 15213 15214 15215 15216 15217 | SELECT + CASE col1 WHEN - CAST( NULL AS SIGNED ) THEN + cor0.col2 WHEN 60 THEN NULL ELSE NULL END FROM tab2 AS cor0 GROUP BY col1 ---- NULL NULL NULL skipif mysql # not compatible query I rowsort label-2059 SELECT + CASE col1 WHEN - CAST ( NULL AS INTEGER ) THEN + cor0.col2 WHEN 60 THEN NULL ELSE NULL END FROM tab2 AS cor0 GROUP BY col1 ---- NULL NULL NULL | > | 15227 15228 15229 15230 15231 15232 15233 15234 15235 15236 15237 15238 15239 15240 15241 | SELECT + CASE col1 WHEN - CAST( NULL AS SIGNED ) THEN + cor0.col2 WHEN 60 THEN NULL ELSE NULL END FROM tab2 AS cor0 GROUP BY col1 ---- NULL NULL NULL skipif mysql # not compatible skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort label-2059 SELECT + CASE col1 WHEN - CAST ( NULL AS INTEGER ) THEN + cor0.col2 WHEN 60 THEN NULL ELSE NULL END FROM tab2 AS cor0 GROUP BY col1 ---- NULL NULL NULL |
︙ | ︙ | |||
16308 16309 16310 16311 16312 16313 16314 16315 16316 16317 16318 16319 16320 16321 | query I rowsort SELECT cor0.col2 * + cor0.col2 col1 FROM tab2 AS cor0 GROUP BY cor0.col2 ---- 3364 6241 7569 query I rowsort SELECT ALL COALESCE ( - 22, cor0.col1 + cor0.col2, + cor0.col2 + + cor0.col1, - cor0.col2 * 1 ) AS col1 FROM tab1 AS cor0 CROSS JOIN tab0 AS cor1 GROUP BY cor1.col2 ---- -22 -22 -22 | > | 16332 16333 16334 16335 16336 16337 16338 16339 16340 16341 16342 16343 16344 16345 16346 | query I rowsort SELECT cor0.col2 * + cor0.col2 col1 FROM tab2 AS cor0 GROUP BY cor0.col2 ---- 3364 6241 7569 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT ALL COALESCE ( - 22, cor0.col1 + cor0.col2, + cor0.col2 + + cor0.col1, - cor0.col2 * 1 ) AS col1 FROM tab1 AS cor0 CROSS JOIN tab0 AS cor1 GROUP BY cor1.col2 ---- -22 -22 -22 |
︙ | ︙ | |||
17397 17398 17399 17400 17401 17402 17403 17404 17405 17406 17407 17408 17409 17410 | 58 query I rowsort SELECT DISTINCT + tab0.col0 - col0 AS col1 FROM tab0 GROUP BY tab0.col0 ---- 0 query I rowsort SELECT + COALESCE ( + 69, cor0.col2 + cor0.col0, cor0.col1 ) FROM tab1 AS cor0 GROUP BY cor0.col0 ---- 69 69 69 | > | 17422 17423 17424 17425 17426 17427 17428 17429 17430 17431 17432 17433 17434 17435 17436 | 58 query I rowsort SELECT DISTINCT + tab0.col0 - col0 AS col1 FROM tab0 GROUP BY tab0.col0 ---- 0 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT + COALESCE ( + 69, cor0.col2 + cor0.col0, cor0.col1 ) FROM tab1 AS cor0 GROUP BY cor0.col0 ---- 69 69 69 |
︙ | ︙ | |||
18016 18017 18018 18019 18020 18021 18022 18023 18024 18025 18026 18027 18028 18029 | SELECT ALL - COALESCE ( + 57, + 60 DIV + tab2.col0 ) FROM tab2 GROUP BY tab2.col1 ---- -57 -57 -57 skipif mysql # not compatible query I rowsort label-2440 SELECT ALL - COALESCE ( + 57, + 60 / + tab2.col0 ) FROM tab2 GROUP BY tab2.col1 ---- -57 -57 -57 | > | 18042 18043 18044 18045 18046 18047 18048 18049 18050 18051 18052 18053 18054 18055 18056 | SELECT ALL - COALESCE ( + 57, + 60 DIV + tab2.col0 ) FROM tab2 GROUP BY tab2.col1 ---- -57 -57 -57 skipif mysql # not compatible skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort label-2440 SELECT ALL - COALESCE ( + 57, + 60 / + tab2.col0 ) FROM tab2 GROUP BY tab2.col1 ---- -57 -57 -57 |
︙ | ︙ | |||
18187 18188 18189 18190 18191 18192 18193 18194 18195 18196 18197 18198 18199 18200 | query I rowsort label-2462 SELECT CAST ( NULL AS INTEGER ) + 52 FROM tab2 AS cor0 GROUP BY col0 ---- NULL NULL NULL query I rowsort SELECT ALL - + COALESCE ( 63, col0 * col2 + 97, - 0 * - tab2.col1 ) AS col1 FROM tab2 GROUP BY tab2.col0 ---- -63 -63 -63 | > | 18214 18215 18216 18217 18218 18219 18220 18221 18222 18223 18224 18225 18226 18227 18228 | query I rowsort label-2462 SELECT CAST ( NULL AS INTEGER ) + 52 FROM tab2 AS cor0 GROUP BY col0 ---- NULL NULL NULL skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT ALL - + COALESCE ( 63, col0 * col2 + 97, - 0 * - tab2.col1 ) AS col1 FROM tab2 GROUP BY tab2.col0 ---- -63 -63 -63 |
︙ | ︙ | |||
19081 19082 19083 19084 19085 19086 19087 19088 19089 19090 19091 19092 19093 19094 | query I rowsort SELECT - cor0.col1 * cor0.col1 + - cor0.col1 * - cor0.col1 AS col2 FROM tab1 cor0 GROUP BY col1, cor0.col0 ---- 0 0 0 query I rowsort SELECT DISTINCT - COALESCE ( + 57, + tab2.col2 ) FROM tab2 GROUP BY tab2.col1 ---- -57 onlyif mysql # CAST syntax: SIGNED type: query I rowsort label-2590 | > | 19109 19110 19111 19112 19113 19114 19115 19116 19117 19118 19119 19120 19121 19122 19123 | query I rowsort SELECT - cor0.col1 * cor0.col1 + - cor0.col1 * - cor0.col1 AS col2 FROM tab1 cor0 GROUP BY col1, cor0.col0 ---- 0 0 0 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT DISTINCT - COALESCE ( + 57, + tab2.col2 ) FROM tab2 GROUP BY tab2.col1 ---- -57 onlyif mysql # CAST syntax: SIGNED type: query I rowsort label-2590 |
︙ | ︙ | |||
19276 19277 19278 19279 19280 19281 19282 19283 19284 19285 19286 19287 19288 19289 | SELECT COALESCE ( - 89, 74 DIV cor0.col0, + cor0.col0 + col2, - cor0.col1 ) FROM tab0 cor0 GROUP BY col0 ---- -89 -89 -89 skipif mysql # not compatible query I rowsort label-2612 SELECT COALESCE ( - 89, 74 / cor0.col0, + cor0.col0 + col2, - cor0.col1 ) FROM tab0 cor0 GROUP BY col0 ---- -89 -89 -89 | > | 19305 19306 19307 19308 19309 19310 19311 19312 19313 19314 19315 19316 19317 19318 19319 | SELECT COALESCE ( - 89, 74 DIV cor0.col0, + cor0.col0 + col2, - cor0.col1 ) FROM tab0 cor0 GROUP BY col0 ---- -89 -89 -89 skipif mysql # not compatible skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort label-2612 SELECT COALESCE ( - 89, 74 / cor0.col0, + cor0.col0 + col2, - cor0.col1 ) FROM tab0 cor0 GROUP BY col0 ---- -89 -89 -89 |
︙ | ︙ | |||
20610 20611 20612 20613 20614 20615 20616 20617 20618 20619 20620 20621 20622 20623 | 39 80 query I rowsort SELECT col2 FROM tab2 WHERE ( NULL ) IS NOT NULL GROUP BY tab2.col2 ---- query I rowsort SELECT tab2.col1 AS col2 FROM tab2 GROUP BY tab2.col1 HAVING NOT NULL <> col2 ---- skipif postgresql # PostgreSQL requires AS when renaming output columns query I rowsort SELECT ALL cor0.col2 * 52 col1 FROM tab0 AS cor0 GROUP BY col2 | > | 20640 20641 20642 20643 20644 20645 20646 20647 20648 20649 20650 20651 20652 20653 20654 | 39 80 query I rowsort SELECT col2 FROM tab2 WHERE ( NULL ) IS NOT NULL GROUP BY tab2.col2 ---- skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT tab2.col1 AS col2 FROM tab2 GROUP BY tab2.col1 HAVING NOT NULL <> col2 ---- skipif postgresql # PostgreSQL requires AS when renaming output columns query I rowsort SELECT ALL cor0.col2 * 52 col1 FROM tab0 AS cor0 GROUP BY col2 |
︙ | ︙ | |||
20647 20648 20649 20650 20651 20652 20653 20654 20655 20656 20657 20658 20659 20660 | query I rowsort SELECT ALL + cor0.col2 AS col2 FROM tab0 cor0 GROUP BY cor0.col0, cor0.col2 ---- 24 38 79 query I rowsort SELECT COALESCE ( - 0, + tab1.col2, col1 * - tab1.col1 - + tab1.col0 ) AS col0 FROM tab1 GROUP BY tab1.col1 ---- 0 0 0 | > | 20678 20679 20680 20681 20682 20683 20684 20685 20686 20687 20688 20689 20690 20691 20692 | query I rowsort SELECT ALL + cor0.col2 AS col2 FROM tab0 cor0 GROUP BY cor0.col0, cor0.col2 ---- 24 38 79 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT COALESCE ( - 0, + tab1.col2, col1 * - tab1.col1 - + tab1.col0 ) AS col0 FROM tab1 GROUP BY tab1.col1 ---- 0 0 0 |
︙ | ︙ | |||
20775 20776 20777 20778 20779 20780 20781 20782 20783 20784 20785 20786 20787 20788 | query I rowsort SELECT ALL + cor0.col1 + - cor0.col1 * cor0.col1 AS col0 FROM tab1 AS cor0 GROUP BY cor0.col0, cor0.col1 ---- -1892 -30 -3192 query I rowsort SELECT ALL - COALESCE ( 8, - cor0.col2 ) FROM tab2 cor0 GROUP BY cor0.col1, cor0.col0 ---- -8 -8 -8 | > | 20807 20808 20809 20810 20811 20812 20813 20814 20815 20816 20817 20818 20819 20820 20821 | query I rowsort SELECT ALL + cor0.col1 + - cor0.col1 * cor0.col1 AS col0 FROM tab1 AS cor0 GROUP BY cor0.col0, cor0.col1 ---- -1892 -30 -3192 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT ALL - COALESCE ( 8, - cor0.col2 ) FROM tab2 cor0 GROUP BY cor0.col1, cor0.col0 ---- -8 -8 -8 |
︙ | ︙ | |||
21199 21200 21201 21202 21203 21204 21205 21206 21207 21208 21209 21210 21211 21212 | SELECT - col0 + + COALESCE ( 92, - tab2.col2 DIV + tab2.col2 + tab2.col2 * + tab2.col2 ) DIV tab2.col0 FROM tab2 GROUP BY tab2.col0 ---- -9 -90 -91 skipif mysql # not compatible query I rowsort label-2866 SELECT - col0 + + COALESCE ( 92, - tab2.col2 / + tab2.col2 + tab2.col2 * + tab2.col2 ) / tab2.col0 FROM tab2 GROUP BY tab2.col0 ---- -9 -90 -91 | > | 21232 21233 21234 21235 21236 21237 21238 21239 21240 21241 21242 21243 21244 21245 21246 | SELECT - col0 + + COALESCE ( 92, - tab2.col2 DIV + tab2.col2 + tab2.col2 * + tab2.col2 ) DIV tab2.col0 FROM tab2 GROUP BY tab2.col0 ---- -9 -90 -91 skipif mysql # not compatible skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort label-2866 SELECT - col0 + + COALESCE ( 92, - tab2.col2 / + tab2.col2 + tab2.col2 * + tab2.col2 ) / tab2.col0 FROM tab2 GROUP BY tab2.col0 ---- -9 -90 -91 |
︙ | ︙ | |||
21430 21431 21432 21433 21434 21435 21436 21437 21438 21439 21440 21441 21442 21443 | query I rowsort SELECT 67 + cor0.col0 * - 90 FROM tab0 AS cor0 GROUP BY cor0.col0, cor0.col2 ---- -2273 -3803 -7403 query I rowsort SELECT ALL COALESCE ( - 70, cor0.col1, cor0.col1 ) AS col2 FROM tab2 AS cor0 GROUP BY cor0.col0 ---- -70 -70 -70 | > | 21464 21465 21466 21467 21468 21469 21470 21471 21472 21473 21474 21475 21476 21477 21478 | query I rowsort SELECT 67 + cor0.col0 * - 90 FROM tab0 AS cor0 GROUP BY cor0.col0, cor0.col2 ---- -2273 -3803 -7403 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT ALL COALESCE ( - 70, cor0.col1, cor0.col1 ) AS col2 FROM tab2 AS cor0 GROUP BY cor0.col0 ---- -70 -70 -70 |
︙ | ︙ | |||
22639 22640 22641 22642 22643 22644 22645 22646 22647 22648 22649 22650 22651 22652 | skipif postgresql # PostgreSQL requires AS when renaming output columns query I rowsort SELECT DISTINCT + 51 col2 FROM tab1 GROUP BY col0 ---- 51 query I rowsort SELECT DISTINCT + COALESCE ( cor0.col2, ( + 73 ), - col2 * - cor0.col0 ) AS col2 FROM tab2 cor0 GROUP BY cor0.col2 ---- 58 79 87 | > | 22674 22675 22676 22677 22678 22679 22680 22681 22682 22683 22684 22685 22686 22687 22688 | skipif postgresql # PostgreSQL requires AS when renaming output columns query I rowsort SELECT DISTINCT + 51 col2 FROM tab1 GROUP BY col0 ---- 51 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT DISTINCT + COALESCE ( cor0.col2, ( + 73 ), - col2 * - cor0.col0 ) AS col2 FROM tab2 cor0 GROUP BY cor0.col2 ---- 58 79 87 |
︙ | ︙ | |||
23392 23393 23394 23395 23396 23397 23398 23399 23400 23401 23402 23403 23404 23405 | query I rowsort SELECT ALL + + 40 FROM tab0 GROUP BY tab0.col0 ---- 40 40 40 query I rowsort SELECT + COALESCE ( + 91, - cor0.col1 ) AS col0 FROM tab2 AS cor0 GROUP BY cor0.col2 ---- 91 91 91 | > | 23428 23429 23430 23431 23432 23433 23434 23435 23436 23437 23438 23439 23440 23441 23442 | query I rowsort SELECT ALL + + 40 FROM tab0 GROUP BY tab0.col0 ---- 40 40 40 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT + COALESCE ( + 91, - cor0.col1 ) AS col0 FROM tab2 AS cor0 GROUP BY cor0.col2 ---- 91 91 91 |
︙ | ︙ | |||
24093 24094 24095 24096 24097 24098 24099 24100 24101 24102 24103 24104 24105 24106 | 26 query I rowsort SELECT DISTINCT + + NULLIF ( 38, 2 ) FROM tab2 GROUP BY tab2.col1 ---- 38 query I rowsort SELECT tab0.col1 + + COALESCE ( + 48, tab0.col0 ) AS col1 FROM tab0 GROUP BY tab0.col1 ---- 129 48 query I rowsort | > | 24130 24131 24132 24133 24134 24135 24136 24137 24138 24139 24140 24141 24142 24143 24144 | 26 query I rowsort SELECT DISTINCT + + NULLIF ( 38, 2 ) FROM tab2 GROUP BY tab2.col1 ---- 38 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT tab0.col1 + + COALESCE ( + 48, tab0.col0 ) AS col1 FROM tab0 GROUP BY tab0.col1 ---- 129 48 query I rowsort |
︙ | ︙ | |||
24351 24352 24353 24354 24355 24356 24357 24358 24359 24360 24361 24362 24363 24364 | query I rowsort SELECT - 81 col2 FROM tab0 GROUP BY tab0.col0 ---- -81 -81 -81 query I rowsort SELECT cor0.col0 + 72 * COALESCE ( 75, - cor0.col0 * + 18, CASE + cor0.col0 WHEN cor0.col2 / 29 THEN NULL WHEN cor0.col2 THEN - cor0.col2 * 52 END * cor0.col0 ) AS col0 FROM tab1 AS cor0 GROUP BY col1, cor0.col1, cor0.col0 ---- 5422 5428 5482 | > | 24389 24390 24391 24392 24393 24394 24395 24396 24397 24398 24399 24400 24401 24402 24403 | query I rowsort SELECT - 81 col2 FROM tab0 GROUP BY tab0.col0 ---- -81 -81 -81 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT cor0.col0 + 72 * COALESCE ( 75, - cor0.col0 * + 18, CASE + cor0.col0 WHEN cor0.col2 / 29 THEN NULL WHEN cor0.col2 THEN - cor0.col2 * 52 END * cor0.col0 ) AS col0 FROM tab1 AS cor0 GROUP BY col1, cor0.col1, cor0.col0 ---- 5422 5428 5482 |
︙ | ︙ | |||
25227 25228 25229 25230 25231 25232 25233 25234 25235 25236 25237 25238 25239 25240 | query I rowsort SELECT ALL + - tab1.col0 col0 FROM tab1 GROUP BY tab1.col0 ---- -22 -28 -82 query I rowsort SELECT DISTINCT + + COALESCE ( + tab2.col2, + tab2.col2, - 11, + tab2.col0 * 88 - tab2.col2 ) AS col0 FROM tab2 GROUP BY tab2.col2 ---- 58 79 87 | > | 25266 25267 25268 25269 25270 25271 25272 25273 25274 25275 25276 25277 25278 25279 25280 | query I rowsort SELECT ALL + - tab1.col0 col0 FROM tab1 GROUP BY tab1.col0 ---- -22 -28 -82 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT DISTINCT + + COALESCE ( + tab2.col2, + tab2.col2, - 11, + tab2.col0 * 88 - tab2.col2 ) AS col0 FROM tab2 GROUP BY tab2.col2 ---- 58 79 87 |
︙ | ︙ | |||
26438 26439 26440 26441 26442 26443 26444 26445 26446 26447 26448 26449 26450 26451 | query I rowsort SELECT - + 3 col1 FROM tab2 GROUP BY tab2.col2 ---- -3 -3 -3 query I rowsort SELECT ALL - COALESCE ( - 78, - tab1.col1 ) FROM tab1 GROUP BY tab1.col2 ---- 78 78 78 | > | 26478 26479 26480 26481 26482 26483 26484 26485 26486 26487 26488 26489 26490 26491 26492 | query I rowsort SELECT - + 3 col1 FROM tab2 GROUP BY tab2.col2 ---- -3 -3 -3 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT ALL - COALESCE ( - 78, - tab1.col1 ) FROM tab1 GROUP BY tab1.col2 ---- 78 78 78 |
︙ | ︙ | |||
26964 26965 26966 26967 26968 26969 26970 26971 26972 26973 26974 26975 26976 26977 | query I rowsort SELECT ALL col2 + col2 FROM tab0 AS cor0 GROUP BY cor0.col2 ---- 158 48 76 query I rowsort SELECT DISTINCT + COALESCE ( - 41, cor0.col0 * - cor0.col1, ( - cor0.col0 ) - cor0.col2 ) + + 87 AS col0 FROM tab2 cor0 GROUP BY cor0.col1 ---- 46 query I rowsort SELECT ALL cor0.col1 + + cor0.col1 FROM tab0 AS cor0 GROUP BY cor0.col1 | > | 27005 27006 27007 27008 27009 27010 27011 27012 27013 27014 27015 27016 27017 27018 27019 | query I rowsort SELECT ALL col2 + col2 FROM tab0 AS cor0 GROUP BY cor0.col2 ---- 158 48 76 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT DISTINCT + COALESCE ( - 41, cor0.col0 * - cor0.col1, ( - cor0.col0 ) - cor0.col2 ) + + 87 AS col0 FROM tab2 cor0 GROUP BY cor0.col1 ---- 46 query I rowsort SELECT ALL cor0.col1 + + cor0.col1 FROM tab0 AS cor0 GROUP BY cor0.col1 |
︙ | ︙ | |||
27718 27719 27720 27721 27722 27723 27724 27725 27726 27727 27728 27729 27730 27731 | onlyif mysql # DIV for integer division: query I rowsort label-3748 SELECT DISTINCT + COALESCE ( - 49, tab0.col1 DIV col2 ) FROM tab0 GROUP BY tab0.col0 ---- -49 skipif mysql # not compatible query I rowsort label-3748 SELECT DISTINCT + COALESCE ( - 49, tab0.col1 / col2 ) FROM tab0 GROUP BY tab0.col0 ---- -49 query I rowsort SELECT DISTINCT + cor0.col0 + - cor0.col1 AS col0 FROM tab2 AS cor0 GROUP BY cor0.col1, cor0.col0 | > | 27760 27761 27762 27763 27764 27765 27766 27767 27768 27769 27770 27771 27772 27773 27774 | onlyif mysql # DIV for integer division: query I rowsort label-3748 SELECT DISTINCT + COALESCE ( - 49, tab0.col1 DIV col2 ) FROM tab0 GROUP BY tab0.col0 ---- -49 skipif mysql # not compatible skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort label-3748 SELECT DISTINCT + COALESCE ( - 49, tab0.col1 / col2 ) FROM tab0 GROUP BY tab0.col0 ---- -49 query I rowsort SELECT DISTINCT + cor0.col0 + - cor0.col1 AS col0 FROM tab2 AS cor0 GROUP BY cor0.col1, cor0.col0 |
︙ | ︙ | |||
32887 32888 32889 32890 32891 32892 32893 32894 32895 32896 32897 32898 32899 32900 | SELECT - col1 * - 26 + COALESCE ( 38, + col0 * + NULLIF ( - cor0.col1 DIV + col0, cor0.col0 ) ) FROM tab1 AS cor0 GROUP BY cor0.col1, cor0.col1 ---- 1182 1520 194 skipif mysql # not compatible query I rowsort label-4453 SELECT - col1 * - 26 + COALESCE ( 38, + col0 * + NULLIF ( - cor0.col1 / + col0, cor0.col0 ) ) FROM tab1 AS cor0 GROUP BY cor0.col1, cor0.col1 ---- 1182 1520 194 | > | 32930 32931 32932 32933 32934 32935 32936 32937 32938 32939 32940 32941 32942 32943 32944 | SELECT - col1 * - 26 + COALESCE ( 38, + col0 * + NULLIF ( - cor0.col1 DIV + col0, cor0.col0 ) ) FROM tab1 AS cor0 GROUP BY cor0.col1, cor0.col1 ---- 1182 1520 194 skipif mysql # not compatible skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort label-4453 SELECT - col1 * - 26 + COALESCE ( 38, + col0 * + NULLIF ( - cor0.col1 / + col0, cor0.col0 ) ) FROM tab1 AS cor0 GROUP BY cor0.col1, cor0.col1 ---- 1182 1520 194 |
︙ | ︙ | |||
33115 33116 33117 33118 33119 33120 33121 33122 33123 33124 33125 33126 33127 33128 | query I rowsort SELECT + ( tab1.col2 ) FROM tab1 GROUP BY tab1.col2 ---- 45 71 8 query I rowsort SELECT ALL - COALESCE ( tab2.col2, 7, tab2.col1 ) FROM tab2 GROUP BY tab2.col2 ---- -58 -79 -87 | > | 33159 33160 33161 33162 33163 33164 33165 33166 33167 33168 33169 33170 33171 33172 33173 | query I rowsort SELECT + ( tab1.col2 ) FROM tab1 GROUP BY tab1.col2 ---- 45 71 8 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT ALL - COALESCE ( tab2.col2, 7, tab2.col1 ) FROM tab2 GROUP BY tab2.col2 ---- -58 -79 -87 |
︙ | ︙ | |||
33160 33161 33162 33163 33164 33165 33166 33167 33168 33169 33170 33171 33172 33173 | query I rowsort SELECT DISTINCT 14 * tab0.col0 FROM tab0 GROUP BY tab0.col0 ---- 1162 364 602 query I rowsort SELECT + COALESCE ( - 82, + col2 * COALESCE ( 77, tab1.col1 ) ) + - tab1.col0 AS col2 FROM tab1 GROUP BY tab1.col0 ---- -104 -110 -164 | > | 33205 33206 33207 33208 33209 33210 33211 33212 33213 33214 33215 33216 33217 33218 33219 | query I rowsort SELECT DISTINCT 14 * tab0.col0 FROM tab0 GROUP BY tab0.col0 ---- 1162 364 602 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT + COALESCE ( - 82, + col2 * COALESCE ( 77, tab1.col1 ) ) + - tab1.col0 AS col2 FROM tab1 GROUP BY tab1.col0 ---- -104 -110 -164 |
︙ | ︙ | |||
33395 33396 33397 33398 33399 33400 33401 33402 33403 33404 33405 33406 33407 33408 | query I rowsort SELECT + ( 11 ) AS col2 FROM tab2 AS cor0 GROUP BY cor0.col0, cor0.col2 ---- 11 11 11 query I rowsort SELECT DISTINCT + + COALESCE ( 93, tab0.col1 ) AS col0 FROM tab0 GROUP BY tab0.col0 ---- 93 query I rowsort SELECT DISTINCT + 47 * 92 + tab1.col0 AS col2 FROM tab1 GROUP BY tab1.col0 | > | 33441 33442 33443 33444 33445 33446 33447 33448 33449 33450 33451 33452 33453 33454 33455 | query I rowsort SELECT + ( 11 ) AS col2 FROM tab2 AS cor0 GROUP BY cor0.col0, cor0.col2 ---- 11 11 11 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT DISTINCT + + COALESCE ( 93, tab0.col1 ) AS col0 FROM tab0 GROUP BY tab0.col0 ---- 93 query I rowsort SELECT DISTINCT + 47 * 92 + tab1.col0 AS col2 FROM tab1 GROUP BY tab1.col0 |
︙ | ︙ | |||
33845 33846 33847 33848 33849 33850 33851 33852 33853 33854 33855 33856 33857 33858 | query I rowsort SELECT DISTINCT - cor0.col1 * - 78 AS col1 FROM tab2 AS cor0 GROUP BY cor0.col1 ---- 3198 4602 4758 query I rowsort SELECT DISTINCT COALESCE ( - 9, col2 ) FROM tab2 AS cor0 GROUP BY cor0.col1, cor0.col1 ---- -9 query I rowsort SELECT + - 63 FROM tab0 GROUP BY tab0.col0 | > | 33892 33893 33894 33895 33896 33897 33898 33899 33900 33901 33902 33903 33904 33905 33906 | query I rowsort SELECT DISTINCT - cor0.col1 * - 78 AS col1 FROM tab2 AS cor0 GROUP BY cor0.col1 ---- 3198 4602 4758 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT DISTINCT COALESCE ( - 9, col2 ) FROM tab2 AS cor0 GROUP BY cor0.col1, cor0.col1 ---- -9 query I rowsort SELECT + - 63 FROM tab0 GROUP BY tab0.col0 |
︙ | ︙ | |||
34053 34054 34055 34056 34057 34058 34059 34060 34061 34062 34063 34064 34065 34066 | query I rowsort SELECT - cor0.col0 FROM tab0 AS cor0 GROUP BY cor0.col0, cor0.col2, cor0.col2 ---- -26 -43 -83 query I rowsort SELECT ALL + COALESCE ( 78, 35 * + tab1.col0 ) FROM tab1 GROUP BY col1 ---- 78 78 78 | > | 34101 34102 34103 34104 34105 34106 34107 34108 34109 34110 34111 34112 34113 34114 34115 | query I rowsort SELECT - cor0.col0 FROM tab0 AS cor0 GROUP BY cor0.col0, cor0.col2, cor0.col2 ---- -26 -43 -83 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT ALL + COALESCE ( 78, 35 * + tab1.col0 ) FROM tab1 GROUP BY col1 ---- 78 78 78 |
︙ | ︙ | |||
34545 34546 34547 34548 34549 34550 34551 34552 34553 34554 34555 34556 34557 34558 | query I rowsort SELECT ( + tab1.col1 ) - tab1.col1 FROM tab1 GROUP BY tab1.col1 ---- 0 0 0 query I rowsort SELECT ALL - COALESCE ( + 65, tab1.col2 ) + 87 AS col2 FROM tab1 GROUP BY tab1.col1 ---- 22 22 22 | > | 34594 34595 34596 34597 34598 34599 34600 34601 34602 34603 34604 34605 34606 34607 34608 | query I rowsort SELECT ( + tab1.col1 ) - tab1.col1 FROM tab1 GROUP BY tab1.col1 ---- 0 0 0 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT ALL - COALESCE ( + 65, tab1.col2 ) + 87 AS col2 FROM tab1 GROUP BY tab1.col1 ---- 22 22 22 |
︙ | ︙ | |||
35106 35107 35108 35109 35110 35111 35112 35113 35114 35115 35116 35117 35118 35119 | skipif mysql # not compatible query I rowsort label-4745 SELECT DISTINCT + 8 / tab1.col0 AS col1 FROM tab1 GROUP BY tab1.col0 ---- 0 query I rowsort SELECT ALL - + COALESCE ( COALESCE ( - 1, col0 * col1 ), - 62 + - tab1.col0, CASE tab1.col1 WHEN + tab1.col0 + col2 THEN tab1.col0 WHEN 53 THEN - tab1.col2 * 20 ELSE tab1.col1 - - tab1.col0 * - tab1.col2 END + + tab1.col0 ) AS col2 FROM tab1 GROUP BY tab1.col0 ---- 1 1 1 | > | 35156 35157 35158 35159 35160 35161 35162 35163 35164 35165 35166 35167 35168 35169 35170 | skipif mysql # not compatible query I rowsort label-4745 SELECT DISTINCT + 8 / tab1.col0 AS col1 FROM tab1 GROUP BY tab1.col0 ---- 0 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT ALL - + COALESCE ( COALESCE ( - 1, col0 * col1 ), - 62 + - tab1.col0, CASE tab1.col1 WHEN + tab1.col0 + col2 THEN tab1.col0 WHEN 53 THEN - tab1.col2 * 20 ELSE tab1.col1 - - tab1.col0 * - tab1.col2 END + + tab1.col0 ) AS col2 FROM tab1 GROUP BY tab1.col0 ---- 1 1 1 |
︙ | ︙ | |||
36186 36187 36188 36189 36190 36191 36192 36193 36194 36195 36196 36197 36198 36199 | SELECT COALESCE ( 25, col2, + cor0.col1 + ( - cor0.col0 ) DIV + cor0.col2 ) AS col0 FROM tab1 AS cor0 GROUP BY cor0.col0 ---- 25 25 25 skipif mysql # not compatible query I rowsort label-4893 SELECT COALESCE ( 25, col2, + cor0.col1 + ( - cor0.col0 ) / + cor0.col2 ) AS col0 FROM tab1 AS cor0 GROUP BY cor0.col0 ---- 25 25 25 | > | 36237 36238 36239 36240 36241 36242 36243 36244 36245 36246 36247 36248 36249 36250 36251 | SELECT COALESCE ( 25, col2, + cor0.col1 + ( - cor0.col0 ) DIV + cor0.col2 ) AS col0 FROM tab1 AS cor0 GROUP BY cor0.col0 ---- 25 25 25 skipif mysql # not compatible skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort label-4893 SELECT COALESCE ( 25, col2, + cor0.col1 + ( - cor0.col0 ) / + cor0.col2 ) AS col0 FROM tab1 AS cor0 GROUP BY cor0.col0 ---- 25 25 25 |
︙ | ︙ | |||
36249 36250 36251 36252 36253 36254 36255 36256 36257 36258 36259 36260 36261 36262 | query I rowsort SELECT + 0 FROM tab2 AS cor0 GROUP BY cor0.col2 ---- 0 0 0 query I rowsort SELECT ALL - tab2.col2 + + COALESCE ( COALESCE ( 9, tab2.col2 ), ( - tab2.col2 ) * + tab2.col2 + - tab2.col0 ) FROM tab2 GROUP BY tab2.col2 ---- -49 -70 -78 | > | 36301 36302 36303 36304 36305 36306 36307 36308 36309 36310 36311 36312 36313 36314 36315 | query I rowsort SELECT + 0 FROM tab2 AS cor0 GROUP BY cor0.col2 ---- 0 0 0 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT ALL - tab2.col2 + + COALESCE ( COALESCE ( 9, tab2.col2 ), ( - tab2.col2 ) * + tab2.col2 + - tab2.col0 ) FROM tab2 GROUP BY tab2.col2 ---- -49 -70 -78 |
︙ | ︙ | |||
37024 37025 37026 37027 37028 37029 37030 37031 37032 37033 37034 37035 37036 37037 | SELECT COALESCE ( 8, - cor0.col1 * cor0.col2 + cor0.col1 * + cor0.col2, - cor0.col2 + cor0.col1, 74, + cor0.col1 ) DIV cor0.col2 AS col0 FROM tab1 AS cor0 GROUP BY cor0.col2 ---- 0 0 1 skipif mysql # not compatible query I rowsort label-5011 SELECT COALESCE ( 8, - cor0.col1 * cor0.col2 + cor0.col1 * + cor0.col2, - cor0.col2 + cor0.col1, 74, + cor0.col1 ) / cor0.col2 AS col0 FROM tab1 AS cor0 GROUP BY cor0.col2 ---- 0 0 1 | > | 37077 37078 37079 37080 37081 37082 37083 37084 37085 37086 37087 37088 37089 37090 37091 | SELECT COALESCE ( 8, - cor0.col1 * cor0.col2 + cor0.col1 * + cor0.col2, - cor0.col2 + cor0.col1, 74, + cor0.col1 ) DIV cor0.col2 AS col0 FROM tab1 AS cor0 GROUP BY cor0.col2 ---- 0 0 1 skipif mysql # not compatible skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort label-5011 SELECT COALESCE ( 8, - cor0.col1 * cor0.col2 + cor0.col1 * + cor0.col2, - cor0.col2 + cor0.col1, 74, + cor0.col1 ) / cor0.col2 AS col0 FROM tab1 AS cor0 GROUP BY cor0.col2 ---- 0 0 1 |
︙ | ︙ | |||
38078 38079 38080 38081 38082 38083 38084 38085 38086 38087 38088 38089 38090 38091 | onlyif mysql # DIV for integer division: query I rowsort label-5147 SELECT DISTINCT + COALESCE ( 30, + col1, + col2 DIV tab2.col2 + - tab2.col2 ) FROM tab2 GROUP BY tab2.col2 ---- 30 skipif mysql # not compatible query I rowsort label-5147 SELECT DISTINCT + COALESCE ( 30, + col1, + col2 / tab2.col2 + - tab2.col2 ) FROM tab2 GROUP BY tab2.col2 ---- 30 query I rowsort SELECT - + 36 AS col1 FROM tab0 GROUP BY tab0.col2 | > | 38132 38133 38134 38135 38136 38137 38138 38139 38140 38141 38142 38143 38144 38145 38146 | onlyif mysql # DIV for integer division: query I rowsort label-5147 SELECT DISTINCT + COALESCE ( 30, + col1, + col2 DIV tab2.col2 + - tab2.col2 ) FROM tab2 GROUP BY tab2.col2 ---- 30 skipif mysql # not compatible skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort label-5147 SELECT DISTINCT + COALESCE ( 30, + col1, + col2 / tab2.col2 + - tab2.col2 ) FROM tab2 GROUP BY tab2.col2 ---- 30 query I rowsort SELECT - + 36 AS col1 FROM tab0 GROUP BY tab0.col2 |
︙ | ︙ | |||
38573 38574 38575 38576 38577 38578 38579 38580 38581 38582 38583 38584 38585 38586 | query I rowsort SELECT - 22 * 33 FROM tab2 AS cor0 GROUP BY cor0.col1, cor0.col1 ---- -726 -726 -726 query I rowsort SELECT - COALESCE ( - 38, - col1 + + tab1.col2 ) * tab1.col1 + 90 FROM tab1 GROUP BY tab1.col1 ---- 1762 2256 318 | > | 38628 38629 38630 38631 38632 38633 38634 38635 38636 38637 38638 38639 38640 38641 38642 | query I rowsort SELECT - 22 * 33 FROM tab2 AS cor0 GROUP BY cor0.col1, cor0.col1 ---- -726 -726 -726 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT - COALESCE ( - 38, - col1 + + tab1.col2 ) * tab1.col1 + 90 FROM tab1 GROUP BY tab1.col1 ---- 1762 2256 318 |
︙ | ︙ | |||
41998 41999 42000 42001 42002 42003 42004 42005 42006 42007 42008 42009 42010 42011 | SELECT DISTINCT + - tab2.col0 + tab2.col0 * + COALESCE ( + 30, tab2.col2 + CAST( + tab2.col0 AS SIGNED ) * col1, + tab2.col0 ) AS col2 FROM tab2 GROUP BY tab2.col0 ---- 2639 2668 435 skipif mysql # not compatible query I rowsort label-5678 SELECT DISTINCT + - tab2.col0 + tab2.col0 * + COALESCE ( + 30, tab2.col2 + CAST ( + tab2.col0 AS INTEGER ) * col1, + tab2.col0 ) AS col2 FROM tab2 GROUP BY tab2.col0 ---- 2639 2668 435 | > | 42054 42055 42056 42057 42058 42059 42060 42061 42062 42063 42064 42065 42066 42067 42068 | SELECT DISTINCT + - tab2.col0 + tab2.col0 * + COALESCE ( + 30, tab2.col2 + CAST( + tab2.col0 AS SIGNED ) * col1, + tab2.col0 ) AS col2 FROM tab2 GROUP BY tab2.col0 ---- 2639 2668 435 skipif mysql # not compatible skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort label-5678 SELECT DISTINCT + - tab2.col0 + tab2.col0 * + COALESCE ( + 30, tab2.col2 + CAST ( + tab2.col0 AS INTEGER ) * col1, + tab2.col0 ) AS col2 FROM tab2 GROUP BY tab2.col0 ---- 2639 2668 435 |
︙ | ︙ | |||
42031 42032 42033 42034 42035 42036 42037 42038 42039 42040 42041 42042 42043 42044 | query I rowsort SELECT 64 FROM tab1 AS cor0 GROUP BY col1 ---- 64 64 64 query I rowsort SELECT COALESCE ( 51, - cor0.col2, cor0.col2, + cor0.col1 ) * + 4 FROM tab1 AS cor0 GROUP BY cor0.col1 ---- 204 204 204 | > | 42088 42089 42090 42091 42092 42093 42094 42095 42096 42097 42098 42099 42100 42101 42102 | query I rowsort SELECT 64 FROM tab1 AS cor0 GROUP BY col1 ---- 64 64 64 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT COALESCE ( 51, - cor0.col2, cor0.col2, + cor0.col1 ) * + 4 FROM tab1 AS cor0 GROUP BY cor0.col1 ---- 204 204 204 |
︙ | ︙ | |||
45323 45324 45325 45326 45327 45328 45329 45330 45331 45332 45333 45334 45335 45336 | query I rowsort SELECT + - ( tab0.col1 ) FROM tab0 GROUP BY tab0.col1 ---- -81 0 query I rowsort SELECT ALL - COALESCE ( + 25, + col2 * tab1.col0 ) FROM tab1 GROUP BY col1 ---- -25 -25 -25 | > | 45381 45382 45383 45384 45385 45386 45387 45388 45389 45390 45391 45392 45393 45394 45395 | query I rowsort SELECT + - ( tab0.col1 ) FROM tab0 GROUP BY tab0.col1 ---- -81 0 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT ALL - COALESCE ( + 25, + col2 * tab1.col0 ) FROM tab1 GROUP BY col1 ---- -25 -25 -25 |
︙ | ︙ | |||
45787 45788 45789 45790 45791 45792 45793 45794 45795 45796 45797 45798 45799 45800 | query I rowsort SELECT DISTINCT cor0.col1 * cor0.col0 + + 97 * col0 FROM tab2 AS cor0 GROUP BY col0, cor0.col1 ---- 12696 14196 2370 query I rowsort SELECT + - COALESCE ( - 74, + tab2.col0 ) * tab2.col2 FROM tab2 GROUP BY tab2.col2 ---- 4292 5846 6438 | > | 45846 45847 45848 45849 45850 45851 45852 45853 45854 45855 45856 45857 45858 45859 45860 | query I rowsort SELECT DISTINCT cor0.col1 * cor0.col0 + + 97 * col0 FROM tab2 AS cor0 GROUP BY col0, cor0.col1 ---- 12696 14196 2370 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT + - COALESCE ( - 74, + tab2.col0 ) * tab2.col2 FROM tab2 GROUP BY tab2.col2 ---- 4292 5846 6438 |
︙ | ︙ | |||
46553 46554 46555 46556 46557 46558 46559 46560 46561 46562 46563 46564 46565 46566 | SELECT + COALESCE ( - 8, - cor0.col2 ) + - col1 DIV ( + cor0.col1 ) AS col0 FROM tab1 AS cor0 GROUP BY col1 ---- -9 -9 -9 skipif mysql # not compatible query I rowsort label-6290 SELECT + COALESCE ( - 8, - cor0.col2 ) + - col1 / ( + cor0.col1 ) AS col0 FROM tab1 AS cor0 GROUP BY col1 ---- -9 -9 -9 | > | 46613 46614 46615 46616 46617 46618 46619 46620 46621 46622 46623 46624 46625 46626 46627 | SELECT + COALESCE ( - 8, - cor0.col2 ) + - col1 DIV ( + cor0.col1 ) AS col0 FROM tab1 AS cor0 GROUP BY col1 ---- -9 -9 -9 skipif mysql # not compatible skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort label-6290 SELECT + COALESCE ( - 8, - cor0.col2 ) + - col1 / ( + cor0.col1 ) AS col0 FROM tab1 AS cor0 GROUP BY col1 ---- -9 -9 -9 |
︙ | ︙ | |||
46689 46690 46691 46692 46693 46694 46695 46696 46697 46698 46699 46700 46701 46702 | -62 query I rowsort SELECT - 70 - 11 AS col1 FROM tab2 AS cor0 CROSS JOIN tab0 cor1 GROUP BY cor1.col2, cor0.col0 ---- 9 values hashing to 205b3ff2d7b1817c98d7980b8c17e6c1 query I rowsort SELECT + COALESCE ( 19, cor0.col0 - + cor0.col0 * cor0.col1 ) AS col1 FROM tab0 AS cor0 GROUP BY cor0.col2 ---- 19 19 19 | > | 46750 46751 46752 46753 46754 46755 46756 46757 46758 46759 46760 46761 46762 46763 46764 | -62 query I rowsort SELECT - 70 - 11 AS col1 FROM tab2 AS cor0 CROSS JOIN tab0 cor1 GROUP BY cor1.col2, cor0.col0 ---- 9 values hashing to 205b3ff2d7b1817c98d7980b8c17e6c1 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT + COALESCE ( 19, cor0.col0 - + cor0.col0 * cor0.col1 ) AS col1 FROM tab0 AS cor0 GROUP BY cor0.col2 ---- 19 19 19 |
︙ | ︙ | |||
47170 47171 47172 47173 47174 47175 47176 47177 47178 47179 47180 47181 47182 47183 | query I rowsort SELECT ALL + - 65 * + tab1.col1 AS col2 FROM tab1 GROUP BY tab1.col1 ---- -2860 -3705 -390 query I rowsort SELECT - COALESCE ( - 58, tab2.col1, col1 * tab2.col2 ) AS col1 FROM tab2 GROUP BY tab2.col2 ---- 58 58 58 | > | 47232 47233 47234 47235 47236 47237 47238 47239 47240 47241 47242 47243 47244 47245 47246 | query I rowsort SELECT ALL + - 65 * + tab1.col1 AS col2 FROM tab1 GROUP BY tab1.col1 ---- -2860 -3705 -390 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT - COALESCE ( - 58, tab2.col1, col1 * tab2.col2 ) AS col1 FROM tab2 GROUP BY tab2.col2 ---- 58 58 58 |
︙ | ︙ | |||
48591 48592 48593 48594 48595 48596 48597 48598 48599 48600 48601 48602 48603 48604 | SELECT ALL - + COALESCE ( - 45, tab2.col0 ) DIV - tab2.col1 + tab2.col1 FROM tab2 GROUP BY tab2.col1 ---- 40 59 61 skipif mysql # not compatible query I rowsort label-6564 SELECT ALL - + COALESCE ( - 45, tab2.col0 ) / - tab2.col1 + tab2.col1 FROM tab2 GROUP BY tab2.col1 ---- 40 59 61 | > | 48654 48655 48656 48657 48658 48659 48660 48661 48662 48663 48664 48665 48666 48667 48668 | SELECT ALL - + COALESCE ( - 45, tab2.col0 ) DIV - tab2.col1 + tab2.col1 FROM tab2 GROUP BY tab2.col1 ---- 40 59 61 skipif mysql # not compatible skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort label-6564 SELECT ALL - + COALESCE ( - 45, tab2.col0 ) / - tab2.col1 + tab2.col1 FROM tab2 GROUP BY tab2.col1 ---- 40 59 61 |
︙ | ︙ | |||
51285 51286 51287 51288 51289 51290 51291 51292 51293 51294 51295 51296 51297 51298 | query I rowsort SELECT ( 47 ) AS col1 FROM tab1 GROUP BY tab1.col0 ---- 47 47 47 query I rowsort SELECT ALL + + COALESCE ( + 80, - tab0.col1 + col2 ) - + 10 FROM tab0 GROUP BY tab0.col1 ---- 70 70 query I rowsort | > | 51349 51350 51351 51352 51353 51354 51355 51356 51357 51358 51359 51360 51361 51362 51363 | query I rowsort SELECT ( 47 ) AS col1 FROM tab1 GROUP BY tab1.col0 ---- 47 47 47 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT ALL + + COALESCE ( + 80, - tab0.col1 + col2 ) - + 10 FROM tab0 GROUP BY tab0.col1 ---- 70 70 query I rowsort |
︙ | ︙ | |||
51651 51652 51653 51654 51655 51656 51657 51658 51659 51660 51661 51662 51663 51664 | query I rowsort SELECT DISTINCT 58 + - cor0.col2 col1 FROM tab0 AS cor0 GROUP BY col2 ---- -21 20 34 query I rowsort SELECT - COALESCE ( - 66, tab0.col2 ) AS col1 FROM tab0 GROUP BY tab0.col0 ---- 66 66 66 | > | 51716 51717 51718 51719 51720 51721 51722 51723 51724 51725 51726 51727 51728 51729 51730 | query I rowsort SELECT DISTINCT 58 + - cor0.col2 col1 FROM tab0 AS cor0 GROUP BY col2 ---- -21 20 34 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT - COALESCE ( - 66, tab0.col2 ) AS col1 FROM tab0 GROUP BY tab0.col0 ---- 66 66 66 |
︙ | ︙ | |||
52547 52548 52549 52550 52551 52552 52553 52554 52555 52556 52557 52558 52559 52560 | query I rowsort SELECT 11 FROM tab0 cor0 GROUP BY cor0.col0 ---- 11 11 11 query I rowsort SELECT DISTINCT COALESCE ( - 40, tab0.col2 + + 50 ) + + 13 FROM tab0 GROUP BY col0 ---- -27 query I rowsort SELECT ALL - - tab2.col2 AS col2 FROM tab2 GROUP BY tab2.col2 | > | 52613 52614 52615 52616 52617 52618 52619 52620 52621 52622 52623 52624 52625 52626 52627 | query I rowsort SELECT 11 FROM tab0 cor0 GROUP BY cor0.col0 ---- 11 11 11 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT DISTINCT COALESCE ( - 40, tab0.col2 + + 50 ) + + 13 FROM tab0 GROUP BY col0 ---- -27 query I rowsort SELECT ALL - - tab2.col2 AS col2 FROM tab2 GROUP BY tab2.col2 |
︙ | ︙ | |||
52578 52579 52580 52581 52582 52583 52584 52585 52586 52587 52588 52589 52590 52591 | 0 query I rowsort SELECT DISTINCT + 0 FROM tab2 AS cor0 GROUP BY cor0.col2, cor0.col1 ---- 0 query I rowsort SELECT - COALESCE ( 91, tab1.col0 * + tab1.col2, COALESCE ( tab1.col0, - tab1.col1, tab1.col0 * tab1.col2, col0 ) + - col0 ) AS col1 FROM tab1 GROUP BY tab1.col0 ---- -91 -91 -91 | > | 52645 52646 52647 52648 52649 52650 52651 52652 52653 52654 52655 52656 52657 52658 52659 | 0 query I rowsort SELECT DISTINCT + 0 FROM tab2 AS cor0 GROUP BY cor0.col2, cor0.col1 ---- 0 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT - COALESCE ( 91, tab1.col0 * + tab1.col2, COALESCE ( tab1.col0, - tab1.col1, tab1.col0 * tab1.col2, col0 ) + - col0 ) AS col1 FROM tab1 GROUP BY tab1.col0 ---- -91 -91 -91 |
︙ | ︙ | |||
53670 53671 53672 53673 53674 53675 53676 53677 53678 53679 53680 53681 53682 53683 | query I rowsort SELECT NULLIF ( 56, + tab2.col0 ) FROM tab2 GROUP BY tab2.col0 ---- 56 56 56 query I rowsort SELECT - COALESCE ( - 13, tab2.col0 * 65, - tab2.col1 * tab2.col0 + tab2.col2 ) FROM tab2 GROUP BY tab2.col0 ---- 13 13 13 | > | 53738 53739 53740 53741 53742 53743 53744 53745 53746 53747 53748 53749 53750 53751 53752 | query I rowsort SELECT NULLIF ( 56, + tab2.col0 ) FROM tab2 GROUP BY tab2.col0 ---- 56 56 56 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT - COALESCE ( - 13, tab2.col0 * 65, - tab2.col1 * tab2.col0 + tab2.col2 ) FROM tab2 GROUP BY tab2.col0 ---- 13 13 13 |
︙ | ︙ | |||
54133 54134 54135 54136 54137 54138 54139 54140 54141 54142 54143 54144 54145 54146 | query I rowsort SELECT ALL cor1.col2 - cor1.col2 AS col0 FROM tab2 AS cor0 CROSS JOIN tab0 AS cor1 GROUP BY cor1.col2 ---- 0 0 0 query I rowsort SELECT ALL tab1.col2 + COALESCE ( 48, - tab1.col0 ) AS col2 FROM tab1 GROUP BY tab1.col2 ---- 119 56 93 | > | 54202 54203 54204 54205 54206 54207 54208 54209 54210 54211 54212 54213 54214 54215 54216 | query I rowsort SELECT ALL cor1.col2 - cor1.col2 AS col0 FROM tab2 AS cor0 CROSS JOIN tab0 AS cor1 GROUP BY cor1.col2 ---- 0 0 0 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT ALL tab1.col2 + COALESCE ( 48, - tab1.col0 ) AS col2 FROM tab1 GROUP BY tab1.col2 ---- 119 56 93 |
︙ | ︙ | |||
54396 54397 54398 54399 54400 54401 54402 54403 54404 54405 54406 54407 54408 54409 | SELECT COALESCE ( + 41, cor0.col2 DIV + cor0.col1, cor0.col2 ) FROM tab0 AS cor0 GROUP BY cor0.col0, cor0.col1 ---- 41 41 41 skipif mysql # not compatible query I rowsort label-7363 SELECT COALESCE ( + 41, cor0.col2 / + cor0.col1, cor0.col2 ) FROM tab0 AS cor0 GROUP BY cor0.col0, cor0.col1 ---- 41 41 41 | > | 54466 54467 54468 54469 54470 54471 54472 54473 54474 54475 54476 54477 54478 54479 54480 | SELECT COALESCE ( + 41, cor0.col2 DIV + cor0.col1, cor0.col2 ) FROM tab0 AS cor0 GROUP BY cor0.col0, cor0.col1 ---- 41 41 41 skipif mysql # not compatible skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort label-7363 SELECT COALESCE ( + 41, cor0.col2 / + cor0.col1, cor0.col2 ) FROM tab0 AS cor0 GROUP BY cor0.col0, cor0.col1 ---- 41 41 41 |
︙ | ︙ | |||
55770 55771 55772 55773 55774 55775 55776 55777 55778 55779 55780 55781 55782 55783 | -79 query I rowsort SELECT DISTINCT + 97 FROM tab0 GROUP BY tab0.col0 ---- 97 query I rowsort SELECT DISTINCT - COALESCE ( + 45, + tab2.col2, ( + tab2.col0 ) + tab2.col1 ) AS col0 FROM tab2 GROUP BY tab2.col0 ---- -45 query I rowsort SELECT - + 84 FROM tab1 GROUP BY tab1.col1 | > | 55841 55842 55843 55844 55845 55846 55847 55848 55849 55850 55851 55852 55853 55854 55855 | -79 query I rowsort SELECT DISTINCT + 97 FROM tab0 GROUP BY tab0.col0 ---- 97 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT DISTINCT - COALESCE ( + 45, + tab2.col2, ( + tab2.col0 ) + tab2.col1 ) AS col0 FROM tab2 GROUP BY tab2.col0 ---- -45 query I rowsort SELECT - + 84 FROM tab1 GROUP BY tab1.col1 |
︙ | ︙ | |||
56051 56052 56053 56054 56055 56056 56057 56058 56059 56060 56061 56062 56063 56064 | SELECT COALESCE ( 70, tab1.col1 + tab1.col2 DIV col0 ) FROM tab1 GROUP BY col1 ---- 70 70 70 skipif mysql # not compatible query I rowsort label-7584 SELECT COALESCE ( 70, tab1.col1 + tab1.col2 / col0 ) FROM tab1 GROUP BY col1 ---- 70 70 70 | > | 56123 56124 56125 56126 56127 56128 56129 56130 56131 56132 56133 56134 56135 56136 56137 | SELECT COALESCE ( 70, tab1.col1 + tab1.col2 DIV col0 ) FROM tab1 GROUP BY col1 ---- 70 70 70 skipif mysql # not compatible skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort label-7584 SELECT COALESCE ( 70, tab1.col1 + tab1.col2 / col0 ) FROM tab1 GROUP BY col1 ---- 70 70 70 |
︙ | ︙ | |||
56153 56154 56155 56156 56157 56158 56159 56160 56161 56162 56163 56164 56165 56166 | SELECT + COALESCE ( + 1, + cor0.col1, - col0, cor0.col1 * cor0.col0 + cor0.col2 ) + 24 DIV + cor0.col0 FROM tab1 AS cor0 GROUP BY cor0.col0 ---- 1 1 2 skipif mysql # not compatible query I rowsort label-7598 SELECT + COALESCE ( + 1, + cor0.col1, - col0, cor0.col1 * cor0.col0 + cor0.col2 ) + 24 / + cor0.col0 FROM tab1 AS cor0 GROUP BY cor0.col0 ---- 1 1 2 | > | 56226 56227 56228 56229 56230 56231 56232 56233 56234 56235 56236 56237 56238 56239 56240 | SELECT + COALESCE ( + 1, + cor0.col1, - col0, cor0.col1 * cor0.col0 + cor0.col2 ) + 24 DIV + cor0.col0 FROM tab1 AS cor0 GROUP BY cor0.col0 ---- 1 1 2 skipif mysql # not compatible skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort label-7598 SELECT + COALESCE ( + 1, + cor0.col1, - col0, cor0.col1 * cor0.col0 + cor0.col2 ) + 24 / + cor0.col0 FROM tab1 AS cor0 GROUP BY cor0.col0 ---- 1 1 2 |
︙ | ︙ | |||
56278 56279 56280 56281 56282 56283 56284 56285 56286 56287 56288 56289 56290 56291 | query I rowsort SELECT - tab1.col2 * - tab1.col2 AS col1 FROM tab1 GROUP BY tab1.col2 ---- 2025 5041 64 query I rowsort SELECT ALL + COALESCE ( - 12, tab1.col1 + tab1.col1, - 63 ) FROM tab1 GROUP BY tab1.col2 ---- -12 -12 -12 | > | 56352 56353 56354 56355 56356 56357 56358 56359 56360 56361 56362 56363 56364 56365 56366 | query I rowsort SELECT - tab1.col2 * - tab1.col2 AS col1 FROM tab1 GROUP BY tab1.col2 ---- 2025 5041 64 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT ALL + COALESCE ( - 12, tab1.col1 + tab1.col1, - 63 ) FROM tab1 GROUP BY tab1.col2 ---- -12 -12 -12 |
︙ | ︙ | |||
56529 56530 56531 56532 56533 56534 56535 56536 56537 56538 56539 56540 56541 56542 | query I rowsort SELECT DISTINCT - + col0 AS col1 FROM tab0 GROUP BY tab0.col0 ---- -26 -43 -83 query I rowsort SELECT - cor0.col1 AS col0 FROM tab2 AS cor0 GROUP BY cor0.col1 HAVING NOT + col0 < NULL ---- query I rowsort SELECT tab0.col1 FROM tab2 AS cor0 CROSS JOIN tab0 GROUP BY tab0.col1 ---- | > | 56604 56605 56606 56607 56608 56609 56610 56611 56612 56613 56614 56615 56616 56617 56618 | query I rowsort SELECT DISTINCT - + col0 AS col1 FROM tab0 GROUP BY tab0.col0 ---- -26 -43 -83 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT - cor0.col1 AS col0 FROM tab2 AS cor0 GROUP BY cor0.col1 HAVING NOT + col0 < NULL ---- query I rowsort SELECT tab0.col1 FROM tab2 AS cor0 CROSS JOIN tab0 GROUP BY tab0.col1 ---- |
︙ | ︙ | |||
57248 57249 57250 57251 57252 57253 57254 57255 57256 57257 57258 57259 57260 57261 | query I rowsort SELECT DISTINCT + tab1.col0 * 44 FROM tab1 GROUP BY tab1.col0 ---- 1232 3608 968 query I rowsort SELECT COALESCE ( 43, - cor0.col2 * cor0.col0 ) FROM tab1 AS cor0 GROUP BY cor0.col1, cor0.col0 ---- 43 43 43 | > | 57324 57325 57326 57327 57328 57329 57330 57331 57332 57333 57334 57335 57336 57337 57338 | query I rowsort SELECT DISTINCT + tab1.col0 * 44 FROM tab1 GROUP BY tab1.col0 ---- 1232 3608 968 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT COALESCE ( 43, - cor0.col2 * cor0.col0 ) FROM tab1 AS cor0 GROUP BY cor0.col1, cor0.col0 ---- 43 43 43 |
︙ | ︙ | |||
58133 58134 58135 58136 58137 58138 58139 58140 58141 58142 58143 58144 58145 58146 | SELECT COALESCE ( + 48, + cor1.col1 DIV cor1.col1 ) AS col2 FROM tab1 AS cor0 CROSS JOIN tab1 AS cor1 GROUP BY cor0.col1 ---- 48 48 48 skipif mysql # not compatible query I rowsort label-7861 SELECT COALESCE ( + 48, + cor1.col1 / cor1.col1 ) AS col2 FROM tab1 AS cor0 CROSS JOIN tab1 AS cor1 GROUP BY cor0.col1 ---- 48 48 48 | > | 58210 58211 58212 58213 58214 58215 58216 58217 58218 58219 58220 58221 58222 58223 58224 | SELECT COALESCE ( + 48, + cor1.col1 DIV cor1.col1 ) AS col2 FROM tab1 AS cor0 CROSS JOIN tab1 AS cor1 GROUP BY cor0.col1 ---- 48 48 48 skipif mysql # not compatible skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort label-7861 SELECT COALESCE ( + 48, + cor1.col1 / cor1.col1 ) AS col2 FROM tab1 AS cor0 CROSS JOIN tab1 AS cor1 GROUP BY cor0.col1 ---- 48 48 48 |
︙ | ︙ | |||
58268 58269 58270 58271 58272 58273 58274 58275 58276 58277 58278 58279 58280 58281 | -16 query I rowsort SELECT DISTINCT - + 9 FROM tab2 GROUP BY tab2.col0 ---- -9 query I rowsort SELECT + COALESCE ( 61, - 18 + - cor0.col2 ) AS col2 FROM tab0 AS cor0 CROSS JOIN tab1 cor1 GROUP BY cor0.col0 ---- 61 61 61 | > | 58346 58347 58348 58349 58350 58351 58352 58353 58354 58355 58356 58357 58358 58359 58360 | -16 query I rowsort SELECT DISTINCT - + 9 FROM tab2 GROUP BY tab2.col0 ---- -9 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT + COALESCE ( 61, - 18 + - cor0.col2 ) AS col2 FROM tab0 AS cor0 CROSS JOIN tab1 cor1 GROUP BY cor0.col0 ---- 61 61 61 |
︙ | ︙ | |||
58772 58773 58774 58775 58776 58777 58778 58779 58780 58781 58782 58783 58784 58785 | query I rowsort SELECT DISTINCT - cor0.col2 AS col0 FROM tab0 cor0 GROUP BY cor0.col1, cor0.col1, cor0.col2 ---- -24 -38 -79 query I rowsort SELECT + COALESCE ( + 37, + tab2.col0 ) * + tab2.col2 AS col0 FROM tab2 GROUP BY tab2.col2 ---- 2146 2923 3219 | > | 58851 58852 58853 58854 58855 58856 58857 58858 58859 58860 58861 58862 58863 58864 58865 | query I rowsort SELECT DISTINCT - cor0.col2 AS col0 FROM tab0 cor0 GROUP BY cor0.col1, cor0.col1, cor0.col2 ---- -24 -38 -79 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT + COALESCE ( + 37, + tab2.col0 ) * + tab2.col2 AS col0 FROM tab2 GROUP BY tab2.col2 ---- 2146 2923 3219 |
︙ | ︙ | |||
59179 59180 59181 59182 59183 59184 59185 59186 59187 59188 59189 59190 59191 59192 | -60 query I rowsort SELECT DISTINCT + 11 FROM tab2 AS cor0 GROUP BY col1 ---- 11 query I rowsort SELECT 72 - COALESCE ( - 87, - col1 + cor0.col2 * cor0.col2 ) AS col0 FROM tab1 AS cor0 GROUP BY cor0.col0 ---- 159 159 159 | > | 59259 59260 59261 59262 59263 59264 59265 59266 59267 59268 59269 59270 59271 59272 59273 | -60 query I rowsort SELECT DISTINCT + 11 FROM tab2 AS cor0 GROUP BY col1 ---- 11 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT 72 - COALESCE ( - 87, - col1 + cor0.col2 * cor0.col2 ) AS col0 FROM tab1 AS cor0 GROUP BY cor0.col0 ---- 159 159 159 |
︙ | ︙ | |||
60406 60407 60408 60409 60410 60411 60412 60413 60414 60415 60416 60417 60418 60419 | query I rowsort SELECT - 2 AS col2 FROM tab0 AS cor0 GROUP BY cor0.col1 ---- -2 -2 query I rowsort SELECT DISTINCT + COALESCE ( + 15, - cor0.col1 * cor0.col1 + - col0 ) FROM tab0 AS cor0 GROUP BY cor0.col0 ---- 15 query I rowsort SELECT DISTINCT - 42 AS col1 FROM tab1 AS cor0 GROUP BY cor0.col2, cor0.col2 | > | 60487 60488 60489 60490 60491 60492 60493 60494 60495 60496 60497 60498 60499 60500 60501 | query I rowsort SELECT - 2 AS col2 FROM tab0 AS cor0 GROUP BY cor0.col1 ---- -2 -2 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT DISTINCT + COALESCE ( + 15, - cor0.col1 * cor0.col1 + - col0 ) FROM tab0 AS cor0 GROUP BY cor0.col0 ---- 15 query I rowsort SELECT DISTINCT - 42 AS col1 FROM tab1 AS cor0 GROUP BY cor0.col2, cor0.col2 |
︙ | ︙ | |||
61253 61254 61255 61256 61257 61258 61259 61260 61261 61262 61263 61264 61265 61266 | query I rowsort SELECT ( 87 ) col1 FROM tab0 GROUP BY tab0.col0 ---- 87 87 87 query I rowsort SELECT ALL COALESCE ( + 62, cor0.col0 ) FROM tab0 AS cor0 GROUP BY cor0.col1 ---- 62 62 query I rowsort | > | 61335 61336 61337 61338 61339 61340 61341 61342 61343 61344 61345 61346 61347 61348 61349 | query I rowsort SELECT ( 87 ) col1 FROM tab0 GROUP BY tab0.col0 ---- 87 87 87 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT ALL COALESCE ( + 62, cor0.col0 ) FROM tab0 AS cor0 GROUP BY cor0.col1 ---- 62 62 query I rowsort |
︙ | ︙ | |||
62115 62116 62117 62118 62119 62120 62121 62122 62123 62124 62125 62126 62127 62128 | query I rowsort SELECT ALL - cor0.col0 AS col1 FROM tab0 cor0 GROUP BY cor0.col2, cor0.col0 ---- -26 -43 -83 query I rowsort SELECT cor0.col2 + + COALESCE ( 64, cor0.col0, cor0.col0 * ( + 18 ) ) AS col0 FROM tab1 AS cor0 GROUP BY cor0.col2 ---- 109 135 72 | > | 62198 62199 62200 62201 62202 62203 62204 62205 62206 62207 62208 62209 62210 62211 62212 | query I rowsort SELECT ALL - cor0.col0 AS col1 FROM tab0 cor0 GROUP BY cor0.col2, cor0.col0 ---- -26 -43 -83 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT cor0.col2 + + COALESCE ( 64, cor0.col0, cor0.col0 * ( + 18 ) ) AS col0 FROM tab1 AS cor0 GROUP BY cor0.col2 ---- 109 135 72 |
︙ | ︙ | |||
62157 62158 62159 62160 62161 62162 62163 62164 62165 62166 62167 62168 62169 62170 | SELECT ALL COALESCE ( 0, - tab2.col0 DIV + 24 - - tab2.col0 ) FROM tab2 GROUP BY tab2.col2 ---- 0 0 0 skipif mysql # not compatible query I rowsort label-8415 SELECT ALL COALESCE ( 0, - tab2.col0 / + 24 - - tab2.col0 ) FROM tab2 GROUP BY tab2.col2 ---- 0 0 0 | > | 62241 62242 62243 62244 62245 62246 62247 62248 62249 62250 62251 62252 62253 62254 62255 | SELECT ALL COALESCE ( 0, - tab2.col0 DIV + 24 - - tab2.col0 ) FROM tab2 GROUP BY tab2.col2 ---- 0 0 0 skipif mysql # not compatible skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort label-8415 SELECT ALL COALESCE ( 0, - tab2.col0 / + 24 - - tab2.col0 ) FROM tab2 GROUP BY tab2.col2 ---- 0 0 0 |
︙ | ︙ | |||
62308 62309 62310 62311 62312 62313 62314 62315 62316 62317 62318 62319 62320 62321 | query I rowsort SELECT DISTINCT + 27 * + col2 AS col0 FROM tab2 AS cor0 GROUP BY cor0.col2 ---- 1566 2133 2349 query I rowsort SELECT - COALESCE ( 98, + col0, tab0.col2 + 35 ) AS col1 FROM tab0 GROUP BY col0 ---- -98 -98 -98 | > | 62393 62394 62395 62396 62397 62398 62399 62400 62401 62402 62403 62404 62405 62406 62407 | query I rowsort SELECT DISTINCT + 27 * + col2 AS col0 FROM tab2 AS cor0 GROUP BY cor0.col2 ---- 1566 2133 2349 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT - COALESCE ( 98, + col0, tab0.col2 + 35 ) AS col1 FROM tab0 GROUP BY col0 ---- -98 -98 -98 |
︙ | ︙ | |||
63521 63522 63523 63524 63525 63526 63527 63528 63529 63530 63531 63532 63533 63534 | SELECT - - COALESCE ( 39, + tab2.col2 DIV + tab2.col1 + - tab2.col0, - tab2.col0 ) FROM tab2 GROUP BY tab2.col1 ---- 39 39 39 skipif mysql # not compatible query I rowsort label-8593 SELECT - - COALESCE ( 39, + tab2.col2 / + tab2.col1 + - tab2.col0, - tab2.col0 ) FROM tab2 GROUP BY tab2.col1 ---- 39 39 39 | > | 63607 63608 63609 63610 63611 63612 63613 63614 63615 63616 63617 63618 63619 63620 63621 | SELECT - - COALESCE ( 39, + tab2.col2 DIV + tab2.col1 + - tab2.col0, - tab2.col0 ) FROM tab2 GROUP BY tab2.col1 ---- 39 39 39 skipif mysql # not compatible skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort label-8593 SELECT - - COALESCE ( 39, + tab2.col2 / + tab2.col1 + - tab2.col0, - tab2.col0 ) FROM tab2 GROUP BY tab2.col1 ---- 39 39 39 |
︙ | ︙ | |||
63913 63914 63915 63916 63917 63918 63919 63920 63921 63922 63923 63924 63925 63926 | query I rowsort SELECT ALL 39 * tab1.col1 AS col0 FROM tab1 GROUP BY tab1.col1 ---- 1716 2223 234 query I rowsort SELECT COALESCE ( 21, - tab0.col1 * - tab0.col0, - 74 * col1 + - col0 ) AS col2 FROM tab0 GROUP BY tab0.col1 ---- 21 21 query I rowsort | > | 64000 64001 64002 64003 64004 64005 64006 64007 64008 64009 64010 64011 64012 64013 64014 | query I rowsort SELECT ALL 39 * tab1.col1 AS col0 FROM tab1 GROUP BY tab1.col1 ---- 1716 2223 234 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT COALESCE ( 21, - tab0.col1 * - tab0.col0, - 74 * col1 + - col0 ) AS col2 FROM tab0 GROUP BY tab0.col1 ---- 21 21 query I rowsort |
︙ | ︙ | |||
65106 65107 65108 65109 65110 65111 65112 65113 65114 65115 65116 65117 65118 65119 | 3721 query I rowsort SELECT DISTINCT - 43 FROM tab2 GROUP BY tab2.col0 ---- -43 query I rowsort SELECT ALL - tab0.col2 + - COALESCE ( 57, tab0.col0, + tab0.col2 ) FROM tab0 GROUP BY tab0.col2 ---- -136 -81 -95 | > | 65194 65195 65196 65197 65198 65199 65200 65201 65202 65203 65204 65205 65206 65207 65208 | 3721 query I rowsort SELECT DISTINCT - 43 FROM tab2 GROUP BY tab2.col0 ---- -43 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT ALL - tab0.col2 + - COALESCE ( 57, tab0.col0, + tab0.col2 ) FROM tab0 GROUP BY tab0.col2 ---- -136 -81 -95 |
︙ | ︙ | |||
65846 65847 65848 65849 65850 65851 65852 65853 65854 65855 65856 65857 65858 65859 | query I rowsort SELECT 77 - + 79 AS col0 FROM tab0 AS cor0 GROUP BY cor0.col2, cor0.col2 ---- -2 -2 -2 query I rowsort SELECT COALESCE ( - 58, + col2 * cor0.col0 + cor0.col1 ) FROM tab1 cor0 GROUP BY cor0.col2 ---- -58 -58 -58 | > | 65935 65936 65937 65938 65939 65940 65941 65942 65943 65944 65945 65946 65947 65948 65949 | query I rowsort SELECT 77 - + 79 AS col0 FROM tab0 AS cor0 GROUP BY cor0.col2, cor0.col2 ---- -2 -2 -2 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT COALESCE ( - 58, + col2 * cor0.col0 + cor0.col1 ) FROM tab1 cor0 GROUP BY cor0.col2 ---- -58 -58 -58 |
︙ | ︙ | |||
66042 66043 66044 66045 66046 66047 66048 66049 66050 66051 66052 66053 66054 66055 | query I rowsort SELECT ALL - cor0.col2 AS col2 FROM tab0 AS cor0 CROSS JOIN tab1 cor1 GROUP BY cor0.col2 ---- -24 -38 -79 query I rowsort SELECT COALESCE ( + 51, cor0.col2, - cor0.col0 * cor0.col1 + cor0.col1 ) AS col2 FROM tab1 AS cor0 GROUP BY cor0.col2 ---- 51 51 51 | > | 66132 66133 66134 66135 66136 66137 66138 66139 66140 66141 66142 66143 66144 66145 66146 | query I rowsort SELECT ALL - cor0.col2 AS col2 FROM tab0 AS cor0 CROSS JOIN tab1 cor1 GROUP BY cor0.col2 ---- -24 -38 -79 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT COALESCE ( + 51, cor0.col2, - cor0.col0 * cor0.col1 + cor0.col1 ) AS col2 FROM tab1 AS cor0 GROUP BY cor0.col2 ---- 51 51 51 |
︙ | ︙ | |||
66123 66124 66125 66126 66127 66128 66129 66130 66131 66132 66133 66134 66135 66136 | query I rowsort SELECT ALL ( 93 ) AS col1 FROM tab0 AS cor0 GROUP BY cor0.col1 ---- 93 93 query I rowsort SELECT COALESCE ( 95, cor0.col0 ) FROM tab0 AS cor0 GROUP BY cor0.col1 ---- 95 95 query I rowsort | > | 66214 66215 66216 66217 66218 66219 66220 66221 66222 66223 66224 66225 66226 66227 66228 | query I rowsort SELECT ALL ( 93 ) AS col1 FROM tab0 AS cor0 GROUP BY cor0.col1 ---- 93 93 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT COALESCE ( 95, cor0.col0 ) FROM tab0 AS cor0 GROUP BY cor0.col1 ---- 95 95 query I rowsort |
︙ | ︙ | |||
66300 66301 66302 66303 66304 66305 66306 66307 66308 66309 66310 66311 66312 66313 | query I rowsort SELECT + + 19 col1 FROM tab1 GROUP BY tab1.col2 ---- 19 19 19 query I rowsort SELECT ALL COALESCE ( COALESCE ( 80, + cor0.col1 - + cor0.col2, cor0.col1 + cor0.col0 * COALESCE ( + cor0.col1 + col1, cor0.col0, COALESCE ( 6, cor0.col2 * + 53 ) + 67 ) ), + cor0.col1 * + cor0.col0 ) FROM tab0 AS cor0 GROUP BY cor0.col0 ---- 80 80 80 | > | 66392 66393 66394 66395 66396 66397 66398 66399 66400 66401 66402 66403 66404 66405 66406 | query I rowsort SELECT + + 19 col1 FROM tab1 GROUP BY tab1.col2 ---- 19 19 19 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT ALL COALESCE ( COALESCE ( 80, + cor0.col1 - + cor0.col2, cor0.col1 + cor0.col0 * COALESCE ( + cor0.col1 + col1, cor0.col0, COALESCE ( 6, cor0.col2 * + 53 ) + 67 ) ), + cor0.col1 * + cor0.col0 ) FROM tab0 AS cor0 GROUP BY cor0.col0 ---- 80 80 80 |
︙ | ︙ | |||
66464 66465 66466 66467 66468 66469 66470 66471 66472 66473 66474 66475 66476 66477 | skipif postgresql # PostgreSQL requires AS when renaming output columns query I rowsort SELECT DISTINCT + 19 col1 FROM tab0 AS cor0 GROUP BY cor0.col0 ---- 19 query I rowsort SELECT DISTINCT COALESCE ( - 45, + cor0.col0 + ( + cor0.col2 ) ) FROM tab1 AS cor0 GROUP BY cor0.col2 ---- -45 query I rowsort SELECT ALL - cor0.col2 * cor0.col2 FROM tab1 AS cor0 GROUP BY cor0.col2 | > | 66557 66558 66559 66560 66561 66562 66563 66564 66565 66566 66567 66568 66569 66570 66571 | skipif postgresql # PostgreSQL requires AS when renaming output columns query I rowsort SELECT DISTINCT + 19 col1 FROM tab0 AS cor0 GROUP BY cor0.col0 ---- 19 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT DISTINCT COALESCE ( - 45, + cor0.col0 + ( + cor0.col2 ) ) FROM tab1 AS cor0 GROUP BY cor0.col2 ---- -45 query I rowsort SELECT ALL - cor0.col2 * cor0.col2 FROM tab1 AS cor0 GROUP BY cor0.col2 |
︙ | ︙ | |||
67116 67117 67118 67119 67120 67121 67122 67123 67124 67125 67126 67127 67128 67129 | SELECT - COALESCE ( + 48, + cor0.col2 DIV cor0.col0, + 84 ) AS col1 FROM tab1 AS cor0 GROUP BY cor0.col0 ---- -48 -48 -48 skipif mysql # not compatible query I rowsort label-9088 SELECT - COALESCE ( + 48, + cor0.col2 / cor0.col0, + 84 ) AS col1 FROM tab1 AS cor0 GROUP BY cor0.col0 ---- -48 -48 -48 | > | 67210 67211 67212 67213 67214 67215 67216 67217 67218 67219 67220 67221 67222 67223 67224 | SELECT - COALESCE ( + 48, + cor0.col2 DIV cor0.col0, + 84 ) AS col1 FROM tab1 AS cor0 GROUP BY cor0.col0 ---- -48 -48 -48 skipif mysql # not compatible skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort label-9088 SELECT - COALESCE ( + 48, + cor0.col2 / cor0.col0, + 84 ) AS col1 FROM tab1 AS cor0 GROUP BY cor0.col0 ---- -48 -48 -48 |
︙ | ︙ | |||
67522 67523 67524 67525 67526 67527 67528 67529 67530 67531 67532 67533 67534 67535 | onlyif mysql # DIV for integer division: query I rowsort label-9144 SELECT DISTINCT + 11 DIV - COALESCE ( - 57, cor0.col0, + NULLIF ( - cor0.col0, cor0.col1 DIV cor0.col0 + cor0.col2 ) ) FROM tab1 AS cor0 GROUP BY cor0.col1, cor0.col2 ---- 0 skipif mysql # not compatible query I rowsort label-9144 SELECT DISTINCT + 11 / - COALESCE ( - 57, cor0.col0, + NULLIF ( - cor0.col0, cor0.col1 / cor0.col0 + cor0.col2 ) ) FROM tab1 AS cor0 GROUP BY cor0.col1, cor0.col2 ---- 0 query I rowsort SELECT DISTINCT + CASE + tab1.col2 WHEN tab1.col2 THEN + tab1.col2 ELSE NULL END FROM tab1 GROUP BY tab1.col2 | > | 67617 67618 67619 67620 67621 67622 67623 67624 67625 67626 67627 67628 67629 67630 67631 | onlyif mysql # DIV for integer division: query I rowsort label-9144 SELECT DISTINCT + 11 DIV - COALESCE ( - 57, cor0.col0, + NULLIF ( - cor0.col0, cor0.col1 DIV cor0.col0 + cor0.col2 ) ) FROM tab1 AS cor0 GROUP BY cor0.col1, cor0.col2 ---- 0 skipif mysql # not compatible skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort label-9144 SELECT DISTINCT + 11 / - COALESCE ( - 57, cor0.col0, + NULLIF ( - cor0.col0, cor0.col1 / cor0.col0 + cor0.col2 ) ) FROM tab1 AS cor0 GROUP BY cor0.col1, cor0.col2 ---- 0 query I rowsort SELECT DISTINCT + CASE + tab1.col2 WHEN tab1.col2 THEN + tab1.col2 ELSE NULL END FROM tab1 GROUP BY tab1.col2 |
︙ | ︙ | |||
68053 68054 68055 68056 68057 68058 68059 68060 68061 68062 68063 68064 68065 68066 | query I rowsort SELECT ALL - 6 AS col0 FROM tab2 GROUP BY tab2.col2 ---- -6 -6 -6 query I rowsort SELECT ALL COALESCE ( + 11, - cor0.col1 ) FROM tab2 AS cor0 GROUP BY cor0.col0, cor0.col0 ---- 11 11 11 | > | 68149 68150 68151 68152 68153 68154 68155 68156 68157 68158 68159 68160 68161 68162 68163 | query I rowsort SELECT ALL - 6 AS col0 FROM tab2 GROUP BY tab2.col2 ---- -6 -6 -6 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT ALL COALESCE ( + 11, - cor0.col1 ) FROM tab2 AS cor0 GROUP BY cor0.col0, cor0.col0 ---- 11 11 11 |
︙ | ︙ | |||
68095 68096 68097 68098 68099 68100 68101 68102 68103 68104 68105 68106 68107 68108 | skipif postgresql # PostgreSQL requires AS when renaming output columns query I rowsort label-9224 SELECT ALL - CAST ( NULL AS INTEGER ) * 87 col0 FROM tab0 GROUP BY tab0.col1 ---- NULL NULL query I rowsort SELECT ALL - COALESCE ( 31, col0 + cor0.col2, + 66 * - col2 ) AS col2 FROM tab1 AS cor0 GROUP BY cor0.col1 ---- -31 -31 -31 | > | 68192 68193 68194 68195 68196 68197 68198 68199 68200 68201 68202 68203 68204 68205 68206 | skipif postgresql # PostgreSQL requires AS when renaming output columns query I rowsort label-9224 SELECT ALL - CAST ( NULL AS INTEGER ) * 87 col0 FROM tab0 GROUP BY tab0.col1 ---- NULL NULL skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT ALL - COALESCE ( 31, col0 + cor0.col2, + 66 * - col2 ) AS col2 FROM tab1 AS cor0 GROUP BY cor0.col1 ---- -31 -31 -31 |
︙ | ︙ | |||
68330 68331 68332 68333 68334 68335 68336 68337 68338 68339 68340 68341 68342 68343 | query I rowsort SELECT 83 AS col2 FROM tab0 AS cor0 GROUP BY cor0.col2 ---- 83 83 83 query I rowsort SELECT DISTINCT - + tab0.col0 * COALESCE ( - 78 * + 66, tab0.col1, tab0.col2 ) FROM tab0 GROUP BY tab0.col0 ---- 133848 221364 427284 | > | 68428 68429 68430 68431 68432 68433 68434 68435 68436 68437 68438 68439 68440 68441 68442 | query I rowsort SELECT 83 AS col2 FROM tab0 AS cor0 GROUP BY cor0.col2 ---- 83 83 83 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT DISTINCT - + tab0.col0 * COALESCE ( - 78 * + 66, tab0.col1, tab0.col2 ) FROM tab0 GROUP BY tab0.col0 ---- 133848 221364 427284 |
︙ | ︙ | |||
68366 68367 68368 68369 68370 68371 68372 68373 68374 68375 68376 68377 68378 68379 | query I rowsort SELECT col1 * + ( 96 ) FROM tab1 AS cor0 GROUP BY cor0.col1 ---- 4224 5472 576 query I rowsort SELECT ALL + COALESCE ( + 9, cor0.col2 * cor0.col0 ) FROM tab0 AS cor0 GROUP BY cor0.col0 ---- 9 9 9 | > | 68465 68466 68467 68468 68469 68470 68471 68472 68473 68474 68475 68476 68477 68478 68479 | query I rowsort SELECT col1 * + ( 96 ) FROM tab1 AS cor0 GROUP BY cor0.col1 ---- 4224 5472 576 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT ALL + COALESCE ( + 9, cor0.col2 * cor0.col0 ) FROM tab0 AS cor0 GROUP BY cor0.col0 ---- 9 9 9 |
︙ | ︙ | |||
69332 69333 69334 69335 69336 69337 69338 69339 69340 69341 69342 69343 69344 69345 | query I rowsort SELECT 10 AS col1 FROM tab0 AS cor0 GROUP BY cor0.col2 ---- 10 10 10 query I rowsort SELECT DISTINCT + 95 + + COALESCE ( 56, - tab1.col1, + tab1.col1, - 28 + tab1.col0 ) AS col0 FROM tab1 GROUP BY tab1.col1 ---- 151 query I rowsort SELECT + tab0.col2 + - tab0.col2 FROM tab0 GROUP BY tab0.col2 | > | 69432 69433 69434 69435 69436 69437 69438 69439 69440 69441 69442 69443 69444 69445 69446 | query I rowsort SELECT 10 AS col1 FROM tab0 AS cor0 GROUP BY cor0.col2 ---- 10 10 10 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT DISTINCT + 95 + + COALESCE ( 56, - tab1.col1, + tab1.col1, - 28 + tab1.col0 ) AS col0 FROM tab1 GROUP BY tab1.col1 ---- 151 query I rowsort SELECT + tab0.col2 + - tab0.col2 FROM tab0 GROUP BY tab0.col2 |
︙ | ︙ | |||
69979 69980 69981 69982 69983 69984 69985 69986 69987 69988 69989 69990 69991 69992 | SELECT ALL + COALESCE ( + 8, tab0.col2 * tab0.col0, CAST( - 43 AS SIGNED ) + + tab0.col1 ) FROM tab0 GROUP BY col0 ---- 8 8 8 skipif mysql # not compatible query I rowsort label-9477 SELECT ALL + COALESCE ( + 8, tab0.col2 * tab0.col0, CAST ( - 43 AS INTEGER ) + + tab0.col1 ) FROM tab0 GROUP BY col0 ---- 8 8 8 | > | 70080 70081 70082 70083 70084 70085 70086 70087 70088 70089 70090 70091 70092 70093 70094 | SELECT ALL + COALESCE ( + 8, tab0.col2 * tab0.col0, CAST( - 43 AS SIGNED ) + + tab0.col1 ) FROM tab0 GROUP BY col0 ---- 8 8 8 skipif mysql # not compatible skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort label-9477 SELECT ALL + COALESCE ( + 8, tab0.col2 * tab0.col0, CAST ( - 43 AS INTEGER ) + + tab0.col1 ) FROM tab0 GROUP BY col0 ---- 8 8 8 |
︙ | ︙ | |||
70738 70739 70740 70741 70742 70743 70744 70745 70746 70747 70748 70749 70750 70751 | query I rowsort SELECT ALL - - NULLIF ( - tab0.col2, 2 ) + - tab0.col2 FROM tab0 GROUP BY tab0.col2 ---- -158 -48 -76 query I rowsort SELECT DISTINCT + COALESCE ( + 9, tab2.col0, + tab2.col2 ) AS col2 FROM tab2 GROUP BY tab2.col2 ---- 9 query I rowsort SELECT ALL NULLIF ( - 27, cor0.col0 ) FROM tab1 cor0 GROUP BY cor0.col0 | > | 70840 70841 70842 70843 70844 70845 70846 70847 70848 70849 70850 70851 70852 70853 70854 | query I rowsort SELECT ALL - - NULLIF ( - tab0.col2, 2 ) + - tab0.col2 FROM tab0 GROUP BY tab0.col2 ---- -158 -48 -76 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT DISTINCT + COALESCE ( + 9, tab2.col0, + tab2.col2 ) AS col2 FROM tab2 GROUP BY tab2.col2 ---- 9 query I rowsort SELECT ALL NULLIF ( - 27, cor0.col0 ) FROM tab1 cor0 GROUP BY cor0.col0 |
︙ | ︙ | |||
71169 71170 71171 71172 71173 71174 71175 71176 71177 71178 71179 71180 71181 71182 | query I rowsort label-9638 SELECT - cor0.col1 * - COALESCE ( + 56, cor0.col2 DIV + NULLIF ( + 89, - cor0.col0 ) ) FROM tab0 AS cor0 GROUP BY cor0.col1 ---- 0 4536 skipif mysql # not compatible query I rowsort label-9638 SELECT - cor0.col1 * - COALESCE ( + 56, cor0.col2 / + NULLIF ( + 89, - cor0.col0 ) ) FROM tab0 AS cor0 GROUP BY cor0.col1 ---- 0 4536 skipif postgresql # PostgreSQL requires AS when renaming output columns | > | 71272 71273 71274 71275 71276 71277 71278 71279 71280 71281 71282 71283 71284 71285 71286 | query I rowsort label-9638 SELECT - cor0.col1 * - COALESCE ( + 56, cor0.col2 DIV + NULLIF ( + 89, - cor0.col0 ) ) FROM tab0 AS cor0 GROUP BY cor0.col1 ---- 0 4536 skipif mysql # not compatible skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort label-9638 SELECT - cor0.col1 * - COALESCE ( + 56, cor0.col2 / + NULLIF ( + 89, - cor0.col0 ) ) FROM tab0 AS cor0 GROUP BY cor0.col1 ---- 0 4536 skipif postgresql # PostgreSQL requires AS when renaming output columns |
︙ | ︙ | |||
71408 71409 71410 71411 71412 71413 71414 71415 71416 71417 71418 71419 71420 71421 | SELECT - CAST( NULL AS SIGNED ) + + COALESCE ( tab1.col2, + 55 + 53, + tab1.col1, - tab1.col1 + 44 ) FROM tab1 GROUP BY tab1.col2 ---- NULL NULL NULL skipif mysql # not compatible query I rowsort label-9667 SELECT - CAST ( NULL AS INTEGER ) + + COALESCE ( tab1.col2, + 55 + 53, + tab1.col1, - tab1.col1 + 44 ) FROM tab1 GROUP BY tab1.col2 ---- NULL NULL NULL | > | 71512 71513 71514 71515 71516 71517 71518 71519 71520 71521 71522 71523 71524 71525 71526 | SELECT - CAST( NULL AS SIGNED ) + + COALESCE ( tab1.col2, + 55 + 53, + tab1.col1, - tab1.col1 + 44 ) FROM tab1 GROUP BY tab1.col2 ---- NULL NULL NULL skipif mysql # not compatible skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort label-9667 SELECT - CAST ( NULL AS INTEGER ) + + COALESCE ( tab1.col2, + 55 + 53, + tab1.col1, - tab1.col1 + 44 ) FROM tab1 GROUP BY tab1.col2 ---- NULL NULL NULL |
︙ | ︙ | |||
71529 71530 71531 71532 71533 71534 71535 71536 71537 71538 71539 71540 71541 71542 | query I rowsort SELECT - 3 FROM tab0 GROUP BY tab0.col1 ---- -3 -3 query I rowsort SELECT COALESCE ( 4, + cor0.col0, + cor0.col2 + cor0.col0 ) AS col2 FROM tab0 AS cor0 GROUP BY cor0.col2, cor0.col1 ---- 4 4 4 | > | 71634 71635 71636 71637 71638 71639 71640 71641 71642 71643 71644 71645 71646 71647 71648 | query I rowsort SELECT - 3 FROM tab0 GROUP BY tab0.col1 ---- -3 -3 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT COALESCE ( 4, + cor0.col0, + cor0.col2 + cor0.col0 ) AS col2 FROM tab0 AS cor0 GROUP BY cor0.col2, cor0.col1 ---- 4 4 4 |
︙ | ︙ | |||
71647 71648 71649 71650 71651 71652 71653 71654 71655 71656 71657 71658 71659 71660 71661 71662 71663 71664 71665 71666 71667 71668 71669 71670 71671 71672 | 0 query I rowsort SELECT DISTINCT 65 FROM tab1 GROUP BY tab1.col1 ---- 65 query I rowsort SELECT DISTINCT - COALESCE ( + 15, col2 ) AS col0 FROM tab0 GROUP BY tab0.col1 ---- -15 query I rowsort SELECT - NULLIF ( - tab0.col2, - col2 ) + - 64 FROM tab0 GROUP BY tab0.col2 ---- NULL NULL NULL query I rowsort SELECT ALL COALESCE ( 47, cor0.col0 + + cor0.col1 ) AS col1 FROM tab1 cor0 GROUP BY col2 ---- 47 47 47 | > > | 71753 71754 71755 71756 71757 71758 71759 71760 71761 71762 71763 71764 71765 71766 71767 71768 71769 71770 71771 71772 71773 71774 71775 71776 71777 71778 71779 71780 | 0 query I rowsort SELECT DISTINCT 65 FROM tab1 GROUP BY tab1.col1 ---- 65 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT DISTINCT - COALESCE ( + 15, col2 ) AS col0 FROM tab0 GROUP BY tab0.col1 ---- -15 query I rowsort SELECT - NULLIF ( - tab0.col2, - col2 ) + - 64 FROM tab0 GROUP BY tab0.col2 ---- NULL NULL NULL skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT ALL COALESCE ( 47, cor0.col0 + + cor0.col1 ) AS col1 FROM tab1 cor0 GROUP BY col2 ---- 47 47 47 |
︙ | ︙ | |||
71692 71693 71694 71695 71696 71697 71698 71699 71700 71701 71702 71703 71704 71705 | query I rowsort SELECT 35 FROM tab0 AS cor0 CROSS JOIN tab1 cor1 GROUP BY cor0.col0 ---- 35 35 35 query I rowsort SELECT ALL - COALESCE ( 72, cor0.col1 * col2 ) AS col0 FROM tab0 AS cor0 GROUP BY cor0.col0 ---- -72 -72 -72 | > | 71800 71801 71802 71803 71804 71805 71806 71807 71808 71809 71810 71811 71812 71813 71814 | query I rowsort SELECT 35 FROM tab0 AS cor0 CROSS JOIN tab1 cor1 GROUP BY cor0.col0 ---- 35 35 35 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT ALL - COALESCE ( 72, cor0.col1 * col2 ) AS col0 FROM tab0 AS cor0 GROUP BY cor0.col0 ---- -72 -72 -72 |
︙ | ︙ | |||
72935 72936 72937 72938 72939 72940 72941 72942 72943 72944 72945 72946 72947 72948 | query I rowsort SELECT + 80 FROM tab2 GROUP BY tab2.col2 ---- 80 80 80 query I rowsort SELECT + COALESCE ( 47, tab0.col2, + COALESCE ( - ( + tab0.col2 ), tab0.col2, + CASE col1 WHEN tab0.col0 THEN + col0 + + tab0.col1 * tab0.col1 WHEN + tab0.col0 THEN NULL WHEN + col0 THEN NULL END ), - col2 ) FROM tab0 GROUP BY tab0.col2 ---- 47 47 47 | > | 73044 73045 73046 73047 73048 73049 73050 73051 73052 73053 73054 73055 73056 73057 73058 | query I rowsort SELECT + 80 FROM tab2 GROUP BY tab2.col2 ---- 80 80 80 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT + COALESCE ( 47, tab0.col2, + COALESCE ( - ( + tab0.col2 ), tab0.col2, + CASE col1 WHEN tab0.col0 THEN + col0 + + tab0.col1 * tab0.col1 WHEN + tab0.col0 THEN NULL WHEN + col0 THEN NULL END ), - col2 ) FROM tab0 GROUP BY tab0.col2 ---- 47 47 47 |
︙ | ︙ |
Changes to test/random/groupby/slt_good_6.test.
︙ | ︙ | |||
574 575 576 577 578 579 580 581 582 583 584 585 586 587 | SELECT - + COALESCE ( 37, + tab2.col1, - 38 * - tab2.col2 + - 41 * tab2.col0 ) DIV 45 FROM tab2 GROUP BY col0 ---- 0 0 0 skipif mysql # not compatible query I rowsort label-66 SELECT - + COALESCE ( 37, + tab2.col1, - 38 * - tab2.col2 + - 41 * tab2.col0 ) / 45 FROM tab2 GROUP BY col0 ---- 0 0 0 | > | 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 | SELECT - + COALESCE ( 37, + tab2.col1, - 38 * - tab2.col2 + - 41 * tab2.col0 ) DIV 45 FROM tab2 GROUP BY col0 ---- 0 0 0 skipif mysql # not compatible skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort label-66 SELECT - + COALESCE ( 37, + tab2.col1, - 38 * - tab2.col2 + - 41 * tab2.col0 ) / 45 FROM tab2 GROUP BY col0 ---- 0 0 0 |
︙ | ︙ | |||
1596 1597 1598 1599 1600 1601 1602 1603 1604 1605 1606 1607 1608 1609 | query I rowsort SELECT + 33 FROM tab0 AS cor0 GROUP BY col1 ---- 33 33 query I rowsort SELECT DISTINCT COALESCE ( - 30, - col1 * cor0.col2 + - 56 ) AS col1 FROM tab0 AS cor0 GROUP BY cor0.col0, cor0.col0 ---- -30 query I rowsort SELECT ALL + 94 AS col2 FROM tab1 AS cor0 CROSS JOIN tab1 AS cor1 GROUP BY cor0.col1 | > | 1597 1598 1599 1600 1601 1602 1603 1604 1605 1606 1607 1608 1609 1610 1611 | query I rowsort SELECT + 33 FROM tab0 AS cor0 GROUP BY col1 ---- 33 33 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT DISTINCT COALESCE ( - 30, - col1 * cor0.col2 + - 56 ) AS col1 FROM tab0 AS cor0 GROUP BY cor0.col0, cor0.col0 ---- -30 query I rowsort SELECT ALL + 94 AS col2 FROM tab1 AS cor0 CROSS JOIN tab1 AS cor1 GROUP BY cor0.col1 |
︙ | ︙ | |||
1906 1907 1908 1909 1910 1911 1912 1913 1914 1915 1916 1917 1918 1919 | query I rowsort SELECT DISTINCT cor0.col0 * + cor0.col1 AS col0 FROM tab0 cor0 CROSS JOIN tab0 AS cor1 GROUP BY cor0.col1, cor0.col0, cor0.col2 ---- 0 3483 query I rowsort SELECT ALL CASE cor0.col1 WHEN + cor0.col0 THEN cor0.col1 * col0 + + cor0.col1 END col1 FROM tab2 AS cor0 GROUP BY col0, cor0.col1 ---- NULL NULL NULL | > | 1908 1909 1910 1911 1912 1913 1914 1915 1916 1917 1918 1919 1920 1921 1922 | query I rowsort SELECT DISTINCT cor0.col0 * + cor0.col1 AS col0 FROM tab0 cor0 CROSS JOIN tab0 AS cor1 GROUP BY cor0.col1, cor0.col0, cor0.col2 ---- 0 3483 skipif postgresql # PostgreSQL requires AS when renaming output columns query I rowsort SELECT ALL CASE cor0.col1 WHEN + cor0.col0 THEN cor0.col1 * col0 + + cor0.col1 END col1 FROM tab2 AS cor0 GROUP BY col0, cor0.col1 ---- NULL NULL NULL |
︙ | ︙ | |||
4362 4363 4364 4365 4366 4367 4368 4369 4370 4371 4372 4373 4374 4375 | query I rowsort label-586 SELECT + cor0.col1 / + cor0.col1 AS col2 FROM tab1 AS cor0 GROUP BY cor0.col1 ---- 1 1 1 query I rowsort SELECT + COALESCE ( + 82, - cor0.col0 * col1 ) AS col0 FROM tab2 AS cor0 GROUP BY cor0.col1 ---- 82 82 82 | > | 4365 4366 4367 4368 4369 4370 4371 4372 4373 4374 4375 4376 4377 4378 4379 | query I rowsort label-586 SELECT + cor0.col1 / + cor0.col1 AS col2 FROM tab1 AS cor0 GROUP BY cor0.col1 ---- 1 1 1 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT + COALESCE ( + 82, - cor0.col0 * col1 ) AS col0 FROM tab2 AS cor0 GROUP BY cor0.col1 ---- 82 82 82 |
︙ | ︙ | |||
6611 6612 6613 6614 6615 6616 6617 6618 6619 6620 6621 6622 6623 6624 | query I rowsort label-888 SELECT DISTINCT cor0.col1 / + 7 AS col0 FROM tab1 AS cor0 GROUP BY cor0.col1, cor0.col0 ---- 0 6 8 query I rowsort SELECT ALL COALESCE ( - 8, + col2, + col0 ) AS col1 FROM tab0 cor0 GROUP BY cor0.col0 ---- -8 -8 -8 | > | 6615 6616 6617 6618 6619 6620 6621 6622 6623 6624 6625 6626 6627 6628 6629 | query I rowsort label-888 SELECT DISTINCT cor0.col1 / + 7 AS col0 FROM tab1 AS cor0 GROUP BY cor0.col1, cor0.col0 ---- 0 6 8 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT ALL COALESCE ( - 8, + col2, + col0 ) AS col1 FROM tab0 cor0 GROUP BY cor0.col0 ---- -8 -8 -8 |
︙ | ︙ | |||
7549 7550 7551 7552 7553 7554 7555 7556 7557 7558 7559 7560 7561 7562 | query I rowsort SELECT + 94 AS col0 FROM tab1 cor0 GROUP BY col1 ---- 94 94 94 query I rowsort SELECT COALESCE ( - 62, cor0.col1, - 51, - 15 * + cor0.col1 ) FROM tab1 AS cor0 GROUP BY cor0.col2 ---- -62 -62 -62 | > | 7554 7555 7556 7557 7558 7559 7560 7561 7562 7563 7564 7565 7566 7567 7568 | query I rowsort SELECT + 94 AS col0 FROM tab1 cor0 GROUP BY col1 ---- 94 94 94 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT COALESCE ( - 62, cor0.col1, - 51, - 15 * + cor0.col1 ) FROM tab1 AS cor0 GROUP BY cor0.col2 ---- -62 -62 -62 |
︙ | ︙ | |||
7622 7623 7624 7625 7626 7627 7628 7629 7630 7631 7632 7633 7634 7635 | query I rowsort SELECT DISTINCT col1 AS col1 FROM tab2 AS cor0 GROUP BY col1 ---- 41 59 61 query I rowsort SELECT DISTINCT + COALESCE ( + 35, + col2, NULLIF ( cor0.col0, - cor0.col0 ) + cor0.col1 * + cor0.col1 ) FROM tab0 AS cor0 GROUP BY cor0.col0 ---- 35 onlyif mysql # CAST syntax: SIGNED type: query I rowsort label-1031 | > | 7628 7629 7630 7631 7632 7633 7634 7635 7636 7637 7638 7639 7640 7641 7642 | query I rowsort SELECT DISTINCT col1 AS col1 FROM tab2 AS cor0 GROUP BY col1 ---- 41 59 61 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT DISTINCT + COALESCE ( + 35, + col2, NULLIF ( cor0.col0, - cor0.col0 ) + cor0.col1 * + cor0.col1 ) FROM tab0 AS cor0 GROUP BY cor0.col0 ---- 35 onlyif mysql # CAST syntax: SIGNED type: query I rowsort label-1031 |
︙ | ︙ | |||
8100 8101 8102 8103 8104 8105 8106 8107 8108 8109 8110 8111 8112 8113 | query I rowsort SELECT ALL col2 * + 94 FROM tab0 AS cor0 GROUP BY cor0.col2 ---- 2256 3572 7426 query I rowsort SELECT DISTINCT COALESCE ( 35, - tab0.col2, + tab0.col1 ) FROM tab0 GROUP BY tab0.col0 ---- 35 query I rowsort SELECT ALL cor0.col0 AS col2 FROM tab2 cor0 GROUP BY col0, cor0.col0 | > | 8107 8108 8109 8110 8111 8112 8113 8114 8115 8116 8117 8118 8119 8120 8121 | query I rowsort SELECT ALL col2 * + 94 FROM tab0 AS cor0 GROUP BY cor0.col2 ---- 2256 3572 7426 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT DISTINCT COALESCE ( 35, - tab0.col2, + tab0.col1 ) FROM tab0 GROUP BY tab0.col0 ---- 35 query I rowsort SELECT ALL cor0.col0 AS col2 FROM tab2 cor0 GROUP BY col0, cor0.col0 |
︙ | ︙ | |||
8356 8357 8358 8359 8360 8361 8362 8363 8364 8365 8366 8367 8368 8369 | SELECT COALESCE ( 30, col1 ) + cor0.col0 DIV - cor0.col0 FROM tab1 AS cor0 GROUP BY col2, cor0.col0 ---- 29 29 29 skipif mysql # not compatible query I rowsort label-1123 SELECT COALESCE ( 30, col1 ) + cor0.col0 / - cor0.col0 FROM tab1 AS cor0 GROUP BY col2, cor0.col0 ---- 29 29 29 | > | 8364 8365 8366 8367 8368 8369 8370 8371 8372 8373 8374 8375 8376 8377 8378 | SELECT COALESCE ( 30, col1 ) + cor0.col0 DIV - cor0.col0 FROM tab1 AS cor0 GROUP BY col2, cor0.col0 ---- 29 29 29 skipif mysql # not compatible skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort label-1123 SELECT COALESCE ( 30, col1 ) + cor0.col0 / - cor0.col0 FROM tab1 AS cor0 GROUP BY col2, cor0.col0 ---- 29 29 29 |
︙ | ︙ | |||
8983 8984 8985 8986 8987 8988 8989 8990 8991 8992 8993 8994 8995 8996 8997 8998 8999 9000 9001 9002 9003 | query I rowsort SELECT + ( 94 ) * - tab1.col2 FROM tab1 GROUP BY col2 ---- -4230 -6674 -752 query I rowsort SELECT ALL + - COALESCE ( + 25, tab2.col2 + + tab2.col1, tab2.col1 * tab2.col0 ) AS col0 FROM tab2 GROUP BY col1 ---- -25 -25 -25 query I rowsort SELECT + CASE - 35 WHEN + tab2.col0 + - tab2.col0 THEN NULL WHEN - 76 THEN - tab2.col2 ELSE + 3 END FROM tab2 GROUP BY tab2.col0 ---- 3 3 3 | > > | 8992 8993 8994 8995 8996 8997 8998 8999 9000 9001 9002 9003 9004 9005 9006 9007 9008 9009 9010 9011 9012 9013 9014 | query I rowsort SELECT + ( 94 ) * - tab1.col2 FROM tab1 GROUP BY col2 ---- -4230 -6674 -752 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT ALL + - COALESCE ( + 25, tab2.col2 + + tab2.col1, tab2.col1 * tab2.col0 ) AS col0 FROM tab2 GROUP BY col1 ---- -25 -25 -25 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT + CASE - 35 WHEN + tab2.col0 + - tab2.col0 THEN NULL WHEN - 76 THEN - tab2.col2 ELSE + 3 END FROM tab2 GROUP BY tab2.col0 ---- 3 3 3 |
︙ | ︙ | |||
11850 11851 11852 11853 11854 11855 11856 11857 11858 11859 11860 11861 11862 11863 | onlyif mysql # DIV for integer division: query I rowsort label-1597 SELECT DISTINCT cor0.col1 DIV COALESCE ( + 80, cor0.col1 * cor0.col0 ) + 54 FROM tab1 cor0 GROUP BY cor0.col1 ---- 54 skipif mysql # not compatible query I rowsort label-1597 SELECT DISTINCT cor0.col1 / COALESCE ( + 80, cor0.col1 * cor0.col0 ) + 54 FROM tab1 cor0 GROUP BY cor0.col1 ---- 54 query I rowsort SELECT DISTINCT - 35 + - tab2.col2 AS col1 FROM tab2 GROUP BY tab2.col2 | > | 11861 11862 11863 11864 11865 11866 11867 11868 11869 11870 11871 11872 11873 11874 11875 | onlyif mysql # DIV for integer division: query I rowsort label-1597 SELECT DISTINCT cor0.col1 DIV COALESCE ( + 80, cor0.col1 * cor0.col0 ) + 54 FROM tab1 cor0 GROUP BY cor0.col1 ---- 54 skipif mysql # not compatible skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort label-1597 SELECT DISTINCT cor0.col1 / COALESCE ( + 80, cor0.col1 * cor0.col0 ) + 54 FROM tab1 cor0 GROUP BY cor0.col1 ---- 54 query I rowsort SELECT DISTINCT - 35 + - tab2.col2 AS col1 FROM tab2 GROUP BY tab2.col2 |
︙ | ︙ | |||
12208 12209 12210 12211 12212 12213 12214 12215 12216 12217 12218 12219 12220 12221 | query I rowsort SELECT DISTINCT + 89 + + tab0.col2 AS col0 FROM tab0 GROUP BY col2 ---- 113 127 168 query I rowsort SELECT ALL CASE + 71 WHEN + 85 THEN col0 * cor0.col1 ELSE NULL END + 43 AS col0 FROM tab2 AS cor0 GROUP BY cor0.col1 ---- NULL NULL NULL | > | 12220 12221 12222 12223 12224 12225 12226 12227 12228 12229 12230 12231 12232 12233 12234 | query I rowsort SELECT DISTINCT + 89 + + tab0.col2 AS col0 FROM tab0 GROUP BY col2 ---- 113 127 168 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT ALL CASE + 71 WHEN + 85 THEN col0 * cor0.col1 ELSE NULL END + 43 AS col0 FROM tab2 AS cor0 GROUP BY cor0.col1 ---- NULL NULL NULL |
︙ | ︙ | |||
12828 12829 12830 12831 12832 12833 12834 12835 12836 12837 12838 12839 12840 12841 | query I rowsort SELECT ALL + 21 * cor0.col2 col2 FROM tab0 AS cor0 GROUP BY cor0.col2 ---- 1659 504 798 query I rowsort SELECT COALESCE ( - 41, cor0.col2, cor0.col1 ) + cor0.col0 FROM tab1 cor0 GROUP BY col0 ---- -13 -19 41 | > | 12841 12842 12843 12844 12845 12846 12847 12848 12849 12850 12851 12852 12853 12854 12855 | query I rowsort SELECT ALL + 21 * cor0.col2 col2 FROM tab0 AS cor0 GROUP BY cor0.col2 ---- 1659 504 798 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT COALESCE ( - 41, cor0.col2, cor0.col1 ) + cor0.col0 FROM tab1 cor0 GROUP BY col0 ---- -13 -19 41 |
︙ | ︙ | |||
14863 14864 14865 14866 14867 14868 14869 14870 14871 14872 14873 14874 14875 14876 | skipif mysql # not compatible query I rowsort label-1997 SELECT DISTINCT - 11 / col0 AS col1 FROM tab2 AS cor0 GROUP BY col0 ---- 0 query I rowsort SELECT - tab2.col0 + COALESCE ( - 87, - tab2.col2 + - tab2.col1 * + COALESCE ( + tab2.col1, tab2.col0 ) ) FROM tab2 GROUP BY tab2.col0 ---- -102 -178 -179 | > | 14877 14878 14879 14880 14881 14882 14883 14884 14885 14886 14887 14888 14889 14890 14891 | skipif mysql # not compatible query I rowsort label-1997 SELECT DISTINCT - 11 / col0 AS col1 FROM tab2 AS cor0 GROUP BY col0 ---- 0 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT - tab2.col0 + COALESCE ( - 87, - tab2.col2 + - tab2.col1 * + COALESCE ( + tab2.col1, tab2.col0 ) ) FROM tab2 GROUP BY tab2.col0 ---- -102 -178 -179 |
︙ | ︙ | |||
20198 20199 20200 20201 20202 20203 20204 20205 20206 20207 20208 20209 20210 20211 | query I rowsort SELECT - cor0.col0 + - col0 AS col2 FROM tab1 AS cor0 GROUP BY cor0.col0 ---- -164 -44 -56 query I rowsort SELECT ALL + cor0.col2 * - cor0.col2 + cor0.col2 AS col0 FROM tab2 AS cor0 GROUP BY cor0.col2 HAVING NULL <= - col0 ---- onlyif mysql # DIV for integer division: query I rowsort label-2705 SELECT ALL + col0 DIV + cor0.col0 FROM tab0 AS cor0 GROUP BY cor0.col0 | > | 20213 20214 20215 20216 20217 20218 20219 20220 20221 20222 20223 20224 20225 20226 20227 | query I rowsort SELECT - cor0.col0 + - col0 AS col2 FROM tab1 AS cor0 GROUP BY cor0.col0 ---- -164 -44 -56 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT ALL + cor0.col2 * - cor0.col2 + cor0.col2 AS col0 FROM tab2 AS cor0 GROUP BY cor0.col2 HAVING NULL <= - col0 ---- onlyif mysql # DIV for integer division: query I rowsort label-2705 SELECT ALL + col0 DIV + cor0.col0 FROM tab0 AS cor0 GROUP BY cor0.col0 |
︙ | ︙ | |||
28200 28201 28202 28203 28204 28205 28206 28207 28208 28209 28210 28211 28212 28213 | skipif mysql # not compatible query I rowsort label-3767 SELECT DISTINCT cor0.col0 / cor0.col0 AS col1 FROM tab2 AS cor0 GROUP BY cor0.col0 ---- 1 query I rowsort SELECT ALL + cor0.col0 AS col2 FROM tab2 AS cor0 GROUP BY cor0.col0 HAVING NULL NOT IN ( - cor0.col0 * - col2 ) ---- query I rowsort SELECT ALL 95 AS col2 FROM tab0 AS cor0 GROUP BY col0 ---- | > | 28216 28217 28218 28219 28220 28221 28222 28223 28224 28225 28226 28227 28228 28229 28230 | skipif mysql # not compatible query I rowsort label-3767 SELECT DISTINCT cor0.col0 / cor0.col0 AS col1 FROM tab2 AS cor0 GROUP BY cor0.col0 ---- 1 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT ALL + cor0.col0 AS col2 FROM tab2 AS cor0 GROUP BY cor0.col0 HAVING NULL NOT IN ( - cor0.col0 * - col2 ) ---- query I rowsort SELECT ALL 95 AS col2 FROM tab0 AS cor0 GROUP BY col0 ---- |
︙ | ︙ |
Changes to test/random/groupby/slt_good_7.test.
︙ | ︙ | |||
16009 16010 16011 16012 16013 16014 16015 16016 16017 16018 16019 16020 16021 16022 | skipif postgresql # PostgreSQL requires AS when renaming output columns query I rowsort SELECT + + 65 col1 FROM tab0 GROUP BY tab0.col1 ---- 65 65 query I rowsort SELECT - COALESCE ( - 54, + cor0.col1 * + NULLIF ( + cor0.col1, cor0.col0 ), - cor0.col1 ) AS col0 FROM tab1 cor0 GROUP BY cor0.col2 ---- 54 54 54 | > | 16009 16010 16011 16012 16013 16014 16015 16016 16017 16018 16019 16020 16021 16022 16023 | skipif postgresql # PostgreSQL requires AS when renaming output columns query I rowsort SELECT + + 65 col1 FROM tab0 GROUP BY tab0.col1 ---- 65 65 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT - COALESCE ( - 54, + cor0.col1 * + NULLIF ( + cor0.col1, cor0.col0 ), - cor0.col1 ) AS col0 FROM tab1 cor0 GROUP BY cor0.col2 ---- 54 54 54 |
︙ | ︙ | |||
17044 17045 17046 17047 17048 17049 17050 17051 17052 17053 17054 17055 17056 17057 | skipif postgresql # PostgreSQL requires AS when renaming output columns query I rowsort SELECT cor0.col1 + col1 col2 FROM tab0 cor0 GROUP BY col1 ---- 0 162 query I rowsort SELECT COALESCE ( 69, tab0.col0 + tab0.col1 ) FROM tab0 GROUP BY tab0.col2 ---- 69 69 69 | > | 17045 17046 17047 17048 17049 17050 17051 17052 17053 17054 17055 17056 17057 17058 17059 | skipif postgresql # PostgreSQL requires AS when renaming output columns query I rowsort SELECT cor0.col1 + col1 col2 FROM tab0 cor0 GROUP BY col1 ---- 0 162 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT COALESCE ( 69, tab0.col0 + tab0.col1 ) FROM tab0 GROUP BY tab0.col2 ---- 69 69 69 |
︙ | ︙ | |||
17883 17884 17885 17886 17887 17888 17889 17890 17891 17892 17893 17894 17895 17896 | query I rowsort SELECT ( + col2 ) FROM tab1 AS cor0 GROUP BY cor0.col2 ---- 45 71 8 query I rowsort SELECT ALL col1 AS col2 FROM tab2 GROUP BY col1 HAVING NOT NULL <= col2 ---- query I rowsort SELECT DISTINCT tab0.col0 FROM tab0 WHERE NOT NULL IN ( - tab0.col0 * col2 ) GROUP BY tab0.col0 ---- | > | 17885 17886 17887 17888 17889 17890 17891 17892 17893 17894 17895 17896 17897 17898 17899 | query I rowsort SELECT ( + col2 ) FROM tab1 AS cor0 GROUP BY cor0.col2 ---- 45 71 8 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT ALL col1 AS col2 FROM tab2 GROUP BY col1 HAVING NOT NULL <= col2 ---- query I rowsort SELECT DISTINCT tab0.col0 FROM tab0 WHERE NOT NULL IN ( - tab0.col0 * col2 ) GROUP BY tab0.col0 ---- |
︙ | ︙ | |||
17904 17905 17906 17907 17908 17909 17910 17911 17912 17913 17914 17915 17916 17917 | query I rowsort SELECT ALL - tab1.col2 * 99 AS col2 FROM tab1 GROUP BY tab1.col2 ---- -4455 -7029 -792 query I rowsort SELECT - COALESCE ( + 75, + col1, + ( tab0.col1 ) ) AS col1 FROM tab0 GROUP BY tab0.col0 ---- -75 -75 -75 | > | 17907 17908 17909 17910 17911 17912 17913 17914 17915 17916 17917 17918 17919 17920 17921 | query I rowsort SELECT ALL - tab1.col2 * 99 AS col2 FROM tab1 GROUP BY tab1.col2 ---- -4455 -7029 -792 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT - COALESCE ( + 75, + col1, + ( tab0.col1 ) ) AS col1 FROM tab0 GROUP BY tab0.col0 ---- -75 -75 -75 |
︙ | ︙ | |||
18576 18577 18578 18579 18580 18581 18582 18583 18584 18585 18586 18587 18588 18589 | SELECT tab1.col0 * COALESCE ( + 78, col1 - - tab1.col1, tab1.col0 DIV tab1.col0 ) AS col2 FROM tab1 GROUP BY tab1.col0 ---- 1716 2184 6396 skipif mysql # not compatible query I rowsort label-2474 SELECT tab1.col0 * COALESCE ( + 78, col1 - - tab1.col1, tab1.col0 / tab1.col0 ) AS col2 FROM tab1 GROUP BY tab1.col0 ---- 1716 2184 6396 | > | 18580 18581 18582 18583 18584 18585 18586 18587 18588 18589 18590 18591 18592 18593 18594 | SELECT tab1.col0 * COALESCE ( + 78, col1 - - tab1.col1, tab1.col0 DIV tab1.col0 ) AS col2 FROM tab1 GROUP BY tab1.col0 ---- 1716 2184 6396 skipif mysql # not compatible skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort label-2474 SELECT tab1.col0 * COALESCE ( + 78, col1 - - tab1.col1, tab1.col0 / tab1.col0 ) AS col2 FROM tab1 GROUP BY tab1.col0 ---- 1716 2184 6396 |
︙ | ︙ | |||
18777 18778 18779 18780 18781 18782 18783 18784 18785 18786 18787 18788 18789 18790 | onlyif mysql # DIV for integer division: query I rowsort label-2499 SELECT DISTINCT COALESCE ( 85, + col0 + ( - cor0.col0 ), + cor0.col0 DIV - cor0.col2 + - 45 ) + - 79 FROM tab0 AS cor0 GROUP BY cor0.col1 ---- 6 skipif mysql # not compatible query I rowsort label-2499 SELECT DISTINCT COALESCE ( 85, + col0 + ( - cor0.col0 ), + cor0.col0 / - cor0.col2 + - 45 ) + - 79 FROM tab0 AS cor0 GROUP BY cor0.col1 ---- 6 query I rowsort SELECT DISTINCT 23 AS col0 FROM tab0 AS cor0 GROUP BY col2 | > | 18782 18783 18784 18785 18786 18787 18788 18789 18790 18791 18792 18793 18794 18795 18796 | onlyif mysql # DIV for integer division: query I rowsort label-2499 SELECT DISTINCT COALESCE ( 85, + col0 + ( - cor0.col0 ), + cor0.col0 DIV - cor0.col2 + - 45 ) + - 79 FROM tab0 AS cor0 GROUP BY cor0.col1 ---- 6 skipif mysql # not compatible skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort label-2499 SELECT DISTINCT COALESCE ( 85, + col0 + ( - cor0.col0 ), + cor0.col0 / - cor0.col2 + - 45 ) + - 79 FROM tab0 AS cor0 GROUP BY cor0.col1 ---- 6 query I rowsort SELECT DISTINCT 23 AS col0 FROM tab0 AS cor0 GROUP BY col2 |
︙ | ︙ | |||
18887 18888 18889 18890 18891 18892 18893 18894 18895 18896 18897 18898 18899 18900 | onlyif mysql # DIV for integer division: query I rowsort label-2515 SELECT DISTINCT COALESCE ( - 67, + cor0.col2 DIV cor0.col0 ) DIV cor0.col1 AS col1 FROM tab2 AS cor0 GROUP BY cor0.col1 ---- -1 skipif mysql # not compatible query I rowsort label-2515 SELECT DISTINCT COALESCE ( - 67, + cor0.col2 / cor0.col0 ) / cor0.col1 AS col1 FROM tab2 AS cor0 GROUP BY cor0.col1 ---- -1 query I rowsort SELECT DISTINCT 24 FROM tab0 GROUP BY tab0.col2 | > | 18893 18894 18895 18896 18897 18898 18899 18900 18901 18902 18903 18904 18905 18906 18907 | onlyif mysql # DIV for integer division: query I rowsort label-2515 SELECT DISTINCT COALESCE ( - 67, + cor0.col2 DIV cor0.col0 ) DIV cor0.col1 AS col1 FROM tab2 AS cor0 GROUP BY cor0.col1 ---- -1 skipif mysql # not compatible skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort label-2515 SELECT DISTINCT COALESCE ( - 67, + cor0.col2 / cor0.col0 ) / cor0.col1 AS col1 FROM tab2 AS cor0 GROUP BY cor0.col1 ---- -1 query I rowsort SELECT DISTINCT 24 FROM tab0 GROUP BY tab0.col2 |
︙ | ︙ | |||
18923 18924 18925 18926 18927 18928 18929 18930 18931 18932 18933 18934 18935 18936 | query I rowsort SELECT 80 + - cor0.col0 * - cor0.col0 AS col1 FROM tab1 AS cor0 GROUP BY col0 ---- 564 6804 864 query I rowsort SELECT DISTINCT - COALESCE ( - 13, + tab1.col0 ) AS col1 FROM tab1 GROUP BY tab1.col1 ---- 13 query I rowsort SELECT + cor0.col0 FROM tab1 AS cor0 GROUP BY col1, cor0.col0, cor0.col2 | > | 18930 18931 18932 18933 18934 18935 18936 18937 18938 18939 18940 18941 18942 18943 18944 | query I rowsort SELECT 80 + - cor0.col0 * - cor0.col0 AS col1 FROM tab1 AS cor0 GROUP BY col0 ---- 564 6804 864 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT DISTINCT - COALESCE ( - 13, + tab1.col0 ) AS col1 FROM tab1 GROUP BY tab1.col1 ---- 13 query I rowsort SELECT + cor0.col0 FROM tab1 AS cor0 GROUP BY col1, cor0.col0, cor0.col2 |
︙ | ︙ | |||
19852 19853 19854 19855 19856 19857 19858 19859 19860 19861 19862 19863 19864 19865 | onlyif mysql # DIV for integer division: query I rowsort label-2641 SELECT DISTINCT COALESCE ( + 32, + tab1.col1 DIV - tab1.col1 ) FROM tab1 GROUP BY col0 ---- 32 skipif mysql # not compatible query I rowsort label-2641 SELECT DISTINCT COALESCE ( + 32, + tab1.col1 / - tab1.col1 ) FROM tab1 GROUP BY col0 ---- 32 query I rowsort SELECT cor0.col2 * cor0.col2 FROM tab1 AS cor0 GROUP BY cor0.col2 HAVING col2 NOT IN ( cor0.col2 ) | > | 19860 19861 19862 19863 19864 19865 19866 19867 19868 19869 19870 19871 19872 19873 19874 | onlyif mysql # DIV for integer division: query I rowsort label-2641 SELECT DISTINCT COALESCE ( + 32, + tab1.col1 DIV - tab1.col1 ) FROM tab1 GROUP BY col0 ---- 32 skipif mysql # not compatible skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort label-2641 SELECT DISTINCT COALESCE ( + 32, + tab1.col1 / - tab1.col1 ) FROM tab1 GROUP BY col0 ---- 32 query I rowsort SELECT cor0.col2 * cor0.col2 FROM tab1 AS cor0 GROUP BY cor0.col2 HAVING col2 NOT IN ( cor0.col2 ) |
︙ | ︙ | |||
19942 19943 19944 19945 19946 19947 19948 19949 19950 19951 19952 19953 19954 19955 | query I rowsort SELECT DISTINCT - cor0.col0 AS col2 FROM tab1 AS cor0 GROUP BY cor0.col2, col0 ---- -22 -28 -82 query I rowsort SELECT + tab1.col0 * + COALESCE ( + 87, - tab1.col1 * tab1.col0 ) AS col1 FROM tab1 GROUP BY tab1.col0 ---- 1914 2436 7134 | > | 19951 19952 19953 19954 19955 19956 19957 19958 19959 19960 19961 19962 19963 19964 19965 | query I rowsort SELECT DISTINCT - cor0.col0 AS col2 FROM tab1 AS cor0 GROUP BY cor0.col2, col0 ---- -22 -28 -82 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT + tab1.col0 * + COALESCE ( + 87, - tab1.col1 * tab1.col0 ) AS col1 FROM tab1 GROUP BY tab1.col0 ---- 1914 2436 7134 |
︙ | ︙ | |||
20592 20593 20594 20595 20596 20597 20598 20599 20600 20601 20602 20603 20604 20605 | onlyif mysql # DIV for integer division: query I rowsort label-2744 SELECT DISTINCT - COALESCE ( - 10, + cor0.col1, - cor0.col1 DIV - COALESCE ( + cor0.col0 * + cor0.col2, - 31 ) ) FROM tab1 AS cor0 GROUP BY cor0.col1 ---- 10 skipif mysql # not compatible query I rowsort label-2744 SELECT DISTINCT - COALESCE ( - 10, + cor0.col1, - cor0.col1 / - COALESCE ( + cor0.col0 * + cor0.col2, - 31 ) ) FROM tab1 AS cor0 GROUP BY cor0.col1 ---- 10 query I rowsort SELECT + + col1 + tab2.col1 AS col2 FROM tab2 GROUP BY tab2.col1 | > | 20602 20603 20604 20605 20606 20607 20608 20609 20610 20611 20612 20613 20614 20615 20616 | onlyif mysql # DIV for integer division: query I rowsort label-2744 SELECT DISTINCT - COALESCE ( - 10, + cor0.col1, - cor0.col1 DIV - COALESCE ( + cor0.col0 * + cor0.col2, - 31 ) ) FROM tab1 AS cor0 GROUP BY cor0.col1 ---- 10 skipif mysql # not compatible skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort label-2744 SELECT DISTINCT - COALESCE ( - 10, + cor0.col1, - cor0.col1 / - COALESCE ( + cor0.col0 * + cor0.col2, - 31 ) ) FROM tab1 AS cor0 GROUP BY cor0.col1 ---- 10 query I rowsort SELECT + + col1 + tab2.col1 AS col2 FROM tab2 GROUP BY tab2.col1 |
︙ | ︙ | |||
20933 20934 20935 20936 20937 20938 20939 20940 20941 20942 20943 20944 20945 20946 | SELECT COALESCE ( + 50, tab2.col2 ) * + tab2.col1 - + COALESCE ( 51, + tab2.col2 DIV - 50 ) AS col1 FROM tab2 GROUP BY tab2.col1 ---- 1999 2899 2999 skipif mysql # not compatible query I rowsort label-2792 SELECT COALESCE ( + 50, tab2.col2 ) * + tab2.col1 - + COALESCE ( 51, + tab2.col2 / - 50 ) AS col1 FROM tab2 GROUP BY tab2.col1 ---- 1999 2899 2999 | > | 20944 20945 20946 20947 20948 20949 20950 20951 20952 20953 20954 20955 20956 20957 20958 | SELECT COALESCE ( + 50, tab2.col2 ) * + tab2.col1 - + COALESCE ( 51, + tab2.col2 DIV - 50 ) AS col1 FROM tab2 GROUP BY tab2.col1 ---- 1999 2899 2999 skipif mysql # not compatible skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort label-2792 SELECT COALESCE ( + 50, tab2.col2 ) * + tab2.col1 - + COALESCE ( 51, + tab2.col2 / - 50 ) AS col1 FROM tab2 GROUP BY tab2.col1 ---- 1999 2899 2999 |
︙ | ︙ | |||
21526 21527 21528 21529 21530 21531 21532 21533 21534 21535 21536 21537 21538 21539 | query I rowsort SELECT ALL + 15 + - tab0.col0 AS col2 FROM tab0 GROUP BY tab0.col0 ---- -11 -28 -68 query I rowsort SELECT COALESCE ( 14, - cor0.col1, cor0.col1 ) FROM tab1 AS cor0 GROUP BY cor0.col0 ---- 14 14 14 | > | 21538 21539 21540 21541 21542 21543 21544 21545 21546 21547 21548 21549 21550 21551 21552 | query I rowsort SELECT ALL + 15 + - tab0.col0 AS col2 FROM tab0 GROUP BY tab0.col0 ---- -11 -28 -68 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT COALESCE ( 14, - cor0.col1, cor0.col1 ) FROM tab1 AS cor0 GROUP BY cor0.col0 ---- 14 14 14 |
︙ | ︙ | |||
21942 21943 21944 21945 21946 21947 21948 21949 21950 21951 21952 21953 21954 21955 21956 21957 21958 21959 21960 21961 21962 21963 21964 21965 21966 21967 21968 21969 21970 21971 21972 21973 21974 | query I rowsort SELECT 20 AS col0 FROM tab1 GROUP BY col1 ---- 20 20 20 query I rowsort SELECT + COALESCE ( - 33, + tab2.col2 ) FROM tab2 GROUP BY tab2.col0 ---- -33 -33 -33 query I rowsort SELECT DISTINCT 87 FROM tab1 GROUP BY col1 ---- 87 query I rowsort SELECT - ( col0 ) FROM tab1 AS cor0 GROUP BY cor0.col0 ---- -22 -28 -82 query I rowsort SELECT + COALESCE ( 32, tab1.col1 + + 87, + CASE tab1.col1 WHEN ( + col1 ) THEN tab1.col2 WHEN - tab1.col1 THEN 38 ELSE NULL END + tab1.col0 ) AS col0 FROM tab1 GROUP BY tab1.col0 ---- 32 32 32 | > > | 21955 21956 21957 21958 21959 21960 21961 21962 21963 21964 21965 21966 21967 21968 21969 21970 21971 21972 21973 21974 21975 21976 21977 21978 21979 21980 21981 21982 21983 21984 21985 21986 21987 21988 21989 | query I rowsort SELECT 20 AS col0 FROM tab1 GROUP BY col1 ---- 20 20 20 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT + COALESCE ( - 33, + tab2.col2 ) FROM tab2 GROUP BY tab2.col0 ---- -33 -33 -33 query I rowsort SELECT DISTINCT 87 FROM tab1 GROUP BY col1 ---- 87 query I rowsort SELECT - ( col0 ) FROM tab1 AS cor0 GROUP BY cor0.col0 ---- -22 -28 -82 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT + COALESCE ( 32, tab1.col1 + + 87, + CASE tab1.col1 WHEN ( + col1 ) THEN tab1.col2 WHEN - tab1.col1 THEN 38 ELSE NULL END + tab1.col0 ) AS col0 FROM tab1 GROUP BY tab1.col0 ---- 32 32 32 |
︙ | ︙ | |||
22064 22065 22066 22067 22068 22069 22070 22071 22072 22073 22074 22075 22076 22077 | query I rowsort SELECT + 85 FROM tab2, tab0 AS cor0 GROUP BY cor0.col2 ---- 85 85 85 query I rowsort SELECT DISTINCT - COALESCE ( 45, + tab1.col2 ) FROM tab1 GROUP BY tab1.col0 ---- -45 query I rowsort SELECT - + 20 - + tab2.col0 AS col2 FROM tab2 GROUP BY tab2.col0 | > | 22079 22080 22081 22082 22083 22084 22085 22086 22087 22088 22089 22090 22091 22092 22093 | query I rowsort SELECT + 85 FROM tab2, tab0 AS cor0 GROUP BY cor0.col2 ---- 85 85 85 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT DISTINCT - COALESCE ( 45, + tab1.col2 ) FROM tab1 GROUP BY tab1.col0 ---- -45 query I rowsort SELECT - + 20 - + tab2.col0 AS col2 FROM tab2 GROUP BY tab2.col0 |
︙ | ︙ | |||
22210 22211 22212 22213 22214 22215 22216 22217 22218 22219 22220 22221 22222 22223 | SELECT - COALESCE ( 96, 25 DIV - tab0.col1, - col2 DIV tab0.col1 ) FROM tab0 GROUP BY tab0.col0 ---- -96 -96 -96 skipif mysql # not compatible query I rowsort label-2958 SELECT - COALESCE ( 96, 25 / - tab0.col1, - col2 / tab0.col1 ) FROM tab0 GROUP BY tab0.col0 ---- -96 -96 -96 | > | 22226 22227 22228 22229 22230 22231 22232 22233 22234 22235 22236 22237 22238 22239 22240 | SELECT - COALESCE ( 96, 25 DIV - tab0.col1, - col2 DIV tab0.col1 ) FROM tab0 GROUP BY tab0.col0 ---- -96 -96 -96 skipif mysql # not compatible skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort label-2958 SELECT - COALESCE ( 96, 25 / - tab0.col1, - col2 / tab0.col1 ) FROM tab0 GROUP BY tab0.col0 ---- -96 -96 -96 |
︙ | ︙ | |||
22842 22843 22844 22845 22846 22847 22848 22849 22850 22851 22852 22853 22854 22855 | onlyif mysql # DIV for integer division: query I rowsort label-3041 SELECT DISTINCT COALESCE ( 79, cor0.col1 + - CASE 20 WHEN + cor0.col2 THEN NULL ELSE + cor0.col0 + ( 94 + cor0.col1 DIV cor0.col1 ) END * cor0.col1 ) AS col2 FROM tab1 AS cor0 GROUP BY col2 ---- 79 skipif mysql # not compatible query I rowsort label-3041 SELECT DISTINCT COALESCE ( 79, cor0.col1 + - CASE 20 WHEN + cor0.col2 THEN NULL ELSE + cor0.col0 + ( 94 + cor0.col1 / cor0.col1 ) END * cor0.col1 ) AS col2 FROM tab1 AS cor0 GROUP BY col2 ---- 79 query I rowsort SELECT col2 + 74 FROM tab2 AS cor0 GROUP BY cor0.col2 | > | 22859 22860 22861 22862 22863 22864 22865 22866 22867 22868 22869 22870 22871 22872 22873 | onlyif mysql # DIV for integer division: query I rowsort label-3041 SELECT DISTINCT COALESCE ( 79, cor0.col1 + - CASE 20 WHEN + cor0.col2 THEN NULL ELSE + cor0.col0 + ( 94 + cor0.col1 DIV cor0.col1 ) END * cor0.col1 ) AS col2 FROM tab1 AS cor0 GROUP BY col2 ---- 79 skipif mysql # not compatible skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort label-3041 SELECT DISTINCT COALESCE ( 79, cor0.col1 + - CASE 20 WHEN + cor0.col2 THEN NULL ELSE + cor0.col0 + ( 94 + cor0.col1 / cor0.col1 ) END * cor0.col1 ) AS col2 FROM tab1 AS cor0 GROUP BY col2 ---- 79 query I rowsort SELECT col2 + 74 FROM tab2 AS cor0 GROUP BY cor0.col2 |
︙ | ︙ | |||
23600 23601 23602 23603 23604 23605 23606 23607 23608 23609 23610 23611 23612 23613 | query I rowsort label-3140 SELECT ALL COALESCE ( 15, + 45 + + cor0.col0 DIV 98 ) AS col0 FROM tab0 cor0 GROUP BY col1 ---- 15 15 skipif mysql # not compatible query I rowsort label-3140 SELECT ALL COALESCE ( 15, + 45 + + cor0.col0 / 98 ) AS col0 FROM tab0 cor0 GROUP BY col1 ---- 15 15 query I rowsort | > | 23618 23619 23620 23621 23622 23623 23624 23625 23626 23627 23628 23629 23630 23631 23632 | query I rowsort label-3140 SELECT ALL COALESCE ( 15, + 45 + + cor0.col0 DIV 98 ) AS col0 FROM tab0 cor0 GROUP BY col1 ---- 15 15 skipif mysql # not compatible skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort label-3140 SELECT ALL COALESCE ( 15, + 45 + + cor0.col0 / 98 ) AS col0 FROM tab0 cor0 GROUP BY col1 ---- 15 15 query I rowsort |
︙ | ︙ | |||
24011 24012 24013 24014 24015 24016 24017 24018 24019 24020 24021 24022 24023 24024 | 360 query I rowsort SELECT DISTINCT 5 * 51 FROM tab0 cor0 GROUP BY cor0.col1 ---- 255 query I rowsort SELECT DISTINCT - COALESCE ( 55, cor0.col1 + cor0.col1 ) FROM tab1 AS cor0 GROUP BY cor0.col2 ---- -55 onlyif mysql # DIV for integer division: query I rowsort label-3196 | > | 24030 24031 24032 24033 24034 24035 24036 24037 24038 24039 24040 24041 24042 24043 24044 | 360 query I rowsort SELECT DISTINCT 5 * 51 FROM tab0 cor0 GROUP BY cor0.col1 ---- 255 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT DISTINCT - COALESCE ( 55, cor0.col1 + cor0.col1 ) FROM tab1 AS cor0 GROUP BY cor0.col2 ---- -55 onlyif mysql # DIV for integer division: query I rowsort label-3196 |
︙ | ︙ | |||
24814 24815 24816 24817 24818 24819 24820 24821 24822 24823 24824 24825 24826 24827 | query I rowsort SELECT - tab1.col2 * + 20 FROM tab1 GROUP BY tab1.col2 ---- -1420 -160 -900 query I rowsort SELECT DISTINCT tab2.col0 + + COALESCE ( 70, + tab2.col2 * 26 ) FROM tab2 GROUP BY col0 ---- 161 162 85 | > | 24834 24835 24836 24837 24838 24839 24840 24841 24842 24843 24844 24845 24846 24847 24848 | query I rowsort SELECT - tab1.col2 * + 20 FROM tab1 GROUP BY tab1.col2 ---- -1420 -160 -900 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT DISTINCT tab2.col0 + + COALESCE ( 70, + tab2.col2 * 26 ) FROM tab2 GROUP BY col0 ---- 161 162 85 |
︙ | ︙ | |||
24967 24968 24969 24970 24971 24972 24973 24974 24975 24976 24977 24978 24979 24980 | query I rowsort SELECT ALL 6 AS col1 FROM tab1 AS cor0 GROUP BY cor0.col2 ---- 6 6 6 query I rowsort SELECT + CASE + 78 WHEN - 9 THEN + cor0.col0 END FROM tab1 AS cor0 GROUP BY cor0.col1 ---- NULL NULL NULL | > | 24988 24989 24990 24991 24992 24993 24994 24995 24996 24997 24998 24999 25000 25001 25002 | query I rowsort SELECT ALL 6 AS col1 FROM tab1 AS cor0 GROUP BY cor0.col2 ---- 6 6 6 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT + CASE + 78 WHEN - 9 THEN + cor0.col0 END FROM tab1 AS cor0 GROUP BY cor0.col1 ---- NULL NULL NULL |
︙ | ︙ | |||
25193 25194 25195 25196 25197 25198 25199 25200 25201 25202 25203 25204 25205 25206 | onlyif mysql # DIV for integer division: query I rowsort label-3353 SELECT DISTINCT COALESCE ( + 25, + tab2.col1 - + tab2.col1, tab2.col1 DIV - 33 ) FROM tab2 GROUP BY col0 ---- 25 skipif mysql # not compatible query I rowsort label-3353 SELECT DISTINCT COALESCE ( + 25, + tab2.col1 - + tab2.col1, tab2.col1 / - 33 ) FROM tab2 GROUP BY col0 ---- 25 query I rowsort SELECT ALL - + NULLIF ( - 60, + tab0.col2 ) AS col1 FROM tab0 GROUP BY tab0.col2 | > | 25215 25216 25217 25218 25219 25220 25221 25222 25223 25224 25225 25226 25227 25228 25229 | onlyif mysql # DIV for integer division: query I rowsort label-3353 SELECT DISTINCT COALESCE ( + 25, + tab2.col1 - + tab2.col1, tab2.col1 DIV - 33 ) FROM tab2 GROUP BY col0 ---- 25 skipif mysql # not compatible skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort label-3353 SELECT DISTINCT COALESCE ( + 25, + tab2.col1 - + tab2.col1, tab2.col1 / - 33 ) FROM tab2 GROUP BY col0 ---- 25 query I rowsort SELECT ALL - + NULLIF ( - 60, + tab0.col2 ) AS col1 FROM tab0 GROUP BY tab0.col2 |
︙ | ︙ | |||
25275 25276 25277 25278 25279 25280 25281 25282 25283 25284 25285 25286 25287 25288 | query I rowsort SELECT ALL - 33 FROM tab2 GROUP BY tab2.col2 ---- -33 -33 -33 query I rowsort SELECT + COALESCE ( + 65, tab1.col1 * + tab1.col1 + + tab1.col2 * tab1.col0 ) * tab1.col2 FROM tab1 GROUP BY tab1.col2 ---- 2925 4615 520 | > | 25298 25299 25300 25301 25302 25303 25304 25305 25306 25307 25308 25309 25310 25311 25312 | query I rowsort SELECT ALL - 33 FROM tab2 GROUP BY tab2.col2 ---- -33 -33 -33 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT + COALESCE ( + 65, tab1.col1 * + tab1.col1 + + tab1.col2 * tab1.col0 ) * tab1.col2 FROM tab1 GROUP BY tab1.col2 ---- 2925 4615 520 |
︙ | ︙ | |||
26470 26471 26472 26473 26474 26475 26476 26477 26478 26479 26480 26481 26482 26483 | query I rowsort SELECT - 21 + + 20 AS col2 FROM tab0 GROUP BY tab0.col2 ---- -1 -1 -1 query I rowsort SELECT + + COALESCE ( + ( + 81 ), tab2.col0 * + tab2.col1 + + tab2.col1 ) AS col0 FROM tab2 GROUP BY tab2.col2 ---- 81 81 81 | > | 26494 26495 26496 26497 26498 26499 26500 26501 26502 26503 26504 26505 26506 26507 26508 | query I rowsort SELECT - 21 + + 20 AS col2 FROM tab0 GROUP BY tab0.col2 ---- -1 -1 -1 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT + + COALESCE ( + ( + 81 ), tab2.col0 * + tab2.col1 + + tab2.col1 ) AS col0 FROM tab2 GROUP BY tab2.col2 ---- 81 81 81 |
︙ | ︙ | |||
27184 27185 27186 27187 27188 27189 27190 27191 27192 27193 27194 27195 27196 27197 | query I rowsort SELECT 56 FROM tab0 GROUP BY col1 ---- 56 56 query I rowsort SELECT DISTINCT - COALESCE ( + 18, - cor0.col2 * + NULLIF ( + 36, + cor0.col1 + - cor0.col0 ) ) AS col1 FROM tab1 cor0 GROUP BY col1, cor0.col1 ---- -18 query I rowsort SELECT - 23 + + cor0.col0 FROM tab0 AS cor0 GROUP BY cor0.col0 | > | 27209 27210 27211 27212 27213 27214 27215 27216 27217 27218 27219 27220 27221 27222 27223 | query I rowsort SELECT 56 FROM tab0 GROUP BY col1 ---- 56 56 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT DISTINCT - COALESCE ( + 18, - cor0.col2 * + NULLIF ( + 36, + cor0.col1 + - cor0.col0 ) ) AS col1 FROM tab1 cor0 GROUP BY col1, cor0.col1 ---- -18 query I rowsort SELECT - 23 + + cor0.col0 FROM tab0 AS cor0 GROUP BY cor0.col0 |
︙ | ︙ | |||
27503 27504 27505 27506 27507 27508 27509 27510 27511 27512 27513 27514 27515 27516 | query I rowsort label-3661 SELECT ALL CAST ( NULL AS INTEGER ) FROM tab2 AS cor0 GROUP BY cor0.col1, cor0.col2 ---- NULL NULL NULL query I rowsort SELECT - COALESCE ( - 34, cor0.col2 * cor0.col2 ) FROM tab0 AS cor0 GROUP BY cor0.col1 ---- 34 34 skipif postgresql # PostgreSQL requires AS when renaming output columns | > | 27529 27530 27531 27532 27533 27534 27535 27536 27537 27538 27539 27540 27541 27542 27543 | query I rowsort label-3661 SELECT ALL CAST ( NULL AS INTEGER ) FROM tab2 AS cor0 GROUP BY cor0.col1, cor0.col2 ---- NULL NULL NULL skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT - COALESCE ( - 34, cor0.col2 * cor0.col2 ) FROM tab0 AS cor0 GROUP BY cor0.col1 ---- 34 34 skipif postgresql # PostgreSQL requires AS when renaming output columns |
︙ | ︙ | |||
29929 29930 29931 29932 29933 29934 29935 29936 29937 29938 29939 29940 29941 29942 | query I rowsort label-3991 SELECT ALL - 30 / cor0.col2 AS col1 FROM tab0 AS cor0 GROUP BY cor0.col1, cor0.col2 ---- -1 0 0 query I rowsort SELECT + COALESCE ( + 2, cor0.col0, cor0.col0 * - ( cor0.col2 * cor0.col1 ) ) * 27 FROM tab1 AS cor0 GROUP BY cor0.col0 ---- 54 54 54 | > | 29956 29957 29958 29959 29960 29961 29962 29963 29964 29965 29966 29967 29968 29969 29970 | query I rowsort label-3991 SELECT ALL - 30 / cor0.col2 AS col1 FROM tab0 AS cor0 GROUP BY cor0.col1, cor0.col2 ---- -1 0 0 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT + COALESCE ( + 2, cor0.col0, cor0.col0 * - ( cor0.col2 * cor0.col1 ) ) * 27 FROM tab1 AS cor0 GROUP BY cor0.col0 ---- 54 54 54 |
︙ | ︙ | |||
29974 29975 29976 29977 29978 29979 29980 29981 29982 29983 29984 29985 29986 29987 | query I rowsort SELECT - cor0.col1 * + 72 AS col1 FROM tab2 AS cor0 GROUP BY cor0.col1, cor0.col0 ---- -2952 -4248 -4392 query I rowsort SELECT DISTINCT - COALESCE ( + 7, + cor0.col1 + - ( - col1 ), + 85 * cor0.col1 - CASE + 62 + - cor0.col1 WHEN - 83 - 85 THEN NULL ELSE cor0.col2 * + cor0.col1 END ) - 20 AS col2 FROM tab1 AS cor0 GROUP BY cor0.col2 ---- -27 onlyif mysql # DIV for integer division: query I rowsort label-4000 | > | 30002 30003 30004 30005 30006 30007 30008 30009 30010 30011 30012 30013 30014 30015 30016 | query I rowsort SELECT - cor0.col1 * + 72 AS col1 FROM tab2 AS cor0 GROUP BY cor0.col1, cor0.col0 ---- -2952 -4248 -4392 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT DISTINCT - COALESCE ( + 7, + cor0.col1 + - ( - col1 ), + 85 * cor0.col1 - CASE + 62 + - cor0.col1 WHEN - 83 - 85 THEN NULL ELSE cor0.col2 * + cor0.col1 END ) - 20 AS col2 FROM tab1 AS cor0 GROUP BY cor0.col2 ---- -27 onlyif mysql # DIV for integer division: query I rowsort label-4000 |
︙ | ︙ | |||
30654 30655 30656 30657 30658 30659 30660 30661 30662 30663 30664 30665 30666 30667 | query I rowsort SELECT DISTINCT - cor0.col1 * cor0.col1 AS col2 FROM tab1 cor0 GROUP BY col1 ---- -1936 -3249 -36 query I rowsort SELECT ALL - - COALESCE ( 34, + tab0.col0 ) FROM tab0 GROUP BY tab0.col2 ---- 34 34 34 | > | 30683 30684 30685 30686 30687 30688 30689 30690 30691 30692 30693 30694 30695 30696 30697 | query I rowsort SELECT DISTINCT - cor0.col1 * cor0.col1 AS col2 FROM tab1 cor0 GROUP BY col1 ---- -1936 -3249 -36 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT ALL - - COALESCE ( 34, + tab0.col0 ) FROM tab0 GROUP BY tab0.col2 ---- 34 34 34 |
︙ | ︙ | |||
31000 31001 31002 31003 31004 31005 31006 31007 31008 31009 31010 31011 31012 31013 | SELECT ALL cor0.col2 * + COALESCE ( - 82, cor0.col2 DIV + col1 + col2, - cor0.col2, col0 * 76 + cor0.col0 ) FROM tab2 AS cor0 GROUP BY cor0.col1, cor0.col2 ---- -4756 -6478 -7134 skipif mysql # not compatible query I rowsort label-4132 SELECT ALL cor0.col2 * + COALESCE ( - 82, cor0.col2 / + col1 + col2, - cor0.col2, col0 * 76 + cor0.col0 ) FROM tab2 AS cor0 GROUP BY cor0.col1, cor0.col2 ---- -4756 -6478 -7134 | > | 31030 31031 31032 31033 31034 31035 31036 31037 31038 31039 31040 31041 31042 31043 31044 | SELECT ALL cor0.col2 * + COALESCE ( - 82, cor0.col2 DIV + col1 + col2, - cor0.col2, col0 * 76 + cor0.col0 ) FROM tab2 AS cor0 GROUP BY cor0.col1, cor0.col2 ---- -4756 -6478 -7134 skipif mysql # not compatible skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort label-4132 SELECT ALL cor0.col2 * + COALESCE ( - 82, cor0.col2 / + col1 + col2, - cor0.col2, col0 * 76 + cor0.col0 ) FROM tab2 AS cor0 GROUP BY cor0.col1, cor0.col2 ---- -4756 -6478 -7134 |
︙ | ︙ | |||
32220 32221 32222 32223 32224 32225 32226 32227 32228 32229 32230 32231 32232 32233 32234 32235 32236 32237 32238 32239 32240 32241 32242 32243 32244 32245 32246 32247 | query I rowsort SELECT ALL - 84 AS col1 FROM tab2 cor0 GROUP BY cor0.col2 ---- -84 -84 -84 query I rowsort SELECT COALESCE ( + 18, + cor0.col0 ) AS col2 FROM tab2 cor0 GROUP BY cor0.col2 ---- 18 18 18 query I rowsort SELECT ALL 25 * cor0.col2 AS col0 FROM tab1 AS cor0 GROUP BY cor0.col2 ---- 1125 1775 200 query I rowsort SELECT ALL - + COALESCE ( 70, tab0.col1 * - tab0.col2 ) FROM tab0 GROUP BY tab0.col2 ---- -70 -70 -70 | > > | 32251 32252 32253 32254 32255 32256 32257 32258 32259 32260 32261 32262 32263 32264 32265 32266 32267 32268 32269 32270 32271 32272 32273 32274 32275 32276 32277 32278 32279 32280 | query I rowsort SELECT ALL - 84 AS col1 FROM tab2 cor0 GROUP BY cor0.col2 ---- -84 -84 -84 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT COALESCE ( + 18, + cor0.col0 ) AS col2 FROM tab2 cor0 GROUP BY cor0.col2 ---- 18 18 18 query I rowsort SELECT ALL 25 * cor0.col2 AS col0 FROM tab1 AS cor0 GROUP BY cor0.col2 ---- 1125 1775 200 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT ALL - + COALESCE ( 70, tab0.col1 * - tab0.col2 ) FROM tab0 GROUP BY tab0.col2 ---- -70 -70 -70 |
︙ | ︙ | |||
32271 32272 32273 32274 32275 32276 32277 32278 32279 32280 32281 32282 32283 32284 | query I rowsort SELECT cor0.col0 * 2 FROM tab1 AS cor0 GROUP BY cor0.col0, cor0.col0 ---- 164 44 56 query I rowsort SELECT DISTINCT COALESCE ( 18, tab0.col1 ) FROM tab0 GROUP BY tab0.col2 ---- 18 query I rowsort SELECT + 81 FROM tab1 cor0 GROUP BY col1 | > | 32304 32305 32306 32307 32308 32309 32310 32311 32312 32313 32314 32315 32316 32317 32318 | query I rowsort SELECT cor0.col0 * 2 FROM tab1 AS cor0 GROUP BY cor0.col0, cor0.col0 ---- 164 44 56 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT DISTINCT COALESCE ( 18, tab0.col1 ) FROM tab0 GROUP BY tab0.col2 ---- 18 query I rowsort SELECT + 81 FROM tab1 cor0 GROUP BY col1 |
︙ | ︙ | |||
32831 32832 32833 32834 32835 32836 32837 32838 32839 32840 32841 32842 32843 32844 | query I rowsort SELECT ALL 40 AS col2 FROM tab2 GROUP BY tab2.col0 ---- 40 40 40 query I rowsort SELECT ALL COALESCE ( + 47, tab1.col0 - 36, tab1.col2 ) AS col0 FROM tab1 GROUP BY tab1.col0 ---- 47 47 47 | > | 32865 32866 32867 32868 32869 32870 32871 32872 32873 32874 32875 32876 32877 32878 32879 | query I rowsort SELECT ALL 40 AS col2 FROM tab2 GROUP BY tab2.col0 ---- 40 40 40 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT ALL COALESCE ( + 47, tab1.col0 - 36, tab1.col2 ) AS col0 FROM tab1 GROUP BY tab1.col0 ---- 47 47 47 |
︙ | ︙ | |||
32871 32872 32873 32874 32875 32876 32877 32878 32879 32880 32881 32882 32883 32884 | 56 query I rowsort SELECT DISTINCT 19 FROM tab0 AS cor0 GROUP BY col0, col1 ---- 19 query I rowsort SELECT ALL + cor0.col1 * + COALESCE ( + 50, - cor0.col0, cor0.col0, cor0.col0 ) FROM tab1 AS cor0 GROUP BY col1 ---- 2200 2850 300 | > | 32906 32907 32908 32909 32910 32911 32912 32913 32914 32915 32916 32917 32918 32919 32920 | 56 query I rowsort SELECT DISTINCT 19 FROM tab0 AS cor0 GROUP BY col0, col1 ---- 19 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT ALL + cor0.col1 * + COALESCE ( + 50, - cor0.col0, cor0.col0, cor0.col0 ) FROM tab1 AS cor0 GROUP BY col1 ---- 2200 2850 300 |
︙ | ︙ | |||
35565 35566 35567 35568 35569 35570 35571 35572 35573 35574 35575 35576 35577 35578 | query I rowsort SELECT + 65 * 44 col1 FROM tab0 AS cor0 GROUP BY col0, cor0.col1 ---- 2860 2860 2860 query I rowsort SELECT - COALESCE ( - 94, + cor0.col2 + cor0.col2 ) AS col2 FROM tab0 AS cor0 GROUP BY col1 ---- 94 94 onlyif mysql # DIV for integer division: | > | 35601 35602 35603 35604 35605 35606 35607 35608 35609 35610 35611 35612 35613 35614 35615 | query I rowsort SELECT + 65 * 44 col1 FROM tab0 AS cor0 GROUP BY col0, cor0.col1 ---- 2860 2860 2860 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT - COALESCE ( - 94, + cor0.col2 + cor0.col2 ) AS col2 FROM tab0 AS cor0 GROUP BY col1 ---- 94 94 onlyif mysql # DIV for integer division: |
︙ | ︙ | |||
36012 36013 36014 36015 36016 36017 36018 36019 36020 36021 36022 36023 36024 36025 | query I rowsort SELECT - 56 AS col0 FROM tab1 GROUP BY tab1.col0 ---- -56 -56 -56 query I rowsort SELECT ALL COALESCE ( 49, - cor0.col0 * CASE - 76 WHEN cor0.col2 THEN - col0 * cor0.col2 END ) FROM tab0 AS cor0 GROUP BY cor0.col1 ---- 49 49 query I rowsort | > | 36049 36050 36051 36052 36053 36054 36055 36056 36057 36058 36059 36060 36061 36062 36063 | query I rowsort SELECT - 56 AS col0 FROM tab1 GROUP BY tab1.col0 ---- -56 -56 -56 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT ALL COALESCE ( 49, - cor0.col0 * CASE - 76 WHEN cor0.col2 THEN - col0 * cor0.col2 END ) FROM tab0 AS cor0 GROUP BY cor0.col1 ---- 49 49 query I rowsort |
︙ | ︙ | |||
36765 36766 36767 36768 36769 36770 36771 36772 36773 36774 36775 36776 36777 36778 | query I rowsort SELECT - cor1.col2 AS col2 FROM tab1 AS cor0 CROSS JOIN tab0 AS cor1 GROUP BY cor1.col2 ---- -24 -38 -79 query I rowsort SELECT DISTINCT COALESCE ( + 42, cor0.col2 * + col2, + cor0.col2 + + cor0.col0 ) + - ( col0 ) AS col0 FROM tab0 AS cor0 GROUP BY cor0.col0 ---- -1 -41 16 | > | 36803 36804 36805 36806 36807 36808 36809 36810 36811 36812 36813 36814 36815 36816 36817 | query I rowsort SELECT - cor1.col2 AS col2 FROM tab1 AS cor0 CROSS JOIN tab0 AS cor1 GROUP BY cor1.col2 ---- -24 -38 -79 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT DISTINCT COALESCE ( + 42, cor0.col2 * + col2, + cor0.col2 + + cor0.col0 ) + - ( col0 ) AS col0 FROM tab0 AS cor0 GROUP BY cor0.col0 ---- -1 -41 16 |
︙ | ︙ | |||
37976 37977 37978 37979 37980 37981 37982 37983 37984 37985 37986 37987 37988 37989 | 2 query I rowsort SELECT DISTINCT - 23 * 32 FROM tab0 AS cor0 GROUP BY cor0.col2 ---- -736 query I rowsort SELECT COALESCE ( - 30, + tab1.col0 * tab1.col2 ) AS col2 FROM tab1 GROUP BY col0 ---- -30 -30 -30 | > | 38015 38016 38017 38018 38019 38020 38021 38022 38023 38024 38025 38026 38027 38028 38029 | 2 query I rowsort SELECT DISTINCT - 23 * 32 FROM tab0 AS cor0 GROUP BY cor0.col2 ---- -736 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT COALESCE ( - 30, + tab1.col0 * tab1.col2 ) AS col2 FROM tab1 GROUP BY col0 ---- -30 -30 -30 |
︙ | ︙ | |||
39098 39099 39100 39101 39102 39103 39104 39105 39106 39107 39108 39109 39110 39111 | query I rowsort label-5235 SELECT DISTINCT + 23 / - 95 - tab1.col2 FROM tab1 GROUP BY tab1.col2 ---- -45 -71 -8 query I rowsort SELECT + COALESCE ( 10, tab0.col1 * tab0.col1 ) FROM tab0 GROUP BY tab0.col0 ---- 10 10 10 | > | 39138 39139 39140 39141 39142 39143 39144 39145 39146 39147 39148 39149 39150 39151 39152 | query I rowsort label-5235 SELECT DISTINCT + 23 / - 95 - tab1.col2 FROM tab1 GROUP BY tab1.col2 ---- -45 -71 -8 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT + COALESCE ( 10, tab0.col1 * tab0.col1 ) FROM tab0 GROUP BY tab0.col0 ---- 10 10 10 |
︙ | ︙ | |||
39207 39208 39209 39210 39211 39212 39213 39214 39215 39216 39217 39218 39219 39220 | onlyif mysql # DIV for integer division: query I rowsort label-5249 SELECT DISTINCT + COALESCE ( - 47, - tab1.col1 * tab1.col2 ) DIV 56 FROM tab1 GROUP BY tab1.col0 ---- 0 skipif mysql # not compatible query I rowsort label-5249 SELECT DISTINCT + COALESCE ( - 47, - tab1.col1 * tab1.col2 ) / 56 FROM tab1 GROUP BY tab1.col0 ---- 0 query I rowsort SELECT ALL 86 AS col1 FROM tab0 GROUP BY tab0.col0 | > | 39248 39249 39250 39251 39252 39253 39254 39255 39256 39257 39258 39259 39260 39261 39262 | onlyif mysql # DIV for integer division: query I rowsort label-5249 SELECT DISTINCT + COALESCE ( - 47, - tab1.col1 * tab1.col2 ) DIV 56 FROM tab1 GROUP BY tab1.col0 ---- 0 skipif mysql # not compatible skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort label-5249 SELECT DISTINCT + COALESCE ( - 47, - tab1.col1 * tab1.col2 ) / 56 FROM tab1 GROUP BY tab1.col0 ---- 0 query I rowsort SELECT ALL 86 AS col1 FROM tab0 GROUP BY tab0.col0 |
︙ | ︙ | |||
39258 39259 39260 39261 39262 39263 39264 39265 39266 39267 39268 39269 39270 39271 | query I rowsort SELECT + cor0.col0 - cor0.col0 FROM tab1 AS cor0 GROUP BY cor0.col0 ---- 0 0 0 query I rowsort SELECT ALL - COALESCE ( 55, + tab1.col1 + + tab1.col1 * col1, 76 * tab1.col0 + tab1.col1 ) FROM tab1 GROUP BY tab1.col1 ---- -55 -55 -55 | > | 39300 39301 39302 39303 39304 39305 39306 39307 39308 39309 39310 39311 39312 39313 39314 | query I rowsort SELECT + cor0.col0 - cor0.col0 FROM tab1 AS cor0 GROUP BY cor0.col0 ---- 0 0 0 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT ALL - COALESCE ( 55, + tab1.col1 + + tab1.col1 * col1, 76 * tab1.col0 + tab1.col1 ) FROM tab1 GROUP BY tab1.col1 ---- -55 -55 -55 |
︙ | ︙ | |||
39731 39732 39733 39734 39735 39736 39737 39738 39739 39740 39741 39742 39743 39744 | query I rowsort label-5319 SELECT ALL col1 / 99 FROM tab2 GROUP BY tab2.col1 ---- 0 0 0 query I rowsort SELECT DISTINCT - COALESCE ( - 29, - cor0.col2 ) FROM tab2 AS cor0 GROUP BY col0, col1 ---- 29 query I rowsort SELECT DISTINCT cor0.col2 AS col2 FROM tab0 AS cor0 CROSS JOIN tab0 AS cor1 GROUP BY cor0.col2 | > | 39774 39775 39776 39777 39778 39779 39780 39781 39782 39783 39784 39785 39786 39787 39788 | query I rowsort label-5319 SELECT ALL col1 / 99 FROM tab2 GROUP BY tab2.col1 ---- 0 0 0 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT DISTINCT - COALESCE ( - 29, - cor0.col2 ) FROM tab2 AS cor0 GROUP BY col0, col1 ---- 29 query I rowsort SELECT DISTINCT cor0.col2 AS col2 FROM tab0 AS cor0 CROSS JOIN tab0 AS cor1 GROUP BY cor0.col2 |
︙ | ︙ | |||
39944 39945 39946 39947 39948 39949 39950 39951 39952 39953 39954 39955 39956 39957 | query I rowsort SELECT DISTINCT + 38 - tab1.col2 AS col1 FROM tab1 GROUP BY tab1.col2 ---- -33 -7 30 query I rowsort SELECT COALESCE ( + 62, tab0.col1 ) FROM tab0 GROUP BY tab0.col2 ---- 62 62 62 | > | 39988 39989 39990 39991 39992 39993 39994 39995 39996 39997 39998 39999 40000 40001 40002 | query I rowsort SELECT DISTINCT + 38 - tab1.col2 AS col1 FROM tab1 GROUP BY tab1.col2 ---- -33 -7 30 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT COALESCE ( + 62, tab0.col1 ) FROM tab0 GROUP BY tab0.col2 ---- 62 62 62 |
︙ | ︙ | |||
40038 40039 40040 40041 40042 40043 40044 40045 40046 40047 40048 40049 40050 40051 | query I rowsort SELECT cor0.col2 * - 67 FROM tab1 AS cor0 GROUP BY cor0.col2 ---- -3015 -4757 -536 query I rowsort SELECT COALESCE ( 39, 36 - tab0.col0 * 81, + tab0.col1 + tab0.col2 ) + tab0.col0 * tab0.col0 AS col2 FROM tab0 GROUP BY tab0.col0 ---- 1888 6928 715 | > | 40083 40084 40085 40086 40087 40088 40089 40090 40091 40092 40093 40094 40095 40096 40097 | query I rowsort SELECT cor0.col2 * - 67 FROM tab1 AS cor0 GROUP BY cor0.col2 ---- -3015 -4757 -536 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT COALESCE ( 39, 36 - tab0.col0 * 81, + tab0.col1 + tab0.col2 ) + tab0.col0 * tab0.col0 AS col2 FROM tab0 GROUP BY tab0.col0 ---- 1888 6928 715 |
︙ | ︙ | |||
40347 40348 40349 40350 40351 40352 40353 40354 40355 40356 40357 40358 40359 40360 | query I rowsort SELECT + 60 AS col2 FROM tab2 AS cor0 GROUP BY cor0.col1 ---- 60 60 60 query I rowsort SELECT COALESCE ( + 96, col0 * - ( 98 * col1 ) ) AS col0 FROM tab2 cor0 GROUP BY cor0.col0 ---- 96 96 96 | > | 40393 40394 40395 40396 40397 40398 40399 40400 40401 40402 40403 40404 40405 40406 40407 | query I rowsort SELECT + 60 AS col2 FROM tab2 AS cor0 GROUP BY cor0.col1 ---- 60 60 60 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT COALESCE ( + 96, col0 * - ( 98 * col1 ) ) AS col0 FROM tab2 cor0 GROUP BY cor0.col0 ---- 96 96 96 |
︙ | ︙ | |||
40525 40526 40527 40528 40529 40530 40531 40532 40533 40534 40535 40536 40537 40538 | query I rowsort SELECT - - 98 AS col1 FROM tab2 GROUP BY tab2.col2 ---- 98 98 98 query I rowsort SELECT ALL COALESCE ( 92, + cor0.col2 ) FROM tab0 AS cor0 GROUP BY col0 ---- 92 92 92 | > | 40572 40573 40574 40575 40576 40577 40578 40579 40580 40581 40582 40583 40584 40585 40586 | query I rowsort SELECT - - 98 AS col1 FROM tab2 GROUP BY tab2.col2 ---- 98 98 98 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT ALL COALESCE ( 92, + cor0.col2 ) FROM tab0 AS cor0 GROUP BY col0 ---- 92 92 92 |
︙ | ︙ | |||
41647 41648 41649 41650 41651 41652 41653 41654 41655 41656 41657 41658 41659 41660 | query I rowsort SELECT ALL col0 + cor0.col0 FROM tab0 AS cor0 GROUP BY cor0.col2, cor0.col0, col0 ---- 166 52 86 query I rowsort SELECT 68 * COALESCE ( + 77, cor0.col2 ) AS col1 FROM tab0 cor0 GROUP BY cor0.col0 ---- 5236 5236 5236 | > | 41695 41696 41697 41698 41699 41700 41701 41702 41703 41704 41705 41706 41707 41708 41709 | query I rowsort SELECT ALL col0 + cor0.col0 FROM tab0 AS cor0 GROUP BY cor0.col2, cor0.col0, col0 ---- 166 52 86 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT 68 * COALESCE ( + 77, cor0.col2 ) AS col1 FROM tab0 cor0 GROUP BY cor0.col0 ---- 5236 5236 5236 |
︙ | ︙ | |||
41704 41705 41706 41707 41708 41709 41710 41711 41712 41713 41714 41715 41716 41717 | query I rowsort SELECT col1 + + cor0.col1 FROM tab0 AS cor0 GROUP BY cor0.col1, cor0.col0 ---- 0 0 162 query I rowsort SELECT DISTINCT - COALESCE ( - 25, tab1.col1, + tab1.col0 - + tab1.col2 ) - - 90 AS col2 FROM tab1 GROUP BY tab1.col1 ---- 115 query I rowsort SELECT ALL - + 8 AS col0 FROM tab2 GROUP BY tab2.col1 | > | 41753 41754 41755 41756 41757 41758 41759 41760 41761 41762 41763 41764 41765 41766 41767 | query I rowsort SELECT col1 + + cor0.col1 FROM tab0 AS cor0 GROUP BY cor0.col1, cor0.col0 ---- 0 0 162 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT DISTINCT - COALESCE ( - 25, tab1.col1, + tab1.col0 - + tab1.col2 ) - - 90 AS col2 FROM tab1 GROUP BY tab1.col1 ---- 115 query I rowsort SELECT ALL - + 8 AS col0 FROM tab2 GROUP BY tab2.col1 |
︙ | ︙ | |||
42093 42094 42095 42096 42097 42098 42099 42100 42101 42102 42103 42104 42105 42106 | SELECT ALL - + COALESCE ( 44, - tab1.col0, - tab1.col1 DIV - 44 ) * + 95 FROM tab1 GROUP BY tab1.col2 ---- -4180 -4180 -4180 skipif mysql # not compatible query I rowsort label-5632 SELECT ALL - + COALESCE ( 44, - tab1.col0, - tab1.col1 / - 44 ) * + 95 FROM tab1 GROUP BY tab1.col2 ---- -4180 -4180 -4180 | > | 42143 42144 42145 42146 42147 42148 42149 42150 42151 42152 42153 42154 42155 42156 42157 | SELECT ALL - + COALESCE ( 44, - tab1.col0, - tab1.col1 DIV - 44 ) * + 95 FROM tab1 GROUP BY tab1.col2 ---- -4180 -4180 -4180 skipif mysql # not compatible skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort label-5632 SELECT ALL - + COALESCE ( 44, - tab1.col0, - tab1.col1 / - 44 ) * + 95 FROM tab1 GROUP BY tab1.col2 ---- -4180 -4180 -4180 |
︙ | ︙ | |||
42631 42632 42633 42634 42635 42636 42637 42638 42639 42640 42641 42642 42643 42644 | query I rowsort SELECT 65 FROM tab1 AS cor0 GROUP BY cor0.col2 ---- 65 65 65 query I rowsort SELECT DISTINCT COALESCE ( 7, tab2.col2 * - col0 ) AS col0 FROM tab2 GROUP BY tab2.col2 ---- 7 query I rowsort SELECT - ( + 35 ) FROM tab1 GROUP BY tab1.col0 | > | 42682 42683 42684 42685 42686 42687 42688 42689 42690 42691 42692 42693 42694 42695 42696 | query I rowsort SELECT 65 FROM tab1 AS cor0 GROUP BY cor0.col2 ---- 65 65 65 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT DISTINCT COALESCE ( 7, tab2.col2 * - col0 ) AS col0 FROM tab2 GROUP BY tab2.col2 ---- 7 query I rowsort SELECT - ( + 35 ) FROM tab1 GROUP BY tab1.col0 |
︙ | ︙ | |||
43061 43062 43063 43064 43065 43066 43067 43068 43069 43070 43071 43072 43073 43074 | 97 query I rowsort SELECT DISTINCT 48 FROM tab0 GROUP BY col0 ---- 48 query I rowsort SELECT ALL + 28 * COALESCE ( + 92, + cor0.col0 * 74, + cor0.col2 * cor0.col2 ) FROM tab0 AS cor0 GROUP BY cor0.col1, cor0.col2 ---- 2576 2576 2576 | > | 43113 43114 43115 43116 43117 43118 43119 43120 43121 43122 43123 43124 43125 43126 43127 | 97 query I rowsort SELECT DISTINCT 48 FROM tab0 GROUP BY col0 ---- 48 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT ALL + 28 * COALESCE ( + 92, + cor0.col0 * 74, + cor0.col2 * cor0.col2 ) FROM tab0 AS cor0 GROUP BY cor0.col1, cor0.col2 ---- 2576 2576 2576 |
︙ | ︙ | |||
44383 44384 44385 44386 44387 44388 44389 44390 44391 44392 44393 44394 44395 44396 | -32 query I rowsort SELECT DISTINCT 86 FROM tab2 AS cor0 GROUP BY cor0.col0 ---- 86 query I rowsort SELECT ALL + COALESCE ( + 24, - cor0.col0 * + 21 ) + - 76 FROM tab0 AS cor0 CROSS JOIN tab2 cor1 GROUP BY cor0.col2 ---- -52 -52 -52 | > | 44436 44437 44438 44439 44440 44441 44442 44443 44444 44445 44446 44447 44448 44449 44450 | -32 query I rowsort SELECT DISTINCT 86 FROM tab2 AS cor0 GROUP BY cor0.col0 ---- 86 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT ALL + COALESCE ( + 24, - cor0.col0 * + 21 ) + - 76 FROM tab0 AS cor0 CROSS JOIN tab2 cor1 GROUP BY cor0.col2 ---- -52 -52 -52 |
︙ | ︙ | |||
45590 45591 45592 45593 45594 45595 45596 45597 45598 45599 45600 45601 45602 45603 | query I rowsort SELECT - 31 FROM tab2 GROUP BY col0 ---- -31 -31 -31 query I rowsort SELECT DISTINCT - COALESCE ( 63, cor0.col2 ) AS col1 FROM tab2 cor0 GROUP BY cor0.col1 ---- -63 onlyif mysql # CAST syntax: DECIMAL type: query I rowsort label-6108 | > | 45644 45645 45646 45647 45648 45649 45650 45651 45652 45653 45654 45655 45656 45657 45658 | query I rowsort SELECT - 31 FROM tab2 GROUP BY col0 ---- -31 -31 -31 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT DISTINCT - COALESCE ( 63, cor0.col2 ) AS col1 FROM tab2 cor0 GROUP BY cor0.col1 ---- -63 onlyif mysql # CAST syntax: DECIMAL type: query I rowsort label-6108 |
︙ | ︙ | |||
46122 46123 46124 46125 46126 46127 46128 46129 46130 46131 46132 46133 46134 46135 | query I rowsort SELECT tab2.col1 * 23 col2 FROM tab2 GROUP BY tab2.col1 ---- 1357 1403 943 query I rowsort SELECT DISTINCT cor0.col2 - COALESCE ( 32, - col1 * + cor0.col0, 92 ) AS col2 FROM tab1 cor0 GROUP BY cor0.col0, cor0.col2 ---- -24 13 39 | > | 46177 46178 46179 46180 46181 46182 46183 46184 46185 46186 46187 46188 46189 46190 46191 | query I rowsort SELECT tab2.col1 * 23 col2 FROM tab2 GROUP BY tab2.col1 ---- 1357 1403 943 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT DISTINCT cor0.col2 - COALESCE ( 32, - col1 * + cor0.col0, 92 ) AS col2 FROM tab1 cor0 GROUP BY cor0.col0, cor0.col2 ---- -24 13 39 |
︙ | ︙ | |||
47768 47769 47770 47771 47772 47773 47774 47775 47776 47777 47778 47779 47780 47781 | query I rowsort SELECT DISTINCT - ( - cor0.col0 ) AS col0 FROM tab0 AS cor0 GROUP BY col0 ---- 26 43 83 query I rowsort SELECT 75 * COALESCE ( 69, - cor0.col2 * cor0.col0 ) AS col2 FROM tab1 AS cor0 GROUP BY col0 ---- 5175 5175 5175 | > | 47824 47825 47826 47827 47828 47829 47830 47831 47832 47833 47834 47835 47836 47837 47838 | query I rowsort SELECT DISTINCT - ( - cor0.col0 ) AS col0 FROM tab0 AS cor0 GROUP BY col0 ---- 26 43 83 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT 75 * COALESCE ( 69, - cor0.col2 * cor0.col0 ) AS col2 FROM tab1 AS cor0 GROUP BY col0 ---- 5175 5175 5175 |
︙ | ︙ | |||
48465 48466 48467 48468 48469 48470 48471 48472 48473 48474 48475 48476 48477 48478 | query I rowsort label-6495 SELECT + cor0.col1 / + cor0.col1 AS col1 FROM tab1 AS cor0 GROUP BY cor0.col1 ---- 1 1 1 query I rowsort SELECT DISTINCT - COALESCE ( - 46, cor0.col0, col0 ) FROM tab2 AS cor0 GROUP BY col2 ---- 46 query I rowsort SELECT DISTINCT 12 AS col1 FROM tab0 GROUP BY tab0.col1 | > | 48522 48523 48524 48525 48526 48527 48528 48529 48530 48531 48532 48533 48534 48535 48536 | query I rowsort label-6495 SELECT + cor0.col1 / + cor0.col1 AS col1 FROM tab1 AS cor0 GROUP BY cor0.col1 ---- 1 1 1 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT DISTINCT - COALESCE ( - 46, cor0.col0, col0 ) FROM tab2 AS cor0 GROUP BY col2 ---- 46 query I rowsort SELECT DISTINCT 12 AS col1 FROM tab0 GROUP BY tab0.col1 |
︙ | ︙ | |||
51540 51541 51542 51543 51544 51545 51546 51547 51548 51549 51550 51551 51552 51553 | -15 query I rowsort SELECT DISTINCT + 56 * 33 FROM tab1 AS cor0 CROSS JOIN tab0 AS cor1 GROUP BY cor1.col1 ---- 1848 query I rowsort SELECT ALL + COALESCE ( - 27, + 19 - tab2.col2, col2 + + tab2.col1 ) AS col1 FROM tab2 GROUP BY tab2.col0 ---- -27 -27 -27 | > | 51598 51599 51600 51601 51602 51603 51604 51605 51606 51607 51608 51609 51610 51611 51612 | -15 query I rowsort SELECT DISTINCT + 56 * 33 FROM tab1 AS cor0 CROSS JOIN tab0 AS cor1 GROUP BY cor1.col1 ---- 1848 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT ALL + COALESCE ( - 27, + 19 - tab2.col2, col2 + + tab2.col1 ) AS col1 FROM tab2 GROUP BY tab2.col0 ---- -27 -27 -27 |
︙ | ︙ | |||
52440 52441 52442 52443 52444 52445 52446 52447 52448 52449 52450 52451 52452 52453 | query I rowsort SELECT + 63 + - tab0.col0 * - tab0.col0 FROM tab0 GROUP BY col0 ---- 1912 6952 739 query I rowsort SELECT + COALESCE ( 55, tab1.col1 * tab1.col2 ) * + 24 FROM tab1 GROUP BY tab1.col2 ---- 1320 1320 1320 | > | 52499 52500 52501 52502 52503 52504 52505 52506 52507 52508 52509 52510 52511 52512 52513 | query I rowsort SELECT + 63 + - tab0.col0 * - tab0.col0 FROM tab0 GROUP BY col0 ---- 1912 6952 739 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT + COALESCE ( 55, tab1.col1 * tab1.col2 ) * + 24 FROM tab1 GROUP BY tab1.col2 ---- 1320 1320 1320 |
︙ | ︙ | |||
53280 53281 53282 53283 53284 53285 53286 53287 53288 53289 53290 53291 53292 53293 | query I rowsort SELECT - - 36 FROM tab1 GROUP BY tab1.col2 ---- 36 36 36 query I rowsort SELECT CASE 95 WHEN 81 THEN tab0.col0 ELSE NULL END * 55 FROM tab0 GROUP BY tab0.col2 ---- NULL NULL NULL | > | 53340 53341 53342 53343 53344 53345 53346 53347 53348 53349 53350 53351 53352 53353 53354 | query I rowsort SELECT - - 36 FROM tab1 GROUP BY tab1.col2 ---- 36 36 36 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT CASE 95 WHEN 81 THEN tab0.col0 ELSE NULL END * 55 FROM tab0 GROUP BY tab0.col2 ---- NULL NULL NULL |
︙ | ︙ | |||
53976 53977 53978 53979 53980 53981 53982 53983 53984 53985 53986 53987 53988 53989 | query I rowsort SELECT - 47 + - 86 col0 FROM tab0 cor0 GROUP BY cor0.col0, cor0.col2 ---- -133 -133 -133 query I rowsort SELECT ALL cor0.col2 - COALESCE ( - 49, + cor0.col1 * - cor0.col1, cor0.col0 + 53 ) FROM tab1 cor0 GROUP BY cor0.col2 ---- 120 57 94 | > | 54037 54038 54039 54040 54041 54042 54043 54044 54045 54046 54047 54048 54049 54050 54051 | query I rowsort SELECT - 47 + - 86 col0 FROM tab0 cor0 GROUP BY cor0.col0, cor0.col2 ---- -133 -133 -133 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT ALL cor0.col2 - COALESCE ( - 49, + cor0.col1 * - cor0.col1, cor0.col0 + 53 ) FROM tab1 cor0 GROUP BY cor0.col2 ---- 120 57 94 |
︙ | ︙ | |||
54791 54792 54793 54794 54795 54796 54797 54798 54799 54800 54801 54802 54803 54804 | query I rowsort SELECT DISTINCT + 46 + tab1.col0 FROM tab1 GROUP BY tab1.col0 ---- 128 68 74 query I rowsort SELECT DISTINCT - COALESCE ( + 2, tab1.col1 ) AS col2 FROM tab1 GROUP BY tab1.col0 ---- -2 onlyif mysql # CAST syntax: DECIMAL type: query I rowsort label-7352 | > | 54853 54854 54855 54856 54857 54858 54859 54860 54861 54862 54863 54864 54865 54866 54867 | query I rowsort SELECT DISTINCT + 46 + tab1.col0 FROM tab1 GROUP BY tab1.col0 ---- 128 68 74 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT DISTINCT - COALESCE ( + 2, tab1.col1 ) AS col2 FROM tab1 GROUP BY tab1.col0 ---- -2 onlyif mysql # CAST syntax: DECIMAL type: query I rowsort label-7352 |
︙ | ︙ | |||
55505 55506 55507 55508 55509 55510 55511 55512 55513 55514 55515 55516 55517 55518 | query I rowsort SELECT cor0.col0 + + cor0.col0 FROM tab1 AS cor0 GROUP BY col0 ---- 164 44 56 query I rowsort SELECT ALL + + tab0.col1 * COALESCE ( 74, - tab0.col2, 4 ) FROM tab0 GROUP BY tab0.col1 ---- 0 5994 query I rowsort | > | 55568 55569 55570 55571 55572 55573 55574 55575 55576 55577 55578 55579 55580 55581 55582 | query I rowsort SELECT cor0.col0 + + cor0.col0 FROM tab1 AS cor0 GROUP BY col0 ---- 164 44 56 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT ALL + + tab0.col1 * COALESCE ( 74, - tab0.col2, 4 ) FROM tab0 GROUP BY tab0.col1 ---- 0 5994 query I rowsort |
︙ | ︙ | |||
55561 55562 55563 55564 55565 55566 55567 55568 55569 55570 55571 55572 55573 55574 | query I rowsort SELECT ALL + col2 AS col2 FROM tab2 AS cor0 GROUP BY col1, cor0.col2 ---- 58 79 87 query I rowsort SELECT - COALESCE ( COALESCE ( + 30, cor0.col0 ), - cor0.col1 ) AS col2 FROM tab1 AS cor0 GROUP BY cor0.col0 ---- -30 -30 -30 | > | 55625 55626 55627 55628 55629 55630 55631 55632 55633 55634 55635 55636 55637 55638 55639 | query I rowsort SELECT ALL + col2 AS col2 FROM tab2 AS cor0 GROUP BY col1, cor0.col2 ---- 58 79 87 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT - COALESCE ( COALESCE ( + 30, cor0.col0 ), - cor0.col1 ) AS col2 FROM tab1 AS cor0 GROUP BY cor0.col0 ---- -30 -30 -30 |
︙ | ︙ | |||
55792 55793 55794 55795 55796 55797 55798 55799 55800 55801 55802 55803 55804 55805 | 152 query I rowsort SELECT DISTINCT - 18 AS col2 FROM tab2 AS cor0 GROUP BY col0 ---- -18 query I rowsort SELECT DISTINCT COALESCE ( 66, cor0.col2, cor0.col1, cor0.col0 * - 39 ) AS col2 FROM tab0 AS cor0 GROUP BY col0 ---- 66 query I rowsort SELECT ALL cor0.col0 AS col0 FROM tab0 AS cor0 GROUP BY col1, cor0.col0 | > | 55857 55858 55859 55860 55861 55862 55863 55864 55865 55866 55867 55868 55869 55870 55871 | 152 query I rowsort SELECT DISTINCT - 18 AS col2 FROM tab2 AS cor0 GROUP BY col0 ---- -18 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT DISTINCT COALESCE ( 66, cor0.col2, cor0.col1, cor0.col0 * - 39 ) AS col2 FROM tab0 AS cor0 GROUP BY col0 ---- 66 query I rowsort SELECT ALL cor0.col0 AS col0 FROM tab0 AS cor0 GROUP BY col1, cor0.col0 |
︙ | ︙ | |||
57065 57066 57067 57068 57069 57070 57071 57072 57073 57074 57075 57076 57077 57078 | 0 query I rowsort SELECT DISTINCT - 15 AS col0 FROM tab2 AS cor0 CROSS JOIN tab2 AS cor1 GROUP BY cor1.col1 ---- -15 query I rowsort SELECT - COALESCE ( 38, cor0.col1, col0 + NULLIF ( cor0.col1, + cor0.col2 ) * 74 ) FROM tab2 cor0 GROUP BY cor0.col1 ---- -38 -38 -38 | > | 57131 57132 57133 57134 57135 57136 57137 57138 57139 57140 57141 57142 57143 57144 57145 | 0 query I rowsort SELECT DISTINCT - 15 AS col0 FROM tab2 AS cor0 CROSS JOIN tab2 AS cor1 GROUP BY cor1.col1 ---- -15 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT - COALESCE ( 38, cor0.col1, col0 + NULLIF ( cor0.col1, + cor0.col2 ) * 74 ) FROM tab2 cor0 GROUP BY cor0.col1 ---- -38 -38 -38 |
︙ | ︙ | |||
58471 58472 58473 58474 58475 58476 58477 58478 58479 58480 58481 58482 58483 58484 | query I rowsort SELECT col1 * 12 AS col0 FROM tab2 GROUP BY tab2.col1 ---- 492 708 732 query I rowsort SELECT ALL - col1 * + ( - COALESCE ( - 51, col2 ) * cor0.col1 ) AS col1 FROM tab1 AS cor0 GROUP BY cor0.col1 ---- -165699 -1836 -98736 | > | 58538 58539 58540 58541 58542 58543 58544 58545 58546 58547 58548 58549 58550 58551 58552 | query I rowsort SELECT col1 * 12 AS col0 FROM tab2 GROUP BY tab2.col1 ---- 492 708 732 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT ALL - col1 * + ( - COALESCE ( - 51, col2 ) * cor0.col1 ) AS col1 FROM tab1 AS cor0 GROUP BY cor0.col1 ---- -165699 -1836 -98736 |
︙ | ︙ | |||
59650 59651 59652 59653 59654 59655 59656 59657 59658 59659 59660 59661 59662 59663 | query I rowsort SELECT DISTINCT cor0.col2 FROM tab2 AS cor0 CROSS JOIN tab0 cor1 GROUP BY cor0.col2 ---- 58 79 87 query I rowsort SELECT - tab2.col0 * tab2.col0 + - COALESCE ( - 11, - tab2.col0, ( NULLIF ( tab2.col0, - tab2.col1 * 65 ) ) ) AS col1 FROM tab2 GROUP BY tab2.col0 ---- -214 -8270 -8453 | > | 59718 59719 59720 59721 59722 59723 59724 59725 59726 59727 59728 59729 59730 59731 59732 | query I rowsort SELECT DISTINCT cor0.col2 FROM tab2 AS cor0 CROSS JOIN tab0 cor1 GROUP BY cor0.col2 ---- 58 79 87 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT - tab2.col0 * tab2.col0 + - COALESCE ( - 11, - tab2.col0, ( NULLIF ( tab2.col0, - tab2.col1 * 65 ) ) ) AS col1 FROM tab2 GROUP BY tab2.col0 ---- -214 -8270 -8453 |
︙ | ︙ | |||
60871 60872 60873 60874 60875 60876 60877 60878 60879 60880 60881 60882 60883 60884 | query I rowsort SELECT + 80 AS col1 FROM tab2 GROUP BY tab2.col0 ---- 80 80 80 query I rowsort SELECT ALL - COALESCE ( 98, col1 + + cor0.col2, + 6 ) AS col2 FROM tab2 AS cor0 GROUP BY cor0.col1 ---- -98 -98 -98 | > | 60940 60941 60942 60943 60944 60945 60946 60947 60948 60949 60950 60951 60952 60953 60954 | query I rowsort SELECT + 80 AS col1 FROM tab2 GROUP BY tab2.col0 ---- 80 80 80 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT ALL - COALESCE ( 98, col1 + + cor0.col2, + 6 ) AS col2 FROM tab2 AS cor0 GROUP BY cor0.col1 ---- -98 -98 -98 |
︙ | ︙ | |||
61228 61229 61230 61231 61232 61233 61234 61235 61236 61237 61238 61239 61240 61241 | query I rowsort label-8227 SELECT ALL + cor0.col0 / + 4 AS col1 FROM tab1 AS cor0 GROUP BY cor0.col0, cor0.col1 ---- 20 5 7 query I rowsort SELECT DISTINCT - COALESCE ( 75, + tab1.col1, - tab1.col1 - - ( tab1.col1 ) * + tab1.col0 ) AS col1 FROM tab1 GROUP BY tab1.col1 ---- -75 query I rowsort SELECT - + ( - 45 ) - 67 FROM tab1 GROUP BY tab1.col0 | > | 61298 61299 61300 61301 61302 61303 61304 61305 61306 61307 61308 61309 61310 61311 61312 | query I rowsort label-8227 SELECT ALL + cor0.col0 / + 4 AS col1 FROM tab1 AS cor0 GROUP BY cor0.col0, cor0.col1 ---- 20 5 7 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT DISTINCT - COALESCE ( 75, + tab1.col1, - tab1.col1 - - ( tab1.col1 ) * + tab1.col0 ) AS col1 FROM tab1 GROUP BY tab1.col1 ---- -75 query I rowsort SELECT - + ( - 45 ) - 67 FROM tab1 GROUP BY tab1.col0 |
︙ | ︙ | |||
61576 61577 61578 61579 61580 61581 61582 61583 61584 61585 61586 61587 61588 61589 | query I rowsort SELECT ALL - - 7 col2 FROM tab1 GROUP BY tab1.col2 ---- 7 7 7 query I rowsort SELECT + COALESCE ( 9, - tab2.col0 * col2, + tab2.col1 ) AS col1 FROM tab2 GROUP BY tab2.col0 ---- 9 9 9 | > | 61647 61648 61649 61650 61651 61652 61653 61654 61655 61656 61657 61658 61659 61660 61661 | query I rowsort SELECT ALL - - 7 col2 FROM tab1 GROUP BY tab1.col2 ---- 7 7 7 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT + COALESCE ( 9, - tab2.col0 * col2, + tab2.col1 ) AS col1 FROM tab2 GROUP BY tab2.col0 ---- 9 9 9 |
︙ | ︙ | |||
61983 61984 61985 61986 61987 61988 61989 61990 61991 61992 61993 61994 61995 61996 | onlyif mysql # DIV for integer division: query I rowsort label-8328 SELECT DISTINCT - 99 - COALESCE ( - 26, - cor0.col0 DIV cor0.col2 ) AS col1 FROM tab0 cor0 GROUP BY cor0.col0 ---- -73 skipif mysql # not compatible query I rowsort label-8328 SELECT DISTINCT - 99 - COALESCE ( - 26, - cor0.col0 / cor0.col2 ) AS col1 FROM tab0 cor0 GROUP BY cor0.col0 ---- -73 query I rowsort SELECT + 38 * tab1.col1 + - tab1.col1 FROM tab1 GROUP BY tab1.col1 | > | 62055 62056 62057 62058 62059 62060 62061 62062 62063 62064 62065 62066 62067 62068 62069 | onlyif mysql # DIV for integer division: query I rowsort label-8328 SELECT DISTINCT - 99 - COALESCE ( - 26, - cor0.col0 DIV cor0.col2 ) AS col1 FROM tab0 cor0 GROUP BY cor0.col0 ---- -73 skipif mysql # not compatible skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort label-8328 SELECT DISTINCT - 99 - COALESCE ( - 26, - cor0.col0 / cor0.col2 ) AS col1 FROM tab0 cor0 GROUP BY cor0.col0 ---- -73 query I rowsort SELECT + 38 * tab1.col1 + - tab1.col1 FROM tab1 GROUP BY tab1.col1 |
︙ | ︙ | |||
62657 62658 62659 62660 62661 62662 62663 62664 62665 62666 62667 62668 62669 62670 | query I rowsort label-8417 SELECT + cor0.col0 / - col0 FROM tab2 AS cor0 GROUP BY col0 ---- -1 -1 -1 query I rowsort SELECT ALL + + COALESCE ( 5, + tab1.col2, - 2 * + tab1.col2 ) AS col1 FROM tab1 GROUP BY col0 ---- 5 5 5 | > | 62730 62731 62732 62733 62734 62735 62736 62737 62738 62739 62740 62741 62742 62743 62744 | query I rowsort label-8417 SELECT + cor0.col0 / - col0 FROM tab2 AS cor0 GROUP BY col0 ---- -1 -1 -1 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT ALL + + COALESCE ( 5, + tab1.col2, - 2 * + tab1.col2 ) AS col1 FROM tab1 GROUP BY col0 ---- 5 5 5 |
︙ | ︙ | |||
63153 63154 63155 63156 63157 63158 63159 63160 63161 63162 63163 63164 63165 63166 | query I rowsort SELECT DISTINCT - 53 - cor0.col0 AS col0 FROM tab2 AS cor0 GROUP BY cor0.col0, cor0.col1 ---- -144 -145 -68 query I rowsort SELECT 54 * cor0.col1 + COALESCE ( - 69, - 35 + cor0.col2 ) FROM tab1 AS cor0 GROUP BY col1 ---- 2307 255 3009 | > | 63227 63228 63229 63230 63231 63232 63233 63234 63235 63236 63237 63238 63239 63240 63241 | query I rowsort SELECT DISTINCT - 53 - cor0.col0 AS col0 FROM tab2 AS cor0 GROUP BY cor0.col0, cor0.col1 ---- -144 -145 -68 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT 54 * cor0.col1 + COALESCE ( - 69, - 35 + cor0.col2 ) FROM tab1 AS cor0 GROUP BY col1 ---- 2307 255 3009 |
︙ | ︙ | |||
63183 63184 63185 63186 63187 63188 63189 63190 63191 63192 63193 63194 63195 63196 | SELECT + 98 * - COALESCE ( + 41, - cor0.col2, + cor0.col0 * - col0 - col1 DIV + CASE col2 WHEN cor0.col2 THEN - cor0.col1 DIV ( 15 DIV - cor0.col2 ) + - 57 WHEN - cor0.col1 THEN NULL ELSE NULL END, cor0.col0 ) FROM tab1 AS cor0 GROUP BY cor0.col1 ---- -4018 -4018 -4018 skipif mysql # not compatible query I rowsort label-8489 SELECT + 98 * - COALESCE ( + 41, - cor0.col2, + cor0.col0 * - col0 - col1 / + CASE col2 WHEN cor0.col2 THEN - cor0.col1 / ( 15 / - cor0.col2 ) + - 57 WHEN - cor0.col1 THEN NULL ELSE NULL END, cor0.col0 ) FROM tab1 AS cor0 GROUP BY cor0.col1 ---- -4018 -4018 -4018 | > | 63258 63259 63260 63261 63262 63263 63264 63265 63266 63267 63268 63269 63270 63271 63272 | SELECT + 98 * - COALESCE ( + 41, - cor0.col2, + cor0.col0 * - col0 - col1 DIV + CASE col2 WHEN cor0.col2 THEN - cor0.col1 DIV ( 15 DIV - cor0.col2 ) + - 57 WHEN - cor0.col1 THEN NULL ELSE NULL END, cor0.col0 ) FROM tab1 AS cor0 GROUP BY cor0.col1 ---- -4018 -4018 -4018 skipif mysql # not compatible skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort label-8489 SELECT + 98 * - COALESCE ( + 41, - cor0.col2, + cor0.col0 * - col0 - col1 / + CASE col2 WHEN cor0.col2 THEN - cor0.col1 / ( 15 / - cor0.col2 ) + - 57 WHEN - cor0.col1 THEN NULL ELSE NULL END, cor0.col0 ) FROM tab1 AS cor0 GROUP BY cor0.col1 ---- -4018 -4018 -4018 |
︙ | ︙ | |||
63825 63826 63827 63828 63829 63830 63831 63832 63833 63834 63835 63836 63837 63838 | query I rowsort SELECT 18 col2 FROM tab1 AS cor0 GROUP BY cor0.col0 ---- 18 18 18 query I rowsort SELECT DISTINCT + COALESCE ( + 17, - tab0.col0 ) + tab0.col1 AS col2 FROM tab0 GROUP BY tab0.col1 ---- 17 98 query I rowsort | > | 63901 63902 63903 63904 63905 63906 63907 63908 63909 63910 63911 63912 63913 63914 63915 | query I rowsort SELECT 18 col2 FROM tab1 AS cor0 GROUP BY cor0.col0 ---- 18 18 18 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT DISTINCT + COALESCE ( + 17, - tab0.col0 ) + tab0.col1 AS col2 FROM tab0 GROUP BY tab0.col1 ---- 17 98 query I rowsort |
︙ | ︙ | |||
64686 64687 64688 64689 64690 64691 64692 64693 64694 64695 64696 64697 64698 64699 | query I rowsort SELECT - 5 * + 75 FROM tab1 AS cor0 GROUP BY cor0.col2, cor0.col2 ---- -375 -375 -375 query I rowsort SELECT - tab0.col1 + COALESCE ( - COALESCE ( 68, + tab0.col0 * tab0.col1 ), + COALESCE ( + tab0.col1, - 3 ) * CASE - tab0.col1 * tab0.col1 + tab0.col1 WHEN tab0.col2 - tab0.col2 THEN tab0.col1 * + 31 END, + 86 ) AS col1 FROM tab0 GROUP BY tab0.col1 ---- -149 -68 query I rowsort | > | 64763 64764 64765 64766 64767 64768 64769 64770 64771 64772 64773 64774 64775 64776 64777 | query I rowsort SELECT - 5 * + 75 FROM tab1 AS cor0 GROUP BY cor0.col2, cor0.col2 ---- -375 -375 -375 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT - tab0.col1 + COALESCE ( - COALESCE ( 68, + tab0.col0 * tab0.col1 ), + COALESCE ( + tab0.col1, - 3 ) * CASE - tab0.col1 * tab0.col1 + tab0.col1 WHEN tab0.col2 - tab0.col2 THEN tab0.col1 * + 31 END, + 86 ) AS col1 FROM tab0 GROUP BY tab0.col1 ---- -149 -68 query I rowsort |
︙ | ︙ | |||
65306 65307 65308 65309 65310 65311 65312 65313 65314 65315 65316 65317 65318 65319 | query I rowsort SELECT ( + col0 ) FROM tab0 AS cor0 GROUP BY cor0.col0 ---- 26 43 83 query I rowsort SELECT ALL COALESCE ( + 53, cor0.col0, - 24 * NULLIF ( col0, + cor0.col1 * - cor0.col1 ), 61 ) FROM tab1 cor0 GROUP BY col1 ---- 53 53 53 | > | 65384 65385 65386 65387 65388 65389 65390 65391 65392 65393 65394 65395 65396 65397 65398 | query I rowsort SELECT ( + col0 ) FROM tab0 AS cor0 GROUP BY cor0.col0 ---- 26 43 83 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT ALL COALESCE ( + 53, cor0.col0, - 24 * NULLIF ( col0, + cor0.col1 * - cor0.col1 ), 61 ) FROM tab1 cor0 GROUP BY col1 ---- 53 53 53 |
︙ | ︙ | |||
66633 66634 66635 66636 66637 66638 66639 66640 66641 66642 66643 66644 66645 66646 | query I rowsort SELECT - cor0.col1 * cor0.col1 AS col1 FROM tab2 AS cor0 GROUP BY cor0.col1, cor0.col2 ---- -1681 -3481 -3721 query I rowsort SELECT ALL + col0 - COALESCE ( 38, cor0.col0 * - col2 ) FROM tab1 AS cor0 GROUP BY cor0.col0 ---- -10 -16 44 | > | 66712 66713 66714 66715 66716 66717 66718 66719 66720 66721 66722 66723 66724 66725 66726 | query I rowsort SELECT - cor0.col1 * cor0.col1 AS col1 FROM tab2 AS cor0 GROUP BY cor0.col1, cor0.col2 ---- -1681 -3481 -3721 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT ALL + col0 - COALESCE ( 38, cor0.col0 * - col2 ) FROM tab1 AS cor0 GROUP BY cor0.col0 ---- -10 -16 44 |
︙ | ︙ | |||
68055 68056 68057 68058 68059 68060 68061 68062 68063 68064 68065 68066 68067 68068 | query I rowsort label-9144 SELECT ALL + + CAST ( NULL AS INTEGER ) - 25 FROM tab1 GROUP BY tab1.col1 ---- NULL NULL NULL query I rowsort SELECT ALL COALESCE ( + 3, + cor0.col2, - cor0.col2 + cor0.col0 ) FROM tab2 AS cor0 GROUP BY cor0.col0 ---- 3 3 3 | > | 68135 68136 68137 68138 68139 68140 68141 68142 68143 68144 68145 68146 68147 68148 68149 | query I rowsort label-9144 SELECT ALL + + CAST ( NULL AS INTEGER ) - 25 FROM tab1 GROUP BY tab1.col1 ---- NULL NULL NULL skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT ALL COALESCE ( + 3, + cor0.col2, - cor0.col2 + cor0.col0 ) FROM tab2 AS cor0 GROUP BY cor0.col0 ---- 3 3 3 |
︙ | ︙ | |||
68365 68366 68367 68368 68369 68370 68371 68372 68373 68374 68375 68376 68377 68378 | query I rowsort SELECT DISTINCT - tab0.col0 * tab0.col0 AS col0 FROM tab0 GROUP BY tab0.col0 ---- -1849 -676 -6889 query I rowsort SELECT ALL + tab0.col1 * COALESCE ( - 29, - tab0.col0 * - col2 ) FROM tab0 GROUP BY tab0.col1 ---- -2349 0 query I rowsort | > | 68446 68447 68448 68449 68450 68451 68452 68453 68454 68455 68456 68457 68458 68459 68460 | query I rowsort SELECT DISTINCT - tab0.col0 * tab0.col0 AS col0 FROM tab0 GROUP BY tab0.col0 ---- -1849 -676 -6889 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT ALL + tab0.col1 * COALESCE ( - 29, - tab0.col0 * - col2 ) FROM tab0 GROUP BY tab0.col1 ---- -2349 0 query I rowsort |
︙ | ︙ | |||
68745 68746 68747 68748 68749 68750 68751 68752 68753 68754 68755 68756 68757 68758 68759 68760 68761 68762 68763 68764 | query I rowsort SELECT + + 84 * - tab0.col2 + tab0.col2 col2 FROM tab0 GROUP BY tab0.col2 ---- -1992 -3154 -6557 query I rowsort SELECT COALESCE ( 27, cor0.col1, + ( + 27 ), cor0.col0 * + cor0.col1 + - cor0.col1 ) * 99 FROM tab0 AS cor0 GROUP BY cor0.col1 ---- 2673 2673 query I rowsort SELECT ALL + COALESCE ( 35, cor0.col2 * + 34, cor0.col1 ) AS col0 FROM tab2 AS cor0 GROUP BY cor0.col2, cor0.col2 ---- 35 35 35 | > > | 68827 68828 68829 68830 68831 68832 68833 68834 68835 68836 68837 68838 68839 68840 68841 68842 68843 68844 68845 68846 68847 68848 | query I rowsort SELECT + + 84 * - tab0.col2 + tab0.col2 col2 FROM tab0 GROUP BY tab0.col2 ---- -1992 -3154 -6557 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT COALESCE ( 27, cor0.col1, + ( + 27 ), cor0.col0 * + cor0.col1 + - cor0.col1 ) * 99 FROM tab0 AS cor0 GROUP BY cor0.col1 ---- 2673 2673 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT ALL + COALESCE ( 35, cor0.col2 * + 34, cor0.col1 ) AS col0 FROM tab2 AS cor0 GROUP BY cor0.col2, cor0.col2 ---- 35 35 35 |
︙ | ︙ | |||
69636 69637 69638 69639 69640 69641 69642 69643 69644 69645 69646 69647 69648 69649 | SELECT COALESCE ( + 4, cor0.col2 DIV - cor0.col2 ) AS col1 FROM tab1 AS cor0 GROUP BY col0 ---- 4 4 4 skipif mysql # not compatible query I rowsort label-9359 SELECT COALESCE ( + 4, cor0.col2 / - cor0.col2 ) AS col1 FROM tab1 AS cor0 GROUP BY col0 ---- 4 4 4 | > | 69720 69721 69722 69723 69724 69725 69726 69727 69728 69729 69730 69731 69732 69733 69734 | SELECT COALESCE ( + 4, cor0.col2 DIV - cor0.col2 ) AS col1 FROM tab1 AS cor0 GROUP BY col0 ---- 4 4 4 skipif mysql # not compatible skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort label-9359 SELECT COALESCE ( + 4, cor0.col2 / - cor0.col2 ) AS col1 FROM tab1 AS cor0 GROUP BY col0 ---- 4 4 4 |
︙ | ︙ | |||
70005 70006 70007 70008 70009 70010 70011 70012 70013 70014 70015 70016 70017 70018 | onlyif mysql # DIV for integer division: query I rowsort label-9413 SELECT DISTINCT cor0.col1 DIV COALESCE ( 65, - cor0.col0, cor0.col2 ) FROM tab2 AS cor0 GROUP BY cor0.col1 ---- 0 skipif mysql # not compatible query I rowsort label-9413 SELECT DISTINCT cor0.col1 / COALESCE ( 65, - cor0.col0, cor0.col2 ) FROM tab2 AS cor0 GROUP BY cor0.col1 ---- 0 query I rowsort SELECT - col1 AS col2 FROM tab0 AS cor0 GROUP BY cor0.col0, cor0.col1 | > | 70090 70091 70092 70093 70094 70095 70096 70097 70098 70099 70100 70101 70102 70103 70104 | onlyif mysql # DIV for integer division: query I rowsort label-9413 SELECT DISTINCT cor0.col1 DIV COALESCE ( 65, - cor0.col0, cor0.col2 ) FROM tab2 AS cor0 GROUP BY cor0.col1 ---- 0 skipif mysql # not compatible skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort label-9413 SELECT DISTINCT cor0.col1 / COALESCE ( 65, - cor0.col0, cor0.col2 ) FROM tab2 AS cor0 GROUP BY cor0.col1 ---- 0 query I rowsort SELECT - col1 AS col2 FROM tab0 AS cor0 GROUP BY cor0.col0, cor0.col1 |
︙ | ︙ | |||
70212 70213 70214 70215 70216 70217 70218 70219 70220 70221 70222 70223 70224 70225 | 24 24 query I rowsort SELECT DISTINCT cor0.col2 FROM tab1 AS cor0 GROUP BY cor0.col2 HAVING NOT ( NULL ) IS NULL ---- query I rowsort SELECT DISTINCT - COALESCE ( + 37, col1, 52, + cor0.col2 ) AS col0 FROM tab1 AS cor0 GROUP BY cor0.col2 ---- -37 query I rowsort SELECT - 84 + - 61 FROM tab0 AS cor0 GROUP BY cor0.col2, cor0.col1 | > | 70298 70299 70300 70301 70302 70303 70304 70305 70306 70307 70308 70309 70310 70311 70312 | 24 24 query I rowsort SELECT DISTINCT cor0.col2 FROM tab1 AS cor0 GROUP BY cor0.col2 HAVING NOT ( NULL ) IS NULL ---- skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT DISTINCT - COALESCE ( + 37, col1, 52, + cor0.col2 ) AS col0 FROM tab1 AS cor0 GROUP BY cor0.col2 ---- -37 query I rowsort SELECT - 84 + - 61 FROM tab0 AS cor0 GROUP BY cor0.col2, cor0.col1 |
︙ | ︙ | |||
72122 72123 72124 72125 72126 72127 72128 72129 72130 72131 72132 72133 72134 72135 | query I rowsort SELECT DISTINCT + cor0.col0 col2 FROM tab0 AS cor0 GROUP BY cor0.col2, col0 ---- 26 43 83 query I rowsort SELECT + COALESCE ( 67, + tab0.col2, tab0.col0 - + tab0.col0 * CASE tab0.col0 * tab0.col1 WHEN tab0.col1 THEN NULL ELSE + tab0.col0 END ) AS col0 FROM tab0 GROUP BY tab0.col1 ---- 67 67 query I rowsort | > | 72209 72210 72211 72212 72213 72214 72215 72216 72217 72218 72219 72220 72221 72222 72223 | query I rowsort SELECT DISTINCT + cor0.col0 col2 FROM tab0 AS cor0 GROUP BY cor0.col2, col0 ---- 26 43 83 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT + COALESCE ( 67, + tab0.col2, tab0.col0 - + tab0.col0 * CASE tab0.col0 * tab0.col1 WHEN tab0.col1 THEN NULL ELSE + tab0.col0 END ) AS col0 FROM tab0 GROUP BY tab0.col1 ---- 67 67 query I rowsort |
︙ | ︙ | |||
73390 73391 73392 73393 73394 73395 73396 73397 73398 73399 73400 73401 73402 73403 | query I rowsort SELECT 72 AS col0 FROM tab0 AS cor0 GROUP BY cor0.col2 ---- 72 72 72 query I rowsort SELECT - COALESCE ( + 82, + cor0.col1 ) + 25 AS col1 FROM tab0 AS cor0 GROUP BY col2 ---- -57 -57 -57 | > | 73478 73479 73480 73481 73482 73483 73484 73485 73486 73487 73488 73489 73490 73491 73492 | query I rowsort SELECT 72 AS col0 FROM tab0 AS cor0 GROUP BY cor0.col2 ---- 72 72 72 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT - COALESCE ( + 82, + cor0.col1 ) + 25 AS col1 FROM tab0 AS cor0 GROUP BY col2 ---- -57 -57 -57 |
︙ | ︙ | |||
74190 74191 74192 74193 74194 74195 74196 74197 74198 74199 74200 74201 74202 74203 | query I rowsort SELECT - CASE + col2 WHEN - col2 THEN cor0.col2 / 43 - cor0.col2 ELSE NULL END FROM tab0 cor0 GROUP BY cor0.col2 ---- NULL NULL NULL query I rowsort SELECT + COALESCE ( 87, + tab0.col1, tab0.col0 ) - 98 * + tab0.col1 AS col2 FROM tab0 GROUP BY tab0.col1 ---- -7851 87 query I rowsort | > | 74279 74280 74281 74282 74283 74284 74285 74286 74287 74288 74289 74290 74291 74292 74293 | query I rowsort SELECT - CASE + col2 WHEN - col2 THEN cor0.col2 / 43 - cor0.col2 ELSE NULL END FROM tab0 cor0 GROUP BY cor0.col2 ---- NULL NULL NULL skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT + COALESCE ( 87, + tab0.col1, tab0.col0 ) - 98 * + tab0.col1 AS col2 FROM tab0 GROUP BY tab0.col1 ---- -7851 87 query I rowsort |
︙ | ︙ | |||
74242 74243 74244 74245 74246 74247 74248 74249 74250 74251 74252 74253 74254 74255 | NULL query I rowsort SELECT DISTINCT - 68 + + 56 AS col1 FROM tab2 AS cor0 GROUP BY cor0.col2 ---- -12 query I rowsort SELECT COALESCE ( 37, - col2 ) FROM tab1 cor0 GROUP BY col1 ---- 37 37 37 | > | 74332 74333 74334 74335 74336 74337 74338 74339 74340 74341 74342 74343 74344 74345 74346 | NULL query I rowsort SELECT DISTINCT - 68 + + 56 AS col1 FROM tab2 AS cor0 GROUP BY cor0.col2 ---- -12 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT COALESCE ( 37, - col2 ) FROM tab1 cor0 GROUP BY col1 ---- 37 37 37 |
︙ | ︙ |
Changes to test/random/groupby/slt_good_8.test.
︙ | ︙ | |||
940 941 942 943 944 945 946 947 948 949 950 951 952 953 | query I rowsort SELECT ALL cor0.col0 AS col0 FROM tab0 AS cor0 GROUP BY cor0.col0, col1 ---- 26 43 83 query I rowsort SELECT COALESCE ( - 24, + cor0.col1 + + cor0.col1, + cor0.col2 * + col1, - cor0.col2 * - 79 ) * 75 + + cor0.col0 AS col0 FROM tab0 AS cor0 GROUP BY cor0.col0 ---- -1717 -1757 -1774 | > | 940 941 942 943 944 945 946 947 948 949 950 951 952 953 954 | query I rowsort SELECT ALL cor0.col0 AS col0 FROM tab0 AS cor0 GROUP BY cor0.col0, col1 ---- 26 43 83 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT COALESCE ( - 24, + cor0.col1 + + cor0.col1, + cor0.col2 * + col1, - cor0.col2 * - 79 ) * 75 + + cor0.col0 AS col0 FROM tab0 AS cor0 GROUP BY cor0.col0 ---- -1717 -1757 -1774 |
︙ | ︙ | |||
1387 1388 1389 1390 1391 1392 1393 1394 1395 1396 1397 1398 1399 1400 | 59 query I rowsort SELECT DISTINCT + 26 FROM tab0 AS cor0 GROUP BY cor0.col1 ---- 26 query I rowsort SELECT - + COALESCE ( 18, - tab1.col1 * tab1.col2 + tab1.col2, - tab1.col2 ) FROM tab1 GROUP BY tab1.col1 ---- -18 -18 -18 | > | 1388 1389 1390 1391 1392 1393 1394 1395 1396 1397 1398 1399 1400 1401 1402 | 59 query I rowsort SELECT DISTINCT + 26 FROM tab0 AS cor0 GROUP BY cor0.col1 ---- 26 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT - + COALESCE ( 18, - tab1.col1 * tab1.col2 + tab1.col2, - tab1.col2 ) FROM tab1 GROUP BY tab1.col1 ---- -18 -18 -18 |
︙ | ︙ | |||
1452 1453 1454 1455 1456 1457 1458 1459 1460 1461 1462 1463 1464 1465 | query I rowsort SELECT tab0.col1 + col1 AS col1 FROM tab0 GROUP BY tab0.col1 ---- 0 162 query I rowsort SELECT + COALESCE ( - cor0.col2, 71, + cor0.col1, + cor0.col2 ) FROM tab0 AS cor0 GROUP BY cor0.col2 ---- -24 -38 -79 | > | 1454 1455 1456 1457 1458 1459 1460 1461 1462 1463 1464 1465 1466 1467 1468 | query I rowsort SELECT tab0.col1 + col1 AS col1 FROM tab0 GROUP BY tab0.col1 ---- 0 162 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT + COALESCE ( - cor0.col2, 71, + cor0.col1, + cor0.col2 ) FROM tab0 AS cor0 GROUP BY cor0.col2 ---- -24 -38 -79 |
︙ | ︙ | |||
1939 1940 1941 1942 1943 1944 1945 1946 1947 1948 1949 1950 1951 1952 | SELECT + COALESCE ( - 43, cor0.col2 ) DIV 6 FROM tab2 AS cor0 GROUP BY cor0.col0 ---- -7 -7 -7 skipif mysql # not compatible query I rowsort label-254 SELECT + COALESCE ( - 43, cor0.col2 ) / 6 FROM tab2 AS cor0 GROUP BY cor0.col0 ---- -7 -7 -7 | > | 1942 1943 1944 1945 1946 1947 1948 1949 1950 1951 1952 1953 1954 1955 1956 | SELECT + COALESCE ( - 43, cor0.col2 ) DIV 6 FROM tab2 AS cor0 GROUP BY cor0.col0 ---- -7 -7 -7 skipif mysql # not compatible skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort label-254 SELECT + COALESCE ( - 43, cor0.col2 ) / 6 FROM tab2 AS cor0 GROUP BY cor0.col0 ---- -7 -7 -7 |
︙ | ︙ | |||
2351 2352 2353 2354 2355 2356 2357 2358 2359 2360 2361 2362 2363 2364 | SELECT + - tab2.col1 - - COALESCE ( 22, + tab2.col0 DIV - tab2.col0 ) AS col2 FROM tab2 GROUP BY tab2.col1 ---- -19 -37 -39 skipif mysql # not compatible query I rowsort label-301 SELECT + - tab2.col1 - - COALESCE ( 22, + tab2.col0 / - tab2.col0 ) AS col2 FROM tab2 GROUP BY tab2.col1 ---- -19 -37 -39 | > | 2355 2356 2357 2358 2359 2360 2361 2362 2363 2364 2365 2366 2367 2368 2369 | SELECT + - tab2.col1 - - COALESCE ( 22, + tab2.col0 DIV - tab2.col0 ) AS col2 FROM tab2 GROUP BY tab2.col1 ---- -19 -37 -39 skipif mysql # not compatible skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort label-301 SELECT + - tab2.col1 - - COALESCE ( 22, + tab2.col0 / - tab2.col0 ) AS col2 FROM tab2 GROUP BY tab2.col1 ---- -19 -37 -39 |
︙ | ︙ | |||
3410 3411 3412 3413 3414 3415 3416 3417 3418 3419 3420 3421 3422 3423 | -4814 query I rowsort SELECT DISTINCT - 23 AS col2 FROM tab2 GROUP BY tab2.col2 ---- -23 query I rowsort SELECT ALL + - COALESCE ( 1, + tab0.col1 + tab0.col0, - tab0.col2 ) FROM tab0 GROUP BY tab0.col0 ---- -1 -1 -1 | > | 3415 3416 3417 3418 3419 3420 3421 3422 3423 3424 3425 3426 3427 3428 3429 | -4814 query I rowsort SELECT DISTINCT - 23 AS col2 FROM tab2 GROUP BY tab2.col2 ---- -23 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT ALL + - COALESCE ( 1, + tab0.col1 + tab0.col0, - tab0.col2 ) FROM tab0 GROUP BY tab0.col0 ---- -1 -1 -1 |
︙ | ︙ | |||
3538 3539 3540 3541 3542 3543 3544 3545 3546 3547 3548 3549 3550 3551 | query I rowsort SELECT - - 21 FROM tab0 GROUP BY tab0.col1 ---- 21 21 query I rowsort SELECT DISTINCT - COALESCE ( + 31, - cor0.col1 * col1 + cor0.col2, - 14 * cor0.col1 ) + 37 * + 91 AS col1 FROM tab2 AS cor0 GROUP BY cor0.col2 ---- 3336 query I rowsort SELECT - 38 * - col1 AS col1 FROM tab1 GROUP BY tab1.col1 | > | 3544 3545 3546 3547 3548 3549 3550 3551 3552 3553 3554 3555 3556 3557 3558 | query I rowsort SELECT - - 21 FROM tab0 GROUP BY tab0.col1 ---- 21 21 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT DISTINCT - COALESCE ( + 31, - cor0.col1 * col1 + cor0.col2, - 14 * cor0.col1 ) + 37 * + 91 AS col1 FROM tab2 AS cor0 GROUP BY cor0.col2 ---- 3336 query I rowsort SELECT - 38 * - col1 AS col1 FROM tab1 GROUP BY tab1.col1 |
︙ | ︙ | |||
4394 4395 4396 4397 4398 4399 4400 4401 4402 4403 4404 4405 4406 4407 | query I rowsort SELECT 49 AS col2 FROM tab2 AS cor0 CROSS JOIN tab0 AS cor1 GROUP BY cor0.col1 ---- 49 49 49 query I rowsort SELECT DISTINCT + COALESCE ( 8, cor1.col0 * + 25 ) FROM tab2 AS cor0 CROSS JOIN tab2 cor1 GROUP BY cor1.col2 ---- 8 query I rowsort SELECT - 87 FROM tab0 AS cor0 CROSS JOIN tab2 cor1 GROUP BY cor1.col1 | > | 4401 4402 4403 4404 4405 4406 4407 4408 4409 4410 4411 4412 4413 4414 4415 | query I rowsort SELECT 49 AS col2 FROM tab2 AS cor0 CROSS JOIN tab0 AS cor1 GROUP BY cor0.col1 ---- 49 49 49 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT DISTINCT + COALESCE ( 8, cor1.col0 * + 25 ) FROM tab2 AS cor0 CROSS JOIN tab2 cor1 GROUP BY cor1.col2 ---- 8 query I rowsort SELECT - 87 FROM tab0 AS cor0 CROSS JOIN tab2 cor1 GROUP BY cor1.col1 |
︙ | ︙ | |||
5603 5604 5605 5606 5607 5608 5609 5610 5611 5612 5613 5614 5615 5616 | query I rowsort SELECT ALL 38 FROM tab2 AS cor0 GROUP BY cor0.col2 ---- 38 38 38 query I rowsort SELECT + COALESCE ( 16, - col0 ) + + 69 AS col0 FROM tab0 AS cor0 GROUP BY cor0.col1 ---- 85 85 query I rowsort | > | 5611 5612 5613 5614 5615 5616 5617 5618 5619 5620 5621 5622 5623 5624 5625 | query I rowsort SELECT ALL 38 FROM tab2 AS cor0 GROUP BY cor0.col2 ---- 38 38 38 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT + COALESCE ( 16, - col0 ) + + 69 AS col0 FROM tab0 AS cor0 GROUP BY cor0.col1 ---- 85 85 query I rowsort |
︙ | ︙ | |||
5651 5652 5653 5654 5655 5656 5657 5658 5659 5660 5661 5662 5663 5664 | query I rowsort SELECT - 0 AS col2 FROM tab1 GROUP BY tab1.col1 ---- 0 0 0 query I rowsort SELECT ALL - CASE 2 WHEN tab2.col2 THEN NULL WHEN 28 THEN tab2.col1 + - tab2.col0 END AS col0 FROM tab2 GROUP BY tab2.col2 ---- NULL NULL NULL | > | 5660 5661 5662 5663 5664 5665 5666 5667 5668 5669 5670 5671 5672 5673 5674 | query I rowsort SELECT - 0 AS col2 FROM tab1 GROUP BY tab1.col1 ---- 0 0 0 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT ALL - CASE 2 WHEN tab2.col2 THEN NULL WHEN 28 THEN tab2.col1 + - tab2.col0 END AS col0 FROM tab2 GROUP BY tab2.col2 ---- NULL NULL NULL |
︙ | ︙ | |||
6226 6227 6228 6229 6230 6231 6232 6233 6234 6235 6236 6237 6238 6239 | query I rowsort label-829 SELECT CASE - cor0.col0 WHEN CAST( NULL AS SIGNED ) THEN cor0.col2 END AS col2 FROM tab0 AS cor0 GROUP BY cor0.col1 ---- NULL NULL skipif mysql # not compatible query I rowsort label-829 SELECT CASE - cor0.col0 WHEN CAST ( NULL AS INTEGER ) THEN cor0.col2 END AS col2 FROM tab0 AS cor0 GROUP BY cor0.col1 ---- NULL NULL query I rowsort | > | 6236 6237 6238 6239 6240 6241 6242 6243 6244 6245 6246 6247 6248 6249 6250 | query I rowsort label-829 SELECT CASE - cor0.col0 WHEN CAST( NULL AS SIGNED ) THEN cor0.col2 END AS col2 FROM tab0 AS cor0 GROUP BY cor0.col1 ---- NULL NULL skipif mysql # not compatible skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort label-829 SELECT CASE - cor0.col0 WHEN CAST ( NULL AS INTEGER ) THEN cor0.col2 END AS col2 FROM tab0 AS cor0 GROUP BY cor0.col1 ---- NULL NULL query I rowsort |
︙ | ︙ | |||
7095 7096 7097 7098 7099 7100 7101 7102 7103 7104 7105 7106 7107 7108 7109 7110 7111 7112 7113 | query I rowsort SELECT 95 AS col1 FROM tab2 GROUP BY tab2.col2 ---- 95 95 95 query I rowsort SELECT DISTINCT - COALESCE ( 4, cor0.col2, - cor0.col0 * ( + cor0.col2 ) ) FROM tab2 AS cor0 GROUP BY cor0.col1 ---- -4 query I rowsort SELECT DISTINCT - COALESCE ( - 47, - cor0.col1 * cor0.col2 + - col2, - cor0.col0 * cor0.col2, cor0.col1 ) FROM tab2 AS cor0 GROUP BY cor0.col1 ---- 47 query I rowsort SELECT ALL 42 AS col1 FROM tab1 AS cor0 CROSS JOIN tab1 cor1 GROUP BY cor1.col1, cor1.col0 | > > | 7106 7107 7108 7109 7110 7111 7112 7113 7114 7115 7116 7117 7118 7119 7120 7121 7122 7123 7124 7125 7126 | query I rowsort SELECT 95 AS col1 FROM tab2 GROUP BY tab2.col2 ---- 95 95 95 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT DISTINCT - COALESCE ( 4, cor0.col2, - cor0.col0 * ( + cor0.col2 ) ) FROM tab2 AS cor0 GROUP BY cor0.col1 ---- -4 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT DISTINCT - COALESCE ( - 47, - cor0.col1 * cor0.col2 + - col2, - cor0.col0 * cor0.col2, cor0.col1 ) FROM tab2 AS cor0 GROUP BY cor0.col1 ---- 47 query I rowsort SELECT ALL 42 AS col1 FROM tab1 AS cor0 CROSS JOIN tab1 cor1 GROUP BY cor1.col1, cor1.col0 |
︙ | ︙ | |||
7633 7634 7635 7636 7637 7638 7639 7640 7641 7642 7643 7644 7645 7646 | query I rowsort SELECT ALL cor0.col1 col2 FROM tab1 AS cor0 GROUP BY cor0.col0, col1 ---- 44 57 6 query I rowsort SELECT COALESCE ( + 90, + cor0.col1 + + 2 * - cor1.col1, + cor0.col1 * + cor1.col0 ) AS col0 FROM tab1 AS cor0 CROSS JOIN tab1 AS cor1 GROUP BY cor0.col0 ---- 90 90 90 | > | 7646 7647 7648 7649 7650 7651 7652 7653 7654 7655 7656 7657 7658 7659 7660 | query I rowsort SELECT ALL cor0.col1 col2 FROM tab1 AS cor0 GROUP BY cor0.col0, col1 ---- 44 57 6 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT COALESCE ( + 90, + cor0.col1 + + 2 * - cor1.col1, + cor0.col1 * + cor1.col0 ) AS col0 FROM tab1 AS cor0 CROSS JOIN tab1 AS cor1 GROUP BY cor0.col0 ---- 90 90 90 |
︙ | ︙ | |||
9156 9157 9158 9159 9160 9161 9162 9163 9164 9165 9166 9167 9168 9169 | query I rowsort SELECT ALL 63 * col1 AS col0 FROM tab2 AS cor0 GROUP BY col1 ---- 2583 3717 3843 query I rowsort SELECT COALESCE ( 57, + tab0.col0 ) FROM tab0 GROUP BY tab0.col2 ---- 57 57 57 | > | 9170 9171 9172 9173 9174 9175 9176 9177 9178 9179 9180 9181 9182 9183 9184 | query I rowsort SELECT ALL 63 * col1 AS col0 FROM tab2 AS cor0 GROUP BY col1 ---- 2583 3717 3843 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT COALESCE ( 57, + tab0.col0 ) FROM tab0 GROUP BY tab0.col2 ---- 57 57 57 |
︙ | ︙ | |||
10153 10154 10155 10156 10157 10158 10159 10160 10161 10162 10163 10164 10165 10166 | query I rowsort SELECT ALL + COALESCE ( + cor0.col2, 49 ) AS col0 FROM tab1 AS cor0 GROUP BY cor0.col2 ---- 45 71 8 query I rowsort SELECT ALL - COALESCE ( 58, + tab0.col1 * + col0, - tab0.col1 ) AS col2 FROM tab0 GROUP BY tab0.col2 ---- -58 -58 -58 | > | 10168 10169 10170 10171 10172 10173 10174 10175 10176 10177 10178 10179 10180 10181 10182 | query I rowsort SELECT ALL + COALESCE ( + cor0.col2, 49 ) AS col0 FROM tab1 AS cor0 GROUP BY cor0.col2 ---- 45 71 8 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT ALL - COALESCE ( 58, + tab0.col1 * + col0, - tab0.col1 ) AS col2 FROM tab0 GROUP BY tab0.col2 ---- -58 -58 -58 |
︙ | ︙ | |||
11289 11290 11291 11292 11293 11294 11295 11296 11297 11298 11299 11300 11301 11302 | -7665 query I rowsort SELECT DISTINCT - 31 FROM tab1 cor0 GROUP BY cor0.col0 ---- -31 query I rowsort SELECT + COALESCE ( + 40, tab2.col0, ( tab2.col1 ) * - 44 - tab2.col2 ) * - 62 FROM tab2 GROUP BY tab2.col2 ---- -2480 -2480 -2480 | > | 11305 11306 11307 11308 11309 11310 11311 11312 11313 11314 11315 11316 11317 11318 11319 | -7665 query I rowsort SELECT DISTINCT - 31 FROM tab1 cor0 GROUP BY cor0.col0 ---- -31 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT + COALESCE ( + 40, tab2.col0, ( tab2.col1 ) * - 44 - tab2.col2 ) * - 62 FROM tab2 GROUP BY tab2.col2 ---- -2480 -2480 -2480 |
︙ | ︙ | |||
12562 12563 12564 12565 12566 12567 12568 12569 12570 12571 12572 12573 12574 12575 | query I rowsort SELECT DISTINCT + + col0 AS col2 FROM tab1 GROUP BY tab1.col0 ---- 22 28 82 query I rowsort SELECT COALESCE ( 33, + cor0.col1 ) AS col0 FROM tab0 AS cor0 GROUP BY cor0.col0 ---- 33 33 33 | > | 12579 12580 12581 12582 12583 12584 12585 12586 12587 12588 12589 12590 12591 12592 12593 | query I rowsort SELECT DISTINCT + + col0 AS col2 FROM tab1 GROUP BY tab1.col0 ---- 22 28 82 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT COALESCE ( 33, + cor0.col1 ) AS col0 FROM tab0 AS cor0 GROUP BY cor0.col0 ---- 33 33 33 |
︙ | ︙ | |||
13103 13104 13105 13106 13107 13108 13109 13110 13111 13112 13113 13114 13115 13116 | query I rowsort SELECT DISTINCT + + ( tab1.col1 ) AS col0 FROM tab1 GROUP BY tab1.col1 ---- 44 57 6 query I rowsort SELECT DISTINCT + COALESCE ( - 13, cor0.col2 ) FROM tab1 cor0 GROUP BY cor0.col1 ---- -13 query I rowsort SELECT DISTINCT - 65 AS col0 FROM tab0 cor0 GROUP BY col0 | > | 13121 13122 13123 13124 13125 13126 13127 13128 13129 13130 13131 13132 13133 13134 13135 | query I rowsort SELECT DISTINCT + + ( tab1.col1 ) AS col0 FROM tab1 GROUP BY tab1.col1 ---- 44 57 6 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT DISTINCT + COALESCE ( - 13, cor0.col2 ) FROM tab1 cor0 GROUP BY cor0.col1 ---- -13 query I rowsort SELECT DISTINCT - 65 AS col0 FROM tab0 cor0 GROUP BY col0 |
︙ | ︙ | |||
15519 15520 15521 15522 15523 15524 15525 15526 15527 15528 15529 15530 15531 15532 | onlyif mysql # DIV for integer division: query I rowsort label-2089 SELECT DISTINCT + COALESCE ( tab2.col0, tab2.col0 + 53, + 12, - tab2.col2 + tab2.col1, + tab2.col0 DIV col1 ) DIV col0 FROM tab2 GROUP BY col0 ---- 1 skipif mysql # not compatible query I rowsort label-2089 SELECT DISTINCT + COALESCE ( tab2.col0, tab2.col0 + 53, + 12, - tab2.col2 + tab2.col1, + tab2.col0 / col1 ) / col0 FROM tab2 GROUP BY col0 ---- 1 query I rowsort SELECT + 60 FROM tab1 AS cor0 GROUP BY cor0.col2, cor0.col1 | > | 15538 15539 15540 15541 15542 15543 15544 15545 15546 15547 15548 15549 15550 15551 15552 | onlyif mysql # DIV for integer division: query I rowsort label-2089 SELECT DISTINCT + COALESCE ( tab2.col0, tab2.col0 + 53, + 12, - tab2.col2 + tab2.col1, + tab2.col0 DIV col1 ) DIV col0 FROM tab2 GROUP BY col0 ---- 1 skipif mysql # not compatible skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort label-2089 SELECT DISTINCT + COALESCE ( tab2.col0, tab2.col0 + 53, + 12, - tab2.col2 + tab2.col1, + tab2.col0 / col1 ) / col0 FROM tab2 GROUP BY col0 ---- 1 query I rowsort SELECT + 60 FROM tab1 AS cor0 GROUP BY cor0.col2, cor0.col1 |
︙ | ︙ | |||
18484 18485 18486 18487 18488 18489 18490 18491 18492 18493 18494 18495 18496 18497 | query I rowsort SELECT 6 col0 FROM tab1 AS cor0 GROUP BY cor0.col0 ---- 6 6 6 query I rowsort SELECT - + tab0.col1 - + COALESCE ( 52, tab0.col0, - col0 ) AS col1 FROM tab0 GROUP BY tab0.col1 ---- -133 -52 query I rowsort | > | 18504 18505 18506 18507 18508 18509 18510 18511 18512 18513 18514 18515 18516 18517 18518 | query I rowsort SELECT 6 col0 FROM tab1 AS cor0 GROUP BY cor0.col0 ---- 6 6 6 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT - + tab0.col1 - + COALESCE ( 52, tab0.col0, - col0 ) AS col1 FROM tab0 GROUP BY tab0.col1 ---- -133 -52 query I rowsort |
︙ | ︙ | |||
19750 19751 19752 19753 19754 19755 19756 19757 19758 19759 19760 19761 19762 19763 | 36 query I rowsort SELECT DISTINCT 0 FROM tab1 GROUP BY col2 ---- 0 query I rowsort SELECT ALL + COALESCE ( + 31, tab2.col0 ) FROM tab2 GROUP BY col2 ---- 31 31 31 | > | 19771 19772 19773 19774 19775 19776 19777 19778 19779 19780 19781 19782 19783 19784 19785 | 36 query I rowsort SELECT DISTINCT 0 FROM tab1 GROUP BY col2 ---- 0 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT ALL + COALESCE ( + 31, tab2.col0 ) FROM tab2 GROUP BY col2 ---- 31 31 31 |
︙ | ︙ | |||
21124 21125 21126 21127 21128 21129 21130 21131 21132 21133 21134 21135 21136 21137 | SELECT COALESCE ( 29, - tab0.col2 + + ( tab0.col0 ), tab0.col2 + col0 DIV - tab0.col2 ) AS col2 FROM tab0 GROUP BY tab0.col2 ---- 29 29 29 skipif mysql # not compatible query I rowsort label-2847 SELECT COALESCE ( 29, - tab0.col2 + + ( tab0.col0 ), tab0.col2 + col0 / - tab0.col2 ) AS col2 FROM tab0 GROUP BY tab0.col2 ---- 29 29 29 | > | 21146 21147 21148 21149 21150 21151 21152 21153 21154 21155 21156 21157 21158 21159 21160 | SELECT COALESCE ( 29, - tab0.col2 + + ( tab0.col0 ), tab0.col2 + col0 DIV - tab0.col2 ) AS col2 FROM tab0 GROUP BY tab0.col2 ---- 29 29 29 skipif mysql # not compatible skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort label-2847 SELECT COALESCE ( 29, - tab0.col2 + + ( tab0.col0 ), tab0.col2 + col0 / - tab0.col2 ) AS col2 FROM tab0 GROUP BY tab0.col2 ---- 29 29 29 |
︙ | ︙ | |||
22069 22070 22071 22072 22073 22074 22075 22076 22077 22078 22079 22080 22081 22082 | -16 -90 query I rowsort SELECT ALL cor0.col1 AS col1 FROM tab2 cor0 GROUP BY cor0.col1 HAVING NULL IS NOT NULL ---- query I rowsort SELECT DISTINCT COALESCE ( - 35, cor0.col1 ) AS col0 FROM tab1 AS cor0 GROUP BY cor0.col2 ---- -35 query I rowsort SELECT DISTINCT - ( 6 ) FROM tab0 AS cor0 GROUP BY cor0.col0 | > | 22092 22093 22094 22095 22096 22097 22098 22099 22100 22101 22102 22103 22104 22105 22106 | -16 -90 query I rowsort SELECT ALL cor0.col1 AS col1 FROM tab2 cor0 GROUP BY cor0.col1 HAVING NULL IS NOT NULL ---- skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT DISTINCT COALESCE ( - 35, cor0.col1 ) AS col0 FROM tab1 AS cor0 GROUP BY cor0.col2 ---- -35 query I rowsort SELECT DISTINCT - ( 6 ) FROM tab0 AS cor0 GROUP BY cor0.col0 |
︙ | ︙ | |||
22389 22390 22391 22392 22393 22394 22395 22396 22397 22398 22399 22400 22401 22402 | query I rowsort SELECT col1 * 68 AS col1 FROM tab2 GROUP BY tab2.col1 ---- 2788 4012 4148 query I rowsort SELECT + COALESCE ( - 93, cor0.col0 ) FROM tab0 cor0 GROUP BY cor0.col2 ---- -93 -93 -93 | > | 22413 22414 22415 22416 22417 22418 22419 22420 22421 22422 22423 22424 22425 22426 22427 | query I rowsort SELECT col1 * 68 AS col1 FROM tab2 GROUP BY tab2.col1 ---- 2788 4012 4148 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT + COALESCE ( - 93, cor0.col0 ) FROM tab0 cor0 GROUP BY cor0.col2 ---- -93 -93 -93 |
︙ | ︙ | |||
23192 23193 23194 23195 23196 23197 23198 23199 23200 23201 23202 23203 23204 23205 | query I rowsort label-3123 SELECT + 14 DIV COALESCE ( 62, tab0.col0 + - tab0.col2, tab0.col1 ) FROM tab0 GROUP BY tab0.col1 ---- 0 0 skipif mysql # not compatible query I rowsort label-3123 SELECT + 14 / COALESCE ( 62, tab0.col0 + - tab0.col2, tab0.col1 ) FROM tab0 GROUP BY tab0.col1 ---- 0 0 query I rowsort | > | 23217 23218 23219 23220 23221 23222 23223 23224 23225 23226 23227 23228 23229 23230 23231 | query I rowsort label-3123 SELECT + 14 DIV COALESCE ( 62, tab0.col0 + - tab0.col2, tab0.col1 ) FROM tab0 GROUP BY tab0.col1 ---- 0 0 skipif mysql # not compatible skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort label-3123 SELECT + 14 / COALESCE ( 62, tab0.col0 + - tab0.col2, tab0.col1 ) FROM tab0 GROUP BY tab0.col1 ---- 0 0 query I rowsort |
︙ | ︙ | |||
23233 23234 23235 23236 23237 23238 23239 23240 23241 23242 23243 23244 23245 23246 | SELECT ALL + COALESCE ( + 80, - cor0.col2 - - cor0.col1 * + cor0.col1 ) DIV + 28 FROM tab1 AS cor0 GROUP BY cor0.col0, cor0.col1 ---- 2 2 2 skipif mysql # not compatible query I rowsort label-3127 SELECT ALL + COALESCE ( + 80, - cor0.col2 - - cor0.col1 * + cor0.col1 ) / + 28 FROM tab1 AS cor0 GROUP BY cor0.col0, cor0.col1 ---- 2 2 2 | > | 23259 23260 23261 23262 23263 23264 23265 23266 23267 23268 23269 23270 23271 23272 23273 | SELECT ALL + COALESCE ( + 80, - cor0.col2 - - cor0.col1 * + cor0.col1 ) DIV + 28 FROM tab1 AS cor0 GROUP BY cor0.col0, cor0.col1 ---- 2 2 2 skipif mysql # not compatible skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort label-3127 SELECT ALL + COALESCE ( + 80, - cor0.col2 - - cor0.col1 * + cor0.col1 ) / + 28 FROM tab1 AS cor0 GROUP BY cor0.col0, cor0.col1 ---- 2 2 2 |
︙ | ︙ | |||
23803 23804 23805 23806 23807 23808 23809 23810 23811 23812 23813 23814 23815 23816 | -46 query I rowsort SELECT DISTINCT 95 FROM tab2 AS cor0 GROUP BY cor0.col1, cor0.col2, cor0.col1 ---- 95 query I rowsort SELECT ALL - COALESCE ( - 69, + cor0.col0 ) AS col1 FROM tab2 cor0 GROUP BY cor0.col1 ---- 69 69 69 | > | 23830 23831 23832 23833 23834 23835 23836 23837 23838 23839 23840 23841 23842 23843 23844 | -46 query I rowsort SELECT DISTINCT 95 FROM tab2 AS cor0 GROUP BY cor0.col1, cor0.col2, cor0.col1 ---- 95 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT ALL - COALESCE ( - 69, + cor0.col0 ) AS col1 FROM tab2 cor0 GROUP BY cor0.col1 ---- 69 69 69 |
︙ | ︙ | |||
23968 23969 23970 23971 23972 23973 23974 23975 23976 23977 23978 23979 23980 23981 | SELECT + COALESCE ( 14, cor0.col0 DIV cor0.col1 ) + 65 AS col2 FROM tab2 AS cor0 GROUP BY cor0.col2, cor0.col1 ---- 79 79 79 skipif mysql # not compatible query I rowsort label-3221 SELECT + COALESCE ( 14, cor0.col0 / cor0.col1 ) + 65 AS col2 FROM tab2 AS cor0 GROUP BY cor0.col2, cor0.col1 ---- 79 79 79 | > | 23996 23997 23998 23999 24000 24001 24002 24003 24004 24005 24006 24007 24008 24009 24010 | SELECT + COALESCE ( 14, cor0.col0 DIV cor0.col1 ) + 65 AS col2 FROM tab2 AS cor0 GROUP BY cor0.col2, cor0.col1 ---- 79 79 79 skipif mysql # not compatible skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort label-3221 SELECT + COALESCE ( 14, cor0.col0 / cor0.col1 ) + 65 AS col2 FROM tab2 AS cor0 GROUP BY cor0.col2, cor0.col1 ---- 79 79 79 |
︙ | ︙ | |||
24494 24495 24496 24497 24498 24499 24500 24501 24502 24503 24504 24505 24506 24507 | query I rowsort SELECT ALL col0 * + 39 col2 FROM tab0 AS cor0 GROUP BY cor0.col0 ---- 1014 1677 3237 query I rowsort SELECT ALL - COALESCE ( - 91, + cor0.col2, cor0.col1 + + 51, col0 * cor0.col1 + col2 ) FROM tab1 AS cor0 GROUP BY cor0.col0 ---- 91 91 91 | > | 24523 24524 24525 24526 24527 24528 24529 24530 24531 24532 24533 24534 24535 24536 24537 | query I rowsort SELECT ALL col0 * + 39 col2 FROM tab0 AS cor0 GROUP BY cor0.col0 ---- 1014 1677 3237 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT ALL - COALESCE ( - 91, + cor0.col2, cor0.col1 + + 51, col0 * cor0.col1 + col2 ) FROM tab1 AS cor0 GROUP BY cor0.col0 ---- 91 91 91 |
︙ | ︙ | |||
24911 24912 24913 24914 24915 24916 24917 24918 24919 24920 24921 24922 24923 24924 | query I rowsort SELECT 69 col2 FROM tab0 GROUP BY tab0.col0 ---- 69 69 69 query I rowsort SELECT + tab0.col2 + 56 * COALESCE ( 96, tab0.col1 * + tab0.col2 + tab0.col2 * + tab0.col0 ) FROM tab0 GROUP BY tab0.col2 ---- 5400 5414 5455 | > | 24941 24942 24943 24944 24945 24946 24947 24948 24949 24950 24951 24952 24953 24954 24955 | query I rowsort SELECT 69 col2 FROM tab0 GROUP BY tab0.col0 ---- 69 69 69 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT + tab0.col2 + 56 * COALESCE ( 96, tab0.col1 * + tab0.col2 + tab0.col2 * + tab0.col0 ) FROM tab0 GROUP BY tab0.col2 ---- 5400 5414 5455 |
︙ | ︙ | |||
25143 25144 25145 25146 25147 25148 25149 25150 25151 25152 25153 25154 25155 25156 | query I rowsort label-3383 SELECT - - tab2.col0 / tab2.col0 AS col0 FROM tab2 GROUP BY tab2.col0 ---- 1 1 1 query I rowsort SELECT DISTINCT COALESCE ( - 56, - cor0.col1, col2 * - cor0.col1 ) AS col2 FROM tab0 AS cor0 GROUP BY cor0.col0 ---- -56 skipif postgresql # PostgreSQL requires AS when renaming output columns query I rowsort | > | 25174 25175 25176 25177 25178 25179 25180 25181 25182 25183 25184 25185 25186 25187 25188 | query I rowsort label-3383 SELECT - - tab2.col0 / tab2.col0 AS col0 FROM tab2 GROUP BY tab2.col0 ---- 1 1 1 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT DISTINCT COALESCE ( - 56, - cor0.col1, col2 * - cor0.col1 ) AS col2 FROM tab0 AS cor0 GROUP BY cor0.col0 ---- -56 skipif postgresql # PostgreSQL requires AS when renaming output columns query I rowsort |
︙ | ︙ | |||
27003 27004 27005 27006 27007 27008 27009 27010 27011 27012 27013 27014 27015 27016 | SELECT col1 DIV COALESCE ( - 34, - col1 * cor0.col2, cor0.col1, + cor0.col2 + cor0.col0 ) FROM tab0 AS cor0 GROUP BY cor0.col2, cor0.col1 ---- -2 0 0 skipif mysql # not compatible query I rowsort label-3632 SELECT col1 / COALESCE ( - 34, - col1 * cor0.col2, cor0.col1, + cor0.col2 + cor0.col0 ) FROM tab0 AS cor0 GROUP BY cor0.col2, cor0.col1 ---- -2 0 0 | > | 27035 27036 27037 27038 27039 27040 27041 27042 27043 27044 27045 27046 27047 27048 27049 | SELECT col1 DIV COALESCE ( - 34, - col1 * cor0.col2, cor0.col1, + cor0.col2 + cor0.col0 ) FROM tab0 AS cor0 GROUP BY cor0.col2, cor0.col1 ---- -2 0 0 skipif mysql # not compatible skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort label-3632 SELECT col1 / COALESCE ( - 34, - col1 * cor0.col2, cor0.col1, + cor0.col2 + cor0.col0 ) FROM tab0 AS cor0 GROUP BY cor0.col2, cor0.col1 ---- -2 0 0 |
︙ | ︙ | |||
28144 28145 28146 28147 28148 28149 28150 28151 28152 28153 28154 28155 28156 28157 | query I rowsort SELECT ALL 37 AS col1 FROM tab0 AS cor0 GROUP BY cor0.col1 ---- 37 37 query I rowsort SELECT ALL - COALESCE ( 65, cor0.col1 * 39 ) FROM tab0 AS cor0 GROUP BY cor0.col0, cor0.col2 ---- -65 -65 -65 | > | 28177 28178 28179 28180 28181 28182 28183 28184 28185 28186 28187 28188 28189 28190 28191 | query I rowsort SELECT ALL 37 AS col1 FROM tab0 AS cor0 GROUP BY cor0.col1 ---- 37 37 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT ALL - COALESCE ( 65, cor0.col1 * 39 ) FROM tab0 AS cor0 GROUP BY cor0.col0, cor0.col2 ---- -65 -65 -65 |
︙ | ︙ | |||
28301 28302 28303 28304 28305 28306 28307 28308 28309 28310 28311 28312 28313 28314 | query I rowsort label-3803 SELECT + cor0.col0 * - 61 + + cor0.col1 / - cor0.col1 col1 FROM tab2 cor0 GROUP BY cor0.col1, cor0.col1, cor0.col0 ---- -5552 -5613 -916 query I rowsort SELECT DISTINCT COALESCE ( + 4, col1, col2 ) FROM tab2 AS cor0 GROUP BY cor0.col2 ---- 4 query I rowsort SELECT DISTINCT ( 7 ) AS col2 FROM tab0 cor0 GROUP BY cor0.col2, cor0.col1, cor0.col2 | > | 28335 28336 28337 28338 28339 28340 28341 28342 28343 28344 28345 28346 28347 28348 28349 | query I rowsort label-3803 SELECT + cor0.col0 * - 61 + + cor0.col1 / - cor0.col1 col1 FROM tab2 cor0 GROUP BY cor0.col1, cor0.col1, cor0.col0 ---- -5552 -5613 -916 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT DISTINCT COALESCE ( + 4, col1, col2 ) FROM tab2 AS cor0 GROUP BY cor0.col2 ---- 4 query I rowsort SELECT DISTINCT ( 7 ) AS col2 FROM tab0 cor0 GROUP BY cor0.col2, cor0.col1, cor0.col2 |
︙ | ︙ | |||
30911 30912 30913 30914 30915 30916 30917 30918 30919 30920 30921 30922 30923 30924 | query I rowsort SELECT - tab1.col0 * - 44 col2 FROM tab1 GROUP BY tab1.col0 ---- 1232 3608 968 query I rowsort SELECT - COALESCE ( + 67, tab1.col2 * + tab1.col0 + - tab1.col2, - col0 ) FROM tab1 GROUP BY tab1.col2 ---- -67 -67 -67 | > | 30946 30947 30948 30949 30950 30951 30952 30953 30954 30955 30956 30957 30958 30959 30960 | query I rowsort SELECT - tab1.col0 * - 44 col2 FROM tab1 GROUP BY tab1.col0 ---- 1232 3608 968 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT - COALESCE ( + 67, tab1.col2 * + tab1.col0 + - tab1.col2, - col0 ) FROM tab1 GROUP BY tab1.col2 ---- -67 -67 -67 |
︙ | ︙ | |||
31666 31667 31668 31669 31670 31671 31672 31673 31674 31675 31676 31677 31678 31679 | query I rowsort SELECT - + tab1.col0 + + tab1.col0 AS col1 FROM tab1 GROUP BY tab1.col0 ---- 0 0 0 query I rowsort SELECT + COALESCE ( 44, + cor0.col2 ) * - cor0.col1 FROM tab1 AS cor0 GROUP BY cor0.col1 ---- -1936 -2508 -264 | > | 31702 31703 31704 31705 31706 31707 31708 31709 31710 31711 31712 31713 31714 31715 31716 | query I rowsort SELECT - + tab1.col0 + + tab1.col0 AS col1 FROM tab1 GROUP BY tab1.col0 ---- 0 0 0 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT + COALESCE ( 44, + cor0.col2 ) * - cor0.col1 FROM tab1 AS cor0 GROUP BY cor0.col1 ---- -1936 -2508 -264 |
︙ | ︙ | |||
32315 32316 32317 32318 32319 32320 32321 32322 32323 32324 32325 32326 32327 32328 | SELECT COALESCE ( 52, + cor0.col0, cor0.col1 - - 15 * col1 ) DIV - cor0.col1 AS col0 FROM tab2 cor0 GROUP BY col1 ---- -1 0 0 skipif mysql # not compatible query I rowsort label-4334 SELECT COALESCE ( 52, + cor0.col0, cor0.col1 - - 15 * col1 ) / - cor0.col1 AS col0 FROM tab2 cor0 GROUP BY col1 ---- -1 0 0 | > | 32352 32353 32354 32355 32356 32357 32358 32359 32360 32361 32362 32363 32364 32365 32366 | SELECT COALESCE ( 52, + cor0.col0, cor0.col1 - - 15 * col1 ) DIV - cor0.col1 AS col0 FROM tab2 cor0 GROUP BY col1 ---- -1 0 0 skipif mysql # not compatible skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort label-4334 SELECT COALESCE ( 52, + cor0.col0, cor0.col1 - - 15 * col1 ) / - cor0.col1 AS col0 FROM tab2 cor0 GROUP BY col1 ---- -1 0 0 |
︙ | ︙ | |||
33045 33046 33047 33048 33049 33050 33051 33052 33053 33054 33055 33056 33057 33058 | onlyif mysql # DIV for integer division: query I rowsort label-4429 SELECT DISTINCT - COALESCE ( 79, cor0.col2 DIV + 94 ) FROM tab0 AS cor0 GROUP BY cor0.col0 ---- -79 skipif mysql # not compatible query I rowsort label-4429 SELECT DISTINCT - COALESCE ( 79, cor0.col2 / + 94 ) FROM tab0 AS cor0 GROUP BY cor0.col0 ---- -79 query I rowsort SELECT - 0 AS col1 FROM tab1 GROUP BY tab1.col2 | > | 33083 33084 33085 33086 33087 33088 33089 33090 33091 33092 33093 33094 33095 33096 33097 | onlyif mysql # DIV for integer division: query I rowsort label-4429 SELECT DISTINCT - COALESCE ( 79, cor0.col2 DIV + 94 ) FROM tab0 AS cor0 GROUP BY cor0.col0 ---- -79 skipif mysql # not compatible skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort label-4429 SELECT DISTINCT - COALESCE ( 79, cor0.col2 / + 94 ) FROM tab0 AS cor0 GROUP BY cor0.col0 ---- -79 query I rowsort SELECT - 0 AS col1 FROM tab1 GROUP BY tab1.col2 |
︙ | ︙ | |||
33445 33446 33447 33448 33449 33450 33451 33452 33453 33454 33455 33456 33457 33458 | 46 72 query I rowsort SELECT - cor0.col1 FROM tab2 AS cor0 CROSS JOIN tab0 WHERE NOT - tab0.col2 * - tab0.col2 IS NOT NULL GROUP BY cor0.col1 ---- query I rowsort SELECT + COALESCE ( 96, cor0.col0 * + col1 ) AS col0 FROM tab1 cor0 GROUP BY cor0.col1 ---- 96 96 96 | > | 33484 33485 33486 33487 33488 33489 33490 33491 33492 33493 33494 33495 33496 33497 33498 | 46 72 query I rowsort SELECT - cor0.col1 FROM tab2 AS cor0 CROSS JOIN tab0 WHERE NOT - tab0.col2 * - tab0.col2 IS NOT NULL GROUP BY cor0.col1 ---- skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT + COALESCE ( 96, cor0.col0 * + col1 ) AS col0 FROM tab1 cor0 GROUP BY cor0.col1 ---- 96 96 96 |
︙ | ︙ | |||
34361 34362 34363 34364 34365 34366 34367 34368 34369 34370 34371 34372 34373 34374 | query I rowsort SELECT - 54 + - tab2.col0 AS col2 FROM tab2 GROUP BY col0 ---- -145 -146 -69 query I rowsort SELECT - COALESCE ( - 75, + cor0.col0 + + cor0.col0 * cor0.col2 ) AS col0 FROM tab2 AS cor0 GROUP BY cor0.col1 ---- 75 75 75 | > | 34401 34402 34403 34404 34405 34406 34407 34408 34409 34410 34411 34412 34413 34414 34415 | query I rowsort SELECT - 54 + - tab2.col0 AS col2 FROM tab2 GROUP BY col0 ---- -145 -146 -69 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT - COALESCE ( - 75, + cor0.col0 + + cor0.col0 * cor0.col2 ) AS col0 FROM tab2 AS cor0 GROUP BY cor0.col1 ---- 75 75 75 |
︙ | ︙ | |||
35155 35156 35157 35158 35159 35160 35161 35162 35163 35164 35165 35166 35167 35168 | query I rowsort SELECT 69 AS col2 FROM tab0 GROUP BY tab0.col1 ---- 69 69 query I rowsort SELECT COALESCE ( 6, 89, tab0.col1 * + 21 - + 28 ) AS col1 FROM tab0 GROUP BY tab0.col2 ---- 6 6 6 | > | 35196 35197 35198 35199 35200 35201 35202 35203 35204 35205 35206 35207 35208 35209 35210 | query I rowsort SELECT 69 AS col2 FROM tab0 GROUP BY tab0.col1 ---- 69 69 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT COALESCE ( 6, 89, tab0.col1 * + 21 - + 28 ) AS col1 FROM tab0 GROUP BY tab0.col2 ---- 6 6 6 |
︙ | ︙ | |||
35513 35514 35515 35516 35517 35518 35519 35520 35521 35522 35523 35524 35525 35526 | query I rowsort SELECT 56 * - col0 FROM tab1 GROUP BY tab1.col0 ---- -1232 -1568 -4592 query I rowsort SELECT + COALESCE ( 52, cor0.col2 * cor0.col1 ) * cor0.col2 FROM tab2 AS cor0 GROUP BY col2 ---- 3016 4108 4524 | > | 35555 35556 35557 35558 35559 35560 35561 35562 35563 35564 35565 35566 35567 35568 35569 | query I rowsort SELECT 56 * - col0 FROM tab1 GROUP BY tab1.col0 ---- -1232 -1568 -4592 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT + COALESCE ( 52, cor0.col2 * cor0.col1 ) * cor0.col2 FROM tab2 AS cor0 GROUP BY col2 ---- 3016 4108 4524 |
︙ | ︙ | |||
37695 37696 37697 37698 37699 37700 37701 37702 37703 37704 37705 37706 37707 37708 | 0 query I rowsort SELECT DISTINCT + 63 AS col2 FROM tab1 AS cor0 CROSS JOIN tab1 cor1 GROUP BY cor0.col1 ---- 63 query I rowsort SELECT + + COALESCE ( 65, tab2.col2 - - tab2.col2 ) AS col1 FROM tab2 GROUP BY col0 ---- 65 65 65 | > | 37738 37739 37740 37741 37742 37743 37744 37745 37746 37747 37748 37749 37750 37751 37752 | 0 query I rowsort SELECT DISTINCT + 63 AS col2 FROM tab1 AS cor0 CROSS JOIN tab1 cor1 GROUP BY cor0.col1 ---- 63 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT + + COALESCE ( 65, tab2.col2 - - tab2.col2 ) AS col1 FROM tab2 GROUP BY col0 ---- 65 65 65 |
︙ | ︙ | |||
38321 38322 38323 38324 38325 38326 38327 38328 38329 38330 38331 38332 38333 38334 | query I rowsort SELECT - ( - 10 ) FROM tab0 AS cor0 GROUP BY cor0.col2 ---- 10 10 10 query I rowsort SELECT COALESCE ( - 68, - cor0.col0 * cor0.col1, cor0.col0 ) AS col1 FROM tab2 AS cor0 GROUP BY cor0.col2 ---- -68 -68 -68 | > | 38365 38366 38367 38368 38369 38370 38371 38372 38373 38374 38375 38376 38377 38378 38379 | query I rowsort SELECT - ( - 10 ) FROM tab0 AS cor0 GROUP BY cor0.col2 ---- 10 10 10 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT COALESCE ( - 68, - cor0.col0 * cor0.col1, cor0.col0 ) AS col1 FROM tab2 AS cor0 GROUP BY cor0.col2 ---- -68 -68 -68 |
︙ | ︙ | |||
38692 38693 38694 38695 38696 38697 38698 38699 38700 38701 38702 38703 38704 38705 | query I rowsort SELECT ALL - 86 FROM tab1 AS cor0 GROUP BY cor0.col0 ---- -86 -86 -86 query I rowsort SELECT - COALESCE ( - 89, + cor0.col1 ) FROM tab2 cor0 GROUP BY cor0.col2 ---- 89 89 89 | > | 38737 38738 38739 38740 38741 38742 38743 38744 38745 38746 38747 38748 38749 38750 38751 | query I rowsort SELECT ALL - 86 FROM tab1 AS cor0 GROUP BY cor0.col0 ---- -86 -86 -86 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT - COALESCE ( - 89, + cor0.col1 ) FROM tab2 cor0 GROUP BY cor0.col2 ---- 89 89 89 |
︙ | ︙ | |||
39233 39234 39235 39236 39237 39238 39239 39240 39241 39242 39243 39244 39245 39246 | 56 query I rowsort SELECT DISTINCT - 43 FROM tab1 GROUP BY tab1.col0 ---- -43 query I rowsort SELECT COALESCE ( + 0, tab2.col1, tab2.col1, COALESCE ( tab2.col0, - NULLIF ( 19, + tab2.col1 - tab2.col1 ) * - CASE 45 WHEN tab2.col0 THEN - tab2.col0 END, col1 ) + - tab2.col1 ) FROM tab2 GROUP BY tab2.col0 ---- 0 0 0 | > | 39279 39280 39281 39282 39283 39284 39285 39286 39287 39288 39289 39290 39291 39292 39293 | 56 query I rowsort SELECT DISTINCT - 43 FROM tab1 GROUP BY tab1.col0 ---- -43 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT COALESCE ( + 0, tab2.col1, tab2.col1, COALESCE ( tab2.col0, - NULLIF ( 19, + tab2.col1 - tab2.col1 ) * - CASE 45 WHEN tab2.col0 THEN - tab2.col0 END, col1 ) + - tab2.col1 ) FROM tab2 GROUP BY tab2.col0 ---- 0 0 0 |
︙ | ︙ | |||
40002 40003 40004 40005 40006 40007 40008 40009 40010 40011 40012 40013 40014 40015 | query I rowsort SELECT + 98 * - col1 + 77 * - cor0.col1 FROM tab0 AS cor0 GROUP BY cor0.col1 ---- -14175 0 query I rowsort SELECT ALL - COALESCE ( 92, - col0 * 2 + + tab2.col0, tab2.col2 + + tab2.col2 ) FROM tab2 GROUP BY tab2.col0 ---- -92 -92 -92 | > | 40049 40050 40051 40052 40053 40054 40055 40056 40057 40058 40059 40060 40061 40062 40063 | query I rowsort SELECT + 98 * - col1 + 77 * - cor0.col1 FROM tab0 AS cor0 GROUP BY cor0.col1 ---- -14175 0 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT ALL - COALESCE ( 92, - col0 * 2 + + tab2.col0, tab2.col2 + + tab2.col2 ) FROM tab2 GROUP BY tab2.col0 ---- -92 -92 -92 |
︙ | ︙ | |||
40842 40843 40844 40845 40846 40847 40848 40849 40850 40851 40852 40853 40854 40855 | query I rowsort SELECT ALL - 61 AS col2 FROM tab2 cor0 GROUP BY cor0.col1 ---- -61 -61 -61 query I rowsort SELECT + - tab1.col1 + COALESCE ( - 9, + tab1.col0 ) * + tab1.col1 FROM tab1 GROUP BY tab1.col1 ---- -440 -570 -60 | > | 40890 40891 40892 40893 40894 40895 40896 40897 40898 40899 40900 40901 40902 40903 40904 | query I rowsort SELECT ALL - 61 AS col2 FROM tab2 cor0 GROUP BY cor0.col1 ---- -61 -61 -61 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT + - tab1.col1 + COALESCE ( - 9, + tab1.col0 ) * + tab1.col1 FROM tab1 GROUP BY tab1.col1 ---- -440 -570 -60 |
︙ | ︙ | |||
41692 41693 41694 41695 41696 41697 41698 41699 41700 41701 41702 41703 41704 41705 | query I rowsort SELECT - cor0.col2 AS col2 FROM tab0 cor0 GROUP BY cor0.col2, cor0.col0 ---- -24 -38 -79 query I rowsort SELECT DISTINCT - COALESCE ( + 83, - cor1.col2 ) AS col1 FROM tab0 AS cor0 CROSS JOIN tab1 AS cor1 GROUP BY cor1.col1 ---- -83 query I rowsort SELECT 48 FROM tab1 GROUP BY tab1.col0 | > | 41741 41742 41743 41744 41745 41746 41747 41748 41749 41750 41751 41752 41753 41754 41755 | query I rowsort SELECT - cor0.col2 AS col2 FROM tab0 cor0 GROUP BY cor0.col2, cor0.col0 ---- -24 -38 -79 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT DISTINCT - COALESCE ( + 83, - cor1.col2 ) AS col1 FROM tab0 AS cor0 CROSS JOIN tab1 AS cor1 GROUP BY cor1.col1 ---- -83 query I rowsort SELECT 48 FROM tab1 GROUP BY tab1.col0 |
︙ | ︙ | |||
43397 43398 43399 43400 43401 43402 43403 43404 43405 43406 43407 43408 43409 43410 | query I rowsort SELECT DISTINCT + col1 FROM tab2 cor0 GROUP BY col1 ---- 41 59 61 query II rowsort SELECT cor0.col1 col0, - col1 AS col2 FROM tab2 AS cor0 GROUP BY cor0.col1 ---- 41 -41 59 -59 | > | 43447 43448 43449 43450 43451 43452 43453 43454 43455 43456 43457 43458 43459 43460 43461 | query I rowsort SELECT DISTINCT + col1 FROM tab2 cor0 GROUP BY col1 ---- 41 59 61 skipif postgresql # PostgreSQL requires AS when renaming output columns query II rowsort SELECT cor0.col1 col0, - col1 AS col2 FROM tab2 AS cor0 GROUP BY cor0.col1 ---- 41 -41 59 -59 |
︙ | ︙ | |||
45082 45083 45084 45085 45086 45087 45088 45089 45090 45091 45092 45093 45094 45095 | query I rowsort SELECT DISTINCT - cor0.col0 AS col2 FROM tab0 AS cor0 GROUP BY col0, cor0.col2 ---- -26 -43 -83 query II rowsort SELECT DISTINCT cor0.col1 col2, - cor0.col1 AS col0 FROM tab0 cor0 GROUP BY cor0.col1 ---- 0 0 81 -81 | > | 45133 45134 45135 45136 45137 45138 45139 45140 45141 45142 45143 45144 45145 45146 45147 | query I rowsort SELECT DISTINCT - cor0.col0 AS col2 FROM tab0 AS cor0 GROUP BY col0, cor0.col2 ---- -26 -43 -83 skipif postgresql # PostgreSQL requires AS when renaming output columns query II rowsort SELECT DISTINCT cor0.col1 col2, - cor0.col1 AS col0 FROM tab0 cor0 GROUP BY cor0.col1 ---- 0 0 81 -81 |
︙ | ︙ | |||
45642 45643 45644 45645 45646 45647 45648 45649 45650 45651 45652 45653 45654 45655 | query I rowsort SELECT + col0 FROM tab0 AS cor0 GROUP BY cor0.col1, cor0.col0 ---- 26 43 83 query II rowsort SELECT DISTINCT cor0.col2 col1, cor0.col1 FROM tab2 AS cor0 GROUP BY cor0.col2, cor0.col1 ---- 58 41 79 59 | > | 45694 45695 45696 45697 45698 45699 45700 45701 45702 45703 45704 45705 45706 45707 45708 | query I rowsort SELECT + col0 FROM tab0 AS cor0 GROUP BY cor0.col1, cor0.col0 ---- 26 43 83 skipif postgresql # PostgreSQL requires AS when renaming output columns query II rowsort SELECT DISTINCT cor0.col2 col1, cor0.col1 FROM tab2 AS cor0 GROUP BY cor0.col2, cor0.col1 ---- 58 41 79 59 |
︙ | ︙ | |||
45737 45738 45739 45740 45741 45742 45743 45744 45745 45746 45747 45748 45749 45750 | query I rowsort SELECT - col0 AS col0 FROM tab0 WHERE NULL IS NULL GROUP BY tab0.col0 ---- -26 -43 -83 query II rowsort SELECT DISTINCT - - col2 col0, tab2.col2 AS col2 FROM tab2 GROUP BY tab2.col2 ---- 58 58 79 79 | > | 45790 45791 45792 45793 45794 45795 45796 45797 45798 45799 45800 45801 45802 45803 45804 | query I rowsort SELECT - col0 AS col0 FROM tab0 WHERE NULL IS NULL GROUP BY tab0.col0 ---- -26 -43 -83 skipif postgresql # PostgreSQL requires AS when renaming output columns query II rowsort SELECT DISTINCT - - col2 col0, tab2.col2 AS col2 FROM tab2 GROUP BY tab2.col2 ---- 58 58 79 79 |
︙ | ︙ | |||
46773 46774 46775 46776 46777 46778 46779 46780 46781 46782 46783 46784 46785 46786 | query I rowsort SELECT + col0 + + - tab0.col0 FROM tab0 GROUP BY tab0.col0 ---- 0 0 0 query II rowsort SELECT - - col2 col2, tab2.col2 FROM tab2 GROUP BY tab2.col2 ---- 58 58 79 79 | > | 46827 46828 46829 46830 46831 46832 46833 46834 46835 46836 46837 46838 46839 46840 46841 | query I rowsort SELECT + col0 + + - tab0.col0 FROM tab0 GROUP BY tab0.col0 ---- 0 0 0 skipif postgresql # PostgreSQL requires AS when renaming output columns query II rowsort SELECT - - col2 col2, tab2.col2 FROM tab2 GROUP BY tab2.col2 ---- 58 58 79 79 |
︙ | ︙ | |||
48893 48894 48895 48896 48897 48898 48899 48900 48901 48902 48903 48904 48905 48906 | query I rowsort SELECT + col2 FROM tab0 AS cor0 GROUP BY col2, col0 ---- 24 38 79 query II rowsort SELECT col2 col0, col2 AS col1 FROM tab1 GROUP BY col2 ---- 45 45 71 71 | > | 48948 48949 48950 48951 48952 48953 48954 48955 48956 48957 48958 48959 48960 48961 48962 | query I rowsort SELECT + col2 FROM tab0 AS cor0 GROUP BY col2, col0 ---- 24 38 79 skipif postgresql # PostgreSQL requires AS when renaming output columns query II rowsort SELECT col2 col0, col2 AS col1 FROM tab1 GROUP BY col2 ---- 45 45 71 71 |
︙ | ︙ | |||
49845 49846 49847 49848 49849 49850 49851 49852 49853 49854 49855 49856 49857 49858 | query I rowsort SELECT ALL + - col2 FROM tab1 AS cor0 GROUP BY col2, col2 ---- -45 -71 -8 query II rowsort SELECT - col0 col1, - col0 AS col2 FROM tab1 GROUP BY col0 ---- -22 -22 -28 -28 | > | 49901 49902 49903 49904 49905 49906 49907 49908 49909 49910 49911 49912 49913 49914 49915 | query I rowsort SELECT ALL + - col2 FROM tab1 AS cor0 GROUP BY col2, col2 ---- -45 -71 -8 skipif postgresql # PostgreSQL requires AS when renaming output columns query II rowsort SELECT - col0 col1, - col0 AS col2 FROM tab1 GROUP BY col0 ---- -22 -22 -28 -28 |
︙ | ︙ | |||
50507 50508 50509 50510 50511 50512 50513 50514 50515 50516 50517 50518 50519 50520 | -676 -6889 query I rowsort SELECT + col1 AS col0 FROM tab0 GROUP BY col2, col1 HAVING - col1 IS NULL ---- query I rowsort SELECT DISTINCT - col1 AS col2 FROM tab1 AS cor0 GROUP BY col1 HAVING ( NULL ) < col2 ---- query I rowsort SELECT DISTINCT - col2 * - col2 + - col2 AS col2 FROM tab1 GROUP BY col2, col2 ---- | > | 50564 50565 50566 50567 50568 50569 50570 50571 50572 50573 50574 50575 50576 50577 50578 | -676 -6889 query I rowsort SELECT + col1 AS col0 FROM tab0 GROUP BY col2, col1 HAVING - col1 IS NULL ---- skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT DISTINCT - col1 AS col2 FROM tab1 AS cor0 GROUP BY col1 HAVING ( NULL ) < col2 ---- query I rowsort SELECT DISTINCT - col2 * - col2 + - col2 AS col2 FROM tab1 GROUP BY col2, col2 ---- |
︙ | ︙ | |||
50572 50573 50574 50575 50576 50577 50578 50579 50580 50581 50582 50583 50584 50585 | query I rowsort SELECT + col0 col0 FROM tab2 AS cor0 GROUP BY col2, col0, col0 ---- 15 91 92 query I rowsort SELECT col1 AS col2 FROM tab2 GROUP BY col1 HAVING NOT NULL NOT IN ( - col2 ) ---- query I rowsort SELECT col0 * - col0 FROM tab1 GROUP BY col0 ---- | > | 50630 50631 50632 50633 50634 50635 50636 50637 50638 50639 50640 50641 50642 50643 50644 | query I rowsort SELECT + col0 col0 FROM tab2 AS cor0 GROUP BY col2, col0, col0 ---- 15 91 92 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT col1 AS col2 FROM tab2 GROUP BY col1 HAVING NOT NULL NOT IN ( - col2 ) ---- query I rowsort SELECT col0 * - col0 FROM tab1 GROUP BY col0 ---- |
︙ | ︙ | |||
51611 51612 51613 51614 51615 51616 51617 51618 51619 51620 51621 51622 51623 51624 | query I rowsort SELECT col0 FROM tab0 GROUP BY col0 HAVING NOT ( NOT NULL IS NULL ) ---- 26 43 83 query II rowsort SELECT ALL - col0 col1, - col0 FROM tab0 AS cor0 GROUP BY col0 ---- -26 -26 -43 -43 | > | 51670 51671 51672 51673 51674 51675 51676 51677 51678 51679 51680 51681 51682 51683 51684 | query I rowsort SELECT col0 FROM tab0 GROUP BY col0 HAVING NOT ( NOT NULL IS NULL ) ---- 26 43 83 skipif postgresql # PostgreSQL requires AS when renaming output columns query II rowsort SELECT ALL - col0 col1, - col0 FROM tab0 AS cor0 GROUP BY col0 ---- -26 -26 -43 -43 |
︙ | ︙ | |||
53909 53910 53911 53912 53913 53914 53915 53916 53917 53918 53919 53920 53921 53922 | query I rowsort SELECT DISTINCT col1 FROM tab0 AS cor0 GROUP BY col2, col1 ---- 0 81 query I rowsort SELECT ALL col0 AS col2 FROM tab0 GROUP BY col0, col0 HAVING NOT - col2 NOT BETWEEN NULL AND NULL ---- query I rowsort SELECT - + col1 AS col2 FROM tab1 AS cor0 GROUP BY col1, col1 HAVING NOT - - col1 IS NULL ---- | > | 53969 53970 53971 53972 53973 53974 53975 53976 53977 53978 53979 53980 53981 53982 53983 | query I rowsort SELECT DISTINCT col1 FROM tab0 AS cor0 GROUP BY col2, col1 ---- 0 81 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT ALL col0 AS col2 FROM tab0 GROUP BY col0, col0 HAVING NOT - col2 NOT BETWEEN NULL AND NULL ---- query I rowsort SELECT - + col1 AS col2 FROM tab1 AS cor0 GROUP BY col1, col1 HAVING NOT - - col1 IS NULL ---- |
︙ | ︙ | |||
58764 58765 58766 58767 58768 58769 58770 58771 58772 58773 58774 58775 58776 58777 | query I rowsort SELECT DISTINCT col0 FROM tab0 AS cor0 GROUP BY col0 HAVING NOT NULL IS NOT NULL ---- 26 43 83 query II rowsort SELECT - col0 col2, col0 FROM tab0 GROUP BY col0 ---- -26 26 -43 43 | > | 58825 58826 58827 58828 58829 58830 58831 58832 58833 58834 58835 58836 58837 58838 58839 | query I rowsort SELECT DISTINCT col0 FROM tab0 AS cor0 GROUP BY col0 HAVING NOT NULL IS NOT NULL ---- 26 43 83 skipif postgresql # PostgreSQL requires AS when renaming output columns query II rowsort SELECT - col0 col2, col0 FROM tab0 GROUP BY col0 ---- -26 26 -43 43 |
︙ | ︙ | |||
59682 59683 59684 59685 59686 59687 59688 59689 59690 59691 59692 59693 59694 59695 | query I rowsort SELECT ALL + col2 FROM tab0 cor0 GROUP BY col2 ---- 24 38 79 query I rowsort SELECT + col2 AS col0 FROM tab2 GROUP BY col2 HAVING - col0 > NULL ---- query I rowsort SELECT + + col0 + col0 AS col2 FROM tab2 AS cor0 GROUP BY col0 ---- | > | 59744 59745 59746 59747 59748 59749 59750 59751 59752 59753 59754 59755 59756 59757 59758 | query I rowsort SELECT ALL + col2 FROM tab0 cor0 GROUP BY col2 ---- 24 38 79 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT + col2 AS col0 FROM tab2 GROUP BY col2 HAVING - col0 > NULL ---- query I rowsort SELECT + + col0 + col0 AS col2 FROM tab2 AS cor0 GROUP BY col0 ---- |
︙ | ︙ | |||
59741 59742 59743 59744 59745 59746 59747 59748 59749 59750 59751 59752 59753 59754 | query I rowsort SELECT - col1 FROM tab1 GROUP BY col0, col2, col1 ---- -44 -57 -6 query II rowsort SELECT col2 col1, - col0 AS col1 FROM tab2 GROUP BY col0, col2 ---- 58 -92 79 -91 | > | 59804 59805 59806 59807 59808 59809 59810 59811 59812 59813 59814 59815 59816 59817 59818 | query I rowsort SELECT - col1 FROM tab1 GROUP BY col0, col2, col1 ---- -44 -57 -6 skipif postgresql # PostgreSQL requires AS when renaming output columns query II rowsort SELECT col2 col1, - col0 AS col1 FROM tab2 GROUP BY col0, col2 ---- 58 -92 79 -91 |
︙ | ︙ | |||
60194 60195 60196 60197 60198 60199 60200 60201 60202 60203 60204 60205 60206 60207 | query I rowsort SELECT - - col0 * - col0 + - + col0 FROM tab0 AS cor0 GROUP BY col0 ---- -1892 -6972 -702 query II rowsort SELECT + - col1 col0, col1 AS col2 FROM tab2 AS cor0 GROUP BY col1 ---- -41 41 -59 59 | > | 60258 60259 60260 60261 60262 60263 60264 60265 60266 60267 60268 60269 60270 60271 60272 | query I rowsort SELECT - - col0 * - col0 + - + col0 FROM tab0 AS cor0 GROUP BY col0 ---- -1892 -6972 -702 skipif postgresql # PostgreSQL requires AS when renaming output columns query II rowsort SELECT + - col1 col0, col1 AS col2 FROM tab2 AS cor0 GROUP BY col1 ---- -41 41 -59 59 |
︙ | ︙ | |||
60694 60695 60696 60697 60698 60699 60700 60701 60702 60703 60704 60705 60706 60707 | query I rowsort SELECT ALL col2 + col2 FROM tab2 GROUP BY col2 ---- 116 158 174 query II rowsort SELECT DISTINCT col0 col2, - col2 FROM tab0 cor0 GROUP BY col2, col0 ---- 26 -79 43 -24 | > | 60759 60760 60761 60762 60763 60764 60765 60766 60767 60768 60769 60770 60771 60772 60773 | query I rowsort SELECT ALL col2 + col2 FROM tab2 GROUP BY col2 ---- 116 158 174 skipif postgresql # PostgreSQL requires AS when renaming output columns query II rowsort SELECT DISTINCT col0 col2, - col2 FROM tab0 cor0 GROUP BY col2, col0 ---- 26 -79 43 -24 |
︙ | ︙ | |||
63054 63055 63056 63057 63058 63059 63060 63061 63062 63063 63064 63065 63066 63067 | query I rowsort SELECT + col1 - + col1 AS col0 FROM tab1 GROUP BY col1 ---- 0 0 0 query I rowsort SELECT - col1 AS col0 FROM tab1 AS cor0 GROUP BY col1, col1 HAVING NOT NULL <= - col0 ---- query I rowsort SELECT ALL - col0 FROM tab2 AS cor0 GROUP BY col0, col1, col1 ---- | > | 63120 63121 63122 63123 63124 63125 63126 63127 63128 63129 63130 63131 63132 63133 63134 | query I rowsort SELECT + col1 - + col1 AS col0 FROM tab1 GROUP BY col1 ---- 0 0 0 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT - col1 AS col0 FROM tab1 AS cor0 GROUP BY col1, col1 HAVING NOT NULL <= - col0 ---- query I rowsort SELECT ALL - col0 FROM tab2 AS cor0 GROUP BY col0, col1, col1 ---- |
︙ | ︙ | |||
64408 64409 64410 64411 64412 64413 64414 64415 64416 64417 64418 64419 64420 64421 | query I rowsort SELECT DISTINCT + col0 AS col1 FROM tab2 AS cor0 GROUP BY col0 ---- 15 91 92 query II rowsort SELECT + col0 col1, col0 FROM tab0 AS cor0 GROUP BY col0, col2 ---- 26 26 43 43 | > | 64475 64476 64477 64478 64479 64480 64481 64482 64483 64484 64485 64486 64487 64488 64489 | query I rowsort SELECT DISTINCT + col0 AS col1 FROM tab2 AS cor0 GROUP BY col0 ---- 15 91 92 skipif postgresql # PostgreSQL requires AS when renaming output columns query II rowsort SELECT + col0 col1, col0 FROM tab0 AS cor0 GROUP BY col0, col2 ---- 26 26 43 43 |
︙ | ︙ | |||
66826 66827 66828 66829 66830 66831 66832 66833 66834 66835 66836 66837 66838 66839 | query I rowsort SELECT col0 FROM tab1 AS cor0 GROUP BY col1, col1, col0 ---- 22 28 82 query II rowsort SELECT DISTINCT + col1 col1, col1 AS col1 FROM tab0 GROUP BY col1, col1 ---- 0 0 81 81 | > | 66894 66895 66896 66897 66898 66899 66900 66901 66902 66903 66904 66905 66906 66907 66908 | query I rowsort SELECT col0 FROM tab1 AS cor0 GROUP BY col1, col1, col0 ---- 22 28 82 skipif postgresql # PostgreSQL requires AS when renaming output columns query II rowsort SELECT DISTINCT + col1 col1, col1 AS col1 FROM tab0 GROUP BY col1, col1 ---- 0 0 81 81 |
︙ | ︙ | |||
70487 70488 70489 70490 70491 70492 70493 70494 70495 70496 70497 70498 70499 70500 | 24 24 38 38 79 79 query I rowsort SELECT col0 AS col2 FROM tab2 GROUP BY col1, col0 HAVING NULL <= + col0 + + col2 ---- skipif postgresql # PostgreSQL requires AS when renaming output columns query I rowsort SELECT col0 col1 FROM tab2 GROUP BY col0, col1, col0 | > | 70556 70557 70558 70559 70560 70561 70562 70563 70564 70565 70566 70567 70568 70569 70570 | 24 24 38 38 79 79 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT col0 AS col2 FROM tab2 GROUP BY col1, col0 HAVING NULL <= + col0 + + col2 ---- skipif postgresql # PostgreSQL requires AS when renaming output columns query I rowsort SELECT col0 col1 FROM tab2 GROUP BY col0, col1, col0 |
︙ | ︙ |
Changes to test/random/groupby/slt_good_9.test.
︙ | ︙ | |||
113 114 115 116 117 118 119 120 121 122 123 124 125 126 | query I rowsort SELECT DISTINCT col0 AS col1 FROM tab1 GROUP BY col0, col1 ---- 22 28 82 query I rowsort SELECT + col0 AS col2 FROM tab2 GROUP BY col0 HAVING NULL > ( col2 ) ---- query I rowsort SELECT ALL - col2 FROM tab1 GROUP BY col0, col2 ---- | > | 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 | query I rowsort SELECT DISTINCT col0 AS col1 FROM tab1 GROUP BY col0, col1 ---- 22 28 82 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT + col0 AS col2 FROM tab2 GROUP BY col0 HAVING NULL > ( col2 ) ---- query I rowsort SELECT ALL - col2 FROM tab1 GROUP BY col0, col2 ---- |
︙ | ︙ | |||
184 185 186 187 188 189 190 191 192 193 194 195 196 197 | query I rowsort SELECT DISTINCT - col2 col0 FROM tab1 GROUP BY col2 ---- -45 -71 -8 query I rowsort SELECT - AVG ( + + col0 ) AS col1 FROM tab2 AS cor0 GROUP BY col0 HAVING NOT col1 IS NULL AND NOT NULL IS NULL ---- query I rowsort SELECT ALL col0 AS col0 FROM tab1 cor0 GROUP BY col0 ---- | > | 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 | query I rowsort SELECT DISTINCT - col2 col0 FROM tab1 GROUP BY col2 ---- -45 -71 -8 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT - AVG ( + + col0 ) AS col1 FROM tab2 AS cor0 GROUP BY col0 HAVING NOT col1 IS NULL AND NOT NULL IS NULL ---- query I rowsort SELECT ALL col0 AS col0 FROM tab1 cor0 GROUP BY col0 ---- |
︙ | ︙ | |||
228 229 230 231 232 233 234 235 236 237 238 239 240 241 | query I rowsort SELECT ALL - + col1 FROM tab1 AS cor0 GROUP BY col1, col2 ---- -44 -57 -6 query I rowsort SELECT ALL + col1 AS col0 FROM tab1 AS cor0 GROUP BY col1 HAVING NULL = col0 / col0 ---- query I rowsort SELECT ALL col0 + + - col0 FROM tab2 AS cor0 GROUP BY col0 ---- | > | 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 | query I rowsort SELECT ALL - + col1 FROM tab1 AS cor0 GROUP BY col1, col2 ---- -44 -57 -6 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT ALL + col1 AS col0 FROM tab1 AS cor0 GROUP BY col1 HAVING NULL = col0 / col0 ---- query I rowsort SELECT ALL col0 + + - col0 FROM tab2 AS cor0 GROUP BY col0 ---- |
︙ | ︙ | |||
1057 1058 1059 1060 1061 1062 1063 1064 1065 1066 1067 1068 1069 1070 | query I rowsort SELECT + - col1 FROM tab1 AS cor0 GROUP BY col1, col1 ---- -44 -57 -6 query II rowsort SELECT + col1 col0, col1 FROM tab0 AS cor0 GROUP BY col1 ---- 0 0 81 81 | > | 1060 1061 1062 1063 1064 1065 1066 1067 1068 1069 1070 1071 1072 1073 1074 | query I rowsort SELECT + - col1 FROM tab1 AS cor0 GROUP BY col1, col1 ---- -44 -57 -6 skipif postgresql # PostgreSQL requires AS when renaming output columns query II rowsort SELECT + col1 col0, col1 FROM tab0 AS cor0 GROUP BY col1 ---- 0 0 81 81 |
︙ | ︙ | |||
1778 1779 1780 1781 1782 1783 1784 1785 1786 1787 1788 1789 1790 1791 | query I rowsort SELECT ALL + col2 * + col2 AS col2 FROM tab1 GROUP BY col2, col2 ---- 2025 5041 64 query II rowsort SELECT DISTINCT - - col2 col1, + col2 FROM tab1 AS cor0 GROUP BY col1, col2 ---- 45 45 71 71 | > | 1782 1783 1784 1785 1786 1787 1788 1789 1790 1791 1792 1793 1794 1795 1796 | query I rowsort SELECT ALL + col2 * + col2 AS col2 FROM tab1 GROUP BY col2, col2 ---- 2025 5041 64 skipif postgresql # PostgreSQL requires AS when renaming output columns query II rowsort SELECT DISTINCT - - col2 col1, + col2 FROM tab1 AS cor0 GROUP BY col1, col2 ---- 45 45 71 71 |
︙ | ︙ | |||
2817 2818 2819 2820 2821 2822 2823 2824 2825 2826 2827 2828 2829 2830 | query I rowsort SELECT - + col1 + - col1 AS col0 FROM tab2 AS cor0 GROUP BY col1, col2 ---- -118 -122 -82 query I rowsort SELECT + col1 AS col2 FROM tab2 AS cor0 WHERE NULL IS NULL GROUP BY col1 HAVING NOT NULL >= + - col2 ---- skipif postgresql # PostgreSQL requires AS when renaming output columns query I rowsort SELECT - col1 col1 FROM tab2 GROUP BY col0, col1 | > | 2822 2823 2824 2825 2826 2827 2828 2829 2830 2831 2832 2833 2834 2835 2836 | query I rowsort SELECT - + col1 + - col1 AS col0 FROM tab2 AS cor0 GROUP BY col1, col2 ---- -118 -122 -82 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT + col1 AS col2 FROM tab2 AS cor0 WHERE NULL IS NULL GROUP BY col1 HAVING NOT NULL >= + - col2 ---- skipif postgresql # PostgreSQL requires AS when renaming output columns query I rowsort SELECT - col1 col1 FROM tab2 GROUP BY col0, col1 |
︙ | ︙ | |||
4007 4008 4009 4010 4011 4012 4013 4014 4015 4016 4017 4018 4019 4020 | query I rowsort SELECT ALL - col2 AS col1 FROM tab1 AS cor0 GROUP BY col2 ---- -45 -71 -8 query I rowsort SELECT - + col1 AS col0 FROM tab1 AS cor0 GROUP BY col1 HAVING NOT + col0 IS NULL AND NULL IS NOT NULL ---- query I rowsort SELECT DISTINCT + col1 AS col2 FROM tab0 cor0 GROUP BY col1 ---- | > | 4013 4014 4015 4016 4017 4018 4019 4020 4021 4022 4023 4024 4025 4026 4027 | query I rowsort SELECT ALL - col2 AS col1 FROM tab1 AS cor0 GROUP BY col2 ---- -45 -71 -8 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT - + col1 AS col0 FROM tab1 AS cor0 GROUP BY col1 HAVING NOT + col0 IS NULL AND NULL IS NOT NULL ---- query I rowsort SELECT DISTINCT + col1 AS col2 FROM tab0 cor0 GROUP BY col1 ---- |
︙ | ︙ | |||
6223 6224 6225 6226 6227 6228 6229 6230 6231 6232 6233 6234 6235 6236 | query I rowsort SELECT - - col1 FROM tab0 AS cor0 GROUP BY col1, col1 ---- 0 81 query II rowsort SELECT col0 col2, col0 FROM tab2 GROUP BY col0, col0 ---- 15 15 91 91 | > | 6230 6231 6232 6233 6234 6235 6236 6237 6238 6239 6240 6241 6242 6243 6244 | query I rowsort SELECT - - col1 FROM tab0 AS cor0 GROUP BY col1, col1 ---- 0 81 skipif postgresql # PostgreSQL requires AS when renaming output columns query II rowsort SELECT col0 col2, col0 FROM tab2 GROUP BY col0, col0 ---- 15 15 91 91 |
︙ | ︙ | |||
7378 7379 7380 7381 7382 7383 7384 7385 7386 7387 7388 7389 7390 7391 | query I rowsort SELECT DISTINCT - + col0 + + - col0 AS col0 FROM tab0 AS cor0 GROUP BY col0 ---- -166 -52 -86 query I rowsort SELECT + - col1 AS col2 FROM tab1 AS cor0 GROUP BY col1, col1 HAVING NOT ( NULL ) < - col1 + - col2 ---- skipif postgresql # PostgreSQL requires AS when renaming output columns query I rowsort SELECT + col2 col1 FROM tab2 GROUP BY col1, col2 | > | 7386 7387 7388 7389 7390 7391 7392 7393 7394 7395 7396 7397 7398 7399 7400 | query I rowsort SELECT DISTINCT - + col0 + + - col0 AS col0 FROM tab0 AS cor0 GROUP BY col0 ---- -166 -52 -86 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT + - col1 AS col2 FROM tab1 AS cor0 GROUP BY col1, col1 HAVING NOT ( NULL ) < - col1 + - col2 ---- skipif postgresql # PostgreSQL requires AS when renaming output columns query I rowsort SELECT + col2 col1 FROM tab2 GROUP BY col1, col2 |
︙ | ︙ | |||
7784 7785 7786 7787 7788 7789 7790 7791 7792 7793 7794 7795 7796 7797 | query I rowsort SELECT - col0 + + col0 FROM tab0 GROUP BY col0 ---- 0 0 0 query I rowsort SELECT + col1 AS col0 FROM tab1 GROUP BY col1 HAVING NULL IN ( - col1 * + col0 ) ---- query II rowsort SELECT ALL - col1 AS col2, col0 FROM tab0 GROUP BY col0, col1 ---- | > | 7793 7794 7795 7796 7797 7798 7799 7800 7801 7802 7803 7804 7805 7806 7807 | query I rowsort SELECT - col0 + + col0 FROM tab0 GROUP BY col0 ---- 0 0 0 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT + col1 AS col0 FROM tab1 GROUP BY col1 HAVING NULL IN ( - col1 * + col0 ) ---- query II rowsort SELECT ALL - col1 AS col2, col0 FROM tab0 GROUP BY col0, col1 ---- |
︙ | ︙ | |||
8461 8462 8463 8464 8465 8466 8467 8468 8469 8470 8471 8472 8473 8474 | query I rowsort SELECT DISTINCT col1 AS col0 FROM tab1 AS cor0 GROUP BY col1, col0 ---- 44 57 6 query II rowsort SELECT + col1 col1, col1 AS col0 FROM tab2 GROUP BY col1 ---- 41 41 59 59 | > | 8471 8472 8473 8474 8475 8476 8477 8478 8479 8480 8481 8482 8483 8484 8485 | query I rowsort SELECT DISTINCT col1 AS col0 FROM tab1 AS cor0 GROUP BY col1, col0 ---- 44 57 6 skipif postgresql # PostgreSQL requires AS when renaming output columns query II rowsort SELECT + col1 col1, col1 AS col0 FROM tab2 GROUP BY col1 ---- 41 41 59 59 |
︙ | ︙ | |||
8797 8798 8799 8800 8801 8802 8803 8804 8805 8806 8807 8808 8809 8810 | query I rowsort SELECT ALL + col0 FROM tab1 GROUP BY col0 HAVING col0 * - AVG ( DISTINCT col0 ) IS NOT NULL ---- 22 28 82 query II rowsort SELECT DISTINCT + - col2 col0, + col2 FROM tab1 AS cor0 GROUP BY col2 ---- -45 45 -71 71 | > | 8808 8809 8810 8811 8812 8813 8814 8815 8816 8817 8818 8819 8820 8821 8822 | query I rowsort SELECT ALL + col0 FROM tab1 GROUP BY col0 HAVING col0 * - AVG ( DISTINCT col0 ) IS NOT NULL ---- 22 28 82 skipif postgresql # PostgreSQL requires AS when renaming output columns query II rowsort SELECT DISTINCT + - col2 col0, + col2 FROM tab1 AS cor0 GROUP BY col2 ---- -45 45 -71 71 |
︙ | ︙ | |||
9427 9428 9429 9430 9431 9432 9433 9434 9435 9436 9437 9438 9439 9440 | 71 8 query I rowsort SELECT + col0 AS col2 FROM tab1 GROUP BY col2, col0 HAVING NOT ( NULL ) IS NULL ---- query II rowsort SELECT + col0 col1, col0 AS col2 FROM tab2 GROUP BY col0 ---- 15 15 91 91 | > | 9439 9440 9441 9442 9443 9444 9445 9446 9447 9448 9449 9450 9451 9452 9453 | 71 8 query I rowsort SELECT + col0 AS col2 FROM tab1 GROUP BY col2, col0 HAVING NOT ( NULL ) IS NULL ---- skipif postgresql # PostgreSQL requires AS when renaming output columns query II rowsort SELECT + col0 col1, col0 AS col2 FROM tab2 GROUP BY col0 ---- 15 15 91 91 |
︙ | ︙ | |||
11012 11013 11014 11015 11016 11017 11018 11019 11020 11021 11022 11023 11024 11025 | query I rowsort SELECT col1 * col1 FROM tab0 GROUP BY col1 ---- 0 6561 query II rowsort SELECT ALL col2 col0, col2 AS col0 FROM tab0 GROUP BY col2 ---- 24 24 38 38 | > | 11025 11026 11027 11028 11029 11030 11031 11032 11033 11034 11035 11036 11037 11038 11039 | query I rowsort SELECT col1 * col1 FROM tab0 GROUP BY col1 ---- 0 6561 skipif postgresql # PostgreSQL requires AS when renaming output columns query II rowsort SELECT ALL col2 col0, col2 AS col0 FROM tab0 GROUP BY col2 ---- 24 24 38 38 |
︙ | ︙ | |||
11897 11898 11899 11900 11901 11902 11903 11904 11905 11906 11907 11908 11909 11910 | SELECT + col1 FROM tab1 cor0 WHERE NOT NULL < ( NULL ) GROUP BY col1 HAVING NOT NULL IS NOT NULL ---- query I rowsort SELECT ALL - col0 FROM tab2 AS cor0 GROUP BY col0 HAVING NOT NULL IS NULL ---- query I rowsort SELECT DISTINCT col1 AS col0 FROM tab1 AS cor0 GROUP BY col1 HAVING NULL >= + - col0 ---- query I rowsort SELECT DISTINCT - col0 FROM tab0 AS cor0 WHERE NOT NULL > NULL GROUP BY col0, col0 ---- | > | 11911 11912 11913 11914 11915 11916 11917 11918 11919 11920 11921 11922 11923 11924 11925 | SELECT + col1 FROM tab1 cor0 WHERE NOT NULL < ( NULL ) GROUP BY col1 HAVING NOT NULL IS NOT NULL ---- query I rowsort SELECT ALL - col0 FROM tab2 AS cor0 GROUP BY col0 HAVING NOT NULL IS NULL ---- skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT DISTINCT col1 AS col0 FROM tab1 AS cor0 GROUP BY col1 HAVING NULL >= + - col0 ---- query I rowsort SELECT DISTINCT - col0 FROM tab0 AS cor0 WHERE NOT NULL > NULL GROUP BY col0, col0 ---- |
︙ | ︙ | |||
12276 12277 12278 12279 12280 12281 12282 12283 12284 12285 12286 12287 12288 12289 | SELECT ALL col1 FROM tab2 GROUP BY col1, col2 HAVING NULL IS NOT NULL ---- query I rowsort SELECT + AVG ( - col2 ) FROM tab2 WHERE NOT NULL >= col1 GROUP BY col2 ---- query I rowsort SELECT DISTINCT col2 AS col0 FROM tab2 GROUP BY col2, col1, col1 HAVING NULL BETWEEN - col0 AND NULL ---- query I rowsort SELECT DISTINCT + col0 FROM tab2 GROUP BY col0 HAVING NOT NULL IS NOT NULL ---- | > | 12291 12292 12293 12294 12295 12296 12297 12298 12299 12300 12301 12302 12303 12304 12305 | SELECT ALL col1 FROM tab2 GROUP BY col1, col2 HAVING NULL IS NOT NULL ---- query I rowsort SELECT + AVG ( - col2 ) FROM tab2 WHERE NOT NULL >= col1 GROUP BY col2 ---- skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT DISTINCT col2 AS col0 FROM tab2 GROUP BY col2, col1, col1 HAVING NULL BETWEEN - col0 AND NULL ---- query I rowsort SELECT DISTINCT + col0 FROM tab2 GROUP BY col0 HAVING NOT NULL IS NOT NULL ---- |
︙ | ︙ | |||
12600 12601 12602 12603 12604 12605 12606 12607 12608 12609 12610 12611 12612 12613 | query I rowsort SELECT DISTINCT col1 AS col2 FROM tab2 AS cor0 GROUP BY col0, col1 ---- 41 59 61 query I rowsort SELECT DISTINCT col1 * + + AVG ( DISTINCT - col2 ) AS col0 FROM tab0 GROUP BY col2, col1 HAVING NOT NULL < + col0 + - col1 ---- query I rowsort SELECT - + col2 FROM tab2 WHERE NOT NULL <= NULL GROUP BY col2, col1 ---- | > | 12616 12617 12618 12619 12620 12621 12622 12623 12624 12625 12626 12627 12628 12629 12630 | query I rowsort SELECT DISTINCT col1 AS col2 FROM tab2 AS cor0 GROUP BY col0, col1 ---- 41 59 61 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT DISTINCT col1 * + + AVG ( DISTINCT - col2 ) AS col0 FROM tab0 GROUP BY col2, col1 HAVING NOT NULL < + col0 + - col1 ---- query I rowsort SELECT - + col2 FROM tab2 WHERE NOT NULL <= NULL GROUP BY col2, col1 ---- |
︙ | ︙ | |||
13078 13079 13080 13081 13082 13083 13084 13085 13086 13087 13088 13089 13090 13091 | query I rowsort SELECT - col1 AS col1 FROM tab0 AS cor0 GROUP BY col1, col1 HAVING NULL IS NULL ---- -81 0 query I rowsort SELECT + col0 AS col1 FROM tab2 GROUP BY col0 HAVING NOT + col1 < NULL ---- query I rowsort SELECT ALL - col0 * col0 AS col1 FROM tab2 WHERE NOT NULL = NULL GROUP BY col0 ---- | > | 13095 13096 13097 13098 13099 13100 13101 13102 13103 13104 13105 13106 13107 13108 13109 | query I rowsort SELECT - col1 AS col1 FROM tab0 AS cor0 GROUP BY col1, col1 HAVING NULL IS NULL ---- -81 0 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT + col0 AS col1 FROM tab2 GROUP BY col0 HAVING NOT + col1 < NULL ---- query I rowsort SELECT ALL - col0 * col0 AS col1 FROM tab2 WHERE NOT NULL = NULL GROUP BY col0 ---- |
︙ | ︙ | |||
17825 17826 17827 17828 17829 17830 17831 17832 17833 17834 17835 17836 17837 17838 | query I rowsort SELECT - + col1 AS col0 FROM tab0 cor0 GROUP BY col2, col1 ---- -81 0 0 query I rowsort SELECT col1 AS col2 FROM tab1 GROUP BY col1, col0 HAVING NULL NOT BETWEEN NULL AND - col2 ---- query I rowsort SELECT + col1 AS col1 FROM tab0 AS cor0 GROUP BY col1, col0, col0 ---- | > | 17843 17844 17845 17846 17847 17848 17849 17850 17851 17852 17853 17854 17855 17856 17857 | query I rowsort SELECT - + col1 AS col0 FROM tab0 cor0 GROUP BY col2, col1 ---- -81 0 0 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT col1 AS col2 FROM tab1 GROUP BY col1, col0 HAVING NULL NOT BETWEEN NULL AND - col2 ---- query I rowsort SELECT + col1 AS col1 FROM tab0 AS cor0 GROUP BY col1, col0, col0 ---- |
︙ | ︙ | |||
18623 18624 18625 18626 18627 18628 18629 18630 18631 18632 18633 18634 18635 18636 | query I rowsort SELECT + + col0 FROM tab2 AS cor0 GROUP BY col1, col0 ---- 15 91 92 query II rowsort SELECT + col2 col0, + col2 AS col1 FROM tab2 AS cor0 GROUP BY col2 ---- 58 58 79 79 | > | 18642 18643 18644 18645 18646 18647 18648 18649 18650 18651 18652 18653 18654 18655 18656 | query I rowsort SELECT + + col0 FROM tab2 AS cor0 GROUP BY col1, col0 ---- 15 91 92 skipif postgresql # PostgreSQL requires AS when renaming output columns query II rowsort SELECT + col2 col0, + col2 AS col1 FROM tab2 AS cor0 GROUP BY col2 ---- 58 58 79 79 |
︙ | ︙ | |||
19564 19565 19566 19567 19568 19569 19570 19571 19572 19573 19574 19575 19576 19577 19578 19579 19580 19581 | 22 22 28 28 82 82 query I rowsort SELECT + - col2 AS col0 FROM tab0 AS cor0 GROUP BY col2, col2 HAVING NOT - col0 BETWEEN NULL AND ( NULL ) ---- query I rowsort SELECT ALL - + AVG ( DISTINCT col0 ) AS col1 FROM tab0 AS cor0 GROUP BY col0 HAVING NOT - col1 <= ( NULL ) ---- query I rowsort SELECT + - col2 + col2 AS col0 FROM tab0 AS cor0 GROUP BY col2 HAVING NULL IS NOT NULL ---- | > > | 19584 19585 19586 19587 19588 19589 19590 19591 19592 19593 19594 19595 19596 19597 19598 19599 19600 19601 19602 19603 | 22 22 28 28 82 82 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT + - col2 AS col0 FROM tab0 AS cor0 GROUP BY col2, col2 HAVING NOT - col0 BETWEEN NULL AND ( NULL ) ---- skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT ALL - + AVG ( DISTINCT col0 ) AS col1 FROM tab0 AS cor0 GROUP BY col0 HAVING NOT - col1 <= ( NULL ) ---- query I rowsort SELECT + - col2 + col2 AS col0 FROM tab0 AS cor0 GROUP BY col2 HAVING NULL IS NOT NULL ---- |
︙ | ︙ | |||
19743 19744 19745 19746 19747 19748 19749 19750 19751 19752 19753 19754 19755 19756 | query I rowsort SELECT col2 AS col0 FROM tab1 AS cor0 GROUP BY col2, col2 ---- 45 71 8 query II rowsort SELECT ALL col2 col0, col2 + - col2 FROM tab0 GROUP BY col2, col2 ---- 24 0 38 0 | > | 19765 19766 19767 19768 19769 19770 19771 19772 19773 19774 19775 19776 19777 19778 19779 | query I rowsort SELECT col2 AS col0 FROM tab1 AS cor0 GROUP BY col2, col2 ---- 45 71 8 skipif postgresql # PostgreSQL requires AS when renaming output columns query II rowsort SELECT ALL col2 col0, col2 + - col2 FROM tab0 GROUP BY col2, col2 ---- 24 0 38 0 |
︙ | ︙ | |||
20112 20113 20114 20115 20116 20117 20118 20119 20120 20121 20122 20123 20124 20125 | query I rowsort label-2964 SELECT DISTINCT col2 / - col2 + - col2 * col2 AS col1 FROM tab0 AS cor0 GROUP BY col2, col2 ---- -1445 -577 -6242 query II rowsort SELECT DISTINCT - col0 col0, col0 FROM tab1 AS cor0 GROUP BY col0 HAVING ( NULL ) IS NULL ---- -22 22 -28 28 | > | 20135 20136 20137 20138 20139 20140 20141 20142 20143 20144 20145 20146 20147 20148 20149 | query I rowsort label-2964 SELECT DISTINCT col2 / - col2 + - col2 * col2 AS col1 FROM tab0 AS cor0 GROUP BY col2, col2 ---- -1445 -577 -6242 skipif postgresql # PostgreSQL requires AS when renaming output columns query II rowsort SELECT DISTINCT - col0 col0, col0 FROM tab1 AS cor0 GROUP BY col0 HAVING ( NULL ) IS NULL ---- -22 22 -28 28 |
︙ | ︙ | |||
20713 20714 20715 20716 20717 20718 20719 20720 20721 20722 20723 20724 20725 20726 | SELECT DISTINCT col1 FROM tab1 cor0 WHERE NOT NULL IS NULL GROUP BY col1 HAVING NOT NULL IS NULL ---- query I rowsort SELECT ALL + + col0 * col0 AS col1 FROM tab0 WHERE NOT col0 IS NOT NULL GROUP BY col0 ---- query I rowsort SELECT - - col1 AS col2 FROM tab2 AS cor0 GROUP BY col1 HAVING col2 > NULL ---- query I rowsort SELECT DISTINCT + col2 AS col1 FROM tab1 WHERE NOT NULL BETWEEN NULL AND + col1 GROUP BY col2, col2 ---- | > | 20737 20738 20739 20740 20741 20742 20743 20744 20745 20746 20747 20748 20749 20750 20751 | SELECT DISTINCT col1 FROM tab1 cor0 WHERE NOT NULL IS NULL GROUP BY col1 HAVING NOT NULL IS NULL ---- query I rowsort SELECT ALL + + col0 * col0 AS col1 FROM tab0 WHERE NOT col0 IS NOT NULL GROUP BY col0 ---- skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT - - col1 AS col2 FROM tab2 AS cor0 GROUP BY col1 HAVING col2 > NULL ---- query I rowsort SELECT DISTINCT + col2 AS col1 FROM tab1 WHERE NOT NULL BETWEEN NULL AND + col1 GROUP BY col2, col2 ---- |
︙ | ︙ | |||
21171 21172 21173 21174 21175 21176 21177 21178 21179 21180 21181 21182 21183 21184 | query I rowsort SELECT - col2 - col0 * col2 FROM tab0 AS cor0 WHERE + col2 IS NOT NULL GROUP BY col0, col2 ---- -1056 -2133 -3192 query I rowsort SELECT - col2 AS col1 FROM tab0 AS cor0 WHERE NOT ( NOT ( ( NULL ) >= NULL ) ) GROUP BY col2 HAVING NOT ( col1 ) NOT BETWEEN NULL AND NULL ---- query I rowsort SELECT col1 FROM tab0 AS cor0 WHERE NULL IS NULL GROUP BY col1 ---- | > | 21196 21197 21198 21199 21200 21201 21202 21203 21204 21205 21206 21207 21208 21209 21210 | query I rowsort SELECT - col2 - col0 * col2 FROM tab0 AS cor0 WHERE + col2 IS NOT NULL GROUP BY col0, col2 ---- -1056 -2133 -3192 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT - col2 AS col1 FROM tab0 AS cor0 WHERE NOT ( NOT ( ( NULL ) >= NULL ) ) GROUP BY col2 HAVING NOT ( col1 ) NOT BETWEEN NULL AND NULL ---- query I rowsort SELECT col1 FROM tab0 AS cor0 WHERE NULL IS NULL GROUP BY col1 ---- |
︙ | ︙ | |||
22811 22812 22813 22814 22815 22816 22817 22818 22819 22820 22821 22822 22823 22824 | SELECT DISTINCT - - col1 AS col2 FROM tab0 WHERE NOT NULL IS NULL GROUP BY col1 ---- query I rowsort SELECT ALL - - col1 FROM tab0 cor0 GROUP BY col1 HAVING NOT - col1 IS NOT NULL OR NOT ( NULL ) IS NULL ---- query I rowsort SELECT DISTINCT + col0 AS col2 FROM tab1 AS cor0 GROUP BY col0 HAVING NOT + - col2 = NULL ---- query I rowsort SELECT + col1 FROM tab1 GROUP BY col1, col2, col0, col1 ---- | > | 22837 22838 22839 22840 22841 22842 22843 22844 22845 22846 22847 22848 22849 22850 22851 | SELECT DISTINCT - - col1 AS col2 FROM tab0 WHERE NOT NULL IS NULL GROUP BY col1 ---- query I rowsort SELECT ALL - - col1 FROM tab0 cor0 GROUP BY col1 HAVING NOT - col1 IS NOT NULL OR NOT ( NULL ) IS NULL ---- skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT DISTINCT + col0 AS col2 FROM tab1 AS cor0 GROUP BY col0 HAVING NOT + - col2 = NULL ---- query I rowsort SELECT + col1 FROM tab1 GROUP BY col1, col2, col0, col1 ---- |
︙ | ︙ | |||
22908 22909 22910 22911 22912 22913 22914 22915 22916 22917 22918 22919 22920 22921 | -81 0 query I rowsort SELECT ALL - col1 FROM tab0 GROUP BY col1 HAVING NOT NULL IS NULL ---- query I rowsort SELECT col0 AS col2 FROM tab1 GROUP BY col0, col0 HAVING NOT + + col2 < NULL ---- query I rowsort SELECT ALL + col1 FROM tab0 AS cor0 GROUP BY col1 HAVING NOT NULL BETWEEN NULL AND NULL ---- | > | 22935 22936 22937 22938 22939 22940 22941 22942 22943 22944 22945 22946 22947 22948 22949 | -81 0 query I rowsort SELECT ALL - col1 FROM tab0 GROUP BY col1 HAVING NOT NULL IS NULL ---- skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT col0 AS col2 FROM tab1 GROUP BY col0, col0 HAVING NOT + + col2 < NULL ---- query I rowsort SELECT ALL + col1 FROM tab0 AS cor0 GROUP BY col1 HAVING NOT NULL BETWEEN NULL AND NULL ---- |
︙ | ︙ | |||
23290 23291 23292 23293 23294 23295 23296 23297 23298 23299 23300 23301 23302 23303 | 82 skipif postgresql # PostgreSQL requires AS when renaming output columns query I rowsort SELECT + col1 col2 FROM tab0 WHERE - col1 IS NULL GROUP BY col1, col2 HAVING NULL <> ( NULL ) ---- query I rowsort SELECT - col0 AS col1 FROM tab2 GROUP BY col2, col2, col0 HAVING NOT NULL > col1 ---- query I rowsort SELECT ALL + col2 FROM tab2 AS cor0 WHERE ( NULL ) IS NOT NULL GROUP BY col0, col2 ---- | > | 23318 23319 23320 23321 23322 23323 23324 23325 23326 23327 23328 23329 23330 23331 23332 | 82 skipif postgresql # PostgreSQL requires AS when renaming output columns query I rowsort SELECT + col1 col2 FROM tab0 WHERE - col1 IS NULL GROUP BY col1, col2 HAVING NULL <> ( NULL ) ---- skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT - col0 AS col1 FROM tab2 GROUP BY col2, col2, col0 HAVING NOT NULL > col1 ---- query I rowsort SELECT ALL + col2 FROM tab2 AS cor0 WHERE ( NULL ) IS NOT NULL GROUP BY col0, col2 ---- |
︙ | ︙ | |||
24179 24180 24181 24182 24183 24184 24185 24186 24187 24188 24189 24190 24191 24192 | ---- skipif postgresql # PostgreSQL requires AS when renaming output columns query I rowsort SELECT - col0 col1 FROM tab1 AS cor0 WHERE NOT NULL IS NULL GROUP BY col0, col2 HAVING - col2 >= NULL ---- query I rowsort SELECT DISTINCT + col1 AS col0 FROM tab0 GROUP BY col1 HAVING NOT NULL >= - + col0 ---- query I rowsort SELECT DISTINCT - - col0 AS col1 FROM tab2 cor0 GROUP BY col0, col0 ---- | > | 24208 24209 24210 24211 24212 24213 24214 24215 24216 24217 24218 24219 24220 24221 24222 | ---- skipif postgresql # PostgreSQL requires AS when renaming output columns query I rowsort SELECT - col0 col1 FROM tab1 AS cor0 WHERE NOT NULL IS NULL GROUP BY col0, col2 HAVING - col2 >= NULL ---- skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT DISTINCT + col1 AS col0 FROM tab0 GROUP BY col1 HAVING NOT NULL >= - + col0 ---- query I rowsort SELECT DISTINCT - - col0 AS col1 FROM tab2 cor0 GROUP BY col0, col0 ---- |
︙ | ︙ | |||
24266 24267 24268 24269 24270 24271 24272 24273 24274 24275 24276 24277 24278 24279 | query I rowsort SELECT DISTINCT - col1 AS col1 FROM tab2 AS cor0 GROUP BY col1, col1 ---- -41 -59 -61 query I rowsort SELECT + + col2 AS col1 FROM tab0 AS cor0 GROUP BY col2, col2 HAVING NOT ( - col1 <= NULL ) ---- query I rowsort SELECT + col0 AS col0 FROM tab0 WHERE - col1 NOT BETWEEN NULL AND NULL GROUP BY col0 HAVING NOT NULL IS NULL ---- | > | 24296 24297 24298 24299 24300 24301 24302 24303 24304 24305 24306 24307 24308 24309 24310 | query I rowsort SELECT DISTINCT - col1 AS col1 FROM tab2 AS cor0 GROUP BY col1, col1 ---- -41 -59 -61 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT + + col2 AS col1 FROM tab0 AS cor0 GROUP BY col2, col2 HAVING NOT ( - col1 <= NULL ) ---- query I rowsort SELECT + col0 AS col0 FROM tab0 WHERE - col1 NOT BETWEEN NULL AND NULL GROUP BY col0 HAVING NOT NULL IS NULL ---- |
︙ | ︙ | |||
26910 26911 26912 26913 26914 26915 26916 26917 26918 26919 26920 26921 26922 26923 | SELECT + col2 * col2 col0 FROM tab2 GROUP BY col2 HAVING NOT NULL <= NULL ---- query I rowsort SELECT col1 * + + col1 FROM tab0 GROUP BY col1, col1 HAVING ( NULL ) <= NULL ---- query I rowsort SELECT + col0 + - col0 AS col2 FROM tab1 AS cor0 GROUP BY col0 HAVING NOT NULL <= ( - col2 + col0 ) ---- query I rowsort SELECT ALL - - col1 AS col1 FROM tab1 AS cor0 GROUP BY col2, col1 ---- | > | 26941 26942 26943 26944 26945 26946 26947 26948 26949 26950 26951 26952 26953 26954 26955 | SELECT + col2 * col2 col0 FROM tab2 GROUP BY col2 HAVING NOT NULL <= NULL ---- query I rowsort SELECT col1 * + + col1 FROM tab0 GROUP BY col1, col1 HAVING ( NULL ) <= NULL ---- skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT + col0 + - col0 AS col2 FROM tab1 AS cor0 GROUP BY col0 HAVING NOT NULL <= ( - col2 + col0 ) ---- query I rowsort SELECT ALL - - col1 AS col1 FROM tab1 AS cor0 GROUP BY col2, col1 ---- |
︙ | ︙ | |||
27531 27532 27533 27534 27535 27536 27537 27538 27539 27540 27541 27542 27543 27544 | query I rowsort SELECT DISTINCT + col1 * col1 FROM tab2 GROUP BY col1, col1 ---- 1681 3481 3721 query I rowsort SELECT ALL col1 AS col0 FROM tab0 cor0 WHERE NULL IS NOT NULL GROUP BY col1 HAVING NOT NULL > col0 ---- query I rowsort SELECT DISTINCT - col1 * - - col1 FROM tab1 GROUP BY col1 ---- | > | 27563 27564 27565 27566 27567 27568 27569 27570 27571 27572 27573 27574 27575 27576 27577 | query I rowsort SELECT DISTINCT + col1 * col1 FROM tab2 GROUP BY col1, col1 ---- 1681 3481 3721 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT ALL col1 AS col0 FROM tab0 cor0 WHERE NULL IS NOT NULL GROUP BY col1 HAVING NOT NULL > col0 ---- query I rowsort SELECT DISTINCT - col1 * - - col1 FROM tab1 GROUP BY col1 ---- |
︙ | ︙ | |||
27779 27780 27781 27782 27783 27784 27785 27786 27787 27788 27789 27790 27791 27792 | query I rowsort SELECT DISTINCT col1 AS col1 FROM tab2 GROUP BY col0, col1 ---- 41 59 61 query II rowsort SELECT - col0 col0, + col0 * + col0 FROM tab2 GROUP BY col0 ---- -15 225 -91 8281 | > | 27812 27813 27814 27815 27816 27817 27818 27819 27820 27821 27822 27823 27824 27825 27826 | query I rowsort SELECT DISTINCT col1 AS col1 FROM tab2 GROUP BY col0, col1 ---- 41 59 61 skipif postgresql # PostgreSQL requires AS when renaming output columns query II rowsort SELECT - col0 col0, + col0 * + col0 FROM tab2 GROUP BY col0 ---- -15 225 -91 8281 |
︙ | ︙ | |||
28082 28083 28084 28085 28086 28087 28088 28089 28090 28091 28092 28093 28094 28095 | query I rowsort SELECT ALL - col1 AS col1 FROM tab1 GROUP BY col1 HAVING NOT NULL IS NOT NULL ---- -44 -57 -6 query II rowsort SELECT col0 col0, + col0 AS col2 FROM tab0 GROUP BY col0 ---- 26 26 43 43 | > | 28116 28117 28118 28119 28120 28121 28122 28123 28124 28125 28126 28127 28128 28129 28130 | query I rowsort SELECT ALL - col1 AS col1 FROM tab1 GROUP BY col1 HAVING NOT NULL IS NOT NULL ---- -44 -57 -6 skipif postgresql # PostgreSQL requires AS when renaming output columns query II rowsort SELECT col0 col0, + col0 AS col2 FROM tab0 GROUP BY col0 ---- 26 26 43 43 |
︙ | ︙ | |||
28698 28699 28700 28701 28702 28703 28704 28705 28706 28707 28708 28709 28710 28711 | query I rowsort SELECT ALL - col2 * + + col2 FROM tab0 GROUP BY col2, col2 ---- -1444 -576 -6241 query I rowsort SELECT DISTINCT col0 + + - col0 AS col1 FROM tab2 AS cor0 GROUP BY col0 HAVING col1 > NULL ---- query I rowsort SELECT col1 AS col2 FROM tab2 AS cor0 GROUP BY col0, col1 HAVING NULL IS NULL ---- | > | 28733 28734 28735 28736 28737 28738 28739 28740 28741 28742 28743 28744 28745 28746 28747 | query I rowsort SELECT ALL - col2 * + + col2 FROM tab0 GROUP BY col2, col2 ---- -1444 -576 -6241 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT DISTINCT col0 + + - col0 AS col1 FROM tab2 AS cor0 GROUP BY col0 HAVING col1 > NULL ---- query I rowsort SELECT col1 AS col2 FROM tab2 AS cor0 GROUP BY col0, col1 HAVING NULL IS NULL ---- |
︙ | ︙ | |||
28892 28893 28894 28895 28896 28897 28898 28899 28900 28901 28902 28903 28904 28905 | query I rowsort SELECT DISTINCT - col2 FROM tab2 WHERE NOT NULL IS NOT NULL GROUP BY col2 ---- -58 -79 -87 query II rowsort SELECT - col2 col0, + col2 FROM tab0 GROUP BY col2 ---- -24 24 -38 38 | > | 28928 28929 28930 28931 28932 28933 28934 28935 28936 28937 28938 28939 28940 28941 28942 | query I rowsort SELECT DISTINCT - col2 FROM tab2 WHERE NOT NULL IS NOT NULL GROUP BY col2 ---- -58 -79 -87 skipif postgresql # PostgreSQL requires AS when renaming output columns query II rowsort SELECT - col2 col0, + col2 FROM tab0 GROUP BY col2 ---- -24 24 -38 38 |
︙ | ︙ | |||
29747 29748 29749 29750 29751 29752 29753 29754 29755 29756 29757 29758 29759 29760 | -28 -82 query II rowsort SELECT - col2, col2 AS col2 FROM tab0 cor0 WHERE col0 IS NULL GROUP BY col2 ---- query I rowsort SELECT DISTINCT col2 * + col2 AS col0 FROM tab2 GROUP BY col2 HAVING + col0 >= ( NULL ) ---- query I rowsort SELECT + col2 + - col2 FROM tab0 AS cor0 GROUP BY col1, col2, col2 ---- | > | 29784 29785 29786 29787 29788 29789 29790 29791 29792 29793 29794 29795 29796 29797 29798 | -28 -82 query II rowsort SELECT - col2, col2 AS col2 FROM tab0 cor0 WHERE col0 IS NULL GROUP BY col2 ---- skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT DISTINCT col2 * + col2 AS col0 FROM tab2 GROUP BY col2 HAVING + col0 >= ( NULL ) ---- query I rowsort SELECT + col2 + - col2 FROM tab0 AS cor0 GROUP BY col1, col2, col2 ---- |
︙ | ︙ | |||
30100 30101 30102 30103 30104 30105 30106 30107 30108 30109 30110 30111 30112 30113 | query I rowsort SELECT - col2 AS col2 FROM tab2 GROUP BY col2, col2 ---- -58 -79 -87 query I rowsort SELECT ALL + col2 AS col0 FROM tab2 AS cor0 GROUP BY col2 HAVING NOT ( col0 ) = NULL ---- query I rowsort SELECT ALL - col0 FROM tab0 AS cor0 GROUP BY col1, col0 ---- | > | 30138 30139 30140 30141 30142 30143 30144 30145 30146 30147 30148 30149 30150 30151 30152 | query I rowsort SELECT - col2 AS col2 FROM tab2 GROUP BY col2, col2 ---- -58 -79 -87 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT ALL + col2 AS col0 FROM tab2 AS cor0 GROUP BY col2 HAVING NOT ( col0 ) = NULL ---- query I rowsort SELECT ALL - col0 FROM tab0 AS cor0 GROUP BY col1, col0 ---- |
︙ | ︙ | |||
30416 30417 30418 30419 30420 30421 30422 30423 30424 30425 30426 30427 30428 30429 | query I rowsort SELECT + col1 * - + col1 AS col0 FROM tab1 GROUP BY col1 HAVING NULL IS NULL ---- -1936 -3249 -36 query I rowsort SELECT AVG ( ALL - col0 ) AS col2 FROM tab1 AS cor0 GROUP BY col0 HAVING + - col2 <= NULL ---- query I rowsort SELECT col2 AS col0 FROM tab1 AS cor0 WHERE NOT col1 IS NULL GROUP BY col2 HAVING NULL IS NOT NULL ---- | > | 30455 30456 30457 30458 30459 30460 30461 30462 30463 30464 30465 30466 30467 30468 30469 | query I rowsort SELECT + col1 * - + col1 AS col0 FROM tab1 GROUP BY col1 HAVING NULL IS NULL ---- -1936 -3249 -36 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT AVG ( ALL - col0 ) AS col2 FROM tab1 AS cor0 GROUP BY col0 HAVING + - col2 <= NULL ---- query I rowsort SELECT col2 AS col0 FROM tab1 AS cor0 WHERE NOT col1 IS NULL GROUP BY col2 HAVING NULL IS NOT NULL ---- |
︙ | ︙ | |||
30478 30479 30480 30481 30482 30483 30484 30485 30486 30487 30488 30489 30490 30491 | query I rowsort SELECT DISTINCT - col2 AS col0 FROM tab0 GROUP BY col2, col0 ---- -24 -38 -79 query II rowsort SELECT ALL + col0 col1, col0 FROM tab0 GROUP BY col0 ---- 26 26 43 43 | > | 30518 30519 30520 30521 30522 30523 30524 30525 30526 30527 30528 30529 30530 30531 30532 | query I rowsort SELECT DISTINCT - col2 AS col0 FROM tab0 GROUP BY col2, col0 ---- -24 -38 -79 skipif postgresql # PostgreSQL requires AS when renaming output columns query II rowsort SELECT ALL + col0 col1, col0 FROM tab0 GROUP BY col0 ---- 26 26 43 43 |
︙ | ︙ | |||
31253 31254 31255 31256 31257 31258 31259 31260 31261 31262 31263 31264 31265 31266 | SELECT DISTINCT col0 FROM tab2 cor0 GROUP BY col0 HAVING NOT + AVG ( ALL + col1 ) IS NOT NULL ---- query I rowsort SELECT ALL - col0 FROM tab2 WHERE NOT ( NOT + col0 + + col1 >= NULL ) GROUP BY col1, col0, col0 ---- query II rowsort SELECT ALL + col0 col2, - col0 FROM tab2 AS cor0 GROUP BY col0 ---- 15 -15 91 -91 | > | 31294 31295 31296 31297 31298 31299 31300 31301 31302 31303 31304 31305 31306 31307 31308 | SELECT DISTINCT col0 FROM tab2 cor0 GROUP BY col0 HAVING NOT + AVG ( ALL + col1 ) IS NOT NULL ---- query I rowsort SELECT ALL - col0 FROM tab2 WHERE NOT ( NOT + col0 + + col1 >= NULL ) GROUP BY col1, col0, col0 ---- skipif postgresql # PostgreSQL requires AS when renaming output columns query II rowsort SELECT ALL + col0 col2, - col0 FROM tab2 AS cor0 GROUP BY col0 ---- 15 -15 91 -91 |
︙ | ︙ | |||
32424 32425 32426 32427 32428 32429 32430 32431 32432 32433 32434 32435 32436 32437 32438 32439 32440 32441 32442 32443 32444 32445 32446 32447 | query I rowsort SELECT ALL - col1 + + col1 AS col2 FROM tab2 AS cor0 GROUP BY col1 ---- 0 0 0 query II rowsort SELECT ALL - col0 col1, col0 AS col1 FROM tab1 cor0 GROUP BY col1, col0 ---- -22 22 -28 28 -82 82 query I rowsort SELECT ALL - col2 AS col0 FROM tab2 GROUP BY col2, col1 HAVING NOT ( - col0 ) > ( NULL ) ---- query I rowsort SELECT col2 FROM tab0 GROUP BY col2, col1 HAVING col2 IS NULL ---- | > > | 32466 32467 32468 32469 32470 32471 32472 32473 32474 32475 32476 32477 32478 32479 32480 32481 32482 32483 32484 32485 32486 32487 32488 32489 32490 32491 | query I rowsort SELECT ALL - col1 + + col1 AS col2 FROM tab2 AS cor0 GROUP BY col1 ---- 0 0 0 skipif postgresql # PostgreSQL requires AS when renaming output columns query II rowsort SELECT ALL - col0 col1, col0 AS col1 FROM tab1 cor0 GROUP BY col1, col0 ---- -22 22 -28 28 -82 82 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT ALL - col2 AS col0 FROM tab2 GROUP BY col2, col1 HAVING NOT ( - col0 ) > ( NULL ) ---- query I rowsort SELECT col2 FROM tab0 GROUP BY col2, col1 HAVING col2 IS NULL ---- |
︙ | ︙ | |||
32654 32655 32656 32657 32658 32659 32660 32661 32662 32663 32664 32665 32666 32667 | query I rowsort SELECT DISTINCT col0 FROM tab0 GROUP BY col0, col2 HAVING NOT NULL IS NOT NULL ---- 26 43 83 query I rowsort SELECT DISTINCT col1 AS col2 FROM tab1 GROUP BY col0, col1 HAVING NOT NULL <= - col2 ---- query I rowsort SELECT ALL + - col2 FROM tab2 AS cor0 GROUP BY col2, col0, col0 HAVING NOT NULL IS NOT NULL ---- | > | 32698 32699 32700 32701 32702 32703 32704 32705 32706 32707 32708 32709 32710 32711 32712 | query I rowsort SELECT DISTINCT col0 FROM tab0 GROUP BY col0, col2 HAVING NOT NULL IS NOT NULL ---- 26 43 83 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT DISTINCT col1 AS col2 FROM tab1 GROUP BY col0, col1 HAVING NOT NULL <= - col2 ---- query I rowsort SELECT ALL + - col2 FROM tab2 AS cor0 GROUP BY col2, col0, col0 HAVING NOT NULL IS NOT NULL ---- |
︙ | ︙ | |||
33352 33353 33354 33355 33356 33357 33358 33359 33360 33361 33362 33363 33364 33365 | 158 174 query I rowsort SELECT - col0 FROM tab1 GROUP BY col0 HAVING ( NULL ) IS NOT NULL ---- query I rowsort SELECT col2 AS col1 FROM tab1 AS cor0 GROUP BY col2 HAVING NOT + - col1 >= NULL ---- query I rowsort SELECT ALL - + col1 FROM tab2 AS cor0 GROUP BY col1 ---- | > | 33397 33398 33399 33400 33401 33402 33403 33404 33405 33406 33407 33408 33409 33410 33411 | 158 174 query I rowsort SELECT - col0 FROM tab1 GROUP BY col0 HAVING ( NULL ) IS NOT NULL ---- skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT col2 AS col1 FROM tab1 AS cor0 GROUP BY col2 HAVING NOT + - col1 >= NULL ---- query I rowsort SELECT ALL - + col1 FROM tab2 AS cor0 GROUP BY col1 ---- |
︙ | ︙ | |||
34117 34118 34119 34120 34121 34122 34123 34124 34125 34126 34127 34128 34129 34130 | query I rowsort SELECT DISTINCT - col2 AS col1 FROM tab2 GROUP BY col2, col2 ---- -58 -79 -87 query I rowsort SELECT col0 AS col2 FROM tab0 GROUP BY col0, col0 HAVING NOT NULL >= + - col2 * + col0 ---- query I rowsort SELECT ALL + col1 FROM tab1 AS cor0 GROUP BY col1 HAVING NULL >= NULL ---- | > | 34163 34164 34165 34166 34167 34168 34169 34170 34171 34172 34173 34174 34175 34176 34177 | query I rowsort SELECT DISTINCT - col2 AS col1 FROM tab2 GROUP BY col2, col2 ---- -58 -79 -87 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT col0 AS col2 FROM tab0 GROUP BY col0, col0 HAVING NOT NULL >= + - col2 * + col0 ---- query I rowsort SELECT ALL + col1 FROM tab1 AS cor0 GROUP BY col1 HAVING NULL >= NULL ---- |
︙ | ︙ | |||
34323 34324 34325 34326 34327 34328 34329 34330 34331 34332 34333 34334 34335 34336 | -5041 -64 query I rowsort SELECT DISTINCT + col0 FROM tab0 GROUP BY col0 HAVING ( NULL ) IS NOT NULL ---- query I rowsort SELECT ALL col1 AS col0 FROM tab1 GROUP BY col1 HAVING NULL <> col0 ---- skipif postgresql # PostgreSQL requires AS when renaming output columns query I rowsort SELECT ALL - col1 col1 FROM tab0 GROUP BY col1 | > | 34370 34371 34372 34373 34374 34375 34376 34377 34378 34379 34380 34381 34382 34383 34384 | -5041 -64 query I rowsort SELECT DISTINCT + col0 FROM tab0 GROUP BY col0 HAVING ( NULL ) IS NOT NULL ---- skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT ALL col1 AS col0 FROM tab1 GROUP BY col1 HAVING NULL <> col0 ---- skipif postgresql # PostgreSQL requires AS when renaming output columns query I rowsort SELECT ALL - col1 col1 FROM tab0 GROUP BY col1 |
︙ | ︙ | |||
34371 34372 34373 34374 34375 34376 34377 34378 34379 34380 34381 34382 34383 34384 | query I rowsort SELECT - + col1 * col1 AS col0 FROM tab0 AS cor0 GROUP BY col1 ---- -6561 0 query II rowsort SELECT ALL - col1 col0, + col1 AS col2 FROM tab1 AS cor0 GROUP BY col2, col1 HAVING NOT NULL <> + col1 ---- skipif postgresql # PostgreSQL requires AS when renaming output columns query I rowsort SELECT DISTINCT - - col2 col0 FROM tab1 AS cor0 GROUP BY col2 | > | 34419 34420 34421 34422 34423 34424 34425 34426 34427 34428 34429 34430 34431 34432 34433 | query I rowsort SELECT - + col1 * col1 AS col0 FROM tab0 AS cor0 GROUP BY col1 ---- -6561 0 skipif postgresql # PostgreSQL requires AS when renaming output columns query II rowsort SELECT ALL - col1 col0, + col1 AS col2 FROM tab1 AS cor0 GROUP BY col2, col1 HAVING NOT NULL <> + col1 ---- skipif postgresql # PostgreSQL requires AS when renaming output columns query I rowsort SELECT DISTINCT - - col2 col0 FROM tab1 AS cor0 GROUP BY col2 |
︙ | ︙ | |||
34851 34852 34853 34854 34855 34856 34857 34858 34859 34860 34861 34862 34863 34864 | SELECT DISTINCT col1 col1 FROM tab1 AS cor0 GROUP BY col1, col1 HAVING NOT NULL IS NULL ---- query I rowsort SELECT + col2 AS col1 FROM tab2 AS cor0 WHERE NOT ( NULL ) BETWEEN NULL AND col2 GROUP BY col2, col0 HAVING NOT ( NOT - col2 IS NOT NULL ) ---- query I rowsort SELECT + col2 AS col0 FROM tab2 AS cor0 GROUP BY col2 HAVING NOT NULL BETWEEN NULL AND - col2 * col0 ---- skipif postgresql # PostgreSQL requires AS when renaming output columns query I rowsort SELECT ALL - + col0 col1 FROM tab2 AS cor0 GROUP BY col0, col1, col2 | > | 34900 34901 34902 34903 34904 34905 34906 34907 34908 34909 34910 34911 34912 34913 34914 | SELECT DISTINCT col1 col1 FROM tab1 AS cor0 GROUP BY col1, col1 HAVING NOT NULL IS NULL ---- query I rowsort SELECT + col2 AS col1 FROM tab2 AS cor0 WHERE NOT ( NULL ) BETWEEN NULL AND col2 GROUP BY col2, col0 HAVING NOT ( NOT - col2 IS NOT NULL ) ---- skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT + col2 AS col0 FROM tab2 AS cor0 GROUP BY col2 HAVING NOT NULL BETWEEN NULL AND - col2 * col0 ---- skipif postgresql # PostgreSQL requires AS when renaming output columns query I rowsort SELECT ALL - + col0 col1 FROM tab2 AS cor0 GROUP BY col0, col1, col2 |
︙ | ︙ | |||
34957 34958 34959 34960 34961 34962 34963 34964 34965 34966 34967 34968 34969 34970 34971 34972 34973 34974 34975 34976 34977 34978 | 91 92 query I rowsort SELECT AVG ( + - col1 ) FROM tab0 GROUP BY col0, col1 HAVING NOT col0 IS NOT NULL ---- query I rowsort SELECT - col1 - col1 AS col0 FROM tab2 GROUP BY col1 HAVING NOT ( NULL ) NOT BETWEEN NULL AND + col1 * - col0 ---- query I rowsort SELECT ALL col0 FROM tab2 GROUP BY col0, col0 HAVING NOT NULL IS NULL ---- query II rowsort SELECT ALL col0 col2, col0 AS col0 FROM tab2 GROUP BY col0, col1 HAVING NOT NULL IS NULL ---- query I rowsort SELECT ALL - col2 + - - col2 + - col2 FROM tab2 GROUP BY col2 ---- | > > | 35007 35008 35009 35010 35011 35012 35013 35014 35015 35016 35017 35018 35019 35020 35021 35022 35023 35024 35025 35026 35027 35028 35029 35030 | 91 92 query I rowsort SELECT AVG ( + - col1 ) FROM tab0 GROUP BY col0, col1 HAVING NOT col0 IS NOT NULL ---- skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT - col1 - col1 AS col0 FROM tab2 GROUP BY col1 HAVING NOT ( NULL ) NOT BETWEEN NULL AND + col1 * - col0 ---- query I rowsort SELECT ALL col0 FROM tab2 GROUP BY col0, col0 HAVING NOT NULL IS NULL ---- skipif postgresql # PostgreSQL requires AS when renaming output columns query II rowsort SELECT ALL col0 col2, col0 AS col0 FROM tab2 GROUP BY col0, col1 HAVING NOT NULL IS NULL ---- query I rowsort SELECT ALL - col2 + - - col2 + - col2 FROM tab2 GROUP BY col2 ---- |
︙ | ︙ | |||
36039 36040 36041 36042 36043 36044 36045 36046 36047 36048 36049 36050 36051 36052 | query I rowsort SELECT - col1 AS col2 FROM tab0 AS cor0 GROUP BY col1, col1 HAVING NOT NULL IS NOT NULL ---- -81 0 query I rowsort SELECT ALL - col2 AS col1 FROM tab2 GROUP BY col2 HAVING NOT NULL BETWEEN - col1 AND NULL ---- query I rowsort SELECT DISTINCT col0 * + col0 FROM tab0 GROUP BY col0 HAVING NULL IS NOT NULL ---- | > | 36091 36092 36093 36094 36095 36096 36097 36098 36099 36100 36101 36102 36103 36104 36105 | query I rowsort SELECT - col1 AS col2 FROM tab0 AS cor0 GROUP BY col1, col1 HAVING NOT NULL IS NOT NULL ---- -81 0 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT ALL - col2 AS col1 FROM tab2 GROUP BY col2 HAVING NOT NULL BETWEEN - col1 AND NULL ---- query I rowsort SELECT DISTINCT col0 * + col0 FROM tab0 GROUP BY col0 HAVING NULL IS NOT NULL ---- |
︙ | ︙ | |||
37870 37871 37872 37873 37874 37875 37876 37877 37878 37879 37880 37881 37882 37883 | query I rowsort SELECT ALL - col1 FROM tab0 AS cor0 WHERE NULL IS NULL GROUP BY col2, col1, col2 ---- -81 0 0 query II rowsort SELECT ALL - col0 - + col0 col2, + col0 * - + col0 FROM tab2 AS cor0 GROUP BY col0 ---- -182 -8281 -184 -8464 | > | 37923 37924 37925 37926 37927 37928 37929 37930 37931 37932 37933 37934 37935 37936 37937 | query I rowsort SELECT ALL - col1 FROM tab0 AS cor0 WHERE NULL IS NULL GROUP BY col2, col1, col2 ---- -81 0 0 skipif postgresql # PostgreSQL requires AS when renaming output columns query II rowsort SELECT ALL - col0 - + col0 col2, + col0 * - + col0 FROM tab2 AS cor0 GROUP BY col0 ---- -182 -8281 -184 -8464 |
︙ | ︙ | |||
38014 38015 38016 38017 38018 38019 38020 38021 38022 38023 38024 38025 38026 38027 | -5336 -7189 query I rowsort SELECT col0 AS col1 FROM tab1 GROUP BY col0, col1 HAVING NULL >= NULL ---- query I rowsort SELECT DISTINCT + col0 AS col2 FROM tab1 AS cor0 GROUP BY col0 HAVING NULL <= ( + col2 ) ---- query I rowsort SELECT + col2 - col2 FROM tab2 GROUP BY col2, col0 ---- | > | 38068 38069 38070 38071 38072 38073 38074 38075 38076 38077 38078 38079 38080 38081 38082 | -5336 -7189 query I rowsort SELECT col0 AS col1 FROM tab1 GROUP BY col0, col1 HAVING NULL >= NULL ---- skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT DISTINCT + col0 AS col2 FROM tab1 AS cor0 GROUP BY col0 HAVING NULL <= ( + col2 ) ---- query I rowsort SELECT + col2 - col2 FROM tab2 GROUP BY col2, col0 ---- |
︙ | ︙ | |||
38705 38706 38707 38708 38709 38710 38711 38712 38713 38714 38715 38716 38717 38718 | query I rowsort SELECT - col2 * - + col2 * - col2 AS col2 FROM tab1 GROUP BY col2 ---- -357911 -512 -91125 query II rowsort SELECT ALL - col2 col1, - col2 FROM tab0 AS cor0 GROUP BY col2 ---- -24 -24 -38 -38 | > | 38760 38761 38762 38763 38764 38765 38766 38767 38768 38769 38770 38771 38772 38773 38774 | query I rowsort SELECT - col2 * - + col2 * - col2 AS col2 FROM tab1 GROUP BY col2 ---- -357911 -512 -91125 skipif postgresql # PostgreSQL requires AS when renaming output columns query II rowsort SELECT ALL - col2 col1, - col2 FROM tab0 AS cor0 GROUP BY col2 ---- -24 -24 -38 -38 |
︙ | ︙ | |||
39490 39491 39492 39493 39494 39495 39496 39497 39498 39499 39500 39501 39502 39503 | query I rowsort SELECT DISTINCT col2 AS col1 FROM tab1 GROUP BY col0, col2 HAVING + col0 IS NOT NULL ---- 45 71 8 query II rowsort SELECT DISTINCT col0 col1, col0 AS col1 FROM tab1 GROUP BY col0 HAVING ( + col0 NOT BETWEEN NULL AND NULL ) ---- query I rowsort SELECT + col0 AS col2 FROM tab1 cor0 GROUP BY col0 HAVING NULL IS NOT NULL ---- | > | 39546 39547 39548 39549 39550 39551 39552 39553 39554 39555 39556 39557 39558 39559 39560 | query I rowsort SELECT DISTINCT col2 AS col1 FROM tab1 GROUP BY col0, col2 HAVING + col0 IS NOT NULL ---- 45 71 8 skipif postgresql # PostgreSQL requires AS when renaming output columns query II rowsort SELECT DISTINCT col0 col1, col0 AS col1 FROM tab1 GROUP BY col0 HAVING ( + col0 NOT BETWEEN NULL AND NULL ) ---- query I rowsort SELECT + col0 AS col2 FROM tab1 cor0 GROUP BY col0 HAVING NULL IS NOT NULL ---- |
︙ | ︙ | |||
39694 39695 39696 39697 39698 39699 39700 39701 39702 39703 39704 39705 39706 39707 | 38 79 query I rowsort SELECT ALL + col0 AS col1 FROM tab1 WHERE NULL <> - col2 * - col0 GROUP BY col0 ---- query I rowsort SELECT + col1 AS col2 FROM tab2 GROUP BY col1 HAVING NULL < col2 ---- query I rowsort SELECT DISTINCT col0 FROM tab2 AS cor0 GROUP BY col0, col0 HAVING NULL IS NOT NULL ---- | > | 39751 39752 39753 39754 39755 39756 39757 39758 39759 39760 39761 39762 39763 39764 39765 | 38 79 query I rowsort SELECT ALL + col0 AS col1 FROM tab1 WHERE NULL <> - col2 * - col0 GROUP BY col0 ---- skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT + col1 AS col2 FROM tab2 GROUP BY col1 HAVING NULL < col2 ---- query I rowsort SELECT DISTINCT col0 FROM tab2 AS cor0 GROUP BY col0, col0 HAVING NULL IS NOT NULL ---- |
︙ | ︙ | |||
39896 39897 39898 39899 39900 39901 39902 39903 39904 39905 39906 39907 39908 39909 | query I rowsort SELECT + + col2 * - + col2 FROM tab1 AS cor0 GROUP BY col2 ---- -2025 -5041 -64 query II rowsort SELECT - + col2 col0, col2 + + col2 FROM tab0 AS cor0 GROUP BY col2 ---- -24 48 -38 76 | > | 39954 39955 39956 39957 39958 39959 39960 39961 39962 39963 39964 39965 39966 39967 39968 | query I rowsort SELECT + + col2 * - + col2 FROM tab1 AS cor0 GROUP BY col2 ---- -2025 -5041 -64 skipif postgresql # PostgreSQL requires AS when renaming output columns query II rowsort SELECT - + col2 col0, col2 + + col2 FROM tab0 AS cor0 GROUP BY col2 ---- -24 48 -38 76 |
︙ | ︙ | |||
40238 40239 40240 40241 40242 40243 40244 40245 40246 40247 40248 40249 40250 40251 | SELECT - col2 AS col1 FROM tab0 GROUP BY col2 HAVING NULL IS NOT NULL ---- query I rowsort SELECT ALL col1 AS col0 FROM tab1 GROUP BY col1 HAVING NULL < NULL ---- query I rowsort SELECT - col2 AS col0 FROM tab0 AS cor0 GROUP BY col2 HAVING NOT - col0 >= NULL ---- query I rowsort SELECT ALL - col1 FROM tab1 AS cor0 GROUP BY col1 HAVING NULL IS NOT NULL ---- | > | 40297 40298 40299 40300 40301 40302 40303 40304 40305 40306 40307 40308 40309 40310 40311 | SELECT - col2 AS col1 FROM tab0 GROUP BY col2 HAVING NULL IS NOT NULL ---- query I rowsort SELECT ALL col1 AS col0 FROM tab1 GROUP BY col1 HAVING NULL < NULL ---- skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT - col2 AS col0 FROM tab0 AS cor0 GROUP BY col2 HAVING NOT - col0 >= NULL ---- query I rowsort SELECT ALL - col1 FROM tab1 AS cor0 GROUP BY col1 HAVING NULL IS NOT NULL ---- |
︙ | ︙ | |||
40515 40516 40517 40518 40519 40520 40521 40522 40523 40524 40525 40526 40527 40528 | query I rowsort SELECT col2 FROM tab0 AS cor0 WHERE + col0 IS NOT NULL GROUP BY col2 ---- 24 38 79 query I rowsort SELECT + col1 AS col0 FROM tab2 AS cor0 GROUP BY col1 HAVING NOT ( NOT ( NULL ) <> col0 ) ---- skipif postgresql # PostgreSQL requires AS when renaming output columns query I rowsort SELECT + col0 col2 FROM tab2 AS cor0 GROUP BY col0 | > | 40575 40576 40577 40578 40579 40580 40581 40582 40583 40584 40585 40586 40587 40588 40589 | query I rowsort SELECT col2 FROM tab0 AS cor0 WHERE + col0 IS NOT NULL GROUP BY col2 ---- 24 38 79 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT + col1 AS col0 FROM tab2 AS cor0 GROUP BY col1 HAVING NOT ( NOT ( NULL ) <> col0 ) ---- skipif postgresql # PostgreSQL requires AS when renaming output columns query I rowsort SELECT + col0 col2 FROM tab2 AS cor0 GROUP BY col0 |
︙ | ︙ | |||
40994 40995 40996 40997 40998 40999 41000 41001 41002 41003 41004 41005 41006 41007 | query I rowsort SELECT col2 + + - col1 AS col2 FROM tab2 cor0 GROUP BY col2, col1 ---- 17 20 26 query II rowsort SELECT DISTINCT col2 + col2 + - col2 col2, + col2 AS col2 FROM tab0 AS cor0 GROUP BY col2 ---- 24 24 38 38 | > | 41055 41056 41057 41058 41059 41060 41061 41062 41063 41064 41065 41066 41067 41068 41069 | query I rowsort SELECT col2 + + - col1 AS col2 FROM tab2 cor0 GROUP BY col2, col1 ---- 17 20 26 skipif postgresql # PostgreSQL requires AS when renaming output columns query II rowsort SELECT DISTINCT col2 + col2 + - col2 col2, + col2 AS col2 FROM tab0 AS cor0 GROUP BY col2 ---- 24 24 38 38 |
︙ | ︙ | |||
41137 41138 41139 41140 41141 41142 41143 41144 41145 41146 41147 41148 41149 41150 | -79 -87 query I rowsort SELECT DISTINCT + col0 AS col2 FROM tab1 AS cor0 GROUP BY col2, col0 HAVING NULL <> NULL ---- query II rowsort SELECT - col2 col1, + col2 FROM tab2 GROUP BY col1, col2 ---- -58 58 -79 79 | > | 41199 41200 41201 41202 41203 41204 41205 41206 41207 41208 41209 41210 41211 41212 41213 | -79 -87 query I rowsort SELECT DISTINCT + col0 AS col2 FROM tab1 AS cor0 GROUP BY col2, col0 HAVING NULL <> NULL ---- skipif postgresql # PostgreSQL requires AS when renaming output columns query II rowsort SELECT - col2 col1, + col2 FROM tab2 GROUP BY col1, col2 ---- -58 58 -79 79 |
︙ | ︙ | |||
41428 41429 41430 41431 41432 41433 41434 41435 41436 41437 41438 41439 41440 41441 | query I rowsort SELECT ALL - col0 FROM tab1 AS cor0 GROUP BY col2, col0 HAVING NOT NULL IS NOT NULL ---- -22 -28 -82 query III rowsort SELECT - col0 AS col0, + col0 + - + col0 + + col0 col2, col0 AS col0 FROM tab2 AS cor0 GROUP BY col0 ---- 9 values hashing to 0b527db12eb8fdd5b9d58ecebd6857eb skipif postgresql # PostgreSQL requires AS when renaming output columns query I rowsort | > | 41491 41492 41493 41494 41495 41496 41497 41498 41499 41500 41501 41502 41503 41504 41505 | query I rowsort SELECT ALL - col0 FROM tab1 AS cor0 GROUP BY col2, col0 HAVING NOT NULL IS NOT NULL ---- -22 -28 -82 skipif postgresql # PostgreSQL requires AS when renaming output columns query III rowsort SELECT - col0 AS col0, + col0 + - + col0 + + col0 col2, col0 AS col0 FROM tab2 AS cor0 GROUP BY col0 ---- 9 values hashing to 0b527db12eb8fdd5b9d58ecebd6857eb skipif postgresql # PostgreSQL requires AS when renaming output columns query I rowsort |
︙ | ︙ | |||
42322 42323 42324 42325 42326 42327 42328 42329 42330 42331 42332 42333 42334 42335 | 44 88 57 114 6 12 query II rowsort SELECT DISTINCT col1 col1, col1 FROM tab1 GROUP BY col1 ---- 44 44 57 57 | > | 42386 42387 42388 42389 42390 42391 42392 42393 42394 42395 42396 42397 42398 42399 42400 | 44 88 57 114 6 12 skipif postgresql # PostgreSQL requires AS when renaming output columns query II rowsort SELECT DISTINCT col1 col1, col1 FROM tab1 GROUP BY col1 ---- 44 44 57 57 |
︙ | ︙ | |||
42844 42845 42846 42847 42848 42849 42850 42851 42852 42853 42854 42855 42856 42857 | 0 skipif postgresql # PostgreSQL requires AS when renaming output columns query I rowsort SELECT DISTINCT col0 col2 FROM tab2 WHERE NULL IS NOT NULL GROUP BY col0 ---- query I rowsort SELECT col0 + + col0 AS col1 FROM tab2 AS cor0 GROUP BY col0 HAVING - + col1 * + col0 + col0 > NULL ---- query I rowsort SELECT ALL col0 + col0 FROM tab2 GROUP BY col0, col2 ---- | > | 42909 42910 42911 42912 42913 42914 42915 42916 42917 42918 42919 42920 42921 42922 42923 | 0 skipif postgresql # PostgreSQL requires AS when renaming output columns query I rowsort SELECT DISTINCT col0 col2 FROM tab2 WHERE NULL IS NOT NULL GROUP BY col0 ---- skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT col0 + + col0 AS col1 FROM tab2 AS cor0 GROUP BY col0 HAVING - + col1 * + col0 + col0 > NULL ---- query I rowsort SELECT ALL col0 + col0 FROM tab2 GROUP BY col0, col2 ---- |
︙ | ︙ | |||
43039 43040 43041 43042 43043 43044 43045 43046 43047 43048 43049 43050 43051 43052 | query I rowsort SELECT ALL + col2 AS col2 FROM tab2 GROUP BY col2, col1 HAVING NULL IS NULL ---- 58 79 87 query I rowsort SELECT col2 AS col0 FROM tab2 GROUP BY col2 HAVING NOT + + col0 < ( NULL ) ---- onlyif mysql # DIV for integer division: query I rowsort label-6554 SELECT DISTINCT - col0 DIV - - col2 AS col1 FROM tab0 GROUP BY col0, col2 | > | 43105 43106 43107 43108 43109 43110 43111 43112 43113 43114 43115 43116 43117 43118 43119 | query I rowsort SELECT ALL + col2 AS col2 FROM tab2 GROUP BY col2, col1 HAVING NULL IS NULL ---- 58 79 87 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT col2 AS col0 FROM tab2 GROUP BY col2 HAVING NOT + + col0 < ( NULL ) ---- onlyif mysql # DIV for integer division: query I rowsort label-6554 SELECT DISTINCT - col0 DIV - - col2 AS col1 FROM tab0 GROUP BY col0, col2 |
︙ | ︙ | |||
43224 43225 43226 43227 43228 43229 43230 43231 43232 43233 43234 43235 43236 43237 | -91 -92 query I rowsort SELECT ALL - col2 FROM tab2 AS cor0 WHERE + col2 IS NULL GROUP BY col2 ---- query I rowsort SELECT col1 AS col0 FROM tab0 AS cor0 GROUP BY col1 HAVING NOT NULL IS NULL OR ( col0 ) NOT BETWEEN NULL AND NULL ---- query I rowsort SELECT ALL col0 AS col2 FROM tab0 AS cor0 GROUP BY col0, col0 ---- | > | 43291 43292 43293 43294 43295 43296 43297 43298 43299 43300 43301 43302 43303 43304 43305 | -91 -92 query I rowsort SELECT ALL - col2 FROM tab2 AS cor0 WHERE + col2 IS NULL GROUP BY col2 ---- skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT col1 AS col0 FROM tab0 AS cor0 GROUP BY col1 HAVING NOT NULL IS NULL OR ( col0 ) NOT BETWEEN NULL AND NULL ---- query I rowsort SELECT ALL col0 AS col2 FROM tab0 AS cor0 GROUP BY col0, col0 ---- |
︙ | ︙ | |||
43376 43377 43378 43379 43380 43381 43382 43383 43384 43385 43386 43387 43388 43389 | query I rowsort SELECT DISTINCT - col2 - col1 AS col0 FROM tab0 GROUP BY col1, col2 ---- -105 -38 -79 query II rowsort SELECT ALL + - col1 col2, col1 * col1 * col1 FROM tab2 AS cor0 GROUP BY col1 ---- -41 68921 -59 205379 | > | 43444 43445 43446 43447 43448 43449 43450 43451 43452 43453 43454 43455 43456 43457 43458 | query I rowsort SELECT DISTINCT - col2 - col1 AS col0 FROM tab0 GROUP BY col1, col2 ---- -105 -38 -79 skipif postgresql # PostgreSQL requires AS when renaming output columns query II rowsort SELECT ALL + - col1 col2, col1 * col1 * col1 FROM tab2 AS cor0 GROUP BY col1 ---- -41 68921 -59 205379 |
︙ | ︙ | |||
44905 44906 44907 44908 44909 44910 44911 44912 44913 44914 44915 44916 44917 44918 | query I rowsort SELECT - col2 AS col2 FROM tab1 WHERE NULL IS NULL GROUP BY col2 ---- -45 -71 -8 query I rowsort SELECT ALL + AVG ( + col1 ) AS col0 FROM tab2 GROUP BY col1 HAVING NOT NULL <> col0 ---- onlyif mysql # DIV for integer division: query I rowsort label-6844 SELECT - col0 DIV + col0 FROM tab0 AS cor0 GROUP BY col0 | > | 44974 44975 44976 44977 44978 44979 44980 44981 44982 44983 44984 44985 44986 44987 44988 | query I rowsort SELECT - col2 AS col2 FROM tab1 WHERE NULL IS NULL GROUP BY col2 ---- -45 -71 -8 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT ALL + AVG ( + col1 ) AS col0 FROM tab2 GROUP BY col1 HAVING NOT NULL <> col0 ---- onlyif mysql # DIV for integer division: query I rowsort label-6844 SELECT - col0 DIV + col0 FROM tab0 AS cor0 GROUP BY col0 |
︙ | ︙ | |||
45145 45146 45147 45148 45149 45150 45151 45152 45153 45154 45155 45156 45157 45158 | query I rowsort SELECT ALL - col0 AS col2 FROM tab2 AS cor0 GROUP BY col0 ---- -15 -91 -92 query I rowsort SELECT DISTINCT + col0 AS col2 FROM tab1 cor0 GROUP BY col0 HAVING NOT col2 NOT BETWEEN NULL AND NULL ---- query I rowsort SELECT ALL + + col2 AS col2 FROM tab2 AS cor0 GROUP BY col2 HAVING NOT NULL IS NULL ---- | > | 45215 45216 45217 45218 45219 45220 45221 45222 45223 45224 45225 45226 45227 45228 45229 | query I rowsort SELECT ALL - col0 AS col2 FROM tab2 AS cor0 GROUP BY col0 ---- -15 -91 -92 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT DISTINCT + col0 AS col2 FROM tab1 cor0 GROUP BY col0 HAVING NOT col2 NOT BETWEEN NULL AND NULL ---- query I rowsort SELECT ALL + + col2 AS col2 FROM tab2 AS cor0 GROUP BY col2 HAVING NOT NULL IS NULL ---- |
︙ | ︙ | |||
46135 46136 46137 46138 46139 46140 46141 46142 46143 46144 46145 46146 46147 46148 46149 46150 46151 46152 46153 46154 46155 46156 46157 46158 46159 46160 46161 46162 46163 46164 46165 46166 | query I rowsort SELECT col2 * + col2 col1 FROM tab0 GROUP BY col2 ---- 1444 576 6241 query I rowsort SELECT + + col1 AS col2 FROM tab0 AS cor0 GROUP BY col1 HAVING ( NULL ) NOT BETWEEN NULL AND ( col2 ) ---- query I rowsort SELECT ALL - col1 FROM tab2 AS cor0 GROUP BY col0, col1 HAVING NOT NULL IS NOT NULL ---- -41 -59 -61 query I rowsort SELECT + col0 AS col0 FROM tab1 cor0 GROUP BY col0, col0 ---- 22 28 82 query I rowsort SELECT DISTINCT col0 AS col1 FROM tab1 GROUP BY col2, col0 HAVING - col1 NOT BETWEEN ( NULL ) AND ( NULL ) ---- query I rowsort SELECT col0 FROM tab0 GROUP BY col0 HAVING NOT NULL <= NULL ---- | > > | 46206 46207 46208 46209 46210 46211 46212 46213 46214 46215 46216 46217 46218 46219 46220 46221 46222 46223 46224 46225 46226 46227 46228 46229 46230 46231 46232 46233 46234 46235 46236 46237 46238 46239 | query I rowsort SELECT col2 * + col2 col1 FROM tab0 GROUP BY col2 ---- 1444 576 6241 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT + + col1 AS col2 FROM tab0 AS cor0 GROUP BY col1 HAVING ( NULL ) NOT BETWEEN NULL AND ( col2 ) ---- query I rowsort SELECT ALL - col1 FROM tab2 AS cor0 GROUP BY col0, col1 HAVING NOT NULL IS NOT NULL ---- -41 -59 -61 query I rowsort SELECT + col0 AS col0 FROM tab1 cor0 GROUP BY col0, col0 ---- 22 28 82 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT DISTINCT col0 AS col1 FROM tab1 GROUP BY col2, col0 HAVING - col1 NOT BETWEEN ( NULL ) AND ( NULL ) ---- query I rowsort SELECT col0 FROM tab0 GROUP BY col0 HAVING NOT NULL <= NULL ---- |
︙ | ︙ | |||
46562 46563 46564 46565 46566 46567 46568 46569 46570 46571 46572 46573 46574 46575 | query I rowsort SELECT DISTINCT col1 FROM tab0 AS cor0 GROUP BY col0, col2, col1 ---- 0 81 query II rowsort SELECT - col0 * + + col0 * + - col0 col1, col0 FROM tab1 AS cor0 GROUP BY col0, col0 ---- 10648 22 21952 28 | > | 46635 46636 46637 46638 46639 46640 46641 46642 46643 46644 46645 46646 46647 46648 46649 | query I rowsort SELECT DISTINCT col1 FROM tab0 AS cor0 GROUP BY col0, col2, col1 ---- 0 81 skipif postgresql # PostgreSQL requires AS when renaming output columns query II rowsort SELECT - col0 * + + col0 * + - col0 col1, col0 FROM tab1 AS cor0 GROUP BY col0, col0 ---- 10648 22 21952 28 |
︙ | ︙ | |||
47599 47600 47601 47602 47603 47604 47605 47606 47607 47608 47609 47610 47611 47612 | 79 87 query I rowsort SELECT col1 AS col0 FROM tab2 GROUP BY col1 HAVING + col1 IS NULL ---- query II rowsort SELECT ALL col0 col2, + col0 AS col1 FROM tab2 GROUP BY col0 HAVING ( NULL ) IS NULL ---- 15 15 91 91 | > | 47673 47674 47675 47676 47677 47678 47679 47680 47681 47682 47683 47684 47685 47686 47687 | 79 87 query I rowsort SELECT col1 AS col0 FROM tab2 GROUP BY col1 HAVING + col1 IS NULL ---- skipif postgresql # PostgreSQL requires AS when renaming output columns query II rowsort SELECT ALL col0 col2, + col0 AS col1 FROM tab2 GROUP BY col0 HAVING ( NULL ) IS NULL ---- 15 15 91 91 |
︙ | ︙ | |||
47651 47652 47653 47654 47655 47656 47657 47658 47659 47660 47661 47662 47663 47664 | skipif postgresql # PostgreSQL requires AS when renaming output columns query I rowsort SELECT ALL + col1 col0 FROM tab0 cor0 GROUP BY col1, col1 ---- 0 81 query II rowsort SELECT + + col0 col1, col0 FROM tab2 AS cor0 GROUP BY col0 HAVING NOT NULL IS NULL ---- query I rowsort SELECT col1 AS col1 FROM tab0 GROUP BY col1, col2, col1 ---- | > | 47726 47727 47728 47729 47730 47731 47732 47733 47734 47735 47736 47737 47738 47739 47740 | skipif postgresql # PostgreSQL requires AS when renaming output columns query I rowsort SELECT ALL + col1 col0 FROM tab0 cor0 GROUP BY col1, col1 ---- 0 81 skipif postgresql # PostgreSQL requires AS when renaming output columns query II rowsort SELECT + + col0 col1, col0 FROM tab2 AS cor0 GROUP BY col0 HAVING NOT NULL IS NULL ---- query I rowsort SELECT col1 AS col1 FROM tab0 GROUP BY col1, col2, col1 ---- |
︙ | ︙ | |||
50343 50344 50345 50346 50347 50348 50349 50350 50351 50352 50353 50354 50355 50356 | query I rowsort SELECT DISTINCT col2 AS col2 FROM tab1 AS cor0 GROUP BY col0, col0, col2 ---- 45 71 8 query I rowsort SELECT col0 AS col2 FROM tab1 GROUP BY col0, col1 HAVING + + col1 * col2 + + + col2 * + - col2 > NULL ---- skipif postgresql # PostgreSQL requires AS when renaming output columns query I rowsort SELECT + col1 col2 FROM tab2 AS cor0 GROUP BY col1, col1 | > | 50419 50420 50421 50422 50423 50424 50425 50426 50427 50428 50429 50430 50431 50432 50433 | query I rowsort SELECT DISTINCT col2 AS col2 FROM tab1 AS cor0 GROUP BY col0, col0, col2 ---- 45 71 8 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT col0 AS col2 FROM tab1 GROUP BY col0, col1 HAVING + + col1 * col2 + + + col2 * + - col2 > NULL ---- skipif postgresql # PostgreSQL requires AS when renaming output columns query I rowsort SELECT + col1 col2 FROM tab2 AS cor0 GROUP BY col1, col1 |
︙ | ︙ | |||
54223 54224 54225 54226 54227 54228 54229 54230 54231 54232 54233 54234 54235 54236 | query I rowsort SELECT DISTINCT + col0 + + col2 - + - col2 FROM tab1 GROUP BY col0, col2 ---- 118 224 38 query II rowsort SELECT DISTINCT - col0 col0, col0 AS col0 FROM tab0 GROUP BY col0, col0 ---- -26 26 -43 43 | > | 54300 54301 54302 54303 54304 54305 54306 54307 54308 54309 54310 54311 54312 54313 54314 | query I rowsort SELECT DISTINCT + col0 + + col2 - + - col2 FROM tab1 GROUP BY col0, col2 ---- 118 224 38 skipif postgresql # PostgreSQL requires AS when renaming output columns query II rowsort SELECT DISTINCT - col0 col0, col0 AS col0 FROM tab0 GROUP BY col0, col0 ---- -26 26 -43 43 |
︙ | ︙ | |||
54480 54481 54482 54483 54484 54485 54486 54487 54488 54489 54490 54491 54492 54493 | query I rowsort SELECT ALL - col1 FROM tab0 GROUP BY col2, col1 ---- -81 0 0 query I rowsort SELECT ALL + col1 AS col0 FROM tab2 GROUP BY col1 HAVING NULL >= ( - col0 ) ---- query I rowsort SELECT ALL + col0 FROM tab0 AS cor0 GROUP BY col0 HAVING NULL < NULL ---- | > | 54558 54559 54560 54561 54562 54563 54564 54565 54566 54567 54568 54569 54570 54571 54572 | query I rowsort SELECT ALL - col1 FROM tab0 GROUP BY col2, col1 ---- -81 0 0 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT ALL + col1 AS col0 FROM tab2 GROUP BY col1 HAVING NULL >= ( - col0 ) ---- query I rowsort SELECT ALL + col0 FROM tab0 AS cor0 GROUP BY col0 HAVING NULL < NULL ---- |
︙ | ︙ | |||
54957 54958 54959 54960 54961 54962 54963 54964 54965 54966 54967 54968 54969 54970 | ---- query I rowsort SELECT DISTINCT - col1 + + col1 FROM tab0 GROUP BY col1 ---- 0 query I rowsort SELECT col1 AS col0 FROM tab1 GROUP BY col1 HAVING NULL < + col0 ---- query II rowsort SELECT + col2, + col2 AS col2 FROM tab1 GROUP BY col2 ---- | > | 55036 55037 55038 55039 55040 55041 55042 55043 55044 55045 55046 55047 55048 55049 55050 | ---- query I rowsort SELECT DISTINCT - col1 + + col1 FROM tab0 GROUP BY col1 ---- 0 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT col1 AS col0 FROM tab1 GROUP BY col1 HAVING NULL < + col0 ---- query II rowsort SELECT + col2, + col2 AS col2 FROM tab1 GROUP BY col2 ---- |
︙ | ︙ | |||
55018 55019 55020 55021 55022 55023 55024 55025 55026 55027 55028 55029 55030 55031 | query I rowsort SELECT + col0 + + col0 AS col1 FROM tab0 AS cor0 GROUP BY col0 ---- 166 52 86 query I rowsort SELECT DISTINCT + col1 AS col0 FROM tab0 AS cor0 GROUP BY col1 HAVING + col0 >= NULL ---- query I rowsort SELECT DISTINCT col2 FROM tab0 AS cor0 GROUP BY col2 HAVING NULL IS NULL ---- | > | 55098 55099 55100 55101 55102 55103 55104 55105 55106 55107 55108 55109 55110 55111 55112 | query I rowsort SELECT + col0 + + col0 AS col1 FROM tab0 AS cor0 GROUP BY col0 ---- 166 52 86 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT DISTINCT + col1 AS col0 FROM tab0 AS cor0 GROUP BY col1 HAVING + col0 >= NULL ---- query I rowsort SELECT DISTINCT col2 FROM tab0 AS cor0 GROUP BY col2 HAVING NULL IS NULL ---- |
︙ | ︙ | |||
55241 55242 55243 55244 55245 55246 55247 55248 55249 55250 55251 55252 55253 55254 | query I rowsort SELECT + - col0 AS col2 FROM tab0 AS cor0 GROUP BY col2, col0, col0 ---- -26 -43 -83 query II rowsort SELECT col2 col1, + col2 FROM tab2 GROUP BY col2, col1 ---- 58 58 79 79 | > | 55322 55323 55324 55325 55326 55327 55328 55329 55330 55331 55332 55333 55334 55335 55336 | query I rowsort SELECT + - col0 AS col2 FROM tab0 AS cor0 GROUP BY col2, col0, col0 ---- -26 -43 -83 skipif postgresql # PostgreSQL requires AS when renaming output columns query II rowsort SELECT col2 col1, + col2 FROM tab2 GROUP BY col2, col1 ---- 58 58 79 79 |
︙ | ︙ | |||
55945 55946 55947 55948 55949 55950 55951 55952 55953 55954 55955 55956 55957 55958 | query I rowsort SELECT ALL + col1 FROM tab0 AS cor0 GROUP BY col1 HAVING NOT NULL IS NOT NULL ---- 0 81 query I rowsort SELECT - col0 AS col1 FROM tab1 GROUP BY col0 HAVING NULL NOT BETWEEN ( NULL ) AND col1 ---- query I rowsort SELECT + col0 FROM tab0 cor0 WHERE NOT col0 IS NOT NULL GROUP BY col0 ---- | > | 56027 56028 56029 56030 56031 56032 56033 56034 56035 56036 56037 56038 56039 56040 56041 | query I rowsort SELECT ALL + col1 FROM tab0 AS cor0 GROUP BY col1 HAVING NOT NULL IS NOT NULL ---- 0 81 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT - col0 AS col1 FROM tab1 GROUP BY col0 HAVING NULL NOT BETWEEN ( NULL ) AND col1 ---- query I rowsort SELECT + col0 FROM tab0 cor0 WHERE NOT col0 IS NOT NULL GROUP BY col0 ---- |
︙ | ︙ | |||
56183 56184 56185 56186 56187 56188 56189 56190 56191 56192 56193 56194 56195 56196 | 38 79 query I rowsort SELECT - AVG ( + col2 ) * - + col2 FROM tab0 GROUP BY col2 HAVING AVG ( ALL col2 ) IS NULL ---- query II rowsort SELECT DISTINCT - col2 col0, col2 FROM tab0 AS cor0 GROUP BY col2 HAVING NOT NULL IS NULL ---- query I rowsort SELECT + col0 FROM tab0 AS cor0 GROUP BY col1, col0 HAVING - + col0 IS NOT NULL ---- | > | 56266 56267 56268 56269 56270 56271 56272 56273 56274 56275 56276 56277 56278 56279 56280 | 38 79 query I rowsort SELECT - AVG ( + col2 ) * - + col2 FROM tab0 GROUP BY col2 HAVING AVG ( ALL col2 ) IS NULL ---- skipif postgresql # PostgreSQL requires AS when renaming output columns query II rowsort SELECT DISTINCT - col2 col0, col2 FROM tab0 AS cor0 GROUP BY col2 HAVING NOT NULL IS NULL ---- query I rowsort SELECT + col0 FROM tab0 AS cor0 GROUP BY col1, col0 HAVING - + col0 IS NOT NULL ---- |
︙ | ︙ | |||
56487 56488 56489 56490 56491 56492 56493 56494 56495 56496 56497 56498 56499 56500 | query I rowsort SELECT ALL + - col2 AS col2 FROM tab1 AS cor0 GROUP BY col0, col2 ---- -45 -71 -8 query II rowsort SELECT DISTINCT col2 col1, col2 FROM tab0 GROUP BY col2, col2 ---- 24 24 38 38 | > | 56571 56572 56573 56574 56575 56576 56577 56578 56579 56580 56581 56582 56583 56584 56585 | query I rowsort SELECT ALL + - col2 AS col2 FROM tab1 AS cor0 GROUP BY col0, col2 ---- -45 -71 -8 skipif postgresql # PostgreSQL requires AS when renaming output columns query II rowsort SELECT DISTINCT col2 col1, col2 FROM tab0 GROUP BY col2, col2 ---- 24 24 38 38 |
︙ | ︙ | |||
57285 57286 57287 57288 57289 57290 57291 57292 57293 57294 57295 57296 57297 57298 | query I rowsort SELECT - col2 AS col1 FROM tab0 GROUP BY col0, col2 ---- -24 -38 -79 query I rowsort SELECT - col1 AS col0 FROM tab1 AS cor0 GROUP BY col1 HAVING NOT col0 < NULL ---- query II rowsort SELECT ALL + col1, + col1 FROM tab1 AS cor0 GROUP BY col1 HAVING NOT ( NULL ) IS NULL ---- | > | 57370 57371 57372 57373 57374 57375 57376 57377 57378 57379 57380 57381 57382 57383 57384 | query I rowsort SELECT - col2 AS col1 FROM tab0 GROUP BY col0, col2 ---- -24 -38 -79 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT - col1 AS col0 FROM tab1 AS cor0 GROUP BY col1 HAVING NOT col0 < NULL ---- query II rowsort SELECT ALL + col1, + col1 FROM tab1 AS cor0 GROUP BY col1 HAVING NOT ( NULL ) IS NULL ---- |
︙ | ︙ | |||
57370 57371 57372 57373 57374 57375 57376 57377 57378 57379 57380 57381 57382 57383 | query I rowsort SELECT ALL - col2 AS col1 FROM tab0 GROUP BY col0, col2, col2 ---- -24 -38 -79 query II rowsort SELECT - col2 col0, col2 FROM tab2 cor0 GROUP BY col2 HAVING NOT AVG ( ALL + col2 ) IS NULL ---- -58 58 -79 79 | > | 57456 57457 57458 57459 57460 57461 57462 57463 57464 57465 57466 57467 57468 57469 57470 | query I rowsort SELECT ALL - col2 AS col1 FROM tab0 GROUP BY col0, col2, col2 ---- -24 -38 -79 skipif postgresql # PostgreSQL requires AS when renaming output columns query II rowsort SELECT - col2 col0, col2 FROM tab2 cor0 GROUP BY col2 HAVING NOT AVG ( ALL + col2 ) IS NULL ---- -58 58 -79 79 |
︙ | ︙ | |||
57418 57419 57420 57421 57422 57423 57424 57425 57426 57427 57428 57429 57430 57431 | query I rowsort SELECT ALL col0 col0 FROM tab0 GROUP BY col0, col2 ---- 26 43 83 query II rowsort SELECT + col1 col2, col0 FROM tab2 AS cor0 GROUP BY col1, col0 ---- 41 92 59 91 | > | 57505 57506 57507 57508 57509 57510 57511 57512 57513 57514 57515 57516 57517 57518 57519 | query I rowsort SELECT ALL col0 col0 FROM tab0 GROUP BY col0, col2 ---- 26 43 83 skipif postgresql # PostgreSQL requires AS when renaming output columns query II rowsort SELECT + col1 col2, col0 FROM tab2 AS cor0 GROUP BY col1, col0 ---- 41 92 59 91 |
︙ | ︙ | |||
57710 57711 57712 57713 57714 57715 57716 57717 57718 57719 57720 57721 57722 57723 | query I rowsort SELECT DISTINCT - + col2 FROM tab1 AS cor0 GROUP BY col2, col0 ---- -45 -71 -8 query II rowsort SELECT + col2 col1, - col2 AS col0 FROM tab1 AS cor0 GROUP BY col2 ---- 45 -45 71 -71 | > | 57798 57799 57800 57801 57802 57803 57804 57805 57806 57807 57808 57809 57810 57811 57812 | query I rowsort SELECT DISTINCT - + col2 FROM tab1 AS cor0 GROUP BY col2, col0 ---- -45 -71 -8 skipif postgresql # PostgreSQL requires AS when renaming output columns query II rowsort SELECT + col2 col1, - col2 AS col0 FROM tab1 AS cor0 GROUP BY col2 ---- 45 -45 71 -71 |
︙ | ︙ | |||
58411 58412 58413 58414 58415 58416 58417 58418 58419 58420 58421 58422 58423 58424 | 61 query I rowsort SELECT DISTINCT col0 - col0 AS col2 FROM tab0 GROUP BY col0 ---- 0 query I rowsort SELECT + col0 AS col2 FROM tab0 GROUP BY col0, col0 HAVING NOT ( + - col2 ) <= ( NULL ) ---- query I rowsort SELECT col1 AS col2 FROM tab0 GROUP BY col0, col1 HAVING NOT ( NOT ( NOT - col0 IS NULL ) ) ---- | > | 58500 58501 58502 58503 58504 58505 58506 58507 58508 58509 58510 58511 58512 58513 58514 | 61 query I rowsort SELECT DISTINCT col0 - col0 AS col2 FROM tab0 GROUP BY col0 ---- 0 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT + col0 AS col2 FROM tab0 GROUP BY col0, col0 HAVING NOT ( + - col2 ) <= ( NULL ) ---- query I rowsort SELECT col1 AS col2 FROM tab0 GROUP BY col0, col1 HAVING NOT ( NOT ( NOT - col0 IS NULL ) ) ---- |
︙ | ︙ | |||
58433 58434 58435 58436 58437 58438 58439 58440 58441 58442 58443 58444 58445 58446 | -59 -61 query I rowsort SELECT DISTINCT col0 AS col2 FROM tab2 GROUP BY col0 HAVING - col0 IS NULL ---- query II rowsort SELECT - col1 * + col1 col1, col1 FROM tab0 GROUP BY col1 ---- -6561 81 0 0 | > | 58523 58524 58525 58526 58527 58528 58529 58530 58531 58532 58533 58534 58535 58536 58537 | -59 -61 query I rowsort SELECT DISTINCT col0 AS col2 FROM tab2 GROUP BY col0 HAVING - col0 IS NULL ---- skipif postgresql # PostgreSQL requires AS when renaming output columns query II rowsort SELECT - col1 * + col1 col1, col1 FROM tab0 GROUP BY col1 ---- -6561 81 0 0 |
︙ | ︙ | |||
58752 58753 58754 58755 58756 58757 58758 58759 58760 58761 58762 58763 58764 58765 | query I rowsort SELECT - col1 AS col1 FROM tab0 cor0 GROUP BY col0, col1, col1 ---- -81 0 0 query II rowsort SELECT ALL - + col2 col0, col2 AS col1 FROM tab1 AS cor0 GROUP BY col2 HAVING ( - + col2 >= NULL ) ---- query I rowsort SELECT + - col2 + + - col2 FROM tab2 cor0 GROUP BY col2, col0 ---- | > | 58843 58844 58845 58846 58847 58848 58849 58850 58851 58852 58853 58854 58855 58856 58857 | query I rowsort SELECT - col1 AS col1 FROM tab0 cor0 GROUP BY col0, col1, col1 ---- -81 0 0 skipif postgresql # PostgreSQL requires AS when renaming output columns query II rowsort SELECT ALL - + col2 col0, col2 AS col1 FROM tab1 AS cor0 GROUP BY col2 HAVING ( - + col2 >= NULL ) ---- query I rowsort SELECT + - col2 + + - col2 FROM tab2 cor0 GROUP BY col2, col0 ---- |
︙ | ︙ | |||
59140 59141 59142 59143 59144 59145 59146 59147 59148 59149 59150 59151 59152 59153 | 61 skipif postgresql # PostgreSQL requires AS when renaming output columns query I rowsort SELECT ALL - col0 col2 FROM tab0 GROUP BY col0 HAVING NOT NULL IS NULL ---- query I rowsort SELECT ALL - col1 AS col2 FROM tab1 GROUP BY col1 HAVING NULL <> - col2 ---- query I rowsort SELECT - col1 * - col1 AS col1 FROM tab2 GROUP BY col1 ---- | > | 59232 59233 59234 59235 59236 59237 59238 59239 59240 59241 59242 59243 59244 59245 59246 | 61 skipif postgresql # PostgreSQL requires AS when renaming output columns query I rowsort SELECT ALL - col0 col2 FROM tab0 GROUP BY col0 HAVING NOT NULL IS NULL ---- skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT ALL - col1 AS col2 FROM tab1 GROUP BY col1 HAVING NULL <> - col2 ---- query I rowsort SELECT - col1 * - col1 AS col1 FROM tab2 GROUP BY col1 ---- |
︙ | ︙ | |||
59972 59973 59974 59975 59976 59977 59978 59979 59980 59981 59982 59983 59984 59985 | query I rowsort SELECT ALL col0 FROM tab1 AS cor0 GROUP BY col2, col0 ---- 22 28 82 query I rowsort SELECT col1 AS col0 FROM tab1 WHERE NOT NULL <= ( - + col0 ) GROUP BY col1 HAVING NULL > ( col1 * + col0 ) ---- query II rowsort SELECT col2 AS col1, col2 FROM tab0 AS cor0 GROUP BY col2 ---- | > | 60065 60066 60067 60068 60069 60070 60071 60072 60073 60074 60075 60076 60077 60078 60079 | query I rowsort SELECT ALL col0 FROM tab1 AS cor0 GROUP BY col2, col0 ---- 22 28 82 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT col1 AS col0 FROM tab1 WHERE NOT NULL <= ( - + col0 ) GROUP BY col1 HAVING NULL > ( col1 * + col0 ) ---- query II rowsort SELECT col2 AS col1, col2 FROM tab0 AS cor0 GROUP BY col2 ---- |
︙ | ︙ | |||
60311 60312 60313 60314 60315 60316 60317 60318 60319 60320 60321 60322 60323 60324 | query I rowsort SELECT DISTINCT - + col0 FROM tab1 AS cor0 GROUP BY col1, col0 ---- -22 -28 -82 query II rowsort SELECT DISTINCT col1 col1, col1 AS col1 FROM tab1 GROUP BY col1, col0 ---- 44 44 57 57 | > | 60405 60406 60407 60408 60409 60410 60411 60412 60413 60414 60415 60416 60417 60418 60419 | query I rowsort SELECT DISTINCT - + col0 FROM tab1 AS cor0 GROUP BY col1, col0 ---- -22 -28 -82 skipif postgresql # PostgreSQL requires AS when renaming output columns query II rowsort SELECT DISTINCT col1 col1, col1 AS col1 FROM tab1 GROUP BY col1, col0 ---- 44 44 57 57 |
︙ | ︙ | |||
63293 63294 63295 63296 63297 63298 63299 63300 63301 63302 63303 63304 63305 63306 | query I rowsort SELECT col1 FROM tab0 GROUP BY col1, col0 HAVING NULL IS NULL ---- 0 0 81 query I rowsort SELECT - + col2 / + col2 AS col1 FROM tab1 AS cor0 GROUP BY col2 HAVING ( + col1 ) = ( NULL ) ---- query I rowsort SELECT ALL - col2 AS col2 FROM tab0 AS cor0 GROUP BY col0, col2 HAVING NULL IS NULL ---- | > | 63388 63389 63390 63391 63392 63393 63394 63395 63396 63397 63398 63399 63400 63401 63402 | query I rowsort SELECT col1 FROM tab0 GROUP BY col1, col0 HAVING NULL IS NULL ---- 0 0 81 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT - + col2 / + col2 AS col1 FROM tab1 AS cor0 GROUP BY col2 HAVING ( + col1 ) = ( NULL ) ---- query I rowsort SELECT ALL - col2 AS col2 FROM tab0 AS cor0 GROUP BY col0, col2 HAVING NULL IS NULL ---- |
︙ | ︙ | |||
63556 63557 63558 63559 63560 63561 63562 63563 63564 63565 63566 63567 63568 63569 | skipif postgresql # PostgreSQL requires AS when renaming output columns query I rowsort SELECT - - col1 col1 FROM tab0 AS cor0 GROUP BY col1, col1 ---- 0 81 query III rowsort SELECT + col1 + - col1 col0, col1, col1 AS col0 FROM tab0 GROUP BY col1 HAVING NOT - col1 + - col1 IS NOT NULL ---- query I rowsort SELECT - + col1 AS col2 FROM tab1 AS cor0 WHERE NULL BETWEEN NULL AND col1 GROUP BY col0, col1 ---- | > | 63652 63653 63654 63655 63656 63657 63658 63659 63660 63661 63662 63663 63664 63665 63666 | skipif postgresql # PostgreSQL requires AS when renaming output columns query I rowsort SELECT - - col1 col1 FROM tab0 AS cor0 GROUP BY col1, col1 ---- 0 81 skipif postgresql # PostgreSQL requires AS when renaming output columns query III rowsort SELECT + col1 + - col1 col0, col1, col1 AS col0 FROM tab0 GROUP BY col1 HAVING NOT - col1 + - col1 IS NOT NULL ---- query I rowsort SELECT - + col1 AS col2 FROM tab1 AS cor0 WHERE NULL BETWEEN NULL AND col1 GROUP BY col0, col1 ---- |
︙ | ︙ | |||
63886 63887 63888 63889 63890 63891 63892 63893 63894 63895 63896 63897 63898 63899 63900 63901 63902 63903 63904 63905 63906 63907 63908 63909 | SELECT + + col1, - col1 FROM tab0 AS cor0 GROUP BY col1 ---- 0 0 81 -81 query II rowsort SELECT - - col2 col1, col1 FROM tab2 AS cor0 GROUP BY col1, col2, col1 ---- 58 41 79 59 87 61 query I rowsort SELECT ALL col2 AS col1 FROM tab1 GROUP BY col2 HAVING + col1 + - col2 BETWEEN NULL AND NULL ---- query I rowsort SELECT - - col0 AS col0 FROM tab0 AS cor0 GROUP BY col2, col0 ---- | > > | 63983 63984 63985 63986 63987 63988 63989 63990 63991 63992 63993 63994 63995 63996 63997 63998 63999 64000 64001 64002 64003 64004 64005 64006 64007 64008 | SELECT + + col1, - col1 FROM tab0 AS cor0 GROUP BY col1 ---- 0 0 81 -81 skipif postgresql # PostgreSQL requires AS when renaming output columns query II rowsort SELECT - - col2 col1, col1 FROM tab2 AS cor0 GROUP BY col1, col2, col1 ---- 58 41 79 59 87 61 skipif postgresql # PostgreSQL has strict column usage for GROUP BY clauses query I rowsort SELECT ALL col2 AS col1 FROM tab1 GROUP BY col2 HAVING + col1 + - col2 BETWEEN NULL AND NULL ---- query I rowsort SELECT - - col0 AS col0 FROM tab0 AS cor0 GROUP BY col2, col0 ---- |
︙ | ︙ | |||
64312 64313 64314 64315 64316 64317 64318 64319 64320 64321 64322 64323 64324 64325 | query I rowsort SELECT + col2 + - + col2 AS col0 FROM tab2 AS cor0 GROUP BY col1, col2 ---- 0 0 0 query II rowsort SELECT ALL col2 col1, col2 AS col0 FROM tab2 cor0 GROUP BY col2 ---- 58 58 79 79 | > | 64411 64412 64413 64414 64415 64416 64417 64418 64419 64420 64421 64422 64423 64424 64425 | query I rowsort SELECT + col2 + - + col2 AS col0 FROM tab2 AS cor0 GROUP BY col1, col2 ---- 0 0 0 skipif postgresql # PostgreSQL requires AS when renaming output columns query II rowsort SELECT ALL col2 col1, col2 AS col0 FROM tab2 cor0 GROUP BY col2 ---- 58 58 79 79 |
︙ | ︙ | |||
64626 64627 64628 64629 64630 64631 64632 64633 64634 64635 64636 64637 64638 64639 | query I rowsort SELECT ALL - col0 FROM tab0 cor0 GROUP BY col0, col2 HAVING - col2 IS NOT NULL ---- -26 -43 -83 query II rowsort SELECT col1 col1, + col1 FROM tab0 cor0 WHERE NOT ( NULL ) IS NULL GROUP BY col1, col1 ---- query I rowsort SELECT col0 AS col0 FROM tab2 AS cor0 GROUP BY col0 HAVING NULL IS NOT NULL ---- | > | 64726 64727 64728 64729 64730 64731 64732 64733 64734 64735 64736 64737 64738 64739 64740 | query I rowsort SELECT ALL - col0 FROM tab0 cor0 GROUP BY col0, col2 HAVING - col2 IS NOT NULL ---- -26 -43 -83 skipif postgresql # PostgreSQL requires AS when renaming output columns query II rowsort SELECT col1 col1, + col1 FROM tab0 cor0 WHERE NOT ( NULL ) IS NULL GROUP BY col1, col1 ---- query I rowsort SELECT col0 AS col0 FROM tab2 AS cor0 GROUP BY col0 HAVING NULL IS NOT NULL ---- |
︙ | ︙ |