Re: Multi Table Join

From: John McKenzie <jmm_at_access.mbnet.mb.ca>
Date: 1995/07/11
Message-ID: <3tsnuh$m5o_at_canopus.cc.umanitoba.ca>#1/1


In <DBAv5E.1sF_at_on.bell.ca> galigian_at_on.bell.ca writes:

>select a.name, b.date,b.hours,c.expenses
>from a,b,c
>where a.name = b.name
>and a.name = c.name
 

>How can I get a multi table join to not
>return duplicate rows of information?

Add the word DISTINCT after the 'select' as in:

    select DISTINCT a.name, ....

---
John
Received on Tue Jul 11 1995 - 00:00:00 CEST

Original text of this message