[sql] Replacing NULL and empty string within Select statement