I have the following query that I can't get to work...essentially I want to divide one count by another...can anyone help?
select count (*)
from R5events
where evt_completed <=evt_target
and evt_rstatus = 'C'
and evt_person = 'SMITH-MP'
/
select count (*)
from R5events
where evt_person = 'SMITH-MP'
select count (*)
from R5events
where evt_completed <=evt_target
and evt_rstatus = 'C'
and evt_person = 'SMITH-MP'
/
select count (*)
from R5events
where evt_person = 'SMITH-MP'