Top Language Golfers II

0

Please login or register to vote for this query.

(click on this box to dismiss)

Internet of Things Meta

Q&A about the site for builders and users of networked sensors and control devices in the contexts of smart homes, industry automation, or environmental sensors

select 
  Posts.OwnerUserID as UserId, 
  Users.DisplayName as UserName, 
  Users.WebsiteURL as Website, 
  'https://codegolf.stackexchange.com/users/' + CAST(Users.Id as VARCHAR) + '/' as Profile,
  count(*) as PostCount, 
  sum(Posts.Score) as Score, 
  sum(Posts.Score) / CAST(count(*) AS FLOAT) as 'Average Score',
  min(Posts.CreationDate) as FirstPost,
  max(Posts.CreationDate) as LastPost,
  DATEDIFF(dd, min(Posts.CreationDate),max(Posts.CreationDate)) as Tenure
  
from posts
INNER JOIN Users on Users.Id = Posts.OwnerUserID
where lower(Posts.Body) like '<h_%[^a-z]' + lower('##Lang?Keg##') + '[^a-z]%/h_>%'
group By Posts.OwnerUserID, Users.DisplayName,Users.WebsiteURL,Users.Id
order by PostCount DESC

Enter Parameters

Options:
Switch sites:
loading Hold tight while we fetch your results