假如有个表的结构为(假设表名为 test)
id     name
1       aa
2       bb
3       cc
4       bb
容易知道select  distinct  name   from test的结果为3,问怎么用sql语句把这个3求出来?