Experienced gradle users

0

Please login or register to vote for this query.

(click on this box to dismiss)

The Workplace Meta

Q&A about the site for members of the workforce navigating the professional setting

select userid as [User Link]
     , reputation
     , [gradle]      -- gradle batch
from
(
  select userid         -- userid is our group
       , [gradle]      -- gradle batch
  from (
    select id
         , userid
         , name 
    from badges
    where tagbased = 1
  ) as data
  pivot 
  (
    count(data.id)          -- count the number of badges per user per badge
    for name in (
      [gradle]       -- gradle batch
    ) 
  ) pvt
  where [gradle]     = 3  -- criteria for gradle badge
) main 
inner join users u on u.id = main.userid -- for reputation
order by displayname

Enter Parameters

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