Progress towards Favorite Question and Stellar Question badges

5

Please login or register to vote for this query.

(click on this box to dismiss)

Questions need to be favorited 25 times for Favorite Question nad 100 times for Stellar Question

Stack Overflow

Q&A for programmers

select TOP 500
    Id as [Post Link],
    FavoriteCount,
    CAST(CONVERT(INT, CAST(FavoriteCount as float) * 4) as VARCHAR(3)) + '%' as Favorite,
    CAST(FavoriteCount as VARCHAR(3)) + '%' as Stellar
FROM Posts
WHERE PostTypeId=1 and OwnerUserId=##UserID:int## and FavoriteCount > 0
ORDER BY FavoriteCount DESC

Enter Parameters

Options:
Switch sites:
loading Hold tight while we fetch your results
:records returned in :time ms:cached