select TOP 500 Id as [Post Link], FavoriteCount, CAST(CON...

0

Please login or register to vote for this query.

(click on this box to dismiss)

Christianity

Q&A for committed Christians, experts in Christianity and those interested in learning more

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