Question: Why are my dates not in the correct order? even though I have to format I want and they are ascending with respect to the
Why are my dates not in the correct order? even though I have to format I want and they are ascending with respect to the month part of the date, they are descending wrt the year! how can I fix this?

![,COUNT (DISTINCT [Trip_ID]) as Total_PickUps sum (Duration) as "Total_Duration" from BikeTrip GROUP](https://dsd5zvtm8ll6.cloudfront.net/si.experts.images/questions/2024/01/65b2d605ad7b1_01365b2d6058c545.jpg)
1 2 3 4 5 6 SELECT FORMAT (Start_Date, 'MM/yyyy') as Date ,COUNT (DISTINCT [Trip_ID]) as Total_PickUps sum (Duration) as "Total_Duration" from BikeTrip GROUP BY FORMAT (Start_Date, 'MM/yyyy') ORDER BY FORMAT (Start_Date, 'MM/yyyy') ASC
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
