Big Query - Concatenate Strings Horizontally


Answer :

You need to use CONCAT and the trim functions

SELECT CONCAT(rtrim(ltrim(first_name)),' ',rtrim(ltrim(last_name))) AS full_name FROM   (SELECT 'Anna' AS first_name,           ' Miller ' AS last_name), 

Comments

Popular posts from this blog

Are Regular VACUUM ANALYZE Still Recommended Under 9.1?

Can Feynman Diagrams Be Used To Represent Any Perturbation Theory?