Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SQL

mysql order by

To get the sorted result from MySQL select statement we use order by clause with SELECT statement.

Syntax:
SELECT column_list FROM tablename ORDER BY column_name1 [ASC][DESC],column_name2 [ASC][DESC],...
Source by www.mysqltutorial.org #
 
PREVIOUS NEXT
Tagged: #mysql #order
ADD COMMENT
Topic
Name
4+3 =