Task: Text to Code
Input (English): select the rows whose gold record is greater than 200 . for the total records of these rows , all of them are greater than 1000 .
Output (English): all_greater { filter_greater { all_rows ; gold ; 200 } ; total ; 1000 }