Social Web Project Query for extracting graph data


Please login or register to vote for this query.

(click on this box to dismiss)

Stack Overflow Meta en español

Preguntas y respuestas sobre el sitio para programadores y profesionales de la informática

select q.OwnerUserId, a.OwnerUserId, q.Id , a.Id, q.AcceptedAnswerId, q.CreationDate, a.CreationDate, q.AnswerCount, q.score, a.score 
from posts as q join posts as a on  q.Id = a.ParentId
where q.CreationDate < GETDATE()
and   q.CreationDate >= '2021-01-01 00:00:00'
and   q.PostTypeId = 1
and   a.PostTypeId = 2
and   q.OwnerUserId IS NOT NULL
and   a.OwnerUserId IS NOT NULL
and   q.AcceptedAnswerId IS NOT NULL
and   a.Id = q.AcceptedAnswerId
and   q.Tags LIKE '%python%'
order by q.OwnerUserId

Enter Parameters

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