better test

This commit is contained in:
chertus 2019-10-18 19:45:59 +03:00
parent 1bb8174285
commit 37f07213ee

View File

@ -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;