title: How to use pipe (|) and comma (,) together in JQ 1.4?
body: <p>I using JQ 1.4 on Windows 64 bit machine.</p>
  
  <p>Below are the contents input file (<code>JSON.txt</code>)</p>
  
  <pre><code>    {
          "name": "Google",
          "location":
                  {
                          "street": "1600 Amphitheatre Parkway",
                          "city": "Mountain View",
                          "state": "California",
                          "country": "US"
                  },
          "employees":
                  [
                          {
                                  "name": "Michael",
                                  "division": "Engineering"
                          },
                          {
                                  "name": "Laura",
                                  "division": "HR"
                          },
                          {
                                  "name": "Elise",
                                  "division": "Marketing"
                          }
                  ]
  }
  </code></pre>
  
  <p>At the output I exect to see two results <code>"Google"</code> and <code>"Laura"</code>
  I am able to get them with idividual filters.</p>
  
  <pre><code>1) jq ."name" JSON.txt
  "Google"
  
  2) jq ."employees|map(select(.division==\"HR\"))"[0].name JSON.txt
  "Laura"
  </code></pre>
  
  <p>When I combine these two filters using comma <code>,</code>, I receive below error:</p>
  
  <pre><code>3) jq ."name",."employees|map(select(.division==\"HR\"))"[0].name JSON.txt
  jq: error: Cannot iterate over string
  null
  "Laura"
  </code></pre>
  
  <p>Can someone please help to me to get below result:</p>
  
  <pre><code>"Google"
  "Laura"
  </code></pre>