I have a table in sql which contains the data series of 3 years. But the start and end times of each year are not exactly the same. How can I extract the data series of the