查询MySQL某个数据库某个表的字段名称

  SELECT column_name FROM information_schema.columns WHERE table_schema='数据库名称' AND table_name='表名称'; 举例:  
相关文章
相关标签/搜索