With q as ( select Distinct postid from posthistory where...

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

-- Enter Query Title
-- Enter Query Description
With q as (
select Distinct postid from posthistory where posthistorytypeid = 10 and comment =1
)

select * from PostHistory, q where PostHistory.PostId= q.postid

Enter Parameters

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