Answered step by step
Verified Expert Solution
Question
1 Approved Answer
The legal department needs to send a blast e-mail to all Employers, Members and Carriers who reside or do business in the state of Ohio
The legal department needs to send a blast e-mail to all Employers, Members and Carriers who reside or do business in the state of Ohio. Create a UNION query that will build a result set with a complete list of Ohio contacts. Include the contact name, e-mail addresses, and a column that identifies the rows table of origin: Member, Employer or Carrier. For example insert an'M' for members, 'E' for employees and a 'C' for carriers. Order the unioned data by contact name.
INSTRUCTOR PROVIDED HINT:
I use some column formats so that this fits nicer on the page... for example. column cname format a20 truncate; column email format a20 truncate; column ctype format a10 truncate; also -- to build in the column to identify where the data comes from - just add another column on the SELECT line but the data won't come from the tables -- instead create a new column populated with your own data with a text value for example -- an entry : 'carriers' as contact type CNAME EMAIL CTYPE -------------------- -------------------- ---------- Ann Bailey abailey@bcbs.com Carrier Jack James jj33@yahoo.com Employer Nick Jacione jacione.nick@nationw Carrier Teresa Keefe imafriend@hotmail.co Member
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started