ORDER BY - order database output
 
Order By is to sort your database output ascending or descending. You can choose which column you want to order:

SELECT * FROM table ORDER BY "column_name" [ASC, DESC]

If you want to order more than one column, for example you want to first order by name ascending and after by location descending, then use a comma to seperate the orderings:

example:
SELECT * FROM table ORDER BY name ASC, location DESC
 
admin / Dec 07, 2003
   
 
 
Login: 
Pass: 
 
 
     
     
2004 - 2019 / lookass.ch
makememad@lookass.ch