-- Database schema
| department : Department_ID [ INT ] primary_key , Name [ TEXT ] , Creation [ TEXT ] , Ranking [ INT ] , Budget_in_Billions [ INT ] , Num_Employees [ INT ] | head : head_ID [ INT ] primary_key , name [ TEXT ] , born_state [ TEXT ] , age [ INT ] | management : department_ID [ INT ] primary_key management.department_ID = department.Department_ID , head_ID [ INT ] management.head_ID = head.head_ID , temporary_acting [ TEXT ] |
-- -- What are the distinct creation years of the departments managed by a secretary born in state 'Alabama'?

SELECT DISTINCT T1.creation FROM department AS T1 JOIN management AS T2 ON T1.department_id  =  T2.department_id JOIN head AS T3 ON T2.head_id  =  T3.head_id WHERE T3.born_state  =  'Alabama';