-
Notifications
You must be signed in to change notification settings - Fork 98
Expand file tree
/
Copy path1_top_paying_jobs.sql
More file actions
128 lines (125 loc) · 3.9 KB
/
1_top_paying_jobs.sql
File metadata and controls
128 lines (125 loc) · 3.9 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
/*
Question: What are the top-paying data analyst jobs?
- Identify the top 10 highest-paying Data Analyst roles that are available remotely
- Focuses on job postings with specified salaries (remove nulls)
- BONUS: Include company names of top 10 roles
- Why? Highlight the top-paying opportunities for Data Analysts, offering insights into employment options and location flexibility.
*/
SELECT
job_id,
job_title,
job_location,
job_schedule_type,
salary_year_avg,
job_posted_date,
name AS company_name
FROM
job_postings_fact
LEFT JOIN company_dim ON job_postings_fact.company_id = company_dim.company_id
WHERE
job_title_short = 'Data Analyst' AND
job_location = 'Anywhere' AND
salary_year_avg IS NOT NULL
ORDER BY
salary_year_avg DESC
LIMIT 10;
/*
Here's the breakdown of the top data analyst jobs in 2023:
Wide Salary Range: Top 10 paying data analyst roles span from $184,000 to $650,000, indicating significant salary potential in the field.
Diverse 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.
RESULTS
=======
[
{
"job_id": 226942,
"job_title": "Data Analyst",
"job_location": "Anywhere",
"job_schedule_type": "Full-time",
"salary_year_avg": "650000.0",
"job_posted_date": "2023-02-20 15:13:33",
"company_name": "Mantys"
},
{
"job_id": 547382,
"job_title": "Director of Analytics",
"job_location": "Anywhere",
"job_schedule_type": "Full-time",
"salary_year_avg": "336500.0",
"job_posted_date": "2023-08-23 12:04:42",
"company_name": "Meta"
},
{
"job_id": 552322,
"job_title": "Associate Director- Data Insights",
"job_location": "Anywhere",
"job_schedule_type": "Full-time",
"salary_year_avg": "255829.5",
"job_posted_date": "2023-06-18 16:03:12",
"company_name": "AT&T"
},
{
"job_id": 99305,
"job_title": "Data Analyst, Marketing",
"job_location": "Anywhere",
"job_schedule_type": "Full-time",
"salary_year_avg": "232423.0",
"job_posted_date": "2023-12-05 20:00:40",
"company_name": "Pinterest Job Advertisements"
},
{
"job_id": 1021647,
"job_title": "Data Analyst (Hybrid/Remote)",
"job_location": "Anywhere",
"job_schedule_type": "Full-time",
"salary_year_avg": "217000.0",
"job_posted_date": "2023-01-17 00:17:23",
"company_name": "Uclahealthcareers"
},
{
"job_id": 168310,
"job_title": "Principal Data Analyst (Remote)",
"job_location": "Anywhere",
"job_schedule_type": "Full-time",
"salary_year_avg": "205000.0",
"job_posted_date": "2023-08-09 11:00:01",
"company_name": "SmartAsset"
},
{
"job_id": 731368,
"job_title": "Director, Data Analyst - HYBRID",
"job_location": "Anywhere",
"job_schedule_type": "Full-time",
"salary_year_avg": "189309.0",
"job_posted_date": "2023-12-07 15:00:13",
"company_name": "Inclusively"
},
{
"job_id": 310660,
"job_title": "Principal Data Analyst, AV Performance Analysis",
"job_location": "Anywhere",
"job_schedule_type": "Full-time",
"salary_year_avg": "189000.0",
"job_posted_date": "2023-01-05 00:00:25",
"company_name": "Motional"
},
{
"job_id": 1749593,
"job_title": "Principal Data Analyst",
"job_location": "Anywhere",
"job_schedule_type": "Full-time",
"salary_year_avg": "186000.0",
"job_posted_date": "2023-07-11 16:00:05",
"company_name": "SmartAsset"
},
{
"job_id": 387860,
"job_title": "ERM Data Analyst",
"job_location": "Anywhere",
"job_schedule_type": "Full-time",
"salary_year_avg": "184000.0",
"job_posted_date": "2023-06-09 08:01:04",
"company_name": "Get It Recruit - Information Technology"
}
]
*/