human
Schema:
department (Department_ID, Name, Creation, Ranking, Budget_in_Billions, Num_Employees)
head (head_ID, name, born_state, age)
management (department_ID, head_ID, temporary_acting)
Please answer with SQL.
assistant
Sure, I understand.
human
List the states where each secretary was born.
assistant
SELECT DISTINCT born_state FROM head;
human
List the information of the secretary of 'Treasury' department and the secretary of 'Homeland Security' department.
assistant
SELECT T3.name , T3.born_state 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 T1.name = "Treasury" OR T1.name = "Homeland Security" ;