I write a script for an Oracle Database, which logs events in several technologies. An event is normally logged twice, one time when it comes into the technology and one time when it goes out the technology.
What I want to do is to show every technology in my database. From each technology I want to show how many items there are at the moment and what the age of the oldest item is.
A graphical example of how my table should look like:

I use following code to calculate these things
select dm1.technology,
count(dm1.id) as "current_number_of_items",
TO_CHAR(MAX(TO_DATE('20000101','yyyymmdd')+(SYSDATE - dm1.time_event)),
'hh24:mi:ss') as "age_of_oldest_item"
from dm_procmon dm1
where (select count(dm2.id) from dm_procmon dm2 where dm1.id= dm2.id) = 1
group by dm1.technology;
For calculating the current number of items I just count the id's and group them by the technology. For calculating the age of the oldest item, I check if an id only appears 1 time in the database (otherwise it's already out). Than I just take the oldest age (SYS - time event from log).
This works perfect but not when there are 0 items in the technology. I want still to show the technology name if there are no items in it. How can I do that?
idand other fields remain empty? Or is there another table holding the technology information ?