10 prosinca, 2022

Must knows for #HowToBecomeASoftwareEngineer#4

Current skill described: SQL

Do you know what ORDER BY keyword does in SQL?

If not,

The ORDER BY keyword is used to sort the result-set in ascending or descending order.

That keyword sorts the records in ascending order by default.

To sort the records in descending order, you can use the DESC keyword.

Example by doing:

SELECT Name

FROM Customer

ORDER BY Salary DESC;

#database #sql #programming #asyncfutura #asynceducation

Answer now

%d blogeri kao ovaj: