摘要:
一、简单描述表结构,字段类型desc tabl_name;显示表结构,字段类型,主键,是否为空等属性,但不显示外键。二、查询表中列的注释信息select * from information_schema.columnswhere table_schema = 'db' #表所在数据库and table_name = 'tablename' ; #你要查的表三、只查询列名和注释select c... 阅读全文
posted @ 2017-08-29 17:06
张伯雨
阅读(289)
评论(0)
推荐(0)
2017年8月29日