Q&A for users and developers of the Cardano cryptocurrency ecosystem
SELECT TOP(##num?500##) RANK() OVER(ORDER BY Score DESC) AS [Rank], Id AS [Post Link], Score, CreationDate, OwnerUserId AS [User Link], OwnerDisplayName, CASE PostTypeId WHEN 1 THEN 'Question' WHEN 2 THEN 'Answer' END, ViewCount, AnswerCount, Tags, FavoriteCount FROM Posts WHERE (PostTypeId IN (##types?1,2##)) ORDER BY Score DESC