I count the number of occurrences by the event type, so this is the SQL query:
select date(created),
event_type,
count(*)
from public.event
group by date(created), event_name
Is it possible to change the query in some way to "move" rows to the column to form this result table, each column corresponds an event type: