Task: Text to Code
Input (English): select the rows whose year aired record fuzzily matches to 2007 . the maximum top prize record of these rows is 250000 .
Output (English): eq { max { filter_eq { all_rows ; year aired ; 2007 } ; top prize } ; 250000 }