Select date, count(*) as volume
from table
group by date
order by 2
or
order by count
or
order by count(*)
The order by doesn’t work for any of options above. I want order by volume
Can you help??
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
I just tried all the three queries on my Netezza and only two of them are working.
— Working fine
— Working fine
— This is not working because Order by Column doesn’t exist in the select clause.