select department_id, employee_id, first_name, last_name,
case
when hire_date = first_hire and hire_date = last_hire
then 'Shortest and Longest Serving'
when hire_date = first_hire then 'Longest Serving'
when hire_date = last_hire then 'Shortest Serving'
end Department_Tenure
from (
select department_id, employee_id, first_name, last_name, hire_date,
max(hire_date) over(partition by department_id) first_hire,
min(hire_date) over(partition by department_id) last_hire
from hr.employees
) Hire_Dates
where hire_date in (first_hire, last_hire)
order by department_id, department_tenure;
References:
G Allen, B Bryla, D Kuhn, and C Allen, "Oracle SQL Recipes A Problem-Solution Approach", 1st ed, Apress, 2009.
Sunday, February 12, 2017
Thursday, January 19, 2017
Friday, December 2, 2016
Types of image noise
1. Additive Gaussian noise
2. Blurring
3. Salt and pepper noise
4. Low contrast
5. Multiplicative Gaussian noise
6. Structure noise
7. Random noise
8. Shot noise
9. Quantization noise
10. Banding noise
11. Shadow noise
12. Burst noise
13. White noise
14. Flicker noise
15. Additive white Gaussian noise
16. Grey noise
17. Pink noise
18. Thermal noise
19. Coherent noise (value noise, gradient noise, worley noise)
2. Blurring
3. Salt and pepper noise
4. Low contrast
5. Multiplicative Gaussian noise
6. Structure noise
7. Random noise
8. Shot noise
9. Quantization noise
10. Banding noise
11. Shadow noise
12. Burst noise
13. White noise
14. Flicker noise
15. Additive white Gaussian noise
16. Grey noise
17. Pink noise
18. Thermal noise
19. Coherent noise (value noise, gradient noise, worley noise)
Subscribe to:
Posts (Atom)
Mounting USB drives in Windows Subsystem for Linux
Windows Subsystem for Linux can use (mount): SD card USB drives CD drives (CDFS) Network drives UNC paths Local storage / drives Drives form...
-
Windows Subsystem for Linux can use (mount): SD card USB drives CD drives (CDFS) Network drives UNC paths Local storage / drives Drives form...
-
1. Judging chocolate cookies [1] 2. Judging group work [2] 2.1 Features of a good rubric Clearly worded and easy to understand fr...





