When I run the below query, right-click the result cell, copy the value from redshift software and paste it in redshift software editor itself, then I get the output