I have the follow SQL query statement:
SELECT subject, sender_list, date, uid
FROM messages
WHERE folder_id = 3
Can you please tell how can I specify query sort order?
Thank you.
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.
It’s actually quite easy. Here’s an example to sort your query by the “subject”:
This will order your list A-Z. If you want to order your list Z-A then use: