摘要: https://blog.csdn.net/zsj777/article/details/102549165 https://www.liangzl.com/get-article-detail-146070.html 阅读全文
posted @ 2020-09-02 15:40 山兮木 阅读(134) 评论(0) 推荐(0) 编辑
摘要: 一般情况下,Select Count (*)和Select Count(1)两着返回结果是一样的假如表沒有主键(Primary key), 那么count(1)比count(*)快, 如果有主键的話,那主键作为count的条件时候count(主键)最快如果你的表只有一个字段的话那count(*)就是 阅读全文
posted @ 2020-09-02 14:11 山兮木 阅读(331) 评论(0) 推荐(0) 编辑
/* 看板娘 */