All the self-answers

0

Please login or register to vote for this query.

(click on this box to dismiss)

Worldbuilding

Q&A for writers/artists using science, geography and culture to construct imaginary worlds and settings

select 
       selfAnswer.Id as [Post Link], 
       question.Score as QuestionScore,
       selfAnswer.Score as AnswerScore
from posts as question
    inner join posts as selfAnswer
        on  selfAnswer.owneruserid = question.owneruserid
        and selfAnswer.parentid = question.id
        and selfAnswer.id = question.acceptedanswerid
where 
    question.posttypeid = 1
and selfAnswer.posttypeid = 2
order by 
(question.Score + selfAnswer.Score) desc,
        selfAnswer.CreationDate desc

Enter Parameters

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