Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- SELECT
- COUNT (DISTINCT id_transaction) AS transaction_per_day,
- DATE_TRUNC('day', DATE) AS trunc_date
- FROM
- transactions
- GROUP BY
- trunc_date
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement