I have a feature set of around 80000 records. One field, called 'equipment', has non-unique values associated with multiple date values from a "date created" field. I have been trying to write an Arcade data expression that basically groups the records by 'equipment' with the dates sorted ascending, uses an SQL script to compare the date values associated with each equipment and filters only the equipment records that have consecutive dates with a difference larger than 2592000 seconds (30 days). My knowledge of SQL scripting is not advanced enough, but I definitely don't want to use "for loops" in this case.