question: What was the production code of the episode written by Anthony Sparks?
answer: SELECT production_code FROM table_25851971_1 WHERE written_by = "Anthony Sparks"
context: CREATE TABLE table_25851971_1 (production_code VARCHAR, written_by VARCHAR)