Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

SQL: Create a View (named: yourLastNameView17) that will list all Carriers and their Plans along with a column that displays the number of members in

SQL:

Create a View (named: yourLastNameView17) that will list all Carriers and their Plans along with a column that displays the number of members in that Plan, the total number of members serviced by the Carrier and the percent of the Carriers Members that are in that Plan. Order by Carrier and Plan Description. For Example the first row in the result set (for Blue Cross Blue Shield) would display as follows: image text in transcribed INSTRUCTOR PROVIDED HINTS:::::

it will follow this form: Select aliasName1.data, alaisName1.data, aliasName1.data, aliasName2.data, (aliasName1.data / aliasName2.data) as pct FROM (nested query 1) aliasName1 natural join (nested query 2) aliasName2 ORDER by ....; CARRIER PLAN PLANCOUNT TOTALMEMS PCT ----------------------------------- ----------------------------------- --------- --------- ------ Anthem 2-Party SuperMed 3 6 50.0 Anthem Single SuperMed 3 6 50.0 Blue Cross Blue Shield 2-Party Basic Medical 10 22 45.5 Blue Cross Blue Shield Family Basic Medical 7 22 31.8 Blue Cross Blue Shield Single Basic Medical 5 22 22.7 Nationwide Life Only 1 1 100.0 6 rows selected 

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

Business Process Driven Database Design With Oracle PL SQL

Authors: Rajeev Kaula

1st Edition

1795532386, 978-1795532389

More Books

Students also viewed these Databases questions