有两个表,进行关联,第一个条件关联之后,没有关联上的,用第二个条件在进行关联,这种有什么方法吗
3条回答 默认 最新
自在猫先生 2022-01-20 09:29关注还有存在关联不上的???
select .... from table a with (nolock) left join table2 b on a.id=b.id left join (select ...from table3 c with (nolock) left join table4 d on c.id=d.id where ...... )as t on t.id=a.id解决 无用评论 打赏 举报