Is SQL Really A Game Changer For Data Science Careers?
Tags: data, beginners, sql, career
Published: 2019-02-11 10:12:48

---
title: Is SQL Really A Game Changer For Data Science Careers?
published: true
description: Just how important is SQL knowledge if you want to make a career in data?
tags: #data #beginners #SQL #career
canonical_url: https://simpleanalytical.com/is-sql-really-a-game-changer-for-data-science-careers/
cover_image: https://simpleanalytical.com/wp-content/uploads/2018/12/cards-chips.jpg
---
<h2>I’ll nail my colours to the mast right away on this one.</h2>
SQL is the most fundamental skill you <strong>MUST</strong> have to get started in a career in data analysis. We can argue it out until we are blue in the face over whether R is better than Python. Or whether SAS and Java are dead. Or Spark is more useful than Azure. None of that matters unless you have the lowest hanging fruit plucked and safely placed in your skills basket.
<h3><strong>And that is SQL.</strong></h3>
<h2>Some relevant statistical research.</h2>
Data Scientist <a href="https://www.linkedin.com/in/jeff-hale-99a7877/" target="_blank" rel="noopener">Jeff Hale</a> carried out an excellent piece of analysis recently on the most in-demand skills for data scientists. He wrote it up for <a href="https://www.kdnuggets.com/2018/11/most-demand-skills-data-scientists.html" target="_blank" rel="noopener">KD Nuggets</a> and it’s well worth a read for both aspiring and current data analysts.

Jeff scraped job postings on LinkedIn, Indeed, Monster, SimplyHired and AngelList to see which terms were showing up most regularly for various data science related job vacancies. He searched only within the United States and did exact match searches on the terms: “data scientist” “[keyword]”.

The most interesting part for me was the rankings he put together for various technology skills. It will come as little surprise to anyone who has scanned data science job vacancies in the past 6-12 months that Python, R and SQL came in 1st, 2nd and 3rd respectively.
<h2>But didn't you say SQL was most important?</h2>
You might think I’ve shot my own argument in the foot here by using a piece of research that shows SQL as only coming in third in the list. If over 70% of listings wanted Python skills and over 60% specified knowledge of R, shouldn’t we concentrate on those first? I don’t think you should. And here’s why.
<ol>
 	<li><strong>SQL is easier to pick up the basics from a standing start.</strong> Even if you only learn some basic uses of the SELECT statement you will already be ahead of 99% of Excel jockeys who never bothered to move beyond copy/paste and VLOOKUPs.</li>
 	<li><strong>SQL crosses all areas of the wider data science world.</strong> Want to be an analyst? Learn SQL to SELECT the data you need from the data warehouse. Want to be a data scientist and run machine learning? Use SQL to clean up your data before getting into algorithms. Fancy building data pipelines as a data engineer? SQL. SQL. SQL. SQL.</li>
 	<li><strong>RDBMS databases are here to stay.</strong> There will always be a shiny new object in the database world to distract us. (I’m looking at you MongoDB.) But the vast majority of companies and online applications still run on the big three of MySQL, SQL Server and PostgreSQL. You don’t have to have worked with them to notice something jumping out of their names at you. <em><strong>Hint</strong>: it’s three letters long and rhymes with prequel.</em></li>
</ol>
There’s another element to SQL coming in third in Jeff’s analysis though and it was brought up by <a href="https://datamovesme.com" target="_blank" rel="noopener">Kristin Kehrer</a> in <a href="https://datamovesme.com/2018/12/03/getting-into-data-science-faqs/" target="_blank" rel="noopener">her analysis</a> of Jeff’s analysis. (Yes I know, it’s like turtles all the way down with analysts analysing each other’s work.)
<h2>How important is SQL?</h2>
Kristin asked how important is SQL and was surprised to find it only came in 3rd. She believes that may be explained because hiring companies see SQL as being so fundamental as to be a prerequisite when hiring data scientists.

I would wholeheartedly agree. When hiring data analysts I immediately discard the CV in front of me if they haven’t demonstrated SQL knowledge. It’s not even a question of it being desirable. <strong>It’s a necessity right out of the gate.</strong>

I was lucky enough when I fell into the data world as I came from a web and software development background. I’d been building desktop and online applications in healthcare and e-commerce and a fundamental part of that was being my own development DBA.

Not only designing and developing table structures, I was writing and optimizing queries and stored procedures in both development and production stages. Small teams need <a href="https://simpleanalytical.com/generalists-real-data-science-unicorns/">full stack skills</a> and knowing SQL was one of the top ones I relied on: day in, day out.
<h2>SQL is a superpower.</h2>
When I first started as a data analyst in my current workplace, I just picked up where I’d left off writing SQL as a developer. The other analysts on my team looked at me as if I was some kind of witch when I was writing sub-queries and hand-coding SQL. They were still using the drag n' drop query designer in Microsoft Access. I didn’t know any different though and it helped me hit the ground running and make a big impact early on.

<strong>The case for the defence is almost ready to rest.</strong>

I see questions like this one asked regularly on internet forums and my answer always starts and ends the same. If you want a career in data analysis, you will be doing yourself a massive dis-service by not learning SQL. Keep building on that foundation throughout your career but please learn the basics.

SQL is the gift that keeps on giving.

You will not regret it. <strong>I promise.</strong>


<strong>Want more articles like this?</strong> Sign up for my <a href="https://simpleanalytical.com/about/">newsletter</a> on <a href="https://simpleanalytical.com">SimpleAnalytical.com</a> for weekly(ish) stories, hints, tips and strategies from the real world of analytics.