Tuesday, February 20, 2024

Concatenating strings in an user defined field in sql

 SELECT
FirstName,
LastName,
Address,
FirstName ||' '|| LastName || ' ' || Address ||','|| City ||' '||State ||' '||PostalCode as [Mailing Address]
from Customer
where
country='USA'

No comments:

Post a Comment