I have a table where some inspections records have the same ID (associated with the same parent feature) but have different dates based on when inspections were done. I would like to create a query which only shows the most recent record when multiple records with the same ID exist. There is obviously nothing 'out of the box' for this so I imagine a custom SQL definition query will be necessary. I am not too familiar with scripting outside of basic Arcade.