a guest Jul 17th, 2017 49 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
- "SELECT SUM(ts.actual) actual_sum, SUM(t_cstm.actual_c) t_actual FROM timesheet ts LEFT JOIN tasks t ON t.id=ts.parent_id LEFT JOIN tasks_cstm t_cstm ON t_cstm.id_c=t.id WHERE t.id='".$id."' AND ts.deleted=0"
RAW Paste Data