Created
May 19, 2019 21:33
-
-
Save ArCiGo/b3c2b8c815d7fbdd119a7fd403aeec7b to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
SELECT cus.FirstName, | |
cus.LastName | |
FROM Customer cus; | |
GO | |
/** Output **/ | |
FirstName LastName | |
---------------------------------------- ---------------------------------------- | |
Paolo Accorti | |
Pedro Afonso | |
Maria Anders | |
Miguel Angel Paolino | |
Victoria Ashworth | |
Bernardo Batista | |
Helen Bennett | |
Christina Berglund | |
... | |
SELECT (cus.FirstName + ' ' + cus.LastName) AS FullName --"Full Name" | |
FROM Customer cus; | |
GO | |
/** Output **/ | |
FullName | |
--------------------------------------------------------------------------------- | |
Paolo Accorti | |
Pedro Afonso | |
Maria Anders | |
Miguel Angel Paolino | |
Victoria Ashworth | |
Bernardo Batista | |
Helen Bennett | |
Christina Berglund | |
... |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment