troubleshooting Question

MERGE ROWS IN SQL TO SHOW SUMMARIZED VIEW - STICHED QUERY ??

Avatar of salesprod
salesprod asked on
Microsoft SQL Server
4 Comments1 Solution2074 ViewsLast Modified:
Hello,

I would like to merge the following representative data:

ID      Col2      Col3
1      A      
1      A      A
1            A
1            C
1      B      F
1      B      
2      T      
2      T      T
2      T      V
2            
2            

So it appears as follows:
ID      Col2      Col3
1      A      A
1      B      F
1            C
2      T      T
2      T      V

the values don't need to line up as there is no relationship between Col2 and Col3.  Just need to show a compressed / merged view of the possibilities of Col2 and Col3 for every ID.

Thanks a mil!
Join the community to see this answer!
Join our exclusive community to see this answer & millions of others.
Unlock 1 Answer 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 1 Answer 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