Merging two rows to one while replacing null values

Viewed 20055

Let's say I've got the following database table

Name | Nickname | ID
----------------------
Joe    Joey       14
Joe    null       14

Now I want to do a select statement that merges these two columns to one while replacing the null values. The result should look like this:

Joe, Joey, 14

Which sql statement manages this (if it's even possible)?

2 Answers
Related