#1050

Failed Payment Total

Step 2: for the stuck orders from step 1, total the payments with status = 'failed'. Return one row with total; if there are no such payments, total must be 0.

Odotetun tulosteen näyte

Näin oikea vastaus näyttää — sen rivimäärä on omansa, eikä sen tarvitse vastata skeeman tauluja.

total
21

Kyselysi tulos näkyy tässä