SQL Tabl1.Field(string)= Table2.Field(string)当它们不等于返回一行时

时间:2017-09-10 01:01:31

标签: sql sql-server comparison

我正在加入两个表格,如下所示

select *
from Table1 t1
inner join Table t2
on t1.pKey = t2.pKey
and t1.Field1 = t2.Field1

t1.Field1等于" SYS"和t2.Field1等于" SYS-(U)"

为什么这会回来?

0 个答案:

没有答案