added db.sql and fetch.sql