Prova detta:
select COALESCE(sum(balance),0) from mytable where customer = 'john'
Detta borde göra jobbet. Koalesceringsmetoden bör returnera 0.
Prova detta:
select COALESCE(sum(balance),0) from mytable where customer = 'john'
Detta borde göra jobbet. Koalesceringsmetoden bör returnera 0.