In T-SQL, is it possible to simplify the specification JOIN( ON โฆ) for equidistant between two tables when such a join occurs in two columns having the same name in both tables?
CREATE TABLE T1 (X โฆ PRIMARY KEY);
CREATE TABLE T2 (X โฆ REFERENCES T1 (X));
Normally I would write such an (internal) join as follows:
SELECT โฆ FROM T1 JOIN T2 ON T1.X = T2.X;
What I would like is something simpler, for example:
SELECT โฆ FROM T1 JOIN T2 ON X;
Is such an abbreviation of the specification ON โฆpossible? (I expect the answer to be no, but I would like to make sure.)
If not, are there any special reasons why not? (For example, is it possible that this will lead to frequent ambiguity of columns when joining more than two tables and, consequently, little practical use?)