Posted By

arunpjohny on 09/05/07


Tagged

postgres


Versions (?)

Checking for null in Postgresql


 / Published in: SQL
 

Checking for null value and assigns a default value if the field is null

  1. SELECT coalesce(age,0) FROM employee

Report this snippet  

You need to login to post a comment.