SELECT U.Id AS UserId, U.DisplayName AS UserName, B.Name,...

0

Please login or register to vote for this query.

(click on this box to dismiss)

Drones and Model Aircraft Meta

Q&A for experienced flyers, pilots, and builders of drones and model aircraft

SELECT U.Id AS UserId,
       U.DisplayName AS UserName,
       B.Name,
       B.Date,
       CASE B.Class WHEN 1 THEN 'Gold'
                    WHEN 2 THEN 'Silver'
                    WHEN 3 THEN 'Bronze'
       END AS Class
FROM dbo.Badges B
     JOIN dbo.Users U On B.UserId = U.Id
WHERE B.TagBased = 1
AND B.Date BETWEEN '2024-10-30 16:00:00' AND '2024-10-30 17:00:00'
ORDER BY B.Date

Enter Parameters

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