CREATE TABLE Persons
(
CustomerName varchar(255),
ContactName varchar(255),
Address varchar(255),
City varchar(255)
);
INSERT INTO Persons (CustomerName, ContactName, Address, City)
VALUES ('David','Matt','Drive through 96','Mille');
INSERT INTO Persons (CustomerName, ContactName, Address, City)
VALUES ('Cardinal','Tom B. Erichsen','Skagen 21','Stavanger');
from this table i want to print only customer name and concatanation of Address and city. what is the best way to do.
expected output
David Drive through 96 Mille
Cardinal Skagen 21 Stavanger