serial in output

Поиск
Список
Период
Сортировка
От alessandra de gregorio
Тема serial in output
Дата
Msg-id 20051028111824.C8C7DDA53F@svr1.postgresql.org
обсуждение исходный текст
Ответы Re: serial in output  (Andreas Kretschmer <akretschmer@spamfence.net>)
Список pgsql-sql
Hi,

What function should I use to get a serial number, together with my results,
from a query?

Ex. Of output I want:

1    ooo    pp    ij
2    hou    joo    iu    
3    bhi    ft    yh

Basically, I would like to have one column with integers, from 1 onwards, no
matter how many tables I join in, or the data that I get back.

Thanks





В списке pgsql-sql по дате отправления:

Предыдущее
От: Thomas Good
Дата:
Сообщение: JOIN condition confusion
Следующее
От: Michael Glaesemann
Дата:
Сообщение: Re: Design question: Scalability and tens of thousands of tables?