select distinct top 100 p.id as [Post Link] , p.creationd...

0

Please login or register to vote for this query.

(click on this box to dismiss)

Stack Overflow

Q&A for professional and enthusiast programmers

select distinct top 100
       p.id as [Post Link]
     , p.creationdate
     , owneruserid as [User Link]
from posts p 
inner join posthistory ph on ph.postid = p.id
where ph.posthistorytypeid in (4,5,6)
and p.score between -5 and 10

Enter Parameters

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