select  prv_value customfieldvalue, pvd_desc description 
from r5propertyvalues LEFT OUTER JOIN r5pvdescriptions ON 
( pvd_property=prv_property and pvd_value=prv_value ) 
where prv_property =<param.propcode> and prv_code = '*' 