How can I sort by a table column in varying cases (Oracle)

前端 未结 5 1176

How can I sort a table with a column of varchar2 with characters in varying cases (UPPER and lower)?

For example, when I do an order by

5条回答
  •  说谎
    说谎 (楼主)
    2021-02-12 11:11

    You can use the Order by cluse for this

    select col_name from table_name 
    order by col_name ;
    

提交回复
热议问题