diff --git a/02datanasiys.md b/02datanasiys.md index 84c507b..183e4f4 100644 --- a/02datanasiys.md +++ b/02datanasiys.md @@ -651,6 +651,17 @@ SQL 不区分大小写 ``` SeLeCt AcCoUnt_id FrOm oRdErS ``` +##### 05.00 查询创建表的SQL语句 +查看表结构 +``` +desc 表名; +show columns from 表名; +describe 表名; +``` +查询创建表的SQL语句 +``` +show create table 表名; +``` ##### 05.01 limit 加快查询速度 ``` @@ -1838,4 +1849,4 @@ str(np.pad(arr3D, ((0, 0), (0, 0), (1, 2)), 'wrap')) 当指定axis时,意味着对某一轴内的所有元素对应操作,同时这一层layer就collapsed掉了,因为这个过程是一个reduction operation -[Numpy小记——有关axis/axes的理解](https://zhuanlan.zhihu.com/p/25761406) \ No newline at end of file +[Numpy小记——有关axis/axes的理解](https://zhuanlan.zhihu.com/p/25761406)