Task: Text to Code
Input (English): select the rows whose opponent in the final record fuzzily matches to mark selby . there is only one such row in the table . the championship record of this unqiue row is uk championship .
Output (English): and { only { filter_eq { all_rows ; opponent in the final ; mark selby } } ; eq { hop { filter_eq { all_rows ; opponent in the final ; mark selby } ; championship } ; uk championship } }