title: How to query all measurements in InfluxDB where a value from one measurement equals X
body: <p>I query all measurements from Influx database like so:</p>
  <p><code>http://localhost:8086/query?pretty=true&amp;db=boatdata&amp;q=SELECT value FROM /.*/ LIMIT 1</code></p>
  <p>Works fine. However, instead of <code>LIMIT 1</code>  I need to get values for all the measurements where value from one measurement=x, so I’d expect something like
  <code>SELECT value FROM /.*/ WHERE measurement1.value=x</code> but it doesn’t work. I hope it makes sense. Any idea how to make it work? Thanks.</p>
  <p>...to explain it better: in the first query (http://localhost…) I listed in this post I get a 1 record for all the measurements. But I want to get 1 record for all the measurements where value from measurement1 (one of the measurements) equals X.</p>