title: SQL statement to count all rows that changed from previous day for 'Column_a'
body: <p>I am looking for a SQL query to count all rows that changed from the previous day for 'column_a'. The table has one date column 'historyDate'.
  Thanks in advance.</p>