Q&A for Drupal developers and administrators
select u.DisplayName, b.Date, u.*, b.* from Badges b inner join Users u on u.Id = b.UserId where b.Name = ('r') and u.DisplayName = ('Aramis7d') --group by u.DisplayName