mysql> select count(*) from user;
+----------+
| count(*) |
+----------+
|     2041 |
+----------+
1 row in set (0.00 sec)

统计用户注册人数

count(*)统计记录