To retrieve a record in descending order from the existing created table. Then we can use an ' ORDER BY ' Clause with DESC Attribute.
The basic syntax of the ORDER BY statement with DESC Attribute is given below –
SELECT * FROM table_name ORDER BY column_name DESC
SELECT first_name FROM employees ORDER BY first_name DESC;
Here it will retrieve all records from the Employees table in descending order of a first_name column.
Best learning portal that provides you great learning experience of various technologies with modern compilation tools and technique
Don't hesitate to give us a call or send us a contact form message