title: SQL Select multiple counts based on same WHERE clause
body: <p>Have data in my table like this:</p>
  
  <pre><code>Number  Date
  18-000  2018-01-05  
  18-001  2018-01-08
  .......
  Number  Date
  19-350  2019-01-22
  19-351  2019-01-22
  19-352  2019-01-22
  ........
  Number  Date
  20-649  2020-01-24
  20-650  2020-01-27
  </code></pre>
  
  <p>So the 2 digits in front of every number are indicating the year. I want to be able to count through all rows how many are starting with 18, 19 and 20 (separated). I did it for 18 and it is:</p>
  
  <pre><code>SELECT COUNT(Number) totalSUM
  FROM my_table
  where Number like N'18-%'
  </code></pre>
  
  <p>but how I can get returned 3 rows each with totalSUM for the year?</p>