FIND_IN_SET('notify_payment', ep.flags) AS notify_payment
FROM groupex.evenements_participants AS ep
INNER JOIN groupex.evenements AS e ON (ep.eid = e.eid)
LEFT JOIN groupex.membres AS m ON ( ep.uid = m.uid AND e.asso_id = m.asso_id)
LEFT JOIN auth_user_md5 AS u ON ( u.user_id = ep.uid )
LEFT JOIN aliases AS a ON ( a.id = ep.uid AND a.type='a_vie' )
FIND_IN_SET('notify_payment', ep.flags) AS notify_payment
FROM groupex.evenements_participants AS ep
INNER JOIN groupex.evenements AS e ON (ep.eid = e.eid)
LEFT JOIN groupex.membres AS m ON ( ep.uid = m.uid AND e.asso_id = m.asso_id)
LEFT JOIN auth_user_md5 AS u ON ( u.user_id = ep.uid )
LEFT JOIN aliases AS a ON ( a.id = ep.uid AND a.type='a_vie' )