How to create a select in firebird?

1

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?

    
asked by anonymous 21.06.2016 / 00:51

1 answer

1

If I understood your question, you want something like this:

select
  campo1,
  campo2,
  campo3
from
  tabela
order by
  2 /*ordenado pelo índice das colunas*/
    
21.06.2016 / 01:06