SELECT * FROM (SELECT * FROM POSTS WHERE PostTypeID = 1)...

0

Please login or register to vote for this query.

(click on this box to dismiss)

Physical Fitness Meta

Q&A about the site for physical fitness professionals, athletes, trainers, and those providing health-related needs

-- Enter Query Title
-- Enter Query Description

SELECT *
FROM (SELECT * FROM POSTS WHERE PostTypeID = 1) AS q
JOIN (SELECT * FROM POSTS WHERE PostTypeID = 2) AS a
ON a.parentID = q.id
WHERE q.creationDate - a.creationDate > 100000

Enter Parameters

Options:
Switch sites:
loading Hold tight while we fetch your results