Context: CREATE TABLE table_25851971_1 (production_code VARCHAR, written_by VARCHAR)
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"