How can I do such query in PostgreSQL?
update table1 set column9 = concat( (if (b-a)>1 then b-a else 0),',', (if (c-b)>1 then c-b else 0),',', (if (d-c)>1 then d-c else 0) )
Aucun commentaire:
Enregistrer un commentaire