select count(*),count(id) from tables count(*) 会查询空行,count(id) 不会查询空行 如果payment-_date 没有建立索引 如果创建了索引 相关文章: