DECLARE @MyPosts TABLE(Id INT PRIMARY KEY); INSERT @MyPosts

0

Please login or register to vote for this query.

(click on this box to dismiss)

Physical Fitness Meta

Q&A about the site for physical fitness professionals, athletes, trainers, and those providing health-related needs

DECLARE @MyPosts TABLE(Id INT PRIMARY KEY);
INSERT @MyPosts 
VALUES (10259157), (7299871), (3644305), (10671558), 
(7490758), (6504173), (8015482), (7667073), (10588556),
(10603095);

SELECT *
FROM Posts x
INNER JOIN @MyPosts y ON x.Id = y.Id
--WHERE x.ParentId = q.Id

Enter Parameters

Options:
Switch sites:
loading Hold tight while we fetch your results