Please start any new threads on our new 
    site at https://forums.sqlteam.com.  We've got lots of great SQL Server
    experts to answer whatever question you can come up with.
    
        
            
                
                    
                        
                            
                                | Author | 
                                
                                 Topic  | 
                             
                            
                                    | 
                                         zionman4 
                                        Starting Member 
                                         
                                        
                                        1 Post  | 
                                        
                                        
                                            
                                            
                                             Posted - 2011-10-03 : 04:10:04
                                            
  | 
                                             
                                            
                                            | Hi I have a query that gives me the following data:select r.request, r.city, s.service, s.complaintfrom request r inner join service s on r.requestid = s.requestidinner join complaint c on r.requestid = c.requestidrequest		city		service		complaint123	-	Arcadia	-	abc	-	def123	-	New Hall	-	abc	-	xyz123	-	Sacramento	-	mno	-	xyz123	-	San Diego	-	mno	-	xyz			and would like the following results:request		city		service		complaint123	-	Arcadia	-	abc	-	def123	-	New Hall	-		-	xyz123	-	Sacramento	-	mno	-	123	-	San Diego	-	mno	-		 | 
                                             
                                         
                                     | 
                             
       
                            
                       
                          
                            
                                    | 
                                     visakh16 
                                    Very Important crosS Applying yaK Herder 
                                     
                                    
                                    52326 Posts  | 
                                    
                                      
                                        
                                          
                                           
                                            Posted - 2011-10-03 : 04:49:01
                                          
  | 
                                         
                                        
                                          | isnt this a presentation issue. i feel like this is a reporting requirement which can be easily dealt with in all reporting tools. Its called suppress duplicates property in SQL reporting services for example.------------------------------------------------------------------------------------------------------SQL Server MVPhttp://visakhm.blogspot.com/  | 
                                         
                                        
                                            | 
                                         
                                       
                                     | 
                                   
                            
                            
                                | 
                                    
                                      
                                     
                                    
                                 | 
                             
                         
                     | 
                 
             
         |