How do I sort within a varchar
column?
Such as I have a column called [Country]
, it may contain all kinds of country names.
Country column may contain
"Russia, USA, France, UK, Japan, Russia, France, China".
How do I distinct within [Country] column and sort the string alphabetically?
In the end, I want to get:
"China, France, Japan, Russia, UK, USA"
in [Country] column.
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…