human
Considering the provided database schema and associated query, produce SQL code to retrieve the answer to the query. 
###Database Schema: Representative, Title, Presentation of Credentials, Termination of Mission, Appointed by
###Question: What was the Termination of Mission date for the ambassador who was appointed by Barack Obama?
gpt
SELECT Termination of Mission FROM table WHERE Appointed by = barack obama