AccountId comparison

1

Please login or register to vote for this query.

(click on this box to dismiss)

Generated query from http://data.stackexchange.com/stackoverflow/query/69700/generate-accountid-comparison?opt.textResults=true adjusting the first join and skipping the next 3 and last databases.

Stack Overflow

Q&A for professional and enthusiast programmers

Select 'Data.StackExchange' As [DatabaseName], Count(*) As [Count] From [Data.StackExchange]..Users fu Join Users u ON fu.Id=u.AccountId  UNION ALL                                        
Select 'ServerFault' As [DatabaseName], Count(*) As [Count] From [ServerFault]..Users fu Join Users u ON fu.AccountId=u.AccountId  UNION ALL                                                      
Select 'ServerFault.Meta' As [DatabaseName], Count(*) As [Count] From [ServerFault.Meta]..Users fu Join Users u ON fu.AccountId=u.AccountId  UNION ALL                                            
Select 'StackApps' As [DatabaseName], Count(*) As [Count] From [StackApps]..Users fu Join Users u ON fu.AccountId=u.AccountId  UNION ALL                                                          
Select 'StackExchange.Academia' As [DatabaseName], Count(*) As [Count] From [StackExchange.Academia]..Users fu Join Users u ON fu.AccountId=u.AccountId  UNION ALL                                
Select 'StackExchange.Academia.Meta' As [DatabaseName], Count(*) As [Count] From [StackExchange.Academia.Meta]..Users fu Join Users u ON fu.AccountId=u.AccountId  UNION ALL                      
Select 'StackExchange.Android' As [DatabaseName], Count(*) As [Count] From [StackExchange.Android]..Users fu Join Users u ON fu.AccountId=u.AccountId  UNION ALL                                  
Select 'StackExchange.Android.Meta' As [DatabaseName], Count(*) As [Count] From [StackExchange.Android.Meta]..Users fu Join Users u ON fu.AccountId=u.AccountId  UNION ALL                        
Select 'StackExchange.Anime' As [DatabaseName], Count(*) As [Count] From [StackExchange.Anime]..Users fu Join Users u ON fu.AccountId=u.AccountId  UNION ALL                                      
Select 'StackExchange.Anime.Meta' As [DatabaseName], Count(*) As [Count] From [StackExchange.Anime.Meta]..Users fu Join Users u ON fu.AccountId=u.AccountId  UNION ALL                            
Select 'StackExchange.Apple' As [DatabaseName], Count(*) As [Count] From [StackExchange.Apple]..Users fu Join Users u ON fu.AccountId=u.AccountId  UNION ALL                                      
Select 'StackExchange.Apple.Meta' As [DatabaseName], Count(*) As [Count] From [StackExchange.Apple.Meta]..Users fu Join Users u ON fu.AccountId=u.AccountId  UNION ALL                            
Select 'StackExchange.Arabic' As [DatabaseName], Count(*) As [Count] From [StackExchange.Arabic]..Users fu Join Users u ON fu.AccountId=u.AccountId  UNION ALL                                    
Select 'StackExchange.Arabic.Meta' As [DatabaseName], Count(*) As [Count] From [StackExchange.Arabic.Meta]..Users fu Join Users u ON fu.AccountId=u.AccountId  UNION ALL                          
Select 'StackExchange.Arduino' As [DatabaseName], Count(*) As [Count] From [StackExchange.Arduino]..Users fu Join Users u ON fu.AccountId=u.AccountId  UNION ALL                                  
Select 'StackExchange.Arduino.Meta' As [DatabaseName], Count(*) As [Count] From [StackExchange.Arduino.Meta]..Users fu Join Users u ON fu.AccountId=u.AccountId  UNION ALL                        
Select 'StackExchange.Astronomy' As [DatabaseName], Count(*) As [Count] From [StackExchange.Astronomy]..Users fu Join Users u ON fu.AccountId=u.AccountId  UNION ALL                              
Select 'StackExchange.Astronomy.Meta' As [DatabaseName], Count(*) As [Count] From [StackExchange.Astronomy.Meta]..Users fu Join Users u ON fu.AccountId=u.AccountId  UNION ALL                    
Select 'StackExchange.Audio' As [DatabaseName], Count(*) As [Count] From [StackExchange.Audio]..Users fu Join Users u ON fu.AccountId=u.AccountId  UNION ALL                                      
Select 'StackExchange.Audio.Meta' As [DatabaseName], Count(*) As [Count] From [StackExchange.Audio.Meta]..Users fu Join Users u ON fu.AccountId=u.AccountId  UNION ALL                            
Select 'StackExchange.Aviation' As [DatabaseName], Count(*) As [Count] From [StackExchange.Aviation]..Users fu Join Users u ON fu.AccountId=u.AccountId  UNION ALL                                
Select 'StackExchange.Aviation.Meta' As [DatabaseName], Count(*) As [Count] From [StackExchange.Aviation.Meta]..Users fu Join Users u ON fu.AccountId=u.AccountId  UNION ALL                      
Select 'StackExchange.Beer' As [DatabaseName], Count(*) As [Count] From [StackExchange.Beer]..Users fu Join Users u ON fu.AccountId=u.AccountId  UNION ALL                                        
Select 'StackExchange.Beer.Meta' As [DatabaseName], Count(*) As [Count] From [StackExchange.Beer.Meta]..Users fu Join Users u ON fu.AccountId=u.AccountId  UNION ALL                              
Select 'StackExchange.Bicycles' As [DatabaseName], Count(*) As [Count] From [StackExchange.Bicycles]..Users fu Join Users u ON fu.AccountId=u.AccountId  UNION ALL                                
Select 'StackExchange.Bicycles.Meta' As [DatabaseName], Count(*) As [Count] From [StackExchange.Bicycles.Meta]..Users fu Join Users u ON fu.AccountId=u.AccountId  UNION ALL                      
Select 'StackExchange.Biology' As [DatabaseName], Count(*) As [Count] From [StackExchange.Biology]..Users fu Join Users u ON fu.AccountId=u.AccountId  UNION ALL                                  
Select 'StackExchange.Biology.Meta' As [DatabaseName], Count(*) As [Count] From [StackExchange.Biology.Meta]..Users fu Join Users u ON fu.AccountId=u.AccountId  UNION ALL                        
Select 'StackExchange.Bitcoin' As [DatabaseName], Count(*) As [Count] From [StackExchange.Bitcoin]..Users fu Join Users u ON fu.AccountId=u.AccountId  UNION ALL                                  
Select 'StackExchange.Bitcoin.Meta' As [DatabaseName], Count(*) As [Count] From [StackExchange.Bitcoin.Meta]..Users fu Join Users u ON fu.AccountId=u.AccountId  UNION ALL                        
Select 'StackExchange.Blender' As [DatabaseName], Count(*) As [Count] From [StackExchange.Blender]..Users fu Join Users u ON fu.AccountId=u.AccountId  UNION ALL                                  
Select 'StackExchange.Blender.Meta' As [DatabaseName], Count(*) As [Count] From [StackExchange.Blender.Meta]..Users fu Join Users u ON fu.AccountId=u.AccountId  UNION ALL                        
Select 'StackExchange.Boardgames' As [DatabaseName], Count(*) As [Count] From [StackExchange.Boardgames]..Users fu Join Users u ON fu.AccountId=u.AccountId  UNION ALL                            
Select 'StackExchange.Boardgames.Meta' As [DatabaseName], Count(*) As [Count] From [StackExchange.Boardgames.Meta]..Users fu Join Users u ON fu.AccountId=u.AccountId  UNION ALL                  
Select 'StackExchange.Bricks' As [DatabaseName], Count(*) As [Count] From [StackExchange.Bricks]..Users fu Join Users u ON fu.AccountId=u.AccountId  UNION ALL                                    
Select 'StackExchange.Bricks.Meta' As [DatabaseName], Count(*) As [Count] From [StackExchange.Bricks.Meta]..Users fu Join Users u ON fu.AccountId=u.AccountId  UNION ALL                          
Select 'StackExchange.Buddhism' As [DatabaseName], Count(*) As [Count] From [StackExchange.Buddhism]..Users fu Join Users u ON fu.AccountId=u.AccountId  UNION ALL                                
Select 'StackExchange.Buddhism.Meta' As [DatabaseName], Count(*) As [Count] From [StackExchange.Buddhism.Meta]..Users fu Join Users u ON fu.AccountId=u.AccountId  UNION ALL                      
Select 'StackExchange.Chemistry' As [DatabaseName], Count(*) As [Count] From [StackExchange.Chemistry]..Users fu Join Users u ON fu.AccountId=u.AccountId  UNION ALL                              
Select 'StackExchange.Chemistry.Meta' As [DatabaseName], Count(*) As [Count] From [StackExchange.Chemistry.Meta]..Users fu Join Users u ON fu.AccountId=u.AccountId  UNION ALL                    
Select 'StackExchange.Chess' As [DatabaseName], Count(*) As [Count] From [StackExchange.Chess]..Users fu Join Users u ON fu.AccountId=u.AccountId  UNION ALL                                      
Select 'StackExchange.Chess.Meta' As [DatabaseName], Count(*) As [Count] From [StackExchange.Chess.Meta]..Users fu Join Users u ON fu.AccountId=u.AccountId  UNION ALL                            
Select 'StackExchange.Chinese' As [DatabaseName], Count(*) As [Count] From [StackExchange.Chinese]..Users fu Join Users u ON fu.AccountId=u.AccountId  UNION ALL                                  
Select 'StackExchange.Chinese.Meta' As [DatabaseName], Count(*) As [Count] From [StackExchange.Chinese.Meta]..Users fu Join Users u ON fu.AccountId=u.AccountId  UNION ALL                        
Select 'StackExchange.Christianity' As [DatabaseName], Count(*) As [Count] From [StackExchange.Christianity]..Users fu Join Users u ON fu.AccountId=u.AccountId  UNION ALL                        
Select 'StackExchange.Christianity.Meta' As [DatabaseName], Count(*) As [Count] From [StackExchange.Christianity.Meta]..Users fu Join Users u ON fu.AccountId=u.AccountId  UNION ALL              
Select 'StackExchange.Civicrm' As [DatabaseName], Count(*) As [Count] From [StackExchange.Civicrm]..Users fu Join Users u ON fu.AccountId=u.AccountId  UNION ALL                                  
Select 'StackExchange.Civicrm.Meta' As [DatabaseName], Count(*) As [Count] From [StackExchange.Civicrm.Meta]..Users fu Join Users u ON fu.AccountId=u.AccountId  UNION ALL                        
Select 'StackExchange.Codegolf' As [DatabaseName], Count(*) As [Count] From [StackExchange.Codegolf]..Users fu Join Users u ON fu.AccountId=u.AccountId  UNION ALL                                
Select 'StackExchange.Codegolf.Meta' As [DatabaseName], Count(*) As [Count] From [StackExchange.Codegolf.Meta]..Users fu Join Users u ON fu.AccountId=u.AccountId  UNION ALL                      
Select 'StackExchange.Codereview' As [DatabaseName], Count(*) As [Count] From [StackExchange.Codereview]..Users fu Join Users u ON fu.AccountId=u.AccountId  UNION ALL                            
Select 'StackExchange.Codereview.Meta' As [DatabaseName], Count(*) As [Count] From [StackExchange.Codereview.Meta]..Users fu Join Users u ON fu.AccountId=u.AccountId  UNION ALL                  
Select 'StackExchange.Coffee' As [DatabaseName], Count(*) As [Count] From [StackExchange.Coffee]..Users fu Join Users u ON fu.AccountId=u.AccountId  UNION ALL                                    
Select 'StackExchange.Coffee.Meta' As [DatabaseName], Count(*) As [Count] From [StackExchange.Coffee.Meta]..Users fu Join Users u ON fu.AccountId=u.AccountId  UNION ALL                          
Select 'StackExchange.Cogsci' As [DatabaseName], Count(*) As [Count] From [StackExchange.Cogsci]..Users fu Join Users u ON fu.AccountId=u.AccountId  UNION ALL                                    
Select 'StackExchange.Cogsci.Meta' As [DatabaseName], Count(*) As [Count] From [StackExchange.Cogsci.Meta]..Users fu Join Users u ON fu.AccountId=u.AccountId  UNION ALL                          
Select 'StackExchange.Cooking' As [DatabaseName], Count(*) As [Count] From [StackExchange.Cooking]..Users fu Join Users u ON fu.AccountId=u.AccountId  UNION ALL                                  
Select 'StackExchange.Cooking.Meta' As [DatabaseName], Count(*) As [Count] From [StackExchange.Cooking.Meta]..Users fu Join Users u ON fu.AccountId=u.AccountId  UNION ALL                        
Select 'StackExchange.Craftcms' As [DatabaseName], Count(*) As [Count] From [StackExchange.Craftcms]..Users fu Join Users u ON fu.AccountId=u.AccountId  UNION ALL                                
Select 'StackExchange.Craftcms.Meta' As [DatabaseName], Count(*) As [Count] From [StackExchange.Craftcms.Meta]..Users fu Join Users u ON fu.AccountId=u.AccountId  UNION ALL                      
Select 'StackExchange.Crypto' As [DatabaseName], Count(*) As [Count] From [StackExchange.Crypto]..Users fu Join Users u ON fu.AccountId=u.AccountId  UNION ALL                                    
Select 'StackExchange.Crypto.Meta' As [DatabaseName], Count(*) As [Count] From [StackExchange.Crypto.Meta]..Users fu Join Users u ON fu.AccountId=u.AccountId  UNION ALL                          
Select 'StackExchange.Cs' As [DatabaseName], Count(*) As [Count] From [StackExchange.Cs]..Users fu Join Users u ON fu.AccountId=u.AccountId  UNION ALL                                            
Select 'StackExchange.Cs.Meta' As [DatabaseName], Count(*) As [Count] From [StackExchange.Cs.Meta]..Users fu Join Users u ON fu.AccountId=u.AccountId  UNION ALL                                  
Select 'StackExchange.Cstheory' As [DatabaseName], Count(*) As [Count] From [StackExchange.Cstheory]..Users fu Join Users u ON fu.AccountId=u.AccountId  UNION ALL                                
Select 'StackExchange.Cstheory.Meta' As [DatabaseName], Count(*) As [Count] From [StackExchange.Cstheory.Meta]..Users fu Join Users u ON fu.AccountId=u.AccountId  UNION ALL                      
Select 'StackExchange.Datascience' As [DatabaseName], Count(*) As [Count] From [StackExchange.Datascience]..Users fu Join Users u ON fu.AccountId=u.AccountId  UNION ALL                          
Select 'StackExchange.Datascience.Meta' As [DatabaseName], Count(*) As [Count] From [StackExchange.Datascience.Meta]..Users fu Join Users u ON fu.AccountId=u.AccountId  UNION ALL                
Select 'StackExchange.Dba' As [DatabaseName], Count(*) As [Count] From [StackExchange.Dba]..Users fu Join Users u ON fu.AccountId=u.AccountId  UNION ALL                                          
Select 'StackExchange.Dba.Meta' As [DatabaseName], Count(*) As [Count] From [StackExchange.Dba.Meta]..Users fu Join Users u ON fu.AccountId=u.AccountId  UNION ALL                                
Select 'StackExchange.Diy' As [DatabaseName], Count(*) As [Count] From [StackExchange.Diy]..Users fu Join Users u ON fu.AccountId=u.AccountId  UNION ALL                                          
Select 'StackExchange.Diy.Meta' As [DatabaseName], Count(*) As [Count] From [StackExchange.Diy.Meta]..Users fu Join Users u ON fu.AccountId=u.AccountId  UNION ALL                                
Select 'StackExchange.Drupal' As [DatabaseName], Count(*) As [Count] From [StackExchange.Drupal]..Users fu Join Users u ON fu.AccountId=u.AccountId  UNION ALL                                    
Select 'StackExchange.Drupal.Meta' As [DatabaseName], Count(*) As [Count] From [StackExchange.Drupal.Meta]..Users fu Join Users u ON fu.AccountId=u.AccountId  UNION ALL                          
Select 'StackExchange.Dsp' As [DatabaseName], Count(*) As [Count] From [StackExchange.Dsp]..Users fu Join Users u ON fu.AccountId=u.AccountId  UNION ALL                                          
Select 'StackExchange.Dsp.Meta' As [DatabaseName], Count(*) As [Count] From [StackExchange.Dsp.Meta]..Users fu Join Users u ON fu.AccountId=u.AccountId  UNION ALL                                
Select 'StackExchange.Earthscience' As [DatabaseName], Count(*) As [Count] From [StackExchange.Earthscience]..Users fu Join Users u ON fu.AccountId=u.AccountId  UNION ALL                        
Select 'StackExchange.Earthscience.Meta' As [DatabaseName], Count(*) As [Count] From [StackExchange.Earthscience.Meta]..Users fu Join Users u ON fu.AccountId=u.AccountId  UNION ALL              
Select 'StackExchange.Ebooks' As [DatabaseName], Count(*) As [Count] From [StackExchange.Ebooks]..Users fu Join Users u ON fu.AccountId=u.AccountId  UNION ALL                                    
Select 'StackExchange.Ebooks.Meta' As [DatabaseName], Count(*) As [Count] From [StackExchange.Ebooks.Meta]..Users fu Join Users u ON fu.AccountId=u.AccountId  UNION ALL                          
Select 'StackExchange.Economics' As [DatabaseName], Count(*) As [Count] From [StackExchange.Economics]..Users fu Join Users u ON fu.AccountId=u.AccountId  UNION ALL                              
Select 'StackExchange.Economics.Meta' As [DatabaseName], Count(*) As [Count] From [StackExchange.Economics.Meta]..Users fu Join Users u ON fu.AccountId=u.AccountId  UNION ALL                    
Select 'StackExchange.Electronics' As [DatabaseName], Count(*) As [Count] From [StackExchange.Electronics]..Users fu Join Users u ON fu.AccountId=u.AccountId  UNION ALL                          
Select 'StackExchange.Electronics.Meta' As [DatabaseName], Count(*) As [Count] From [StackExchange.Electronics.Meta]..Users fu Join Users u ON fu.AccountId=u.AccountId  UNION ALL                
Select 'StackExchange.Elementaryos' As [DatabaseName], Count(*) As [Count] From [StackExchange.Elementaryos]..Users fu Join Users u ON fu.AccountId=u.AccountId  UNION ALL                        
Select 'StackExchange.Elementaryos.Meta' As [DatabaseName], Count(*) As [Count] From [StackExchange.Elementaryos.Meta]..Users fu Join Users u ON fu.AccountId=u.AccountId  UNION ALL              
Select 'StackExchange.Ell' As [DatabaseName], Count(*) As [Count] From [StackExchange.Ell]..Users fu Join Users u ON fu.AccountId=u.AccountId  UNION ALL                                          
Select 'StackExchange.Ell.Meta' As [DatabaseName], Count(*) As [Count] From [StackExchange.Ell.Meta]..Users fu Join Users u ON fu.AccountId=u.AccountId  UNION ALL                                
Select 'StackExchange.Emacs' As [DatabaseName], Count(*) As [Count] From [StackExchange.Emacs]..Users fu Join Users u ON fu.AccountId=u.AccountId  UNION ALL                                      
Select 'StackExchange.Emacs.Meta' As [DatabaseName], Count(*) As [Count] From [StackExchange.Emacs.Meta]..Users fu Join Users u ON fu.AccountId=u.AccountId  UNION ALL                            
Select 'StackExchange.Engineering' As [DatabaseName], Count(*) As [Count] From [StackExchange.Engineering]..Users fu Join Users u ON fu.AccountId=u.AccountId  UNION ALL                          
Select 'StackExchange.Engineering.Meta' As [DatabaseName], Count(*) As [Count] From [StackExchange.Engineering.Meta]..Users fu Join Users u ON fu.AccountId=u.AccountId  UNION ALL                
Select 'StackExchange.English' As [DatabaseName], Count(*) As [Count] From [StackExchange.English]..Users fu Join Users u ON fu.AccountId=u.AccountId  UNION ALL                                  
Select 'StackExchange.English.Meta' As [DatabaseName], Count(*) As [Count] From [StackExchange.English.Meta]..Users fu Join Users u ON fu.AccountId=u.AccountId  UNION ALL                        
Select 'StackExchange.Expatriates' As [DatabaseName], Count(*) As [Count] From [StackExchange.Expatriates]..Users fu Join Users u ON fu.AccountId=u.AccountId  UNION ALL                          
Select 'StackExchange.Expatriates.Meta' As [DatabaseName], Count(*) As [Count] From [StackExchange.Expatriates.Meta]..Users fu Join Users u ON fu.AccountId=u.AccountId  UNION ALL                
Select 'StackExchange.Expressionengine' As [DatabaseName], Count(*) As [Count] From [StackExchange.Expressionengine]..Users fu Join Users u ON fu.AccountId=u.AccountId  UNION ALL                
Select 'StackExchange.Expressionengine.Meta' As [DatabaseName], Count(*) As [Count] From [StackExchange.Expressionengine.Meta]..Users fu Join Users u ON fu.AccountId=u.AccountId  UNION ALL      
Select 'StackExchange.Fitness' As [DatabaseName], Count(*) As [Count] From [StackExchange.Fitness]..Users fu Join Users u ON fu.AccountId=u.AccountId  UNION ALL                                  
Select 'StackExchange.Fitness.Meta' As [DatabaseName], Count(*) As [Count] From [StackExchange.Fitness.Meta]..Users fu Join Users u ON fu.AccountId=u.AccountId  UNION ALL                        
Select 'StackExchange.Freelancing' As [DatabaseName], Count(*) As [Count] From [StackExchange.Freelancing]..Users fu Join Users u ON fu.AccountId=u.AccountId  UNION ALL                          
Select 'StackExchange.Freelancing.Meta' As [DatabaseName], Count(*) As [Count] From [StackExchange.Freelancing.Meta]..Users fu Join Users u ON fu.AccountId=u.AccountId  UNION ALL                
Select 'StackExchange.French' As [DatabaseName], Count(*) As [Count] From [StackExchange.French]..Users fu Join Users u ON fu.AccountId=u.AccountId  UNION ALL                                    
Select 'StackExchange.French.Meta' As [DatabaseName], Count(*) As [Count] From [StackExchange.French.Meta]..Users fu Join Users u ON fu.AccountId=u.AccountId  UNION ALL                          
Select 'StackExchange.GameDev' As [DatabaseName], Count(*) As [Count] From [StackExchange.GameDev]..Users fu Join Users u ON fu.AccountId=u.AccountId  UNION ALL                                  
Select 'StackExchange.GameDev.Meta' As [DatabaseName], Count(*) As [Count] From [StackExchange.GameDev.Meta]..Users fu Join Users u ON fu.AccountId=u.AccountId  UNION ALL                        
Select 'StackExchange.Gaming' As [DatabaseName], Count(*) As [Count] From [StackExchange.Gaming]..Users fu Join Users u ON fu.AccountId=u.AccountId  UNION ALL                                    
Select 'StackExchange.Gaming.Meta' As [DatabaseName], Count(*) As [Count] From [StackExchange.Gaming.Meta]..Users fu Join Users u ON fu.AccountId=u.AccountId  UNION ALL                          
Select 'StackExchange.Garage' As [DatabaseName], Count(*) As [Count] From [StackExchange.Garage]..Users fu Join Users u ON fu.AccountId=u.AccountId  UNION ALL                                    
Select 'StackExchange.Garage.Meta' As [DatabaseName], Count(*) As [Count] From [StackExchange.Garage.Meta]..Users fu Join Users u ON fu.AccountId=u.AccountId  UNION ALL                          
Select 'StackExchange.Gardening' As [DatabaseName], Count(*) As [Count] From [StackExchange.Gardening]..Users fu Join Users u ON fu.AccountId=u.AccountId  UNION ALL                              
Select 'StackExchange.Gardening.Meta' As [DatabaseName], Count(*) As [Count] From [StackExchange.Gardening.Meta]..Users fu Join Users u ON fu.AccountId=u.AccountId  UNION ALL                    
Select 'StackExchange.Genealogy' As [DatabaseName], Count(*) As [Count] From [StackExchange.Genealogy]..Users fu Join Users u ON fu.AccountId=u.AccountId  UNION ALL                              
Select 'StackExchange.Genealogy.Meta' As [DatabaseName], Count(*) As [Count] From [StackExchange.Genealogy.Meta]..Users fu Join Users u ON fu.AccountId=u.AccountId  UNION ALL                    
Select 'StackExchange.German' As [DatabaseName], Count(*) As [Count] From [StackExchange.German]..Users fu Join Users u ON fu.AccountId=u.AccountId  UNION ALL                                    
Select 'StackExchange.German.Meta' As [DatabaseName], Count(*) As [Count] From [StackExchange.German.Meta]..Users fu Join Users u ON fu.AccountId=u.AccountId  UNION ALL                          
Select 'StackExchange.Gis' As [DatabaseName], Count(*) As [Count] From [StackExchange.Gis]..Users fu Join Users u ON fu.AccountId=u.AccountId  UNION ALL                                          
Select 'StackExchange.Gis.Meta' As [DatabaseName], Count(*) As [Count] From [StackExchange.Gis.Meta]..Users fu Join Users u ON fu.AccountId=u.AccountId  UNION ALL                                
Select 'StackExchange.Graphicdesign' As [DatabaseName], Count(*) As [Count] From [StackExchange.Graphicdesign]..Users fu Join Users u ON fu.AccountId=u.AccountId  UNION ALL                      
Select 'StackExchange.Graphicdesign.Meta' As [DatabaseName], Count(*) As [Count] From [StackExchange.Graphicdesign.Meta]..Users fu Join Users u ON fu.AccountId=u.AccountId  UNION ALL            
Select 'StackExchange.Ham' As [DatabaseName], Count(*) As [Count] From [StackExchange.Ham]..Users fu Join Users u ON fu.AccountId=u.AccountId  UNION ALL                                          
Select 'StackExchange.Ham.Meta' As [DatabaseName], Count(*) As [Count] From [StackExchange.Ham.Meta]..Users fu Join Users u ON fu.AccountId=u.AccountId  UNION ALL                                
Select 'StackExchange.Health' As [DatabaseName], Count(*) As [Count] From [StackExchange.Health]..Users fu Join Users u ON fu.AccountId=u.AccountId  UNION ALL                                    
Select 'StackExchange.Health.Meta' As [DatabaseName], Count(*) As [Count] From [StackExchange.Health.Meta]..Users fu Join Users u ON fu.AccountId=u.AccountId  UNION ALL                          
Select 'StackExchange.Hermeneutics' As [DatabaseName], Count(*) As [Count] From [StackExchange.Hermeneutics]..Users fu Join Users u ON fu.AccountId=u.AccountId  UNION ALL                        
Select 'StackExchange.Hermeneutics.Meta' As [DatabaseName], Count(*) As [Count] From [StackExchange.Hermeneutics.Meta]..Users fu Join Users u ON fu.AccountId=u.AccountId  UNION ALL              
Select 'StackExchange.Hinduism' As [DatabaseName], Count(*) As [Count] From [StackExchange.Hinduism]..Users fu Join Users u ON fu.AccountId=u.AccountId  UNION ALL                                
Select 'StackExchange.Hinduism.Meta' As [DatabaseName], Count(*) As [Count] From [StackExchange.Hinduism.Meta]..Users fu Join Users u ON fu.AccountId=u.AccountId  UNION ALL                      
Select 'StackExchange.History' As [DatabaseName], Count(*) As [Count] From [StackExchange.History]..Users fu Join Users u ON fu.AccountId=u.AccountId  UNION ALL                                  
Select 'StackExchange.History.Meta' As [DatabaseName], Count(*) As [Count] From [StackExchange.History.Meta]..Users fu Join Users u ON fu.AccountId=u.AccountId  UNION ALL                        
Select 'StackExchange.Homebrew' As [DatabaseName], Count(*) As [Count] From [StackExchange.Homebrew]..Users fu Join Users u ON fu.AccountId=u.AccountId  UNION ALL                                
Select 'StackExchange.Homebrew.Meta' As [DatabaseName], Count(*) As [Count] From [StackExchange.Homebrew.Meta]..Users fu Join Users u ON fu.AccountId=u.AccountId  UNION ALL                      
Select 'StackExchange.Hsm' As [DatabaseName], Count(*) As [Count] From [StackExchange.Hsm]..Users fu Join Users u ON fu.AccountId=u.AccountId  UNION ALL                                          
Select 'StackExchange.Hsm.Meta' As [DatabaseName], Count(*) As [Count] From [StackExchange.Hsm.Meta]..Users fu Join Users u ON fu.AccountId=u.AccountId  UNION ALL                                
Select 'StackExchange.Islam' As [DatabaseName], Count(*) As [Count] From [StackExchange.Islam]..Users fu Join Users u ON fu.AccountId=u.AccountId  UNION ALL                                      
Select 'StackExchange.Islam.Meta' As [DatabaseName], Count(*) As [Count] From [StackExchange.Islam.Meta]..Users fu Join Users u ON fu.AccountId=u.AccountId  UNION ALL                            
Select 'StackExchange.Italian' As [DatabaseName], Count(*) As [Count] From [StackExchange.Italian]..Users fu Join Users u ON fu.AccountId=u.AccountId  UNION ALL                                  
Select 'StackExchange.Italian.Meta' As [DatabaseName], Count(*) As [Count] From [StackExchange.Italian.Meta]..Users fu Join Users u ON fu.AccountId=u.AccountId  UNION ALL                        
Select 'StackExchange.Japanese' As [DatabaseName], Count(*) As [Count] From [StackExchange.Japanese]..Users fu Join Users u ON fu.AccountId=u.AccountId  UNION ALL                                
Select 'StackExchange.Japanese.Meta' As [DatabaseName], Count(*) As [Count] From [StackExchange.Japanese.Meta]..Users fu Join Users u ON fu.AccountId=u.AccountId  UNION ALL                      
Select 'StackExchange.Joomla' As [DatabaseName], Count(*) As [Count] From [StackExchange.Joomla]..Users fu Join Users u ON fu.AccountId=u.AccountId  UNION ALL                                    
Select 'StackExchange.Joomla.Meta' As [DatabaseName], Count(*) As [Count] From [StackExchange.Joomla.Meta]..Users fu Join Users u ON fu.AccountId=u.AccountId  UNION ALL                          
Select 'StackExchange.Judaism' As [DatabaseName], Count(*) As [Count] From [StackExchange.Judaism]..Users fu Join Users u ON fu.AccountId=u.AccountId  UNION ALL                                  
Select 'StackExchange.Judaism.Meta' As [DatabaseName], Count(*) As [Count] From [StackExchange.Judaism.Meta]..Users fu Join Users u ON fu.AccountId=u.AccountId  UNION ALL                        
Select 'StackExchange.Law' As [DatabaseName], Count(*) As [Count] From [StackExchange.Law]..Users fu Join Users u ON fu.AccountId=u.AccountId  UNION ALL                                          
Select 'StackExchange.Law.Meta' As [DatabaseName], Count(*) As [Count] From [StackExchange.Law.Meta]..Users fu Join Users u ON fu.AccountId=u.AccountId  UNION ALL                                
Select 'StackExchange.Lifehacks' As [DatabaseName], Count(*) As [Count] From [StackExchange.Lifehacks]..Users fu Join Users u ON fu.AccountId=u.AccountId  UNION ALL                              
Select 'StackExchange.Lifehacks.Meta' As [DatabaseName], Count(*) As [Count] From [StackExchange.Lifehacks.Meta]..Users fu Join Users u ON fu.AccountId=u.AccountId  UNION ALL                    
Select 'StackExchange.Linguistics' As [DatabaseName], Count(*) As [Count] From [StackExchange.Linguistics]..Users fu Join Users u ON fu.AccountId=u.AccountId  UNION ALL                          
Select 'StackExchange.Linguistics.Meta' As [DatabaseName], Count(*) As [Count] From [StackExchange.Linguistics.Meta]..Users fu Join Users u ON fu.AccountId=u.AccountId  UNION ALL                
Select 'StackExchange.Magento' As [DatabaseName], Count(*) As [Count] From [StackExchange.Magento]..Users fu Join Users u ON fu.AccountId=u.AccountId  UNION ALL                                  
Select 'StackExchange.Magento.Meta' As [DatabaseName], Count(*) As [Count] From [StackExchange.Magento.Meta]..Users fu Join Users u ON fu.AccountId=u.AccountId  UNION ALL                        
Select 'StackExchange.Martialarts' As [DatabaseName], Count(*) As [Count] From [StackExchange.Martialarts]..Users fu Join Users u ON fu.AccountId=u.AccountId  UNION ALL                          
Select 'StackExchange.Martialarts.Meta' As [DatabaseName], Count(*) As [Count] From [StackExchange.Martialarts.Meta]..Users fu Join Users u ON fu.AccountId=u.AccountId  UNION ALL                
Select 'StackExchange.Math' As [DatabaseName], Count(*) As [Count] From [StackExchange.Math]..Users fu Join Users u ON fu.AccountId=u.AccountId  UNION ALL                                        
Select 'StackExchange.Math.Meta' As [DatabaseName], Count(*) As [Count] From [StackExchange.Math.Meta]..Users fu Join Users u ON fu.AccountId=u.AccountId  UNION ALL                              
Select 'StackExchange.Matheducators' As [DatabaseName], Count(*) As [Count] From [StackExchange.Matheducators]..Users fu Join Users u ON fu.AccountId=u.AccountId  UNION ALL                      
Select 'StackExchange.Matheducators.Meta' As [DatabaseName], Count(*) As [Count] From [StackExchange.Matheducators.Meta]..Users fu Join Users u ON fu.AccountId=u.AccountId  UNION ALL            
Select 'StackExchange.Mathematica' As [DatabaseName], Count(*) As [Count] From [StackExchange.Mathematica]..Users fu Join Users u ON fu.AccountId=u.AccountId  UNION ALL                          
Select 'StackExchange.Mathematica.Meta' As [DatabaseName], Count(*) As [Count] From [StackExchange.Mathematica.Meta]..Users fu Join Users u ON fu.AccountId=u.AccountId  UNION ALL                
Select 'StackExchange.Mathoverflow' As [DatabaseName], Count(*) As [Count] From [StackExchange.Mathoverflow]..Users fu Join Users u ON fu.AccountId=u.AccountId  UNION ALL                        
Select 'StackExchange.Mathoverflow.Meta' As [DatabaseName], Count(*) As [Count] From [StackExchange.Mathoverflow.Meta]..Users fu Join Users u ON fu.AccountId=u.AccountId  UNION ALL              
Select 'StackExchange.Meta' As [DatabaseName], Count(*) As [Count] From [StackExchange.Meta]..Users fu Join Users u ON fu.AccountId=u.AccountId  UNION ALL                                        
Select 'StackExchange.Moderators' As [DatabaseName], Count(*) As [Count] From [StackExchange.Moderators]..Users fu Join Users u ON fu.AccountId=u.AccountId  UNION ALL                            
Select 'StackExchange.Moderators.Meta' As [DatabaseName], Count(*) As [Count] From [StackExchange.Moderators.Meta]..Users fu Join Users u ON fu.AccountId=u.AccountId  UNION ALL                  
Select 'StackExchange.Money' As [DatabaseName], Count(*) As [Count] From [StackExchange.Money]..Users fu Join Users u ON fu.AccountId=u.AccountId  UNION ALL                                      
Select 'StackExchange.Money.Meta' As [DatabaseName], Count(*) As [Count] From [StackExchange.Money.Meta]..Users fu Join Users u ON fu.AccountId=u.AccountId  UNION ALL                            
Select 'StackExchange.Movies' As [DatabaseName], Count(*) As [Count] From [StackExchange.Movies]..Users fu Join Users u ON fu.AccountId=u.AccountId  UNION ALL                                    
Select 'StackExchange.Movies.Meta' As [DatabaseName], Count(*) As [Count] From [StackExchange.Movies.Meta]..Users fu Join Users u ON fu.AccountId=u.AccountId  UNION ALL                          
Select 'StackExchange.Music' As [DatabaseName], Count(*) As [Count] From [StackExchange.Music]..Users fu Join Users u ON fu.AccountId=u.AccountId  UNION ALL                                      
Select 'StackExchange.Music.Meta' As [DatabaseName], Count(*) As [Count] From [StackExchange.Music.Meta]..Users fu Join Users u ON fu.AccountId=u.AccountId  UNION ALL                            
Select 'StackExchange.Musicfans' As [DatabaseName], Count(*) As [Count] From [StackExchange.Musicfans]..Users fu Join Users u ON fu.AccountId=u.AccountId  UNION ALL                              
Select 'StackExchange.Musicfans.Meta' As [DatabaseName], Count(*) As [Count] From [StackExchange.Musicfans.Meta]..Users fu Join Users u ON fu.AccountId=u.AccountId  UNION ALL                    
Select 'StackExchange.Mythology' As [DatabaseName], Count(*) As [Count] From [StackExchange.Mythology]..Users fu Join Users u ON fu.AccountId=u.AccountId  UNION ALL                              
Select 'StackExchange.Mythology.Meta' As [DatabaseName], Count(*) As [Count] From [StackExchange.Mythology.Meta]..Users fu Join Users u ON fu.AccountId=u.AccountId  UNION ALL                    
Select 'StackExchange.Networkengineering' As [DatabaseName], Count(*) As [Count] From [StackExchange.Networkengineering]..Users fu Join Users u ON fu.AccountId=u.AccountId  UNION ALL            
Select 'StackExchange.Networkengineering.Meta' As [DatabaseName], Count(*) As [Count] From [StackExchange.Networkengineering.Meta]..Users fu Join Users u ON fu.AccountId=u.AccountId  UNION ALL  
Select 'StackExchange.Opendata' As [DatabaseName], Count(*) As [Count] From [StackExchange.Opendata]..Users fu Join Users u ON fu.AccountId=u.AccountId  UNION ALL                                
Select 'StackExchange.Opendata.Meta' As [DatabaseName], Count(*) As [Count] From [StackExchange.Opendata.Meta]..Users fu Join Users u ON fu.AccountId=u.AccountId  UNION ALL                      
Select 'StackExchange.Opensource' As [DatabaseName], Count(*) As [Count] From [StackExchange.Opensource]..Users fu Join Users u ON fu.AccountId=u.AccountId  UNION ALL                            
Select 'StackExchange.Opensource.Meta' As [DatabaseName], Count(*) As [Count] From [StackExchange.Opensource.Meta]..Users fu Join Users u ON fu.AccountId=u.AccountId  UNION ALL                  
Select 'StackExchange.Outdoors' As [DatabaseName], Count(*) As [Count] From [StackExchange.Outdoors]..Users fu Join Users u ON fu.AccountId=u.AccountId  UNION ALL                                
Select 'StackExchange.Outdoors.Meta' As [DatabaseName], Count(*) As [Count] From [StackExchange.Outdoors.Meta]..Users fu Join Users u ON fu.AccountId=u.AccountId  UNION ALL                      
Select 'StackExchange.Parenting' As [DatabaseName], Count(*) As [Count] From [StackExchange.Parenting]..Users fu Join Users u ON fu.AccountId=u.AccountId  UNION ALL                              
Select 'StackExchange.Parenting.Meta' As [DatabaseName], Count(*) As [Count] From [StackExchange.Parenting.Meta]..Users fu Join Users u ON fu.AccountId=u.AccountId  UNION ALL                    
Select 'StackExchange.Patents' As [DatabaseName], Count(*) As [Count] From [StackExchange.Patents]..Users fu Join Users u ON fu.AccountId=u.AccountId  UNION ALL                                  
Select 'StackExchange.Patents.Meta' As [DatabaseName], Count(*) As [Count] From [StackExchange.Patents.Meta]..Users fu Join Users u ON fu.AccountId=u.AccountId  UNION ALL                        
Select 'StackExchange.Pets' As [DatabaseName], Count(*) As [Count] From [StackExchange.Pets]..Users fu Join Users u ON fu.AccountId=u.AccountId  UNION ALL                                        
Select 'StackExchange.Pets.Meta' As [DatabaseName], Count(*) As [Count] From [StackExchange.Pets.Meta]..Users fu Join Users u ON fu.AccountId=u.AccountId  UNION ALL                              
Select 'StackExchange.Philosophy' As [DatabaseName], Count(*) As [Count] From [StackExchange.Philosophy]..Users fu Join Users u ON fu.AccountId=u.AccountId  UNION ALL                            
Select 'StackExchange.Philosophy.Meta' As [DatabaseName], Count(*) As [Count] From [StackExchange.Philosophy.Meta]..Users fu Join Users u ON fu.AccountId=u.AccountId  UNION ALL                  
Select 'StackExchange.Photography' As [DatabaseName], Count(*) As [Count] From [StackExchange.Photography]..Users fu Join Users u ON fu.AccountId=u.AccountId  UNION ALL                          
Select 'StackExchange.Photography.Meta' As [DatabaseName], Count(*) As [Count] From [StackExchange.Photography.Meta]..Users fu Join Users u ON fu.AccountId=u.AccountId  UNION ALL                
Select 'StackExchange.Physics' As [DatabaseName], Count(*) As [Count] From [StackExchange.Physics]..Users fu Join Users u ON fu.AccountId=u.AccountId  UNION ALL                                  
Select 'StackExchange.Physics.Meta' As [DatabaseName], Count(*) As [Count] From [StackExchange.Physics.Meta]..Users fu Join Users u ON fu.AccountId=u.AccountId  UNION ALL                        
Select 'StackExchange.Pm' As [DatabaseName], Count(*) As [Count] From [StackExchange.Pm]..Users fu Join Users u ON fu.AccountId=u.AccountId  UNION ALL                                            
Select 'StackExchange.Pm.Meta' As [DatabaseName], Count(*) As [Count] From [StackExchange.Pm.Meta]..Users fu Join Users u ON fu.AccountId=u.AccountId  UNION ALL                                  
Select 'StackExchange.Poker' As [DatabaseName], Count(*) As [Count] From [StackExchange.Poker]..Users fu Join Users u ON fu.AccountId=u.AccountId  UNION ALL                                      
Select 'StackExchange.Poker.Meta' As [DatabaseName], Count(*) As [Count] From [StackExchange.Poker.Meta]..Users fu Join Users u ON fu.AccountId=u.AccountId  UNION ALL                            
Select 'StackExchange.Politics' As [DatabaseName], Count(*) As [Count] From [StackExchange.Politics]..Users fu Join Users u ON fu.AccountId=u.AccountId  UNION ALL                                
Select 'StackExchange.Politics.Meta' As [DatabaseName], Count(*) As [Count] From [StackExchange.Politics.Meta]..Users fu Join Users u ON fu.AccountId=u.AccountId  UNION ALL                      
Select 'StackExchange.Portuguese' As [DatabaseName], Count(*) As [Count] From [StackExchange.Portuguese]..Users fu Join Users u ON fu.AccountId=u.AccountId  UNION ALL                            
Select 'StackExchange.Portuguese.Meta' As [DatabaseName], Count(*) As [Count] From [StackExchange.Portuguese.Meta]..Users fu Join Users u ON fu.AccountId=u.AccountId  UNION ALL                  
Select 'StackExchange.Productivity' As [DatabaseName], Count(*) As [Count] From [StackExchange.Productivity]..Users fu Join Users u ON fu.AccountId=u.AccountId  UNION ALL                        
Select 'StackExchange.Productivity.Meta' As [DatabaseName], Count(*) As [Count] From [StackExchange.Productivity.Meta]..Users fu Join Users u ON fu.AccountId=u.AccountId  UNION ALL              
Select 'StackExchange.Programmers' As [DatabaseName], Count(*) As [Count] From [StackExchange.Programmers]..Users fu Join Users u ON fu.AccountId=u.AccountId  UNION ALL                          
Select 'StackExchange.Programmers.Meta' As [DatabaseName], Count(*) As [Count] From [StackExchange.Programmers.Meta]..Users fu Join Users u ON fu.AccountId=u.AccountId  UNION ALL                
Select 'StackExchange.Puzzling' As [DatabaseName], Count(*) As [Count] From [StackExchange.Puzzling]..Users fu Join Users u ON fu.AccountId=u.AccountId  UNION ALL                                
Select 'StackExchange.Puzzling.Meta' As [DatabaseName], Count(*) As [Count] From [StackExchange.Puzzling.Meta]..Users fu Join Users u ON fu.AccountId=u.AccountId  UNION ALL                      
Select 'StackExchange.Quant' As [DatabaseName], Count(*) As [Count] From [StackExchange.Quant]..Users fu Join Users u ON fu.AccountId=u.AccountId  UNION ALL                                      
Select 'StackExchange.Quant.Meta' As [DatabaseName], Count(*) As [Count] From [StackExchange.Quant.Meta]..Users fu Join Users u ON fu.AccountId=u.AccountId  UNION ALL                            
Select 'StackExchange.Raspberrypi' As [DatabaseName], Count(*) As [Count] From [StackExchange.Raspberrypi]..Users fu Join Users u ON fu.AccountId=u.AccountId  UNION ALL                          
Select 'StackExchange.Raspberrypi.Meta' As [DatabaseName], Count(*) As [Count] From [StackExchange.Raspberrypi.Meta]..Users fu Join Users u ON fu.AccountId=u.AccountId  UNION ALL                
Select 'StackExchange.Reverseengineering' As [DatabaseName], Count(*) As [Count] From [StackExchange.Reverseengineering]..Users fu Join Users u ON fu.AccountId=u.AccountId  UNION ALL            
Select 'StackExchange.Reverseengineering.Meta' As [DatabaseName], Count(*) As [Count] From [StackExchange.Reverseengineering.Meta]..Users fu Join Users u ON fu.AccountId=u.AccountId  UNION ALL  
Select 'StackExchange.Robotics' As [DatabaseName], Count(*) As [Count] From [StackExchange.Robotics]..Users fu Join Users u ON fu.AccountId=u.AccountId  UNION ALL                                
Select 'StackExchange.Robotics.Meta' As [DatabaseName], Count(*) As [Count] From [StackExchange.Robotics.Meta]..Users fu Join Users u ON fu.AccountId=u.AccountId  UNION ALL                      
Select 'StackExchange.Rpg' As [DatabaseName], Count(*) As [Count] From [StackExchange.Rpg]..Users fu Join Users u ON fu.AccountId=u.AccountId  UNION ALL                                          
Select 'StackExchange.Rpg.Meta' As [DatabaseName], Count(*) As [Count] From [StackExchange.Rpg.Meta]..Users fu Join Users u ON fu.AccountId=u.AccountId  UNION ALL                                
Select 'StackExchange.Rus' As [DatabaseName], Count(*) As [Count] From [StackExchange.Rus]..Users fu Join Users u ON fu.AccountId=u.AccountId  UNION ALL                                          
Select 'StackExchange.Rus.Meta' As [DatabaseName], Count(*) As [Count] From [StackExchange.Rus.Meta]..Users fu Join Users u ON fu.AccountId=u.AccountId  UNION ALL                                
Select 'StackExchange.Russian' As [DatabaseName], Count(*) As [Count] From [StackExchange.Russian]..Users fu Join Users u ON fu.AccountId=u.AccountId  UNION ALL                                  
Select 'StackExchange.Russian.Meta' As [DatabaseName], Count(*) As [Count] From [StackExchange.Russian.Meta]..Users fu Join Users u ON fu.AccountId=u.AccountId  UNION ALL                        
Select 'StackExchange.Salesforce' As [DatabaseName], Count(*) As [Count] From [StackExchange.Salesforce]..Users fu Join Users u ON fu.AccountId=u.AccountId  UNION ALL                            
Select 'StackExchange.Salesforce.Meta' As [DatabaseName], Count(*) As [Count] From [StackExchange.Salesforce.Meta]..Users fu Join Users u ON fu.AccountId=u.AccountId  UNION ALL                  
Select 'StackExchange.Scicomp' As [DatabaseName], Count(*) As [Count] From [StackExchange.Scicomp]..Users fu Join Users u ON fu.AccountId=u.AccountId  UNION ALL                                  
Select 'StackExchange.Scicomp.Meta' As [DatabaseName], Count(*) As [Count] From [StackExchange.Scicomp.Meta]..Users fu Join Users u ON fu.AccountId=u.AccountId  UNION ALL                        
Select 'StackExchange.Scifi' As [DatabaseName], Count(*) As [Count] From [StackExchange.Scifi]..Users fu Join Users u ON fu.AccountId=u.AccountId  UNION ALL                                      
Select 'StackExchange.Scifi.Meta' As [DatabaseName], Count(*) As [Count] From [StackExchange.Scifi.Meta]..Users fu Join Users u ON fu.AccountId=u.AccountId  UNION ALL                            
Select 'StackExchange.Security' As [DatabaseName], Count(*) As [Count] From [StackExchange.Security]..Users fu Join Users u ON fu.AccountId=u.AccountId  UNION ALL                                
Select 'StackExchange.Security.Meta' As [DatabaseName], Count(*) As [Count] From [StackExchange.Security.Meta]..Users fu Join Users u ON fu.AccountId=u.AccountId  UNION ALL                      
Select 'StackExchange.Sharepoint' As [DatabaseName], Count(*) As [Count] From [StackExchange.Sharepoint]..Users fu Join Users u ON fu.AccountId=u.AccountId  UNION ALL                            
Select 'StackExchange.Sharepoint.Meta' As [DatabaseName], Count(*) As [Count] From [StackExchange.Sharepoint.Meta]..Users fu Join Users u ON fu.AccountId=u.AccountId  UNION ALL                  
Select 'StackExchange.Skeptics' As [DatabaseName], Count(*) As [Count] From [StackExchange.Skeptics]..Users fu Join Users u ON fu.AccountId=u.AccountId  UNION ALL                                
Select 'StackExchange.Skeptics.Meta' As [DatabaseName], Count(*) As [Count] From [StackExchange.Skeptics.Meta]..Users fu Join Users u ON fu.AccountId=u.AccountId  UNION ALL                      
Select 'StackExchange.Softwarerecs' As [DatabaseName], Count(*) As [Count] From [StackExchange.Softwarerecs]..Users fu Join Users u ON fu.AccountId=u.AccountId  UNION ALL                        
Select 'StackExchange.Softwarerecs.Meta' As [DatabaseName], Count(*) As [Count] From [StackExchange.Softwarerecs.Meta]..Users fu Join Users u ON fu.AccountId=u.AccountId  UNION ALL              
Select 'StackExchange.Sound' As [DatabaseName], Count(*) As [Count] From [StackExchange.Sound]..Users fu Join Users u ON fu.AccountId=u.AccountId  UNION ALL                                      
Select 'StackExchange.Sound.Meta' As [DatabaseName], Count(*) As [Count] From [StackExchange.Sound.Meta]..Users fu Join Users u ON fu.AccountId=u.AccountId  UNION ALL                            
Select 'StackExchange.Space' As [DatabaseName], Count(*) As [Count] From [StackExchange.Space]..Users fu Join Users u ON fu.AccountId=u.AccountId  UNION ALL                                      
Select 'StackExchange.Space.Meta' As [DatabaseName], Count(*) As [Count] From [StackExchange.Space.Meta]..Users fu Join Users u ON fu.AccountId=u.AccountId  UNION ALL                            
Select 'StackExchange.Spanish' As [DatabaseName], Count(*) As [Count] From [StackExchange.Spanish]..Users fu Join Users u ON fu.AccountId=u.AccountId  UNION ALL                                  
Select 'StackExchange.Spanish.Meta' As [DatabaseName], Count(*) As [Count] From [StackExchange.Spanish.Meta]..Users fu Join Users u ON fu.AccountId=u.AccountId  UNION ALL                        
Select 'StackExchange.Sports' As [DatabaseName], Count(*) As [Count] From [StackExchange.Sports]..Users fu Join Users u ON fu.AccountId=u.AccountId  UNION ALL                                    
Select 'StackExchange.Sports.Meta' As [DatabaseName], Count(*) As [Count] From [StackExchange.Sports.Meta]..Users fu Join Users u ON fu.AccountId=u.AccountId  UNION ALL                          
Select 'StackExchange.Sqa' As [DatabaseName], Count(*) As [Count] From [StackExchange.Sqa]..Users fu Join Users u ON fu.AccountId=u.AccountId  UNION ALL                                          
Select 'StackExchange.Sqa.Meta' As [DatabaseName], Count(*) As [Count] From [StackExchange.Sqa.Meta]..Users fu Join Users u ON fu.AccountId=u.AccountId  UNION ALL                                
Select 'StackExchange.Startups' As [DatabaseName], Count(*) As [Count] From [StackExchange.Startups]..Users fu Join Users u ON fu.AccountId=u.AccountId  UNION ALL                                
Select 'StackExchange.Startups.Meta' As [DatabaseName], Count(*) As [Count] From [StackExchange.Startups.Meta]..Users fu Join Users u ON fu.AccountId=u.AccountId  UNION ALL                      
Select 'StackExchange.Stats' As [DatabaseName], Count(*) As [Count] From [StackExchange.Stats]..Users fu Join Users u ON fu.AccountId=u.AccountId  UNION ALL                                      
Select 'StackExchange.Stats.Meta' As [DatabaseName], Count(*) As [Count] From [StackExchange.Stats.Meta]..Users fu Join Users u ON fu.AccountId=u.AccountId  UNION ALL                            
Select 'StackExchange.Sustainability' As [DatabaseName], Count(*) As [Count] From [StackExchange.Sustainability]..Users fu Join Users u ON fu.AccountId=u.AccountId  UNION ALL                    
Select 'StackExchange.Sustainability.Meta' As [DatabaseName], Count(*) As [Count] From [StackExchange.Sustainability.Meta]..Users fu Join Users u ON fu.AccountId=u.AccountId  UNION ALL          
Select 'StackExchange.Tex' As [DatabaseName], Count(*) As [Count] From [StackExchange.Tex]..Users fu Join Users u ON fu.AccountId=u.AccountId  UNION ALL                                          
Select 'StackExchange.Tex.Meta' As [DatabaseName], Count(*) As [Count] From [StackExchange.Tex.Meta]..Users fu Join Users u ON fu.AccountId=u.AccountId  UNION ALL                                
Select 'StackExchange.Tor' As [DatabaseName], Count(*) As [Count] From [StackExchange.Tor]..Users fu Join Users u ON fu.AccountId=u.AccountId  UNION ALL                                          
Select 'StackExchange.Tor.Meta' As [DatabaseName], Count(*) As [Count] From [StackExchange.Tor.Meta]..Users fu Join Users u ON fu.AccountId=u.AccountId  UNION ALL                                
Select 'StackExchange.Travel' As [DatabaseName], Count(*) As [Count] From [StackExchange.Travel]..Users fu Join Users u ON fu.AccountId=u.AccountId  UNION ALL                                    
Select 'StackExchange.Travel.Meta' As [DatabaseName], Count(*) As [Count] From [StackExchange.Travel.Meta]..Users fu Join Users u ON fu.AccountId=u.AccountId  UNION ALL                          
Select 'StackExchange.Tridion' As [DatabaseName], Count(*) As [Count] From [StackExchange.Tridion]..Users fu Join Users u ON fu.AccountId=u.AccountId  UNION ALL                                  
Select 'StackExchange.Tridion.Meta' As [DatabaseName], Count(*) As [Count] From [StackExchange.Tridion.Meta]..Users fu Join Users u ON fu.AccountId=u.AccountId  UNION ALL                        
Select 'StackExchange.Ubuntu' As [DatabaseName], Count(*) As [Count] From [StackExchange.Ubuntu]..Users fu Join Users u ON fu.AccountId=u.AccountId  UNION ALL                                    
Select 'StackExchange.Ubuntu.Meta' As [DatabaseName], Count(*) As [Count] From [StackExchange.Ubuntu.Meta]..Users fu Join Users u ON fu.AccountId=u.AccountId  UNION ALL                          
Select 'StackExchange.Unix' As [DatabaseName], Count(*) As [Count] From [StackExchange.Unix]..Users fu Join Users u ON fu.AccountId=u.AccountId  UNION ALL                                        
Select 'StackExchange.Unix.Meta' As [DatabaseName], Count(*) As [Count] From [StackExchange.Unix.Meta]..Users fu Join Users u ON fu.AccountId=u.AccountId  UNION ALL                              
Select 'StackExchange.Ux' As [DatabaseName], Count(*) As [Count] From [StackExchange.Ux]..Users fu Join Users u ON fu.AccountId=u.AccountId  UNION ALL                                            
Select 'StackExchange.Ux.Meta' As [DatabaseName], Count(*) As [Count] From [StackExchange.Ux.Meta]..Users fu Join Users u ON fu.AccountId=u.AccountId  UNION ALL                                  
Select 'StackExchange.Vi' As [DatabaseName], Count(*) As [Count] From [StackExchange.Vi]..Users fu Join Users u ON fu.AccountId=u.AccountId  UNION ALL                                            
Select 'StackExchange.Vi.Meta' As [DatabaseName], Count(*) As [Count] From [StackExchange.Vi.Meta]..Users fu Join Users u ON fu.AccountId=u.AccountId  UNION ALL                                  
Select 'StackExchange.WebApps' As [DatabaseName], Count(*) As [Count] From [StackExchange.WebApps]..Users fu Join Users u ON fu.AccountId=u.AccountId  UNION ALL                                  
Select 'StackExchange.WebApps.Meta' As [DatabaseName], Count(*) As [Count] From [StackExchange.WebApps.Meta]..Users fu Join Users u ON fu.AccountId=u.AccountId  UNION ALL                        
Select 'StackExchange.Webmasters' As [DatabaseName], Count(*) As [Count] From [StackExchange.Webmasters]..Users fu Join Users u ON fu.AccountId=u.AccountId  UNION ALL                            
Select 'StackExchange.Webmasters.Meta' As [DatabaseName], Count(*) As [Count] From [StackExchange.Webmasters.Meta]..Users fu Join Users u ON fu.AccountId=u.AccountId  UNION ALL                  
Select 'StackExchange.Windowsphone' As [DatabaseName], Count(*) As [Count] From [StackExchange.Windowsphone]..Users fu Join Users u ON fu.AccountId=u.AccountId  UNION ALL                        
Select 'StackExchange.Windowsphone.Meta' As [DatabaseName], Count(*) As [Count] From [StackExchange.Windowsphone.Meta]..Users fu Join Users u ON fu.AccountId=u.AccountId  UNION ALL              
Select 'StackExchange.Woodworking' As [DatabaseName], Count(*) As [Count] From [StackExchange.Woodworking]..Users fu Join Users u ON fu.AccountId=u.AccountId  UNION ALL                          
Select 'StackExchange.Woodworking.Meta' As [DatabaseName], Count(*) As [Count] From [StackExchange.Woodworking.Meta]..Users fu Join Users u ON fu.AccountId=u.AccountId  UNION ALL                
Select 'StackExchange.Wordpress' As [DatabaseName], Count(*) As [Count] From [StackExchange.Wordpress]..Users fu Join Users u ON fu.AccountId=u.AccountId  UNION ALL                              
Select 'StackExchange.Wordpress.Meta' As [DatabaseName], Count(*) As [Count] From [StackExchange.Wordpress.Meta]..Users fu Join Users u ON fu.AccountId=u.AccountId  UNION ALL                    
Select 'StackExchange.Workplace' As [DatabaseName], Count(*) As [Count] From [StackExchange.Workplace]..Users fu Join Users u ON fu.AccountId=u.AccountId  UNION ALL                              
Select 'StackExchange.Workplace.Meta' As [DatabaseName], Count(*) As [Count] From [StackExchange.Workplace.Meta]..Users fu Join Users u ON fu.AccountId=u.AccountId  UNION ALL                    
Select 'StackExchange.Worldbuilding' As [DatabaseName], Count(*) As [Count] From [StackExchange.Worldbuilding]..Users fu Join Users u ON fu.AccountId=u.AccountId  UNION ALL                      
Select 'StackExchange.Worldbuilding.Meta' As [DatabaseName], Count(*) As [Count] From [StackExchange.Worldbuilding.Meta]..Users fu Join Users u ON fu.AccountId=u.AccountId  UNION ALL            
Select 'StackExchange.Writers' As [DatabaseName], Count(*) As [Count] From [StackExchange.Writers]..Users fu Join Users u ON fu.AccountId=u.AccountId  UNION ALL                                  
Select 'StackExchange.Writers.Meta' As [DatabaseName], Count(*) As [Count] From [StackExchange.Writers.Meta]..Users fu Join Users u ON fu.AccountId=u.AccountId  UNION ALL                        
Select 'StackOverflow' As [DatabaseName], Count(*) As [Count] From [StackOverflow]..Users fu Join Users u ON fu.AccountId=u.AccountId  UNION ALL                                                  
Select 'StackOverflow.Br' As [DatabaseName], Count(*) As [Count] From [StackOverflow.Br]..Users fu Join Users u ON fu.AccountId=u.AccountId  UNION ALL                                            
Select 'StackOverflow.Br.Meta' As [DatabaseName], Count(*) As [Count] From [StackOverflow.Br.Meta]..Users fu Join Users u ON fu.AccountId=u.AccountId  UNION ALL                                  
Select 'StackOverflow.Ja' As [DatabaseName], Count(*) As [Count] From [StackOverflow.Ja]..Users fu Join Users u ON fu.AccountId=u.AccountId  UNION ALL                                            
Select 'StackOverflow.Ja.Meta' As [DatabaseName], Count(*) As [Count] From [StackOverflow.Ja.Meta]..Users fu Join Users u ON fu.AccountId=u.AccountId  UNION ALL                                  
Select 'StackOverflow.Meta' As [DatabaseName], Count(*) As [Count] From [StackOverflow.Meta]..Users fu Join Users u ON fu.AccountId=u.AccountId  UNION ALL                                        
Select 'StackOverflow.Ru' As [DatabaseName], Count(*) As [Count] From [StackOverflow.Ru]..Users fu Join Users u ON fu.AccountId=u.AccountId  UNION ALL                                            
Select 'StackOverflow.Ru.Meta' As [DatabaseName], Count(*) As [Count] From [StackOverflow.Ru.Meta]..Users fu Join Users u ON fu.AccountId=u.AccountId  UNION ALL                                  
Select 'SuperUser' As [DatabaseName], Count(*) As [Count] From [SuperUser]..Users fu Join Users u ON fu.AccountId=u.AccountId  UNION ALL                                                          
Select 'SuperUser.Meta' As [DatabaseName], Count(*) As [Count] From [SuperUser.Meta]..Users fu Join Users u ON fu.AccountId=u.AccountId

Enter Parameters

Options:
Switch to meta site
loading Hold tight while we fetch your results