Write SQL query to solve given problem: Give the state and name of institutions in year of data release from 2010 to 2012 with black students.. Keep the solution inside sql tag ```sql [SQL-Query] ```
SELECT DISTINCT T1.state, T1.chronname FROM institution_details AS T1 INNER JOIN institution_grads AS T2 ON T2.unitid = T1.unitid WHERE T2.race = 'B' AND T2.year BETWEEN 2010 AND 2012