I need to display Employee last_name and their commission amount from employees table in Oracle SQL, but the condition is if it encounter NULL valu
last_name
NULL
select Last_Name, decode(nvl(salarycommission_pct,'0'),0,'No Commission',salarycommission_pct) as COMM from employees;