What are the distinct creation years of the departments managed by a secretary born in state 'Alabama'?
create table department (creation varchar, department_id varchar, PRIMARY KEY (creation)); create table management (department_id varchar, head_id varchar, PRIMARY KEY (department_id)); create table head (head_id varchar, born_state varchar, PRIMARY KEY (head_id))
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'