Answers that have source code for java questions

0

Please login or register to vote for this query.

(click on this box to dismiss)

Stack Overflow

Q&A for programmers

Select  
        -- select answeres that have source code for java questions
        a.Body as "Answeres",
        a.Score, 
        q.Id as [Post Link],
        q.Tags as " Question Tags" ,
        q.Body, 
        q.AnswerCount, 
        q.Id

FROM Posts a

JOIN Posts q on a.ParentId=q.Id

Join PostTags t on q.Id = t.PostId

WHERE 
q.AnswerCount>1
AND
a.Body like'%<code>%'

AND 

(
-- java tag
t.TagId= 17 
-- Or  

--t.TagId= 78533
)

Order by q.Id Desc

Enter Parameters

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