I'm writing MySQL query for sort this kind of data
Traffic
100/40
12/1
50/20
25/5
the value get by devide right hand side number from left hand side number.
also i have multi columns for sort
ex -
SELECT * FROM fltable ORDER BY Traffic DESC,Speed ASC,Cost ASC
I need to sort those data ascending order and descending order, can anyone help me with this.
Thank you
VARCHAR? Or you want to order them by the result of the dividing?/or by the second number after the/or by the result of dividing them? Please edit your question and add these details to it.