Task: Text to Code
Input (English): select the rows whose club record fuzzily matches to terang . take the wins record of this row . select the rows whose club record fuzzily matches to terang mortlake . take the wins record of this row . the first record is 501 larger than the second record .
Output (English): eq { diff { hop { filter_eq { all_rows ; club ; terang } ; wins } ; hop { filter_eq { all_rows ; club ; terang mortlake } ; wins } } ; 501 }