Re: help query

From: rute solipa <rutes(at)eselx(dot)ipl(dot)pt>
To: Rajesh Kumar Mallah <rmallah(at)trade-india(dot)com>
Cc: pgsql-sql(at)postgresql(dot)org
Subject: Re: help query
Date: 2003-04-29 09:48:41
Message-ID: 5.0.2.1.0.20030429101227.00a4d490@mail.eselx.ipl.pt
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-sql

hi everyone,

does anyone can help me with this query, i need to now if it's a possible
query and where do i put the join clause.

kind regards,

rute

At 21:26 28-04-2003 +0530, you wrote:

>Hmm as far i remember its the thrid of its kind
>in past one month :)
>
>dealing with oracle (+) join syntax :(
>
>On Mon, 28 Apr 2003, rute solipa wrote:
>
> > hi everyone,
> >
> > i've got this oracle query, and i need it to put it to work in potgresql
> > platform, i think the right outer join it will do just fine, but i don't
> > now where to put , can anyone help me:
> >
> > select id_mensagem, ds_description, e_mail,
> > to_char(date,'DD/MM/YY - HH24:MI') as Date, assunto, respondidas,
> > mensagem, mensagens.id_resposta
> > from (select id_mensagem, ds_description, e_mail, date, assunto,
> > mensagem, id_resposta
> > from tb_mensagens_monitores
> > where tb_mensagens_monitores.id_resposta is null) mensagens,
> > (select id_resposta, count(id_mensagem) as respondidas
> > from tb_mensagens_monitores group by id_resposta) as respostas
> > where mensagens.id_mensagem = respostas.id_resposta(+)
> > order by date
> >
> > kind regards,
> >
> > rute
> >
> >
> > ---------------------------(end of broadcast)---------------------------
> > TIP 6: Have you searched our list archives?
> >
> > http://archives.postgresql.org
> >

In response to

  • help query at 2003-04-28 15:53:28 from rute solipa

Responses

Browse pgsql-sql by date

  From Date Subject
Next Message vikas baid 2003-04-29 10:12:26 differences between oracle,pgsql,sybase
Previous Message Rado Petrik 2003-04-29 09:14:25 ALERT column