SQL
爱钱的小妖
具备丰富的工作经验,认真踏实负责,且具备优秀的表达能力,曾多次主持对用户和内部的技术讲解和培训,获得用户和公司的一致好评
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
C# SQL 多状态页面显示中文
(case when tbpe.Status ='0' then '待分析' when tbpe.Status ='1' then '待维修' when tbpe.Status ='2' then '维修完成' when tbpe.Status ='3' then '误判' when tbpe.Status ='4' then '报废' end) as Status ...原创 2020-01-19 17:10:48 · 222 阅读 · 0 评论 -
SQL存储过程根据,循环取出数据
SET @split = ',' set @originalStrSN = @SN+@split WHILE (@originalStrSN <> '' ) begin ------取出每一个,前边的内容 SET @resultSN = LEFT(@...原创 2018-09-14 15:23:17 · 3687 阅读 · 0 评论 -
row_number() over()排序功能 partition by workdept
row_number() over()排序功能: (1) row_number() over()分组排序功能: 在使用 row_number() over()函数时候,over()里头的分组以及排序的执行晚于 where group by order by 的执行。 partition by 用于给结果集分组,如果没有指定那么它把整个结果集作为一个分组,它和聚合函数不同的地方在于...转载 2018-10-20 15:38:45 · 263 阅读 · 0 评论
分享