CREATE TABLE table_name_7 (district VARCHAR, first_elected VARCHAR, result VARCHAR)

Which district had a first elected in 1882 with a result of re-elected?
SELECT district FROM table_name_7 WHERE first_elected = 1882 AND result = "re-elected"
SELECT "district" FROM "table_name_7" WHERE "first_elected" = 1882 AND "re-elected" = "result"