|
很累的neo
sorry! I have seen what you did! But I have not tried it yet! I figured out another way! Don't worry, you should also take a look!
select SENDDATE,sum(T1),sum(T2) from
(select t1_date SENDDATE ,count(*) T1,0 T2 from t1 group by t1_date)union
(select t2_date ,0,count(*) from t2 group by t2_date))group by SENDDATE; |
|