Please login or register to vote for this query.

(click on this box to dismiss)

Stack Overflow en español

Preguntas y respuestas para programadores y profesionales de la informática

WITH diffs AS
(SELECT CAST(a.creationdate - q.creationdate AS FLOAT) AS d,
q.id AS id FROM Posts q
JOIN Posts a ON a.id = q.acceptedanswerid)
SELECT d, id FROM diffs
WHERE d < 0;

Enter Parameters

Switch sites:
loading Hold tight while we fetch your results