I have a column(s_time) as varchar. I store 12 hours time(7:00 AM). I want to order by this column(s_time). I tried with this oracle query
select * from tabl_time order by to_date('s_time','hh12:mi') asc
But this did not work. Can anyone help me doing this?
Thanks in advance.