title: Google Sheets Query: Select A,B,E WHERE E MATCHES X OR E MATCHES Y OR E MATCHES Z
body: <p>So I have the following query:</p>
  <pre><code>=QUERY(Data!A1:J,&quot;SELECT A,B,E WHERE E MATCHES 'UK &gt; Maternity Leave' OR E MATCHES 'UK &gt; Long Leave' OR E MATCHES 'UK &gt; Career Break' OR E MATCHES 'UK &gt; Extended Unpaid Leave' OR WHERE E MATCHES 'UK &gt; Shared Parental Leave (Birth)'&quot;,1)
  </code></pre>
  <p>Which, as far as I can tell should work. But it is giving me the following error message:</p>
  <blockquote>
  <p>Error
  Unable to parse query string for Function QUERY parameter 2:
  PARSE_ERROR: Encountered &quot; &quot;where&quot; &quot;WHERE &quot;&quot; at line 1, column 162.
  Was expecting one of: &quot;true&quot; ... &quot;false&quot; ... &quot;not&quot; ... &quot;date&quot; ...
  &quot;timeofday&quot; ... &quot;datetime&quot; ... &quot;timestamp&quot; ... &quot;min&quot; ... &quot;max&quot; ...
  &quot;avg&quot; ... &quot;count&quot; ... &quot;sum&quot; ... &quot;no_values&quot; ... &quot;no_format&quot; ... &quot;is&quot;
  ... &quot;null&quot; ... &quot;year&quot; ... &quot;month&quot; ... &quot;day&quot; ... &quot;hour&quot; ... &quot;minute&quot;
  ... &quot;second&quot; ... &quot;millisecond&quot; ... &quot;with&quot; ... &quot;contains&quot; ... &quot;starts&quot;
  ... &quot;ends&quot; ... &quot;matches&quot; ... &quot;like&quot; ... &quot;now&quot; ... &quot;dateDiff&quot; ...
  &quot;quarter&quot; ... &quot;lower&quot; ... &quot;upper&quot; ... &quot;dayOfWeek&quot; ... &quot;toDate&quot; ...
   ... &lt;INTEGER_LITERAL&gt; ... &lt;DECIMAL_LITERAL&gt; ... &lt;STRING_LITERAL&gt;
  ... &lt;QUOTED_ID&gt; ... &quot;(&quot; ... &quot;-&quot; ...</p>
  </blockquote>
  <p>Here is a link to the sheet - <a href="https://docs.google.com/spreadsheets/d/1M4N1hHiNPZ0xlJInSZ_r8nDmAaouB3mH1MFqrSJPAHA/edit#gid=520617162" rel="nofollow noreferrer">SO Example Sheet</a></p>
  <p>I can't see what I am doing wrong here. I have tried <code>SELECT A, B, E</code> and <code>SELECT Col1, Col2, Col5</code> as I have had some weird errors with queries in sheets in the past due to that. If anyone can point out what is wrong, that would be amazing!</p>