Now, I have implemented it via a left outer join, selecting only those values that are not null. But, when you have 2 email adresses for instance, you'll see 2 rows comming back, and I only want the first created one. This is the query:
SELECT DISTINCT a.id, a.related_id, c.email_adres...
Hi,
I'm a bit stuck here.
I have a table called STM_COMM and it contains following fields: id, member_id, email_addr, tel_nr, fax_nr
A member can have multiple email addresses, telephone numbers and faxnumbers. so we could have something like this:
id member_id email_addr tel_nr...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.