查询数据核心语法

1、查库
select schema_name from information_schema.schemata

2\ 查表
select table_name from information_schema.tables where table_schema=库名

3、查列
select column_name from information_schema.columns where table_name=表名

4、查数据
select 列名 from 库名.表名

查询数据核心语法
查询数据核心语法

查询数据核心语法
查询数据核心语法

查询数据核心语法
查询数据核心语法

猜你喜欢

转载自blog.51cto.com/2042617/2338844
今日推荐