Enter Query Description

0

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

-- Enter Query Description

select distinct top 10  q.id
from posts a
join posts q
on a.parentid = q.id
where a.posttypeid = 2
and q.posttypeid = 1
and datediff(day,q.CreationDate,a.CreationDate)/7 < 0

Enter Parameters

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