select 
t.trd_code as emptrade,
t.trd_desc as tradedesc
from r5trades t, r5userorganization u where  
t.trd_org = u.uog_org and 
u.uog_user = <parameter.r5user> and  ( u.uog_common = '+' or 
u.uog_org = <control.org> ) and coalesce(trd_notused, '-') = '-'