title: How to select last record in InfluxDB
body: <p>I have pretty simple measurement in influxDB and have default time column and two other columns as shown below,</p>
  
  <p>Select * from measurement </p>
  
  <p>gives me this out put.</p>
  
  <pre><code>time                            component_id    jkey
  2016-09-27T02:49:17.837587671Z      3   "timestamp"
  2016-09-27T02:49:17.849447239Z      3   "init_time"
  2016-09-27T02:49:17.885999439Z      3   "ae_name"
  2016-09-27T02:49:17.893056849Z      3   "init_time"
  </code></pre>
  
  <p>How can i select the last record of this measurement? The record which have maximum time value.</p>