Revised:
I am using the concat()
function in the SELECT
statement, but it is including the same column twice in the output.
Example:
SELECT
firstname,
surname,
concat(firstname,' ',surname) AS fullname
FROM
employee
Source data:
| firstname | surname |
| John | Kenedy |
Expected Output:
| firstname | surname | fullname |
| John | Kenedy | John Kenedy |
Is my usage of concat()
incorrect?