I need to create a report in Oracle APEX, which is similar to the example below:
PROJECT OPEN_ISSUE_COUNT CLOSED_ISSUE_COUNT W-1 3 1 X-2 1 2 Y-3 5 3 Z-4 2 1
Where OPEN_ISSUE_COUNT and CLOSED_ISSUE_COUNT generated by the SQL COUNT . The requested table is as follows:
ISSUE_
Therefore, in one query, I need to count on OPEN_ISSUE_COUNT and CLOSED_ISSUE_COUNT , where ISSUS_STATUS = 'OPEN' and ISSUS_STATUS = 'CLOSED' respectively, and GROUP BY ASSOCIATED_PROJECT .
It makes sense? Obviously, I can easily do this for one of two statuses, but I could not come up with any viable solution for what I am describing here. I looked at some things here and elsewhere on the Internet and did not see anything like it. Let me know what you guys think. Thanks!
Spags source share