Hi
I have an ongoing question. I am trying to get this query to work and I am having the devil of a time working it out.
So:
SELECT PHONE.PHONE, PHONE.PHONE_TYPE,
PHONE.CUSTOMER,
MEETING_REGISTRANT.SHIP_CUSTOMER,
MEETING_REGISTRANT.MEETING
FROM PHONE INNER JOIN
MEETING_REGISTRANT ON
PHONE.CUSTOMER = MEETING_REGISTRANT.SHIP_CUSTOMER
WHERE (PHONE.PHONE_TYPE = 'EMAIL')
I would like to be able to put a filter on this that will return the MEETING_REGISTRANT.SHIP_CUSTOMER WHERE (not sure what to do now) [where that customer has three or more meeting orders]. Only way I see how is I get a return on a SHIP_CUSTOMER who repeats three times in this Column. How do I phrase this keeping in mind my SHIP_CUSTOMER s are numbers.
I am really new to this without much training.
Thanks
Adam
I have an ongoing question. I am trying to get this query to work and I am having the devil of a time working it out.
So:
SELECT PHONE.PHONE, PHONE.PHONE_TYPE,
PHONE.CUSTOMER,
MEETING_REGISTRANT.SHIP_CUSTOMER,
MEETING_REGISTRANT.MEETING
FROM PHONE INNER JOIN
MEETING_REGISTRANT ON
PHONE.CUSTOMER = MEETING_REGISTRANT.SHIP_CUSTOMER
WHERE (PHONE.PHONE_TYPE = 'EMAIL')
I would like to be able to put a filter on this that will return the MEETING_REGISTRANT.SHIP_CUSTOMER WHERE (not sure what to do now) [where that customer has three or more meeting orders]. Only way I see how is I get a return on a SHIP_CUSTOMER who repeats three times in this Column. How do I phrase this keeping in mind my SHIP_CUSTOMER s are numbers.
I am really new to this without much training.
Thanks
Adam