Could anybody advice on one sql please. I have one table with cycle id(1,2,3,4) and datetime2. Need to pick minimum datetime for cycle id 1 in the table then all the records bef