|
@@ -69,7 +69,7 @@ total_amount/total_cost total_roi from
|
|
|
where dt>='{start}' and dt<='{end}' and pitcher='{pitcher}'
|
|
|
group by dt) a
|
|
|
left outer join (
|
|
|
- select dt,total_amount,total_cost from dw_daily_pitcher
|
|
|
+ select dt,total_amount,total_cost from dw_daily_pitcher where pitcher='{pitcher}'
|
|
|
) b on a.dt=b.dt
|
|
|
"""
|
|
|
print(sql)
|