0

I have a table with a field type varchar. Under this field, I have data something like this:

2       
100     
5.40    
MH90    
2 1/2   
2 1/4   

I need to order this column in asc order.

2   
2 1/2   
2 1/4   
5.40
100     
MH90    

I have used following lines for the order by. But this is not giving me order i need.

ORDER BY LENGTH(state) ASC, state ASC
nas
  • 2,289
  • 5
  • 32
  • 67

0 Answers0