Skip to content

Instantly share code, notes, and snippets.

@kbdharun
Created September 16, 2024 04:13
Show Gist options
  • Select an option

  • Save kbdharun/2ff128450ba01633aaae5c3e1deceb5c to your computer and use it in GitHub Desktop.

Select an option

Save kbdharun/2ff128450ba01633aaae5c3e1deceb5c to your computer and use it in GitHub Desktop.
Oracle Apex Query for Employee and department table for custom report using select list

Report:

select EmpNo, EName, Job, Sal
from EMP
where job = :P10_JOB
and :P10_deptname=(select dname from dept where dname= :P10_DEPTNAME)
order by EName;

Page Items (Select List):

select distinct Job as DisplayVal, Job as ResultVal
from EMP
order by DisplayVal;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment