I build formula for Oracle execute. But I not good regular.
(CLICK/10)/IMPRESSION => DECODE(IMPRESSION,0,0,(CLICK/10)/IMPRESSION)
RESPONSE/REQUEST => DECODE(REQUEST,0,0,RESPONSE/REQUEST)
CLICK/REQUEST/IMPRESSION = DECODE(IMPRESSION,0,0,DECODE(REQUEST,0,0,CLICK/REQUEST)/IMPRESSION)
Please help me 1 solution or 1 pattern for PHP.