Generate file sql from excel data