SELECT
P.Id,
P.AcceptedAnswerId,
P.AnswerCount,
--P.Body,
P.ClosedDate,
P.CommentCount,
P.CommunityOwnedDate,
P.CreationDate,
P.FavoriteCount,
P.LastActivityDate,
P.LastEditDate,
P.LastEditorDisplayName,
P.LastEditorUserId,
P.OwnerUserId,
P.ParentId,
P.PostTypeId,
P.Score,
P.Tags,
P.Title,
P.ViewCount
FROM dbo.Posts AS P WITH (TABLOCK)
JOIN dbo.Votes AS V WITH (TABLOCK)
ON V.PostId = P.Id
WHERE
P.PostTypeId = 2