查询数据库中所有表名
select table_name from information_schema.tables where table_schema='数据库名称';


查询指定数据库中指定表的所有字段名column_name
select column_name from information_schema.columns where table_schema='数据库名' and table_name='数据表名'

相关文章:

  • 2021-12-02
  • 2022-12-23
  • 2021-11-27
  • 2022-12-23
  • 2022-02-24
  • 2021-09-21
  • 2021-12-09
  • 2021-05-09
猜你喜欢
  • 2022-12-23
  • 2021-12-26
  • 2022-12-23
  • 2022-12-23
  • 2022-01-04
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案