/*1.查询所有数据库*/
show databases; 

/*2.查询所有数据表*/
select * from information_schema.tables where table_schema='world'

/*3.查询指定表的所有字段*/
select * from information_schema.columns 
where table_schema='world'
and table_name='city' 

相关文章:

  • 2021-11-29
  • 2022-01-04
  • 2022-12-23
  • 2022-02-15
  • 2021-11-22
  • 2022-01-19
  • 2022-01-31
猜你喜欢
  • 2022-02-26
  • 2021-12-12
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-10-02
相关资源
相似解决方案