I want to select *, and not have to type out all individual columns, but I also want to include a custom column with a case statement. I tried the following:
se
Do it like this:
select e.*, case deptno when 30 then 'High' when 20 then 'Medi' when 10 then 'Low' else 'Very Low' end case from emp e order by deptno desc;