select u.DisplayName, year(b.date),count(b.id) from users u

0

Please login or register to vote for this query.

(click on this box to dismiss)

Earth Science

Q&A for those interested in the geology, meteorology, oceanography, and environmental sciences

select u.DisplayName, year(b.date),count(b.id)
from users u
join badges b on u.id = b.userid
where u.DisplayName = 'Adriaan Stander' and year(b.date) = '2016' and b.name = 'Enlightened'
group by u.DisplayName ,year(b.date)

Enter Parameters

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