title: greater than in case when in sql
body: <p>How can I use greater than in 'case when' in SQL?</p>
  
  <p>I have the following which works fine, but for equal to 100:</p>
  
  <pre><code>select case (TIMESTAMPDIFF(SECOND,last_active,now())) when 100 then 'True' else 'False' end from sessions where uuid=11 and token='test';
  </code></pre>
  
  <p>How can I have the same query for (>100)?</p>
  
  <p>Please let me know if you need more clarification!</p>
  
  <p>Thanks</p>