Q&A for Drupal developers and administrators
declare @UserId int = ##userid##; select p.id as [Post Link], * from posts p inner join suggestededits e on p.id = e.postid where p.owneruserid = @UserId