Použijte 0 místo '0' . Částka je číslo a čísla se neuvádějí.
SELECT distinct
CASE when t.cancelled = 'TRUE' then 0
else t.amount END AMOUNT,
FROM table t
Použijte 0 místo '0' . Částka je číslo a čísla se neuvádějí.
SELECT distinct
CASE when t.cancelled = 'TRUE' then 0
else t.amount END AMOUNT,
FROM table t