title: Calculating the are of overlap between polygons in the same table
body: <p>I need to calculate the are of overlap between polygons in the same table. Idealy I would like to use mssql spatial capabilities for this (something like @a.SHAPe.STIntersections(@b.SHAPE).STArea()). </p>
  
  <p>But I do not know how to do this for polygons in the same layer. </p>
  
  <p>Thanks!</p>
  
  <p>Freddie</p>