Questions closed and answered by the same user

0

Please login or register to vote for this query.

(click on this box to dismiss)

Tezos

Q&A for users, experts, and developers of the Tezos blockchain project

SELECT a.Id AS [Post Link], a.CreationDate
  FROM PostHistory AS ph
  INNER JOIN Posts AS a ON a.ParentId = ph.PostId
  CROSS APPLY OPENJSON(ph.Text, '$.Voters') WITH (Id INTEGER '$.Id') c
  WHERE ph.PostHistoryTypeId = 10 -- Closed
    AND a.OwnerUserId = ##UserId:int##
    AND c.Id = ##UserId:int##
  ORDER BY a.CreationDate DESC

Enter Parameters

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