标签归档:香港云服务器mysql怎么查询表中的数据库名

香港云服务器mysql怎么查询表中的数据库名

已关闭留言

香港云服务器mysql查询表中的数据库名的方法: 1.查询所有数据库,sql语句为:“show databases;” 2.查询指定数据库中所有表名,sql语句为: select table_name from information_schema.tables where table_schema=’database_name’ and table_type=&#8217 […]