Tech Mahindra interview question

How to sort records in a table?

Interview Answer

Anonymous

Dec 20, 2023

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