MYSQL - count number of rows in each table

后端 未结 3 1538
小鲜肉
小鲜肉 2021-01-31 08:39

I would like to know how many rows are in each table in my database. I\'ve come so far as to having

select count(*) _tablename_; 

However i wou

3条回答
  •  暗喜
    暗喜 (楼主)
    2021-01-31 09:13

    In addition to SQL queries by others, one can also use Workbench GUI to get the row-counts of each table. To do this, Launch Workbench -> Connect to Db -> right click Db and select "Schema Inspector" (as in Screenshot below - I have highlighted the "Rows" column):

    HTH.

提交回复
热议问题