select 
l.lot_code as lotcode,
l.lot_desc as lotdesc
FROM r5lots l, r5userorganization u WHERE u.uog_org = l.lot_org AND       
uog_user = <parameter.r5user> AND       
( uog_common = '+' or uog_org = <control.org> )