Task: Text to Code
Input (English): select the rows whose tournament record fuzzily matches to the open championship . take the events record of this row . select the rows whose tournament record fuzzily matches to pga championship . take the events record of this row . the first record is greater than the second record .
Output (English): greater { hop { filter_eq { all_rows ; tournament ; the open championship } ; events } ; hop { filter_eq { all_rows ; tournament ; pga championship } ; events } }