Task: Text to Code
Input (English): Step 1: For each row in Staff table, find the corresponding rows in Staff_Department_Assignments table.
Step 2: find staff_name, staff_gender of the results of step 1 whose job_title_code not equals Clerical Staff
Output (English): SELECT T1.staff_name , T1.staff_gender FROM Staff AS T1 JOIN Staff_Department_Assignments AS T2 ON T1.staff_id = T2.staff_id WHERE T2.job_title_code ! = "Clerical Staff"