#1088

Event Revenue

Finance is calculating total revenue from a_events: add up amount only for events where kind = 'purchase'. Return one value, revenue; if there are no purchases, the result must be 0.

Laukiamo rezultato pavyzdys

Taip atrodo teisingas atsakymas — jo eilučių skaičius yra savitas, jis neprivalo sutapti su schemos lentelėmis.

revenue
110

Jūsų užklausos rezultatas bus rodomas čia