Skip to content

Commit

Permalink
Correct group by in daily_metrics model
Browse files Browse the repository at this point in the history
  • Loading branch information
erinkcochran87 committed Mar 8, 2024
1 parent f7d2611 commit 4a417c5
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ with
sum(total_amount) / count(*) as average_amount,
sum(case when duration > 30 then 1 else 0 end) / count(*) as pct_over_30_min
from trips
group by all
group by date_of_business
)
select *
from daily_summary
Expand Down

0 comments on commit 4a417c5

Please sign in to comment.