Answers for "postgresql is null then 0"

3

postgresql if null then 0

select coalesce(avg(bar), 0) from foo;
Posted by: Guest on September-18-2020
2

postgres set null

UPDATE table1
SET column_a IS NULL
WHERE column_b = 'XXX';
Posted by: Guest on June-11-2021

Browse Popular Code Answers by Language