human
Considering the provided database schema and associated query, produce SQL code to retrieve the answer to the query. 
###Database Schema: Name, State, Status, Title, Appointment, Credentials Presented
###Question: What state has an appointment for jul 12, 2001?
gpt
SELECT State FROM table WHERE Appointment = jul 12, 2001