mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-22 07:31:57 +00:00
106 lines
3.3 KiB
MySQL
106 lines
3.3 KiB
MySQL
|
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);
|