Inner Joining three tables

前端 未结 5 636
甜味超标
甜味超标 2020-11-30 17:47

I have three tables I wish to inner join by a common column between them.

Say my tables are;

TableA TableB TableC

I wish to join

5条回答
  •  伪装坚强ぢ
    2020-11-30 18:49

    Just do the same thing agin but then for TableC

    SELECT *
    FROM dbo.tableA A 
    INNER JOIN dbo.TableB B ON A.common = B.common
    INNER JOIN dbo.TableC C ON A.common = C.common
    

提交回复
热议问题