--统计表中的所有记录数Select Count(*) From Table--统计表中某相同字段的记录数Select 字段,Count(*) From Table Group By 字段
select 字段1,count(1)from 表where 条件count函数,将统计记录的条数。