Quantcast
Channel: SCN : All Content - All Communities
Viewing all articles
Browse latest Browse all 7846

Multiple rows for one selection

$
0
0

Hi,

 

I have one requirement where I need to get multiple values from a field corresponding to one value in another field. For example:

 

Date               Transaction No          Customer          Avg. Time

2/7/14               101                         AAA                    2 Day

2/7/14               102                         BBB                    3 Day

2/7/14               103                         AAA                    3 Day

5/7/14               104                         XYZ                     4 Day

5/7/14               105                         AAA                    5 Day

5/7/14               106                         AAA                    3 Day

5/7/14               107                         XYZ                     2 Day

5/7/14               108                         MMM                  0 Day

 

transaction no is unique. now I want to get all Avg. time for AAA (2,3,5,3 Days), BBB (3 Days), XYZ (4,2, Days) and MMM (0 Days). the issue is there is no selection for customer. I want it for all the customers. there are around 50 customers and number may increase in future.

 

how can I achieve this? pls help.

 

Rgds,

Rajwinder


Viewing all articles
Browse latest Browse all 7846

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>