show tables即为显示当前数据库中所有的表。又如:mysql> use mysqlDatabase changedmysql> show tables;+---+| Tables_in_mysql |+---+| columns_priv || db || event || func || general_log || help_category || help_keyword || help_relation || help_topic || innodb_index_stat...
在mysql里面怎么查看数据库里面有多少表
show tables即为显示当前数据库中所有的表。又如:mysql> use mysqlDatabase changedmysql> show tables;+---------------------------+| Tables_in_mysql |+---------------------------+| columns_priv || db || event || func || general_log || help_category || help_keyword || help_relation || help_topic || innodb_index_stats || innodb_table_stats || ndb_binlog_index || plugin || proc || procs_priv || proxies_priv || servers || slave_master_info || slave_relay_log_info || slave_worker_info || slow_log || tables_priv || time_zone || time_zone_leap_second || time_zone_name || time_zone_transition || time_zone_transition_type || user |+---------------------------+28 rows in set (0.05 sec)这个是显示“mysql”这个数据库中的所有的表,一共有28张。2017-08-05