SELECT TOP 5 ArticleTitle, ArticleInfo
FROM ArticleTable
ORDER BY TimesViewed DESC
Lets say you have ArticleTable and TimesViewed Column keeps track of how many times article has been viewed.The TOP Keyword in SQL will be able to fetch the record based on the count you supply,in your case it is 5.