I trying to concatenating the four-column to one column. i using coalease for replacing null as space but while concatenating. if the particular column has null value then i dont need spaces in concatenated results
UPDATE vt_pc_incremental_gold_contact SET "Concatenated Phone Number" =
trim(coalesce("Contact Phone Country Code",'')||' '||trim(coalesce("Contact Phone Area Code",''))||' '||trim(coalesce("Contact Phone Number",''))
||' '||trim(coalesce("Contact Phone Extension",'')));
I need results like this
