Q&A about the site for students and teachers of all martial arts
DECLARE @UserId int = ##UserId## select top 300 someQuestion.Id as [Post Link], someQuestion.ViewCount, someQuestion.CommentCount as comms, someQuestion.AnswerCount, someQuestion.FavoriteCount as favs, yourAnswer.Score as YourScore, someQuestion.Tags from Posts yourAnswer join Posts someQuestion on yourAnswer.ParentID=someQuestion.Id where yourAnswer.OwnerUserId=@UserId order by ViewCount desc