รายชื่อผู้เล่นและนามสกุลที่ได้รับเงินเดือนจากทีม Washington Nationals ในปี 2548 และ 2550
List players' first name and last name who received salary from team Washington Nationals in both 2005 and 2007.
player = pd.DataFrame(columns=['name_first', 'name_last', 'player_id']); team = pd.DataFrame(columns=['team_id_br', 'name']); salary = pd.DataFrame(columns=['player_id', 'team_id', 'year'])
player[player['player_id'].isin(salary[(salary['team_id'].isin(team[team['name'] == 'Washington Nationals']['team_id_br'])) & (salary['year'].isin(['2005', '2007']))]['player_id'])][['name_first', 'name_last']]