select PostComment.PostID from PostComment join CommentReply on PostComment.UserID=CommentReply.UserID where CommentReply.UserID=1 or PostComment.UserID=1
SELECT DISTINCT PostComment.PostID
FROM PostComment JOIN
CommentReply ON PostComment.UserID=CommentReply.UserID
WHERE CommentReply.UserID=1 OR
PostComment.UserID=1
ORDER BY PostComment.PostID