By using db<>fiddle, you agree to license everything you submit by Creative Commons CC0.
4 rows affected
MONTH | TYPE | CALCULATION | NO_TENURE | TENURE |
---|---|---|---|---|
1 | TYPE1 | 6.15555555555 | 5.33333333333 | 6.81333333333 |
1 | TYPE2 | 5.76923076923 | 5.55555555555 | 5.95238095238 |
Warning: Null value is eliminated by an aggregate or other SET operation.
MONTH | TYPE | CALCULATION | NO_TENURE | TENURE |
---|---|---|---|---|
1 | TYPE1 | 6.15555555555 | 5.33333333333 | 6.81333333333 |
1 | TYPE2 | 5.76923076923 | 5.55555555555 | 5.95238095238 |
Warning: Null value is eliminated by an aggregate or other SET operation.
MONTH | TYPE | IS_TENURED | CALCULATION |
---|---|---|---|
1 | TYPE1 | 0 | 5.33333333333 |
1 | TYPE1 | 1 | 6.81333333333 |
1 | TYPE1 | null | 6.15555555555 |
1 | TYPE2 | 0 | 5.55555555555 |
1 | TYPE2 | 1 | 5.95238095238 |
1 | TYPE2 | null | 5.76923076923 |