How to get rid of this redundant column in report

I'm with a simple query using report 6i but having problems to get the format I want. If someone can give me a heads up, I would be very grateful.

I used the report with the following query wizard
Select fis_year, pay_no, check_amt and pay_date of table A

set up 2 groups
Group: G_fis_year
Group: G_pay_no
Sum (check_amt) at G_fis_year
Sum (check_amt) at G_pay_no

These are the test data
data:
fis_year,pay_no,  check_amt,pay_date
2009,     001,     345,     01/02/2009
2009,     001,     786,     01/02/2009
2008,     002,     678,     03/08/2008
2008,     003,     789,     06/04/2008
}

power required:
fis_year   pay_no    total_check_amt  check_date   
2009          001     1131             01/02/2009 


2008          002     678           03/08/2008
          003     789          06/04/2008 
But I'm getting
fis_year   pay_no    total_check_amt  check_date   
2009          001     1131             01/02/2009 
                         01/02/2009   ===> how to get rid of this redundant date when they are the same

2008          002     678           03/08/2008
          003     789          06/04/2008 
wanwan

Hello
Report style: left group

You can use this query:

Select fis_year, pay_no, pay_date, sum (check_amt)
the name of the table
Group of pay_date, fis_year, pay_no
order of pay_no

Page layout:
create report wizard-> write the query select fis_year--> then click then--> select remaining all the fields and click Next
after u, compile and run the report, you will get you are out.

* in the data model first group g_fis_year--> fis_year column properties--> order of break must be DESCENDING.

Answer me after that u got the output

Tags: Oracle Development

Similar Questions

Maybe you are looking for