answers with code blocks

0

Please login or register to vote for this query.

(click on this box to dismiss)

Movies and TV Meta

Q&A about the site for movie and tv enthusiasts

select
  top 100
  Post.Id as [Post Link],
  Post.Body,
  PostTypes.Name as [Type],
  Post.OwnerUserId as [User Link],
  Post.Score,
  Post.CreationDate,
  coalesce(Post.Tags, Parent.Tags) as [Tags]
from Posts as Post
join PostTypes on Post.PostTypeId = PostTypes.Id
left join Posts as Parent on Post.ParentId = Parent.Id
where Post.Body like '%<code>%' AND Post.PostTypeId = 2

Enter Parameters

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