Task: Text to Code
Input (English): select the rows whose men 's singles record fuzzily matches to andrew smith . there is only one such row in the table . the year record of this unqiue row is 2006 .
Output (English): and { only { filter_eq { all_rows ; men 's singles ; andrew smith } } ; eq { hop { filter_eq { all_rows ; men 's singles ; andrew smith } ; year } ; 2006 } }