select gevtparticipantes.codpar,apepar,nompar,cedpar,monevepar from gevtparticipantes,gevmdeventosparticipantes where (codeve='@1') and (gevtparticipantes.codpar=gevmdeventosparticipantes.codpar) and (tippre='N')

union all

select gevtparticipantes.codpar,apepar,nompar,cedpar,monevepar from gevtparticipantes,gevmdeventosparticipantes where (codeve='@1') and (gevtparticipantes.codpar=gevmdeventosparticipantes.codpar) and (tippre<>'N') and (stapatinc='S')
