Total Questions (including deleted)

0

Please login or register to vote for this query.

(click on this box to dismiss)

Computational Science

Q&A for scientists using computers to solve scientific problems

SELECT
  (
    SELECT COUNT(*) AS PostCount
    FROM PostsWithDeleted
    WHERE PostTypeId = 1 --question
    AND DeletionDate IS NOT NULL
  ) + 
  (

    SELECT COUNT(*) AS PostCount
    FROM Posts
    WHERE PostTypeId = 1 --question
  ) AS TotalQuestions

Enter Parameters

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