COUNT(column_name) 函数返回指定列的值的数目(NULL 不计入) COUNT(*) 函数返回表中的记录数 计算一个表中有几行数据: select count(*) from 表名; <wbr></wbr>