changed sql file to database instead of one table.