Task: Text to Code
Input (English): select the rows whose race record fuzzily matches to warwick stakes . take the distance record of this row . select the rows whose race record fuzzily matches to george main stakes . take the distance record of this row . the first record is less than the second record .
Output (English): less { hop { filter_eq { all_rows ; race ; warwick stakes } ; distance } ; hop { filter_eq { all_rows ; race ; george main stakes } ; distance } }