Quotes help make search much faster. Example: "Practice Makes Perfect"

Tuesday, May 9, 2017

Codecademy SQL: Analyzing Business Metrics Exercise 8 of 14


with daily_revenue as (
  select
    date(created_at) as dt,
    round(sum(price), 2) as rev
  from purchases
  where refunded_at is null
  group by 1
)
select * from daily_revenue order by dt;

No comments:

Post a Comment


This is an example of scrolling text using Javascript.

Popular Posts