摘要: 一般情况下,Select Count ()和Select Count(1)两着返回结果是一样的,MySql会自动将select count()转为 select count(0). 假如表沒有主键(Primary key), 那么count(1)比count(*)快, 如果有主键的話,那主键作为co 阅读全文
posted @ 2018-07-10 09:33 花l信风 阅读(5194) 评论(0) 推荐(0) 编辑