write answers.sql