我有如下的mysql数据
country City Address
US NY Address 1
US NY Address 2
US DC Address 3
US NY Address 4
US LA Address 5
现在如果我愿意
SELECT city from country_list WHERE country='US'
Out out看起来像NY,NY,NY我想打印一次纽约,我该怎么办呢?
答案 0 :(得分:0)
SELECT DISTINCT city from country_list WHERE country='US'