Data Analyst SQL Interview Questions | CONCAT function

preview_player
Показать описание
Learn how to concatenate multiple rows into a single column with the CONCAT function. We will be bringing in full addresses from street, city, state and zip
#sqlinterview
#dataanalysis
#datascience

Learn and Practide SQL coding online at DataCamp, check out my affiliate link:
Рекомендации по теме
Комментарии
Автор

We can use concatws()
Also to avoid adding space after each column

roshangangurde
Автор

Select concat(street1+' '+street 2+' '+city+' '+state+' '+zip)as full address from address table .
is this works.

navyareddymanikanta