I have a query that gives me the following table(Thanks Mike Pastore):
Date Line Downtime Reason
07/10 A 2 d1
07/10 B 1 d2
07/10 C 3 d3
07/10 C 3 d1
07/10 C 3 d2
I need to get the following table
Date Line Downtime Reason
07/10 A 2 d1
07/10 B 1 d2
07/10 C 3 d3
How can I do this? I only need one occurence for particular set of date, line and downtime combination. In the above example line C had three downtime reasons with the same amount of downtime. In this case I need only one occurence and ideally club all the reasons in one entry:
07/10 C 3 d1,d2,d3
Crosstab queries won't work for my use. If it is not possible to club all the reasons, how do I just get one occurence.
Date Line Downtime Reason
07/10 A 2 d1
07/10 B 1 d2
07/10 C 3 d3
07/10 C 3 d1
07/10 C 3 d2
I need to get the following table
Date Line Downtime Reason
07/10 A 2 d1
07/10 B 1 d2
07/10 C 3 d3
How can I do this? I only need one occurence for particular set of date, line and downtime combination. In the above example line C had three downtime reasons with the same amount of downtime. In this case I need only one occurence and ideally club all the reasons in one entry:
07/10 C 3 d1,d2,d3
Crosstab queries won't work for my use. If it is not possible to club all the reasons, how do I just get one occurence.