I have two columns in my SQL table where the phone numbers are stored. I have displayed both the numbers separated by a ",". If I concatenate both the data with "," for displaying, the problem I am facing is - when the first column is blank I am getting the output as ",xxxxxxxxxx" and when the second column is blank I am getting the output as "xxxxxxxxx,". I am getting the perfect output only when both the columns contain data like "xxxxxxxxx,xxxxxxxxx".
How can I remove the extra "," when the data for either of the columns are missing?