added sql file, def scrape and database query