Select a.*
from t1 a
left outer join t2 b
on a.id =b.id
and a.ds=b.ds
and b.ds='20180101'
;
SQL——join关联中的分区裁剪问题
于 2018-09-30 12:00:34 首次发布
Select a.*
from t1 a
left outer join t2 b
on a.id =b.id
and a.ds=b.ds
and b.ds='20180101'
;