-
SQL查询数据库中符合条件的记录的总数
1. select count(*) from table; 统计元组个数2. select count(列名) from table; 统计一列中值的个数3. select count(*) from table where 字段
1. select count(*) from table; 统计元组个数2. select count(列名) from table; 统计一列中值的个数3. select count(*) from table where 字段