<?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 SQL Code to query most recent data for a point in ArcGIS Pro Questions</title>
    <link>https://community.esri.com/t5/arcgis-pro-questions/sql-code-to-query-most-recent-data-for-a-point/m-p/1182175#M56127</link>
    <description>&lt;P&gt;Hello Esri Family,&lt;/P&gt;&lt;P&gt;I'm trying to write a definition query for a layer in my data so that if one point has multiple years of data, only the most recent year is displayed. I wrote the SQL query attached in order to tediously make a series of 'Or' statements in the definition query, but all those will need to be updated the next time data is collected.&lt;BR /&gt;&lt;BR /&gt;I want "year &amp;gt;= Most_Recent_Year" but am not sure how to make that happen in the SQL query box.&lt;/P&gt;&lt;P&gt;If you have a reference or advice I'd appreciate it! Please &amp;amp; thank you.&lt;/P&gt;</description>
    <pubDate>Sun, 12 Jun 2022 20:04:42 GMT</pubDate>
    <dc:creator>LindsayDupont</dc:creator>
    <dc:date>2022-06-12T20:04:42Z</dc:date>
    <item>
      <title>SQL Code to query most recent data for a point</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/sql-code-to-query-most-recent-data-for-a-point/m-p/1182175#M56127</link>
      <description>&lt;P&gt;Hello Esri Family,&lt;/P&gt;&lt;P&gt;I'm trying to write a definition query for a layer in my data so that if one point has multiple years of data, only the most recent year is displayed. I wrote the SQL query attached in order to tediously make a series of 'Or' statements in the definition query, but all those will need to be updated the next time data is collected.&lt;BR /&gt;&lt;BR /&gt;I want "year &amp;gt;= Most_Recent_Year" but am not sure how to make that happen in the SQL query box.&lt;/P&gt;&lt;P&gt;If you have a reference or advice I'd appreciate it! Please &amp;amp; thank you.&lt;/P&gt;</description>
      <pubDate>Sun, 12 Jun 2022 20:04:42 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/sql-code-to-query-most-recent-data-for-a-point/m-p/1182175#M56127</guid>
      <dc:creator>LindsayDupont</dc:creator>
      <dc:date>2022-06-12T20:04:42Z</dc:date>
    </item>
  </channel>
</rss>

