alexanderthegreat
IS-IT--Management
I have 2 tables contact and quote, each ask someone if they want to recieve more info. I want to create a query that can query both contact and quote table for those you said 'Yes' to recieve more, and join the emails together in one new feild (distinct values if possible)sort ascending
SELECT contact.email, quote.email
FROM contact, quote
WHERE (((contact.getmore)="Yes") AND ((quote.getmore)="Yes"));
SELECT contact.email, quote.email
FROM contact, quote
WHERE (((contact.getmore)="Yes") AND ((quote.getmore)="Yes"));