Q&A for pro webmasters
SELECT PostId AS [Post Link], Id AS [Suggested Edit Link], ---url = 'site://suggested-edits/'+CAST(Id AS varchar), CreationDate, CASE WHEN ApprovalDate IS NOT NULL THEN 'Approved' WHEN RejectionDate IS NOT NULL THEN 'Rejected' END, OwnerUserId AS [User Link], Comment, ApprovalDate, RejectionDate FROM SuggestedEdits WHERE (CreationDate >= '##Date1?2023-10-01##') AND (CreationDate <= '##Date2?2024-01-01##') ORDER BY Id DESC