SELECT ename, NVL2(comm_pct, (sal+sal*comm_pct)*12, sal*12+bonus*2) year_income FROM emp;

배고파

실무에서 쓸법한 sql같은데

그나저나 as생략하니까 가독성이 좆같네