Task: Text to Code
Input (English): select the rows whose mens 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 ; mens singles ; andrew smith } } ; eq { hop { filter_eq { all_rows ; mens singles ; andrew smith } ; year } ; 2006 } }