CREATE TABLE table_name_7 (party VARCHAR2, results VARCHAR2, first_elected VARCHAR2)

What is the party for the representative who was first elected before 2002 and the results were re-elected?
SELECT party FROM table_name_7 WHERE results = "re-elected" AND first_elected < 2002
SELECT "party" FROM "table_name_7" WHERE "first_elected" < 2002 AND "re-elected" = "results"