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  | 
                             
                            
                                    | 
                                         nkpriya 
                                        Starting Member 
                                         
                                        
                                        34 Posts  | 
                                        
                                        
                                            
                                            
                                             Posted - 2014-02-11 : 06:48:22
                                            
  | 
                                             
                                            
                                            | I have table with columns:Week Ending, Manager Name, Category, ActualHrs.Category has 'Admin' and 'prod Support'.Need query to display result like:Week Ending,Manager Name, 'Admin','Prod Support',TotalHrs.Any ideas?Thanks | 
                                             
                                         
                                     | 
                             
       
                            
                       
                          
                            
                                    | 
                                     khtan 
                                    In (Som, Ni, Yak) 
                                     
                                    
                                    17689 Posts  | 
                                    
                                      
                                        
                                          
                                           
                                            Posted - 2014-02-11 : 20:34:53
                                          
  | 
                                         
                                        
                                          see http://technet.microsoft.com/en-us/library/ms177410%28v=sql.105%29.aspx KH[spoiler]Time is always against us[/spoiler]  | 
                                         
                                        
                                            | 
                                         
                                       
                                     | 
                                   
                            
                            
                                | 
                                    
                                      
                                     
                                    
                                 | 
                             
                         
                     | 
                 
             
         |