Close but not quite - we are looking for time between each individual contract so it should look like:
ID Name Contract ID Contract Start Contract End days between contracts
12345 John Doe 65465 1/1/2021 3/6/2021 First Contract
12345 John Doe 65893 4/10/2021 8/22/2021 35
12345 John Doe 78526 12/8/2021 3/22/2022 108
I feel like I'm over thinking this a bit. I was thinking about using rank and then two fields one for "if rank 1 then contract end else null" and another "if rank 2 then contract start else blank" and in another query that references this first one and use _days_between for those two new fields.....
I think that is really going a round about way to get what I need.