This article provides an example to display customers detail in a ascending order of customer name using order by clause in a select query.
select * from cust orderby cname; Output: CUSTNO CNAME STATE PHONE CITY ------- ------- ------- ---------- ------ C0001 Ashish Gujarat 9999988888 Anand C0002 Dhaval Maharashtra 9898989898 Mumbai C0003 Dipen MP 9895989598 Bhopal C0004 Hardik UP 9998989899 Lucknow C0005 Jigar Rajasthan 9898999598 Jaipur