Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- copy(select usr, state, count(*)
- from action.circulation
- join action_trigger.event
- on circulation.id = event.target
- where date(event.add_time) = '2019-12-26'
- and event_def = 124
- group by usr, state)
- to stdout with csv header;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement