mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-24 08:32:02 +00:00
better test
This commit is contained in:
parent
1bb8174285
commit
37f07213ee
@ -8,14 +8,17 @@ USE system;
|
|||||||
|
|
||||||
SELECT dummy FROM one AS A JOIN one ON A.dummy = one.dummy;
|
SELECT dummy FROM one AS A JOIN one ON A.dummy = one.dummy;
|
||||||
SELECT dummy FROM one JOIN one AS A ON A.dummy = one.dummy;
|
SELECT dummy FROM one JOIN one AS A ON A.dummy = one.dummy;
|
||||||
-- SELECT dummy FROM one l JOIN one r ON l.dummy = r.dummy; -- should be an error
|
SELECT dummy FROM one l JOIN one r ON dummy = r.dummy; -- { serverError 352 }
|
||||||
|
SELECT dummy FROM one l JOIN one r ON l.dummy = dummy; -- { serverError 352 }
|
||||||
|
SELECT dummy FROM one l JOIN one r ON one.dummy = r.dummy; -- { serverError 352 }
|
||||||
|
SELECT dummy FROM one l JOIN one r ON l.dummy = one.dummy; -- { serverError 352 }
|
||||||
|
|
||||||
-- SELECT * from system.one
|
-- SELECT * from one
|
||||||
-- JOIN system.one one ON one.dummy = system.one.dummy
|
-- JOIN one A ON one.dummy = A.dummy
|
||||||
-- JOIN system.one two ON one.dummy = two.dummy
|
-- JOIN one B ON one.dummy = B.dummy
|
||||||
-- FORMAT PrettyCompact;
|
-- FORMAT PrettyCompact;
|
||||||
|
--
|
||||||
-- SELECT * from system.one one
|
-- SELECT * from one
|
||||||
-- JOIN system.one ON one.dummy = system.one.dummy
|
-- JOIN one A ON dummy = A.dummy
|
||||||
-- JOIN system.one two ON one.dummy = two.dummy
|
-- JOIN one B ON dummy = B.dummy
|
||||||
-- FORMAT PrettyCompact;
|
-- FORMAT PrettyCompact;
|
||||||
|
Loading…
Reference in New Issue
Block a user