나는 오라클에 5 개의 열을 반환하는 저장 프로 시저가 있습니다. (ORDER BY) 날짜, 계정, 자산, 금액 및 유형 순입니다.Crystal Reports - 출력 레코드 그룹화
Crystal Reports에서 날짜, 계정 및 자산 열을 기준으로 절차 에 따라 반환 된 출력을 그룹화했습니다.
수정 보고서의 출력은 다음과 같습니다.
Date Account Asset Amount Type
Date1 Account1 Asset1 Amount1 Buy
Date1 Account1 Asset1 Amount1 Sell
Date1 Account1 Asset1 Amount2 Buy
Date1 Account1 Asset1 Amount2 Sell
Date2 Account2 Asset2 Amount3 Buy
Date2 Account2 Asset2 Amount4 Sell
Date2 Account2 Asset2 Amount5 Sell
Date3 Account3 Asset3 Amount6 Buy
Date3 Account3 Asset3 Amount6 Sell
Date4 Account4 Asset4 Amount7 Buy
Date4 Account4 Asset4 Amount7 Buy
Date4 Account4 Asset4 Amount8 Sell
질문 : 다른 그룹에 영향을주지 않도록에만 날짜, 계정 및 자산을 그룹화하여 다음과 같이 열 금액에 따라 결과의 첫 번째 그룹을 분리해서하는 결정에 어떤 가능한 방법이 있나요 출력. (나)
Date Account Asset Amount Type
Date1 Account1 Asset1 Amount1 Buy
Date1 Account1 Asset1 Amount1 Sell
Date1 Account1 Asset1 Amount2 Buy
Date1 Account1 Asset1 Amount2 Sell
Date2 Account2 Asset2 Amount3 Buy
Date2 Account2 Asset2 Amount4 Sell
Date2 Account2 Asset2 Amount5 Sell
Date3 Account3 Asset3 Amount6 Buy
Date3 Account3 Asset3 Amount6 Sell
Date4 Account4 Asset4 Amount7 Buy
Date4 Account4 Asset4 Amount7 Buy
Date4 Account4 Asset4 Amount8 Sell
이 질문은 더 나은 제목이 필요하고 "Crystal Reports" – ShoeLace