是否可以忽略 SQL table 别名?

Is it possible to ignore SQL table alias?

是否可以直接引用强类型的 SQL table 对象,即使在它被别名化之后?

例如,以下脚本呈现 The multi-part identifier "dbo.MyTable.Col3" could not be bound 异常:

SELECT
    *
FROM dbo.MyTable MT
    INNER JOIN dbo.AnotherTable AT ON
        MT.Col1 = AT.Col2
WHERE
    dbo.MyTable.Col3 = 'Foo'

不,你不能。

引用自FROM (Transact-SQL)

The table name cannot be used if an alias is defined.