select count(*) [total] , sum(case when userdisplayname ...

0

Please login or register to vote for this query.

(click on this box to dismiss)

Ask Patents Meta

Q&A about the site for people interested in improving and participating in the patent system

select count(*) [total]
    --               lasteditdate
    ,  sum(case when userdisplayname is not null then 1 else 0 end) [edited]
    , convert(
        decimal,
        --            lasteditdate
        sum(case when userdisplayname is not null then 1 else 0 end)
      ) 
      / count(*) 
      * 100 [perc]
from comments

Enter Parameters

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