Task: Text to Code
Input (English): select the rows whose city record fuzzily matches to newcastle . take the erp ( analog / digital ) record of this row . select the rows whose city record fuzzily matches to lismore . take the erp ( analog / digital ) record of this row . the first record is greater than the second record . the erp ( analog / digital ) record of the first row is 1200 kw 500 kw . the erp ( analog / digital ) record of the second row is 200 kw 200 kw .
Output (English): and { greater { hop { filter_eq { all_rows ; city ; newcastle } ; erp ( analog / digital ) } ; hop { filter_eq { all_rows ; city ; lismore } ; erp ( analog / digital ) } } ; and { eq { hop { filter_eq { all_rows ; city ; newcastle } ; erp ( analog / digital ) } ; 1200 kw 500 kw } ; eq { hop { filter_eq { all_rows ; city ; lismore } ; erp ( analog / digital ) } ; 200 kw 200 kw } } }