“SQL ORDER BY CLAUE” Ответ

Порядок по SQL

//this_for_descending_order.. 
 SELECT * FROM TableName ORDER BY columnName DESC;
 // this_for_ascending_order..
SELECT * FROM TableName ORDER BY columnName ASC;
Nutty Nightingale

Сортировка от SQL

SELECT * FROM table_name ORDER BY col1 ASC;				-- ASCending is default
SELECT * FROM table_name ORDER BY col1 DESC;			-- DESCending
SELECT * FROM table_name ORDER BY col1 DESC, col2;	 	-- col1 DESC then col2 ASC
VasteMonde

SQL ORDER BY CLAUE

SELECT *
FROM Customers
ORDER BY first_name;
SAMER SAEID

Ответы похожие на “SQL ORDER BY CLAUE”

Смотреть популярные ответы по языку

Смотреть другие языки программирования