Task: Text to Code
Input (English): select the rows whose team record fuzzily matches to 2009 . take the losses record of this row . select the rows whose team record fuzzily matches to 2011 . take the losses record of this row . the first record is greater than the second record . the losses record of the first row is 8 . the losses record of the second row is 4 .
Output (English): and { greater { hop { filter_eq { all_rows ; team ; 2009 } ; losses } ; hop { filter_eq { all_rows ; team ; 2011 } ; losses } } ; and { eq { hop { filter_eq { all_rows ; team ; 2009 } ; losses } ; 8 } ; eq { hop { filter_eq { all_rows ; team ; 2011 } ; losses } ; 4 } } }