title: sequelize query that implements calculation using provided value and table row value
body: <p>equivalent sequelize query for the following raw query:</p>
  
  <pre><code>SELECT
    *,
    (distance1 - table.distance) as distance
  FROM
    table
  HAVING
    distance &gt;= 100;
  </code></pre>