CREATE TABLE salary (player_id VARCHAR2, team_id VARCHAR2, year VARCHAR2)
CREATE TABLE player (name_first VARCHAR2, name_last VARCHAR2, player_id VARCHAR2)
CREATE TABLE team (team_id_br VARCHAR2, name VARCHAR2)

List players' first name and last name who received salary from team Washington Nationals in both 2005 and 2007.
SELECT T2.name_first, T2.name_last FROM salary AS T1 JOIN player AS T2 ON T1.player_id = T2.player_id JOIN team AS T3 ON T3.team_id_br = T1.team_id WHERE T1.year = 2005 AND T3.name = 'Washington Nationals' INTERSECT SELECT T2.name_first, T2.name_last FROM salary AS T1 JOIN player AS T2 ON T1.player_id = T2.player_id JOIN team AS T3 ON T3.team_id_br = T1.team_id WHERE T1.year = 2007 AND T3.name = 'Washington Nationals'
SELECT "T2"."name_first", "T2"."name_last" FROM "salary" "T1" JOIN "player" "T2" ON "T1"."player_id" = "T2"."player_id" JOIN "team" "T3" ON "T1"."team_id" = "T3"."team_id_br" AND "T3"."name" = 'Washington Nationals' WHERE "T1"."year" = 2005 INTERSECT SELECT "T2"."name_first", "T2"."name_last" FROM "salary" "T1" JOIN "player" "T2" ON "T1"."player_id" = "T2"."player_id" JOIN "team" "T3" ON "T1"."team_id" = "T3"."team_id_br" AND "T3"."name" = 'Washington Nationals' WHERE "T1"."year" = 2007