L. is flagging purchases that deserve a closer look in the journal. For every event where event_name = 'purchase', return event_id, revenue, and size: use крупный when revenue is greater than 2000 and обычный otherwise. Build the label with the compact two-branch conditional function.
Sort the result by event_id.
Any row order
Expected output columns:event_idrevenuesize
Showing the first 3 rows of the sample — the full sample comes with Premium