[pgbr-geral] RES: REF: DISTINCT E COUNT(). #02.

2013-04-02 Thread Paulo
Ola Pessoal, preciso de uma pequena dica: Tenho uma consulta me retornando o seguinte: SELECT idlista, produto, qtde1, qtde2 FROM lista ORDER BY 1 RETORNA ASSIM: idlista - produto - qtde1 - qtde2 1 322 1 1 431 0

Re: [pgbr-geral] RES: REF: DISTINCT E COUNT(). #02.

2013-04-02 Thread Leonardo Cezar
Este e-mail é diferente do anterior? Pra que criar uma segunda thread? -Leo -- Leonardo Cezar http://www.postgreslogia .com ___ pgbr-geral mailing list pgbr-geral@listas.postgresql.org.br https://listas.postgresql.org

Re: [pgbr-geral] RES: REF: DISTINCT E COUNT(). #02.

2013-04-03 Thread Joel Benelli
Em 2 de abril de 2013 12:05, Paulo escreveu: > Ola Pessoal, preciso de uma pequena dica: > > Tenho uma consulta me retornando o seguinte: > > ** ** > > SELECT > > idlista, > > produto, > > qtde1, > > qtde2 > > FROM > > lista > > ORDER BY