No matches were found for subject:"\[SQL\] Solution to retrieve first and last row for each minute"