Q&A for followers of the Hindu religion and those interested in learning more about Hinduism
SELECT COUNT(q.AcceptedAnswerId) as "Accepted Answer posts count",
COUNT(q.Id) as "Total questions asked",
convert(decimal, COUNT(q.AcceptedAnswerId))/convert(decimal, COUNT(q.Id)) as "AAR"
FROM Posts as q
1 = q.PostTypeId
AND OwnerUserId = ##UserId:int## ;