/*SELECT COUNT(*) AS tuesdays FROM (SELECT * FROM Posts W...

0

Please login or register to vote for this query.

(click on this box to dismiss)

Open Source Meta

Q&A about the site for people organizing, marketing or licensing open source development projects

/*SELECT COUNT(*) AS tuesdays
FROM (SELECT *
      FROM Posts
      WHERE DATEPART(dw, CreationDate) = 7
      ) AS numTuesdays
WHERE PostTypeId = 2;*/

SELECT *
FROM (Posts p JOIN Posts u ON p.Id = u.ParentId)

Enter Parameters

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