|
Re: matching problem [message #372557 is a reply to message #372550] |
Thu, 22 February 2001 04:04 |
J.S HAN
Messages: 12 Registered: November 2000
|
Junior Member |
|
|
Hi
Try to a SQL
select y.FNAME, y.LNAME, y.ADDR, y.EMAIL, x.group_id
from (select rownum group_id, email
from (select EMAIL from tableemail group by email)) x,
tableemail y
where x.email = y.email;
If tableemail table is very very big,
it's no good.
Having index on email column,
Try to tuning by other sql.
Have nice day.
|
|
|
Re: matching problem [message #372563 is a reply to message #372550] |
Thu, 22 February 2001 08:59 |
kgentile
Messages: 2 Registered: February 2001
|
Junior Member |
|
|
Well, that will give the match on the email. What I have to do is match on the email AND match on the address. I can get a "group" id for matches on the addresses, and a "group" id for matches on the email. But what I want to assign an id for matches on email or address.
thanks
|
|
|