Help Center/
SecMaster/
User Guide (Kuala Lumpur Region)/
Threat Operations/
Security Analysis/
Query and Analysis Statements - SQL Syntax/
Analysis Statements - ORDER BY
Updated on 2024-10-29 GMT+08:00
Analysis Statements - ORDER BY
The syntax of a complete analysis statement is as follows:
SELECT [DISTINCT] (* | expression) [AS alias] [, ...] [GROUP BY expression [, ...] [HAVING predicates]] [ORDER BY expression [ASC | DESC] [, ...]] [LIMIT size OFFSET offset]
Where, ORDER BY indicates sorting by field value. The following part describes parameters and examples for the ORDER BY syntax.
Sorting Data by Field Value
SELECT age ORDER BY age DESC
age |
---|
28 |
32 |
32 |
36 |
Parent topic: Query and Analysis Statements - SQL Syntax
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
The system is busy. Please try again later.
For any further questions, feel free to contact us through the chatbot.
Chatbot