#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.

Przykładowy oczekiwany wynik

Tak wygląda poprawna odpowiedź — liczba jej wierszy jest swoista i nie musi odpowiadać tabelom ze schematu.

total
21

Wynik Twojego zapytania pojawi się tutaj