select SUM(case when c = 0 then 1 else 0 end) AS cnt from (

0

Please login or register to vote for this query.

(click on this box to dismiss)

Japanese Language

Q&A for students, teachers, and linguists wanting to discuss the finer points of the Japanese language

select SUM(case when c = 0 then 1 else 0 end) AS cnt
    from (
        SELECT Posts.OwnerUserId, count(*) AS c
        from Posts
        where Posts.PostTypeId=1
        group by Posts.OwnerUserId
   ) t

Enter Parameters

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