Step 2 - a solution

1

Please login or register to vote for this query.

(click on this box to dismiss)

The Workplace Meta

Q&A about the site for members of the workforce navigating the professional setting

SELECT  COUNT(Id) Questions
,COUNT( AcceptedAnswerID) AcceptedAnswers
, SUM(CASE when AnswerCount>0 Then 1 else 0 end) Has_answer
, COUNT( AcceptedAnswerID)/CAST(COUNT(Id) as decimal) AcceptedRate
, SUM(CASE when AnswerCount>0 Then 1 else 0 end)/CAST(COUNT(Id) as decimal) AnswerRate
FROM Posts 
WHERE Tags like '%tableau%' and CreationDate >='2021-12-01'

Enter Parameters

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