如果要统计所有记录数目, 使用函数reccount()select 表名?reccount()或者:?reccount('表名')如果要有条件的统计,使用count 命令:count for 性别='男' to n这样就把男性的个数存到变量n中