mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-21 07:01:59 +00:00
97f2a2213e
* Move some code outside dbms/src folder * Fix paths
106 lines
3.3 KiB
SQL
106 lines
3.3 KiB
SQL
SELECT
|
|
(1, 'Hello', 23) = (1, 'Hello', 23),
|
|
(1, 'Hello', 23) != (1, 'Hello', 23),
|
|
(1, 'Hello', 23) < (1, 'Hello', 23),
|
|
(1, 'Hello', 23) > (1, 'Hello', 23),
|
|
(1, 'Hello', 23) <= (1, 'Hello', 23),
|
|
(1, 'Hello', 23) >= (1, 'Hello', 23);
|
|
SELECT
|
|
(1, 'Hello', 23) = (2, 'Hello', 23),
|
|
(1, 'Hello', 23) != (2, 'Hello', 23),
|
|
(1, 'Hello', 23) < (2, 'Hello', 23),
|
|
(1, 'Hello', 23) > (2, 'Hello', 23),
|
|
(1, 'Hello', 23) <= (2, 'Hello', 23),
|
|
(1, 'Hello', 23) >= (2, 'Hello', 23);
|
|
SELECT
|
|
(1, 'Hello', 23) = (1, 'World', 23),
|
|
(1, 'Hello', 23) != (1, 'World', 23),
|
|
(1, 'Hello', 23) < (1, 'World', 23),
|
|
(1, 'Hello', 23) > (1, 'World', 23),
|
|
(1, 'Hello', 23) <= (1, 'World', 23),
|
|
(1, 'Hello', 23) >= (1, 'World', 23);
|
|
SELECT
|
|
(1, 'Hello', 23) = (1, 'Hello', 24),
|
|
(1, 'Hello', 23) != (1, 'Hello', 24),
|
|
(1, 'Hello', 23) < (1, 'Hello', 24),
|
|
(1, 'Hello', 23) > (1, 'Hello', 24),
|
|
(1, 'Hello', 23) <= (1, 'Hello', 24),
|
|
(1, 'Hello', 23) >= (1, 'Hello', 24);
|
|
SELECT
|
|
(2, 'Hello', 23) = (1, 'Hello', 23),
|
|
(2, 'Hello', 23) != (1, 'Hello', 23),
|
|
(2, 'Hello', 23) < (1, 'Hello', 23),
|
|
(2, 'Hello', 23) > (1, 'Hello', 23),
|
|
(2, 'Hello', 23) <= (1, 'Hello', 23),
|
|
(2, 'Hello', 23) >= (1, 'Hello', 23);
|
|
SELECT
|
|
(1, 'World', 23) = (1, 'Hello', 23),
|
|
(1, 'World', 23) != (1, 'Hello', 23),
|
|
(1, 'World', 23) < (1, 'Hello', 23),
|
|
(1, 'World', 23) > (1, 'Hello', 23),
|
|
(1, 'World', 23) <= (1, 'Hello', 23),
|
|
(1, 'World', 23) >= (1, 'Hello', 23);
|
|
SELECT
|
|
(1, 'Hello', 24) = (1, 'Hello', 23),
|
|
(1, 'Hello', 24) != (1, 'Hello', 23),
|
|
(1, 'Hello', 24) < (1, 'Hello', 23),
|
|
(1, 'Hello', 24) > (1, 'Hello', 23),
|
|
(1, 'Hello', 24) <= (1, 'Hello', 23),
|
|
(1, 'Hello', 24) >= (1, 'Hello', 23);
|
|
SELECT
|
|
(1, 'Hello') = (1, 'Hello'),
|
|
(1, 'Hello') != (1, 'Hello'),
|
|
(1, 'Hello') < (1, 'Hello'),
|
|
(1, 'Hello') > (1, 'Hello'),
|
|
(1, 'Hello') <= (1, 'Hello'),
|
|
(1, 'Hello') >= (1, 'Hello');
|
|
SELECT
|
|
(1, 'Hello') = (2, 'Hello'),
|
|
(1, 'Hello') != (2, 'Hello'),
|
|
(1, 'Hello') < (2, 'Hello'),
|
|
(1, 'Hello') > (2, 'Hello'),
|
|
(1, 'Hello') <= (2, 'Hello'),
|
|
(1, 'Hello') >= (2, 'Hello');
|
|
SELECT
|
|
(1, 'Hello') = (1, 'World'),
|
|
(1, 'Hello') != (1, 'World'),
|
|
(1, 'Hello') < (1, 'World'),
|
|
(1, 'Hello') > (1, 'World'),
|
|
(1, 'Hello') <= (1, 'World'),
|
|
(1, 'Hello') >= (1, 'World');
|
|
SELECT
|
|
(2, 'Hello') = (1, 'Hello'),
|
|
(2, 'Hello') != (1, 'Hello'),
|
|
(2, 'Hello') < (1, 'Hello'),
|
|
(2, 'Hello') > (1, 'Hello'),
|
|
(2, 'Hello') <= (1, 'Hello'),
|
|
(2, 'Hello') >= (1, 'Hello');
|
|
SELECT
|
|
(1, 'World') = (1, 'Hello'),
|
|
(1, 'World') != (1, 'Hello'),
|
|
(1, 'World') < (1, 'Hello'),
|
|
(1, 'World') > (1, 'Hello'),
|
|
(1, 'World') <= (1, 'Hello'),
|
|
(1, 'World') >= (1, 'Hello');
|
|
SELECT
|
|
tuple(1) = tuple(1),
|
|
tuple(1) != tuple(1),
|
|
tuple(1) < tuple(1),
|
|
tuple(1) > tuple(1),
|
|
tuple(1) <= tuple(1),
|
|
tuple(1) >= tuple(1);
|
|
SELECT
|
|
tuple(1) = tuple(2),
|
|
tuple(1) != tuple(2),
|
|
tuple(1) < tuple(2),
|
|
tuple(1) > tuple(2),
|
|
tuple(1) <= tuple(2),
|
|
tuple(1) >= tuple(2);
|
|
SELECT
|
|
tuple(2) = tuple(1),
|
|
tuple(2) != tuple(1),
|
|
tuple(2) < tuple(1),
|
|
tuple(2) > tuple(1),
|
|
tuple(2) <= tuple(1),
|
|
tuple(2) >= tuple(1);
|