- 博客(4)
- 收藏
- 关注
转载 Oracle函数之LISTAGG
最近在学习的过程中,发现一个挺有意思的函数,它可实现对列值的拼接。下面我们来看看其具体用法。 用法: 下面对该函数进行举例说明: 普通函数,对工资进行排序,用逗号进行拼接。 SQL> select listagg(ename,’,’)within group(order by sal)name from emp; NAME SMITH,JAMES,ADAMS,MARTIN,WARD,MILL...
2018-11-08 15:02:28
226
原创 impala官方文档地址
https://www.cloudera.com/documentation/enterprise/latest/topics/impala.html
2018-11-08 14:44:34
1191
转载 impala常用日期函数
增加月份 add_months(timestamp date, int months) add_months(timestamp date, bigint months) Return type: timestamp usage:add_months(now(),1) 增加日期 adddate(timestamp startdate, int days), adddate(timestamp st...
2018-10-12 14:26:35
10871
转载 struct和typedef struct区别
struct和typedef struct彻底明白了 struct和typedef struct 分三块来讲述: 1 首先://注意在C和C++里不同 在C中定义一个结构体类型要用typedef: typedef struct Student { int a; }Stu; 于是在声明变量的时候就可:Stu stu1;(如果没有typedef就必须...
2018-09-30 17:12:15
155
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人
RSS订阅