select DisplayName from Badges as b INNER JOIN USERS as u...

0

Please login or register to vote for this query.

(click on this box to dismiss)

Physical Fitness

Q&A for physical fitness professionals, athletes, trainers, and those providing health-related needs

select DisplayName from Badges as b
  INNER JOIN USERS as u ON b.UserId = u.id 
  WHERE Name = 'Enlightened' 
     AND YEAR(Date) = 2016
       AND UserId = (SELECT TOP 1 id from Users
                        WHERE Location = 'South Africa' 
                          ORDER BY Reputation DESC)

Enter Parameters

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