Task: Text to Code
Input (English): select the rows whose rank record fuzzily matches to 1 . take the total record of this row . select the rows whose rank record fuzzily matches to 2 . take the total record of this row . the first record is less than the second record . the total record of the first row is 4 . the total record of the second row is 5 .
Output (English): and { less { hop { filter_eq { all_rows ; rank ; 1 } ; total } ; hop { filter_eq { all_rows ; rank ; 2 } ; total } } ; and { eq { hop { filter_eq { all_rows ; rank ; 1 } ; total } ; 4 } ; eq { hop { filter_eq { all_rows ; rank ; 2 } ; total } ; 5 } } }