Task: Text to Code
Input (English): select the rows whose week record fuzzily matches to 8 . take the attendance record of this row . select the rows whose week record fuzzily matches to 10 . take the attendance record of this row . the first record is greater than the second record .
Output (English): greater { hop { filter_eq { all_rows ; week ; 8 } ; attendance } ; hop { filter_eq { all_rows ; week ; 10 } ; attendance } }