통계를 실행하는 데 사용하려는 CSV 형식의 트랜잭션 로그 파일이 있습니다.CSV 파일에서 직접 통계 계산
date: Time/date stamp salesperson: The username of the person who closed the sale promo: sum total of items in the sale that were promotions. amount: grand total of the sale
나는 다음과 같은 통계를 좀하고 싶습니다 : 로그는 다음과 같은 필드가 있습니다
나는 데이터베이스 구조를 구축이 파일을 가져 오기, SQL을 작성하고 끌어 유혹하고있어salesperson: The username of the salesperson being analyzed. minAmount: The smallest grand total of this salesperson's transaction. avgAmount: The mean grand total.. maxAmount: The largest grand total.. minPromo: The smallest promo amount by the salesperson. avgPromo: The mean promo amount...
통계를. 이 통계 자료보다이 데이터에서 더 필요한 것은 없습니다. 더 쉬운 방법이 있습니까? 나는 bash 스크립트가 이것을 쉽게 만들 수 있기를 바라고있다.
문제의 어떤 부분에 문제가 있습니까? 통계 그 자체? 데이터 구조는? 파싱? 당신이 편한 스크립팅 언어에 대해 매우 어려운 문제는 아닌 것 같습니다. – Kena
* cuddles PowerShell * ... – Joey