Create a select listing 03 fields of any table, sorting the data by the 2nd field.
I am very weak in firebird can anyone tell me how I would do this?
Create a select listing 03 fields of any table, sorting the data by the 2nd field.
I am very weak in firebird can anyone tell me how I would do this?
If I understood your question, you want something like this:
select
campo1,
campo2,
campo3
from
tabela
order by
2 /*ordenado pelo índice das colunas*/