2020-09-08 20:05:47 +00:00
|
|
|
SELECT
|
2015-10-12 01:42:47 +00:00
|
|
|
(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);
|
2020-08-06 13:16:31 +00:00
|
|
|
SELECT
|
|
|
|
tuple(NULL) < tuple(1),
|
|
|
|
tuple(NULL) = tuple(1),
|
2020-08-06 13:59:49 +00:00
|
|
|
tuple(NULL) <= tuple(1),
|
|
|
|
tuple(1, NULL) = tuple(2, 1),
|
|
|
|
tuple(1, NULL) < tuple(2, 1);
|