title: How to get total weekend days counts grouped by month for a given month range in SQL Server?
body: <p>How to get total weekend(sunday) counts grouped by month for a given month range in SQL Server?</p>
  <p>For example: dates selected : 'Oct-2020' to 'Dec-2020'</p>
  <div class="s-table-container">
  <table class="s-table">
  <thead>
  <tr>
  <th>Month Name</th>
  <th>Count</th>
  </tr>
  </thead>
  <tbody>
  <tr>
  <td>October</td>
  <td>4</td>
  </tr>
  <tr>
  <td>November</td>
  <td>4</td>
  </tr>
  <tr>
  <td>December</td>
  <td>5</td>
  </tr>
  </tbody>
  </table>
  </div>