MySql 查询数据库中所有表名

it2026-08-24  4

查询数据库中所有表名select table_name from information_schema.tables where table_schema='csdb' and table_type='base table';查询指定数据库中指定表的所有字段名column_nameselect column_name from information_schema.columns where table_schema='csdb' and table_name='users'

转载于:https://www.cnblogs.com/BenWong/p/3996061.html

最新回复(0)