A Leaner Event Log

A Leaner Event Log

The product and session fields make L.’s quick export unnecessarily heavy. Return every column from events except items and session, selecting the remaining columns together rather than listing them manually. Sort the result by event_id.

Expected output sample

This is what a correct answer looks like — its row count is its own, it doesn't have to match the schema tables. Your answer must use the same column names as this sample — alias them with AS if needed.

event_iduser_idevent_nameplatformcityevent_tsrevenueis_paid
1101app_openiosMurmansk1773479520.000000NULLfalse
2101product_viewiosMurmansk1773479590.000000NULLfalse
3101purchaseiosMurmansk1773479740.0000001290true
PostgreSQLv16

Your query result will appear here

Focus radio
Paused · SomaFM · Fluid