i have such a sql query:
SQL:
SELECT *
FROM statistic_table
ORDER BY lot_oldness_sum,
lot_oldness_sum2 ASC
and I'm getting result
212 22 224 225
I need to get by smallest digit to biggest in such a way: 22 212 224 225
I've also made the another query:
SQL:
SELECT *
FROM statistic_table
ORDER BY MAX(lot_oldness_sum),
MAX(lot_oldness_sum2) ASC
but still the same.