sql查询字段的首字符,重复字符只显示一个 select distinct substr(mm.name,0,1) as fname from t_mobile_model mm where mm.bid = 1 order by fname