Let's CONCATENATE!
CONCAT
Syntax: CONCAT (String1, string2)
Parameters: string1 and string2 are strings to
concat.
Return type: The CONCAT function returns a string
value.
Usage:
Manager to Data analyst: Bring me the list of all employees and their
full name. Data analyst runs below query to fetch the required data.
SELECT EMPLOYEE_ID, CONCAT(FIRST_NAME, CONCAT(' ',LAST_NAME)) FROM EMPLOYEES;
Rockstar :D
ReplyDelete