Percentage of questions that are unanswered or answered - Part 2
Your code has certainly improved from last time, however there's a few things that could be improved:


AND AnswerCount &lt;= 1: that could be AND AnswerCount &lt; 0.
You don't need to recreate the amount of unanswered questions twice:



DECLARE @AnsweredPercentage FLOAT =
  100.0 - ((@UnansweredQuestions / @TotalQuestions) * 100.0);

DECLARE @UnansweredPercentage FLOAT = 
  (@UnansweredQuestions / @TotalQuestions) * 100.0;



into:

DECLARE @UnansweredPercentage FLOAT = 
  (@UnansweredQuestions / @TotalQuestions) * 100.0;

DECLARE @AnsweredPercentage FLOAT =
  100.0 - @UnansweredPercentage;