Table.select("DISTINCT name").map(&:name) : DISTINCT name去重查询name
Table.active.map{|x| x.name}.uniq :查询出来后做去重操组