ITS 410 CSUGC Critical Thinking Database Design and Analysis Database Project
Database Design and Analysis
The following database project will create an educational attainment “demand” forecast for the state of California for years greater than 2010. The demand forecast is the expected number of population who have obtained a certain level of education. The population is divided into age groups and education attainment is divided into different levels. The population of each group is estimated for each year up to year 2050. Implement the following steps to obtain and educational demand forecast for the state of California. The files can be downloaded below.
Create a ca_pop schema in your MySQL database.
Using your ca_pop schema, create an “educational_attainment” table which columns match the columns in the Excel spreadsheet “ca_pop_educational_attainment.csv”.
Using your ca_pop schema, create a “pop_proj” table which columns match the columns in the Excel spreadsheet “pop_proj_1970_2050.csv”.
Using the data loading technique for a csv file you learned in Module 1, load the data in “ca_pop_educational_attainment.csv” into the table “educational_attainment”.
Using the data loading technique for a csv file you learned in Module 1, load the data in “pop_proj_1970_2050.csv” into the table “pop_proj”.
Write a query to select the total population in each age group.
Use the query from Step 6 as a subquery to find each type of education attained by the population in that age group and the fraction of the population of that age group that has that educational attainment. Label the fraction column output as “coefficient”. For instance, the fraction of the population in age group 00 – 17 who has an education attainment of Bachelor’s degree or higher is 0.0015, which is the “coefficient”.
Create a demographics table from the SQL query from Step 7.
Create a query on the “pop_proj” table which shows the population count by date_year and age.
Use that query from Step 9 as a subquery and join it to the demographics table using the following case statement:
Collepals.com Plagiarism Free Papers
Are you looking for custom essay writing service or even dissertation writing services? Just request for our write my paper service, and we'll match you with the best essay writer in your subject! With an exceptional team of professional academic experts in a wide range of subjects, we can guarantee you an unrivaled quality of custom-written papers.
Get ZERO PLAGIARISM, HUMAN WRITTEN ESSAYS
Why Hire Collepals.com writers to do your paper?
Quality- We are experienced and have access to ample research materials.
We write plagiarism Free Content
Confidential- We never share or sell your personal information to third parties.
Support-Chat with us today! We are always waiting to answer all your questions.
