Number of Medals (1=Gold, 2=Silver, 3=Bronze)

1

Please login or register to vote for this query.

(click on this box to dismiss)

Cardano Meta

Q&A for users and developers of the Cardano cryptocurrency ecosystem

DECLARE @UserId int = ##UserId## 

SELECT 
    Count(*) AS ClassCount,
    Class
FROM 
    Badges
WHERE 
    UserId = @UserId
GROUP BY 
    Class
ORDER BY 
    Class DESC

Enter Parameters

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