Dive into the data job market! Focusing on the data analysis roles, this project explores top_paying_jobs, in_demand_skills, and where high demand meet high salary in data analyitics.
SQL queries? check them out here:Project_sql folder
The motivation behind this project stemmed from my desire to understand the data analyst job market better. I aimed to discover which skills are paid the most and in demand, making my job search more targeted and effective.
The data for this analysis is from Luke Barousse’s SQL Course (https://www.lukebarousse.com/sql). This data includes details on job titles, salaries, locations, and required skills.
The questions I wanted to answer through my SQL queries were:
- What are the top-paying data analyst jobs?
- What skills are required for these top-paying jobs?
- What skills are most in demand for data analysts?
- Which skills are associated with higher salaries?
- What are the most optimal skills to learn for a data analyst looking to maximize job market value?
In this project, I utilized a variety of tools to conduct my analysis:
- SQL (Structured Query Language): Enabled me to interact with the database, extract insights, and answer my key questions through queries.
- PostgreSQL: As the database management system, PostgreSQL allowed me to store, query, and manipulate the job posting data.
- Visual Studio Code: This open-source administration and development platform helped me manage the database and execute SQL queries.
- Git & GitHub: Essential for version control and sharing MySQL scripts and analysis, ensuring collaboration and project tracking.
Each query for this project aimed at investigating specific aspects of the data analyst job market. Here’s how I approached each question:
To identify the highest-paying roles, I filtered data analyst positions by average yearly salary and location, focusing on remote jobs. This query highlights the high-paying opportunities in the field.
SELECT
job_id,
job_title,
job_location,
job_schedule_type,
salary_year_avg,
job_posted_date
FROM
job_postings_fact
WHERE
job_title = 'Data Analyst'
AND salary_year_avg IS NOT NULL
AND job_location = 'Anywhere'
ORDER BY
salary_year_avg DESC
LIMIT 10;- Bar graph visualizing the salary for the top 10 salaries for data analysts; ChatGPT generated this graph from my SQL query results*
Here's the breakdown of the data analyst jobs 2023: ** Wide Salary Range**: Top paying data analyst roles span from $184,000 to $650,000, indicating significant salary potential in the field. ** Duverse Employers**: Companies like SmartAsset, Meta, and AT&T are among those offering high salaries, showing a broad interest across different industries. ** Job Title Variety:** There's a high diversity in job titles, from data analyst to Director of analytics, reflecting varied roles and specializations within data analytics.
To understand what skills are required for the top-paying jobs, I joined the job postings with the skills data, providing insights into what employers value for high-compensation roles.
-- Gets the top 10 paying Data Analyst jobs
WITH top_paying_jobs AS (
SELECT
job_id,
job_title,
salary_year_avg
FROM
job_postings_fact
WHERE
job_title_short = 'Data Analyst'
AND salary_year_avg IS NOT NULL
AND job_location = 'Anywhere'
ORDER BY
salary_year_avg DESC
LIMIT 10
)
SELECT
top_paying_jobs.job_id,
top_paying_jobs.job_title,
top_paying_jobs.salary_year_avg,
skills_dim.skills
FROM
top_paying_jobs
INNER JOIN
skills_job_dim ON top_paying_jobs.job_id = skills_job_dim.job_id
INNER JOIN
skills_dim ON skills_job_dim.skill_id = skills_dim.skill_id
ORDER BY
top_paying_jobs.salary_year_avg DESC;! top paying skills Bar graph visualizing the skills for the top 10 skills paying for data analysts; ChatGPT generated this graph from MySQL query results
This query helped identify the skills most frequently requested in job postings, directing focus to areas with high demand.
SELECT
skills_dim.skills,
COUNT(skills_job_dim.job_id) AS demand_count
FROM
job_postings_fact
INNER JOIN
skills_job_dim ON job_postings_fact.job_id = skills_job_dim.job_id
INNER JOIN
skills_dim ON skills_job_dim.skill_id = skills_dim.skill_id
WHERE
job_postings_fact.job_title_short = 'Data Analyst'
GROUP BY
skills_dim.skills
ORDER BY
demand_count DESC
LIMIT 5;Pie chart graph visualizing the skills for the top 10 skills paying for a data analyst; ChatGPT generated this graph from my SQL queries results
Exploring the average salaries associated with different skills revealed which skills are the highest paying.
SELECT
skills_dim.skills AS skill,
ROUND(AVG(job_postings_fact.salary_year_avg),2) AS avg_salary
FROM
job_postings_fact
INNER JOIN
skills_job_dim ON job_postings_fact.job_id = skills_job_dim.job_id
INNER JOIN
skills_dim ON skills_job_dim.skill_id = skills_dim.skill_id
WHERE
job_postings_fact.job_title_short = 'Data Analyst'
AND job_postings_fact.salary_year_avg IS NOT NULL
GROUP BY
skills_dim.skills
ORDER BY
avg_salary DESC;WITH skills_demand AS (
SELECT
skills_dim.skill_id,
skills_dim.skills,
COUNT(skills_job_dim.job_id) AS demand_count
FROM
job_postings_fact
INNER JOIN
skills_job_dim ON job_postings_fact.job_id = skills_job_dim.job_id
INNER JOIN
skills_dim ON skills_job_dim.skill_id = skills_dim.skill_id
WHERE
job_postings_fact.job_title_short = 'Data Analyst'
AND job_postings_fact.salary_year_avg IS NOT NULL
AND job_postings_fact.job_location = 'Anywhere'
GROUP BY
skills_dim.skill_id
),
average_salary AS (
SELECT
skills_job_dim.skill_id,
AVG(job_postings_fact.salary_year_avg) AS avg_salary
FROM
job_postings_fact
INNER JOIN
skills_job_dim ON job_postings_fact.job_id = skills_job_dim.job_id
WHERE
job_postings_fact.job_title_short = 'Data Analyst'
AND job_postings_fact.salary_year_avg IS NOT NULL
AND job_postings_fact.job_location = 'Anywhere'
GROUP BY
skills_job_dim.skill_id
)
SELECT
skills_demand.skills,
skills_demand.demand_count,
ROUND(average_salary.avg_salary, 2) AS avg_salary
FROM
skills_demand
INNER JOIN
average_salary ON skills_demand.skill_id = average_salary.skill_id
ORDER BY
demand_count DESC,
avg_salary DESC
LIMIT 10;Each query not only served to answer a specific question but also to improve my understanding of SQL and database analysis. Through this project, I learned to leverage SQL's powerful data manipulation capabilities to derive meaningful insights from complex datasets.
Throughout this project, I honed several key SQL techniques and skills:
- Complex Query Construction: Learning to build advanced SQL queries that combine multiple tables and employ functions like
WITHclauses for temporary tables. - Data Aggregation: Utilizing
GROUP BYand aggregate functions likeCOUNT()andAVG()to summarize data effectively. - Analytical Thinking: Developing the ability to translate real-world questions into actionable SQL queries that yield insightful answers.
From the analysis, several general insights emerged:
- Top-Paying Data Analyst Jobs: The highest-paying jobs for data analysts that allow remote work offer a wide range of salaries, with the highest at $650,000!
- Skills for Top-Paying Jobs: High-paying data analyst jobs require advanced proficiency in SQL, suggesting it’s a critical skill for earning a top salary.
- Most In-Demand Skills: SQL is also the most demanded skill in the data analyst job market, thus making it essential for job seekers.
- Skills with Higher Salaries: Specialized skills, such as SVN and Solidity, are associated with the highest average salaries, indicating a premium on niche expertise.
- Optimal Skills for Job Market Value: SQL leads in demand and offers for a high average salary, positioning it as one of the most optimal skills for data analysts to learn to maximize their market value.
This project enhanced my SQL skills and provided valuable insights into the data analyst job market. The findings from the analysis serve as a guide to prioritizing skill development and job search efforts. Aspiring data analysts can better position themselves in a competitive job market by focusing on high-demand, high-salary skills. This exploration highlights the importance of continuous learning and adaptation to emerging trends in the field of data analytics.
