Tem de fazer um sub select:

ex:

select NOME, (select count(*) from TABELA 2) as TOTAL_LINHAS from TABELA

Em 23/10/07, Roberto Baselio Lopes <[EMAIL PROTECTED]> escreveu:
>
> Pessoal, existe algum comando SQL puro que me retorne o numero da linha,
> por exemplo
>
> Select <numero da linha>, código, nome from clientes
>
>
>
>
>
>
> --
> Roberto Baselio Lopes
> e-mail / Google Talk: [EMAIL PROTECTED]
> msn: [EMAIL PROTECTED]
> Curriculo: http://www2.curriculum.com.br/ucn/rbaselio
> _______________________________________________
> pgbr-geral mailing list
> [email protected]
> https://listas.postgresql.org.br/cgi-bin/mailman/listinfo/pgbr-geral
>
>
_______________________________________________
pgbr-geral mailing list
[email protected]
https://listas.postgresql.org.br/cgi-bin/mailman/listinfo/pgbr-geral

Responder a