SQL查询符合条件的记录的总数
摘要:
1. select count(*) from table; //统计元组个数 2. select count(列名) from table; //统计一列中值的个数 3. select count(*) from table where 字段 = ""; //符合该条件的记录总数 4. sql_c 阅读全文
posted @ 2016-09-24 11:04 景行行止 阅读(9172) 评论(0) 推荐(0)
posted @ 2016-09-24 11:04 景行行止 阅读(9172) 评论(0) 推荐(0)