mysql_21 1、查询表test,总数据量 select count(*) from test; 2、查询表test,字段class,有几种不同类型(去重) select distinct(class) from test;