mysql 查看某个库下面某个表的所有列字段

select COLUMN_NAME as columnName from information_schema.COLUMNS where table_name = '{表名}' and table_schema = '{库名}';

 

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-06-02
  • 2021-12-23
猜你喜欢
  • 2022-12-23
  • 2022-02-04
  • 2021-12-09
  • 2021-05-31
  • 2022-01-30
  • 2021-06-06
  • 2022-12-23
相关资源
相似解决方案