Task: Text to Code
Input (English): SQL: SELECT staff_id FROM Staff_Department_Assignments WHERE date_assigned_to < "Clerical Staff"
Feedback: Make sure customer address less than that of whose customer phone equals Clerical staff .
Output (English): SELECT staff_id FROM Staff_Department_Assignments WHERE date_assigned_to  <  (SELECT max(date_assigned_to) FROM Staff_Department_Assignments WHERE job_title_code  =  'Clerical Staff')