select 
c2.ptc_condition as condition,
c2.ptc_desc as description
FROM   r5partctplconditions c2, r5partctplconditions c1, r5parts 
WHERE  par_code =  <parameter.partcode> AND
par_org  = <parameter.partorganization> AND
c1.ptc_template = par_conditiontpl AND    
c1.ptc_template_org = par_conditiontpl_org AND    
c1.ptc_condition = <parameter.conditioncode> AND
',' || c1.ptc_rtntostorecondlist || ',' like '%,' || c2.ptc_condition || ',%' and
c2.ptc_template = c1.ptc_template AND
c2.ptc_template_org = c1.ptc_template_org     