Mysql的查找数据条数

select count(*) from user;

select count(1) from user;

select count(0) from user;

都可以查询出数据库中的数据库记录数

posted @ 2019-06-27 23:48  Angry-rookie  阅读(537)  评论(0)    收藏  举报