Tech Mahindra interview question

How to sort records in a table?

Interview Answer

Anonymous

20 Dec 2023

Using the ORDER BY statement: SELECT * FROM table_name ORDER BY col_1;