1、Mapper类package cn.sjq.bigdata.mr.salary;import java.io.IOException;import org.apache.commons.lang.StringUtils;import org.apache.hadoop.io.LongWritable;import org.apache.hadoop.io.Text;import org.apa
分类:
其他好文 时间:
2018-07-26 10:50:51
阅读次数:
254
单表查询,以下面这个表为例:+ + + + + + + + + + +| id | name | sex | age | hire_date | post | post_comment | salary | office | depart_id |+ + + + + + + + + + +| 1 | ...
分类:
其他好文 时间:
2018-07-23 22:01:57
阅读次数:
125
换行开始的第一个元素clear:left;即可 例如 四列时应该时第5个,9个。。。加clear:left; .row .col-lg-3:nth-child(4n+1),.row .col-md-3:nth-child(4n+1){ clear:left;} 4n+1 选择一行4列时下一行第一个元 ...
分类:
其他好文 时间:
2018-07-23 19:56:36
阅读次数:
184
初始化测试数据 创建一个测试用的表 create table dept(id int primary key auto_increment , deptName varchar(32) not null unique,salary decimal(12,6) not null,remark varc ...
分类:
数据库 时间:
2018-07-22 15:23:21
阅读次数:
191
一,CSS3 选择器分类 二,选择器语法 1,基本选择器语法 2,层次选择器语法 3,动态伪类选择器语法 4,目标伪类选择器 5,UI元素状态伪类选择器语法 6,结构伪类选择器使用语法 注:(1),“ul>li:nth-child(3)”表达的并不是一定选择列表ul元素中的第3个子元素li,仅有列表 ...
分类:
Web程序 时间:
2018-07-19 13:44:02
阅读次数:
216
在项目开发中我们采用的CSS3新特性有 1.CSS3的选择器 1)E:last-child 匹配父元素的最后一个子元素E。2)E:nth-child(n)匹配父元素的第n个子元素E。 3)E:nth-last-child(n) CSS3 匹配父元素的倒数第n个子元素E。 2. @Font-face ...
分类:
Web程序 时间:
2018-07-19 13:33:29
阅读次数:
142
122-Triangular Sums 内存限制:64MB 时间限制:3000ms 特判: No 通过数:5 提交数:7 难度:2 题目描述: The nth Triangular number, T(n) = 1 + … + n, is the sum of the first n integer ...
分类:
其他好文 时间:
2018-07-18 19:13:43
阅读次数:
326
create table salary (userid int,salary decimal(9,2)); -- mysqlinsert into salary values(1,1000),(2,2000), (3,3000),(4,4000),(5,5000), (1,null),(2,500) ...
分类:
数据库 时间:
2018-07-15 11:22:02
阅读次数:
178
官方文档的pl/sqlpackages写的比较清楚,这里翻译一下beginDBMS_FGA.ADD_POLICY(object_schema=>‘HR‘,object_name=>‘EMPLOYEES‘,policy_name=>‘mypolicy1‘,audit_condition=>‘salary<10500ormanager_id<100‘,audit_c
分类:
数据库 时间:
2018-07-13 16:25:06
阅读次数:
222
代码来自http://dabblet.com/gist/70c434a6e802b062f494 主要涉及css中伪元素的应用,主要有nth child()和before、after等伪元素,重点为兄弟元素的巧妙应用。 效果: 对比自己写的,高下立知。 ...
分类:
Web程序 时间:
2018-07-13 00:00:08
阅读次数:
221