Below is the list of tables from the database along with their columns and datatype. Need to generate an accurate SQL query for the question.
Only use the columns present in the respective table. Only use the columns which are required to generate the SQL query. Only use table joins if required and not otherwise.

### Tables ###
TABLE: CREATE TABLE team ( team_id_br VARCHAR, name VARCHAR )
TABLE: CREATE TABLE salary ( salary INTEGER, team_id VARCHAR, year VARCHAR )

### Question ###
What is the total salary paid by team Boston Red Stockings in 2010?

### Accurate SQL ###

SELECT SUM(T1.salary) FROM salary AS T1 JOIN team AS T2 ON T1.team_id = T2.team_id_br WHERE T2.name = 'Boston Red Stockings' AND T1.year = 2010