2 ms·You order by date or id and recalculate or take the oldest and invalidate the othersby wolco 8y agoYou order by date or id and recalculate or take the oldest and invalidate the othersdeleted 8y ago[deleted]