question and answers with tags

0

Please login or register to vote for this query.

(click on this box to dismiss)

Graphic Design

Q&A for Graphic Design professionals, students, and enthusiasts

select q.id as [Post link]
     , acc.id as [Answer Link],
     q.OwnerUserId AS 'User ID',
     q.PostTypeId AS 'Post Type'
     -- , t.tagname
     --, left(q.body,200) as question
   --  , left(acc.body,200) as answer
from posts q
inner join posttags pt
        on pt.postid = q.id 
inner join tags t 
        on t.id = pt.tagid
inner join posts acc 
        on acc.id = q.acceptedanswerid 
where tagname  = 'java'
and q.posttypeid = 1
order by q.id
, acc.score,q.OwnerUserId,q.PostTypeId

Enter Parameters

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