Added a test from Bindu Madhavi

This commit is contained in:
Alexey Milovidov 2020-01-18 05:47:55 +03:00
parent 3015f38a29
commit c152df4ed5
2 changed files with 51 additions and 0 deletions

View File

@ -0,0 +1,9 @@
1
\N
\N
\N
\N
---
---
\N
\N

View File

@ -0,0 +1,42 @@
SELECT id
FROM
(
SELECT 1 AS id
UNION ALL
SELECT NULL
UNION ALL
SELECT NULL
)
ALL FULL OUTER JOIN
(
SELECT 1 AS id
UNION ALL
SELECT NULL
UNION ALL
SELECT NULL
) USING (id)
ORDER BY id;
SELECT '---';
SELECT *
FROM
(
SELECT NULL AS x
)
INNER JOIN
(
SELECT NULL AS x
) USING (x);
SELECT '---';
SELECT *
FROM
(
SELECT NULL AS x
)
FULL OUTER JOIN
(
SELECT NULL AS x
) USING (x);