Answers marked as answer

0

Please login or register to vote for this query.

(click on this box to dismiss)

Super User

Q&A for computer enthusiasts and power users

select

convert(varchar(50), (select count(a.id)
  from posts as a
    join posts as q on a.parentid = q.id
    where a.owneruserid = ##UserId##
      and a.posttypeid = 2
      and q.acceptedanswerid = a.id))
+
'/'
+
convert(varchar(50), (select count(a.id)
  from posts as a
    where a.owneruserid = ##UserId##
    and a.posttypeid = 2))

Enter Parameters

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