Task: Text to Code
Input (English): select the rows whose men 's singles record fuzzily matches to nicholas hall . take the year record of this row . select the rows whose men 's singles record fuzzily matches to andrew smith . take the year record of this row . the first record is less than the second record .
Output (English): less { hop { filter_eq { all_rows ; men 's singles ; nicholas hall } ; year } ; hop { filter_eq { all_rows ; men 's singles ; andrew smith } ; year } }