title: Select all records in the last 2 minutes - MySql
body: <p>This is my mysql table</p>
  
  <pre><code>-----   -----------   -------------------
  b_id    update_time   update_time_text
  -----   -----------   -------------------
  A:340   1436507350    10-07-2015 11:19:10
  A:340   1436507707    10-07-2015 11:25:07
  A:340   1436509704    10-07-2015 11:58:24
  A:340   1436507828    10-07-2015 11:27:08
  </code></pre>
  
  <p>And this is my query</p>
  
  <pre><code>SELECT * FROM table WHERE b_id='A:340' AND update_time &lt; (NOW() - 120) // 120 is 2 minutes
  </code></pre>
  
  <p>How do i select records in the last 2 mintues since my query is returning empty records and i'm not sure if i have to take unix time(update_time) or the readable time(update_time_text)</p>