Task: Text to Code
Input (English): select the rows whose nation record fuzzily matches to china ( chn ) . take the bronze record of this row . select the rows whose nation record fuzzily matches to thailand ( tha ) . take the bronze record of this row . the first record is 1 larger than the second record .
Output (English): eq { diff { hop { filter_eq { all_rows ; nation ; china ( chn ) } ; bronze } ; hop { filter_eq { all_rows ; nation ; thailand ( tha ) } ; bronze } } ; 1 }