Re: Duplicate data returned

From: Vernon Wu <vernonw(at)gatewaytech(dot)com>
To: pgsql-jdbc(at)postgresql(dot)org
Subject: Re: Duplicate data returned
Date: 2002-08-05 18:54:16
Message-ID: 621YEALK972B9C8WTKVPEYSYGNH.3d4ec9d8@kimiko
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-jdbc


Ignore this one. I forgot to have join key on for the two table selection.


8/5/2002 11:21:14 AM, Vernon Wu <vernonw(at)gatewaytech(dot)com> wrote:

>
>I experience a situation for the same select statement having duplicate data returned using jdbc of pgsql, while only
one
>single set date returned on the pqsl window. I need to add the "distinct" in the select statement to have a single set
>data returned.
>
>Is the advicable practise to have the 'distinct' key word on every selection statement?
>
>Thanks,
>
>Vernon
>
>
>

In response to

Browse pgsql-jdbc by date

  From Date Subject
Next Message James Kelty 2002-08-05 22:42:48 Referential integrity error
Previous Message Vernon Wu 2002-08-05 18:21:14 Duplicate data returned