human
Considering the provided database schema and associated query, produce SQL code to retrieve the answer to the query. 
###Database Schema: Name, Background, Title, Appointment, Presentation of Credentials
###Question: When was William A. Costello appointed?
gpt
SELECT Appointment FROM table WHERE Name = william a. costello