Task: Text to Code
Input (English): Step 1: For each row in Student table, find the corresponding rows in Voting_record table.
Step 2: find without repetition Fname, Age of the results of step 1 whose President_Vote equals 18
Output (English): SELECT DISTINCT T1.Fname , T1.Age FROM Student AS T1 JOIN Voting_record AS T2 ON T1.StuID = T2.StuID WHERE T2.President_Vote = 18