ClickHouse/tests/queries/0_stateless/02353_order_by_tuple.reference
Igor Nikonov b48a626d02 Simplify test
- complexity comes from dreaming about EXPLAIN queries as an ordinary
  ones returning scalar result. So they can be used in SQL tests
  instead of shell ones
2022-07-07 08:45:13 +00:00

4 lines
325 B
Plaintext

SELECT number AS a, number % 2 AS b FROM numbers(10) ORDER BY a DESC NULLS FIRST WITH FILL FROM 2 TO 1 STEP -1, b DESC NULLS FIRST WITH FILL FROM 2 TO 1 STEP -1
SELECT number AS a, number % 2 AS b FROM numbers(10) ORDER BY a DESC NULLS FIRST WITH FILL FROM 2 TO 1 STEP -1, b DESC NULLS FIRST WITH FILL FROM 2 TO 1 STEP -1
OK