Step 2 - a solution

1

Please login or register to vote for this query.

(click on this box to dismiss)

Bicycles Meta

Q&A about the site for people who build and repair bicycles, people who train cycling, or commute on bicycles

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