packagecom.ctgu.java;
publicclassManKind{
privateintsex;
privateintsalary;
publicintgetSex(){
returnsex;
}
publicvoidsetSex(intsex){
this.sex=sex;
}
publicintgetSalary(){
returnsalary;
}
publicvoidsetSalary(intsalary){
this.salar..
分类:
其他好文 时间:
2015-01-19 15:58:34
阅读次数:
127
On some special occasions Nadia’s company provide very special lunch for all employees of the company. Before the food is served all of the employees ...
分类:
其他好文 时间:
2015-01-19 10:51:18
阅读次数:
102
6.1 SELECT ... FROM 语句hive> SELECT name,salary FROM employees; --普通查询hive>SELECT e.name, e.salary FROM employees e;--也支持别名查询当用户选择的列是集合数据类型时,Hive会使用 J....
分类:
其他好文 时间:
2015-01-18 22:39:51
阅读次数:
977
Problem Description
There is a company that has N employees(numbered from 1 to N),every employee in the company has a immediate boss (except for the leader of whole company).If you are the immediat...
分类:
其他好文 时间:
2015-01-17 18:06:01
阅读次数:
370
The Employee table holds all employees including their managers. Every employee has an Id, and there is also a column for the manager Id.
+----+-------+--------+-----------+
| Id | Name | Salar...
分类:
数据库 时间:
2015-01-16 14:48:23
阅读次数:
202
5.1 向管理表中装载数据Hive 没有行级别的数据插入更新和删除操作,那么往表中装载数据的唯一途径就是使用一种“大量”的数据装载操作,或者通过其他方式仅仅将文件写入到正确的目录下;LOAD DATA LOCAL INPATH '${env:HOME}/califonia-employees'OVE...
分类:
其他好文 时间:
2015-01-14 00:32:40
阅读次数:
289
一、实验目的练习使用vim编辑器、掌握正则表达式和sed编辑器的使用二、实验环境CentOS6.5系统.三、实验内容1.练习使用vim编辑器2.利用grep和正则表达式进行文本过滤3.利用sed对文本进行过滤和编辑四、实验步骤:1、利用vim编辑文件employees,该文件的每一行包含一名雇员的信息..
分类:
系统相关 时间:
2015-01-10 06:42:15
阅读次数:
574
第十四章高级子查询1.子查询子查询(内查询)在主查询执行之前执行主查询(外查询)使用子查询的结果SELECT select_listFROM tableWHERE exproperator(SELECTselect_list FROM table);问题:查询工资大于149号员工工资的员工的信息SELECTlast_nameFROMemployeesWHEREsalary>(SE..
分类:
数据库 时间:
2014-12-26 18:53:08
阅读次数:
266
HR(Human Resources,人力资源) SCHEMA COUNTRIES TABLE DEPARTMENTSTABLE EMPLOYEES TABLE EMP_DETAILS_VIEWVIEW JOBS TABLE JOB_HISTORYTABLE LOCATI...
分类:
数据库 时间:
2014-12-21 10:19:21
阅读次数:
213
第九章约束1.什么是约束约束是表级的强制规定有以下五种约束:NOTNULL UNIQUE PRIMARYKEY FOREIGNKEY CHECK2.注意事项如果不指定约束名,Oracleserver自动按照SYS_Cn的格式指定约束名创建和修改约束:建表的同时建表之后可以在表级或列级定义约束可以通过数据字典视图查看约束3...
分类:
数据库 时间:
2014-12-21 01:57:00
阅读次数:
285