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?
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
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get StartedRecommended Textbook for
Business Ethics A Stakeholder And Issues Management Approach
Authors: Joseph W. Weiss
7th Edition
1523091541, 978-1523091546
Students also viewed these Databases questions
Question
Answered: 1 week ago
Question
Answered: 1 week ago
Question
Answered: 1 week ago
Question
Answered: 1 week ago
Question
Answered: 1 week ago
Question
Answered: 1 week ago
Question
Answered: 1 week ago
Question
Answered: 1 week ago
Question
Answered: 1 week ago
Question
Answered: 1 week ago
Question
Answered: 1 week ago
Question
Answered: 1 week ago
Question
Answered: 1 week ago
Question
Answered: 1 week ago
Question
Answered: 1 week ago
Question
Answered: 1 week ago
Question
Answered: 1 week ago
Question
Answered: 1 week ago
Question
Answered: 1 week ago
Question
Answered: 1 week ago
Question
Answered: 1 week ago
Question
Answered: 1 week ago
View Answer in SolutionInn App