Hello - I need some SQL help on this one:
I got a table with two columns:
FirstName LastName
---------------------
Peter Andersen
Michael Johnson
Rasmus McDonald
In a new table i need to merge the data of the two columns into one column, and add a '-' between. So it should look like this:
FullName
---------------------
Peter-Andersen
Michael-Johnson
Rasmus-McDonald
What SQL code should I write to make this work?
Best regards
M
I got a table with two columns:
FirstName LastName
---------------------
Peter Andersen
Michael Johnson
Rasmus McDonald
In a new table i need to merge the data of the two columns into one column, and add a '-' between. So it should look like this:
FullName
---------------------
Peter-Andersen
Michael-Johnson
Rasmus-McDonald
What SQL code should I write to make this work?
Best regards
M