Answers for "when null 0 postgresql"

SQL
2

postgresql if null then 0

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

postgres set null

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

Code answers related to "SQL"

Browse Popular Code Answers by Language