Fallacy questions vs. all questions

0

Please login or register to vote for this query.

(click on this box to dismiss)

Philosophy

Q&A for those interested in the study of the fundamental nature of knowledge, reality, and existence

select
  min(CreationDate) as 'date',
  count(*) as 'all_posts',
  (select count(*)
    from Posts 
    where
      year(CreationDate) = year(allPosts.CreationDate) and
      month(CreationDate) / 3 = month(allPosts.CreationDate) / 3 and
      (Tags like '%fallacies%' or Title like '%fallac%')
  ) * 20 as 'fallacy_posts (* 20)'
from
  Posts allPosts
where
  Tags is not null
group by
  year(CreationDate),
  month(CreationDate) / 3
order by
  year(CreationDate) asc,
  month(CreationDate) / 3 asc

Enter Parameters

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