{"id":24362112,"url":"https://github.com/ankush-santra/sql_projects","last_synced_at":"2025-07-06T05:40:23.192Z","repository":{"id":273100619,"uuid":"918706283","full_name":"Ankush-Santra/SQL_Projects","owner":"Ankush-Santra","description":"This repository showcases a curated collection of my SQL projects, demonstrating skills from foundational concepts like SELECT, INSERT, and ALTER to advanced techniques such as CTEs and Window Functions.","archived":false,"fork":false,"pushed_at":"2025-01-19T06:06:26.000Z","size":4076,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-12T09:16:02.241Z","etag":null,"topics":["cte","date-functions","joins","postgresql","postgresql-database","sql","sql-queries","subqueries","union","visual-studio-code","window-functions"],"latest_commit_sha":null,"homepage":"","language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Ankush-Santra.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2025-01-18T16:40:30.000Z","updated_at":"2025-01-19T06:06:29.000Z","dependencies_parsed_at":"2025-01-18T17:38:59.089Z","dependency_job_id":"4fba62ba-6b13-4eeb-a4e2-48b4a9341a43","html_url":"https://github.com/Ankush-Santra/SQL_Projects","commit_stats":null,"previous_names":["ankush-santra/sql_projects"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Ankush-Santra%2FSQL_Projects","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Ankush-Santra%2FSQL_Projects/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Ankush-Santra%2FSQL_Projects/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Ankush-Santra%2FSQL_Projects/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Ankush-Santra","download_url":"https://codeload.github.com/Ankush-Santra/SQL_Projects/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243188239,"owners_count":20250457,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["cte","date-functions","joins","postgresql","postgresql-database","sql","sql-queries","subqueries","union","visual-studio-code","window-functions"],"created_at":"2025-01-18T22:49:17.505Z","updated_at":"2025-03-12T09:16:05.087Z","avatar_url":"https://github.com/Ankush-Santra.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# SQL Projects\n\n# Table of Contents\n- [Dataset Overview](#dataset-overview)\n\n    - [Repository Structure](#repository-structure)\n    - [Setup Instructions](#setup-instructions)\n\n        - [Prerequisites](#prerequisites)\n        - [Installation Steps](#installation-steps)\n    - [Troubleshooting](#troubleshooting)\n\n- [Skills Required](#skills-required)\n- [Purpose](#purpose)\n- [Insights](#insights)\n\n\n# Dataset Overview\nThis project utilizes a comprehensive dataset of global data job postings. To ensure complete reproducibility, all necessary files have been included in the repository.\n## Repository Structure\nThe repository contains two main folders:\n- **csv_files**: Contains the raw dataset files\n- **sql_load**: Contains SQL scripts for table creation and data loading\n## Setup Instructions\n### Prerequisites\n- **PostgreSQL** (recommended for full compatibility)\n- **Excel** (For visualizations)\n- **Note**: While other RDBMS might work due to similar SQL syntax, PostgreSQL is preferred for guaranteed functionality\n## Installation Steps\n- Download the ZIP file from GitHub\n- Extract the contents to your desired location\n- Execute the SQL scripts located in the sql_load folder\n## Troubleshooting\nIf you encounter permission-related issues during execution, refer to the detailed troubleshooting steps provided as comments within the SQL files.\n\n\u003c/br\u003e\n\n# Skills Required\nTo effectively understand and work with the queries in this project, you should be familiar with the following SQL concepts:\n- Basic SQL Statements\n- SQL Joins\n- Unions\n- Subqueries\n- Common Table Expressions (CTEs)\n- Window Functions\n- And more\n\n\u003c/br\u003e\n\n# Purpose\nThis project provides a collection of SQL queries designed to offer unique insights for **job seekers in the field of data analytics**. The queries enable users to explore the job market by analyzing key aspects such as top-paying jobs, high-demand skills, top-paying technical skills, salary trends, and more. Additionally, visualizations have been included to enhance understanding and make the data more accessible.\n\n\u003c/br\u003e\n\n# Insights\nThis section highlights key insights derived from the SQL queries, each supported by a visualization for better understanding. While not every possible permutation and combination is covered here, I highly encourage exploring the [SQL files](/Project/) directly for a more comprehensive view.\n[The Excel worksheet used for visualizations has been included for your reference.]\n\n\u003c/br\u003e\n\n#### What are the top-paying data analyst jobs?\n\u003cdiv align=\"center\"\u003e\n  \u003cimg src=\"/Images/top_paying_jobs.png\" width=\"70%\"\u003e\n  \u003cp\u003eThe role of a Data Analyst not only offers competitive compensation but also remains consistently in demand.\u003c/p\u003e\n\u003c/div\u003e\n\n\u003c/br\u003e\n\n#### What skills are required for the top-paying data analyst jobs?\n\u003cdiv align=\"center\"\u003e\n  \u003cimg src=\"/Images/top_paying_job_skills.png\" width=\"70%\"\u003e\n  \u003cp\u003eWhile specialized skills often attract higher salaries, they come with trade-offs, such as limited job availability.\u003c/p\u003e\n\u003c/div\u003e\n\n\u003c/br\u003e\n\n#### What are the most in-demand skills for data analysts?\n\u003cdiv align=\"center\"\u003e\n  \u003cimg src=\"/Images/top_demanded_skills.png\" width=\"70%\"\u003e\n  \u003cp\u003eTools and languages like SQL, Excel, Python, Tableau, and Power BI continue to lead as the most in-demand skills in the industry.\u003c/p\u003e\n\u003c/div\u003e\n\n\u003c/br\u003e\n\n#### What are the top skills based on salary?\n\u003cdiv align=\"center\"\u003e\n  \u003cimg src=\"/Images/top_paying_skills.png\" width=\"70%\"\u003e\n  \u003cp\u003eSimilar to previous observations, niche technical skills consistently result in higher pay scales for professionals.\u003c/p\u003e\n\u003c/div\u003e\n\n\u003c/br\u003e\n\n#### What are the most optimal skills to learn (aka it’s in high demand and a high-paying skill)?\n\u003cdiv align=\"center\"\u003e\n  \u003cimg src=\"/Images/optimal_skills.png\" width=\"70%\"\u003e\n  \u003cp\u003eDespite the complexity of the data, the conclusion remains steady: niche skills command a premium, while universally required skills like SQL and Excel offer solid but comparatively lower pay.\u003c/p\u003e\n\u003c/div\u003e\n\n\u003c/br\u003e\n\n#### What is the month-over-month growth rate of average salaries for data analyst positions?\n\u003cdiv align=\"center\"\u003e\n  \u003cimg src=\"/Images/salary_trend_analysis.png\" width=\"70%\"\u003e\n  \u003cp\u003eJob listings see a noticeable spike mid-year before tapering off toward the end of the year.\u003c/p\u003e\n\u003c/div\u003e\n\n\u003c/br\u003e\n\n#### How does each company's data analyst salary compare to the industry average, and which companies consistently pay above the market rate?\n\u003cdiv align=\"center\"\u003e\n  \u003cimg src=\"/Images/company_compensation_comparison.png\" width=\"70%\"\u003e\n  \u003cp\u003eLeading tech companies like Mantys, OpenAI, and Anthropic consistently offer salaries well above market standards, making them stand out as top-paying employers.\u003c/p\u003e\n\u003c/div\u003e\n\n\u003c/br\u003e\n\n#### What is the salary premium for each skill compared to the running average of all data analyst positions?\n\u003cdiv align=\"center\"\u003e\n  \u003cimg src=\"/Images/skill_tracking_premium.png\" width=\"70%\"\u003e\n  \u003cp\u003eAcross all visualizations, the trend is clear—niche skills lead to significantly higher salaries when compared to broader, in-demand technical skills.\u003c/p\u003e\n\u003c/div\u003e","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fankush-santra%2Fsql_projects","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fankush-santra%2Fsql_projects","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fankush-santra%2Fsql_projects/lists"}