title: Return account balances only if a date is greater than 30 days in the past
body: <p>I have table <code>accounts</code> that has customer ID's in column <code>account_ID</code> with multiple account balances per ID in column <code>account_balance</code>. There are also multiple statement dates per ID, column <code>account_statement_date</code>.</p>
  
  <p>I need to return the ID and account balance if the account balance is greater than $50.00 and if the most recent statement date is greater than 30 days in the past. </p>
  
  <p>This will return the ID and account balance if the account balance is greater than $50.00:</p>
  
  <pre><code>select account_ID, sum(account_balance)
  from accounts
  where account_balance &gt; 50
  group by account_ID
  </code></pre>
  
  <p>How do I refine the query to only return the ID and account balance if the account balance is greater than $50.00 and if the most recent statement date is greater than 30 days in the past?</p>