troubleshooting Question

Group records where linked field is the same (Excel/SQL)

Avatar of ITmonkeys
ITmonkeys asked on
Microsoft SQL ServerOracle DatabaseMicrosoft Excel
4 Comments2 Solutions819 ViewsLast Modified:
I have two tables Controls & Systems, which are left outer joined (controls - systems).  

A control can have multiple systems attached to it.  Currently the results come back as :

Control No   Control    System                        
01254          aaaaa     excel
01254          aaaaa     oracle
01252          bbbbb     oracle
02543          ccccc    
01275          ddddd     excel
01275          ddddd     outlook
01275          ddddd     word
However I want it to come back as:

Control No   Control    System
01254          aaaaa     excel | oracle
01252          bbbbb     oracle
02543          ccccc    
01275          ddddd     excel | outlook | word

When I originally prepared the reports in Crystal it did come back like this.  However when I try it now in Excel or Crystal it seperates them out into indvidual rows.

Is there any way of combining the Systems results onto one row?  Any help would be appreciated
Join the community to see this answer!
Join our exclusive community to see this answer & millions of others.
Unlock 2 Answers and 4 Comments.
Join the Community
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 2 Answers and 4 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros