i'm currently setting up a MySQL database which should contain these sport results:
sport_rank | name |
---|---|
1 | name1 |
2 | name2 |
... | ... |
DNF | nameX |
DNS | nameY |
my question is pretty simple, how would you optimally design the "sport_rank" column in your table declaration since it contains numbers and strings (DNF, DNS), keeping in mind that you would like to be able to order it correctly afterwards (ascending numbers, DNF and lastly DNS)
many thanks