![](https://img-blog.csdnimg.cn/20201014180756928.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
mysql
三水似画
这个作者很懒,什么都没留下…
展开
-
mysql实现oracle中的row number功能
** mysql实现窗口函数row number() over()的效果 ** 先有student表 ±-----±-------±-----------±------±—+ | s_id | s_name | s_birth | s_sex ±-----±-------±-----------±------±—+ | 07 | 郑竹 | 1989-07-01 | 女 | 01 ...原创 2020-03-31 13:17:11 · 399 阅读 · 0 评论 -
向mysql中导入文件时,忽略我们不想要的几列数据
向mysql中导入文件时,忽略文件中的两列数据 当我们导入文件时,不需要某列数据,只要用@字段名即可。@后面用什么名都行,即跳过某列。 cat xiaozhang.txt id name sex class score 1 小张 男 class1 100 2 张三 男 class2 99 3 小红 女 class1 98 create table ...原创 2020-03-27 15:12:53 · 1202 阅读 · 0 评论