Task: Text to Code
Input (English): select the rows whose first elected record fuzzily matches to 19 . for the party records of these rows , all of them fuzzily match to democratic .
Output (English): all_eq { filter_eq { all_rows ; first elected ; 19 } ; party ; democratic }