<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Definition Query help? What query expression would I use for subsetting data to Burglaries occurring in December 2016? in ArcGIS Mapping and Charting Questions</title>
    <link>https://community.esri.com/t5/arcgis-mapping-and-charting-questions/definition-query-help-what-query-expression-would/m-p/731010#M2622</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Okay thanks. It finally worked! I edited the query expression. I changed it to:&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;"Type" = 'BURGLARY' AND "Date" &amp;gt;= date '2016-12-01 00:00:00' AND "Date" &amp;lt;= date '2016-12-31 00:00:00'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However, I still get confused between the 'AND' and 'OR' operators. I hope I am using the correct operator for finding the burglaries occurring in December 2016.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 27 Jan 2018 21:14:57 GMT</pubDate>
    <dc:creator>__17</dc:creator>
    <dc:date>2018-01-27T21:14:57Z</dc:date>
    <item>
      <title>Definition Query help? What query expression would I use for subsetting data to Burglaries occurring in December 2016?</title>
      <link>https://community.esri.com/t5/arcgis-mapping-and-charting-questions/definition-query-help-what-query-expression-would/m-p/731008#M2620</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I put this expression into the Definition Query, but it says that the SQL statement is invalid: "Type" = 'BURGLARY' AND "Date" BETWEEN date '2016-12-01 00:00:00' AND date '2016-12-31 00:00:00'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What could be incorrect with this query expression?&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 27 Jan 2018 20:45:21 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-mapping-and-charting-questions/definition-query-help-what-query-expression-would/m-p/731008#M2620</guid>
      <dc:creator>__17</dc:creator>
      <dc:date>2018-01-27T20:45:21Z</dc:date>
    </item>
    <item>
      <title>Re: Definition Query help? What query expression would I use for subsetting data to Burglaries occurring in December 2016?</title>
      <link>https://community.esri.com/t5/arcgis-mapping-and-charting-questions/definition-query-help-what-query-expression-would/m-p/731009#M2621</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Des...Tips...&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;do the burglary query first... if it works&lt;/LI&gt;&lt;LI&gt;do the date query second&amp;nbsp;&lt;UL&gt;&lt;LI&gt;If the date query doesn't work with between, try greater than your first date, that will check the date portion&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;LI&gt;if they both work, then put the subqueries in round brackets with the 'and' between&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;Sorry, but no date data to check with, but hopefully breaking it down will isolate your problem&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 27 Jan 2018 21:01:57 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-mapping-and-charting-questions/definition-query-help-what-query-expression-would/m-p/731009#M2621</guid>
      <dc:creator>DanPatterson_Retired</dc:creator>
      <dc:date>2018-01-27T21:01:57Z</dc:date>
    </item>
    <item>
      <title>Re: Definition Query help? What query expression would I use for subsetting data to Burglaries occurring in December 2016?</title>
      <link>https://community.esri.com/t5/arcgis-mapping-and-charting-questions/definition-query-help-what-query-expression-would/m-p/731010#M2622</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Okay thanks. It finally worked! I edited the query expression. I changed it to:&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;"Type" = 'BURGLARY' AND "Date" &amp;gt;= date '2016-12-01 00:00:00' AND "Date" &amp;lt;= date '2016-12-31 00:00:00'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However, I still get confused between the 'AND' and 'OR' operators. I hope I am using the correct operator for finding the burglaries occurring in December 2016.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 27 Jan 2018 21:14:57 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-mapping-and-charting-questions/definition-query-help-what-query-expression-would/m-p/731010#M2622</guid>
      <dc:creator>__17</dc:creator>
      <dc:date>2018-01-27T21:14:57Z</dc:date>
    </item>
    <item>
      <title>Re: Definition Query help? What query expression would I use for subsetting data to Burglaries occurring in December 2016?</title>
      <link>https://community.esri.com/t5/arcgis-mapping-and-charting-questions/definition-query-help-what-query-expression-would/m-p/731011#M2623</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Nevermind, I checked. I did it correctly. I checked the attribute table. Thanks! &lt;IMG src="https://community.esri.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 27 Jan 2018 21:17:42 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-mapping-and-charting-questions/definition-query-help-what-query-expression-would/m-p/731011#M2623</guid>
      <dc:creator>__17</dc:creator>
      <dc:date>2018-01-27T21:17:42Z</dc:date>
    </item>
  </channel>
</rss>

