Purchases Without Internal Details

Purchases Without Internal Details

QUERY is preparing a compact purchase export for the station report. Keep only purchase events from events and return every column except items, session, and is_paid; exclude those fields from * instead of listing the remaining columns manually. Sort 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_tsrevenue
3101purchaseiosMurmansk1773479740.0000001290
7103purchasewebMiausino1773576360.0000004300
10104purchaseiosMurmansk1773600000.000000890
PostgreSQLv16

Your query result will appear here

Focus radio
Paused · SomaFM · Fluid