Task: Text to Code
Input (English): Step 1: find the party's Party of party table for which Comptroller equals Appropriations.
Step 2: For each row in party table, find the corresponding rows in election table.
Step 3: find party's Party of the results of step 2 whose Committee equals Economic Matters.
Step 4: show the rows that are in both the results of step 1 and the results of step 3
Output (English): SELECT T1.Party FROM party AS T1 WHERE T1.Comptroller = "Appropriations" INTERSECT SELECT T1.Party FROM party AS T1 JOIN election AS T2 ON T1.Party_ID = T2.Party WHERE T2.Committee = "Economic Matters"