Task: Text to Code
Input (English): select the rows whose team 2 record fuzzily matches to mp algiers . take the 1st leg record of this row . select the rows whose team 2 record fuzzily matches to fortior mahajanga . take the 1st leg record of this row . the first record is greater than the second record .
Output (English): greater { hop { filter_eq { all_rows ; team 2 ; mp algiers } ; 1st leg } ; hop { filter_eq { all_rows ; team 2 ; fortior mahajanga } ; 1st leg } }