I'm trying to order a row based on the values which are in the different columns, I honestly have no idea how to explain this correctly so I'll show an example.
I'm trying to create a query which orders the Failures based on the value for example SELECT * from table WHERE id='1' order by Failure1 asc,Failure2 asc,Failure3 asc
I want the query to show this as a result.
ID Failure2 Failure3 Failure1
1 5636 123 22
Example table
ID Failure1 Failure2 Failure3
1 22 5636 123
2 33 148 22
3 1 101 11
4 33 959 55
Failure1=5636, Failure2=123, Failure3=22). But even then I'd question why you want to do this? It feels like something you should be doing in your presentation layer.