Lista de respostas positivas em perguntas negativas

0

Please login or register to vote for this query.

(click on this box to dismiss)

Stack Overflow em Português

Perguntas e respostas para programadores profissionais e entusiastas

select
    p.Id as [Post Link]
   ,p.Score as [Score Pergunta]
   ,r.Score as [Score Resposta]
from Posts p
  inner join Posts r on p.Id = r.ParentId
where p.PostTypeId = 1
and p.Score < 0
and r.Score > 0
order by r.Score desc

Enter Parameters

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