SELECT b.* FROM Posts a INNER JOIN ( SELECT *, ROW_NUMB...

0

Please login or register to vote for this query.

(click on this box to dismiss)

Audio-Video Production Meta

Q&A about the site for engineers, producers, editors, and enthusiasts spanning the fields of video, and media creation

SELECT b.*
FROM   Posts a 
       INNER JOIN 
       (
         SELECT *, 
               ROW_NUMBER() OVER (PARTITION BY PostID
                                   ORDER BY ID DESC) row_num
         FROM  SuggestedEdits
         WHERE Title IS NOT NULL
       )b ON b.PostID = a.ID AND row_num = 1
WHERE  a.ID = 60174

Enter Parameters

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