Created query.sql, update.sql, and small database logs