title: Firebase - how to perform a where item in list query?
body: <p>Given </p>
  
  <p>The url root is: <a href="https://myApp.firebaseio.com" rel="nofollow">https://myApp.firebaseio.com</a></p>
  
  <p>And </p>
  
  <p>The data is:</p>
  
  <pre><code>  {
      "users": {
        "u00001": {
          "name": "Andy",
          "teams": {
             "t001": true,
             "t003": true
          }
        },
        ...
      },
      "teams": {
        "t001": {
          "name": "Alpha Team"
        },
        "t002": {
          "name": "Beta Team"
        },
        "t003": {
          "name": "Gamma Team"
        },
        ...
      }
    }
  </code></pre>
  
  <p>And</p>
  
  <p>The teams Andy joins are ['t001', 't003']</p>
  
  <p>Question:</p>
  
  <p>Is it possible to use <strong>ONE</strong> query to get all the names of the teams that Andy joins? (find all the team names, where IDs are in ['t001', 't003'], e.g. expect ["Alpha Team", "Gamma Team"] )</p>
  
  <p>Thanks in advance.</p>