hi!
The query is:
select employee_id
, last_name
, salary
, round((salary+(salary*0.15)), 0) as "NewSalary"
, (round((salary+(salary*0.15)), 0) - salary) as “IncreaseAmount”
from employees;
Can I optimize this round((salary+(salary*0.15)), 0)
part in anyway, so that it doesn't appear twice? I tried giving it an alias but didn't work :(