Answered step by step
Verified Expert Solution
Link Copied!

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

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

C++ Database Development

Authors: Al Stevens

1st Edition

1558283579, 978-1558283572

Students also viewed these Databases questions

Question

39 Job evaluation methods.

Answered: 1 week ago

Question

Explain the factors influencing wage and salary administration.

Answered: 1 week ago

Question

Examine various types of executive compensation plans.

Answered: 1 week ago

Question

1. What is the meaning and definition of banks ?

Answered: 1 week ago

Question

2. What is the meaning and definition of Banking?

Answered: 1 week ago

Question

How do Dimensional Database Models differ from Relational Models?

Answered: 1 week ago

Question

What type of processing do Relational Databases support?

Answered: 1 week ago

Question

Describe several aggregation operators.

Answered: 1 week ago