有人问我以下查询的输出。
Select *
from TableA t1, TableB t2
where t1.Id *= t2.Id
谁能解释我,如果存在这种类型的任何查询,如果存在,那么它是如何工作的。因为我从未见过这种类型的查询谢谢。
更新:
此外,当我在 SQL Server 中运行此查询时,我得到了这个;
The query uses non-ANSI outer join operators ("*=" or "=*").
To run this query without modification, please set the compatibility level
for current database to 80, using the SET COMPATIBILITY_LEVEL option
of ALTER DATABASE.
It is strongly recommended to rewrite the query using ANSI outer join
operators (LEFT OUTER JOIN, RIGHT OUTER JOIN).
In the future versions of SQL Server, non-ANSI join operators will
not be supported even in backward-compatibility modes.