Task: Text to Code
Input (English): select the rows whose score record fuzzily matches to 3 - 0 . take the competition record of this row . select the rows whose score record fuzzily matches to 3 - 2 . take the competition record of this row . the first record fuzzily matches to the second record . the competition record of the first row is friendly . the competition record of the second row is friendly .
Output (English): and { eq { hop { filter_eq { all_rows ; score ; 3 - 0 } ; competition } ; hop { filter_eq { all_rows ; score ; 3 - 2 } ; competition } } ; and { eq { hop { filter_eq { all_rows ; score ; 3 - 0 } ; competition } ; friendly } ; eq { hop { filter_eq { all_rows ; score ; 3 - 2 } ; competition } ; friendly } } }