SQL LESSON: SQL ORDER BY COMMAND | sort ascending

Publicado em: 18 Abril 2023
no canal de: Lecture Hub Ke
136
1

The ORDER BY statement in SQL is used to sort the fetched data in either ascending or descending according to one or more columns.
If no keyword is specified after the column based on which we have to sort the records, in that case, the sorting will be done by default in ascending order.
By default ORDER BY sorts the data in ascending order. We can use the keyword the keyword ASC to sort in ascending order.

Syntax to sort the records in ascending order:
SELECT ColumnName1,...,ColumnNameN FROM TableName ORDER BY ColumnName ASC;
or
SELECT ColumnName1,...,ColumnNameN FROM TableName ORDER BY ColumnName;


Nesta página do site você pode assistir ao vídeo on-line SQL LESSON: SQL ORDER BY COMMAND | sort ascending duração hora minuto segundo em boa qualidade , que foi baixado pelo usuário Lecture Hub Ke 18 Abril 2023, compartilhe o link com seus amigos e conhecidos, no youtube este vídeo já foi visto 136 vezes e gostou 1 espectadores. Boa visualização!