I have two tables:
-Organisation
-Contacts
One organisation can have MNAY contacts.
I want to write a query that will take the company and return only ONE contact based on a given priority.
Eg: take the MD if there is one, if not take the fd, if not take the MK(Marketing Manager).
Can anyone help with this.
Kind regards
Mark
-Organisation
-Contacts
One organisation can have MNAY contacts.
I want to write a query that will take the company and return only ONE contact based on a given priority.
Eg: take the MD if there is one, if not take the fd, if not take the MK(Marketing Manager).
Can anyone help with this.
Kind regards
Mark