select rt.postid [Post Link] , concat('site://suggested-e...

0

Please login or register to vote for this query.

(click on this box to dismiss)

Japanese Language

Q&A for students, teachers, and linguists wanting to discuss the finer points of the Japanese language

select rt.postid [Post Link]
, concat('site://suggested-edits/',rt.suggestededitid,'|', rt.suggestededitid, ' ', coalesce(se.approvaldate, se.rejectiondate) ) [suggested edit]
, concat('site://review/suggested-edits/',rt.id, '|', 'review') [Review Link] 
, se.creationdate
,rt.*
from reviewtasks rt
inner join posthistory ph on ph.postid = rt.postid 
inner join suggestededits se on se.id = rt.suggestededitid
where reviewtasktypeid = 1
-- and  ph.creationdate between rt.creationdate and rt.deletiondate
--and ph.posthistorytypeid in (5) -- ,7,8,9) 
-- and ph.userid = se.owneruserid
and rt.id = 27713534
order by rt.postid

Enter Parameters

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