“SQL -Bestellung nach Klausel” Code-Antworten

Bestellung von 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

Sortieren nach 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 -Bestellung nach Klausel

SELECT *
FROM Customers
ORDER BY first_name;
SAMER SAEID

Ähnliche Antworten wie “SQL -Bestellung nach Klausel”

Durchsuchen Sie beliebte Code-Antworten nach Sprache

Durchsuchen Sie andere Codesprachen