Task: Text to Code
Input (English): Step 1: For each row in people table, find the corresponding rows in candidate table.
Step 2: find each value of Sex in the results of step 1 along with the minimum Unsure_rate of the corresponding rows to each value
Output (English): SELECT T2.Name , Min ( T1.Unsure_rate ) FROM candidate AS T1 JOIN people AS T2 ON T1.People_ID = T2.People_ID GROUP BY T2.Sex