Postgresql – Function to replace multiple whitespaces with single whitespace in redshift | tried replace() not working
I am trying to replace multiple whitespaces from a column in Redshift(Postgres) Query used : Select replace(col_name,' ',' ') from table; above query is not working for multiple whitespaces only. I have tried replacing other characters in the same query,…