Task: Text to Code
Input (English): select the rows whose tournament record fuzzily matches to us open . 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 ; us open } ; events } ; hop { filter_eq { all_rows ; tournament ; pga championship } ; events } }