Questions with accepted answers in RANGE


Please login or register to vote for this query.

(click on this box to dismiss)


Q&A for serious players and enthusiasts of chess

declare @Start DATETIME = ##AcceptedAfter:string?2023-01-01##
declare @End DATETIME = ##AcceptedBefore:string?2023-03-01##

PRINT 'from ' + format(@Start, 'D') + ' to ' + format(@End, 'D')

select AS [Post Link], a.score AS "Accepted Score" 
from posts q 
join posts a on q.acceptedanswerid = --- join q's with a's
join votes v on = v.postid
v.votetypeid=1 --- accepted by originator
and v.creationdate between @Start and @End --- accepted in RANGE
and q.posttypeid=1 --- questions
and q.AcceptedAnswerId IS NOT NULL

Enter Parameters

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