title: SQL sum function with where clause
body: <p>I am using MsSQL and I want to add some values where some conditions are met.
  Is it possible to use WHERE clause in the sum() function? Or is there an equivalent function to the excel SUMIF().</p>