摘要: 直接上代码: public class StaticSingleton { private StaticSingleton() { //some handler... } private static class SingletonHolder { private static StaticSing 阅读全文
posted @ 2017-08-17 22:34 wells163 阅读(137) 评论(0) 推荐(0) 编辑
摘要: 对所有员工的当前(to_date='9999-01-01')薪水按照salary进行按照1-N的排名,相同salary并列且按照emp_no升序排列CREATE TABLE `salaries` (`emp_no` int(11) NOT NULL,`salary` int(11) NOT NULL 阅读全文
posted @ 2017-08-17 20:58 wells163 阅读(390) 评论(1) 推荐(0) 编辑
摘要: 查找所有员工自入职以来的薪水涨幅情况,给出员工编号emp_noy以及其对应的薪水涨幅growth,并按照growth进行升序CREATE TABLE `employees` (`emp_no` int(11) NOT NULL,`birth_date` date NOT NULL,`first_na 阅读全文
posted @ 2017-08-17 19:49 wells163 阅读(118) 评论(0) 推荐(0) 编辑