Task: Text to Code
Input (English): select the rows whose opponent team record fuzzily matches to latvia . take the outcome record of this row . select the rows whose opponent team record fuzzily matches to iceland . take the outcome record of this row . the first record fuzzily matches to the second record . the outcome record of the first row is winner . the outcome record of the second row is winner .
Output (English): and { eq { hop { filter_eq { all_rows ; opponent team ; latvia } ; outcome } ; hop { filter_eq { all_rows ; opponent team ; iceland } ; outcome } } ; and { eq { hop { filter_eq { all_rows ; opponent team ; latvia } ; outcome } ; winner } ; eq { hop { filter_eq { all_rows ; opponent team ; iceland } ; outcome } ; winner } } }