I have these names in my table:
nome ----- A B C D E F
If you do:
SELECT nome FROM tabela
It will return me "A, B, C, D, E, F" .
I would like it to come back from the last record to the first.
F, E, D, C, B, A.
How could I do it?
I have these names in my table:
nome ----- A B C D E F
If you do:
SELECT nome FROM tabela
It will return me "A, B, C, D, E, F" .
I would like it to come back from the last record to the first.
F, E, D, C, B, A.
How could I do it?
You can sort your return using the order by
:
SELECT nome FROM tabela ORDER BY nome DESC