Posts with code blocks

0

Please login or register to vote for this query.

(click on this box to dismiss)

English Language Learners

Q&A for speakers of other languages learning English

select
  Post.Id as [Post Link],
  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 '%<pre>%'

Enter Parameters

Options:
Switch to meta site
loading Hold tight while we fetch your results