I want to sort the following data items in the order they are presented below (numbers 1-12):
1 2 3 4 5 6 7 8 9 10 11 12
However, my query - using
This is a simple example.
SELECT HEX(some_col) h FROM some_table ORDER BY h